VIVO-235 Reduce "deprecation" messages in the build

The benefit of making these instances deprecated is very small. The annoyance of having deprecation messages in the build is very real.
This commit is contained in:
j2blake 2013-08-01 16:04:42 -04:00
parent 036d20b892
commit 56b963d8bc

View file

@ -78,25 +78,19 @@ public class SimplePermission extends Permission {
"UseSparqlQueryPage");
// ----------------------------------------------------------------------
// These deprecated instances are "catch all" permissions to cover
// poorly defined groups of actions until better definitions were found.
// Don't add usages of these, and remove existing usages where
// possible.
// These instances are "catch all" permissions to cover poorly defined
// groups of actions until better definitions were found. Don't add usages
// of these, and remove existing usages where possible.
// ----------------------------------------------------------------------
@Deprecated
public static final SimplePermission USE_BASIC_AJAX_CONTROLLERS = new SimplePermission(
"UseBasicAjaxControllers");
@Deprecated
public static final SimplePermission USE_MISCELLANEOUS_ADMIN_PAGES = new SimplePermission(
"UseMiscellaneousAdminPages");
@Deprecated
public static final SimplePermission USE_MISCELLANEOUS_CURATOR_PAGES = new SimplePermission(
"UseMiscellaneousCuratorPages");
@Deprecated
public static final SimplePermission USE_MISCELLANEOUS_EDITOR_PAGES = new SimplePermission(
"UseMiscellaneousEditorPages");
@Deprecated
public static final SimplePermission USE_MISCELLANEOUS_PAGES = new SimplePermission(
"UseMiscellaneousPages");