FINERACT-2421: Refractor redundant and some deprecated code as per new Java 21 style (Phase 3)
This commit is contained in:
+2
-4
@@ -101,9 +101,7 @@ public class DocumentWritePlatformServiceJpaRepositoryImpl implements DocumentWr
|
||||
final DocumentCommand documentCommand = new DocumentCommand(null, null, entityType, entityId, name, fileName, fileSize, mimeType,
|
||||
description, null);
|
||||
|
||||
final Long documentId = createDocument(documentCommand, inputStream);
|
||||
|
||||
return documentId;
|
||||
return createDocument(documentCommand, inputStream);
|
||||
|
||||
}
|
||||
|
||||
@@ -196,7 +194,7 @@ public class DocumentWritePlatformServiceJpaRepositoryImpl implements DocumentWr
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name().toString().toLowerCase();
|
||||
return name().toLowerCase();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user