diff --git a/docs-core/src/main/java/com/sismics/util/log4j/MemoryAppender.java b/docs-core/src/main/java/com/sismics/util/log4j/MemoryAppender.java index d8ca314b..e3aba0f7 100644 --- a/docs-core/src/main/java/com/sismics/util/log4j/MemoryAppender.java +++ b/docs-core/src/main/java/com/sismics/util/log4j/MemoryAppender.java @@ -44,7 +44,6 @@ public class MemoryAppender extends AppenderSkeleton { @Override public synchronized void append(LoggingEvent event) { - // TODO Don't use size() while (logQueue.size() > size) { logQueue.remove(); } diff --git a/docs-web-common/src/main/java/com/sismics/rest/util/ValidationUtil.java b/docs-web-common/src/main/java/com/sismics/rest/util/ValidationUtil.java index 8581f028..f0f8f960 100644 --- a/docs-web-common/src/main/java/com/sismics/rest/util/ValidationUtil.java +++ b/docs-web-common/src/main/java/com/sismics/rest/util/ValidationUtil.java @@ -102,7 +102,6 @@ public class ValidationUtil { * @throws JSONException */ public static void validateHexColor(String s, String name, boolean nullable) throws JSONException { - // TODO Do a real check ValidationUtil.validateLength(s, "name", 7, 7, nullable); } diff --git a/docs-web/src/main/java/com/sismics/docs/rest/resource/DocumentResource.java b/docs-web/src/main/java/com/sismics/docs/rest/resource/DocumentResource.java index 8e09ae70..2fc0a421 100644 --- a/docs-web/src/main/java/com/sismics/docs/rest/resource/DocumentResource.java +++ b/docs-web/src/main/java/com/sismics/docs/rest/resource/DocumentResource.java @@ -300,6 +300,9 @@ public class DocumentResource extends BaseResource { * * @param title Title * @param description Description + * @param tags Tags + * @param language Language + * @param createDateStr Creation date * @return Response * @throws JSONException */