sbailliez    02/01/26 11:29:04

  Modified:    src/main/org/apache/tools/ant/taskdefs Replace.java
  Log:
  Fix unecessary cast
  
  Revision  Changes    Path
  1.22      +2 -2      
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Replace.java
  
  Index: Replace.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Replace.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Replace.java      10 Jan 2002 13:59:31 -0000      1.21
  +++ Replace.java      26 Jan 2002 19:29:04 -0000      1.22
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2000-2001 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -162,7 +162,7 @@
           public String getReplaceValue()
           {
               if (property != null) {
  -                return (String)properties.getProperty(property);
  +                return properties.getProperty(property);
               }
               else if (value != null) {
                   return value;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to