Update SetProjectTagsCommand.java
This commit is contained in:
parent
790fc2ffaa
commit
522641e84f
@ -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\" }");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user