directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r944574 - in /directory/shared/trunk: ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/ ldap/src/main/java/org/apache/directory/shared/ldap/
Date Sat, 15 May 2010 05:48:17 GMT
Author: felixk
Date: Sat May 15 05:48:17 2010
New Revision: 944574

URL: http://svn.apache.org/viewvc?rev=944574&view=rev
Log:
>From PMD report "Do not hard code IPv4 or IPv6 addresses"

SuppressWarnings as Schema definitions may look like a hard coded IP address ...

Modified:
    directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/MetaSchemaConstants.java
    directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/constants

Modified: directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/MetaSchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/MetaSchemaConstants.java?rev=944574&r1=944573&r2=944574&view=diff
==============================================================================
--- directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/MetaSchemaConstants.java
(original)
+++ directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/MetaSchemaConstants.java
Sat May 15 05:48:17 2010
@@ -26,6 +26,8 @@ package org.apache.directory.shared.ldap
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
+//This will suppress PMD.AvoidUsingHardCodedIP warnings in this class
+@SuppressWarnings("PMD.AvoidUsingHardCodedIP")
 public interface MetaSchemaConstants
 {
     String SCHEMA_NAME = "apachemeta";

Modified: directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java?rev=944574&r1=944573&r2=944574&view=diff
==============================================================================
--- directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
(original)
+++ directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
Sat May 15 05:48:17 2010
@@ -28,6 +28,8 @@ package org.apache.directory.shared.ldap
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev:$
  */
+// This will suppress PMD.AvoidUsingHardCodedIP warnings in this class
+@SuppressWarnings("PMD.AvoidUsingHardCodedIP")
 public interface SchemaConstants
 {
     // SchemaEntity names

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/constants
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/constants?rev=944574&r1=944573&r2=944574&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/constants (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/constants Sat
May 15 05:48:17 2010
@@ -26,6 +26,8 @@ package org.apache.directory.server.cons
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
+// This will suppress PMD.AvoidUsingHardCodedIP warnings in this class
+@SuppressWarnings("PMD.AvoidUsingHardCodedIP")
 public interface MetaSchemaConstants
 {
     String SCHEMA_NAME = "apachemeta";



Mime
View raw message