Tag colors (client)

This commit is contained in:
jendib
2013-08-08 01:38:30 +02:00
parent b2ab313d11
commit 6c347ff826
20 changed files with 802 additions and 27 deletions
@@ -110,7 +110,7 @@ public class TagResource extends BaseResource {
// Validate input data
name = ValidationUtil.validateLength(name, "name", 1, 36, false);
color = ValidationUtil.validateLength(color, "color", 6, 6, false);
ValidationUtil.validateHexColor(color, "color", true);
// Get the tag
TagDao tagDao = new TagDao();
@@ -151,7 +151,7 @@ public class TagResource extends BaseResource {
// Validate input data
name = ValidationUtil.validateLength(name, "name", 1, 36, true);
color = ValidationUtil.validateLength(color, "color", 6, 6, true);
ValidationUtil.validateHexColor(color, "color", true);
// Get the tag
TagDao tagDao = new TagDao();