Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-03-03 16:59:27 +0000
committerCurtis D'Entremont2006-03-03 16:59:27 +0000
commita1334b0681ea79f5b76becdffe1b9ba831681a2c (patch)
treeefee4c384f72dcf33eaf6ae8976ae72ea3e173cc /org.eclipse.ua.tests/base/org/eclipse/ua/tests/util
parent6d26cabc9dc2d0396062b5006958bc2992586023 (diff)
downloadeclipse.platform.ua-a1334b0681ea79f5b76becdffe1b9ba831681a2c.tar.gz
eclipse.platform.ua-a1334b0681ea79f5b76becdffe1b9ba831681a2c.tar.xz
eclipse.platform.ua-a1334b0681ea79f5b76becdffe1b9ba831681a2c.zip
130337 [Help] TOC file parser should ignore unknown elements / attributesv20060303
Diffstat (limited to 'org.eclipse.ua.tests/base/org/eclipse/ua/tests/util')
-rw-r--r--org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/FileUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/FileUtil.java b/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/FileUtil.java
index cbc1f9c3c..a94915573 100644
--- a/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/FileUtil.java
+++ b/org.eclipse.ua.tests/base/org/eclipse/ua/tests/util/FileUtil.java
@@ -75,7 +75,7 @@ public class FileUtil {
* Gets the contents of the result file with the given original relative path in
* the given bundle, as a String (file must be encoded as UTF-8).
*/
- public static String getResultFileContents(Bundle bundle, String absolutePath) throws IOException {
+ public static String getResultFileContents(Bundle bundle, String relative) throws IOException {
/*
* Try [filename]_serialized_os_ws_arch.txt. If it's not there, try
* [filename]_serialized.txt.
@@ -86,14 +86,14 @@ public class FileUtil {
*/
String contents = null;
try {
- contents = getContents(bundle, getResultFile(absolutePath, true));
+ contents = getContents(bundle, getResultFile(relative, true));
}
catch(Exception e) {
// didn't find the _serialized_os_ws_arch.txt file, try just _serialized.txt
}
if (contents == null) {
try {
- contents = getContents(bundle, getResultFile(absolutePath, false));
+ contents = getContents(bundle, getResultFile(relative, false));
}
catch(IOException e) {
throw e;

Back to the top