|
|
@@ -1,13 +1,11 @@
|
|
|
package jplag.java19;
|
|
|
|
|
|
-import jplag.Token;
|
|
|
-
|
|
|
public class JavaToken extends jplag.Token implements JavaTokenConstants {
|
|
|
private static final long serialVersionUID = -383581430479870696L;
|
|
|
private int line, column, length;
|
|
|
|
|
|
- public JavaToken(int type, String file, int col, int line, int length) {
|
|
|
- super(type, file, col, line, length); // TS: Why are the parameters line and column swapped here?
|
|
|
+ public JavaToken(int type, String file, int line, int col, int length) {
|
|
|
+ super(type, file, line, col, length);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -185,9 +183,4 @@ public class JavaToken extends jplag.Token implements JavaTokenConstants {
|
|
|
public static int numberOfTokens() {
|
|
|
return NUM_DIFF_TOKENS;
|
|
|
}
|
|
|
-
|
|
|
- @Override
|
|
|
- public Token copy() {
|
|
|
- return new JavaToken(type, file, line, column, length);
|
|
|
- }
|
|
|
}
|