Skip to content

Commit

Permalink
Version 0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Aug 30, 2024
1 parent ade7898 commit 791db7f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion examples/lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Apr 02 10:32:44 PDT 2023
bld.downloadExtensionSources=true
bld.downloadLocation=
bld.extension=com.uwyn.rife2:bld-property-file:0.9.7-SNAPSHOT
bld.extension=com.uwyn.rife2:bld-property-file:0.9.7
bld.repositories=MAVEN_LOCAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.version=2.1.0
2 changes: 1 addition & 1 deletion lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.downloadLocation=
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.1.4
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.1.5
bld.repositories=MAVEN_CENTRAL,MAVEN_LOCAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.version=2.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class PropertyFileBuild extends Project {
public PropertyFileBuild() {
pkg = "rife.bld.extension";
name = "bld-property-file";
version = version(0, 9, 7, "SNAPSHOT");
version = version(0, 9, 7);

javaRelease = 17;
downloadSources = true;
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/rife/bld/extension/propertyfile/EntryDate.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ public EntryDate now() {
return this;
}

/**
* Sets the {@link java.time.format.DateTimeFormatter DateTimeFormatter} pattern.
*
* @param pattern the pattern
*/
public EntryDate pattern(String pattern) {
super.pattern(pattern);
return this;
}

/**
* Sets the new {@link java.util.Properties property} value to an {@link Instant}
*
Expand Down Expand Up @@ -145,16 +155,6 @@ public EntryDate unit(Units unit) {
return this;
}

/**
* Sets the {@link java.time.format.DateTimeFormatter DateTimeFormatter} pattern.
*
* @param pattern the pattern
*/
public EntryDate pattern(String pattern) {
super.pattern(pattern);
return this;
}

/**
* The units available for {@link EntryDate} calculations.
*
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/rife/bld/extension/propertyfile/EntryInt.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ public EntryInt(String key) {
}

/**
* Sets the new {@link java.util.Properties property} value to an integer.
* Sets the {@link java.text.DecimalFormat DecimalFormat} pattern.
*
* @param i The integer to set the value to
* @return this instance
* @param pattern the pattern
*/
public EntryInt set(int i) {
newValue(i);
public EntryInt pattern(String pattern) {
super.pattern(pattern);
return this;
}

/**
* Sets the {@link java.text.DecimalFormat DecimalFormat} pattern.
* Sets the new {@link java.util.Properties property} value to an integer.
*
* @param pattern the pattern
* @param i The integer to set the value to
* @return this instance
*/
public EntryInt pattern(String pattern) {
super.pattern(pattern);
public EntryInt set(int i) {
newValue(i);
return this;
}
}

0 comments on commit 791db7f

Please sign in to comment.