summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjava/ChangeLog7
-rw-r--r--libjava/javax/print/attribute/Attribute.java4
-rw-r--r--libjava/javax/print/attribute/AttributeSet.java26
-rw-r--r--libjava/javax/print/attribute/PrintRequestAttributeSet.java4
4 files changed, 24 insertions, 17 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 1e232cdb69d..2bd3eff2873 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,12 @@
2003-10-11 Michael Koch <konqueror@gmx.de>
+ * javax/print/attribute/Attribute.java,
+ javax/print/attribute/AttributeSet.java,
+ javax/print/attribute/PrintRequestAttributeSet.java:
+ Removing redundant modifiers.
+
+2003-10-11 Michael Koch <konqueror@gmx.de>
+
* javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java,
diff --git a/libjava/javax/print/attribute/Attribute.java b/libjava/javax/print/attribute/Attribute.java
index babf200651c..1af7e70fb8a 100644
--- a/libjava/javax/print/attribute/Attribute.java
+++ b/libjava/javax/print/attribute/Attribute.java
@@ -44,7 +44,7 @@ import java.io.Serializable;
*/
public interface Attribute extends Serializable
{
- public Class getCategory ();
+ Class getCategory ();
- public String getName ();
+ String getName ();
}
diff --git a/libjava/javax/print/attribute/AttributeSet.java b/libjava/javax/print/attribute/AttributeSet.java
index 325251a1dd7..7276f922445 100644
--- a/libjava/javax/print/attribute/AttributeSet.java
+++ b/libjava/javax/print/attribute/AttributeSet.java
@@ -46,32 +46,32 @@ public interface AttributeSet
* Adds the specified attribute value to this attribute set
* if it is not already present.
*/
- public boolean add (Attribute attribute);
+ boolean add (Attribute attribute);
/**
* Adds all of the elements in the specified set to this attribute.
*/
- public boolean addAll (AttributeSet attributes);
+ boolean addAll (AttributeSet attributes);
- public void clear ();
+ void clear ();
- public boolean containsKey (Class category);
+ boolean containsKey (Class category);
- public boolean containsValue (Attribute attribute);
+ boolean containsValue (Attribute attribute);
- public boolean equals (Object obj);
+ boolean equals (Object obj);
- public Attribute get (Class Category);
+ Attribute get (Class Category);
- public int hashCode ();
+ int hashCode ();
- public boolean isEmpty ();
+ boolean isEmpty ();
- public boolean remove (Attribute attribute);
+ boolean remove (Attribute attribute);
- public boolean remove (Class category);
+ boolean remove (Class category);
- public int size ();
+ int size ();
- public Attribute[] toArray ();
+ Attribute[] toArray ();
}
diff --git a/libjava/javax/print/attribute/PrintRequestAttributeSet.java b/libjava/javax/print/attribute/PrintRequestAttributeSet.java
index f8f6dba2d49..8c07a8c0d58 100644
--- a/libjava/javax/print/attribute/PrintRequestAttributeSet.java
+++ b/libjava/javax/print/attribute/PrintRequestAttributeSet.java
@@ -46,10 +46,10 @@ public interface PrintRequestAttributeSet extends AttributeSet
* Adds the specified attribute value to this attribute set
* if it is not already present.
*/
- public boolean add (Attribute attribute);
+ boolean add (Attribute attribute);
/**
* Adds all of the elements in the specified set to this attribute.
*/
- public boolean addAll (AttributeSet attributes);
+ boolean addAll (AttributeSet attributes);
}