[Yanel-commits] rev 40372 - public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils

michi at wyona.com michi at wyona.com
Tue Dec 9 16:12:44 CET 2008


Author: michi
Date: 2008-12-09 16:12:43 +0100 (Tue, 09 Dec 2008)
New Revision: 40372

Modified:
   public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/UpdateInfo.java
Log:
not used variables commented and obsolete imports removed

Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/UpdateInfo.java
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/UpdateInfo.java	2008-12-09 15:08:54 UTC (rev 40371)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/utils/UpdateInfo.java	2008-12-09 15:12:43 UTC (rev 40372)
@@ -6,20 +6,15 @@
 
 import org.apache.log4j.Category;
 
-import java.io.File;
 import java.io.InputStream;
-import java.io.FileInputStream;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collections;
 
 import com.hp.hpl.jena.rdf.model.*;
-import com.hp.hpl.jena.vocabulary.*;
 import com.hp.hpl.jena.rdf.model.impl.PropertyImpl;
 import java.util.HashMap;
 
-import javax.servlet.http.HttpServletRequest;
-
 /**
  * 
  */
@@ -28,7 +23,7 @@
     private static Category log = Category.getInstance(UpdateInfo.class);
     private ArrayList updateVersions = new ArrayList();
     private Model updateRdfModel;
-    private InstallInfo installInfo;
+//    private InstallInfo installInfo;
     
     private String updateManagerNS = "http://www.wyona.org/update-manager/1.0#"; 
 
@@ -56,7 +51,7 @@
         //read the RDF/XML file
         model.read(updateRdfIn, "");
         this.updateRdfModel = model;
-        this.installInfo = installInfo;
+//        this.installInfo = installInfo;
 
         setUpdateVersions();
     }
@@ -81,9 +76,9 @@
         
         NodeIterator iter2 = versionsSeq.iterator();
         Property idProperty = new PropertyImpl(updateManagerNS, "id");
-        Property targetApplicationIdProperty = new PropertyImpl(updateManagerNS, TARGET_APPLICATION_ID);
-        Property targetApplicationminVersionProperty = new PropertyImpl(updateManagerNS, "targetApplicationMinVersion");
-        Property targetApplicationmaxVersionProperty = new PropertyImpl(updateManagerNS, "targetApplicationMaxVersion");
+//        Property targetApplicationIdProperty = new PropertyImpl(updateManagerNS, TARGET_APPLICATION_ID);
+//        Property targetApplicationminVersionProperty = new PropertyImpl(updateManagerNS, "targetApplicationMinVersion");
+//        Property targetApplicationmaxVersionProperty = new PropertyImpl(updateManagerNS, "targetApplicationMaxVersion");
         Property targetApplicationminRevisionProperty = new PropertyImpl(updateManagerNS, "targetApplicationMinRevision");
         Property targetApplicationmaxRevisionProperty = new PropertyImpl(updateManagerNS, "targetApplicationMaxRevision");
         Property changeLogProperty = new PropertyImpl(updateManagerNS, "changelog");



More information about the Yanel-commits mailing list