Update SetProjectTagsCommand.java

This commit is contained in:
Vinicius Barbosa 2019-10-25 11:03:41 -03:00 committed by GitHub
parent 790fc2ffaa
commit 522641e84f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ public class SetProjectTagsCommand extends Command {
tag = tag.trim(); tag = tag.trim();
if (!tag.isEmpty()) { if (!tag.isEmpty()) {
if (allProjectTags!= null) { if (allProjectTags != null) {
if (allProjectTags.containsKey(tag)) { if (allProjectTags.containsKey(tag)) {
allProjectTags.put(tag, allProjectTags.get(tag) + 1); allProjectTags.put(tag, allProjectTags.get(tag) + 1);
} else { } else {
@ -98,4 +98,4 @@ public class SetProjectTagsCommand extends Command {
respond(response, "{ \"code\" : \"ok\" }"); respond(response, "{ \"code\" : \"ok\" }");
} }
} }