mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-04-01 18:00:12 +02:00
Update activedirectory-auth plugin to use SystemUtil.
Add 32-bit detection method to SystemUtil.
This commit is contained in:
@@ -29,8 +29,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
package sonia.scm.util;
|
||||
|
||||
/**
|
||||
@@ -86,4 +84,9 @@ public class SystemUtil
|
||||
// windows
|
||||
return (os.indexOf("win") >= 0);
|
||||
}
|
||||
|
||||
public static boolean is32bit()
|
||||
{
|
||||
return "32".equals(System.getProperty("sun.arch.data.model"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user