You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/08/02 18:54:43 UTC
svn commit: r1754988 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-json/src/main/java/org/apache/uima/json/JsonCasSerializer.java
Author: schor
Date: Tue Aug 2 18:54:43 2016
New Revision: 1754988
URL: http://svn.apache.org/viewvc?rev=1754988&view=rev
Log:
no Jira - rename fs.id() to fs._id() to avoid colliding with user methods
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-json/src/main/java/org/apache/uima/json/JsonCasSerializer.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-json/src/main/java/org/apache/uima/json/JsonCasSerializer.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-json/src/main/java/org/apache/uima/json/JsonCasSerializer.java?rev=1754988&r1=1754987&r2=1754988&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-json/src/main/java/org/apache/uima/json/JsonCasSerializer.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-json/src/main/java/org/apache/uima/json/JsonCasSerializer.java Tue Aug 2 18:54:43 2016
@@ -1294,7 +1294,7 @@ public class JsonCasSerializer {
break; // would be the end element. a 0 is also treated as an end element
}
- if (!visited.add(curNode.id())) {
+ if (!visited.add(curNode._id())) {
break; // loop detected, stop. no error report here, would be reported earlier during enqueue
}