This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: Removing redundant modifiers (Part 18)
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Sat, 11 Oct 2003 21:19:42 +0200
- Subject: FYI: Patch: Removing redundant modifiers (Part 18)
Hi list,
MODIFIERS.
Michael
Index: javax/print/attribute/Attribute.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/print/attribute/Attribute.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 Attribute.java
--- javax/print/attribute/Attribute.java 17 Mar 2003 09:13:15 -0000 1.1
+++ javax/print/attribute/Attribute.java 11 Oct 2003 19:14:55 -0000
@@ -44,7 +44,7 @@
*/
public interface Attribute extends Serializable
{
- public Class getCategory ();
+ Class getCategory ();
- public String getName ();
+ String getName ();
}
Index: javax/print/attribute/AttributeSet.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/print/attribute/AttributeSet.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 AttributeSet.java
--- javax/print/attribute/AttributeSet.java 17 Mar 2003 09:13:15 -0000 1.1
+++ javax/print/attribute/AttributeSet.java 11 Oct 2003 19:14:55 -0000
@@ -46,32 +46,32 @@
* 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: javax/print/attribute/PrintRequestAttributeSet.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/print/attribute/PrintRequestAttributeSet.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 PrintRequestAttributeSet.java
--- javax/print/attribute/PrintRequestAttributeSet.java 17 Mar 2003 09:13:15 -0000 1.1
+++ javax/print/attribute/PrintRequestAttributeSet.java 11 Oct 2003 19:14:55 -0000
@@ -46,10 +46,10 @@
* 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);
}