Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove method defaults from ResourceDefinition #848

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ When updating the changelog, remember to be very clear about what behavior has c
and what APIs have changed, if applicable.

## [Unreleased]
- Remove method defaults from `ResourceDefinition`.

## [29.39.6] - 2022-10-06
- Add equals and hashCode methods to `CollectionResult`, `GetResult`, `UpdateResponse` and `UpdateEntityResponse`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,17 @@ public interface ResourceDefinition

/**
* Gets the base uri template.
*
* @return the base uri template.
*/
default String getBaseUriTemplate() {
throw new UnsupportedOperationException();
}
String getBaseUriTemplate();

/**
* Gets the rest.li resource java class.
*
* @return java class for this rest.li resource.
*/
default Class<?> getResourceClass() {
throw new UnsupportedOperationException();
}
Class<?> getResourceClass();

/**
* Returns whether the resource is a root resource or not.
Expand Down