File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/demo/share/java2d/J2DBench/src/j2dbench/tests/iio Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ private static void initIIOReadFormats() {
184184 String klass = spi .getClass ().getName ();
185185 String format = spi .getFormatNames ()[0 ].toLowerCase ();
186186 String suffix = spi .getFileSuffixes ()[0 ].toLowerCase ();
187- if (suffix == null || suffix .isEmpty ( )) {
187+ if (suffix == null || suffix .equals ( "" )) {
188188 suffix = format ;
189189 }
190190 String shortName ;
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ private static void initIIOWriteFormats() {
143143 String klass = spi .getClass ().getName ();
144144 String format = spi .getFormatNames ()[0 ].toLowerCase ();
145145 String suffix = spi .getFileSuffixes ()[0 ].toLowerCase ();
146- if (suffix == null || suffix .isEmpty ( )) {
146+ if (suffix == null || suffix .equals ( "" )) {
147147 suffix = format ;
148148 }
149149 String shortName ;
You can’t perform that action at this time.
0 commit comments