Commit bbe4ef89 by Michael Koch Committed by Michael Koch

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

From-SVN: r75570
parent 90e4e4c5
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):
......
......@@ -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.
......
......@@ -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)
......
......@@ -657,8 +657,6 @@ public class ObjectInputStream extends InputStream
{
ObjectStreamClass osc = lookupClass(clazz);
ObjectStreamClass[] ret_val;
if (osc == null)
return new ObjectStreamClass[0];
else
......
......@@ -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);
}
......@@ -200,7 +200,7 @@ public class LogManager
{
/* FIXME: Is it ok to ignore exceptions here? */
}
};
}
private static LogManager makeLogManager()
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment