You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2015/07/20 21:50:15 UTC

svn commit: r1692013 - in /directory/shared/trunk/ldap/schema/data/src: checkstyle/ checkstyle/suppressions.xml main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java

Author: seelmann
Date: Mon Jul 20 19:50:14 2015
New Revision: 1692013

URL: http://svn.apache.org/r1692013
Log:
Fix checkstyle violations

Added:
    directory/shared/trunk/ldap/schema/data/src/checkstyle/
    directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml   (with props)
Modified:
    directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java

Added: directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml?rev=1692013&view=auto
==============================================================================
--- directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml (added)
+++ directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml Mon Jul 20 19:50:14 2015
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<!--
+  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.
+-->
+
+<!DOCTYPE suppressions PUBLIC
+    "-//Puppy Crawl//DTD Suppressions 1.1//EN"
+    "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<suppressions>
+    <!-- We have some long files -->
+    <suppress files="org.apache.directory.api.ldap.schema.manager.impl.DefaultSchemaManager" checks="FileLength" />
+</suppressions>

Propchange: directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/shared/trunk/ldap/schema/data/src/checkstyle/suppressions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java?rev=1692013&r1=1692012&r2=1692013&view=diff
==============================================================================
--- directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java (original)
+++ directory/shared/trunk/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/manager/impl/DefaultSchemaManager.java Mon Jul 20 19:50:14 2015
@@ -1854,7 +1854,7 @@ public class DefaultSchemaManager implem
                 }
                 catch ( CloneNotSupportedException cnse )
                 {
-                    throw new LdapOtherException( cnse.getMessage() , cnse);
+                    throw new LdapOtherException( cnse.getMessage(), cnse );
                 }
 
                 // Inject the new SchemaObject in the cloned registries