[isidorus-cvs] r892 - in branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets: base isidorus
lgiessmann at common-lisp.net
lgiessmann at common-lisp.net
Tue Sep 13 12:37:30 UTC 2011
Author: lgiessmann
Date: Tue Sep 13 05:37:30 2011
New Revision: 892
Log:
gdl-frontend: Widgets: fixed a bug in Utils.splitUri(...)
Modified:
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/Utils.java
branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Tue Sep 13 05:05:27 2011 (r891)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/TestClass.java Tue Sep 13 05:37:30 2011 (r892)
@@ -2,7 +2,6 @@
import java.util.ArrayList;
-
import us.isidor.gdl.anaToMia.TmEngine.jtmsBasedEngine.JtmsTmEngine;
import us.isidor.gdl.anaToMia.Widgets.environment.Pair;
import us.isidor.gdl.anaToMia.Widgets.environment.TopicIdentifierTypes;
@@ -25,7 +24,7 @@
@Override
public void onModuleLoad() {
- try{
+ try{
RootPanel.get("GWT_Content").add(mainPanel);
mainPanel.setBorderWidth(1);
mainPanel.setPixelSize(1000, 600);
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/Utils.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/Utils.java Tue Sep 13 05:05:27 2011 (r891)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/base/Utils.java Tue Sep 13 05:37:30 2011 (r892)
@@ -24,7 +24,7 @@
if(lastPos <= 0) return new String[]{uri, null};
String prefix = uri.substring(0, lastPos + 1);
- String suffix = uri.substring(lastPos);
+ String suffix = uri.substring(lastPos + 1);
suffix = suffix == null ? "" : suffix;
return new String[]{prefix, suffix};
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java
==============================================================================
--- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java Tue Sep 13 05:05:27 2011 (r891)
+++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/isidorus/CommitCallback.java Tue Sep 13 05:37:30 2011 (r892)
@@ -243,6 +243,7 @@
JSONObject delTop = new JSONObject();
delTop.put("prefixes", prefs);
delTop.put("version", new JSONString("1.1"));
+ delTop.put("item_type", new JSONString("topic"));
JSONArray jPsis = new JSONArray();
jPsis.set(0, new JSONString("pref_1:" + topPsi[1]));
delTop.put("subject_identifiers", jPsis);
More information about the Isidorus-cvs
mailing list