Revision 4468
Added by daigle over 16 years ago
src/edu/ucsb/nceas/metacat/AccessRule.java | ||
---|---|---|
36 | 36 |
public class AccessRule |
37 | 37 |
{ |
38 | 38 |
private String permissionType = null; |
39 |
private Vector principal = new Vector();
|
|
39 |
private Vector<String> principal = new Vector<String>();
|
|
40 | 40 |
private int permission = 0; |
41 | 41 |
private Logger logMetacat = Logger.getLogger(AccessRule.class); |
42 | 42 |
|
... | ... | |
58 | 58 |
} |
59 | 59 |
|
60 | 60 |
/** Get the principle vector */ |
61 |
public Vector getPrincipal() |
|
61 |
public Vector<String> getPrincipal()
|
|
62 | 62 |
{ |
63 | 63 |
return principal; |
64 | 64 |
} |
Also available in: Unified diff
Add some generics typing