Skip to content
Commits on Source (3)
libhamcrest-java (1.3-8) unstable; urgency=medium
* Team upload.
* Improved the reproducibility by generating the matchers methods
in alphabetical order
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Mon, 01 Apr 2019 00:27:31 +0200
libhamcrest-java (1.3-7) unstable; urgency=medium
* Team upload.
......
......@@ -23,8 +23,8 @@ Build-Depends:
libjmock-java,
libqdox-java
Standards-Version: 4.1.4
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libhamcrest-java.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libhamcrest-java.git
Vcs-Git: https://salsa.debian.org/java-team/libhamcrest-java.git
Vcs-Browser: https://salsa.debian.org/java-team/libhamcrest-java
Homepage: http://hamcrest.org
Package: libhamcrest-java
......
--- 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.getName().compareTo(m2.getName());
+ }
+ });
+ }
@Override
public boolean hasNext() {
@@ -171,4 +178,4 @@
return name.replace('$', '.');
}
-}
\ No newline at end of file
+}
001-build.patch
002-random-build-failure.patch
003-reproducible-build.patch