diff --git a/hashmap.patch b/hashmap.patch deleted file mode 100644 index e5d0f5d..0000000 --- a/hashmap.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- plexus-utils-plexus-utils-3.3.0/src/main/java/org/codehaus/plexus/util/introspection/ClassMap.java 2022-03-24 06:42:26.828858166 +0100 -+++ plexus-utils-plexus-utils-3.3.0/src/main/java/org/codehaus/plexus/util/introspection/ClassMap.java 2022-03-24 06:43:39.629312093 +0100 -@@ -18,7 +18,7 @@ - - import java.lang.reflect.Method; - import java.lang.reflect.Modifier; --import java.util.Hashtable; -+import java.util.HashMap; - import java.util.Map; - - /** -@@ -50,7 +50,7 @@ - /** - * Cache of Methods, or CACHE_MISS, keyed by method name and actual arguments used to find it. - */ -- private Map methodCache = new Hashtable(); -+ private Map methodCache = new HashMap(); - - private final MethodMap methodMap = new MethodMap(); - diff --git a/plexus-utils.spec b/plexus-utils.spec index 01cccdd..9d74f39 100644 --- a/plexus-utils.spec +++ b/plexus-utils.spec @@ -26,7 +26,6 @@ URL: https://codehaus-plexus.github.io/plexus-utils/ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz Source1: %{name}-build.xml Source2: http://apache.org/licenses/LICENSE-2.0.txt -Patch0: hashmap.patch BuildRequires: ant BuildRequires: fdupes BuildRequires: javapackages-local @@ -48,7 +47,6 @@ Javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} -%patch0 -p1 cp %{SOURCE1} build.xml cp %{SOURCE2} .