Browse Source

added getColumnNumber as all other fields that are set can also be get, apart from the column.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277772 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 20 years ago
parent
commit
f73df08f5b
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/main/org/apache/tools/ant/Location.java

+ 8
- 0
src/main/org/apache/tools/ant/Location.java View File

@@ -110,6 +110,14 @@ public class Location implements Serializable {
return lineNumber; return lineNumber;
} }


/**
* @return the column number
* @since Ant 1.7
*/
public int getColumnNumber() {
return columnNumber;
}
/** /**
* Returns the file name, line number, a colon and a trailing space. * Returns the file name, line number, a colon and a trailing space.
* An error message can be appended easily. For unknown locations, an * An error message can be appended easily. For unknown locations, an


Loading…
Cancel
Save