JC created STANBOL-1460:
---------------------------
Summary: Condition that always returns true
Key: STANBOL-1460
URL: https://issues.apache.org/jira/browse/STANBOL-1460
Project: Stanbol
Issue Type: Bug
Components: Entityhub
Reporter: JC
Priority: Trivial
Hi
In recent github mirror, I've found the following issue.
Path:
entityhub/generic/core/src/main/java/org/apache/stanbol/entityhub/core/mapping/FieldMappingUtils.java
{code}
69 return fm17.usesWildcard() == fm33.usesWildcard()? //both same
Wildcard
70 fm17.ignoreField() == fm17.ignoreField()? // both same
ignore state
71
fm33.getFieldPattern().length()-fm17.getFieldPattern().length(): //longer fi
eld pattern
72 fm17.ignoreField()?-1:1: //that with ignore
field=true
73 !fm17.usesWildcard()?-1:1; //that without wildcard
{code}
In Line 70, it should be like this?
{code}
70 fm17.ignoreField() == fm33.ignoreField()? // both same
ignore state
{code}
Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)