Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
hamcrest
hamcrest-reproducible-builds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hamcrest-reproducible-builds.patch of Package hamcrest
Index: hamcrest-1.3/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java =================================================================== --- hamcrest-1.3.orig/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java +++ hamcrest-1.3/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java @@ -43,6 +43,13 @@ public class ReflectiveFactoryReader imp 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 @@ public class ReflectiveFactoryReader imp 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