openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1785707 - in /openwebbeans/meecrowave/trunk/meecrowave-doc/src/main: java/org/apache/meecrowave/doc/generator/Downloads.java jbake/content/download.adoc
Date Mon, 06 Mar 2017 17:45:29 GMT
Author: rmannibucau
Date: Mon Mar  6 17:45:29 2017
New Revision: 1785707

URL: http://svn.apache.org/viewvc?rev=1785707&view=rev
Log:
updating download page

Modified:
    openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/java/org/apache/meecrowave/doc/generator/Downloads.java
    openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/download.adoc

Modified: openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/java/org/apache/meecrowave/doc/generator/Downloads.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/java/org/apache/meecrowave/doc/generator/Downloads.java?rev=1785707&r1=1785706&r2=1785707&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/java/org/apache/meecrowave/doc/generator/Downloads.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/java/org/apache/meecrowave/doc/generator/Downloads.java
Mon Mar  6 17:45:29 2017
@@ -74,11 +74,6 @@ public class Downloads {
                 .map(Downloads::fillDownloadable)
                 .filter(Objects::nonNull)
                 .sorted((o1, o2) -> {
-                    final int nameComp = o1.name.compareTo(o2.name);
-                    if (nameComp != 0) {
-                        return nameComp;
-                    }
-
                     final int versionComp = o2.version.compareTo(o1.version);
                     if (versionComp != 0) {
                         if (o2.version.startsWith(o1.version) && o2.version.contains("-M"))
{ // milestone
@@ -90,6 +85,12 @@ public class Downloads {
                         return versionComp;
                     }
 
+
+                    final int nameComp = o1.name.compareTo(o2.name);
+                    if (nameComp != 0) {
+                        return nameComp;
+                    }
+
                     final long dateComp = LocalDateTime.parse(o2.date, RFC_1123_DATE_TIME).toInstant(ZoneOffset.UTC).toEpochMilli()
                             - LocalDateTime.parse(o1.date, RFC_1123_DATE_TIME).toInstant(ZoneOffset.UTC).toEpochMilli();
                     if (dateComp != 0) {

Modified: openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/download.adoc
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/download.adoc?rev=1785707&r1=1785706&r2=1785707&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/download.adoc (original)
+++ openwebbeans/meecrowave/trunk/meecrowave-doc/src/main/jbake/content/download.adoc Mon
Mar  6 17:45:29 2017
@@ -13,6 +13,9 @@ IMPORTANT: java 9 support is still exper
 [.table.table-bordered,options="header"]
 |===
 |Name|Version|Date|Size|Type|Links
+|Meecrowave Source Release|0.3.0|Sun, 19 Feb 2017 15:56:04 GMT|1 MB 304 kB|zip| http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.3.0/meecrowave-0.3.0-source-release.zip[icon:download[]
zip] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.3.0/meecrowave-0.3.0-source-release.zip.sha1[icon:download[]
sha1] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.3.0/meecrowave-0.3.0-source-release.zip.md5[icon:download[]
md5] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.3.0/meecrowave-0.3.0-source-release.zip.asc[icon:download[]
asc]
+|Meecrowave Core runner|0.3.0|Sun, 19 Feb 2017 15:56:35 GMT|9 MB 123 kB|jar| http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0-runner.jar[icon:download[]
jar] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0-runner.jar.sha1[icon:download[]
sha1] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0-runner.jar.md5[icon:download[]
md5] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0-runner.jar.asc[icon:download[]
asc]
+|Meecrowave Core|0.3.0|Sun, 19 Feb 2017 15:56:26 GMT|156 kB|jar| http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0.jar[icon:download[]
jar] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0.jar.sha1[icon:download[]
sha1] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0.jar.md5[icon:download[]
md5] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.3.0/meecrowave-core-0.3.0.jar.asc[icon:download[]
asc]
 |Meecrowave Source Release|0.2.0|Mon, 02 Jan 2017 15:11:14 GMT|1 MB 229 kB|zip| http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.2.0/meecrowave-0.2.0-source-release.zip[icon:download[]
zip] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.2.0/meecrowave-0.2.0-source-release.zip.sha1[icon:download[]
sha1] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.2.0/meecrowave-0.2.0-source-release.zip.md5[icon:download[]
md5] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave/0.2.0/meecrowave-0.2.0-source-release.zip.asc[icon:download[]
asc]
 |Meecrowave Core runner|0.2.0|Mon, 02 Jan 2017 15:12:12 GMT|9 MB 9 kB|jar| http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0-runner.jar[icon:download[]
jar] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0-runner.jar.sha1[icon:download[]
sha1] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0-runner.jar.md5[icon:download[]
md5] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0-runner.jar.asc[icon:download[]
asc]
 |Meecrowave Core|0.2.0|Mon, 02 Jan 2017 15:12:02 GMT|145 kB|jar| http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0.jar[icon:download[]
jar] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0.jar.sha1[icon:download[]
sha1] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0.jar.md5[icon:download[]
md5] http://repo.maven.apache.org/maven2/org/apache/meecrowave/meecrowave-core/0.2.0/meecrowave-core-0.2.0.jar.asc[icon:download[]
asc]



Mime
View raw message