Skip to content

Commit ffd7081

Browse files
committed
chore: remove references to legacy issue trackers
1 parent 033b0b7 commit ffd7081

File tree

8 files changed

+7
-13
lines changed

8 files changed

+7
-13
lines changed

core/src/main/java/ai/timefold/solver/core/config/localsearch/LocalSearchType.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public enum LocalSearchType {
2626
*/
2727
public static @NonNull LocalSearchType @NonNull [] getBluePrintTypes() {
2828
return Arrays.stream(values())
29-
// Workaround for https://issues.redhat.com/browse/PLANNER-1294
3029
.filter(localSearchType -> localSearchType != SIMULATED_ANNEALING)
3130
.toArray(LocalSearchType[]::new);
3231
}

core/src/main/java/ai/timefold/solver/core/impl/heuristic/selector/list/RandomSubListSelector.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ public long getValueCount() {
106106

107107
@Override
108108
public Iterator<SubList> iterator() {
109-
// TODO make this incremental https://issues.redhat.com/browse/PLANNER-2507
110109
var biggestListSize = 0;
111110
for (var entity : ((Iterable<Object>) entitySelector::endingIterator)) {
112111
biggestListSize = Math.max(biggestListSize, listVariableDescriptor.getUnpinnedSubListSize(entity));

core/src/main/java/ai/timefold/solver/core/impl/score/director/incremental/IncrementalScoreDirector.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ public void afterVariableChanged(VariableDescriptor<Solution_> variableDescripto
154154
super.afterVariableChanged(variableDescriptor, entity);
155155
}
156156

157-
// TODO Add support for list variable (https://issues.redhat.com/browse/PLANNER-2711).
158-
159157
@Override
160158
public void beforeListVariableElementAssigned(ListVariableDescriptor<Solution_> variableDescriptor, Object element) {
161159
incrementalScoreCalculator.beforeListVariableElementAssigned(variableDescriptor.getVariableName(), element);

core/src/main/java/ai/timefold/solver/core/impl/util/CollectionUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public static <E> List<E> copy(List<E> originalList, boolean reverse) {
2828
/*
2929
* Some move implementations on the hot path rely heavily on list reversal.
3030
* As such, the following implementation was benchmarked to perform as well as possible for lists of all sizes.
31-
* See PLANNER-2808 for details.
3231
*/
3332
switch (originalList.size()) {
3433
case 0 -> {

core/src/test/java/ai/timefold/solver/core/impl/score/stream/bavet/BavetAdvancedGroupByConstraintStreamTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ void filteredFromUniquePair() {
558558
InnerScoreDirector<TestdataLavishSolution, SimpleScore> scoreDirector =
559559
buildScoreDirector(factory -> factory.forEachUniquePair(TestdataLavishEntity.class,
560560
Joiners.equal(TestdataLavishEntity::getEntityGroup),
561-
Joiners.filtering((e1, e2) -> !e1.getCode().contains("My"))) // Filtering() caused PLANNER-2139.
561+
Joiners.filtering((e1, e2) -> !e1.getCode().contains("My")))
562562
.penalize(SimpleScore.ONE)
563563
.asConstraint(TEST_CONSTRAINT_NAME));
564564

@@ -575,7 +575,7 @@ void filteredFromUniquePair() {
575575
}
576576

577577
@TestTemplate
578-
void groupByThenJoinThenGroupBy() { // PLANNER-2270
578+
void groupByThenJoinThenGroupBy() {
579579
assertThatCode(() -> buildScoreDirector(factory -> factory.forEach(TestdataLavishEntity.class)
580580
.groupBy(TestdataLavishEntity::getEntityGroup, TestdataLavishEntity::getValue)
581581
.join(TestdataLavishEntity.class)

core/src/test/java/ai/timefold/solver/core/impl/score/stream/collector/bi/InnerBiConstraintCollectorsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ public void toMap() {
656656
}
657657

658658
@Test
659-
public void toMapDuplicates() { // PLANNER-2271
659+
public void toMapDuplicates() {
660660
BiConstraintCollector<String, Integer, ?, Map<String, Set<Integer>>> collector =
661661
ConstraintCollectors.toMap((a, b) -> a, (a, b) -> b);
662662
Object container = collector.supplier().get();

core/src/test/java/ai/timefold/solver/core/impl/score/stream/common/AbstractAdvancedGroupByConstraintStreamTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ void filteredFromUniquePair() {
557557
InnerScoreDirector<TestdataLavishSolution, SimpleScore> scoreDirector =
558558
buildScoreDirector(factory -> factory.forEachUniquePair(TestdataLavishEntity.class,
559559
equal(TestdataLavishEntity::getEntityGroup),
560-
filtering((e1, e2) -> !e1.getCode().contains("My"))) // Filtering() caused PLANNER-2139.
560+
filtering((e1, e2) -> !e1.getCode().contains("My")))
561561
.penalize(SimpleScore.ONE)
562562
.asConstraint(TEST_CONSTRAINT_NAME));
563563

@@ -574,7 +574,7 @@ void filteredFromUniquePair() {
574574
}
575575

576576
@TestTemplate
577-
void groupByThenJoinThenGroupBy() { // PLANNER-2270
577+
void groupByThenJoinThenGroupBy() {
578578
assertThatCode(() -> buildScoreDirector(factory -> factory.forEach(TestdataLavishEntity.class)
579579
.groupBy(TestdataLavishEntity::getEntityGroup, TestdataLavishEntity::getValue)
580580
.join(TestdataLavishEntity.class)
@@ -586,7 +586,7 @@ void groupByThenJoinThenGroupBy() { // PLANNER-2270
586586
}
587587

588588
@TestTemplate
589-
void reusedStreamsInJoin() { // PLANNER-2884
589+
void reusedStreamsInJoin() {
590590
TestdataLavishSolution solution = TestdataLavishSolution.generateSolution(1, 1, 2, 4);
591591

592592
ConstraintProvider cp = constraintFactory -> {

tools/benchmark/src/main/java/ai/timefold/solver/benchmark/impl/statistic/StatisticUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,13 @@ public static double[] determineStandardDeviationDoubles(
5555
return standardDeviationDoubles;
5656
}
5757

58-
// TODO Do the locale formatting in benchmarkReport.html.ftl - https://issues.redhat.com/browse/PLANNER-169
5958
public static String getStandardDeviationString(double[] standardDeviationDoubles) {
6059
if (standardDeviationDoubles == null) {
6160
return null;
6261
}
6362
StringBuilder standardDeviationString = new StringBuilder(standardDeviationDoubles.length * 9);
6463
// Abbreviate to 2 decimals
65-
// We don't use a local sensitive DecimalFormat, because other Scores don't use it either (see PLANNER-169)
64+
// We don't use a local sensitive DecimalFormat, because other Scores don't use it either
6665
DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols(Locale.US);
6766
DecimalFormat exponentialFormat = new DecimalFormat("0.0#E0", decimalFormatSymbols);
6867
DecimalFormat decimalFormat = new DecimalFormat("0.0#", decimalFormatSymbols);

0 commit comments

Comments
 (0)