From d450d6be794dfa51fe02133dff316dbd0fb0c084 Mon Sep 17 00:00:00 2001 From: Murilo Araujo Date: Mon, 2 Jun 2014 10:20:15 +0200 Subject: test --- Dozentenmodul/src/models/Links.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Dozentenmodul/src/models/Links.java') diff --git a/Dozentenmodul/src/models/Links.java b/Dozentenmodul/src/models/Links.java index 5490f3ad..b01d99e9 100644 --- a/Dozentenmodul/src/models/Links.java +++ b/Dozentenmodul/src/models/Links.java @@ -30,7 +30,6 @@ public class Links { if (os.indexOf( "Win" ) >= 0) { - // this doesn't support showing urls in the form of "page.html#nameLink" rt.exec( "rundll32 url.dll,FileProtocolHandler " + faq); } else if (os.indexOf( "Mac" ) >= 0) { @@ -44,7 +43,6 @@ public class Links { String[] browsers = {"epiphany", "firefox", "mozilla", "konqueror", "netscape","opera","links","lynx"}; - // Build a command string which looks like "browser1 "url" || browser2 "url" ||..." StringBuffer cmd = new StringBuffer(); for (int i=0; i= 0) { - - // this doesn't support showing urls in the form of "page.html#nameLink" + rt.exec( "rundll32 url.dll,FileProtocolHandler " + otrs); } else if (os.indexOf( "Mac" ) >= 0) { @@ -78,12 +75,9 @@ public static void openOTRS() { } else if (os.indexOf( "nix") >=0 || os.indexOf( "nux") >=0) { - // Do a best guess on unix until we get a platform independent way - // Build a list of browsers to try, in this order. String[] browsers = {"epiphany", "firefox", "mozilla", "konqueror", "netscape","opera","links","lynx"}; - // Build a command string which looks like "browser1 "url" || browser2 "url" ||..." StringBuffer cmd = new StringBuffer(); for (int i=0; i