Revision: 19194
          http://sourceforge.net/p/gate/code/19194
Author:   markagreenwood
Date:     2016-04-04 08:11:19 +0000 (Mon, 04 Apr 2016)
Log Message:
-----------
it helps if you initialise binary flags

Modified Paths:
--------------
    gate/branches/sawdust2/src/main/gate/Plugin.java
    
gate/branches/sawdust2/src/main/gate/gui/creole/manager/AvailablePlugins.java

Modified: gate/branches/sawdust2/src/main/gate/Plugin.java
===================================================================
--- gate/branches/sawdust2/src/main/gate/Plugin.java    2016-04-04 07:35:28 UTC 
(rev 19193)
+++ gate/branches/sawdust2/src/main/gate/Plugin.java    2016-04-04 08:11:19 UTC 
(rev 19194)
@@ -63,7 +63,7 @@
    * Is the plugin valid (i.e. is the location reachable and the
    * creole.xml file parsable).
    */
-  protected boolean valid;
+  protected boolean valid = true;
   
   protected URL baseURL;
   
@@ -319,6 +319,8 @@
       this.group = group;
       this.artifact = artifact;
       this.version = version;
+      
+      //TODO move calculation of baseURL into here
     }
     
     
@@ -341,8 +343,6 @@
               getRepositorySystem().resolveArtifact(getRepositorySession(),
                       artifactRequest);
 
-      System.out.println(artifactResult.getArtifact().getFile());
-
       baseURL =
               new URL("jar:"
                       + artifactResult.getArtifact().getFile().toURI().toURL()

Modified: 
gate/branches/sawdust2/src/main/gate/gui/creole/manager/AvailablePlugins.java
===================================================================
--- 
gate/branches/sawdust2/src/main/gate/gui/creole/manager/AvailablePlugins.java   
    2016-04-04 07:35:28 UTC (rev 19193)
+++ 
gate/branches/sawdust2/src/main/gate/gui/creole/manager/AvailablePlugins.java   
    2016-04-04 08:11:19 UTC (rev 19194)
@@ -479,6 +479,7 @@
     public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
       Boolean valueBoolean = (Boolean)aValue;
       Plugin plugin = visibleRows.get(rowIndex);
+            
       if(plugin == null) { return; }
 
       switch(columnIndex){

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to