From: aclement Date: Fri, 30 May 2008 17:20:37 +0000 (+0000) Subject: 231396: move to testcase X-Git-Tag: V1_6_1rc1~200 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9b5a7e7feacee0b1a11ca9484532e8cf96388800;p=aspectj.git 231396: move to testcase --- 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"); - } -}