Skip to content

Commit bbea07e

Browse files
committed
Inline single use local variable
1 parent d8954c4 commit bbea07e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/apache/commons/imaging/formats/tiff/TiffImageParser.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,7 @@ public ImageInfo getImageInfo(final ByteSource byteSource, final TiffImagingPara
465465

466466
final List<String> comments = Allocator.arrayList(directory.size());
467467
for (final TiffField field : directory) {
468-
final String comment = field.toString();
469-
comments.add(comment);
468+
comments.add(field.toString());
470469
}
471470

472471
final ImageFormat format = ImageFormats.TIFF;

0 commit comments

Comments
 (0)