[Mulgara-svn] r1555 - trunk/src/jar/querylang/java/org/mulgara/itql

pag at mulgara.org pag at mulgara.org
Wed Feb 25 19:03:46 UTC 2009


Author: pag
Date: 2009-02-25 11:03:45 -0800 (Wed, 25 Feb 2009)
New Revision: 1555

Modified:
   trunk/src/jar/querylang/java/org/mulgara/itql/ObjectListBuilder.java
Log:
Fixed warnings be adding generics

Modified: trunk/src/jar/querylang/java/org/mulgara/itql/ObjectListBuilder.java
===================================================================
--- trunk/src/jar/querylang/java/org/mulgara/itql/ObjectListBuilder.java	2009-02-25 19:03:16 UTC (rev 1554)
+++ trunk/src/jar/querylang/java/org/mulgara/itql/ObjectListBuilder.java	2009-02-25 19:03:45 UTC (rev 1555)
@@ -77,15 +77,15 @@
 
   private final static Logger logger = Logger.getLogger(ObjectListBuilder.class.getName());
 
-  private List objList;
+  private List<PElement> objList;
   /**
    * Constructor.
    */
   public ObjectListBuilder() {
-    objList = new ArrayList();
+    objList = new ArrayList<PElement>();
   }
 
-  public List getObjectList() {
+  public List<PElement> getObjectList() {
     return objList;
   }
 




More information about the Mulgara-svn mailing list