src/share/classes/com/sun/imageio/plugins/gif/GIFImageReader.java

Print this page
rev 10195 : 8048267: Replace uses of 'new Long()' with appropriate alternative across core classes
Reviewed-by: chegar, psandoz
Contributed-by: Otavio Santana <otaviojava@java.net>

*** 614,624 **** if (!skipImage()) { --index; return index; } ! Long l1 = new Long(stream.getStreamPosition()); imageStartPosition.add(l1); ++index; } } catch (IOException e) { throw new IIOException("Couldn't seek!", e); --- 614,624 ---- if (!skipImage()) { --index; return index; } ! Long l1 = stream.getStreamPosition(); imageStartPosition.add(l1); ++index; } } catch (IOException e) { throw new IIOException("Couldn't seek!", e);