1
0
mirror of https://github.com/sismics/docs.git synced 2025-05-08 18:53:22 +02:00

Update TODO

This commit is contained in:
jendib 2016-03-13 23:18:33 +01:00
parent 0dda01269f
commit 31fff7e021
3 changed files with 1 additions and 13 deletions
docs-core/src/main/java/com/sismics
docs/core/util
util/log4j
docs-web/src/main/java/com/sismics/docs/rest/resource

@ -150,6 +150,7 @@ public class PdfUtil {
public static InputStream convertToPdf(List<File> fileList, boolean fitImageToPage, int margin) throws Exception {
// TODO PDF Export: Option to add a front page with:
// document title, document description, creator, date created, language,
// additional dublincore metadata (except relations)
// list of all files (and information if it is in this document or not)
// TODO PDF Export: Option to add the comments

@ -58,15 +58,4 @@ public class LogEntry {
public String getMessage() {
return message;
}
/**
* Compare the current log level with the provided one.
*
* @param level2 Comparison level
* @return 1 if level is greater than level2, -1 if level is lower than level2, and 0 if level equals to level2
*/
public int compareLevel(String level2) {
// TODO Auto-generated method stub
return 0;
}
}

@ -100,8 +100,6 @@ public class AppResource extends BaseResource {
if (!authenticate()) {
throw new ForbiddenClientException();
}
// TODO Change level by minLevel (returns all logs above)
// Get the memory appender
org.apache.log4j.Logger logger = org.apache.log4j.Logger.getRootLogger();
Appender appender = logger.getAppender("MEMORY");