summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-01-01 23:42:41 +0000
committerTom Tromey <tromey@redhat.com>2003-01-01 23:42:41 +0000
commit6bf769ae61d0274888ef5b2a33969d8cc62f73a4 (patch)
tree78816dbbb2c71834597e0305e47d72bee373afa4
parent9d5d450bed2881e4cf6f523c7636d0191937789b (diff)
downloadclasspath-6bf769ae61d0274888ef5b2a33969d8cc62f73a4.tar.gz
* java/awt/Transparency.java: Don't mark fields as static or
final. * java/awt/Scrollbar.java: Typo fix. * java/awt/BasicStroke.java: Typo fixes. * java/awt/Adjustable.java: Don't mark fields as static or final.
-rw-r--r--ChangeLog8
-rw-r--r--java/awt/Adjustable.java6
-rw-r--r--java/awt/BasicStroke.java10
-rw-r--r--java/awt/Scrollbar.java4
-rw-r--r--java/awt/Transparency.java6
5 files changed, 21 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index f9f179591..a98e7516c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-01-01 Tom Tromey <tromey@redhat.com>
+
+ * java/awt/Transparency.java: Don't mark fields as static or
+ final.
+ * java/awt/Scrollbar.java: Typo fix.
+ * java/awt/BasicStroke.java: Typo fixes.
+ * java/awt/Adjustable.java: Don't mark fields as static or final.
+
2002-12-31 Tom Tromey <tromey@redhat.com>
* java/util/logging/LogManager.java (readConfiguration): Remove
diff --git a/java/awt/Adjustable.java b/java/awt/Adjustable.java
index e20344277..58116e4e5 100644
--- a/java/awt/Adjustable.java
+++ b/java/awt/Adjustable.java
@@ -51,13 +51,13 @@ import java.awt.event.AdjustmentListener;
public interface Adjustable
{
/** Constant for an adjustable object with horizontal orientation. */
- static final int HORIZONTAL = 0;
+ int HORIZONTAL = 0;
/** Constant for an adjustable object with vertical orientation. */
- static final int VERTICAL = 1;
+ int VERTICAL = 1;
/** Constant for an adjustable object with no orientation. */
- static final int NO_ORIENTATION = 2;
+ int NO_ORIENTATION = 2;
/**
* Returns a constant representing the orientation of the object.
diff --git a/java/awt/BasicStroke.java b/java/awt/BasicStroke.java
index 598c0d430..3d0a2e745 100644
--- a/java/awt/BasicStroke.java
+++ b/java/awt/BasicStroke.java
@@ -1,5 +1,5 @@
/* BasicStroke.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -93,7 +93,7 @@ public class BasicStroke implements Stroke
}
/**
- * Creates a basicc stroke.
+ * Creates a basic stroke.
*
* @param width The width of the BasicStroke. May not be negative .
* @param cap May be either CAP_BUTT, CAP_ROUND or CAP_SQUARE.
@@ -110,7 +110,7 @@ public class BasicStroke implements Stroke
}
/**
- * Creates a basicc stroke.
+ * Creates a basic stroke.
*
* @param width The width of the BasicStroke. May not be nehative.
* @param cap May be either CAP_BUTT, CAP_ROUND or CAP_SQUARE.
@@ -126,7 +126,7 @@ public class BasicStroke implements Stroke
}
/**
- * Creates a basicc stroke.
+ * Creates a basic stroke.
*
* @param width The width of the BasicStroke.
*
@@ -138,7 +138,7 @@ public class BasicStroke implements Stroke
}
/**
- * Creates a basicc stroke.
+ * Creates a basic stroke.
*/
public BasicStroke()
{
diff --git a/java/awt/Scrollbar.java b/java/awt/Scrollbar.java
index b716fa094..db4a3fcd2 100644
--- a/java/awt/Scrollbar.java
+++ b/java/awt/Scrollbar.java
@@ -1,5 +1,5 @@
/* Scrollbar.java -- AWT Scrollbar widget
- Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -125,7 +125,7 @@ private AdjustmentListener adjustment_listeners;
/**
* Initializes a new instance of <code>Scrollbar</code> with a
- * veritical orientation and default values for all other parameters.
+ * vertical orientation and default values for all other parameters.
*
* @exception HeadlessException If GraphicsEnvironment.isHeadless() is true,
*/
diff --git a/java/awt/Transparency.java b/java/awt/Transparency.java
index fefe6d307..fc01f5839 100644
--- a/java/awt/Transparency.java
+++ b/java/awt/Transparency.java
@@ -47,16 +47,16 @@ package java.awt;
public interface Transparency
{
/** Image data which is completely opaque, for an alpha value of 1.0. */
- static final int OPAQUE = 1;
+ int OPAQUE = 1;
/**
* Image data which is either completely opaque or transparent, for an
* exact integer alpha value.
*/
- static final int BITMASK = 2;
+ int BITMASK = 2;
/** Image data which is translucent, for a non-integer alpha value. */
- static final int TRANSLUCENT = 3;
+ int TRANSLUCENT = 3;
/**
* Return the transparency type.