File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
arduino-core/src/cc/arduino Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ public class Constants {
78
78
}
79
79
80
80
String externalLibraryIndexUrl = System .getProperty ("LIBRARY_INDEX_URL" );
81
- if (externalLibraryIndexUrl != null && !"" . equals ( externalLibraryIndexUrl )) {
81
+ if (externalLibraryIndexUrl != null && !externalLibraryIndexUrl . isEmpty ( )) {
82
82
LIBRARY_INDEX_URL = externalLibraryIndexUrl ;
83
83
String externalLibraryIndexUrlGz = System .getProperty ("LIBRARY_INDEX_URL_GZ" );
84
- if (externalLibraryIndexUrlGz != null && !"" . equals ( externalLibraryIndexUrlGz )) {
84
+ if (externalLibraryIndexUrlGz != null && !externalLibraryIndexUrlGz . isEmpty ( )) {
85
85
LIBRARY_INDEX_URL_GZ = externalLibraryIndexUrlGz ;
86
86
} else {
87
87
LIBRARY_INDEX_URL_GZ = "" ;
You can’t perform that action at this time.
0 commit comments