Revision 5742
Added by berkley over 13 years ago
AccessControlList.java | ||
---|---|---|
636 | 636 |
/* Get the int value of READ, WRITE, CHMOD or ALL. */ |
637 | 637 |
public static int intValue(String permission) { |
638 | 638 |
|
639 |
int thisPermission = -1;
|
|
639 |
int thisPermission = 0;
|
|
640 | 640 |
try |
641 | 641 |
{ |
642 | 642 |
thisPermission = new Integer(permission).intValue(); |
Also available in: Unified diff
fixed bug where comparisons didn't work because of my change this morning