1
0
spogulis no https://github.com/DanilaFe/abacus synced 2025-10-19 12:06:06 -07:00

Deprecate the promotion functions.

Šī revīzija ir iekļauta:
Danila Fedorin 2017-08-08 15:29:19 -07:00
vecāks 03d3dcf303
revīzija 8b3afbbb5f

Parādīt failu

@ -240,6 +240,7 @@ public abstract class NumberInterface {
* @param toClass the class to promote to.
* @return the resulting new instance.
*/
@Deprecated
protected abstract NumberInterface promoteToInternal(Class<? extends NumberInterface> toClass);
/**
@ -250,6 +251,7 @@ public abstract class NumberInterface {
* @param toClass the class to promote to.
* @return the resulting new instance.
*/
@Deprecated
public final NumberInterface promoteTo(Class<? extends NumberInterface> toClass) {
checkInterrupted();
return promoteToInternal(toClass);