We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0127404 + 36e99d2 commit 83804cdCopy full SHA for 83804cd
aima-core/src/main/java/aima/core/logic/common/Token.java
@@ -75,11 +75,11 @@ public int hashCode() {
75
result = 37 * result + type;
76
result = 37 * result + text.hashCode();
77
result = 37 * result + startCharPositionInInput;
78
- return 17;
+ return result;
79
}
80
81
@Override
82
public String toString() {
83
return "[ " + type + " " + text + " " + startCharPositionInInput + " ]";
84
85
-}
+}
0 commit comments