remove debug output

This commit is contained in:
2016-12-23 19:28:11 +01:00
parent 580733d267
commit c5f0e8514c
3 changed files with 2 additions and 5 deletions

View File

@@ -88,6 +88,7 @@ public class PdbWriterManager implements AutoCloseable {
final Day day = new Day(date);
if (!day.equals(lastDay)) {
LOGGER.info("finished with " + day);
closeFiles();
lastDay = day;
}
@@ -115,7 +116,6 @@ public class PdbWriterManager implements AutoCloseable {
}
private void closeFiles() {
LOGGER.info("closing all files");
final Iterator<Entry<Key, PdbWriter>> it = map.entrySet().iterator();
while (it.hasNext()) {

View File

@@ -167,14 +167,11 @@ public class TagsToFile implements CollectionUtils {
final Document document = db.getDocument(tagSpecificStorageFolder.toFile());
if (document == null) {
System.err.println("adding new folder: " + tagSpecificStorageFolder);
db.addDocument(tagSpecificStorageFolder.toFile());
tags.forEach((fieldName, value) -> {
TagsUtils.setProperty(db, tagSpecificStorageFolder.toFile(), fieldName, value);
});
} else {
System.out.println("using existing folder: " + tagSpecificStorageFolder);
}
result = new PdbFile(day, storageFile, tags);