You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2015/08/06 18:45:21 UTC
svn commit: r1694538 [1/3] - in /directory/studio/trunk/plugins:
connection.core/src/main/java/org/apache/directory/studio/connection/core/
connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/
ldapbrowser.common/src/main/java...
Author: elecharny
Date: Thu Aug 6 16:45:20 2015
New Revision: 1694538
URL: http://svn.apache.org/r1694538
Log:
Fixed public/static/final mis-usage
Modified:
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IAuthHandler.java
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IConnectionListener.java
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/ICredentials.java
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IJndiLogger.java
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IReferralHandler.java
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionBulkRunnableWithProgress.java
directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionRunnableWithProgress.java
directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/proxy/ActionHandlerManager.java
directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/valueeditors/IValueEditor.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateListener.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateListener.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateListener.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DirectoryTypeDetector.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IAttribute.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBookmark.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IContinuation.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IEntry.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IQuickSearch.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IRootDSE.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearch.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearchResult.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IValue.java
directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/SchemaObjectLoader.java
directory/studio/trunk/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/entryeditors/IEntryEditor.java
directory/studio/trunk/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/connection/ConnectionViewActionGroup.java
directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServerAdapter.java
directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServerAdapterConfigurationPage.java
directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServerAdapterConfigurationPageModifyListener.java
directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/model/LdapServerListener.java
directory/studio/trunk/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/ILdifEditor.java
directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/model/LdifEOFPart.java
directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/model/LdifEnumeration.java
directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/model/LdifInvalidPart.java
directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/model/LdifPart.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/OpenLdapConfigurationPluginConstants.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/ServerConfigurationInput.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabaseSpecificDetailsBlock.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/messages.properties
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/dialogs/OverlayDialogConfigurationBlock.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/overlays/ModuleWrapperViewerSorter.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/DatabaseWrapperViewerSorter.java
directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitWrapper.java
directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/ProjectsHandlerListener.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaHandlerListener.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/difference/Difference.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/difference/PropertyDifference.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/OpenLdapSchemaFileImporter.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/SchemaConnector.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/io/XMLSchemaFileImporter.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemachecker/SchemaCheckerListener.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemachecker/SchemaWarning.java
directory/studio/trunk/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/TreeNode.java
directory/studio/trunk/plugins/templateeditor/src/main/java/org/apache/directory/studio/templateeditor/EntryTemplatePluginConstants.java
directory/studio/trunk/plugins/templateeditor/src/main/java/org/apache/directory/studio/templateeditor/TemplatesManagerListener.java
directory/studio/trunk/plugins/templateeditor/src/main/java/org/apache/directory/studio/templateeditor/actions/SwitchTemplateListener.java
directory/studio/trunk/plugins/templateeditor/src/main/java/org/apache/directory/studio/templateeditor/model/AbstractTemplate.java
directory/studio/trunk/plugins/templateeditor/src/main/java/org/apache/directory/studio/templateeditor/model/Template.java
directory/studio/trunk/plugins/templateeditor/src/main/java/org/apache/directory/studio/templateeditor/model/widgets/TemplateWidget.java
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IAuthHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IAuthHandler.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IAuthHandler.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IAuthHandler.java Thu Aug 6 16:45:20 2015
@@ -29,7 +29,6 @@ package org.apache.directory.studio.conn
*/
public interface IAuthHandler
{
-
/**
* Gets credentials from this authentication handler.
* The credentials are used to bind to the given connection.
@@ -38,6 +37,5 @@ public interface IAuthHandler
* @param connectionParameter the connection to bind to
* @return the credentials, null to cancel the authentication
*/
- public ICredentials getCredentials( ConnectionParameter connectionParameter );
-
+ ICredentials getCredentials( ConnectionParameter connectionParameter );
}
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IConnectionListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IConnectionListener.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IConnectionListener.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IConnectionListener.java Thu Aug 6 16:45:20 2015
@@ -33,14 +33,13 @@ import org.apache.directory.studio.commo
*/
public interface IConnectionListener
{
-
/**
* Called when an {@link Connection} was opened.
*
* @param connection the opened connection
* @param monitor the progress monitor
*/
- public void connectionOpened( Connection connection, StudioProgressMonitor monitor );
+ void connectionOpened( Connection connection, StudioProgressMonitor monitor );
/**
@@ -49,5 +48,5 @@ public interface IConnectionListener
* @param connection the closed connection
* @param monitor the progress monitor
*/
- public void connectionClosed( Connection connection, StudioProgressMonitor monitor );
+ void connectionClosed( Connection connection, StudioProgressMonitor monitor );
}
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/ICredentials.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/ICredentials.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/ICredentials.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/ICredentials.java Thu Aug 6 16:45:20 2015
@@ -28,13 +28,12 @@ package org.apache.directory.studio.conn
*/
public interface ICredentials
{
-
/**
* Gets the connection parameter.
*
* @return the connection parameter
*/
- public ConnectionParameter getConnectionParameter();
+ ConnectionParameter getConnectionParameter();
/**
@@ -42,7 +41,7 @@ public interface ICredentials
*
* @return the bind principal
*/
- public String getBindPrincipal();
+ String getBindPrincipal();
/**
@@ -50,6 +49,5 @@ public interface ICredentials
*
* @return the bind password
*/
- public String getBindPassword();
-
+ String getBindPassword();
}
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IJndiLogger.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IJndiLogger.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IJndiLogger.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IJndiLogger.java Thu Aug 6 16:45:20 2015
@@ -49,7 +49,7 @@ public interface IJndiLogger
* @param controls the controls
* @param ex the naming exception if an error occurred, null otherwise
*/
- public void logChangetypeAdd( Connection connection, final String dn, final Attributes attributes,
+ void logChangetypeAdd( Connection connection, final String dn, final Attributes attributes,
final Control[] controls, NamingException ex );
@@ -62,7 +62,7 @@ public interface IJndiLogger
* @param ex the naming exception if an error occurred, null otherwise
*
*/
- public void logChangetypeDelete( Connection connection, final String dn, final Control[] controls,
+ void logChangetypeDelete( Connection connection, final String dn, final Control[] controls,
NamingException ex );
@@ -75,7 +75,7 @@ public interface IJndiLogger
* @param ex the naming exception if an error occurred, null otherwise
* @param controls the controls
*/
- public void logChangetypeModify( Connection connection, final String dn,
+ void logChangetypeModify( Connection connection, final String dn,
final ModificationItem[] modificationItems, final Control[] controls, NamingException ex );
@@ -89,7 +89,7 @@ public interface IJndiLogger
* @param controls the controls
* @param ex the naming exception if an error occurred, null otherwise
*/
- public void logChangetypeModDn( Connection connection, final String oldDn, final String newDn,
+ void logChangetypeModDn( Connection connection, final String oldDn, final String newDn,
final boolean deleteOldRdn, final Control[] controls, NamingException ex );
@@ -98,7 +98,7 @@ public interface IJndiLogger
*
* @param id the new logger ID
*/
- public void setId( String id );
+ void setId( String id );
/**
@@ -106,7 +106,7 @@ public interface IJndiLogger
*
* @return the logger ID
*/
- public String getId();
+ String getId();
/**
@@ -114,7 +114,7 @@ public interface IJndiLogger
*
* @param name the new logger name
*/
- public void setName( String name );
+ void setName( String name );
/**
@@ -122,7 +122,7 @@ public interface IJndiLogger
*
* @return the logger name
*/
- public String getName();
+ String getName();
/**
@@ -130,7 +130,7 @@ public interface IJndiLogger
*
* @param description the new logger description
*/
- public void setDescription( String description );
+ void setDescription( String description );
/**
@@ -138,7 +138,7 @@ public interface IJndiLogger
*
* @return the logger description
*/
- public String getDescription();
+ String getDescription();
/**
@@ -153,7 +153,7 @@ public interface IJndiLogger
* @param requestNum the request number
* @param namingException the naming exception if an error occurred, null otherwise
*/
- public void logSearchRequest( Connection connection, String searchBase, String filter,
+ void logSearchRequest( Connection connection, String searchBase, String filter,
SearchControls searchControls, AliasDereferencingMethod aliasesDereferencingMethod, Control[] controls,
long requestNum, NamingException namingException );
@@ -166,7 +166,7 @@ public interface IJndiLogger
* @param requestNum the request number
* @param the naming exception if an error occurred, null otherwise
*/
- public void logSearchResultEntry( Connection connection, StudioSearchResult studioSearchResult, long requestNum,
+ void logSearchResultEntry( Connection connection, StudioSearchResult studioSearchResult, long requestNum,
NamingException namingException );
@@ -179,7 +179,7 @@ public interface IJndiLogger
* @param requestNum the request number
* @param the naming exception if an error occurred, null otherwise
*/
- public void logSearchResultReference( Connection connection, Referral referral,
+ void logSearchResultReference( Connection connection, Referral referral,
ReferralsInfo referralsInfo, long requestNum, NamingException namingException );
@@ -191,6 +191,6 @@ public interface IJndiLogger
* @param requestNum the request number
* @param the naming exception if an error occurred, null otherwise
*/
- public void logSearchResultDone( Connection connection, long count, long requestNum, NamingException namingException );
+ void logSearchResultDone( Connection connection, long count, long requestNum, NamingException namingException );
}
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IReferralHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IReferralHandler.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IReferralHandler.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/IReferralHandler.java Thu Aug 6 16:45:20 2015
@@ -32,7 +32,6 @@ import java.util.List;
*/
public interface IReferralHandler
{
-
/**
* Gets the connection from this referral handler.
* The connection is used to continue a LDAP request.
@@ -42,6 +41,5 @@ public interface IReferralHandler
* @param referralURLs the referral URLs
* @return the target connection, null to cancel referral chasing
*/
- public Connection getReferralConnection( List<String> referralUrls );
-
+ Connection getReferralConnection( List<String> referralUrls );
}
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionBulkRunnableWithProgress.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionBulkRunnableWithProgress.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionBulkRunnableWithProgress.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionBulkRunnableWithProgress.java Thu Aug 6 16:45:20 2015
@@ -38,5 +38,5 @@ public interface StudioConnectionBulkRun
*
* @param monitor the monitor
*/
- public void runNotification( StudioProgressMonitor monitor );
+ void runNotification( StudioProgressMonitor monitor );
}
Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionRunnableWithProgress.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionRunnableWithProgress.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionRunnableWithProgress.java (original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/jobs/StudioConnectionRunnableWithProgress.java Thu Aug 6 16:45:20 2015
@@ -37,5 +37,5 @@ public interface StudioConnectionRunnabl
*
* @return the connections, null if none
*/
- public Connection[] getConnections();
+ Connection[] getConnections();
}
Modified: directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/proxy/ActionHandlerManager.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/proxy/ActionHandlerManager.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/proxy/ActionHandlerManager.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/proxy/ActionHandlerManager.java Thu Aug 6 16:45:20 2015
@@ -27,16 +27,14 @@ package org.apache.directory.studio.ldap
*/
public interface ActionHandlerManager
{
-
/**
* Deactivates global action handlers.
*/
- public void deactivateGlobalActionHandlers();
+ void deactivateGlobalActionHandlers();
/**
* Activates global action handlers.
*/
- public void activateGlobalActionHandlers();
-
+ void activateGlobalActionHandlers();
}
Modified: directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/valueeditors/IValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/valueeditors/IValueEditor.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/valueeditors/IValueEditor.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/valueeditors/IValueEditor.java Thu Aug 6 16:45:20 2015
@@ -49,7 +49,7 @@ public interface IValueEditor
* @param attributeHierarchy the attribute hierarchy
* @return the string representation of the attribute hierarchy
*/
- public abstract String getDisplayValue( AttributeHierarchy attributeHierarchy );
+ String getDisplayValue( AttributeHierarchy attributeHierarchy );
/**
@@ -61,7 +61,7 @@ public interface IValueEditor
* @param value the value
* @return the string representation of the value
*/
- public abstract String getDisplayValue( IValue value );
+ String getDisplayValue( IValue value );
/**
@@ -82,7 +82,7 @@ public interface IValueEditor
* @param attributeHierarchy the attribute hierarchy
* @return the raw value of the attribute hierarchy or null
*/
- public abstract Object getRawValue( AttributeHierarchy attributeHierarchy );
+ Object getRawValue( AttributeHierarchy attributeHierarchy );
@@ -110,7 +110,7 @@ public interface IValueEditor
* @param value the value
* @return the raw value of the value or null
*/
- public abstract Object getRawValue( IValue value );
+ Object getRawValue( IValue value );
/**
@@ -124,7 +124,7 @@ public interface IValueEditor
* @param rawValue the raw value return from cell editor
* @return the String or byte[] value
*/
- public abstract Object getStringOrBinaryValue( Object rawValue );
+ Object getStringOrBinaryValue( Object rawValue );
/**
@@ -133,7 +133,7 @@ public interface IValueEditor
*
* @return the editors name
*/
- public abstract String getValueEditorName();
+ String getValueEditorName();
/**
@@ -145,7 +145,7 @@ public interface IValueEditor
*
* @param name the editors name
*/
- public abstract void setValueEditorName( String name );
+ void setValueEditorName( String name );
/**
@@ -154,7 +154,7 @@ public interface IValueEditor
*
* @return the editors image
*/
- public abstract ImageDescriptor getValueEditorImageDescriptor();
+ ImageDescriptor getValueEditorImageDescriptor();
/**
@@ -166,7 +166,7 @@ public interface IValueEditor
*
* @param imageDescriptor the editors image
*/
- public abstract void setValueEditorImageDescriptor( ImageDescriptor imageDescriptor );
+ void setValueEditorImageDescriptor( ImageDescriptor imageDescriptor );
/**
@@ -174,13 +174,13 @@ public interface IValueEditor
*
* @param parent the parent control
*/
- public abstract void create( Composite parent );
+ void create( Composite parent );
/**
* Disposes of this value editor and frees any associated SWT resources.
*/
- public abstract void dispose();
+ void dispose();
/**
@@ -194,9 +194,9 @@ public interface IValueEditor
* @return the JFace CellEditor
*
*/
- public abstract CellEditor getCellEditor();
+ CellEditor getCellEditor();
// A constant for the emtpy string and null string.
- static final String EMPTY = ""; //$NON-NLS-1$
- static final String NULL = "NULL"; //$NON-NLS-1$
+ String EMPTY = ""; //$NON-NLS-1$
+ String NULL = "NULL"; //$NON-NLS-1$
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateListener.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateListener.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateListener.java Thu Aug 6 16:45:20 2015
@@ -33,12 +33,10 @@ import org.apache.directory.studio.ldapb
*/
public interface BookmarkUpdateListener extends EventListener
{
-
/**
* Called when an {@link IBookmark} was updated.
*
* @param bookmarkUpdateEvent the bookmark update event
*/
- public void bookmarkUpdated( BookmarkUpdateEvent bookmarkUpdateEvent );
-
+ void bookmarkUpdated( BookmarkUpdateEvent bookmarkUpdateEvent );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateListener.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateListener.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateListener.java Thu Aug 6 16:45:20 2015
@@ -33,12 +33,10 @@ import org.apache.directory.studio.ldapb
*/
public interface BrowserConnectionUpdateListener extends EventListener
{
-
/**
* Called when an {@link IBrowserConnection} was updated.
*
* @param browserConnectionUpdateEvent the browser connection update event
*/
- public void browserConnectionUpdated( BrowserConnectionUpdateEvent browserConnectionUpdateEvent );
-
+ void browserConnectionUpdated( BrowserConnectionUpdateEvent browserConnectionUpdateEvent );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener.java Thu Aug 6 16:45:20 2015
@@ -33,12 +33,10 @@ import org.apache.directory.studio.ldapb
*/
public interface EntryUpdateListener extends EventListener
{
-
/**
* Called when an {@link IEntry} was updated.
*
* @param event the event
*/
- public void entryUpdated( EntryModificationEvent event );
-
+ void entryUpdated( EntryModificationEvent event );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateListener.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateListener.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateListener.java Thu Aug 6 16:45:20 2015
@@ -33,12 +33,10 @@ import org.apache.directory.studio.ldapb
*/
public interface SearchUpdateListener extends EventListener
{
-
/**
* Called when an {@link ISearch} was updated.
*
* @param searchUpdateEvent the search update event
*/
- public void searchUpdated( SearchUpdateEvent searchUpdateEvent );
-
+ void searchUpdated( SearchUpdateEvent searchUpdateEvent );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DirectoryTypeDetector.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DirectoryTypeDetector.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DirectoryTypeDetector.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DirectoryTypeDetector.java Thu Aug 6 16:45:20 2015
@@ -33,5 +33,5 @@ public interface DirectoryTypeDetector
* @param rootDSE the Root DSE
* @return the directory type or null if unknown
*/
- public String detectDirectoryType( IRootDSE rootDSE );
+ String detectDirectoryType( IRootDSE rootDSE );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IAttribute.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IAttribute.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IAttribute.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IAttribute.java Thu Aug 6 16:45:20 2015
@@ -36,12 +36,11 @@ import org.eclipse.core.runtime.IAdaptab
public interface IAttribute extends Serializable, IAdaptable, AttributePropertyPageProvider, EntryPropertyPageProvider,
ConnectionPropertyPageProvider
{
-
/** The options delimiter ';' */
- public static final String OPTION_DELIMITER = ";"; //$NON-NLS-1$
+ String OPTION_DELIMITER = ";"; //$NON-NLS-1$
/** The language tag prefix 'lang-' */
- public static final String OPTION_LANG_PREFIX = "lang-"; //$NON-NLS-1$
+ String OPTION_LANG_PREFIX = "lang-"; //$NON-NLS-1$
/**
@@ -49,7 +48,7 @@ public interface IAttribute extends Seri
*
* @return the entry of this attribute, never null
*/
- public abstract IEntry getEntry();
+ IEntry getEntry();
/**
@@ -63,7 +62,7 @@ public interface IAttribute extends Seri
*
* @return true if the attribute ist consistent
*/
- public abstract boolean isConsistent();
+ boolean isConsistent();
/**
@@ -72,7 +71,7 @@ public interface IAttribute extends Seri
*
* @return true if this attribute is a must attribute of its entry.
*/
- public abstract boolean isMustAttribute();
+ boolean isMustAttribute();
/**
@@ -81,7 +80,7 @@ public interface IAttribute extends Seri
*
* @return true if this attribute is a may attribute of its entry.
*/
- public abstract boolean isMayAttribute();
+ boolean isMayAttribute();
/**
@@ -90,7 +89,7 @@ public interface IAttribute extends Seri
*
* @return true if this attribute is an operational attribute.
*/
- public abstract boolean isOperationalAttribute();
+ boolean isOperationalAttribute();
/**
@@ -98,7 +97,7 @@ public interface IAttribute extends Seri
*
* @return true if this attribute is the objectClass attribute.
*/
- public abstract boolean isObjectClassAttribute();
+ boolean isObjectClassAttribute();
/**
@@ -106,7 +105,7 @@ public interface IAttribute extends Seri
*
* @return true if the attribute is of type String.
*/
- public abstract boolean isString();
+ boolean isString();
/**
@@ -114,21 +113,21 @@ public interface IAttribute extends Seri
*
* @return true if the attribute is of type byte[].
*/
- public abstract boolean isBinary();
+ boolean isBinary();
/**
* Adds an empty value.
*
*/
- public abstract void addEmptyValue();
+ void addEmptyValue();
/**
* Removes one empty value if one is present.
*
*/
- public abstract void deleteEmptyValue();
+ void deleteEmptyValue();
/**
@@ -141,7 +140,7 @@ public interface IAttribute extends Seri
* if the value is null or if the value's attribute
* isn't this attribute.
*/
- public abstract void addValue( IValue valueToAdd ) throws IllegalArgumentException;
+ void addValue( IValue valueToAdd ) throws IllegalArgumentException;
/**
@@ -153,7 +152,7 @@ public interface IAttribute extends Seri
* if the value is null or if the value's attribute
* isn't this attribute.
*/
- public abstract void deleteValue( IValue valueToDelete ) throws IllegalArgumentException;
+ void deleteValue( IValue valueToDelete ) throws IllegalArgumentException;
/**
@@ -167,7 +166,7 @@ public interface IAttribute extends Seri
* if the value is null or if the value's attribute
* isn't this attribute.
*/
- public abstract void modifyValue( IValue oldValue, IValue newValue ) throws IllegalArgumentException;
+ void modifyValue( IValue oldValue, IValue newValue ) throws IllegalArgumentException;
/**
@@ -175,7 +174,7 @@ public interface IAttribute extends Seri
*
* @return the values of this attribute, may be an empty array, never null.
*/
- public abstract IValue[] getValues();
+ IValue[] getValues();
/**
@@ -183,7 +182,7 @@ public interface IAttribute extends Seri
*
* @return the number of values in this attribute.
*/
- public abstract int getValueSize();
+ int getValueSize();
/**
@@ -192,7 +191,7 @@ public interface IAttribute extends Seri
*
* @return the description of this attribute.
*/
- public abstract String getDescription();
+ String getDescription();
/**
@@ -200,7 +199,7 @@ public interface IAttribute extends Seri
*
* @return the attribute type.
*/
- public abstract String getType();
+ String getType();
/**
@@ -209,7 +208,7 @@ public interface IAttribute extends Seri
*
* @return The binary values
*/
- public abstract byte[][] getBinaryValues();
+ byte[][] getBinaryValues();
/**
@@ -217,7 +216,7 @@ public interface IAttribute extends Seri
*
* @return The first value if one present, null otherwise
*/
- public abstract String getStringValue();
+ String getStringValue();
/**
@@ -226,7 +225,7 @@ public interface IAttribute extends Seri
*
* @return The string values
*/
- public abstract String[] getStringValues();
+ String[] getStringValues();
/**
@@ -240,7 +239,7 @@ public interface IAttribute extends Seri
* The attribute to compare, must be of type IAttribute
* @return true if the argument is equal to this.
*/
- public abstract boolean equals( Object o );
+ boolean equals( Object o );
/**
@@ -249,7 +248,7 @@ public interface IAttribute extends Seri
* @return the AttributeTypeDescription of this attribute, may be the
* default or a dummy
*/
- public abstract AttributeType getAttributeTypeDescription();
+ AttributeType getAttributeTypeDescription();
/**
@@ -257,6 +256,5 @@ public interface IAttribute extends Seri
*
* @return the AttributeDescription of this attribute,.
*/
- public abstract AttributeDescription getAttributeDescription();
-
+ AttributeDescription getAttributeDescription();
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBookmark.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBookmark.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBookmark.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBookmark.java Thu Aug 6 16:45:20 2015
@@ -39,13 +39,12 @@ import org.eclipse.core.runtime.IAdaptab
public interface IBookmark extends Serializable, IAdaptable, BookmarkPropertyPageProvider, EntryPropertyPageProvider,
ConnectionPropertyPageProvider
{
-
/**
* Gets the target Dn.
*
* @return the Dn
*/
- public Dn getDn();
+ Dn getDn();
/**
@@ -53,7 +52,7 @@ public interface IBookmark extends Seria
*
* @param dn the Dn
*/
- public void setDn( Dn dn );
+ void setDn( Dn dn );
/**
@@ -61,7 +60,7 @@ public interface IBookmark extends Seria
*
* @return the name
*/
- public String getName();
+ String getName();
/**
@@ -69,7 +68,7 @@ public interface IBookmark extends Seria
*
* @param name the name
*/
- public void setName( String name );
+ void setName( String name );
/**
@@ -77,7 +76,7 @@ public interface IBookmark extends Seria
*
* @return the browser connection
*/
- public IBrowserConnection getBrowserConnection();
+ IBrowserConnection getBrowserConnection();
/**
@@ -85,7 +84,7 @@ public interface IBookmark extends Seria
*
* @return the entry
*/
- public IEntry getEntry();
+ IEntry getEntry();
/**
@@ -93,7 +92,7 @@ public interface IBookmark extends Seria
*
* @return the bookmark parameter
*/
- public BookmarkParameter getBookmarkParameter();
+ BookmarkParameter getBookmarkParameter();
/**
@@ -101,6 +100,5 @@ public interface IBookmark extends Seria
*
* @param bookmarkParameter the bookmark parameter
*/
- public void setBookmarkParameter( BookmarkParameter bookmarkParameter );
-
+ void setBookmarkParameter( BookmarkParameter bookmarkParameter );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection.java Thu Aug 6 16:45:20 2015
@@ -45,13 +45,12 @@ import org.eclipse.core.runtime.IAdaptab
*/
public interface IBrowserConnection extends Serializable, IAdaptable, ConnectionPropertyPageProvider
{
-
/**
* Enum for the modify mode of attributes
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
- public enum ModifyMode
+ enum ModifyMode
{
/** Default mode */
DEFAULT(0),
@@ -110,7 +109,7 @@ public interface IBrowserConnection exte
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
- public enum ModifyOrder
+ enum ModifyOrder
{
/** Delete first */
DELETE_FIRST(0),
@@ -160,57 +159,56 @@ public interface IBrowserConnection exte
}
/** The key for the connection parameter "Get Base DNs from Root DSE". */
- public static String CONNECTION_PARAMETER_FETCH_BASE_DNS = "ldapbrowser.fetchBaseDns"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_FETCH_BASE_DNS = "ldapbrowser.fetchBaseDns"; //$NON-NLS-1$
/** The key for the connection parameter "Base Dn". */
- public static String CONNECTION_PARAMETER_BASE_DN = "ldapbrowser.baseDn"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_BASE_DN = "ldapbrowser.baseDn"; //$NON-NLS-1$
/** The key for the connection parameter "Count Limit". */
- public static String CONNECTION_PARAMETER_COUNT_LIMIT = "ldapbrowser.countLimit"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_COUNT_LIMIT = "ldapbrowser.countLimit"; //$NON-NLS-1$
/** The key for the connection parameter "Time Limit". */
- public static String CONNECTION_PARAMETER_TIME_LIMIT = "ldapbrowser.timeLimit"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_TIME_LIMIT = "ldapbrowser.timeLimit"; //$NON-NLS-1$
/** The key for the connection parameter "Alias Dereferencing". */
- public static String CONNECTION_PARAMETER_ALIASES_DEREFERENCING_METHOD = "ldapbrowser.aliasesDereferencingMethod"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_ALIASES_DEREFERENCING_METHOD = "ldapbrowser.aliasesDereferencingMethod"; //$NON-NLS-1$
/** The key for the connection parameter "Referrals Handling". */
- public static String CONNECTION_PARAMETER_REFERRALS_HANDLING_METHOD = "ldapbrowser.referralsHandlingMethod"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_REFERRALS_HANDLING_METHOD = "ldapbrowser.referralsHandlingMethod"; //$NON-NLS-1$
/** The key for the connection parameter "Fetch Operational Attributes. */
- public static String CONNECTION_PARAMETER_FETCH_OPERATIONAL_ATTRIBUTES = "ldapbrowser.fetchOperationalAttributes"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_FETCH_OPERATIONAL_ATTRIBUTES = "ldapbrowser.fetchOperationalAttributes"; //$NON-NLS-1$
/** The key for the connection parameter "Fetch Sub-entries". */
- public static String CONNECTION_PARAMETER_FETCH_SUBENTRIES = "ldapbrowser.fetchSubentries"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_FETCH_SUBENTRIES = "ldapbrowser.fetchSubentries"; //$NON-NLS-1$
/** The key for the connection parameter "Paged Search". */
- public static String CONNECTION_PARAMETER_PAGED_SEARCH = "ldapbrowser.pagedSearch"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_PAGED_SEARCH = "ldapbrowser.pagedSearch"; //$NON-NLS-1$
/** The key for the connection parameter "Paged Search Size". */
- public static String CONNECTION_PARAMETER_PAGED_SEARCH_SIZE = "ldapbrowser.pagedSearchSize"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_PAGED_SEARCH_SIZE = "ldapbrowser.pagedSearchSize"; //$NON-NLS-1$
/** The key for the connection parameter "Paged Search Scroll Mode". */
- public static String CONNECTION_PARAMETER_PAGED_SEARCH_SCROLL_MODE = "ldapbrowser.pagedSearchScrollMode"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_PAGED_SEARCH_SCROLL_MODE = "ldapbrowser.pagedSearchScrollMode"; //$NON-NLS-1$
/** The key for the connection parameter "Modify Mode for attributes with equality matching rule". */
- public static String CONNECTION_PARAMETER_MODIFY_MODE = "ldapbrowser.modifyMode"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_MODIFY_MODE = "ldapbrowser.modifyMode"; //$NON-NLS-1$
/** The key for the connection parameter "Modify Mode for attributes without equality matching rule". */
- public static String CONNECTION_PARAMETER_MODIFY_MODE_NO_EMR = "ldapbrowser.modifyModeNoEMR"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_MODIFY_MODE_NO_EMR = "ldapbrowser.modifyModeNoEMR"; //$NON-NLS-1$
/** The key for the connection parameter "Modify add delete order". */
- public static String CONNECTION_PARAMETER_MODIFY_ORDER = "ldapbrowser.modifyOrder"; //$NON-NLS-1$
+ String CONNECTION_PARAMETER_MODIFY_ORDER = "ldapbrowser.modifyOrder"; //$NON-NLS-1$
/** The key for the connection parameter "Use ManageDsaIT Control" */
- public static String CONNECTION_PARAMETER_MANAGE_DSA_IT = "ldapbrowser.manageDsaIT"; //$NON-NLS-1$
-
+ String CONNECTION_PARAMETER_MANAGE_DSA_IT = "ldapbrowser.manageDsaIT"; //$NON-NLS-1$
/**
* Gets the URL of this connection.
*
* @return the URL of this connection
*/
- public abstract LdapUrl getUrl();
+ LdapUrl getUrl();
/**
@@ -220,7 +218,7 @@ public interface IBrowserConnection exte
* @return true, if the base DNs are fetched from Root DSE,
* false, if the base Dn is defined manually
*/
- public abstract boolean isFetchBaseDNs();
+ boolean isFetchBaseDNs();
/**
@@ -230,7 +228,7 @@ public interface IBrowserConnection exte
* @param fetchBaseDNs true to get the base DNs from Root DSE,
* false to define one manually
*/
- public abstract void setFetchBaseDNs( boolean fetchBaseDNs );
+ void setFetchBaseDNs( boolean fetchBaseDNs );
/**
@@ -238,7 +236,7 @@ public interface IBrowserConnection exte
*
* @return the manually defined base ND
*/
- public abstract Dn getBaseDN();
+ Dn getBaseDN();
/**
@@ -246,7 +244,7 @@ public interface IBrowserConnection exte
*
* @param baseDn the new base Dn
*/
- public abstract void setBaseDN( Dn baseDn );
+ void setBaseDN( Dn baseDn );
/**
@@ -254,7 +252,7 @@ public interface IBrowserConnection exte
*
* @return the count limit
*/
- public abstract int getCountLimit();
+ int getCountLimit();
/**
@@ -262,7 +260,7 @@ public interface IBrowserConnection exte
*
* @param countLimit the new count limit
*/
- public abstract void setCountLimit( int countLimit );
+ void setCountLimit( int countLimit );
/**
@@ -270,7 +268,7 @@ public interface IBrowserConnection exte
*
* @return the aliases dereferencing method
*/
- public abstract AliasDereferencingMethod getAliasesDereferencingMethod();
+ AliasDereferencingMethod getAliasesDereferencingMethod();
/**
@@ -278,7 +276,7 @@ public interface IBrowserConnection exte
*
* @param aliasesDereferencingMethod the new aliases dereferencing method
*/
- public abstract void setAliasesDereferencingMethod( AliasDereferencingMethod aliasesDereferencingMethod );
+ void setAliasesDereferencingMethod( AliasDereferencingMethod aliasesDereferencingMethod );
/**
@@ -286,7 +284,7 @@ public interface IBrowserConnection exte
*
* @return the referrals handling method
*/
- public abstract ReferralHandlingMethod getReferralsHandlingMethod();
+ ReferralHandlingMethod getReferralsHandlingMethod();
/**
@@ -294,7 +292,7 @@ public interface IBrowserConnection exte
*
* @param referralsHandlingMethod the new referrals handling method
*/
- public abstract void setReferralsHandlingMethod( ReferralHandlingMethod referralsHandlingMethod );
+ void setReferralsHandlingMethod( ReferralHandlingMethod referralsHandlingMethod );
/**
@@ -302,7 +300,7 @@ public interface IBrowserConnection exte
*
* @return the time limit
*/
- public abstract int getTimeLimit();
+ int getTimeLimit();
/**
@@ -310,7 +308,7 @@ public interface IBrowserConnection exte
*
* @param timeLimit the new time limit
*/
- public abstract void setTimeLimit( int timeLimit );
+ void setTimeLimit( int timeLimit );
/**
@@ -318,7 +316,7 @@ public interface IBrowserConnection exte
*
* @return the true if subentries should be fetched
*/
- public abstract boolean isFetchSubentries();
+ boolean isFetchSubentries();
/**
@@ -326,7 +324,7 @@ public interface IBrowserConnection exte
*
* @param fetchSubentries true to fetch subentries
*/
- public abstract void setFetchSubentries( boolean fetchSubentries );
+ void setFetchSubentries( boolean fetchSubentries );
/**
@@ -334,7 +332,7 @@ public interface IBrowserConnection exte
*
* @return true if ManageDsaIT control should be used
*/
- public abstract boolean isManageDsaIT();
+ boolean isManageDsaIT();
/**
@@ -342,7 +340,7 @@ public interface IBrowserConnection exte
*
* @param manageDsaIT true to use ManageDsaIT control
*/
- public abstract void setManageDsaIT( boolean manageDsaIT );
+ void setManageDsaIT( boolean manageDsaIT );
/**
@@ -350,7 +348,7 @@ public interface IBrowserConnection exte
*
* @return the true if operational attributes should be fetched
*/
- public abstract boolean isFetchOperationalAttributes();
+ boolean isFetchOperationalAttributes();
/**
@@ -358,7 +356,7 @@ public interface IBrowserConnection exte
*
* @param fetchSubentries true to fetch operational attributes
*/
- public abstract void setFetchOperationalAttributes( boolean fetchOperationalAttributes );
+ void setFetchOperationalAttributes( boolean fetchOperationalAttributes );
/**
@@ -366,7 +364,7 @@ public interface IBrowserConnection exte
*
* @return the true if paged search should be used
*/
- public abstract boolean isPagedSearch();
+ boolean isPagedSearch();
/**
@@ -374,7 +372,7 @@ public interface IBrowserConnection exte
*
* @param pagedSearch true to use paged search
*/
- public abstract void setPagedSearch( boolean pagedSearch );
+ void setPagedSearch( boolean pagedSearch );
/**
@@ -382,7 +380,7 @@ public interface IBrowserConnection exte
*
* @return the paged search size
*/
- public abstract int getPagedSearchSize();
+ int getPagedSearchSize();
/**
@@ -390,7 +388,7 @@ public interface IBrowserConnection exte
*
* @param pagedSearchSize the new paged search size
*/
- public abstract void setPagedSearchSize( int pagedSearchSize );
+ void setPagedSearchSize( int pagedSearchSize );
/**
@@ -398,7 +396,7 @@ public interface IBrowserConnection exte
*
* @return the true if paged search scroll mode should be used
*/
- public abstract boolean isPagedSearchScrollMode();
+ boolean isPagedSearchScrollMode();
/**
@@ -406,7 +404,7 @@ public interface IBrowserConnection exte
*
* @param pagedSearch true to use paged search scroll mode
*/
- public abstract void setPagedSearchScrollMode( boolean pagedSearchScrollMode );
+ void setPagedSearchScrollMode( boolean pagedSearchScrollMode );
/**
@@ -414,7 +412,7 @@ public interface IBrowserConnection exte
*
* @return the modify mode for attributes
*/
- public abstract ModifyMode getModifyMode();
+ ModifyMode getModifyMode();
/**
@@ -422,7 +420,7 @@ public interface IBrowserConnection exte
*
* @param mode the modify mode for attributes
*/
- public abstract void setModifyMode( ModifyMode mode );
+ void setModifyMode( ModifyMode mode );
/**
@@ -430,7 +428,7 @@ public interface IBrowserConnection exte
*
* @return the modify mode for attributes without equality matching rule
*/
- public abstract ModifyMode getModifyModeNoEMR();
+ ModifyMode getModifyModeNoEMR();
/**
@@ -438,7 +436,7 @@ public interface IBrowserConnection exte
*
* @param mode the modify mode for attributes without equality matching rule
*/
- public abstract void setModifyModeNoEMR( ModifyMode mode );
+ void setModifyModeNoEMR( ModifyMode mode );
/**
@@ -446,7 +444,7 @@ public interface IBrowserConnection exte
*
* @return the modify add/delete order
*/
- public abstract ModifyOrder getModifyAddDeleteOrder();
+ ModifyOrder getModifyAddDeleteOrder();
/**
@@ -454,7 +452,7 @@ public interface IBrowserConnection exte
*
* @param mode the modify add/delete order
*/
- public abstract void setModifyAddDeleteOrder( ModifyOrder mode );
+ void setModifyAddDeleteOrder( ModifyOrder mode );
/**
@@ -462,7 +460,7 @@ public interface IBrowserConnection exte
*
* @return the root DSE
*/
- public abstract IRootDSE getRootDSE();
+ IRootDSE getRootDSE();
/**
@@ -470,7 +468,7 @@ public interface IBrowserConnection exte
*
* @return the schema, never null
*/
- public abstract Schema getSchema();
+ Schema getSchema();
/**
@@ -478,7 +476,7 @@ public interface IBrowserConnection exte
*
* @param schema the new schema
*/
- public abstract void setSchema( Schema schema );
+ void setSchema( Schema schema );
/**
@@ -486,7 +484,7 @@ public interface IBrowserConnection exte
*
* @return the search manager
*/
- public abstract SearchManager getSearchManager();
+ SearchManager getSearchManager();
/**
@@ -494,7 +492,7 @@ public interface IBrowserConnection exte
*
* @return the bookmark manager
*/
- public abstract BookmarkManager getBookmarkManager();
+ BookmarkManager getBookmarkManager();
/**
@@ -504,7 +502,7 @@ public interface IBrowserConnection exte
*
* @return the entry from cache or null if the entry isn't cached
*/
- public abstract IEntry getEntryFromCache( Dn dn );
+ IEntry getEntryFromCache( Dn dn );
/**
@@ -512,7 +510,7 @@ public interface IBrowserConnection exte
*
* @return the connection
*/
- public abstract Connection getConnection();
+ Connection getConnection();
/**
@@ -520,7 +518,7 @@ public interface IBrowserConnection exte
*
* @param entry the entry to cache
*/
- public void cacheEntry( IEntry entry );
+ void cacheEntry( IEntry entry );
/**
@@ -528,12 +526,11 @@ public interface IBrowserConnection exte
*
* @param entry the entry to remove from cache
*/
- public abstract void uncacheEntryRecursive( IEntry entry );
+ void uncacheEntryRecursive( IEntry entry );
/**
* Clears all caches.
*/
- public abstract void clearCaches();
-
+ void clearCaches();
}
\ No newline at end of file
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IContinuation.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IContinuation.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IContinuation.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IContinuation.java Thu Aug 6 16:45:20 2015
@@ -32,7 +32,7 @@ import org.apache.directory.api.ldap.mod
public interface IContinuation
{
- public enum State
+ enum State
{
/** The search continuation URL is unresolved.*/
UNRESOLVED,
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IEntry.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IEntry.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IEntry.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IEntry.java Thu Aug 6 16:45:20 2015
@@ -48,7 +48,7 @@ public interface IEntry extends Serializ
* @param childToAdd
* the child to add
*/
- public abstract void addChild( IEntry childToAdd );
+ void addChild( IEntry childToAdd );
/**
@@ -57,7 +57,7 @@ public interface IEntry extends Serializ
* @param childToDelete
* the child to delete
*/
- public abstract void deleteChild( IEntry childToDelete );
+ void deleteChild( IEntry childToDelete );
/**
@@ -70,7 +70,7 @@ public interface IEntry extends Serializ
* if the attribute is already present in this entry or
* if the attribute's entry isn't this entry.
*/
- public abstract void addAttribute( IAttribute attributeToAdd ) throws IllegalArgumentException;
+ void addAttribute( IAttribute attributeToAdd ) throws IllegalArgumentException;
/**
@@ -81,7 +81,7 @@ public interface IEntry extends Serializ
* @throws IllegalArgumentException
* if the attribute isn't present in this entry.
*/
- public abstract void deleteAttribute( IAttribute attributeToDelete ) throws IllegalArgumentException;
+ void deleteAttribute( IAttribute attributeToDelete ) throws IllegalArgumentException;
/**
@@ -90,7 +90,7 @@ public interface IEntry extends Serializ
* @param isDirectoryEntry
* true if this entry exists in directory.
*/
- public abstract void setDirectoryEntry( boolean isDirectoryEntry );
+ void setDirectoryEntry( boolean isDirectoryEntry );
/**
@@ -103,7 +103,7 @@ public interface IEntry extends Serializ
*
* @return true, if this entry is an alias entry
*/
- public abstract boolean isAlias();
+ boolean isAlias();
/**
@@ -114,7 +114,7 @@ public interface IEntry extends Serializ
*
* @param b the alias flag
*/
- public abstract void setAlias( boolean b );
+ void setAlias( boolean b );
/**
@@ -127,7 +127,7 @@ public interface IEntry extends Serializ
*
* @return true, if this entry is a referral entry
*/
- public abstract boolean isReferral();
+ boolean isReferral();
/**
@@ -138,7 +138,7 @@ public interface IEntry extends Serializ
*
* @param b the referral flag
*/
- public abstract void setReferral( boolean b );
+ void setReferral( boolean b );
/**
@@ -151,7 +151,7 @@ public interface IEntry extends Serializ
*
* @return true, if this entry is a subentry entry
*/
- public abstract boolean isSubentry();
+ boolean isSubentry();
/**
@@ -162,7 +162,7 @@ public interface IEntry extends Serializ
*
* @param b the subentry flag
*/
- public abstract void setSubentry( boolean b );
+ void setSubentry( boolean b );
/**
@@ -170,7 +170,7 @@ public interface IEntry extends Serializ
*
* @return the Dn of this entry, never null.
*/
- public abstract Dn getDn();
+ Dn getDn();
/**
@@ -178,7 +178,7 @@ public interface IEntry extends Serializ
*
* @return the Rdn of this entry, never null.
*/
- public abstract Rdn getRdn();
+ Rdn getRdn();
/**
@@ -193,7 +193,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry's attributes are initialized
*/
- public abstract boolean isAttributesInitialized();
+ boolean isAttributesInitialized();
/**
@@ -201,7 +201,7 @@ public interface IEntry extends Serializ
*
* @param b the attributes initialized flag
*/
- public abstract void setAttributesInitialized( boolean b );
+ void setAttributesInitialized( boolean b );
/**
@@ -209,7 +209,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry's attributes should be initialized
*/
- public abstract boolean isInitOperationalAttributes();
+ boolean isInitOperationalAttributes();
/**
@@ -217,7 +217,7 @@ public interface IEntry extends Serializ
*
* @param b the initialize operational attributes flag
*/
- public abstract void setInitOperationalAttributes( boolean b );
+ void setInitOperationalAttributes( boolean b );
/**
@@ -225,7 +225,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry's alias children should be fetched
*/
- public abstract boolean isFetchAliases();
+ boolean isFetchAliases();
/**
@@ -233,7 +233,7 @@ public interface IEntry extends Serializ
*
* @param b the fetch aliases flag
*/
- public abstract void setFetchAliases( boolean b );
+ void setFetchAliases( boolean b );
/**
@@ -241,7 +241,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry's referral children should be fetched
*/
- public abstract boolean isFetchReferrals();
+ boolean isFetchReferrals();
/**
@@ -249,7 +249,7 @@ public interface IEntry extends Serializ
*
* @param b the fetch referral flag
*/
- public abstract void setFetchReferrals( boolean b );
+ void setFetchReferrals( boolean b );
/**
@@ -257,7 +257,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry's sub-entries should be fetched
*/
- public abstract boolean isFetchSubentries();
+ boolean isFetchSubentries();
/**
@@ -265,7 +265,7 @@ public interface IEntry extends Serializ
*
* @param b the fetch sub-entries flag
*/
- public abstract void setFetchSubentries( boolean b );
+ void setFetchSubentries( boolean b );
/**
@@ -276,7 +276,7 @@ public interface IEntry extends Serializ
*
* @return The attributes of the entry or null if no attribute was added yet
*/
- public abstract IAttribute[] getAttributes();
+ IAttribute[] getAttributes();
/**
@@ -286,7 +286,7 @@ public interface IEntry extends Serializ
* @return The attributes of the entry or null if the attribute doesn't
* exist or if the attributes aren't initialized
*/
- public abstract IAttribute getAttribute( String attributeDescription );
+ IAttribute getAttribute( String attributeDescription );
/**
@@ -297,7 +297,7 @@ public interface IEntry extends Serializ
* @return The attributes of the entry or null if the attribute doesn't
* exist or if the attributes aren't initialized
*/
- public abstract AttributeHierarchy getAttributeWithSubtypes( String attributeDescription );
+ AttributeHierarchy getAttributeWithSubtypes( String attributeDescription );
/**
@@ -312,7 +312,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry's children are initialized
*/
- public abstract boolean isChildrenInitialized();
+ boolean isChildrenInitialized();
/**
@@ -320,7 +320,7 @@ public interface IEntry extends Serializ
*
* @param b the children initialized flag
*/
- public abstract void setChildrenInitialized( boolean b );
+ void setChildrenInitialized( boolean b );
/**
@@ -328,7 +328,7 @@ public interface IEntry extends Serializ
*
* @return true if the entry has children.
*/
- public abstract boolean hasChildren();
+ boolean hasChildren();
/**
@@ -336,7 +336,7 @@ public interface IEntry extends Serializ
*
* @param b the has children hint
*/
- public abstract void setHasChildrenHint( boolean b );
+ void setHasChildrenHint( boolean b );
/**
@@ -347,7 +347,7 @@ public interface IEntry extends Serializ
*
* @return The children of the entry or null if no child was added yet.
*/
- public abstract IEntry[] getChildren();
+ IEntry[] getChildren();
/**
@@ -355,7 +355,7 @@ public interface IEntry extends Serializ
*
* @return The number of children of the entry or -1 if no child was added yet
*/
- public abstract int getChildrenCount();
+ int getChildrenCount();
/**
@@ -365,7 +365,7 @@ public interface IEntry extends Serializ
*
* @return true if this entry has (maybe) more children.
*/
- public abstract boolean hasMoreChildren();
+ boolean hasMoreChildren();
/**
@@ -373,7 +373,7 @@ public interface IEntry extends Serializ
*
* @param b the has more children flag
*/
- public abstract void setHasMoreChildren( boolean b );
+ void setHasMoreChildren( boolean b );
/**
@@ -381,7 +381,7 @@ public interface IEntry extends Serializ
*
* @return the runnable used to fetch the top page of children, null if none
*/
- public abstract StudioConnectionBulkRunnableWithProgress getTopPageChildrenRunnable();
+ StudioConnectionBulkRunnableWithProgress getTopPageChildrenRunnable();
/**
@@ -389,7 +389,7 @@ public interface IEntry extends Serializ
*
* @param moreChildrenRunnable the runnable used to fetch the top page of children
*/
- public abstract void setTopPageChildrenRunnable( StudioConnectionBulkRunnableWithProgress topPageChildrenRunnable );
+ void setTopPageChildrenRunnable( StudioConnectionBulkRunnableWithProgress topPageChildrenRunnable );
/**
@@ -397,7 +397,7 @@ public interface IEntry extends Serializ
*
* @return the runnable used to fetch the next page of children, null if none
*/
- public abstract StudioConnectionBulkRunnableWithProgress getNextPageChildrenRunnable();
+ StudioConnectionBulkRunnableWithProgress getNextPageChildrenRunnable();
/**
@@ -405,7 +405,7 @@ public interface IEntry extends Serializ
*
* @param moreChildrenRunnable the runnable used to fetch the next page of children
*/
- public abstract void setNextPageChildrenRunnable( StudioConnectionBulkRunnableWithProgress nextPageChildrenRunnable );
+ void setNextPageChildrenRunnable( StudioConnectionBulkRunnableWithProgress nextPageChildrenRunnable );
/**
@@ -414,7 +414,7 @@ public interface IEntry extends Serializ
*
* @return true if the entry has a parent entry.
*/
- public abstract boolean hasParententry();
+ boolean hasParententry();
/**
@@ -422,7 +422,7 @@ public interface IEntry extends Serializ
*
* @return the parent entry or null if this entry hasn't a parent.
*/
- public abstract IEntry getParententry();
+ IEntry getParententry();
/**
@@ -430,7 +430,7 @@ public interface IEntry extends Serializ
*
* @return the children filter or null if none is set
*/
- public abstract String getChildrenFilter();
+ String getChildrenFilter();
/**
@@ -438,7 +438,7 @@ public interface IEntry extends Serializ
*
* @param filter the children filter
*/
- public abstract void setChildrenFilter( String filter );
+ void setChildrenFilter( String filter );
/**
@@ -446,7 +446,7 @@ public interface IEntry extends Serializ
*
* @return the browser connection of this entry, never null.
*/
- public abstract IBrowserConnection getBrowserConnection();
+ IBrowserConnection getBrowserConnection();
/**
@@ -454,7 +454,7 @@ public interface IEntry extends Serializ
*
* @return the LDAP URL of this entry
*/
- public abstract LdapUrl getUrl();
+ LdapUrl getUrl();
/**
@@ -462,6 +462,5 @@ public interface IEntry extends Serializ
*
* @return the object class descriptions of this entry
*/
- public Collection<ObjectClass> getObjectClassDescriptions();
-
+ Collection<ObjectClass> getObjectClassDescriptions();
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IQuickSearch.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IQuickSearch.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IQuickSearch.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IQuickSearch.java Thu Aug 6 16:45:20 2015
@@ -29,12 +29,10 @@ package org.apache.directory.studio.ldap
*/
public interface IQuickSearch extends ISearch
{
-
/**
* Gets the search base entry.
*
* @return the search base entry
*/
- public IEntry getSearchBaseEntry();
-
+ IEntry getSearchBaseEntry();
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IRootDSE.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IRootDSE.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IRootDSE.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IRootDSE.java Thu Aug 6 16:45:20 2015
@@ -28,13 +28,12 @@ package org.apache.directory.studio.ldap
*/
public interface IRootDSE extends IEntry
{
-
/**
* Gets the supported extensions.
*
* @return the OIDs of the supported extensions
*/
- public String[] getSupportedExtensions();
+ String[] getSupportedExtensions();
/**
@@ -42,7 +41,7 @@ public interface IRootDSE extends IEntry
*
* @return the OIDs of the the supported controls
*/
- public String[] getSupportedControls();
+ String[] getSupportedControls();
/**
@@ -50,7 +49,7 @@ public interface IRootDSE extends IEntry
*
* @return the OIDs of the the supported features
*/
- public String[] getSupportedFeatures();
+ String[] getSupportedFeatures();
/**
@@ -60,7 +59,7 @@ public interface IRootDSE extends IEntry
*
* @return true, if control is supported
*/
- public boolean isControlSupported( String oid );
+ boolean isControlSupported( String oid );
/**
@@ -70,6 +69,5 @@ public interface IRootDSE extends IEntry
*
* @return true, if feature is supported
*/
- public boolean isFeatureSupported( String oid );
-
+ boolean isFeatureSupported( String oid );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearch.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearch.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearch.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearch.java Thu Aug 6 16:45:20 2015
@@ -45,30 +45,29 @@ import org.eclipse.core.runtime.IAdaptab
*/
public interface ISearch extends Serializable, IAdaptable, SearchPropertyPageProvider, ConnectionPropertyPageProvider
{
-
/** Constant for empty search base */
- public static final Dn EMPTY_SEARCH_BASE = new Dn(); //$NON-NLS-1$
+ Dn EMPTY_SEARCH_BASE = new Dn(); //$NON-NLS-1$
/** Constant for no returning attributes, an empty array */
- public static final String[] NO_ATTRIBUTES = new String[0];
+ String[] NO_ATTRIBUTES = new String[0];
/** True filter (objectClass=*) */
- public static final String FILTER_TRUE = LdapConstants.OBJECT_CLASS_STAR;
+ String FILTER_TRUE = LdapConstants.OBJECT_CLASS_STAR;
/** False filter (!(objectClass=*)) */
- public static final String FILTER_FALSE = "(!(objectClass=*))"; //$NON-NLS-1$
+ String FILTER_FALSE = "(!(objectClass=*))"; //$NON-NLS-1$
/** Filter for fetching subentries (|(objectClass=subentry)(objectClass=ldapSubentry)) */
- public static final String FILTER_SUBENTRY = "(|(objectClass=subentry)(objectClass=ldapSubentry))"; //$NON-NLS-1$
+ String FILTER_SUBENTRY = "(|(objectClass=subentry)(objectClass=ldapSubentry))"; //$NON-NLS-1$
/** Filter for fetching aliases (objectClass=alias) */
- public static final String FILTER_ALIAS = "(objectClass=alias)"; //$NON-NLS-1$
+ String FILTER_ALIAS = "(objectClass=alias)"; //$NON-NLS-1$
/** Filter for fetching referrals (objectClass=referral) */
- public static final String FILTER_REFERRAL = "(objectClass=referral)"; //$NON-NLS-1$
+ String FILTER_REFERRAL = "(objectClass=referral)"; //$NON-NLS-1$
/** Filter for fetching aliases and referrals (|(objectClass=alias)(objectClass=referral)) */
- public static final String FILTER_ALIAS_OR_REFERRAL = "(|(objectClass=alias)(objectClass=referral))"; //$NON-NLS-1$
+ String FILTER_ALIAS_OR_REFERRAL = "(|(objectClass=alias)(objectClass=referral))"; //$NON-NLS-1$
/**
@@ -76,7 +75,7 @@ public interface ISearch extends Seriali
*
* @return the LDAP URL of this search
*/
- public abstract LdapUrl getUrl();
+ LdapUrl getUrl();
/**
@@ -84,7 +83,7 @@ public interface ISearch extends Seriali
*
* @return true, if the hasChildren flag should be initialized
*/
- public abstract boolean isInitHasChildrenFlag();
+ boolean isInitHasChildrenFlag();
/**
@@ -92,7 +91,7 @@ public interface ISearch extends Seriali
*
* @return the controls
*/
- public abstract List<StudioControl> getControls();
+ List<StudioControl> getControls();
/**
@@ -100,7 +99,7 @@ public interface ISearch extends Seriali
*
* @return the response controls
*/
- public abstract List<StudioControl> getResponseControls();
+ List<StudioControl> getResponseControls();
/**
@@ -108,7 +107,7 @@ public interface ISearch extends Seriali
*
* @return the count limit
*/
- public abstract int getCountLimit();
+ int getCountLimit();
/**
@@ -116,7 +115,7 @@ public interface ISearch extends Seriali
*
* @param countLimit the count limit
*/
- public abstract void setCountLimit( int countLimit );
+ void setCountLimit( int countLimit );
/**
@@ -124,7 +123,7 @@ public interface ISearch extends Seriali
*
* @return the filter
*/
- public abstract String getFilter();
+ String getFilter();
/**
@@ -135,7 +134,7 @@ public interface ISearch extends Seriali
*
* @param filter the filter
*/
- public abstract void setFilter( String filter );
+ void setFilter( String filter );
/**
@@ -143,7 +142,7 @@ public interface ISearch extends Seriali
*
* @return the returning attributes
*/
- public abstract String[] getReturningAttributes();
+ String[] getReturningAttributes();
/**
@@ -154,7 +153,7 @@ public interface ISearch extends Seriali
*
* @param returningAttributes the returning attributes
*/
- public abstract void setReturningAttributes( String[] returningAttributes );
+ void setReturningAttributes( String[] returningAttributes );
/**
@@ -162,7 +161,7 @@ public interface ISearch extends Seriali
*
* @return the search scope
*/
- public abstract SearchScope getScope();
+ SearchScope getScope();
/**
@@ -172,7 +171,7 @@ public interface ISearch extends Seriali
*
* @param scope the search scope
*/
- public abstract void setScope( SearchScope scope );
+ void setScope( SearchScope scope );
/**
@@ -181,7 +180,7 @@ public interface ISearch extends Seriali
*
* @return the aliases dereferencing method
*/
- public abstract Connection.AliasDereferencingMethod getAliasesDereferencingMethod();
+ Connection.AliasDereferencingMethod getAliasesDereferencingMethod();
/**
@@ -191,7 +190,7 @@ public interface ISearch extends Seriali
*
* @param aliasesDereferencingMethod the aliases dereferencing method
*/
- public abstract void setAliasesDereferencingMethod( Connection.AliasDereferencingMethod aliasesDereferencingMethod );
+ void setAliasesDereferencingMethod( Connection.AliasDereferencingMethod aliasesDereferencingMethod );
/**
@@ -199,7 +198,7 @@ public interface ISearch extends Seriali
*
* @return the referrals handling method
*/
- public abstract Connection.ReferralHandlingMethod getReferralsHandlingMethod();
+ Connection.ReferralHandlingMethod getReferralsHandlingMethod();
/**
@@ -209,7 +208,7 @@ public interface ISearch extends Seriali
*
* @param referralsHandlingMethod the referrals handling method
*/
- public abstract void setReferralsHandlingMethod( Connection.ReferralHandlingMethod referralsHandlingMethod );
+ void setReferralsHandlingMethod( Connection.ReferralHandlingMethod referralsHandlingMethod );
/**
@@ -217,7 +216,7 @@ public interface ISearch extends Seriali
*
* @return the search base
*/
- public abstract Dn getSearchBase();
+ Dn getSearchBase();
/**
@@ -228,7 +227,7 @@ public interface ISearch extends Seriali
*
* @param searchBase the search base
*/
- public abstract void setSearchBase( Dn searchBase );
+ void setSearchBase( Dn searchBase );
/**
@@ -236,7 +235,7 @@ public interface ISearch extends Seriali
*
* @return the time limit
*/
- public abstract int getTimeLimit();
+ int getTimeLimit();
/**
@@ -246,7 +245,7 @@ public interface ISearch extends Seriali
*
* @param timeLimit the time limit
*/
- public abstract void setTimeLimit( int timeLimit );
+ void setTimeLimit( int timeLimit );
/**
@@ -254,7 +253,7 @@ public interface ISearch extends Seriali
*
* @return the name
*/
- public abstract String getName();
+ String getName();
/**
@@ -264,7 +263,7 @@ public interface ISearch extends Seriali
*
* @param name the name
*/
- public abstract void setName( String name );
+ void setName( String name );
/**
@@ -273,7 +272,7 @@ public interface ISearch extends Seriali
*
* @return the search results
*/
- public abstract ISearchResult[] getSearchResults();
+ ISearchResult[] getSearchResults();
/**
@@ -283,7 +282,7 @@ public interface ISearch extends Seriali
*
* @param searchResults the search results
*/
- public abstract void setSearchResults( ISearchResult[] searchResults );
+ void setSearchResults( ISearchResult[] searchResults );
/**
@@ -291,7 +290,7 @@ public interface ISearch extends Seriali
*
* @return true, if the count limit exceeded
*/
- public abstract boolean isCountLimitExceeded();
+ boolean isCountLimitExceeded();
/**
@@ -301,7 +300,7 @@ public interface ISearch extends Seriali
*
* @param countLimitExceeded the count limit exceeded flag
*/
- public abstract void setCountLimitExceeded( boolean countLimitExceeded );
+ void setCountLimitExceeded( boolean countLimitExceeded );
/**
@@ -309,7 +308,7 @@ public interface ISearch extends Seriali
*
* @return the browser connection
*/
- public abstract IBrowserConnection getBrowserConnection();
+ IBrowserConnection getBrowserConnection();
/**
@@ -319,7 +318,7 @@ public interface ISearch extends Seriali
*
* @param browserConnection the browser connection
*/
- public abstract void setBrowserConnection( IBrowserConnection browserConnection );
+ void setBrowserConnection( IBrowserConnection browserConnection );
/**
@@ -327,7 +326,7 @@ public interface ISearch extends Seriali
*
* @return the cloned search
*/
- public abstract Object clone();
+ Object clone();
/**
@@ -335,7 +334,7 @@ public interface ISearch extends Seriali
*
* @return the search parameter
*/
- public abstract SearchParameter getSearchParameter();
+ SearchParameter getSearchParameter();
/**
@@ -343,7 +342,7 @@ public interface ISearch extends Seriali
*
* @param searchParameter the search parameter
*/
- public abstract void setSearchParameter( SearchParameter searchParameter );
+ void setSearchParameter( SearchParameter searchParameter );
/**
@@ -351,7 +350,7 @@ public interface ISearch extends Seriali
*
* @return the next search runnable, null if none
*/
- public abstract StudioConnectionBulkRunnableWithProgress getNextSearchRunnable();
+ StudioConnectionBulkRunnableWithProgress getNextSearchRunnable();
/**
@@ -359,7 +358,7 @@ public interface ISearch extends Seriali
*
* @param nextSearchRunnable the next search runnable
*/
- public abstract void setNextPageSearchRunnable( StudioConnectionBulkRunnableWithProgress nextSearchRunnable );
+ void setNextPageSearchRunnable( StudioConnectionBulkRunnableWithProgress nextSearchRunnable );
/**
@@ -367,7 +366,7 @@ public interface ISearch extends Seriali
*
* @return the top search runnable, null if none
*/
- public abstract StudioConnectionBulkRunnableWithProgress getTopSearchRunnable();
+ StudioConnectionBulkRunnableWithProgress getTopSearchRunnable();
/**
@@ -375,7 +374,7 @@ public interface ISearch extends Seriali
*
* @param nextSearchRunnable the top search runnable
*/
- public abstract void setTopPageSearchRunnable( StudioConnectionBulkRunnableWithProgress nextSearchRunnable );
+ void setTopPageSearchRunnable( StudioConnectionBulkRunnableWithProgress nextSearchRunnable );
/**
@@ -383,7 +382,7 @@ public interface ISearch extends Seriali
*
* @return the search continuations
*/
- public abstract SearchContinuation[] getSearchContinuations();
+ SearchContinuation[] getSearchContinuations();
/**
@@ -391,6 +390,5 @@ public interface ISearch extends Seriali
*
* @param the search continuations
*/
- public abstract void setSearchContinuations( SearchContinuation[] searchContinuations );
-
+ void setSearchContinuations( SearchContinuation[] searchContinuations );
}
Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearchResult.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearchResult.java?rev=1694538&r1=1694537&r2=1694538&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearchResult.java (original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearchResult.java Thu Aug 6 16:45:20 2015
@@ -37,13 +37,12 @@ import org.eclipse.core.runtime.IAdaptab
public interface ISearchResult extends Serializable, IAdaptable, EntryPropertyPageProvider,
ConnectionPropertyPageProvider
{
-
/**
* Returns the Dn of the search result entry.
*
* @return the Dn of the search result entry.
*/
- public Dn getDn();
+ Dn getDn();
/**
@@ -51,7 +50,7 @@ public interface ISearchResult extends S
*
* @return the attributes of the search result entry.
*/
- public IAttribute[] getAttributes();
+ IAttribute[] getAttributes();
/**
@@ -61,7 +60,7 @@ public interface ISearchResult extends S
* the attribute description of the attribute to return
* @return the attribute with the given description or null.
*/
- public IAttribute getAttribute( String attributeDescription );
+ IAttribute getAttribute( String attributeDescription );
/**
@@ -71,7 +70,7 @@ public interface ISearchResult extends S
* the description of the attribute to return
* @return the AttributeHierachie with the given description or null.
*/
- public AttributeHierarchy getAttributeWithSubtypes( String attributeDescription );
+ AttributeHierarchy getAttributeWithSubtypes( String attributeDescription );
/**
@@ -79,7 +78,7 @@ public interface ISearchResult extends S
*
* @return the entry
*/
- public IEntry getEntry();
+ IEntry getEntry();
/**
@@ -87,7 +86,7 @@ public interface ISearchResult extends S
*
* @return the search
*/
- public ISearch getSearch();
+ ISearch getSearch();
/**
@@ -95,6 +94,5 @@ public interface ISearchResult extends S
*
* @param search the search
*/
- public void setSearch( ISearch search );
-
+ void setSearch( ISearch search );
}