You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/05/25 02:04:31 UTC
svn commit: r947868 -
/jakarta/bcel/trunk/src/test/java/org/apache/bcel/InstructionFinderTestCase.java
Author: sebb
Date: Tue May 25 00:04:30 2010
New Revision: 947868
URL: http://svn.apache.org/viewvc?rev=947868&view=rev
Log:
Oops - pasted twice
Modified:
jakarta/bcel/trunk/src/test/java/org/apache/bcel/InstructionFinderTestCase.java
Modified: jakarta/bcel/trunk/src/test/java/org/apache/bcel/InstructionFinderTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/bcel/trunk/src/test/java/org/apache/bcel/InstructionFinderTestCase.java?rev=947868&r1=947867&r2=947868&view=diff
==============================================================================
--- jakarta/bcel/trunk/src/test/java/org/apache/bcel/InstructionFinderTestCase.java (original)
+++ jakarta/bcel/trunk/src/test/java/org/apache/bcel/InstructionFinderTestCase.java Tue May 25 00:04:30 2010
@@ -1,5 +1,4 @@
/*
-/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -16,24 +15,6 @@
* limitations under the License.
*
*/
-
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
package org.apache.bcel;
import java.util.Iterator;
@@ -44,7 +25,6 @@ import org.apache.bcel.classfile.Method;
import org.apache.bcel.generic.InstructionHandle;
import org.apache.bcel.generic.InstructionList;
import org.apache.bcel.util.InstructionFinder;
-import org.apache.bcel.util.InstructionFinder.CodeConstraint;
public class InstructionFinderTestCase extends AbstractTestCase
{
@@ -68,7 +48,7 @@ public class InstructionFinderTestCase e
byte[] bytes = searchM.getCode().getCode();
InstructionList il = new InstructionList(bytes);
InstructionFinder finder = new InstructionFinder(il);
- Iterator it = finder.search(".*", il.getStart(), null);
+ Iterator<?> it = finder.search(".*", il.getStart(), null);
InstructionHandle[] ihs = (InstructionHandle[])it.next();
int size = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org