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

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 14 17:13:04 CET 2013


Author: mojays
Date: 2013-02-14 17:13:04 +0100 (Thu, 14 Feb 2013)
New Revision: 2227

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/swing/JList.java
Log:
Test: Verwendung von 1.7 Feature f?\195?\188r JList

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/JList.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/JList.java	2013-02-14 16:03:19 UTC (rev 2226)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/JList.java	2013-02-14 16:13:04 UTC (rev 2227)
@@ -40,7 +40,7 @@
  * {@link JTextField} in disabled state.
  * @author <a href="mailto:martin.schmitz at koeln.de">Martin Schmitz</a>
  */
-public class JList extends javax.swing.JList {
+public class JList<E> extends javax.swing.JList<E> {
   
   /**
    * Creates a new list.
@@ -52,21 +52,21 @@
   /**
    * Creates a new list.
    */
-  public JList(ListModel dataModel) {
+  public JList(ListModel<E> dataModel) {
     super(dataModel);
   }
 
   /**
    * Creates a new list.
    */
-  public JList(Object[] listData) {
+  public JList(E[] listData) {
     super(listData);
   }
 
   /**
    * Creates a new list.
    */
-  public JList(Vector<?> listData) {
+  public JList(Vector<E> listData) {
     super(listData);
   }
 



More information about the Schmitzm-commits mailing list