diff options
Diffstat (limited to 'java/com/google/gerrit/server/restapi/project/CreateLabel.java')
-rw-r--r-- | java/com/google/gerrit/server/restapi/project/CreateLabel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/gerrit/server/restapi/project/CreateLabel.java b/java/com/google/gerrit/server/restapi/project/CreateLabel.java index ad32f4f738..ad79a14fc0 100644 --- a/java/com/google/gerrit/server/restapi/project/CreateLabel.java +++ b/java/com/google/gerrit/server/restapi/project/CreateLabel.java @@ -123,6 +123,7 @@ public class CreateLabel * @throws BadRequestException if there was invalid data in the input * @throws ResourceConflictException if the label cannot be created due to a conflict */ + @SuppressWarnings("deprecation") public LabelType createLabel(ProjectConfig config, String label, LabelDefinitionInput input) throws BadRequestException, ResourceConflictException { if (config.getLabelSections().containsKey(label)) { |