Subversion Repository Public Repository

litesoft

Diff Revisions 626 vs 948 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/support/useragent/nonpublic/UserAgentWebKit.java

Diff revisions: vs.
  @@ -1,7 +1,6 @@
1 1 package com.temp.client.foundation.support.useragent.nonpublic;
2 2
3 - import com.temp.client.foundation.support.useragent.BrowserFamily;
4 - import com.temp.client.foundation.support.useragent.UserAgent;
3 + import com.temp.client.foundation.support.useragent.*;
5 4
6 5 /**
7 6 * Represents Chrome & Safari - supporting code the UserAgent
  @@ -10,7 +9,7 @@
10 9 */
11 10 public class UserAgentWebKit extends UserAgent {
12 11 public UserAgentWebKit() {
13 - super(BrowserFamily.WebKit, determineSpecificVendor());
12 + super( BrowserFamily.WebKit, determineSpecificVendor() );
14 13 }
15 14
16 15 // Chrome & Safari
  @@ -20,6 +19,6 @@
20 19 // 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.46 Safari/525.19'
21 20 private static String determineSpecificVendor() {
22 21 String zUserAgent = getBrowserUserAgent();
23 - return zUserAgent.contains(" Chrome/") ? CHROME : SAFARI;
22 + return zUserAgent.contains( " Chrome/" ) ? CHROME : SAFARI;
24 23 }
25 24 }