]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2004-01-09 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Fri, 9 Jan 2004 08:58:59 +0000 (08:58 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Fri, 9 Jan 2004 08:58:59 +0000 (08:58 +0000)
* java/awt/geom/PathIterator.java
(WIND_EVEN_ODD): Removed redundant modifiers.
(WIND_NON_ZERO): Likewise.
(SEG_MOVETO): Likewise.
(SEG_LINETO): Likewise.
(SEG_QUADTO): Likewise.
(SEG_CUBICTO): Likewise.
(SEG_CLOSE): Likewise.
* java/awt/image/SinglePixelPackedSampleModel.java:
Removed redundant semicolon.
* java/io/ObjectInputStream.java
(inputGetObjectStreamClasses): Removed unused variable "ret_val".
* java/util/logging/Filter.java
(isLoggable): Removed redundant modifier.
* java/util/logging/LogManager.java:
Removed redundant semicolon.
* java/util/logging/XMLFormatter.java
(format): Removed unused variable "key".

From-SVN: r75570

libjava/ChangeLog
libjava/java/awt/geom/PathIterator.java
libjava/java/awt/image/SinglePixelPackedSampleModel.java
libjava/java/io/ObjectInputStream.java
libjava/java/util/logging/Filter.java
libjava/java/util/logging/LogManager.java
libjava/java/util/logging/XMLFormatter.java

index 943473419263079e8b07c500117eb9c9a3c2b079..67f280367a137126d984ac2f7635c7c948b029de 100644 (file)
@@ -1,3 +1,24 @@
+2004-01-09  Michael Koch  <konqueror@gmx.de>
+
+       * java/awt/geom/PathIterator.java
+       (WIND_EVEN_ODD): Removed redundant modifiers.
+       (WIND_NON_ZERO): Likewise.
+       (SEG_MOVETO): Likewise.
+       (SEG_LINETO): Likewise.
+       (SEG_QUADTO): Likewise.
+       (SEG_CUBICTO): Likewise.
+       (SEG_CLOSE): Likewise.
+       * java/awt/image/SinglePixelPackedSampleModel.java:
+       Removed redundant semicolon.
+       * java/io/ObjectInputStream.java
+       (inputGetObjectStreamClasses): Removed unused variable "ret_val".
+       * java/util/logging/Filter.java
+       (isLoggable): Removed redundant modifier.
+       * java/util/logging/LogManager.java:
+       Removed redundant semicolon.
+       * java/util/logging/XMLFormatter.java
+       (format): Removed unused variable "key".
+
 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
 
        * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
index 1d47431c30dd48aace1e87e39efd80d71715318b..1fb0a46e0ff66aa55a854fbe663accac2628c8cc 100644 (file)
@@ -59,24 +59,24 @@ public interface PathIterator
    * from the point to infinity (in any direction) crosses an odd number of
    * segments.
    */
-  static final int WIND_EVEN_ODD = 0;
+  int WIND_EVEN_ODD = 0;
 
   /**
    * The non-zero winding mode: a point is internal to the shape if a ray
    * from the point to infinity (in any direction) crosses a different number
    * of segments headed clockwise than those headed counterclockwise.
    */
-  static final int WIND_NON_ZERO = 1;
+  int WIND_NON_ZERO = 1;
 
   /**
    * Starts a new subpath. There is no segment from the previous vertex.
    */
-  static final int SEG_MOVETO = 0;
+  int SEG_MOVETO = 0;
 
   /**
    * The current segment is a line.
    */
-  static final int SEG_LINETO = 1;
+  int SEG_LINETO = 1;
 
   /**
    * The current segment is a quadratic parametric curve. It is interpolated
@@ -91,7 +91,7 @@ public interface PathIterator
    *         = n! / (m! * (n-m)!)
    * </pre>
    */
-  static final int SEG_QUADTO = 2;
+  int SEG_QUADTO = 2;
 
   /**
    * The current segment is a cubic parametric curve (more commonly known as
@@ -107,13 +107,13 @@ public interface PathIterator
    *         = n! / (m! * (n-m)!)
    * </pre>
    */
-  static final int SEG_CUBICTO = 3;
+  int SEG_CUBICTO = 3;
 
   /**
    * The current segment closes a loop by an implicit line to the previous
    * SEG_MOVETO coordinate.
    */
-  static final int SEG_CLOSE = 4;
+  int SEG_CLOSE = 4;
 
   /**
    * Returns the winding rule to determine which points are inside this path.
index e67353c46151fa4869ed20a4e6342c2b6b448f55..3affe055411eefdff1c055579ad5a1f952de276d 100644 (file)
@@ -47,7 +47,7 @@ public class SinglePixelPackedSampleModel extends SampleModel
   private int scanlineStride;
   private int[] bitMasks;
   private int[] bitOffsets;
-  private int[] sampleSize;;
+  private int[] sampleSize;
   
   public SinglePixelPackedSampleModel(int dataType, int w, int h,
                                      int[] bitMasks)
index c2ddbe077c63a24fbde54f67e9969d793e875b45..a277691e9761b351543597cbde465cb08dca6712 100644 (file)
@@ -657,8 +657,6 @@ public class ObjectInputStream extends InputStream
   {
     ObjectStreamClass osc = lookupClass(clazz);
 
-    ObjectStreamClass[] ret_val;
-
     if (osc == null)
       return new ObjectStreamClass[0];
     else
index a25fd3d3814bdeaf2b2599d7604de1752c6bc1c9..fc46d0992db0973ee70bba5941df710e59281f55 100644 (file)
@@ -64,5 +64,5 @@ public interface Filter
    * @return <code>true</code> if the record should be published,
    *         <code>false</code> if it should be discarded.
    */
-  public boolean isLoggable(LogRecord record);
+  boolean isLoggable(LogRecord record);
 }
index 83379bb4942786f6727b8a6c319d5e7bcd73d88f..36216bc408bd1ccdaab6e73a679aef23a1b0804e 100644 (file)
@@ -200,7 +200,7 @@ public class LogManager
     {
       /* FIXME: Is it ok to ignore exceptions here? */
     }
-  };
+  }
   
 
   private static LogManager makeLogManager()
index fbaab1cde3fb6bdfea560a13459140ccd77954a1..2de6c73c8b0a00efd2833c3c263987481183e638 100644 (file)
@@ -195,7 +195,7 @@ public class XMLFormatter
     long            millis = record.getMillis();
     Object[]        params = record.getParameters();
     ResourceBundle  bundle = record.getResourceBundle();
-    String          key, message;
+    String          message;
     
     buf.append("<record>");
     buf.append(lineSep);