Skip to content

Commit

Permalink
Remove unnecessary variable assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jan 20, 2025
1 parent 5a86e46 commit f7230ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/formats-gpl/src/loci/formats/in/FujiReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ public void close(boolean fileOnly) throws IOException {
@Override
protected void initFile(String id) throws FormatException, IOException {
if (!checkSuffix(id, "inf")) {
pixelsFile = new Location(id).getAbsolutePath();
infFile = pixelsFile.substring(0, pixelsFile.lastIndexOf(".")) + ".inf";
initFile(infFile);
initFile(id.substring(0, id.lastIndexOf(".")) + ".inf");
return;
}

Expand Down

0 comments on commit f7230ae

Please sign in to comment.