squid:LowerCaseLongSuffixCheck - Long suffix "L" should be upper case

This commit is contained in:
George Kankava 2016-01-28 19:06:41 +04:00
parent b93deddda3
commit e937dda556
3 changed files with 33 additions and 33 deletions

View file

@ -7,28 +7,28 @@ package org.keycloak.federation.ldap.mappers.msad;
*/ */
public class UserAccountControl { public class UserAccountControl {
public static final long SCRIPT = 0x0001l; public static final long SCRIPT = 0x0001L;
public static final long ACCOUNTDISABLE = 0x0002l; public static final long ACCOUNTDISABLE = 0x0002L;
public static final long HOMEDIR_REQUIRED = 0x0008l; public static final long HOMEDIR_REQUIRED = 0x0008L;
public static final long LOCKOUT = 0x0010l; public static final long LOCKOUT = 0x0010L;
public static final long PASSWD_NOTREQD = 0x0020l; public static final long PASSWD_NOTREQD = 0x0020L;
public static final long PASSWD_CANT_CHANGE = 0x0040l; public static final long PASSWD_CANT_CHANGE = 0x0040L;
public static final long ENCRYPTED_TEXT_PWD_ALLOWED = 0x0080l; public static final long ENCRYPTED_TEXT_PWD_ALLOWED = 0x0080L;
public static final long TEMP_DUPLICATE_ACCOUNT = 0x0100l; public static final long TEMP_DUPLICATE_ACCOUNT = 0x0100L;
public static final long NORMAL_ACCOUNT = 0x0200l; public static final long NORMAL_ACCOUNT = 0x0200L;
public static final long INTERDOMAIN_TRUST_ACCOUNT = 0x0800l; public static final long INTERDOMAIN_TRUST_ACCOUNT = 0x0800L;
public static final long WORKSTATION_TRUST_ACCOUNT = 0x1000l; public static final long WORKSTATION_TRUST_ACCOUNT = 0x1000L;
public static final long SERVER_TRUST_ACCOUNT = 0x2000l; public static final long SERVER_TRUST_ACCOUNT = 0x2000L;
public static final long DONT_EXPIRE_PASSWORD = 0x10000l; public static final long DONT_EXPIRE_PASSWORD = 0x10000L;
public static final long MNS_LOGON_ACCOUNT = 0x20000l; public static final long MNS_LOGON_ACCOUNT = 0x20000L;
public static final long SMARTCARD_REQUIRED = 0x40000l; public static final long SMARTCARD_REQUIRED = 0x40000L;
public static final long TRUSTED_FOR_DELEGATION = 0x80000l; public static final long TRUSTED_FOR_DELEGATION = 0x80000L;
public static final long NOT_DELEGATED = 0x100000l; public static final long NOT_DELEGATED = 0x100000L;
public static final long USE_DES_KEY_ONLY = 0x200000l; public static final long USE_DES_KEY_ONLY = 0x200000L;
public static final long DONT_REQ_PREAUTH = 0x400000l; public static final long DONT_REQ_PREAUTH = 0x400000L;
public static final long PASSWORD_EXPIRED = 0x800000l; public static final long PASSWORD_EXPIRED = 0x800000L;
public static final long TRUSTED_TO_AUTH_FOR_DELEGATION = 0x1000000l; public static final long TRUSTED_TO_AUTH_FOR_DELEGATION = 0x1000000L;
public static final long PARTIAL_SECRETS_ACCOUNT = 0x04000000l; public static final long PARTIAL_SECRETS_ACCOUNT = 0x04000000L;
private long value; private long value;

View file

@ -264,7 +264,7 @@ public class RealmAdapter implements RealmModel {
@Override @Override
public long getQuickLoginCheckMilliSeconds() { public long getQuickLoginCheckMilliSeconds() {
return getAttribute("quickLoginCheckMilliSeconds", 0l); return getAttribute("quickLoginCheckMilliSeconds", 0L);
} }
@Override @Override

View file

@ -5,16 +5,16 @@ package org.keycloak.models;
* @version $Revision: 1 $ * @version $Revision: 1 $
*/ */
public class ClaimMask { public class ClaimMask {
public static final long NAME = 0x01l; public static final long NAME = 0x01L;
public static final long USERNAME = 0x02l; public static final long USERNAME = 0x02L;
public static final long PROFILE = 0x04l; public static final long PROFILE = 0x04L;
public static final long PICTURE = 0x08l; public static final long PICTURE = 0x08L;
public static final long WEBSITE = 0x10l; public static final long WEBSITE = 0x10L;
public static final long EMAIL = 0x20l; public static final long EMAIL = 0x20L;
public static final long GENDER = 0x40l; public static final long GENDER = 0x40L;
public static final long LOCALE = 0x80l; public static final long LOCALE = 0x80L;
public static final long ADDRESS = 0x100l; public static final long ADDRESS = 0x100L;
public static final long PHONE = 0x200l; public static final long PHONE = 0x200L;
public static final long ALL = NAME | USERNAME | PROFILE | PICTURE | WEBSITE | EMAIL | GENDER | LOCALE | ADDRESS | PHONE; public static final long ALL = NAME | USERNAME | PROFILE | PICTURE | WEBSITE | EMAIL | GENDER | LOCALE | ADDRESS | PHONE;