Skip to content

Commit

Permalink
codacy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DRickard committed Nov 15, 2023
1 parent 2cc44a4 commit 91d9b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/edu/ucla/library/iiif/fester/CsvHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public int getIiifObjectTypeIndex() {
/**
* Sets the Object Type index position.
*
* @param aObjectTypeIndex The index position of the Object Type
* @param anIiifObjectTypeIndex The index position of the IIIF Object Type
* @return This CSV headers
*/
@JsonSetter
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/edu/ucla/library/iiif/fester/CsvParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public static ObjectType getObjectType(final String[] aRow, final CsvHeaders aCs
} else {
throw new CsvParsingException(MessageCodes.MFS_098, iiifObjectTypeIndex, Arrays.toString(aRow));
}
} else if (aCsvHeaders.hasObjectTypeIndex()) {
} else if (aCsvHeaders.hasObjectTypeIndex()) {
final int objectTypeIndex = aCsvHeaders.getObjectTypeIndex();

if (aRow.length > objectTypeIndex) {
Expand Down

0 comments on commit 91d9b36

Please sign in to comment.