From bbdf1a0b3066321344c86f91e38fe1fd42df2c8e Mon Sep 17 00:00:00 2001 From: hypercubus <hypercubus> Date: Tue, 31 Aug 2004 21:12:15 +0000 Subject: [PATCH] removing some annoying spaces on blank lines --- .../src/net/i2p/apps/systray/UrlLauncher.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/systray/java/src/net/i2p/apps/systray/UrlLauncher.java b/apps/systray/java/src/net/i2p/apps/systray/UrlLauncher.java index cc7d5cf653..31ca6e8779 100644 --- a/apps/systray/java/src/net/i2p/apps/systray/UrlLauncher.java +++ b/apps/systray/java/src/net/i2p/apps/systray/UrlLauncher.java @@ -47,17 +47,17 @@ public class UrlLauncher { if (validateUrlFormat(url)) { if (osName.toLowerCase().indexOf("mac") > -1) { if (osName.toLowerCase().startsWith("mac os x")) { - + if (_shellCommand.executeSilentAndWaitTimed("safari " + url, 5)) return true; - + } else { return false; } - + if (_shellCommand.executeSilentAndWaitTimed("iexplore " + url, 5)) return true; - + } else if (osName.startsWith("Windows")) { if (_shellCommand.executeSilentAndWaitTimed("rundll32 url.dll,FileProtocolHandler " + url, 5)) @@ -65,12 +65,12 @@ public class UrlLauncher { if (_shellCommand.executeSilentAndWaitTimed("\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" " + url, 5)) return true; - + } else { - + if (_shellCommand.executeSilentAndWaitTimed("konqueror " + url, 5)) return true; - + if (_shellCommand.executeSilentAndWaitTimed("galeon " + url, 5)) return true; } @@ -80,16 +80,16 @@ public class UrlLauncher { if (_shellCommand.executeSilentAndWaitTimed("firefox " + url, 5)) return true; - + if (_shellCommand.executeSilentAndWaitTimed("mozilla " + url, 5)) return true; - + if (_shellCommand.executeSilentAndWaitTimed("netscape " + url, 5)) return true; - + if (_shellCommand.executeSilentAndWaitTimed("links " + url, 5)) return true; - + if (_shellCommand.executeSilentAndWaitTimed("lynx " + url, 5)) return true; } -- GitLab