From 8a4e4aed35f2b4736eb007f6a168d5baf9db93f0 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 23 May 2012 09:47:40 +0200 Subject: [PATCH] Add a javadoc to org.sonar.api.Property#defaultValue() --- sonar-plugin-api/src/main/java/org/sonar/api/Property.java | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.39.5