You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2009/09/03 15:06:22 UTC

svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

Author: smartini
Date: Thu Sep  3 13:06:22 2009
New Revision: 810924

URL: http://svn.apache.org/viewvc?rev=810924&view=rev
Log:
PIVOT-262 - but in this case: add @SuppressWarnings("unused") to suppress some warnings

Modified:
    incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

Modified: incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java?rev=810924&r1=810923&r2=810924&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java (original)
+++ incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java Thu Sep  3 13:06:22 2009
@@ -107,10 +107,12 @@
 
     private Window window = null;
     private TablePane tablePane = null;
-    private Checkbox horizontalGridLinesCheckbox = null;
-    private Checkbox verticalGridLinesCheckbox = null;
-    private Spinner horizontalSpacingSpinner = null;
-    private Spinner verticalSpacingSpinner = null;
+    
+    @SuppressWarnings("unused") private Checkbox horizontalGridLinesCheckbox = null;
+    @SuppressWarnings("unused") private Checkbox verticalGridLinesCheckbox = null;
+    @SuppressWarnings("unused") private Spinner horizontalSpacingSpinner = null;
+    @SuppressWarnings("unused") private Spinner verticalSpacingSpinner = null;
+
     private Menu.Section cellSection = null;
     private Menu.Section rowSection = null;
     private Menu.Section columnSection = null;



Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

Posted by Sandro Martini <sa...@gmail.com>.
Ok, don't worry, no problem ...

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

Posted by Todd Volkert <tv...@gmail.com>.
>
> but I've just seen has been dropped by another fix from
>
Todd, sigh ...


Yeah, your check-in reminded me that I didn't need those any more :)

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

Posted by Sandro Martini <sa...@gmail.com>.
Hi Greg,
me too ... but I've just seen has been dropped by another fix from
Todd, sigh ... but ok, I hope we can remember (and use) this trick
other times ...

Bye

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

Posted by Greg Brown <gk...@mac.com>.
> @SuppressWarnings("unused")

I was not familiar with that one. Cool.