[Schmitzm-commits] r2208 - trunk/schmitzm-core/src/main/java/de/schmitzm/swing

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 31 13:54:41 CET 2013


Author: mojays
Date: 2013-01-31 13:54:41 +0100 (Thu, 31 Jan 2013)
New Revision: 2208

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ListMaintainancePanel.java
Log:
Downward compatibility to Java 1.6

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ListMaintainancePanel.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ListMaintainancePanel.java	2013-01-31 12:51:30 UTC (rev 2207)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ListMaintainancePanel.java	2013-01-31 12:54:41 UTC (rev 2208)
@@ -247,7 +247,7 @@
     }
     if ( "REMOVE".equals(actionID) ) {
 //      for ( T elem : list.getSelectedValuesList() ) // TODO: Java 1.7
-      for ( Object elem : list.getSelectedValuesList() )
+      for ( Object elem : list.getSelectedValues() )
         removeElement((T)elem);
     }
     if ( "MOVE_UP".equals(actionID) ) {



More information about the Schmitzm-commits mailing list