ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant Location.java
Date Thu, 03 Mar 2005 14:00:08 GMT
jkf         2005/03/03 06:00:08

  Modified:    src/main/org/apache/tools/ant Location.java
  Log:
  added getColumnNumber as all other fields that are set can also be get, apart from the column.
  
  Revision  Changes    Path
  1.22      +8 -0      ant/src/main/org/apache/tools/ant/Location.java
  
  Index: Location.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Location.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Location.java	6 Jan 2005 12:05:06 -0000	1.21
  +++ Location.java	3 Mar 2005 14:00:08 -0000	1.22
  @@ -111,6 +111,14 @@
       }
   
       /**
  +     * @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.
        * An error message can be appended easily. For unknown locations, an
        * empty string is returned.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message