Author: rwesten
Date: Tue May 22 12:15:06 2012
New Revision: 1341434

URL: http://svn.apache.org/viewvc?rev=1341434&view=rev
Log:
fixes STANBOL-623 as described by the issue

Modified:
    
incubator/stanbol/trunk/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/linking/Suggestion.java

Modified: 
incubator/stanbol/trunk/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/linking/Suggestion.java
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/linking/Suggestion.java?rev=1341434&r1=1341433&r2=1341434&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/linking/Suggestion.java
 (original)
+++ 
incubator/stanbol/trunk/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/linking/Suggestion.java
 Tue May 22 12:15:06 2012
@@ -233,7 +233,7 @@ public class Suggestion implements Compa
             if (actLang != null && actLang.startsWith(language)) {
                 //prefer labels with the correct language
                 label = actLabel;
-                if(label.getText().equalsIgnoreCase(label.getText())){
+                if(this.label.getText().equalsIgnoreCase(label.getText())){
                     //found label in that language that exactly matches the
                     //label used to match the text
                     matchFound = true; 


Reply via email to