disco: avoid boxing to Integer when not necessary

This commit is contained in:
Florian Schmaus 2020-03-13 16:41:27 +01:00
parent 39a833166a
commit 4beaae7d6a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/**
*
* Copyright 2018 Florian Schmaus.
* Copyright 2018-2020 Florian Schmaus.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -47,7 +47,7 @@ public abstract class DiscoInfoLookupShortcutMechanism implements Comparable<Dis
@Override
public final int compareTo(DiscoInfoLookupShortcutMechanism other) {
Integer ourPriority = getPriority();
int ourPriority = getPriority();
return Integer.compare(ourPriority, other.getPriority());
}
}