Files
vuze/vuze-commons-cli.patch

12 lines
617 B
Diff
Raw Permalink Normal View History

--- vuze-5.7.6.0/org/gudy/azureus2/ui/console/multiuser/commands/UserCommand.java 2024-05-02 15:07:49.721128563 +0200
+++ vuze-5.7.6.0/org/gudy/azureus2/ui/console/multiuser/commands/UserCommand.java 2024-05-02 15:10:57.132409335 +0200
@@ -183,7 +183,7 @@
UserProfile profile = new UserProfile(userName, userType);
profile.setPassword(password);
- String defaultSaveDirectory = commandLine.getOptionValue('d', null);
+ String defaultSaveDirectory = commandLine.getOptionValue('d', (String) null);
profile.setDefaultSaveDirectory(defaultSaveDirectory);
getUserManager().addUser(profile);