diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 19:15:08 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 19:15:08 +0000 |
commit | 89889f24945f9585c1ce5a88a9ace26c97a7c28a (patch) | |
tree | d29e917285733d95a5697b6baf0ee5591a66c702 /libjava/javax/print | |
parent | e1feb64f5d324ab5ff0b8e33c910bb73fd2c7ecc (diff) | |
download | gcc-89889f24945f9585c1ce5a88a9ace26c97a7c28a.zip gcc-89889f24945f9585c1ce5a88a9ace26c97a7c28a.tar.gz gcc-89889f24945f9585c1ce5a88a9ace26c97a7c28a.tar.bz2 |
Attribute.java, [...]: Removing redundant modifiers.
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.
From-SVN: r72364
Diffstat (limited to 'libjava/javax/print')
-rw-r--r-- | libjava/javax/print/attribute/Attribute.java | 4 | ||||
-rw-r--r-- | libjava/javax/print/attribute/AttributeSet.java | 26 | ||||
-rw-r--r-- | libjava/javax/print/attribute/PrintRequestAttributeSet.java | 4 |
3 files changed, 17 insertions, 17 deletions
diff --git a/libjava/javax/print/attribute/Attribute.java b/libjava/javax/print/attribute/Attribute.java index babf200..1af7e70 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 325251a..7276f92 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 f8f6dba..8c07a8c 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); } |