directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r945212 - /directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Tag.java
Date Mon, 17 May 2010 15:36:41 GMT
Author: felixk
Date: Mon May 17 15:36:41 2010
New Revision: 945212

URL: http://svn.apache.org/viewvc?rev=945212&view=rev
Log:
Fix vulnerability by making constants final

Modified:
    directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Tag.java

Modified: directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Tag.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Tag.java?rev=945212&r1=945211&r2=945212&view=diff
==============================================================================
--- directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Tag.java
(original)
+++ directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/Tag.java
Mon May 17 15:36:41 2010
@@ -41,10 +41,10 @@ public class Tag
     private int type;
 
     /** This int represents a START tag */
-    public static int START = 0;
+    public static final int START = 0;
 
     /** This int represents a END tag */
-    public static int END = 1;
+    public static final int END = 1;
 
 
     /**



Mime
View raw message