Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchTest.java')
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchTest.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchTest.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchTest.java
index 60fbf1172..026e8e433 100644
--- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchTest.java
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchTest.java
@@ -292,12 +292,12 @@ public class PatchTest extends TestCase {
if (patchConf != null) {
JarEntryStorage jes = new JarEntryStorage(entry,jarFile);
Properties properties = new Properties();
- try {
- properties.load(jes.getContents());
- } catch (IOException e) {
- fail("IOException occured while loading the Patch Configuration file for "+entryName.toString());
- }
- processProperties(result, properties, entryName);
+ try {
+ properties.load(jes.getContents());
+ } catch (IOException e) {
+ fail("IOException occured while loading the Patch Configuration file for "+entryName.toString());
+ }
+ processProperties(result, properties, entryName);
} else {
processProperties(result, defaultPatchProperties, entryName);
}
@@ -325,13 +325,13 @@ public class PatchTest extends TestCase {
continue;
if (pcFile.exists()) {
Properties properties = new Properties();
- try {
- properties.load(new FileInputStream(pcFile));
- } catch (IOException e) {
- fail("IOException occured while loading the Patch Configuration file for "
+ try {
+ properties.load(new FileInputStream(pcFile));
+ } catch (IOException e) {
+ fail("IOException occured while loading the Patch Configuration file for "
+ subfolder.toString());
- }
- processProperties(result, properties, subfolder.getName());
+ }
+ processProperties(result, properties, subfolder.getName());
} else {
processProperties(result, defaultPatchProperties, subfolder.getName());
}

Back to the top