aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest5.java
diff options
context:
space:
mode:
authornickl- <github@jigsoft.co.za>2017-10-30 20:43:30 +0200
committernickl- <github@jigsoft.co.za>2017-10-30 20:43:30 +0200
commit0165b2e18b4c044b135724a69ee84a9d104c79ed (patch)
tree004a9eb0dc74ea014096640d4e9305cc4aea882a /src/test/javassist/JvstTest5.java
parent62851d0af30cdb0c54046627585451a468aacd2a (diff)
downloadjavassist-0165b2e18b4c044b135724a69ee84a9d104c79ed.tar.gz
javassist-0165b2e18b4c044b135724a69ee84a9d104c79ed.zip
Squash compiler warnings in tests.
With the unit tests warnings were squashed by suppressing them with SuppressWarnings annotations, instead of reparing the issues as was done with the source. Reasons being... * The tests might be relying on the types as they were defined. * If the tests were written to test against the correct forms they would've/should've stipulated those. * Even unused members might be important to tests so we attempt to change as little as possible.
Diffstat (limited to 'src/test/javassist/JvstTest5.java')
-rw-r--r--src/test/javassist/JvstTest5.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/javassist/JvstTest5.java b/src/test/javassist/JvstTest5.java
index 76d0c1a2..578abfb2 100644
--- a/src/test/javassist/JvstTest5.java
+++ b/src/test/javassist/JvstTest5.java
@@ -12,6 +12,7 @@ import javassist.bytecode.InnerClassesAttribute;
import javassist.expr.ExprEditor;
import javassist.expr.MethodCall;
+@SuppressWarnings({"rawtypes","unchecked","unused"})
public class JvstTest5 extends JvstTestRoot {
public JvstTest5(String name) {
super(name);