mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-04-04 22:18:00 +00:00
Fix incorrect log method call
This commit is contained in:
parent
967fde8a93
commit
530a7eaf94
1 changed files with 3 additions and 3 deletions
|
|
@ -758,7 +758,7 @@ class LinuxNativeTypesMap {
|
|||
try {
|
||||
retval = INSTANCE.relAxesIDs[nativeID];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
log.warn("INSTANCE.relAxesIDis only " + INSTANCE.relAxesIDs.length + " long, so " + nativeID + " not contained");
|
||||
log.warning("INSTANCE.relAxesIDis only " + INSTANCE.relAxesIDs.length + " long, so " + nativeID + " not contained");
|
||||
//ignore, pretend it was null
|
||||
}
|
||||
if(retval == null) {
|
||||
|
|
@ -776,7 +776,7 @@ class LinuxNativeTypesMap {
|
|||
try {
|
||||
retval = INSTANCE.absAxesIDs[nativeID];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
log.warn("INSTANCE.absAxesIDs is only " + INSTANCE.absAxesIDs.length + " long, so " + nativeID + " not contained");
|
||||
log.warning("INSTANCE.absAxesIDs is only " + INSTANCE.absAxesIDs.length + " long, so " + nativeID + " not contained");
|
||||
//ignore, pretend it was null
|
||||
}
|
||||
if(retval == null) {
|
||||
|
|
@ -794,7 +794,7 @@ class LinuxNativeTypesMap {
|
|||
try {
|
||||
retval = INSTANCE.buttonIDs[nativeID];
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
log.warn("INSTANCE.buttonIDs is only " + INSTANCE.buttonIDs.length + " long, so " + nativeID + " not contained");
|
||||
log.warning("INSTANCE.buttonIDs is only " + INSTANCE.buttonIDs.length + " long, so " + nativeID + " not contained");
|
||||
//ignore, pretend it was null
|
||||
}
|
||||
if(retval == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue