aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util/texture/spi
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 21:09:30 +0200
committerSven Gothel <[email protected]>2014-07-08 21:09:30 +0200
commita41db57df54863566b0e286cd100bbbc5518eb7f (patch)
treefb82077e79f54ba2fcf4c77b42458572fd9995eb /src/jogl/classes/com/jogamp/opengl/util/texture/spi
parentb740161d456c059d1b51029c603ce144eb2b2d44 (diff)
Findbugs: Use <NumberType>.valueOf(..) instead of 'new <NumberType>(..)'
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/texture/spi')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/texture/spi/LEDataInputStream.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/texture/spi/LEDataInputStream.java b/src/jogl/classes/com/jogamp/opengl/util/texture/spi/LEDataInputStream.java
index f121478e7..772df7279 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/texture/spi/LEDataInputStream.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/texture/spi/LEDataInputStream.java
@@ -216,7 +216,7 @@ public class LEDataInputStream extends FilterInputStream implements DataInput
@Override
public final String readLine() throws IOException
{
- return new String();
+ return "";
}
/**
@@ -226,7 +226,7 @@ public class LEDataInputStream extends FilterInputStream implements DataInput
@Override
public final String readUTF() throws IOException
{
- return new String();
+ return "";
}
/**
@@ -235,7 +235,7 @@ public class LEDataInputStream extends FilterInputStream implements DataInput
**/
public final static String readUTF(final DataInput in) throws IOException
{
- return new String();
+ return "";
}
}