Skip to content

Commit

Permalink
Convert deprecated methods to auxiliary attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed May 8, 2017
1 parent 63c3df5 commit d29016f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Expand Up @@ -48,6 +48,7 @@ public interface AreaSizeValuesBDType

@Deprecated
@Value.Derived
@Value.Auxiliary
default BigDecimal width()
{
return this.sizeX();
Expand All @@ -61,6 +62,7 @@ default BigDecimal width()

@Deprecated
@Value.Derived
@Value.Auxiliary
default BigDecimal height()
{
return this.sizeY();
Expand Down
Expand Up @@ -48,6 +48,7 @@ public interface AreaSizeValuesBIType

@Deprecated
@Value.Derived
@Value.Auxiliary
default BigInteger width()
{
return this.sizeX();
Expand All @@ -61,6 +62,7 @@ default BigInteger width()

@Deprecated
@Value.Derived
@Value.Auxiliary
default BigInteger height()
{
return this.sizeY();
Expand Down
Expand Up @@ -46,6 +46,7 @@ public interface AreaSizeValuesDType

@Deprecated
@Value.Derived
@Value.Auxiliary
default double width()
{
return this.sizeX();
Expand All @@ -59,6 +60,7 @@ default double width()

@Deprecated
@Value.Derived
@Value.Auxiliary
default double height()
{
return this.sizeY();
Expand Down
Expand Up @@ -46,6 +46,7 @@ public interface AreaSizeValuesFType

@Deprecated
@Value.Derived
@Value.Auxiliary
default float width()
{
return this.sizeX();
Expand All @@ -59,6 +60,7 @@ default float width()

@Deprecated
@Value.Derived
@Value.Auxiliary
default float height()
{
return this.sizeY();
Expand Down
Expand Up @@ -46,6 +46,7 @@ public interface AreaSizeValuesIType

@Deprecated
@Value.Derived
@Value.Auxiliary
default int width()
{
return this.sizeX();
Expand All @@ -59,6 +60,7 @@ default int width()

@Deprecated
@Value.Derived
@Value.Auxiliary
default int height()
{
return this.sizeY();
Expand Down
Expand Up @@ -46,6 +46,7 @@ public interface AreaSizeValuesLType

@Deprecated
@Value.Derived
@Value.Auxiliary
default long width()
{
return this.sizeX();
Expand All @@ -59,6 +60,7 @@ default long width()

@Deprecated
@Value.Derived
@Value.Auxiliary
default long height()
{
return this.sizeY();
Expand Down

0 comments on commit d29016f

Please sign in to comment.