Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Austin2010-10-21 18:12:09 +0000
committerChris Austin2010-10-21 18:12:09 +0000
commit86459321df7c02127e803d52e69ffca3bcbf5c26 (patch)
tree7bf32728df222c550c18040593bb5ff75e573908 /org.eclipse.help.base
parent9de22b6403b6ff1d69b522d4bec1ceacb5478188 (diff)
downloadeclipse.platform.ua-86459321df7c02127e803d52e69ffca3bcbf5c26.tar.gz
eclipse.platform.ua-86459321df7c02127e803d52e69ffca3bcbf5c26.tar.xz
eclipse.platform.ua-86459321df7c02127e803d52e69ffca3bcbf5c26.zip
Bug 320667 - [Help] Test connection should actually check for validity of Information Center (now jdk1.4 compliant)
Diffstat (limited to 'org.eclipse.help.base')
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/base/util/TestConnectionUtility.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/util/TestConnectionUtility.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/util/TestConnectionUtility.java
index f8a171b51..93663b03a 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/util/TestConnectionUtility.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/util/TestConnectionUtility.java
@@ -78,7 +78,7 @@ public class TestConnectionUtility {
BufferedReader reader = new BufferedReader(new InputStreamReader(in));
String line;
while (( line = reader.readLine())!=null){
- if (line.contains("<tocContributions>")) //$NON-NLS-1$
+ if (line.indexOf("<tocContributions>")>-1) //$NON-NLS-1$
return true;
}
}

Back to the top