1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

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

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());
}
}