Revision: 16754
          http://sourceforge.net/p/gate/code/16754
Author:   markagreenwood
Date:     2013-07-29 11:42:09 +0000 (Mon, 29 Jul 2013)
Log Message:
-----------
fixed a bug that messes up the datastore viewer if knew docs are added to the 
datastore while the viewer is open

Modified Paths:
--------------
    gate/trunk/src/gate/gui/SerialDatastoreViewer.java

Modified: gate/trunk/src/gate/gui/SerialDatastoreViewer.java
===================================================================
--- gate/trunk/src/gate/gui/SerialDatastoreViewer.java  2013-07-29 08:15:15 UTC 
(rev 16753)
+++ gate/trunk/src/gate/gui/SerialDatastoreViewer.java  2013-07-29 11:42:09 UTC 
(rev 16754)
@@ -542,7 +542,7 @@
     }
     if(!found) {
       // exhausted the children without finding the node -> new type
-      node = new DefaultMutableTreeNode(resType);
+      node = new DefaultMutableTreeNode(new DSType(resType, 
res.getClass().getName()));
       treeModel.insertNodeInto(node, parent, parent.getChildCount());
     }
     //mainTree.expandPath(new TreePath(new Object[] {parent, node}));

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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to