Skip to content

Commit

Permalink
MARP-975 Handle Feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
tvtphuc-axonivy committed Dec 24, 2024
1 parent a5965e7 commit 75e0dfb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
import static com.axonivy.market.enums.DocumentField.SHORT_DESCRIPTIONS;
import static com.axonivy.market.enums.FileStatus.ADDED;
import static com.axonivy.market.enums.FileStatus.MODIFIED;
import static com.axonivy.market.util.VersionUtils.getPrefixOfVersion;
import static java.util.Optional.ofNullable;
import static org.apache.commons.lang3.StringUtils.EMPTY;

Expand Down Expand Up @@ -777,7 +776,7 @@ private String getCompatibilityRange(String productId) {
}
String maxVersion = splitVersion(versions.get(0)).concat(PLUS);
String minVersion = splitVersion(versions.get(versions.size() - 1));
return getPrefixOfVersion(minVersion).equals(getPrefixOfVersion(maxVersion)) ?
return VersionUtils.getPrefixOfVersion(minVersion).equals(VersionUtils.getPrefixOfVersion(maxVersion)) ?
minVersion.concat(PLUS) : String.format(COMPATIBILITY_RANGE_FORMAT, minVersion, maxVersion);
}).orElse(null);
}
Expand Down

0 comments on commit 75e0dfb

Please sign in to comment.