Skip to content

Commit a188acc

Browse files
committed
rename upcast method
1 parent c7dd22e commit a188acc

File tree

1 file changed

+1
-1
lines changed
  • commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/models

1 file changed

+1
-1
lines changed

commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/models/DomainResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public interface DomainResource<T extends DomainResource<T>> {
55

66
public Long getVersion();
77

8-
default T upcast() {
8+
default T get() {
99
return (T) this;
1010
}
1111
}

0 commit comments

Comments
 (0)