Skip to content

Commit 128ca51

Browse files
committed
B add method without typo, deprecate other one
1 parent c1021bb commit 128ca51

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

approvaltests-util/src/main/java/com/spun/util/SystemUtils.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@
77

88
public class SystemUtils
99
{
10+
/**
11+
* @deprecated Use {@link #isWindowsEnvironment} instead.
12+
* For example inline your usage of this method.
13+
*/
14+
@Deprecated
1015
public static boolean isWindowsEnviroment()
16+
{
17+
return isWindowsEnvironment();
18+
}
19+
public static boolean isWindowsEnvironment()
1120
{
1221
return "\\".equals(File.separator);
1322
}

0 commit comments

Comments
 (0)