ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/perforce P4Change.java
Date Mon, 24 Dec 2001 12:05:38 GMT
ehatcher    01/12/24 04:05:38

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/perforce
                        P4Change.java
  Log:
  Modified 'backslash' to be public static final so that the test case can access it. This
method is standalone, so having it static is fine.
  
  Revision  Changes    Path
  1.6       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Change.java
  
  Index: P4Change.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Change.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- P4Change.java	2001/11/14 22:18:18	1.5
  +++ P4Change.java	2001/12/24 12:05:38	1.6
  @@ -144,7 +144,7 @@
        * @return the backslashed string
        * @see < a href="http://jakarta.apache.org/oro/api/org/apache/oro/text/perl/Perl5Util.html#substitute(java.lang.String,%20java.lang.String)">Oro</a>
        */
  -    protected String backslash(String value){
  +    public static final String backslash(String value){
           final StringBuffer buf = new StringBuffer(value.length());
           final int len = value.length();
           for (int i = 0; i < len; i++){
  
  
  

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


Mime
View raw message