Hey Sandro,
Do you think this change is necessary once we go back to lower
versions with Java 9? I mean, %02d will expand to three digits if
needed, with a minimum of 2 (in case of values less than 10)....
~Roger
On 4/24/17 8:12 AM, smart...@apache.org wrote:
Author: smartini
Date: Mon Apr 24 15:12:15 2017
New Revision: 1792481
URL: http://svn.apache.org/viewvc?rev=1792481&view=rev
Log:
PIVOT-993, update formatting string
Modified:
pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java
Modified: pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java
URL:
http://svn.apache.org/viewvc/pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java?rev=1792481&r1=1792480&r2=1792481&view=diff
==============================================================================
--- pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java (original)
+++ pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java Mon Apr 24
15:12:15 2017
@@ -114,7 +114,7 @@ public class Version implements Comparab
String string = this.majorRevision
+ "." + this.minorRevision
+ "." + this.maintenanceRevision
- + "_" + String.format("%02d", this.updateRevision);
+ + "_" + String.format("%03d", this.updateRevision);
if (this.build != null) {
string += "-" + this.build;