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 {
7878 }
7979
8080 String externalLibraryIndexUrl = System .getProperty ("LIBRARY_INDEX_URL" );
81- if (externalLibraryIndexUrl != null && !"" . equals ( externalLibraryIndexUrl )) {
81+ if (externalLibraryIndexUrl != null && !externalLibraryIndexUrl . isEmpty ( )) {
8282 LIBRARY_INDEX_URL = externalLibraryIndexUrl ;
8383 String externalLibraryIndexUrlGz = System .getProperty ("LIBRARY_INDEX_URL_GZ" );
84- if (externalLibraryIndexUrlGz != null && !"" . equals ( externalLibraryIndexUrlGz )) {
84+ if (externalLibraryIndexUrlGz != null && !externalLibraryIndexUrlGz . isEmpty ( )) {
8585 LIBRARY_INDEX_URL_GZ = externalLibraryIndexUrlGz ;
8686 } else {
8787 LIBRARY_INDEX_URL_GZ = "" ;
You can’t perform that action at this time.
0 commit comments