@Override annotations. No functional changes.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2092 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2011-06-07 23:51:16 +00:00
parent 297809847d
commit 2cd3ae03d0
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class Column implements Jsonizable {
return _reconStats; return _reconStats;
} }
@Override
public void write(JSONWriter writer, Properties options) public void write(JSONWriter writer, Properties options)
throws JSONException { throws JSONException {
@ -154,6 +155,7 @@ public class Column implements Jsonizable {
return column; return column;
} }
@Override
public String toString() { public String toString() {
return _name; return _name;
} }

View File

@ -156,6 +156,7 @@ public class ColumnModel implements Jsonizable {
return _columnNames; return _columnNames;
} }
@Override
synchronized public void write(JSONWriter writer, Properties options) synchronized public void write(JSONWriter writer, Properties options)
throws JSONException { throws JSONException {
@ -236,6 +237,7 @@ public class ColumnModel implements Jsonizable {
_rootColumnGroups = new LinkedList<ColumnGroup>(columnGroups); _rootColumnGroups = new LinkedList<ColumnGroup>(columnGroups);
Collections.sort(_rootColumnGroups, new Comparator<ColumnGroup>() { Collections.sort(_rootColumnGroups, new Comparator<ColumnGroup>() {
@Override
public int compare(ColumnGroup o1, ColumnGroup o2) { public int compare(ColumnGroup o1, ColumnGroup o2) {
int firstDiff = o1.startColumnIndex - o2.startColumnIndex; int firstDiff = o1.startColumnIndex - o2.startColumnIndex;
return firstDiff != 0 ? return firstDiff != 0 ?