diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2009-12-09 22:28:34 +0000 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2009-12-09 22:28:34 +0000 |
commit | f633a69ac4bf0bf0777fce732f4ba77072116268 (patch) | |
tree | 397d99c7277d841033c0a2cb7e3c5c035568f0cd /src/net/java/sip/communicator/launcher | |
parent | 895e2de836d0d24dbcbd5c3c0e95663b35634fb8 (diff) | |
download | jitsi-f633a69ac4bf0bf0777fce732f4ba77072116268.zip jitsi-f633a69ac4bf0bf0777fce732f4ba77072116268.tar.gz jitsi-f633a69ac4bf0bf0777fce732f4ba77072116268.tar.bz2 |
Commits the refactorying of OSUtils contributed by Sebastien Vicent which uses static final fields instead of methods.
Diffstat (limited to 'src/net/java/sip/communicator/launcher')
-rw-r--r-- | src/net/java/sip/communicator/launcher/BrowserLauncher.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/launcher/BrowserLauncher.java b/src/net/java/sip/communicator/launcher/BrowserLauncher.java index 86bf7ed..b10a54f 100644 --- a/src/net/java/sip/communicator/launcher/BrowserLauncher.java +++ b/src/net/java/sip/communicator/launcher/BrowserLauncher.java @@ -39,11 +39,11 @@ public class BrowserLauncher { try { - if (OSUtils.isMac()) + if (OSUtils.IS_MAC) { FileManager.openURL(url); } - else if (OSUtils.isWindows()) + else if (OSUtils.IS_WINDOWS) { Runtime.getRuntime().exec( "rundll32 url.dll,FileProtocolHandler " + url); |