Skip to content

Commit 3ed3ac8

Browse files
author
Evaldas
committed
Change var to true type
1 parent 088d724 commit 3ed3ac8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WebApp/src/main/java/ev/projects/webapp/schedulers/CaseStatsScheduler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ public CaseStats findBiggestCase() {
4444
List<Case> cases = caseService.getAllWithDocuments();
4545
long maxSize = 0;
4646
Case biggestCase = null;
47-
for(var aCase : cases) {
47+
for(Case aCase : cases) {
4848
long size = 0;
4949
if(aCase == null) {
5050
continue;
5151
}
52-
for(var document : aCase.getDocuments()) {
52+
for(Document document : aCase.getDocuments()) {
5353
if(document == null) {
5454
continue;
5555
}
5656
size += document.getFileSize();
57-
for(var attachment : documentService.getAllAttachmentsByDocument(document.getID())) {
57+
for(Document attachment : documentService.getAllAttachmentsByDocument(document.getID())) {
5858
if(attachment == null) {
5959
continue;
6060
}

0 commit comments

Comments
 (0)