Update activedirectory-auth plugin to use SystemUtil.

Add 32-bit detection method to SystemUtil.
This commit is contained in:
David M. Carr
2010-12-26 17:45:30 -05:00
parent ed0ae9d977
commit fed3b73192
2 changed files with 73 additions and 56 deletions

View File

@@ -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"));
}
}