directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r952209 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ServerSearchResult.java
Date Mon, 07 Jun 2010 13:00:55 GMT
Author: felixk
Date: Mon Jun  7 13:00:55 2010
New Revision: 952209

URL: http://svn.apache.org/viewvc?rev=952209&view=rev
Log:
Remove unused parameters from constructors

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ServerSearchResult.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ServerSearchResult.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ServerSearchResult.java?rev=952209&r1=952208&r2=952209&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ServerSearchResult.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ServerSearchResult.java
Mon Jun  7 13:00:55 2010
@@ -45,15 +45,15 @@ public class ServerSearchResult
     private Object object;
     
 
-    public ServerSearchResult( DN dn, Object obj, Entry serverEntry )
-    {
-        this.dn = dn;
-        this.serverEntry = serverEntry;
-        this.serverEntry.setDn( dn );
-    }
-
-
-    public ServerSearchResult( DN dn, Object obj, Entry serverEntry, boolean isRelative )
+    /**
+     * 
+     * Creates a new instance of ServerSearchResult.
+     *
+     * @param dn Distinguished name for this result
+     * @param serverEntry The associated entry 
+     * @param isRelative Tells if the name is relative to the target context
+     */
+    public ServerSearchResult( DN dn, Entry serverEntry, boolean isRelative )
     {
         this.dn = dn;
         this.serverEntry = serverEntry;
@@ -62,15 +62,14 @@ public class ServerSearchResult
     }
 
 
-    public ServerSearchResult( DN dn, String className, Object obj, Entry serverEntry )
-    {
-        this.dn = dn;
-        this.serverEntry = serverEntry;
-        this.serverEntry.setDn( dn );
-    }
-
-
-    public ServerSearchResult( DN dn, String className, Object obj, Entry serverEntry, boolean
isRelative ) 
+    /**
+     * 
+     * Creates a new instance of ServerSearchResult.
+     *
+     * @param dn Distinguished name for this result
+     * @param serverEntry The associated entry
+     */
+    public ServerSearchResult( DN dn, Entry serverEntry ) 
     {
         this.dn = dn;
         this.serverEntry = serverEntry;



Mime
View raw message