diff options
author | aclement <aclement> | 2008-05-30 17:20:37 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-30 17:20:37 +0000 |
commit | 9b5a7e7feacee0b1a11ca9484532e8cf96388800 (patch) | |
tree | f419c3dfd3ba9687599cb02db06987d298a4eea6 | |
parent | 8ffb5393924b5db5c7d8e91a0dd9cfd81d3617eb (diff) | |
download | aspectj-9b5a7e7feacee0b1a11ca9484532e8cf96388800.tar.gz aspectj-9b5a7e7feacee0b1a11ca9484532e8cf96388800.zip |
231396: move to testcase
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/ZipFileWeaver.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/ZipFileWeaver.java b/weaver/src/org/aspectj/weaver/bcel/ZipFileWeaver.java deleted file mode 100644 index 3be5ae332..000000000 --- a/weaver/src/org/aspectj/weaver/bcel/ZipFileWeaver.java +++ /dev/null @@ -1,39 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * PARC initial implementation - * ******************************************************************/ - - -package org.aspectj.weaver.bcel; - -import java.io.File; -import java.io.IOException; - - -//XXX delete very soon -public class ZipFileWeaver { - File inFile; - public ZipFileWeaver(File inFile) { - super(); - this.inFile = inFile; - } - - public void weave(BcelWeaver weaver, File outFile) throws IOException { - int count = 0; - long startTime = System.currentTimeMillis(); - weaver.addJarFile(inFile, new File("."),false); - weaver.weave(outFile); - long stopTime = System.currentTimeMillis(); - - - System.out.println("handled " + count + " entries, in " + - (stopTime-startTime)/1000. + " seconds"); - } -} |