Skip to content

Commit

Permalink
Improve naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kwahlin committed Nov 20, 2023
1 parent 30737eb commit ea7368e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ class Classification extends StuffSet {

def preferredDewey = findPreferredDewey(deweyOnMerged, allDewey)

deweyOnMerged.remove(preferredDewey)
def additionalDewey = deweyOnMerged - preferredDewey

mergedWork['classification'] = asList(mergedWork['classification']) - deweyOnMerged
mergedWork['additionalClassificationDdc'] = (asList(mergedWork['additionalClassificationDdc']) + deweyOnMerged).unique()
mergedWork['classification'] = asList(mergedWork['classification']) - additionalDewey
mergedWork['additionalClassificationDdc'] = (asList(mergedWork['additionalClassificationDdc']) + additionalDewey).unique()
}
}

Expand Down

0 comments on commit ea7368e

Please sign in to comment.