From a061136ad6ee2b836a9e782650e2558e7535b05b Mon Sep 17 00:00:00 2001 From: Matthias Ronge Date: Fri, 25 Jun 2021 15:30:41 +0200 Subject: [PATCH] Fix Codacy --- .../access/PhysicalDivisionMetsReferrerStorage.java | 6 +++--- .../kitodo/production/forms/dataeditor/GalleryPanel.java | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Kitodo-DataFormat/src/main/java/org/kitodo/dataformat/access/PhysicalDivisionMetsReferrerStorage.java b/Kitodo-DataFormat/src/main/java/org/kitodo/dataformat/access/PhysicalDivisionMetsReferrerStorage.java index 29febd3c693..a2f18921a2d 100644 --- a/Kitodo-DataFormat/src/main/java/org/kitodo/dataformat/access/PhysicalDivisionMetsReferrerStorage.java +++ b/Kitodo-DataFormat/src/main/java/org/kitodo/dataformat/access/PhysicalDivisionMetsReferrerStorage.java @@ -18,7 +18,7 @@ import org.kitodo.api.dataformat.PhysicalDivision; /** - * A memory brick to preserve the METS IDs of the physical division div and the media + * A memory brick to preserve the METS IDs of the physical div and the media * files. */ class PhysicalDivisionMetsReferrerStorage extends PhysicalDivision { @@ -30,7 +30,7 @@ class PhysicalDivisionMetsReferrerStorage extends PhysicalDivision { /** * Passthrough function for reading the file identifier to the URI. - * + * * @param fLocatXmlElementAccess * Access object on f locat * @return Access object on f locat @@ -42,7 +42,7 @@ FLocatXmlElementAccess storeFileId(FLocatXmlElementAccess fLocatXmlElementAccess /** * Returns the ID of file. - * + * * @param key * URI whose ID to return * @return the ID of file diff --git a/Kitodo/src/main/java/org/kitodo/production/forms/dataeditor/GalleryPanel.java b/Kitodo/src/main/java/org/kitodo/production/forms/dataeditor/GalleryPanel.java index 4023d35c962..b20e54e45c5 100644 --- a/Kitodo/src/main/java/org/kitodo/production/forms/dataeditor/GalleryPanel.java +++ b/Kitodo/src/main/java/org/kitodo/production/forms/dataeditor/GalleryPanel.java @@ -853,7 +853,8 @@ private void rangeSelect(GalleryMediaContent currentSelection, GalleryStripe par } if (dataEditor.getSelectedMedia().isEmpty()) { - dataEditor.getSelectedMedia().add(new ImmutablePair<>(currentSelection.getView().getPhysicalDivision(), parentStripe.getStructure())); + dataEditor.getSelectedMedia().add( + new ImmutablePair<>(currentSelection.getView().getPhysicalDivision(), parentStripe.getStructure())); return; }