cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 8442bd8
Date Mon, 07 Sep 2015 06:06:12 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master b6e212f2c -> 8442bd87d


Fixing findbugs error due to PR #755 merge

issue: Boxing/unboxing to parse a primitive


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b69a69de
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b69a69de
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b69a69de

Branch: refs/heads/master
Commit: b69a69def7c9af29b0d0abfb530fa0a1a6e13b91
Parents: b6e212f
Author: Rajani Karuturi <rajani.karuturi@citrix.com>
Authored: Mon Sep 7 10:33:29 2015 +0530
Committer: Rajani Karuturi <rajani.karuturi@citrix.com>
Committed: Mon Sep 7 10:40:55 2015 +0530

----------------------------------------------------------------------
 .../ldap/src/org/apache/cloudstack/ldap/ADLdapUserManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b69a69de/plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/ADLdapUserManagerImpl.java
----------------------------------------------------------------------
diff --git a/plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/ADLdapUserManagerImpl.java
b/plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/ADLdapUserManagerImpl.java
index 5570084..0df638a 100644
--- a/plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/ADLdapUserManagerImpl.java
+++ b/plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/ADLdapUserManagerImpl.java
@@ -85,7 +85,7 @@ public class ADLdapUserManagerImpl extends OpenLdapUserManagerImpl implements
Ld
         boolean isDisabledUser = false;
         String userAccountControl = LdapUtils.getAttributeValue(result.getAttributes(), _ldapConfiguration.getUserAccountControlAttribute());
         if (userAccountControl != null) {
-            int control = Integer.valueOf(userAccountControl);
+            int control = Integer.parseInt(userAccountControl);
             // second bit represents disabled user flag in AD
             if ((control & 2) > 0) {
                 isDisabledUser = true;


Mime
View raw message