Normalize private method names to camel-case.

This commit is contained in:
Gary Gregory 2017-11-15 21:06:36 -07:00
parent 721f3ef4aa
commit f7cbda6751
1 changed files with 42 additions and 42 deletions

View File

@ -1003,7 +1003,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_AIX = getOSMatchesName("AIX");
public static final boolean IS_OS_AIX = getOsMatchesName("AIX");
/**
* <p>
@ -1015,7 +1015,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_HP_UX = getOSMatchesName("HP-UX");
public static final boolean IS_OS_HP_UX = getOsMatchesName("HP-UX");
/**
* <p>
@ -1027,7 +1027,7 @@ public class SystemUtils {
*
* @since 3.3
*/
public static final boolean IS_OS_400 = getOSMatchesName("OS/400");
public static final boolean IS_OS_400 = getOsMatchesName("OS/400");
/**
* <p>
@ -1039,7 +1039,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_IRIX = getOSMatchesName("Irix");
public static final boolean IS_OS_IRIX = getOsMatchesName("Irix");
/**
* <p>
@ -1051,7 +1051,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_LINUX = getOSMatchesName("Linux") || getOSMatchesName("LINUX");
public static final boolean IS_OS_LINUX = getOsMatchesName("Linux") || getOsMatchesName("LINUX");
/**
* <p>
@ -1063,7 +1063,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_MAC = getOSMatchesName("Mac");
public static final boolean IS_OS_MAC = getOsMatchesName("Mac");
/**
* <p>
@ -1075,7 +1075,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_MAC_OSX = getOSMatchesName("Mac OS X");
public static final boolean IS_OS_MAC_OSX = getOsMatchesName("Mac OS X");
/**
* <p>
@ -1087,7 +1087,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_CHEETAH = getOSMatches("Mac OS X", "10.0");
public static final boolean IS_OS_MAC_OSX_CHEETAH = getOsMatches("Mac OS X", "10.0");
/**
* <p>
@ -1099,7 +1099,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_PUMA = getOSMatches("Mac OS X", "10.1");
public static final boolean IS_OS_MAC_OSX_PUMA = getOsMatches("Mac OS X", "10.1");
/**
* <p>
@ -1111,7 +1111,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_JAGUAR = getOSMatches("Mac OS X", "10.2");
public static final boolean IS_OS_MAC_OSX_JAGUAR = getOsMatches("Mac OS X", "10.2");
/**
* <p>
@ -1123,7 +1123,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_PANTHER = getOSMatches("Mac OS X", "10.3");
public static final boolean IS_OS_MAC_OSX_PANTHER = getOsMatches("Mac OS X", "10.3");
/**
* <p>
@ -1135,7 +1135,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_TIGER = getOSMatches("Mac OS X", "10.4");
public static final boolean IS_OS_MAC_OSX_TIGER = getOsMatches("Mac OS X", "10.4");
/**
* <p>
@ -1147,7 +1147,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_LEOPARD = getOSMatches("Mac OS X", "10.5");
public static final boolean IS_OS_MAC_OSX_LEOPARD = getOsMatches("Mac OS X", "10.5");
/**
* <p>
@ -1159,7 +1159,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_SNOW_LEOPARD = getOSMatches("Mac OS X", "10.6");
public static final boolean IS_OS_MAC_OSX_SNOW_LEOPARD = getOsMatches("Mac OS X", "10.6");
/**
* <p>
@ -1171,7 +1171,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_LION = getOSMatches("Mac OS X", "10.7");
public static final boolean IS_OS_MAC_OSX_LION = getOsMatches("Mac OS X", "10.7");
/**
* <p>
@ -1183,7 +1183,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_MOUNTAIN_LION = getOSMatches("Mac OS X", "10.8");
public static final boolean IS_OS_MAC_OSX_MOUNTAIN_LION = getOsMatches("Mac OS X", "10.8");
/**
* <p>
@ -1195,7 +1195,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_MAVERICKS = getOSMatches("Mac OS X", "10.9");
public static final boolean IS_OS_MAC_OSX_MAVERICKS = getOsMatches("Mac OS X", "10.9");
/**
* <p>
@ -1207,7 +1207,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_MAC_OSX_YOSEMITE = getOSMatches("Mac OS X", "10.10");
public static final boolean IS_OS_MAC_OSX_YOSEMITE = getOsMatches("Mac OS X", "10.10");
/**
* <p>
@ -1219,7 +1219,7 @@ public class SystemUtils {
*
* @since 3.5
*/
public static final boolean IS_OS_MAC_OSX_EL_CAPITAN = getOSMatches("Mac OS X", "10.11");
public static final boolean IS_OS_MAC_OSX_EL_CAPITAN = getOsMatches("Mac OS X", "10.11");
/**
* <p>
@ -1231,7 +1231,7 @@ public class SystemUtils {
*
* @since 3.1
*/
public static final boolean IS_OS_FREE_BSD = getOSMatchesName("FreeBSD");
public static final boolean IS_OS_FREE_BSD = getOsMatchesName("FreeBSD");
/**
* <p>
@ -1243,7 +1243,7 @@ public class SystemUtils {
*
* @since 3.1
*/
public static final boolean IS_OS_OPEN_BSD = getOSMatchesName("OpenBSD");
public static final boolean IS_OS_OPEN_BSD = getOsMatchesName("OpenBSD");
/**
* <p>
@ -1255,7 +1255,7 @@ public class SystemUtils {
*
* @since 3.1
*/
public static final boolean IS_OS_NET_BSD = getOSMatchesName("NetBSD");
public static final boolean IS_OS_NET_BSD = getOsMatchesName("NetBSD");
/**
* <p>
@ -1267,7 +1267,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_OS2 = getOSMatchesName("OS/2");
public static final boolean IS_OS_OS2 = getOsMatchesName("OS/2");
/**
* <p>
@ -1279,7 +1279,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_SOLARIS = getOSMatchesName("Solaris");
public static final boolean IS_OS_SOLARIS = getOsMatchesName("Solaris");
/**
* <p>
@ -1291,7 +1291,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_SUN_OS = getOSMatchesName("SunOS");
public static final boolean IS_OS_SUN_OS = getOsMatchesName("SunOS");
/**
* <p>
@ -1316,7 +1316,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS = getOSMatchesName(OS_NAME_WINDOWS_PREFIX);
public static final boolean IS_OS_WINDOWS = getOsMatchesName(OS_NAME_WINDOWS_PREFIX);
/**
* <p>
@ -1328,7 +1328,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS_2000 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 2000");
public static final boolean IS_OS_WINDOWS_2000 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 2000");
/**
* <p>
@ -1340,7 +1340,7 @@ public class SystemUtils {
*
* @since 3.1
*/
public static final boolean IS_OS_WINDOWS_2003 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 2003");
public static final boolean IS_OS_WINDOWS_2003 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 2003");
/**
* <p>
@ -1352,7 +1352,7 @@ public class SystemUtils {
*
* @since 3.1
*/
public static final boolean IS_OS_WINDOWS_2008 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " Server 2008");
public static final boolean IS_OS_WINDOWS_2008 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " Server 2008");
/**
* <p>
@ -1364,7 +1364,7 @@ public class SystemUtils {
*
* @since 3.4
*/
public static final boolean IS_OS_WINDOWS_2012 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " Server 2012");
public static final boolean IS_OS_WINDOWS_2012 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " Server 2012");
/**
* <p>
@ -1376,7 +1376,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS_95 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 95");
public static final boolean IS_OS_WINDOWS_95 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 95");
/**
* <p>
@ -1388,7 +1388,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS_98 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 98");
public static final boolean IS_OS_WINDOWS_98 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 98");
/**
* <p>
@ -1400,7 +1400,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS_ME = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " Me");
public static final boolean IS_OS_WINDOWS_ME = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " Me");
/**
* <p>
@ -1412,7 +1412,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS_NT = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " NT");
public static final boolean IS_OS_WINDOWS_NT = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " NT");
/**
* <p>
@ -1424,7 +1424,7 @@ public class SystemUtils {
*
* @since 2.0
*/
public static final boolean IS_OS_WINDOWS_XP = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " XP");
public static final boolean IS_OS_WINDOWS_XP = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " XP");
// -----------------------------------------------------------------------
/**
@ -1437,7 +1437,7 @@ public class SystemUtils {
*
* @since 2.4
*/
public static final boolean IS_OS_WINDOWS_VISTA = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " Vista");
public static final boolean IS_OS_WINDOWS_VISTA = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " Vista");
/**
* <p>
@ -1449,7 +1449,7 @@ public class SystemUtils {
*
* @since 3.0
*/
public static final boolean IS_OS_WINDOWS_7 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 7");
public static final boolean IS_OS_WINDOWS_7 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 7");
/**
* <p>
@ -1461,7 +1461,7 @@ public class SystemUtils {
*
* @since 3.2
*/
public static final boolean IS_OS_WINDOWS_8 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 8");
public static final boolean IS_OS_WINDOWS_8 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 8");
/**
* <p>
@ -1473,7 +1473,7 @@ public class SystemUtils {
*
* @since 3.5
*/
public static final boolean IS_OS_WINDOWS_10 = getOSMatchesName(OS_NAME_WINDOWS_PREFIX + " 10");
public static final boolean IS_OS_WINDOWS_10 = getOsMatchesName(OS_NAME_WINDOWS_PREFIX + " 10");
/**
* <p>
@ -1490,7 +1490,7 @@ public class SystemUtils {
// os.encoding = ISO8859_1
// os.name = z/OS
// os.version = 02.02.00
public static final boolean IS_OS_ZOS = getOSMatchesName("z/OS");
public static final boolean IS_OS_ZOS = getOsMatchesName("z/OS");
/**
* <p>
@ -1555,7 +1555,7 @@ public class SystemUtils {
* @param osVersionPrefix the prefix for the version
* @return true if matches, or false if not or can't determine
*/
private static boolean getOSMatches(final String osNamePrefix, final String osVersionPrefix) {
private static boolean getOsMatches(final String osNamePrefix, final String osVersionPrefix) {
return isOSMatch(OS_NAME, OS_VERSION, osNamePrefix, osVersionPrefix);
}
@ -1565,7 +1565,7 @@ public class SystemUtils {
* @param osNamePrefix the prefix for the os name
* @return true if matches, or false if not or can't determine
*/
private static boolean getOSMatchesName(final String osNamePrefix) {
private static boolean getOsMatchesName(final String osNamePrefix) {
return isOSNameMatch(OS_NAME, osNamePrefix);
}