pbwest      2004/01/04 20:03:30

  Modified:    src/java/org/apache/fop/fo/properties Tag:
                        FOP_0-20-0_Alt-Design RenderingIntent.java
                        FontFamily.java Clear.java
  Log:
  Removed redundant casts.
  Flagged by Eclipse.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.3   +3 -3      
xml-fop/src/java/org/apache/fop/fo/properties/Attic/RenderingIntent.java
  
  Index: RenderingIntent.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/fo/properties/Attic/RenderingIntent.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- RenderingIntent.java      3 Jan 2004 10:48:34 -0000       1.1.2.2
  +++ RenderingIntent.java      5 Jan 2004 04:03:30 -0000       1.1.2.3
  @@ -97,8 +97,8 @@
       static {
           rwEnumHash = new HashMap((int)(rwEnums.length / 0.75) + 1);
           for (int i = 1; i < rwEnums.length; i++ ) {
  -            rwEnumHash.put((Object)rwEnums[i],
  -                                (Object) Ints.consts.get(i));
  +            rwEnumHash.put(rwEnums[i],
  +                                Ints.consts.get(i));
           }
       }
       public int getEnumIndex(String enum)
  
  
  
  1.1.2.3   +3 -3      
xml-fop/src/java/org/apache/fop/fo/properties/Attic/FontFamily.java
  
  Index: FontFamily.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/fo/properties/Attic/FontFamily.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- FontFamily.java   3 Jan 2004 10:48:35 -0000       1.1.2.2
  +++ FontFamily.java   5 Jan 2004 04:03:30 -0000       1.1.2.3
  @@ -106,8 +106,8 @@
       static {
           rwEnumHash = new HashMap((int)(rwEnums.length / 0.75) + 1);
           for (int i = 1; i < rwEnums.length; i++ ) {
  -            rwEnumHash.put((Object)rwEnums[i],
  -                                (Object) Ints.consts.get(i));
  +            rwEnumHash.put(rwEnums[i],
  +                                Ints.consts.get(i));
           }
       }
   
  
  
  
  1.1.2.3   +3 -3      xml-fop/src/java/org/apache/fop/fo/properties/Attic/Clear.java
  
  Index: Clear.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/properties/Attic/Clear.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- Clear.java        3 Jan 2004 10:48:34 -0000       1.1.2.2
  +++ Clear.java        5 Jan 2004 04:03:30 -0000       1.1.2.3
  @@ -101,8 +101,8 @@
       static {
           rwEnumHash = new HashMap((int)(rwEnums.length / 0.75) + 1);
           for (int i = 1; i < rwEnums.length; i++ ) {
  -            rwEnumHash.put((Object)rwEnums[i],
  -                                (Object) Ints.consts.get(i));
  +            rwEnumHash.put(rwEnums[i],
  +                                Ints.consts.get(i));
           }
       }
       public int getEnumIndex(String enum)
  
  
  

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

Reply via email to