Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
hamcrest.28016
hamcrest-reproducible-builds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hamcrest-reproducible-builds.patch of Package hamcrest.28016
--- a/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java +++ b/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java @@ -43,6 +43,13 @@ private int currentMethod = -1; private Method[] allMethods = cls.getMethods(); + { + java.util.Arrays.sort(allMethods, new java.util.Comparator<Method>() { + public int compare(Method m1, Method m2) { + return m1.toGenericString().compareTo(m2.toGenericString()); + } + }); + } @Override public boolean hasNext() { @@ -171,4 +178,4 @@ return name.replace('$', '.'); } -} \ No newline at end of file +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor