avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: avalon-excalibur/store/src/java/org/apache/excalibur/store/impl AbstractFilesystemStore.java
Date Thu, 25 Sep 2003 18:09:48 GMT
cziegeler    2003/09/25 11:09:48

  Modified:    store/src/java/org/apache/excalibur/store/impl
                        AbstractFilesystemStore.java
  Log:
  Removing unused imports and casts
  
  Revision  Changes    Path
  1.13      +4 -4      avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/AbstractFilesystemStore.java
  
  Index: AbstractFilesystemStore.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/AbstractFilesystemStore.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AbstractFilesystemStore.java	27 Aug 2003 11:38:20 -0000	1.12
  +++ AbstractFilesystemStore.java	25 Sep 2003 18:09:48 -0000	1.13
  @@ -356,7 +356,7 @@
       public String getString(final Object key)
       throws IOException 
       {
  -        final File file = (File) this.fileFromKey(key);
  +        final File file = this.fileFromKey(key);
           if (file != null) 
           {
               return this.deserializeString(file);
  @@ -386,7 +386,7 @@
               sync.acquire();
               try 
               {
  -                final File file = (File) this.fileFromKey(key);
  +                final File file = this.fileFromKey(key);
                   if (file != null) {
                       return this.deserializeObject(file);
                   }
  @@ -471,7 +471,7 @@
           final OutputStreamWriter writer = new OutputStreamWriter( buf );
           for (int i = 0; i < s.length(); i++)
           {
  -            int c = (int)s.charAt(i);
  +            int c = s.charAt(i);
               if (charactersDontNeedingEncoding.get(c))
               {
                   out.append((char)c);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message