format all the things!

This commit is contained in:
jaredlll08 committed 2015-08-31 19:15:35 +02:00
1 parent 54ec75fd3d
commit b36c6dade6
377 files changed
+6833 -6772

No files matched your search

@@ -16,27 +16,28 @@ public class ZenPosition {
private final ZenParsedFile file;
private final int line;
private final int offset;
public ZenPosition(ZenParsedFile file, int line, int offset) {
if (file != null && line <= 0) throw new IllegalArgumentException("Line must be positive");
if (file != null && line <= 0)
throw new IllegalArgumentException("Line must be positive");
this.file = file;
this.line = line;
this.offset = offset;
}
public ZenParsedFile getFile() {
return file;
}
public int getLine() {
return line;
}
public int getLineOffset() {
return offset;
}
@Override
public String toString() {
return (file == null ? "?" : file.getFileName()) + ":" + Integer.toString(line);