Reintroduce and deprecate "putSubtotal"
@@ -282,6 +282,14 @@ public class Properties extends ValueMap {
return putValue(SUBTOTAL_KEY, subtotal);
}
+ /**
+ * @deprecated use {@link #subtotal()}
+ */
+ @Deprecated
+ public double putSubtotal() {
+ return subtotal();
+ }
+
public double subtotal() {
return getDouble(SUBTOTAL_KEY, 0);
}
