Fix some inspection issues

This commit is contained in:
AsamK 2020-03-21 14:41:11 +01:00
parent 0dc6b1327e
commit d7f7c84e6c
6 changed files with 35 additions and 45 deletions

View file

@ -21,7 +21,7 @@ public class RemovePinCommand implements LocalCommand {
return 1;
}
try {
m.setRegistrationLockPin(Optional.<String>absent());
m.setRegistrationLockPin(Optional.absent());
return 0;
} catch (IOException e) {
System.err.println("Remove pin error: " + e.getMessage());