Skip to content

Commit

Permalink
fixed for jdk 7
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiga authored and jazzido committed Sep 14, 2017
1 parent dd25f7b commit 6e5f5c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/technology/tabula/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class CellPosition implements Comparable<CellPosition> {
final int row, col;

@Override public int hashCode() {
return Integer.hashCode(row) + 101 * Integer.hashCode(col);
return row + 101 * col;
}

@Override public boolean equals(Object obj) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/technology/tabula/TestBasicExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public class TestBasicExtractor {
{"AARON, MICHAEL, R", "", "BROOKLYN, NY", "MEALS", "$65.92"}
};

private static final String[][] EXPECTED_EMPTY_TABLE = { /* actually empty! */ };
private static final String[][] EXPECTED_EMPTY_TABLE = { /* actually empty! */ };


@Test
Expand Down

0 comments on commit 6e5f5c2

Please sign in to comment.