Commit 89889f24 by Michael Koch Committed by Michael Koch

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
parent e1feb64f
2003-10-11 Michael Koch <konqueror@gmx.de> 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/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java, javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java, javax/sql/DataSource.java,
......
...@@ -44,7 +44,7 @@ import java.io.Serializable; ...@@ -44,7 +44,7 @@ import java.io.Serializable;
*/ */
public interface Attribute extends Serializable public interface Attribute extends Serializable
{ {
public Class getCategory (); Class getCategory ();
public String getName (); String getName ();
} }
...@@ -46,32 +46,32 @@ public interface AttributeSet ...@@ -46,32 +46,32 @@ public interface AttributeSet
* Adds the specified attribute value to this attribute set * Adds the specified attribute value to this attribute set
* if it is not already present. * 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. * 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 ();
} }
...@@ -46,10 +46,10 @@ public interface PrintRequestAttributeSet extends AttributeSet ...@@ -46,10 +46,10 @@ public interface PrintRequestAttributeSet extends AttributeSet
* Adds the specified attribute value to this attribute set * Adds the specified attribute value to this attribute set
* if it is not already present. * 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. * Adds all of the elements in the specified set to this attribute.
*/ */
public boolean addAll (AttributeSet attributes); boolean addAll (AttributeSet attributes);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment