/**
* Indicative size of the field value in characters. This size is not validated, it is merely used by the GUI
* to size the different input fields of a property set.
+ *
+ * @deprecated since 6.1, as it was only used for UI.
*/
+ @Deprecated
int indicativeSize() default 20;
PropertyType type() default PropertyType.STRING;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.collect.ImmutableList;
-import org.sonar.api.PropertyField;
-import org.sonar.api.PropertyType;
-
-import javax.annotation.Nullable;
-
import java.util.ArrayList;
import java.util.List;
+import javax.annotation.Nullable;
+import org.sonar.api.PropertyField;
+import org.sonar.api.PropertyType;
/**
* @since 3.3
return description;
}
+ /**
+ * @deprecated since 6.1, as it was only used for UI.
+ */
+ @Deprecated
public int indicativeSize() {
return indicativeSize;
}
return this;
}
+ /**
+ * @deprecated since 6.1, as it was only used for UI.
+ */
+ @Deprecated
public Builder indicativeSize(int indicativeSize) {
this.indicativeSize = indicativeSize;
return this;