Set enum as static

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150411 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-06-16 14:07:16 +00:00
parent 482b18640e
commit 908cfb5fae
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public abstract class SecurityContextMapper {
} }
} }
public enum SecurityType { public static enum SecurityType {
ROLE("Role"), USER("User"); ROLE("Role"), USER("User");
private final String name; private final String name;
@ -100,7 +100,7 @@ public abstract class SecurityContextMapper {
} }
} }
public enum PermissionMode { public static enum PermissionMode {
READER("Reader"), WRITER("Writer"); READER("Reader"), WRITER("Writer");
private final String name; private final String name;