Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Nov 2, 2024
1 parent c4b5ec0 commit 65e42ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public boolean isMetadataGroup() {
* in the following order: KEEP -> ADD -> REPLACE.
* Incorporate "minOccurs" and "maxOccurs" rules from ruleset to determine valid reimport modes.
*/
public void updateComparison() {
public void updateSelection() {
switch (selection) {
case KEEP:
if (canAdd()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
partialSubmit="true"
process="@this"
title="#{msgs['dataEditor.updateMetadata.modeKeep']}"
actionListener="#{comparison.updateComparison()}"
actionListener="#{comparison.updateSelection()}"
update="metadataUpdateTable:@row(#{rowIdx})"
rendered="#{comparison.selection eq reimportEnum.KEEP}"
icon="fa fa-long-arrow-left fa-lg">
Expand All @@ -121,7 +121,7 @@
partialSubmit="true"
process="@this"
title="#{msgs['dataEditor.updateMetadata.modeExtend']}"
actionListener="#{comparison.updateComparison()}"
actionListener="#{comparison.updateSelection()}"
update="metadataUpdateTable:@row(#{rowIdx})"
rendered="#{comparison.selection eq reimportEnum.ADD}"
icon="fa fa-arrows-h fa-lg">
Expand All @@ -135,7 +135,7 @@
partialSubmit="true"
process="@this"
title="#{msgs['dataEditor.updateMetadata.modeReplace']}"
actionListener="#{comparison.updateComparison()}"
actionListener="#{comparison.updateSelection()}"
update="metadataUpdateTable:@row(#{rowIdx})"
rendered="#{comparison.selection eq reimportEnum.REPLACE}"
icon="fa fa-long-arrow-right fa-lg">
Expand Down

0 comments on commit 65e42ce

Please sign in to comment.