directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r514478 - in /directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model: DN.java RDN.java RDNPart.java
Date Sun, 04 Mar 2007 21:29:32 GMT
Author: seelmann
Date: Sun Mar  4 13:29:31 2007
New Revision: 514478

URL: http://svn.apache.org/viewvc?view=rev&rev=514478
Log:
Fixed problems with case sensitive caching

Modified:
    directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/DN.java
    directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDN.java
    directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDNPart.java

Modified: directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/DN.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/DN.java?view=diff&rev=514478&r1=514477&r2=514478
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/DN.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/DN.java
Sun Mar  4 13:29:31 2007
@@ -231,11 +231,11 @@
 
 
     /**
-     * Returns the string representation of this DN, but with
-     * the numerid OIDs instead of the types.
+     * Returns the string representation of this DN, but 
+     * lowercased and with the numerid OIDs instead of the types.
      *
      * @param schema the schema
-     * @return the OID-fizied string representation of this DN
+     * @return the lowercased and OID-fizied string representation of this DN
      */
     public String toOidString( Schema schema )
     {

Modified: directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDN.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDN.java?view=diff&rev=514478&r1=514477&r2=514478
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDN.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDN.java
Sun Mar  4 13:29:31 2007
@@ -310,11 +310,11 @@
 
 
     /**
-     * Returns the string representation of this RDN, but with
-     * the numerid OIDs instead of the types.
+     * Returns the string representation of this RDN, but 
+     * lowercased and with the numerid OIDs instead of the types.
      *
      * @param schema the schema
-     * @return the OID-fizied string representation of this RDN
+     * @return the lowercased and OID-fizied string representation of this RDN
      */
     public String toOidString( Schema schema )
     {

Modified: directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDNPart.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDNPart.java?view=diff&rev=514478&r1=514477&r2=514478
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDNPart.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-browser-core/src/main/java/org/apache/directory/ldapstudio/browser/core/model/RDNPart.java
Sun Mar  4 13:29:31 2007
@@ -254,16 +254,16 @@
 
 
     /**
-     * Returns the string representation of this RDNPart, but with
-     * the numerid OID instead of the type.
+     * Returns the string representation of this RDNPart, but 
+     * lowercased and with the numerid OID instead of the type.
      *
      * @param schema the schema
-     * @return the OID-fizied string representation of this RDNPart
+     * @return the lowercased and OID-fizied string representation of this RDNPart
      */
     public String toOidString( Schema schema )
     {
         String oid = schema != null ? schema.getAttributeTypeDescription( getType() ).getNumericOID()
: getType();
-        return oid + "=" + getValue(); //$NON-NLS-1$
+        return oid.toLowerCase() + "=" + getValue().toLowerCase(); //$NON-NLS-1$
     }
 
 }



Mime
View raw message