* Fixed bug with Redstone Controller
* Fixed LICENSE
This commit is contained in:
parent
0f6521db1a
commit
e41b3845d2
2
LICENSE
2
LICENSE
|
|
@ -1,4 +1,4 @@
|
|||
Even though the source code is public, the following license:
|
||||
Even though the source code is public, the following license applies:
|
||||
|
||||
This software, its source code and its binaries are Copyright © 2018 Nicolas BARBOTIN and are the intellectual property of the author.
|
||||
It may be not be reproduced under any circumstances except for personal, private use as long as it remains in its unaltered, unedited form.
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ public abstract class Util {
|
|||
}
|
||||
|
||||
public static String addProtocol(String str) {
|
||||
return str.contains("://") ? str : ("http://" + str);
|
||||
return (str.isEmpty() || str.contains("://")) ? str : ("http://" + str);
|
||||
}
|
||||
|
||||
public static boolean isFileNameInvalid(String fname) {
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 212 B |
Loading…
Reference in New Issue
Block a user