You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (CompilerConfigurationFactoryother : factories) {
182
-
if (other != factory && factory.autoSelectionPriority == other.autoSelectionPriority) {
183
-
assert !other.name.equals(factory.name) :factory.getClass().getName() + " cannot have the same selector as " + other.getClass().getName() + ": " + factory.name;
184
-
assertother.autoSelectionPriority != factory.autoSelectionPriority : factory.getClass().getName() + " cannot have the same auto-selection priority as " +
185
-
other.getClass().getName() +
186
-
": " + factory.autoSelectionPriority;
182
+
if (other != factory) {
183
+
GraalError.guarantee(other.autoSelectionPriority !=factory.autoSelectionPriority, "%s cannot have the same auto-selection priority as %s: %s",
184
+
factory.getClass().getName(),
185
+
other.getClass().getName(),
186
+
factory.autoSelectionPriority);
187
187
}
188
188
}
189
189
returntrue;
190
190
}
191
191
192
192
/**
193
-
* @return sorted list of {@link CompilerConfigurationFactory}s
193
+
* @return list of {@link CompilerConfigurationFactory}s sorted by {@linkplain #compareTo
194
+
* decreasing auto-priority order}
194
195
*/
195
196
@SuppressFBWarnings(value = "DLS_DEAD_LOCAL_STORE", justification = "false positive on dead store to `candidates`")
0 commit comments