From: wisberg Date: Mon, 23 Dec 2002 19:40:26 +0000 (+0000) Subject: commented out code to replace licenses X-Git-Tag: V_1_1_b5~230 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c2d4da291fffe27212c533068c6fbf79308fa10a;p=aspectj.git commented out code to replace licenses --- diff --git a/build/testsrc/BuildModuleTests.java b/build/testsrc/BuildModuleTests.java index 45e56a53c..2d4e3f25d 100644 --- a/build/testsrc/BuildModuleTests.java +++ b/build/testsrc/BuildModuleTests.java @@ -115,17 +115,17 @@ public class BuildModuleTests extends TestCase { final String label = "source dir " + moduleDir + " (module " + module + ")"; assertTrue(label, (moduleDir.exists() && moduleDir.isDirectory())); String license = getLicense(module); - if (replacing) { - if (replacing) { - throw new Error("replacing done - code left for other replaces"); - } - assertTrue("aborting - replace failed", !replaceFailed); - // do the replace - int fails = Checklics.runDirect(moduleDir.getPath(), "replace-headers"); - replaceFailed = (0 != fails); - assertTrue(!replaceFailed); - license = Checklics.CPL_IBM_PARC_XEROX_TAG; - } +// if (replacing) { +// if (replacing && true) { +// throw new Error("replacing done - code left for other replaces"); +// } +// assertTrue("aborting - replace failed", !replaceFailed); +// // do the replace +// int fails = Checklics.runDirect(moduleDir.getPath(), "replace-headers"); +// replaceFailed = (0 != fails); +// assertTrue(!replaceFailed); +// license = Checklics.CPL_IBM_PARC_XEROX_TAG; +// } int fails = Checklics.runDirect(moduleDir.getPath(), license); if (0 != fails) { if (replacing) {