@@ -256,7 +256,6 @@ private void updateFilters() {
256
256
}
257
257
// Sort and filter
258
258
Comparator <BlockRec > sorter ;
259
- System .out .println ("activeFilter: " + activeFilter );
260
259
261
260
switch (this .activeFilter ) {
262
261
case COUNT -> {
@@ -279,26 +278,17 @@ private void updateFilters() {
279
278
blockLimit = Objects .requireNonNullElse (this .addon .getBlockConfig ().getLimit (o2 .key ()), 0 );
280
279
int o2Count = blockLimit > 0 ? Math .min (o2 .value (), blockLimit ) : o2 .value ();
281
280
282
- System .out .println ("o1.key(): " + o1 .key ());
283
- System .out .println ("o1.key() class: " + o1 .key ().getClass ());
284
- System .out .println ("o2.key(): " + o2 .key ());
285
-
286
281
long o1Value = (long ) o1Count
287
282
* this .addon .getBlockConfig ().getBlockValues ().getOrDefault (o1 .key ().toString ().toLowerCase (Locale .ENGLISH ), 0 );
288
283
long o2Value = (long ) o2Count
289
284
* this .addon .getBlockConfig ().getBlockValues ().getOrDefault (o2 .key ().toString ().toLowerCase (Locale .ENGLISH ), 0 );
290
285
291
- System .out .println ("o1Value: " + o1Value );
292
- System .out .println ("o2Value: " + o2Value );
293
-
294
286
if (o1Value == o2Value ) {
295
- System .out .println ("has same value" );
296
287
String o1Name = Utils .prettifyObject (o1 .key (), this .user );
297
288
String o2Name = Utils .prettifyObject (o2 .key (), this .user );
298
289
299
290
return String .CASE_INSENSITIVE_ORDER .compare (o1Name , o2Name );
300
291
} else {
301
- System .out .println ("compare long" );
302
292
return Long .compare (o2Value , o1Value );
303
293
}
304
294
};
0 commit comments