diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 19:06:23 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 19:06:23 +0000 |
commit | 547f7f8b9d220841cdd48fe4d09ca6c3add17faf (patch) | |
tree | dfc31bec41ff38fa6478e0716f104c6f8d4b5405 /libjava/javax/naming/Name.java | |
parent | 7ef0daad61a23ce02d461cac50b9eb1a67ef80dd (diff) | |
download | gcc-547f7f8b9d220841cdd48fe4d09ca6c3add17faf.zip gcc-547f7f8b9d220841cdd48fe4d09ca6c3add17faf.tar.gz gcc-547f7f8b9d220841cdd48fe4d09ca6c3add17faf.tar.bz2 |
Context.java, [...]: Removing redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/naming/Context.java,
javax/naming/Name.java,
javax/naming/NameParser.java,
javax/naming/NamingEnumeration.java,
javax/naming/Referenceable.java,
javax/naming/directory/Attribute.java,
javax/naming/directory/Attributes.java,
javax/naming/directory/DirContext.java,
javax/naming/event/EventContext.java,
javax/naming/event/EventDirContext.java,
javax/naming/event/NamespaceChangeListener.java,
javax/naming/event/NamingListener.java,
javax/naming/event/ObjectChangeListener.java,
javax/naming/ldap/Control.java,
javax/naming/ldap/ExtendedRequest.java,
javax/naming/ldap/ExtendedResponse.java,
javax/naming/ldap/HasControls.java,
javax/naming/ldap/LdapContext.java,
javax/naming/ldap/UnsolicitedNotification.java,
javax/naming/ldap/UnsolicitedNotificationListener.java,
javax/naming/spi/DirObjectFactory.java,
javax/naming/spi/DirStateFactory.java,
javax/naming/spi/InitialContextFactory.java,
javax/naming/spi/InitialContextFactoryBuilder.java,
javax/naming/spi/ObjectFactory.java,
javax/naming/spi/ObjectFactoryBuilder.java,
javax/naming/spi/Resolver.java,
javax/naming/spi/StateFactory.java:
Removing redundant modifiers.
From-SVN: r72362
Diffstat (limited to 'libjava/javax/naming/Name.java')
-rw-r--r-- | libjava/javax/naming/Name.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libjava/javax/naming/Name.java b/libjava/javax/naming/Name.java index 4a10f32..f2dc17f 100644 --- a/libjava/javax/naming/Name.java +++ b/libjava/javax/naming/Name.java @@ -62,25 +62,25 @@ import java.io.Serializable; */ public interface Name extends Cloneable, Serializable { - static final long serialVersionUID = -3617482732056931635L; + long serialVersionUID = -3617482732056931635L; /** * Returns the number of components of this <code>Name</code>. * The returned number can be zero. */ - public int size(); + int size(); /** * Returns <code>true</code> if the number of components of this * <code>Name</code> is zero, <code>false</code> otherwise. */ - public boolean isEmpty(); + boolean isEmpty(); /** * Returns a non-null (but possibly empty) <code>Enumeration</code> of the * components of the <code>Name</code> as <code>String</code>s. */ - public Enumeration getAll(); + Enumeration getAll(); /** * Gets the component at the given index. @@ -88,7 +88,7 @@ public interface Name extends Cloneable, Serializable * @exception ArrayIndexOutOfBoundsException if the given index is smaller * then zero or greater then or equal to <code>size()</code>. */ - public String get(int i); + String get(int i); /** * Returns the components till the given index as a <code>Name</code>. @@ -98,7 +98,7 @@ public interface Name extends Cloneable, Serializable * @exception ArrayIndexOutOfBoundsException if the given index is smaller * then zero or greater then or equal to <code>size()</code>. */ - public Name getPrefix(int i); + Name getPrefix(int i); /** * Returns the components from the given index till the end as a @@ -109,7 +109,7 @@ public interface Name extends Cloneable, Serializable * @exception ArrayIndexOutOfBoundsException if the given index is smaller * then zero or greater then or equal to <code>size()</code>. */ - public Name getSuffix(int i); + Name getSuffix(int i); /** * Adds the given <code>String</code> component to the end of this @@ -119,7 +119,7 @@ public interface Name extends Cloneable, Serializable * @exception InvalidNameException if the given <code>String</code> is not a * valid component for this <code>Name</code>. */ - public Name add(String comp) throws InvalidNameException; + Name add(String comp) throws InvalidNameException; /** * Inserts the given <code>String</code> component to this <code>Name</code> @@ -131,7 +131,7 @@ public interface Name extends Cloneable, Serializable * @exception InvalidNameException if the given <code>String</code> is not a * valid component for this <code>Name</code>. */ - public Name add(int posn, String comp) throws InvalidNameException; + Name add(int posn, String comp) throws InvalidNameException; /** * Adds all the components of the given <code>Name</code> to the end of this @@ -141,7 +141,7 @@ public interface Name extends Cloneable, Serializable * @exception InvalidNameException if any of the given components is not a * valid component for this <code>Name</code>. */ - public Name addAll(Name suffix) throws InvalidNameException; + Name addAll(Name suffix) throws InvalidNameException; /** * Inserts all the components of the given <code>Name</code> to this @@ -153,7 +153,7 @@ public interface Name extends Cloneable, Serializable * @exception InvalidNameException if any of the given components is not a * valid component for this <code>Name</code>. */ - public Name addAll(int posn, Name n) throws InvalidNameException; + Name addAll(int posn, Name n) throws InvalidNameException; /** * Removes the component at the given index from this <code>Name</code>. @@ -162,19 +162,19 @@ public interface Name extends Cloneable, Serializable * @exception InvalidNameException if the given <code>String</code> is not a * valid component for this <code>Name</code>. */ - public Object remove(int posn) throws InvalidNameException; + Object remove(int posn) throws InvalidNameException; /** * Returns <code>true</code> if this <code>Name</code> starts with the * components of the given <code>Name</code>, <code>false</code> otherwise. */ - public boolean startsWith(Name name); + boolean startsWith(Name name); /** * Returns <code>true</code> if this <code>Name</code> ends with the * components of the given <code>Name</code>, <code>false</code> otherwise. */ - public boolean endsWith(Name name); + boolean endsWith(Name name); /** * Compares the given object to this <code>Name</code>. @@ -187,12 +187,12 @@ public interface Name extends Cloneable, Serializable * be compared. The definition of smaller, bigger and equal is up to the * actual implementing class. */ - public int compareTo(Object obj); + int compareTo(Object obj); /** * Returns a clone of this <code>Name</code>. It will be a deep copy of * all the components of the <code>Name</code> so that changes to components * of the components does not change the component in this <code>Name</code>. */ - public Object clone(); + Object clone(); } |