This commit is contained in:
parent
16465494ba
commit
2456e11eb0
20
hashmap.patch
Normal file
20
hashmap.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- 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<String, Object> methodCache = new Hashtable<String, Object>();
|
||||
+ private Map<String, Object> methodCache = new HashMap<String, Object>();
|
||||
|
||||
private final MethodMap methodMap = new MethodMap();
|
||||
|
@ -26,6 +26,7 @@ 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
|
||||
@ -47,6 +48,7 @@ Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
cp %{SOURCE1} build.xml
|
||||
cp %{SOURCE2} .
|
||||
|
Loading…
Reference in New Issue
Block a user