public class DecimalColumnDef extends AbstractColumnDef {
- public static int DEFAULT_PRECISION = 38;
- public static int DEFAULT_SACLE = 20;
+ public final static int DEFAULT_PRECISION = 38;
+ public final static int DEFAULT_SCALE = 20;
private final int precision;
private final int scale;
@CheckForNull
private String columnName;
private int precision = DEFAULT_PRECISION;
- private int scale = DEFAULT_SACLE;
+ private int scale = DEFAULT_SCALE;
private boolean isNullable = false;
public Builder setColumnName(String columnName) {
/**
* @since 1.11
- * @deprecated since 5.2 there's no more decorator on batch side
- * TODO add link to new API
+ * @deprecated since 5.2 there's no more decorator on batch side, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead
*/
@Deprecated
public interface Formula {
/**
* @return the metric formula
- * @deprecated since 5.2 there's no more decorator on batch side
- * TODO add link to new API
+ * @deprecated since 5.2 there's no more decorator on batch side, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead
*/
@Deprecated
public Formula getFormula() {
*
* @param formula the formula
* @return this
- * @deprecated since 5.2 there's no more decorator on batch side
- * TODO add link to new API
+ * @deprecated since 5.2 there's no more decorator on batch side, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead
*/
@Deprecated
public Metric<G> setFormula(Formula formula) {
* @param f the formula
* @return the builder
*
- * @deprecated since 5.2, it's no more possible to define a formula on a metric
- * TODO add a link to the new API to declare formulas
+ * @deprecated since 5.2, it's no more possible to define a formula on a metric, please use {@link org.sonar.api.ce.measure.MeasureComputer} instead
*/
@Deprecated
public Builder setFormula(Formula f) {