Skip to content

Commit

Permalink
Fix Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-ronge committed Aug 30, 2021
1 parent acbd0c3 commit a061136
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a061136

Please sign in to comment.