File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WebApp/src/main/java/ev/projects/webapp/schedulers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,17 @@ public CaseStats findBiggestCase() {
44
44
List <Case > cases = caseService .getAllWithDocuments ();
45
45
long maxSize = 0 ;
46
46
Case biggestCase = null ;
47
- for (var aCase : cases ) {
47
+ for (Case aCase : cases ) {
48
48
long size = 0 ;
49
49
if (aCase == null ) {
50
50
continue ;
51
51
}
52
- for (var document : aCase .getDocuments ()) {
52
+ for (Document document : aCase .getDocuments ()) {
53
53
if (document == null ) {
54
54
continue ;
55
55
}
56
56
size += document .getFileSize ();
57
- for (var attachment : documentService .getAllAttachmentsByDocument (document .getID ())) {
57
+ for (Document attachment : documentService .getAllAttachmentsByDocument (document .getID ())) {
58
58
if (attachment == null ) {
59
59
continue ;
60
60
}
You can’t perform that action at this time.
0 commit comments