You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by tr...@apache.org on 2005/09/23 17:21:20 UTC
svn commit: r291135 -
/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/
Author: trustin
Date: Fri Sep 23 08:21:13 2005
New Revision: 291135
URL: http://svn.apache.org/viewcvs?rev=291135&view=rev
Log:
* Fixed compiler warnings in subtree package.
* Removed usused private fields.
* Added keyword substitution property to source code files.
Modified:
directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/BaseSubtreeSpecification.java (contents, props changed)
directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/ReusableAntlrSubtreeSpecificationLexer.java (props changed)
directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/ReusableAntlrSubtreeSpecificationParser.java (props changed)
directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecification.java (contents, props changed)
directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationModifier.java (contents, props changed)
directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationParser.java (contents, props changed)
Modified: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/BaseSubtreeSpecification.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/BaseSubtreeSpecification.java?rev=291135&r1=291134&r2=291135&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/BaseSubtreeSpecification.java (original)
+++ directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/BaseSubtreeSpecification.java Fri Sep 23 08:21:13 2005
@@ -33,9 +33,6 @@
*/
public class BaseSubtreeSpecification implements SubtreeSpecification
{
- /** the empty string */
- private final static String EMPTY = "";
-
/** the subtree base relative to the administration point */
private final Name base;
@@ -148,7 +145,7 @@
/**
* Creates a subtree which may be a refinement filter where all aspects of the
* specification can be set. If the refinement filter is null this defaults to
- * {@link BaseSubtreeSpecification#BaseSubtreeSpecification(String, int, int, Set, Set)}.
+ * {@link #BaseSubtreeSpecification(Name, int, int, Set, Set)}.
*
* @param base the base of the subtree relative to the administrative point
* @param minBaseDistance the minimum distance below base to start including entries
Propchange: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/BaseSubtreeSpecification.java
------------------------------------------------------------------------------
svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
Propchange: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/ReusableAntlrSubtreeSpecificationLexer.java
------------------------------------------------------------------------------
svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
Propchange: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/ReusableAntlrSubtreeSpecificationParser.java
------------------------------------------------------------------------------
svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
Modified: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecification.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecification.java?rev=291135&r1=291134&r2=291135&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecification.java (original)
+++ directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecification.java Fri Sep 23 08:21:13 2005
@@ -94,7 +94,7 @@
* the maximum distance - which makes no sense other than to denote the lack
* of an upper limit.
*
- * @see UNBOUNDED_MAX
+ * @see #UNBOUNDED_MAX
* @return the number of arcs relative to the base after which entries are excluded
*/
int getMaxBaseDistance();
Propchange: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecification.java
------------------------------------------------------------------------------
svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
Modified: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationModifier.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationModifier.java?rev=291135&r1=291134&r2=291135&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationModifier.java (original)
+++ directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationModifier.java Fri Sep 23 08:21:13 2005
@@ -34,9 +34,6 @@
*/
public class SubtreeSpecificationModifier
{
- /** the empty string */
- private final static String EMPTY = "";
-
/** the subtree base relative to the administration point */
private Name base = new LdapName();
Propchange: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationModifier.java
------------------------------------------------------------------------------
svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision
Modified: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationParser.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationParser.java?rev=291135&r1=291134&r2=291135&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationParser.java (original)
+++ directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationParser.java Fri Sep 23 08:21:13 2005
@@ -17,7 +17,6 @@
package org.apache.ldap.common.subtree;
-import java.io.IOException;
import java.io.StringReader;
import java.text.ParseException;
@@ -95,9 +94,8 @@
* @param spec the specification to be parsed
* @return the specification bean
* @throws ParseException if there are any recognition errors (bad syntax)
- * @throws IOException if there is a problem with underlying streams
*/
- public synchronized SubtreeSpecification parse( String spec ) throws ParseException, IOException
+ public synchronized SubtreeSpecification parse( String spec ) throws ParseException
{
SubtreeSpecification ss = null;
Propchange: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/subtree/SubtreeSpecificationParser.java
------------------------------------------------------------------------------
svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision