merge with branch 1.x

This commit is contained in:
Sebastian Sdorra
2017-06-25 19:01:33 +02:00
81 changed files with 4617 additions and 1319 deletions

View File

@@ -75,4 +75,13 @@ public final class FileBlob implements Blob {
return new FileOutputStream(file);
}
@Override
public long getSize() {
if (this.file.isFile()) {
return this.file.length();
} else {
//to sum up all other cases, in which we cannot determine a size
return -1;
}
}
}