From 9b5a7e7feacee0b1a11ca9484532e8cf96388800 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 30 May 2008 17:20:37 +0000 Subject: [PATCH] 231396: move to testcase --- .../aspectj/weaver/bcel/ZipFileWeaver.java | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 weaver/src/org/aspectj/weaver/bcel/ZipFileWeaver.java 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"); - } -} -- 2.39.5