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
This commit is contained in:
parent
e1feb64f5d
commit
89889f2494
4 changed files with 24 additions and 17 deletions
|
@ -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>
|
2003-10-11 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
* javax/sql/ConnectionEventListener.java,
|
* javax/sql/ConnectionEventListener.java,
|
||||||
|
|
|
@ -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
|
||||||
* 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
|
||||||
* 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue