Skip to content

Commit

Permalink
Delete CORE_POINTS_RESERVED_MAX check logic (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
splhack committed Dec 14, 2021
1 parent 8551be7 commit 1ed72ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@

public interface Dispatcher {

// Maximum number of core points that can be assigned to a frame
public static final int CORE_POINTS_RESERVED_MAX = 2400;

// The default number of core points assigned to a frame, if no core
// point value is specified
public static final int CORE_POINTS_RESERVED_DEFAULT = 100;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,7 @@ private void determineMinimumCores(Element layerTag, LayerDetail layer) {
corePoints = Integer.valueOf(cores);
}

if (corePoints < Dispatcher.CORE_POINTS_RESERVED_MIN
|| corePoints > Dispatcher.CORE_POINTS_RESERVED_MAX) {
if (corePoints < Dispatcher.CORE_POINTS_RESERVED_MIN) {
corePoints = Dispatcher.CORE_POINTS_RESERVED_DEFAULT;
}

Expand Down

0 comments on commit 1ed72ad

Please sign in to comment.