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
This commit is contained in:
parent
7ef0daad61
commit
547f7f8b9d
29 changed files with 213 additions and 176 deletions
|
@ -48,7 +48,7 @@ import java.util.Hashtable;
|
|||
|
||||
public interface DirObjectFactory extends ObjectFactory
|
||||
{
|
||||
public Object getObjectInstance(Object obj, Name name, Context nameCtx,
|
||||
Object getObjectInstance(Object obj, Name name, Context nameCtx,
|
||||
Hashtable environment, Attributes attrs)
|
||||
throws Exception;
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ public interface DirStateFactory extends StateFactory
|
|||
}
|
||||
}
|
||||
|
||||
public DirStateFactory.Result getStateToBind(Object obj, Name name,
|
||||
DirStateFactory.Result getStateToBind(Object obj, Name name,
|
||||
Context nameCtx,
|
||||
Hashtable environment,
|
||||
Attributes inAttrs)
|
||||
|
|
|
@ -44,5 +44,5 @@ import javax.naming.NamingException;
|
|||
|
||||
public interface InitialContextFactory
|
||||
{
|
||||
public Context getInitialContext (Hashtable environment) throws NamingException;
|
||||
Context getInitialContext (Hashtable environment) throws NamingException;
|
||||
}
|
||||
|
|
|
@ -43,5 +43,6 @@ import javax.naming.NamingException;
|
|||
|
||||
public interface InitialContextFactoryBuilder
|
||||
{
|
||||
public InitialContextFactory createInitialContextFactory (Hashtable environment) throws NamingException;
|
||||
InitialContextFactory createInitialContextFactory (Hashtable environment)
|
||||
throws NamingException;
|
||||
}
|
||||
|
|
|
@ -39,13 +39,12 @@ exception statement from your version. */
|
|||
package javax.naming.spi;
|
||||
|
||||
import java.util.Hashtable;
|
||||
import javax.naming.*;
|
||||
import javax.naming.Context;
|
||||
import javax.naming.Name;
|
||||
|
||||
public interface ObjectFactory
|
||||
{
|
||||
public Object getObjectInstance (Object obj,
|
||||
Name name,
|
||||
Context nameCtx,
|
||||
Hashtable environment)
|
||||
throws Exception;
|
||||
Object getObjectInstance (Object obj, Name name, Context nameCtx,
|
||||
Hashtable environment)
|
||||
throws Exception;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ import java.util.Hashtable;
|
|||
|
||||
public interface ObjectFactoryBuilder
|
||||
{
|
||||
public ObjectFactory createObjectFactory(Object obj,
|
||||
ObjectFactory createObjectFactory(Object obj,
|
||||
Hashtable environment)
|
||||
throws NamingException;
|
||||
}
|
||||
|
|
|
@ -46,8 +46,8 @@ import javax.naming.*;
|
|||
|
||||
public interface Resolver
|
||||
{
|
||||
public ResolveResult resolveToClass(Name name, Class contextType)
|
||||
ResolveResult resolveToClass(Name name, Class contextType)
|
||||
throws NamingException;
|
||||
public ResolveResult resolveToClass(String name, Class contextType)
|
||||
ResolveResult resolveToClass(String name, Class contextType)
|
||||
throws NamingException;
|
||||
}
|
||||
|
|
|
@ -47,6 +47,6 @@ import java.util.Hashtable;
|
|||
|
||||
public interface StateFactory
|
||||
{
|
||||
public Object getStateToBind(Object obj, Name name, Context nameCtx,
|
||||
Object getStateToBind(Object obj, Name name, Context nameCtx,
|
||||
Hashtable environment) throws NamingException;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue