Skip to content
Snippets Groups Projects
Commit 6337fd07 authored by alfredo's avatar alfredo
Browse files

lowercase

parent 759f294c
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ public class Domain { ...@@ -110,7 +110,7 @@ public class Domain {
System.out.println("domain running on " + Helper.getSelfURL()); System.out.println("domain running on " + Helper.getSelfURL());
} catch (Exception e) { } catch (Exception e) {
System.out.println("Failed to create HTTPS server on port " + port + Helper.getSelfURL()); System.out.println("Failed to create HTTPS server on " + Helper.getSelfURL());
e.printStackTrace(); e.printStackTrace();
} }
...@@ -127,7 +127,7 @@ public class Domain { ...@@ -127,7 +127,7 @@ public class Domain {
} }
for (int i = 0; i < s1.length; i++) { for (int i = 0; i < s1.length; i++) {
String remZip = s1[i].substring(0, s1[i].length() - 4); String remZip = s1[i].substring(0, s1[i].length() - 4);
if(remZip.contains("-debian9-BB")){ if(remZip.toLowerCase().contains("-debian9-BB")){
String[] curr = remZip.split("-"); String[] curr = remZip.split("-");
String a = curr[0]; String a = curr[0];
String b = curr[1]; String b = curr[1];
...@@ -138,7 +138,7 @@ public class Domain { ...@@ -138,7 +138,7 @@ public class Domain {
e.printStackTrace(); e.printStackTrace();
} }
} }
if(remZip.contains("_Arduino1wifi")){ if(remZip.toLowerCase().contains("_arduino1wifi")){
String[] curr = remZip.split("_"); String[] curr = remZip.split("_");
String a = curr[0]; String a = curr[0];
// vogliamo solo Arduino1 // vogliamo solo Arduino1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment