ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject svn commit: r1815626 - in /ctakes/trunk: ./ ctakes-assertion/src/main/java/org/apache/ctakes/assertion/cr/GoldEntityAndAttributeReader.java
Date Fri, 17 Nov 2017 20:49:55 GMT
Author: alexz
Date: Fri Nov 17 20:49:55 2017
New Revision: 1815626

URL: http://svn.apache.org/viewvc?rev=1815626&view=rev
Log:
fix non-short-circuit logic in a boolean context

Modified:
    ctakes/trunk/   (props changed)
    ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/cr/GoldEntityAndAttributeReader.java

Propchange: ctakes/trunk/
------------------------------------------------------------------------------
--- svn:global-ignores (original)
+++ svn:global-ignores Fri Nov 17 20:49:55 2017
@@ -1 +1,2 @@
 *.iml
+target

Modified: ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/cr/GoldEntityAndAttributeReader.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/cr/GoldEntityAndAttributeReader.java?rev=1815626&r1=1815625&r2=1815626&view=diff
==============================================================================
--- ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/cr/GoldEntityAndAttributeReader.java
(original)
+++ ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/cr/GoldEntityAndAttributeReader.java
Fri Nov 17 20:49:55 2017
@@ -213,7 +213,7 @@ public class GoldEntityAndAttributeReade
 		// if this is an attribute id
 		else if (attrPtr.containsKey(id)) {
 			if ( !attrPtr.get(id).role.equals("Related_to_CU") 
-					& !attrPtr.get(id).role.equals("Argument_CU") )
+					&& !attrPtr.get(id).role.equals("Argument_CU") )
 				getLeafAttributes(attrPtr.get(id).value, mentionAttr, attrPtr, attrs, output);
 		} else if (attrs.containsKey(id)){
 			if ( !attrs.get(id).role.equals("Related_to_CU") 



Mime
View raw message