From: Simon Brandhof Date: Wed, 23 May 2012 07:47:40 +0000 (+0200) Subject: Add a javadoc to org.sonar.api.Property#defaultValue() X-Git-Tag: 3.1~111 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8a4e4aed35f2b4736eb007f6a168d5baf9db93f0;p=sonarqube.git Add a javadoc to org.sonar.api.Property#defaultValue() --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/Property.java b/sonar-plugin-api/src/main/java/org/sonar/api/Property.java index 9348402227d..7cff4f9b49f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/Property.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/Property.java @@ -51,6 +51,9 @@ public @interface Property { */ String key(); + /** + * The empty string "" is considered as null, so it's not possible to have empty strings for default values. + */ String defaultValue() default ""; String name();