aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/test
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/test
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/test')
-rw-r--r--lib/jinterface/test/nc_SUITE_data/echo_server.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jinterface/test/nc_SUITE_data/echo_server.java b/lib/jinterface/test/nc_SUITE_data/echo_server.java
index 2e18e908d4..fc9a1a22da 100644
--- a/lib/jinterface/test/nc_SUITE_data/echo_server.java
+++ b/lib/jinterface/test/nc_SUITE_data/echo_server.java
@@ -206,6 +206,7 @@ public class echo_server {
&& i instanceof OtpErlangString) {
final OtpErlangString s = (OtpErlangString) i;
final String ss = s.stringValue().substring(3, 6);
+ @SuppressWarnings("unused")
final int[] cps = OtpErlangString.stringToCodePoints(ss);
return s;
} else if (atomValue.equals("utf8")) {