Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-ronge committed Jun 18, 2024
1 parent ba98129 commit 28eb9a9
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2584,7 +2584,7 @@ public void renameProcess(Process process, String newProcessTitle) throws IOExce
renameImageDirectories(process, newProcessTitle);
renameOcrDirectories(process, newProcessTitle);
renameDefinedDirectories(process, newProcessTitle);

process.setTitle(newProcessTitle);
}

Expand All @@ -2596,7 +2596,16 @@ private void renamePropertiesValuesForProcessTitle(List<Property> properties, St
}
}

// TODO: is it really a case that title is empty?
/**
* Removes properties with empty title.
*
* TODO: is it really a case that title is empty?
*
* @param properties
* property list to be checked
* @param process
* process from which the properties are to be deleted
*/
public void removePropertiesWithEmptyTitle(List<Property> properties, Process process) {
for (Property processProperty : properties) {
if (Objects.isNull(processProperty.getTitle()) || processProperty.getTitle().isEmpty()) {
Expand Down

0 comments on commit 28eb9a9

Please sign in to comment.