Remove unused import

This commit is contained in:
Mikolaj Izdebski 2019-11-05 08:48:40 +01:00
parent c21f2d8418
commit 74e1c15071
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 912eaec202f33f8a0a9832bb3551674b6788e7f0 Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Tue, 5 Nov 2019 08:47:50 +0100
Subject: [PATCH] Remove unused import
---
cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java b/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java
index e7de82b..1f1f744 100644
--- a/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java
+++ b/cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java
@@ -17,7 +17,6 @@ package net.sf.cglib.reflect;
import java.lang.reflect.*;
import java.security.ProtectionDomain;
-import net.sf.cglib.*;
import net.sf.cglib.core.*;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Type;
--
2.21.0

View File

@ -8,9 +8,12 @@ Summary: Code Generation Library for Java
# BSD-licensed. Everything else is ASL 2.0. # BSD-licensed. Everything else is ASL 2.0.
License: ASL 2.0 and BSD License: ASL 2.0 and BSD
URL: https://github.com/cglib/cglib URL: https://github.com/cglib/cglib
Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
BuildArch: noarch BuildArch: noarch
Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
Patch0: 0001-Remove-unused-import.patch
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: maven-plugin-bundle BuildRequires: maven-plugin-bundle
BuildRequires: javapackages-local BuildRequires: javapackages-local
@ -32,6 +35,7 @@ Documentation for the cglib code generation library.
%prep %prep
%setup -q -n %{name}-%{tarball_name} %setup -q -n %{name}-%{tarball_name}
%patch0 -p1
%pom_disable_module cglib-nodep %pom_disable_module cglib-nodep
%pom_disable_module cglib-integration-test %pom_disable_module cglib-integration-test