From 0165b2e18b4c044b135724a69ee84a9d104c79ed Mon Sep 17 00:00:00 2001 From: nickl- Date: Mon, 30 Oct 2017 20:43:30 +0200 Subject: 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. --- src/test/VisibleTop.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/VisibleTop.java') diff --git a/src/test/VisibleTop.java b/src/test/VisibleTop.java index 6430bd70..0bb6161f 100644 --- a/src/test/VisibleTop.java +++ b/src/test/VisibleTop.java @@ -1,3 +1,4 @@ +@SuppressWarnings("unused") public class VisibleTop { public int pub; protected int pro; -- cgit v1.2.3