Deprecate the mutating methods of FetchConfig to migrate to the static factory methods (#2164)

e.g. migrate from            ->   to use
new FetchConfig().query()    ->   FetchConfig.ofQuery()
new FetchConfig().query(50)  ->   FetchConfig.ofQuery(50)
This commit is contained in:
Rob Bygrave
2021-02-13 14:50:02 +13:00
committed by GitHub
parent 7069d3f600
commit d567872813
2 changed files with 40 additions and 20 deletions
@@ -26,7 +26,7 @@ public class OrmQueryProperties implements Serializable {
private static final long serialVersionUID = -8785582703966455658L;
static final FetchConfig DEFAULT_FETCH = new FetchConfig();
static final FetchConfig DEFAULT_FETCH = FetchConfig.ofDefault();
private final String parentPath;
private final String path;