Attribute.java, [...]: Removing redundant modifiers.
authorMichael Koch <konqueror@gmx.de>
Sat, 11 Oct 2003 19:15:08 +0000 (19:15 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Sat, 11 Oct 2003 19:15:08 +0000 (19:15 +0000)
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

libjava/ChangeLog
libjava/javax/print/attribute/Attribute.java
libjava/javax/print/attribute/AttributeSet.java
libjava/javax/print/attribute/PrintRequestAttributeSet.java

index 1e232cdb69d8b4b354676dd24cafda54ff0d1baf..2bd3eff287348177ff95be3928761f898e47ec61 100644 (file)
@@ -1,3 +1,10 @@
+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,
index babf200651c5e0375352c9704ca474ed9c1bd662..1af7e70fb8aceef6a4187f7d817d4b06a3a0165b 100644 (file)
@@ -44,7 +44,7 @@ import java.io.Serializable;
  */
 public interface Attribute extends Serializable
 {
-  public Class getCategory ();
+  Class getCategory ();
 
-  public String getName ();
+  String getName ();
 }
index 325251a1dd70aa3e7e49aca64ed3b911e28fa9f2..7276f9224450006bb38c5bd3ec55ecccbb428e37 100644 (file)
@@ -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 ();
 }
index f8f6dba2d496080d736031eb68254fa940e6b1ff..8c07a8c0d58b675aff387ef32c94fed3bd6cc240 100644 (file)
@@ -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);
 }