Skip to content

Commit 58afb36

Browse files
Minor
1 parent ba6ded5 commit 58afb36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/dev/vml/es/acm/core/repo/RepoResource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ private void saveFileInternal(Map<String, Object> properties, InputStream data,
566566
properties = new HashMap<>();
567567
}
568568
if (!properties.containsKey(JcrConstants.JCR_MIMETYPE)) {
569-
Map<String, Object> mutableProps = new HashMap<>(properties);
570-
mutableProps.put(JcrConstants.JCR_MIMETYPE, FILE_MIME_TYPE_DEFAULT);
571-
properties = mutableProps;
569+
Map<String, Object> propertiesMutable = new HashMap<>(properties);
570+
propertiesMutable.put(JcrConstants.JCR_MIMETYPE, FILE_MIME_TYPE_DEFAULT);
571+
properties = propertiesMutable;
572572
}
573573

574574
Resource mainResource = resolve();

0 commit comments

Comments
 (0)