You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Roger and Beth Whitcomb <Ro...@rbwhitcomb.com> on 2017/04/24 15:20:13 UTC
Re: svn commit: r1792481 -
/pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java
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, smartini@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;
>
>
>
>
Re: svn commit: r1792481 - /pivot/branches/2.0.x/core/src/org/apache/pivot/util/Version.java
Posted by Sandro Martini <sa...@gmail.com>.
Uh no sorry too much hurry ... now I'll revert this, sorry.
2017-04-24 17:20 GMT+02:00 Roger and Beth Whitcomb
<Ro...@rbwhitcomb.com>:
> 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, smartini@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;
>>
>>
>>
>>
>