This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.models.api-1.2.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-api.git
commit 656d300cc895588612e6a350268419349cf55c87 Author: Justin Edelson <[email protected]> AuthorDate: Fri Sep 12 13:54:49 2014 +0000 SLING-3911 - fixing issue where empty or wrong arrays are specified for default values git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/api@1624550 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/models/annotations/Default.java | 14 +++++++------- .../org/apache/sling/models/annotations/package-info.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/sling/models/annotations/Default.java b/src/main/java/org/apache/sling/models/annotations/Default.java index 963a480..57c826b 100644 --- a/src/main/java/org/apache/sling/models/annotations/Default.java +++ b/src/main/java/org/apache/sling/models/annotations/Default.java @@ -28,18 +28,18 @@ import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) public @interface Default { - boolean[] booleanValues() default false; + boolean[] booleanValues() default {}; - double[] doubleValues() default 0; + double[] doubleValues() default {}; - float[] floatValues() default 0; + float[] floatValues() default {}; - int[] intValues() default 0; + int[] intValues() default {}; - long[] longValues() default 0L; + long[] longValues() default {}; - short[] shortValues() default 0; + short[] shortValues() default {}; - String[] values() default ""; + String[] values() default {}; } diff --git a/src/main/java/org/apache/sling/models/annotations/package-info.java b/src/main/java/org/apache/sling/models/annotations/package-info.java index 59b91d4..be6612e 100644 --- a/src/main/java/org/apache/sling/models/annotations/package-info.java +++ b/src/main/java/org/apache/sling/models/annotations/package-info.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@Version("1.1.2") +@Version("1.1.3") package org.apache.sling.models.annotations; import aQute.bnd.annotation.Version; \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
