Skip to content

Commit

Permalink
Merge pull request #2633 from ebean-orm/feature/deprecated_BeanState
Browse files Browse the repository at this point in the history
Remove deprecated methods in ebean-api - BeanState
  • Loading branch information
rbygrave authored Apr 6, 2022
2 parents ed339c3 + 7f0dc07 commit 10fa07f
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions ebean-api/src/main/java/io/ebean/BeanState.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,40 +74,16 @@ public interface BeanState {
*/
Set<String> loadedProps();

/**
* Deprecated migrate to loadedProps().
*/
@Deprecated
default Set<String> getLoadedProps() {
return loadedProps();
}

/**
* Return the set of changed properties.
*/
Set<String> changedProps();

/**
* Deprecated migrate to changedProps().
*/
@Deprecated
default Set<String> getChangedProps() {
return changedProps();
}

/**
* Return a map of the updated properties and their new and old values.
*/
Map<String, ValuePair> dirtyValues();

/**
* Deprecated migrate to dirtyValues().
*/
@Deprecated
default Map<String, ValuePair> getDirtyValues() {
return dirtyValues();
}

/**
* Return true if the bean is readOnly.
* <p>
Expand Down Expand Up @@ -139,24 +115,9 @@ default Map<String, ValuePair> getDirtyValues() {
*/
Map<String, Exception> loadErrors();

/**
* Deprecated migrate to loadErrors().
*/
@Deprecated
default Map<String, Exception> getLoadErrors() {
return loadErrors();
}

/**
* Return the sort order value for an order column.
*/
int sortOrder();

/**
* Deprecated migrate to sortOrder().
*/
@Deprecated
default int getSortOrder() {
return sortOrder();
}
}

0 comments on commit 10fa07f

Please sign in to comment.