replaced (String == String) with String.equals(String)

This commit is contained in:
Philipp Schaefer
2013-04-03 00:24:35 +02:00
parent 090c9e6d2b
commit e396d7df1d
2 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,7 @@ public class IITC_WebViewClient extends WebViewClient {
String iitc_version = "not found";
for (int i = 0; i < attributes.length; i++) {
// search vor version and use the value
if (attributes[i].contains("@version")) iitc_version = attributes[i+1];
if (attributes[i].equals("@version")) iitc_version = attributes[i+1];
}
return iitc_version;
}