remove debug output
This commit is contained in:
@@ -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()) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user