Subversion Repository Public Repository

litesoft

Diff Revisions 475 vs 903 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/nonpublic/NP_UserAgent_IE.java

Diff revisions: vs.
  @@ -9,10 +9,8 @@
9 9
10 10 public NP_UserAgent_IE()
11 11 {
12 - super( BrowserFamily.IE, "" );
13 - int zVersion = determineReal();
14 - mLegacyIE = (zVersion < 9);
15 - mReally = "IE" + zVersion;
12 + super( BrowserFamily.IE, "IE", determineVersion() );
13 + mLegacyIE = (getVersion() < 9);
16 14 }
17 15
18 16 @Override
  @@ -23,7 +21,7 @@
23 21
24 22 // ; MSIE 6.0;
25 23 // 01234567890
26 - private static int determineReal()
24 + private static int determineVersion()
27 25 {
28 26 String zUserAgent = getBrowserUserAgent();
29 27 int atStart = zUserAgent.indexOf( "; MSIE " ) + 7;