]> source.dussan.org Git - aspectj.git/commitdiff
commented out code to replace licenses
authorwisberg <wisberg>
Mon, 23 Dec 2002 19:40:26 +0000 (19:40 +0000)
committerwisberg <wisberg>
Mon, 23 Dec 2002 19:40:26 +0000 (19:40 +0000)
build/testsrc/BuildModuleTests.java

index 45e56a53c947e34817efb41205495eb9640ec6be..2d4e3f25d825d4e3e4ab874f5a5b2cad410f7da6 100644 (file)
@@ -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) {