+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):
* 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
* = 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
* = 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.
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)
{
ObjectStreamClass osc = lookupClass(clazz);
- ObjectStreamClass[] ret_val;
-
if (osc == null)
return new ObjectStreamClass[0];
else
* @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);
}
{
/* FIXME: Is it ok to ignore exceptions here? */
}
- };
+ }
private static LogManager makeLogManager()
long millis = record.getMillis();
Object[] params = record.getParameters();
ResourceBundle bundle = record.getResourceBundle();
- String key, message;
+ String message;
buf.append("<record>");
buf.append(lineSep);