aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/java_src/com/ericsson
diff options
context:
space:
mode:
authorVlad Dumitrescu <[email protected]>2014-09-10 11:37:55 +0200
committerVlad Dumitrescu <[email protected]>2014-09-11 21:24:27 +0200
commit4733f3f7abb7c815bf1e1295bf0a55526e318d66 (patch)
treedc1e59164f3e072d5ee2c35767f2b02608dc965c /lib/jinterface/java_src/com/ericsson
parentea9ecb6c1cc2781c8ad9bdacaacc2245987df908 (diff)
downloadotp-4733f3f7abb7c815bf1e1295bf0a55526e318d66.tar.gz
otp-4733f3f7abb7c815bf1e1295bf0a55526e318d66.tar.bz2
otp-4733f3f7abb7c815bf1e1295bf0a55526e318d66.zip
don't warn about some unused fields/variables
Diffstat (limited to 'lib/jinterface/java_src/com/ericsson')
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java
index 6e91a855a0..c542694550 100644
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java
@@ -44,8 +44,11 @@ public class OtpOutputStream extends ByteArrayOutputStream {
public static final int defaultIncrement = 2048;
// static formats, used to encode floats and doubles
+ @SuppressWarnings("unused")
private static final DecimalFormat eform = new DecimalFormat("e+00;e-00");
+ @SuppressWarnings("unused")
private static final BigDecimal ten = new BigDecimal(10.0);
+ @SuppressWarnings("unused")
private static final BigDecimal one = new BigDecimal(1.0);
private int fixedSize = Integer.MAX_VALUE;