mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-15 03:44:20 +01:00
Use var instead of explicit types
This commit is contained in:
@@ -20,8 +20,8 @@ public class UploadStickerPackCommand implements LocalCommand {
|
||||
@Override
|
||||
public int handleCommand(final Namespace ns, final Manager m) {
|
||||
try {
|
||||
File path = new File(ns.getString("path"));
|
||||
String url = m.uploadStickerPack(path);
|
||||
var path = new File(ns.getString("path"));
|
||||
var url = m.uploadStickerPack(path);
|
||||
System.out.println(url);
|
||||
return 0;
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user