ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/sound SoundTask.java
Date Fri, 29 Mar 2002 12:57:22 GMT
donaldp     02/03/29 04:57:22

  Modified:    proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors
                        AbstractNameFileSelector.java
                        FileTestCondition.java NameFileSelector.java
                        NotFileSelector.java
               proposal/myrmidon/src/java/org/apache/antlib/core
                        AntCallTask.java AntParam.java FileTokenSet.java
                        IfTask.java LoadProperties.java Property.java
                        StringToEnumConverter.java
                        StringToFileConverter.java TryCatchTask.java
               proposal/myrmidon/src/java/org/apache/antlib/build
                        BuildNumber.java Patch.java SleepTask.java
               proposal/myrmidon/src/java/org/apache/antlib/archive
                        BUnzip2.java BZip2.java GUnzip.java
               proposal/myrmidon/src/java/org/apache/antlib/cvslib
                        ChangeLog.java CVSPass.java CvsUser.java
               proposal/myrmidon/src/java/org/apache/antlib/vfile
                        CopyFilesTask.java DefaultFileSet.java
                        StringToFileObjectConverter.java
               proposal/myrmidon/src/java/org/apache/antlib/file
                        CopyTask.java Delete.java Mkdir.java Touch.java
               proposal/myrmidon/src/java/org/apache/antlib/dotnet
                        CSharp.java Ilasm.java
               proposal/myrmidon/src/java/org/apache/antlib/runtime
                        Facility.java Import.java
                        TypeAvailableCondition.java
               proposal/myrmidon/src/java/org/apache/antlib/nativelib
                        LoadEnvironment.java
               proposal/myrmidon/src/java/org/apache/antlib/sound
                        SoundTask.java
  Log:
  final static --> static final to follow JLS recomendations
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/AbstractNameFileSelector.java
  
  Index: AbstractNameFileSelector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/AbstractNameFileSelector.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractNameFileSelector.java	4 Mar 2002 04:23:37 -0000	1.4
  +++ AbstractNameFileSelector.java	29 Mar 2002 12:57:20 -0000	1.5
  @@ -22,12 +22,12 @@
    * An abstract file selector that selects files based on name.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.4 $ $Date: 2002/03/04 04:23:37 $
  + * @version $Revision: 1.5 $ $Date: 2002/03/29 12:57:20 $
    */
   public abstract class AbstractNameFileSelector
       implements FileSelector
   {
  -    private final static Resources REZ
  +    private static final Resources REZ
           = ResourceManager.getPackageResources( AbstractNameFileSelector.class );
   
       private Object m_type;
  
  
  
  1.5       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/FileTestCondition.java
  
  Index: FileTestCondition.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/FileTestCondition.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FileTestCondition.java	23 Mar 2002 04:01:24 -0000	1.4
  +++ FileTestCondition.java	29 Mar 2002 12:57:20 -0000	1.5
  @@ -18,14 +18,14 @@
    * A condition that applies a set of file selectors to a file.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.4 $ $Date: 2002/03/23 04:01:24 $
  + * @version $Revision: 1.5 $ $Date: 2002/03/29 12:57:20 $
    *
    * @ant.type type="condition" name="file-test"
    */
   public class FileTestCondition
       implements Condition
   {
  -    private final static Resources REZ
  +    private static final Resources REZ
           = ResourceManager.getPackageResources( FileTestCondition.class );
   
       private FileObject m_file;
  
  
  
  1.6       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/NameFileSelector.java
  
  Index: NameFileSelector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/NameFileSelector.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- NameFileSelector.java	23 Mar 2002 04:01:24 -0000	1.5
  +++ NameFileSelector.java	29 Mar 2002 12:57:20 -0000	1.6
  @@ -16,14 +16,14 @@
    * A file selector that selects files based on their name.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.5 $ $Date: 2002/03/23 04:01:24 $
  + * @version $Revision: 1.6 $ $Date: 2002/03/29 12:57:20 $
    *
    * @ant.type type="v-file-selector" name="name"
    */
   public class NameFileSelector
       extends AbstractNameFileSelector
   {
  -    private final static Resources REZ
  +    private static final Resources REZ
           = ResourceManager.getPackageResources( NameFileSelector.class );
   
       /**
  
  
  
  1.7       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/NotFileSelector.java
  
  Index: NotFileSelector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/selectors/NotFileSelector.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NotFileSelector.java	23 Mar 2002 04:01:24 -0000	1.6
  +++ NotFileSelector.java	29 Mar 2002 12:57:20 -0000	1.7
  @@ -17,14 +17,14 @@
    * A file selector that negates a nested file selector.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.6 $ $Date: 2002/03/23 04:01:24 $
  + * @version $Revision: 1.7 $ $Date: 2002/03/29 12:57:20 $
    *
    * @ant.type type="v-file-selector" name="not"
    */
   public class NotFileSelector
       implements FileSelector
   {
  -    private final static Resources REZ
  +    private static final Resources REZ
           = ResourceManager.getPackageResources( NotFileSelector.class );
   
       private FileSelector m_selector;
  
  
  
  1.2       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/AntCallTask.java
  
  Index: AntCallTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/AntCallTask.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AntCallTask.java	28 Mar 2002 07:30:41 -0000	1.1
  +++ AntCallTask.java	29 Mar 2002 12:57:20 -0000	1.2
  @@ -17,12 +17,12 @@
    * or a referenced project.
    *
    * @author <a href="mailto:darrell@apache.org">Darrell DeBoer</a>
  - * @version $Revision: 1.1 $ $Date: 2002/03/28 07:30:41 $
  + * @version $Revision: 1.2 $ $Date: 2002/03/29 12:57:20 $
    * @ant.task name="ant-call"
    */
   public class AntCallTask extends AbstractAntTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( AntCallTask.class );
   
       private String m_project;
  
  
  
  1.2       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/AntParam.java
  
  Index: AntParam.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/AntParam.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AntParam.java	23 Mar 2002 09:07:33 -0000	1.1
  +++ AntParam.java	29 Mar 2002 12:57:20 -0000	1.2
  @@ -15,13 +15,13 @@
    * Simple holder for parameters.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.1 $ $Date: 2002/03/23 09:07:33 $
  + * @version $Revision: 1.2 $ $Date: 2002/03/29 12:57:20 $
    * @todo Refactor this and all the other parameter, sysproperty,
    *   property etc into a single class in framework
    */
   public class AntParam
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( AntParam.class );
   
       private String m_name;
  
  
  
  1.3       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/FileTokenSet.java
  
  Index: FileTokenSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/FileTokenSet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FileTokenSet.java	23 Mar 2002 04:01:25 -0000	1.2
  +++ FileTokenSet.java	29 Mar 2002 12:57:20 -0000	1.3
  @@ -23,14 +23,14 @@
    * A set of tokens that are read from a file.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.2 $ $Date: 2002/03/23 04:01:25 $
  + * @version $Revision: 1.3 $ $Date: 2002/03/29 12:57:20 $
    *
    * @ant.type type="token-set" name="tokens-file"
    */
   public class FileTokenSet
       implements TokenSet
   {
  -    private final static Resources REZ
  +    private static final Resources REZ
           = ResourceManager.getPackageResources( FileTokenSet.class );
   
       private Map m_tokens = new HashMap();
  
  
  
  1.9       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/IfTask.java
  
  Index: IfTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/IfTask.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- IfTask.java	28 Mar 2002 06:35:22 -0000	1.8
  +++ IfTask.java	29 Mar 2002 12:57:20 -0000	1.9
  @@ -22,13 +22,13 @@
    * then it will execute the inner tasks, else it won't.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.8 $ $Date: 2002/03/28 06:35:22 $
  + * @version $Revision: 1.9 $ $Date: 2002/03/29 12:57:20 $
    * @ant.task name="if"
    */
   public class IfTask
       extends AbstractContainerTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( IfTask.class );
   
       private Condition m_condition;
  
  
  
  1.10      +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/LoadProperties.java
  
  Index: LoadProperties.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/LoadProperties.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- LoadProperties.java	23 Mar 2002 03:46:31 -0000	1.9
  +++ LoadProperties.java	29 Mar 2002 12:57:20 -0000	1.10
  @@ -26,7 +26,7 @@
   public class LoadProperties
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( LoadProperties.class );
   
       private String m_prefix;
  
  
  
  1.15      +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/Property.java
  
  Index: Property.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/Property.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Property.java	23 Mar 2002 03:46:31 -0000	1.14
  +++ Property.java	29 Mar 2002 12:57:20 -0000	1.15
  @@ -19,13 +19,13 @@
    * TODO: Determine final format of property task.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.14 $ $Date: 2002/03/23 03:46:31 $
  + * @version $Revision: 1.15 $ $Date: 2002/03/29 12:57:20 $
    * @ant.task name="property"
    */
   public class Property
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Property.class );
   
       private String m_name;
  
  
  
  1.9       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/StringToEnumConverter.java
  
  Index: StringToEnumConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/StringToEnumConverter.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- StringToEnumConverter.java	23 Mar 2002 04:01:25 -0000	1.8
  +++ StringToEnumConverter.java	29 Mar 2002 12:57:20 -0000	1.9
  @@ -24,7 +24,7 @@
   public class StringToEnumConverter
       implements Converter
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( StringToEnumConverter.class );
   
       public Object convert( final Class destination,
  
  
  
  1.11      +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/StringToFileConverter.java
  
  Index: StringToFileConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/StringToFileConverter.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- StringToFileConverter.java	23 Mar 2002 07:53:56 -0000	1.10
  +++ StringToFileConverter.java	29 Mar 2002 12:57:20 -0000	1.11
  @@ -24,7 +24,7 @@
   public class StringToFileConverter
       extends AbstractConverter
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( StringToFileConverter.class );
   
       public StringToFileConverter()
  
  
  
  1.4       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/TryCatchTask.java
  
  Index: TryCatchTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/core/TryCatchTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TryCatchTask.java	23 Mar 2002 03:46:31 -0000	1.3
  +++ TryCatchTask.java	29 Mar 2002 12:57:20 -0000	1.4
  @@ -19,13 +19,13 @@
    * of languages.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2002/03/23 03:46:31 $
  + * @version $Revision: 1.4 $ $Date: 2002/03/29 12:57:20 $
    * @ant.task name="try-catch"
    */
   public final class TryCatchTask
       extends AbstractContainerTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( TryCatchTask.class );
   
       private TaskList m_try;
  
  
  
  1.4       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/BuildNumber.java
  
  Index: BuildNumber.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/BuildNumber.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BuildNumber.java	29 Mar 2002 01:41:17 -0000	1.3
  +++ BuildNumber.java	29 Mar 2002 12:57:20 -0000	1.4
  @@ -27,13 +27,13 @@
    * by one and write it back out into the file.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2002/03/29 01:41:17 $
  + * @version $Revision: 1.4 $ $Date: 2002/03/29 12:57:20 $
    * @ant.task name="build-number"
    */
   public class BuildNumber
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( BuildNumber.class );
   
       /**
  
  
  
  1.12      +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/Patch.java
  
  Index: Patch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/Patch.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Patch.java	23 Mar 2002 03:46:31 -0000	1.11
  +++ Patch.java	29 Mar 2002 12:57:20 -0000	1.12
  @@ -21,12 +21,12 @@
    * @ant.task name="patchx"
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.11 $ $Date: 2002/03/23 03:46:31 $
  + * @version $Revision: 1.12 $ $Date: 2002/03/29 12:57:20 $
    */
   public class Patch
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Patch.class );
   
       private File m_originalFile;
  
  
  
  1.7       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/SleepTask.java
  
  Index: SleepTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/build/SleepTask.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SleepTask.java	23 Mar 2002 03:46:31 -0000	1.6
  +++ SleepTask.java	29 Mar 2002 12:57:20 -0000	1.7
  @@ -17,12 +17,12 @@
    *
    * @ant.task name="sleep"
    * @author steve_l@iseran.com steve loughran
  - * @version $Revision: 1.6 $ $Date: 2002/03/23 03:46:31 $
  + * @version $Revision: 1.7 $ $Date: 2002/03/29 12:57:20 $
    */
   public class SleepTask
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( SleepTask.class );
   
       private int m_seconds;
  
  
  
  1.7       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/archive/BUnzip2.java
  
  Index: BUnzip2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/archive/BUnzip2.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BUnzip2.java	24 Mar 2002 07:55:32 -0000	1.6
  +++ BUnzip2.java	29 Mar 2002 12:57:21 -0000	1.7
  @@ -22,7 +22,7 @@
   public class BUnzip2
       extends Unpack
   {
  -    private final static String DEFAULT_EXTENSION = ".bz2";
  +    private static final String DEFAULT_EXTENSION = ".bz2";
   
       protected String getDefaultExtension()
       {
  
  
  
  1.8       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/archive/BZip2.java
  
  Index: BZip2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/archive/BZip2.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BZip2.java	24 Mar 2002 07:55:32 -0000	1.7
  +++ BZip2.java	29 Mar 2002 12:57:21 -0000	1.8
  @@ -23,7 +23,7 @@
   public class BZip2
       extends Pack
   {
  -    private final static byte[] HEADER = new byte[]{(byte)'B', (byte)'Z'};
  +    private static final byte[] HEADER = new byte[]{(byte)'B', (byte)'Z'};
   
       protected OutputStream getPackingStream( OutputStream output )
           throws TaskException, IOException
  
  
  
  1.4       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/archive/GUnzip.java
  
  Index: GUnzip.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/archive/GUnzip.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GUnzip.java	23 Mar 2002 03:46:31 -0000	1.3
  +++ GUnzip.java	29 Mar 2002 12:57:21 -0000	1.4
  @@ -23,7 +23,7 @@
   public class GUnzip
       extends Unpack
   {
  -    private final static String DEFAULT_EXTENSION = ".gz";
  +    private static final String DEFAULT_EXTENSION = ".gz";
   
       protected String getDefaultExtension()
       {
  
  
  
  1.4       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/ChangeLog.java
  
  Index: ChangeLog.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/ChangeLog.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ChangeLog.java	28 Mar 2002 02:01:52 -0000	1.3
  +++ ChangeLog.java	29 Mar 2002 12:57:21 -0000	1.4
  @@ -54,13 +54,13 @@
    *
    * @author <a href="mailto:jeff.martin@synamic.co.uk">Jeff Martin</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.3 $ $Date: 2002/03/28 02:01:52 $
  + * @version $Revision: 1.4 $ $Date: 2002/03/29 12:57:21 $
    * @ant.task name="changelog"
    */
   public class ChangeLog
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( ChangeLog.class );
   
       /** User list */
  
  
  
  1.15      +3 -3      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/CVSPass.java
  
  Index: CVSPass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/CVSPass.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CVSPass.java	24 Mar 2002 00:15:56 -0000	1.14
  +++ CVSPass.java	29 Mar 2002 12:57:21 -0000	1.15
  @@ -23,13 +23,13 @@
    * CVSLogin Adds an new entry to a CVS password file
    *
    * @author <a href="jeff@custommonkey.org">Jeff Martin</a>
  - * @version $Revision: 1.14 $ $Date: 2002/03/24 00:15:56 $
  + * @version $Revision: 1.15 $ $Date: 2002/03/29 12:57:21 $
    * @ant.task name="cvs-pass"
    */
   public class CVSPass
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( CVSPass.class );
   
       /**
  @@ -50,7 +50,7 @@
       /**
        * Array contain char conversion data
        */
  -    private final static char[] c_shifts = new char[]
  +    private static final char[] c_shifts = new char[]
       {
           0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
           16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
  
  
  
  1.2       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/CvsUser.java
  
  Index: CvsUser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/cvslib/CvsUser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CvsUser.java	23 Mar 2002 23:58:12 -0000	1.1
  +++ CvsUser.java	29 Mar 2002 12:57:21 -0000	1.2
  @@ -16,11 +16,11 @@
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    * @author <a href="mailto:jeff.martin@synamic.co.uk">Jeff Martin</a>
  - * @version $Revision: 1.1 $ $Date: 2002/03/23 23:58:12 $
  + * @version $Revision: 1.2 $ $Date: 2002/03/29 12:57:21 $
    */
   public class CvsUser
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( CvsUser.class );
   
       private String m_userID;
  
  
  
  1.9       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/CopyFilesTask.java
  
  Index: CopyFilesTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/CopyFilesTask.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- CopyFilesTask.java	23 Mar 2002 03:46:32 -0000	1.8
  +++ CopyFilesTask.java	29 Mar 2002 12:57:21 -0000	1.9
  @@ -28,7 +28,7 @@
   public class CopyFilesTask
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( CopyFilesTask.class );
   
       private FileObject m_srcFile;
  
  
  
  1.7       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/DefaultFileSet.java
  
  Index: DefaultFileSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/DefaultFileSet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DefaultFileSet.java	23 Mar 2002 04:01:26 -0000	1.6
  +++ DefaultFileSet.java	29 Mar 2002 12:57:21 -0000	1.7
  @@ -30,7 +30,7 @@
   public class DefaultFileSet
       implements FileSet
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( DefaultFileSet.class );
   
       private FileObject m_dir;
  
  
  
  1.6       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/StringToFileObjectConverter.java
  
  Index: StringToFileObjectConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/vfile/StringToFileObjectConverter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- StringToFileObjectConverter.java	23 Mar 2002 04:01:26 -0000	1.5
  +++ StringToFileObjectConverter.java	29 Mar 2002 12:57:21 -0000	1.6
  @@ -24,7 +24,7 @@
   public class StringToFileObjectConverter
       extends AbstractConverter
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( StringToFileObjectConverter.class );
   
       public StringToFileObjectConverter()
  
  
  
  1.10      +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/CopyTask.java
  
  Index: CopyTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/CopyTask.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CopyTask.java	23 Mar 2002 03:46:32 -0000	1.9
  +++ CopyTask.java	29 Mar 2002 12:57:21 -0000	1.10
  @@ -34,12 +34,12 @@
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    * @author <A href="gholam@xtra.co.nz">Michael McCallum</A>
    * @author <a href="mailto:umagesh@rediffmail.com">Magesh Umasankar</a>
  - * @version $Revision: 1.9 $ $Date: 2002/03/23 03:46:32 $
  + * @version $Revision: 1.10 $ $Date: 2002/03/29 12:57:21 $
    */
   public class CopyTask
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( CopyTask.class );
   
       private File m_file;
  
  
  
  1.8       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/Delete.java
  
  Index: Delete.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/Delete.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Delete.java	23 Mar 2002 03:46:32 -0000	1.7
  +++ Delete.java	29 Mar 2002 12:57:21 -0000	1.8
  @@ -26,12 +26,12 @@
    * @author <a href="mailto:tad1@cornell.edu">Tom Dimock</a>
    * @author <a href="mailto:glennm@ca.ibm.com">Glenn McAllister</a>
    * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
  - * @version $Revision: 1.7 $ $Date: 2002/03/23 03:46:32 $
  + * @version $Revision: 1.8 $ $Date: 2002/03/29 12:57:21 $
    */
   public class Delete
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Delete.class );
   
       private final ArrayList filesets = new ArrayList();
  
  
  
  1.5       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/Mkdir.java
  
  Index: Mkdir.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/Mkdir.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Mkdir.java	23 Mar 2002 03:46:32 -0000	1.4
  +++ Mkdir.java	29 Mar 2002 12:57:21 -0000	1.5
  @@ -19,12 +19,12 @@
    * @ant.task name="mkdir"
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    * @author duncan@x180.com
  - * @version $Revision: 1.4 $ $Date: 2002/03/23 03:46:32 $
  + * @version $Revision: 1.5 $ $Date: 2002/03/29 12:57:21 $
    */
   public class Mkdir
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Mkdir.class );
   
       private File m_dir;
  
  
  
  1.6       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/Touch.java
  
  Index: Touch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/file/Touch.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Touch.java	23 Mar 2002 03:46:32 -0000	1.5
  +++ Touch.java	29 Mar 2002 12:57:21 -0000	1.6
  @@ -32,12 +32,12 @@
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    * @author <a href="mailto:mj@servidium.com">Michael J. Sikorsky</a>
    * @author <a href="mailto:shaw@servidium.com">Robert Shaw</a>
  - * @version $Revision: 1.5 $ $Date: 2002/03/23 03:46:32 $
  + * @version $Revision: 1.6 $ $Date: 2002/03/29 12:57:21 $
    */
   public class Touch
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Touch.class );
   
       private long m_millis = -1;
  
  
  
  1.10      +4 -4      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/dotnet/CSharp.java
  
  Index: CSharp.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/dotnet/CSharp.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CSharp.java	22 Mar 2002 04:12:35 -0000	1.9
  +++ CSharp.java	29 Mar 2002 12:57:21 -0000	1.10
  @@ -100,17 +100,17 @@
        * name of the executable. the .exe suffix is deliberately not included in
        * anticipation of the unix version
        */
  -    private final static String EXE_NAME = "csc";
  +    private static final String EXE_NAME = "csc";
   
       /**
        * what is the file extension we search on?
        */
  -    private final static String FILE_EXT = "cs";
  +    private static final String FILE_EXT = "cs";
   
       /**
        * derive the search pattern from the extension
        */
  -    private final static String FILE_PATTERN = "**/*." + FILE_EXT;
  +    private static final String FILE_PATTERN = "**/*." + FILE_EXT;
   
       /**
        * Fix C# reference inclusion. C# is really dumb in how it handles
  @@ -125,7 +125,7 @@
        * system <i>exactly</i> so may work on a unix box too.
        */
   
  -    private final static String DEFAULT_REFERENCE_LIST =
  +    private static final String DEFAULT_REFERENCE_LIST =
           "Accessibility.dll;" +
           "cscompmgd.dll;" +
           "CustomMarshalers.dll;" +
  
  
  
  1.7       +3 -3      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/dotnet/Ilasm.java
  
  Index: Ilasm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/dotnet/Ilasm.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Ilasm.java	18 Mar 2002 11:49:46 -0000	1.6
  +++ Ilasm.java	29 Mar 2002 12:57:21 -0000	1.7
  @@ -44,17 +44,17 @@
        * name of the executable. the .exe suffix is deliberately not included in
        * anticipation of the unix version
        */
  -    private final static String EXE_NAME = "ilasm";
  +    private static final String EXE_NAME = "ilasm";
   
       /**
        * what is the file extension we search on?
        */
  -    private final static String FILE_EXT = "il";
  +    private static final String FILE_EXT = "il";
   
       /**
        * and now derive the search pattern from the extension
        */
  -    private final static String FILE_PATTERN = "**/*." + FILE_EXT;
  +    private static final String FILE_PATTERN = "**/*." + FILE_EXT;
   
       /**
        * debug flag. Controls generation of debug information.
  
  
  
  1.13      +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/runtime/Facility.java
  
  Index: Facility.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/runtime/Facility.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Facility.java	23 Mar 2002 03:46:32 -0000	1.12
  +++ Facility.java	29 Mar 2002 12:57:21 -0000	1.13
  @@ -27,7 +27,7 @@
       extends AbstractContainerTask
       implements Configurable
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Facility.class );
   
       private String m_namespace;
  
  
  
  1.9       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/runtime/Import.java
  
  Index: Import.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/runtime/Import.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Import.java	23 Mar 2002 03:46:32 -0000	1.8
  +++ Import.java	29 Mar 2002 12:57:21 -0000	1.9
  @@ -25,7 +25,7 @@
   public class Import
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( Import.class );
   
       private File m_lib;
  
  
  
  1.2       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/runtime/TypeAvailableCondition.java
  
  Index: TypeAvailableCondition.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/runtime/TypeAvailableCondition.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TypeAvailableCondition.java	28 Mar 2002 06:35:22 -0000	1.1
  +++ TypeAvailableCondition.java	29 Mar 2002 12:57:21 -0000	1.2
  @@ -22,14 +22,14 @@
    * A condition that evaluates to true if a particular type is available.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.1 $ $Date: 2002/03/28 06:35:22 $
  + * @version $Revision: 1.2 $ $Date: 2002/03/29 12:57:21 $
    *
    * @ant.type type="condition" name="type-available"
    */
   public class TypeAvailableCondition
       implements Condition
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( TypeAvailableCondition.class );
   
       private String m_roleShorthand;
  
  
  
  1.11      +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/nativelib/LoadEnvironment.java
  
  Index: LoadEnvironment.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/nativelib/LoadEnvironment.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- LoadEnvironment.java	23 Mar 2002 03:46:32 -0000	1.10
  +++ LoadEnvironment.java	29 Mar 2002 12:57:21 -0000	1.11
  @@ -27,7 +27,7 @@
   public class LoadEnvironment
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( LoadEnvironment.class );
   
       private String m_prefix;
  
  
  
  1.6       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/sound/SoundTask.java
  
  Index: SoundTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/sound/SoundTask.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SoundTask.java	23 Mar 2002 03:46:33 -0000	1.5
  +++ SoundTask.java	29 Mar 2002 12:57:22 -0000	1.6
  @@ -29,12 +29,12 @@
    * @ant.task name="sound-listener"
    * @author Nick Pellow
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.5 $, $Date: 2002/03/23 03:46:33 $
  + * @version $Revision: 1.6 $, $Date: 2002/03/29 12:57:22 $
    */
   public class SoundTask
       extends AbstractTask
   {
  -    private final static Resources REZ =
  +    private static final Resources REZ =
           ResourceManager.getPackageResources( SoundTask.class );
   
       private BuildAlert m_success;
  
  
  

--
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