I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit bbdf1a0b authored by hypercubus's avatar hypercubus Committed by zzz
Browse files

removing some annoying spaces on blank lines

parent bcd52308
No related branches found
No related tags found
No related merge requests found
...@@ -47,17 +47,17 @@ public class UrlLauncher { ...@@ -47,17 +47,17 @@ public class UrlLauncher {
if (validateUrlFormat(url)) { if (validateUrlFormat(url)) {
if (osName.toLowerCase().indexOf("mac") > -1) { if (osName.toLowerCase().indexOf("mac") > -1) {
if (osName.toLowerCase().startsWith("mac os x")) { if (osName.toLowerCase().startsWith("mac os x")) {
if (_shellCommand.executeSilentAndWaitTimed("safari " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("safari " + url, 5))
return true; return true;
} else { } else {
return false; return false;
} }
if (_shellCommand.executeSilentAndWaitTimed("iexplore " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("iexplore " + url, 5))
return true; return true;
} else if (osName.startsWith("Windows")) { } else if (osName.startsWith("Windows")) {
if (_shellCommand.executeSilentAndWaitTimed("rundll32 url.dll,FileProtocolHandler " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("rundll32 url.dll,FileProtocolHandler " + url, 5))
...@@ -65,12 +65,12 @@ public class UrlLauncher { ...@@ -65,12 +65,12 @@ public class UrlLauncher {
if (_shellCommand.executeSilentAndWaitTimed("\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" " + url, 5))
return true; return true;
} else { } else {
if (_shellCommand.executeSilentAndWaitTimed("konqueror " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("konqueror " + url, 5))
return true; return true;
if (_shellCommand.executeSilentAndWaitTimed("galeon " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("galeon " + url, 5))
return true; return true;
} }
...@@ -80,16 +80,16 @@ public class UrlLauncher { ...@@ -80,16 +80,16 @@ public class UrlLauncher {
if (_shellCommand.executeSilentAndWaitTimed("firefox " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("firefox " + url, 5))
return true; return true;
if (_shellCommand.executeSilentAndWaitTimed("mozilla " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("mozilla " + url, 5))
return true; return true;
if (_shellCommand.executeSilentAndWaitTimed("netscape " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("netscape " + url, 5))
return true; return true;
if (_shellCommand.executeSilentAndWaitTimed("links " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("links " + url, 5))
return true; return true;
if (_shellCommand.executeSilentAndWaitTimed("lynx " + url, 5)) if (_shellCommand.executeSilentAndWaitTimed("lynx " + url, 5))
return true; return true;
} }
......
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