directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [2/8] git commit: Removed some compilation warning
Date Wed, 29 Oct 2014 05:10:23 GMT
Removed some compilation warning

Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/df0dea2e
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/df0dea2e
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/df0dea2e

Branch: refs/heads/master
Commit: df0dea2e6ce1ce730fbd768234c21bebd405a265
Parents: 0fb5d42
Author: Emmanuel L├ęcharny <elecharny@symas.com>
Authored: Wed Oct 29 05:58:01 2014 +0100
Committer: Emmanuel L├ęcharny <elecharny@symas.com>
Committed: Wed Oct 29 05:58:01 2014 +0100

----------------------------------------------------------------------
 .../org/apache/directory/fortress/core/ldap/group/Group.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/df0dea2e/src/main/java/org/apache/directory/fortress/core/ldap/group/Group.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/ldap/group/Group.java b/src/main/java/org/apache/directory/fortress/core/ldap/group/Group.java
index 2488205..87689ec 100755
--- a/src/main/java/org/apache/directory/fortress/core/ldap/group/Group.java
+++ b/src/main/java/org/apache/directory/fortress/core/ldap/group/Group.java
@@ -47,6 +47,7 @@ import java.util.StringTokenizer;
     })
 public class Group extends FortEntity implements Serializable
 {
+    private static final long serialVersionUID = 1L;
     private String name;
     private String description;
     private String protocol;
@@ -251,7 +252,8 @@ public class Group extends FortEntity implements Serializable
         {
             // reset the existing properties stored in this entity.
             props = new Props();
-            for ( Enumeration e = properties.propertyNames(); e.hasMoreElements(); )
+            
+            for ( Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();
)
             {
                 // This LDAP attr is stored as a name-value pair separated by a ':'.
                 String key = ( String ) e.nextElement();


Mime
View raw message