directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r809019 - in /directory: apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/ apacheds/branches/apacheds-schema/schema-extras/ shared/branches/shared-schema/ldap/src/main/java/org/apache/directo...
Date Fri, 28 Aug 2009 20:29:04 GMT
Author: akarasulu
Date: Fri Aug 28 20:29:04 2009
New Revision: 809019

URL: http://svn.apache.org/viewvc?rev=809019&view=rev
Log:
moving inner classes in producers for normalizers and comparators that are referred to in
the FQCN attribute of LDIF entries

Added:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/CachingDeepTrimNormalizer.java
Removed:
    directory/apacheds/branches/apacheds-schema/schema-extras/
Modified:
    directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.1.ldif
    directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.2.ldif
    directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.3.ldif

Modified: directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.1.ldif
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.1.ldif?rev=809019&r1=809018&r2=809019&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.1.ldif
(original)
+++ directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.1.ldif
Fri Aug 28 20:29:04 2009
@@ -7,5 +7,5 @@
 objectclass: top
 entrycsn: 20090818052728.093000Z#000000#000#000000
 m-oid: 1.3.6.1.4.1.1466.109.114.1
-m-fqcn: org.apache.directory.server.schema.bootstrap.SystemComparatorProducer$De
- epTrimCachingNormalizingComparator
+m-fqcn: org.apache.directory.shared.ldap.schema.comparator.DeepTrimCachingNormal
+ izerComparator

Modified: directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.2.ldif
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.2.ldif?rev=809019&r1=809018&r2=809019&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.2.ldif
(original)
+++ directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.2.ldif
Fri Aug 28 20:29:04 2009
@@ -7,5 +7,5 @@
 objectclass: top
 entrycsn: 20090818052728.029000Z#000000#000#000000
 m-oid: 1.3.6.1.4.1.1466.109.114.2
-m-fqcn: org.apache.directory.server.schema.bootstrap.SystemComparatorProducer$De
- epTrimToLowerCachingNormalizingComparator
+m-fqcn: org.apache.directory.shared.ldap.schema.comparators.DeepTrimToLowerCachi
+ ngNormalizerComparator

Modified: directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.3.ldif
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.3.ldif?rev=809019&r1=809018&r2=809019&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.3.ldif
(original)
+++ directory/apacheds/branches/apacheds-schema/schema-data/src/main/resources/schema/schema/system/comparators/1.3.6.1.4.1.1466.109.114.3.ldif
Fri Aug 28 20:29:04 2009
@@ -7,5 +7,5 @@
 objectclass: top
 entrycsn: 20090818052728.145000Z#000000#000#000000
 m-oid: 1.3.6.1.4.1.1466.109.114.3
-m-fqcn: org.apache.directory.server.schema.bootstrap.SystemComparatorProducer$De
- epTrimToLowerCachingNormalizingComparator
+m-fqcn: org.apache.directory.shared.ldap.schema.comparators.DeepTrimToLowerCachi
+ ngNormalizerComparator

Added: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/CachingDeepTrimNormalizer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/CachingDeepTrimNormalizer.java?rev=809019&view=auto
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/CachingDeepTrimNormalizer.java
(added)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/normalizers/CachingDeepTrimNormalizer.java
Fri Aug 28 20:29:04 2009
@@ -0,0 +1,42 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.schema.normalizers;
+
+
+/**
+ * A deep trimming normalizer that caches normalizations to prevent repeat
+ * normalizations from occurring needlessly.  Try to use this sparing for only
+ * those kinds of attributeTypes using this Normalizer's matchingRule while 
+ * requiring heavy parsing activity.  This way there's some advantage to caching 
+ * normalized values.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class CachingDeepTrimNormalizer extends CachingNormalizer
+{
+    /** serial version UID */
+    private static final long serialVersionUID = -206263185305284269L;
+
+    public CachingDeepTrimNormalizer()
+    {
+        super( new DeepTrimNormalizer() );
+    }
+}



Mime
View raw message