diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 19:15:08 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-11 19:15:08 +0000 |
commit | e0e09b3d10b16139db14052ac534590780519bc0 (patch) | |
tree | d29e917285733d95a5697b6baf0ee5591a66c702 | |
parent | e041160fecb66a00d946f97957795c213ef11cff (diff) | |
download | gcc-e0e09b3d10b16139db14052ac534590780519bc0.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72364 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-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 |
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); } |