From 4733f3f7abb7c815bf1e1295bf0a55526e318d66 Mon Sep 17 00:00:00 2001 From: Vlad Dumitrescu Date: Wed, 10 Sep 2014 11:37:55 +0200 Subject: don't warn about some unused fields/variables --- lib/jinterface/test/nc_SUITE_data/echo_server.java | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/jinterface/test/nc_SUITE_data') 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")) { -- cgit v1.2.3