Skip to content

Commit

Permalink
Delete deprecated xxxReference method (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle authored Jul 18, 2023
2 parents 73502ce + 627087e commit da3a7fb
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions bosk-core/src/main/java/io/vena/bosk/Bosk.java
Original file line number Diff line number Diff line change
Expand Up @@ -1021,16 +1021,6 @@ public NonexistentEntryException(Path path) {
}
}

/**
* @deprecated Please inline this method. It will be removed in a future release.
*/
public final <T> Reference<T> reference(Class<T> requestedClass, Path path) throws InvalidTypeException {
return rootReference().then(requestedClass, path);
}

/**
* @deprecated Please inline this method. It will be removed in a future release.
*/
public final <T> T buildReferences(Class<T> refsClass) throws InvalidTypeException {
return rootReference().buildReferences(refsClass);
}
Expand All @@ -1039,34 +1029,6 @@ public final RootReference<R> rootReference() {
return rootRef;
}

/**
* @deprecated Please inline this method. It will be removed in a future release.
*/
public final <T extends Entity> CatalogReference<T> catalogReference(Class<T> entryClass, Path path) throws InvalidTypeException {
return rootReference().thenCatalog(entryClass, path);
}

/**
* @deprecated Please inline this method. It will be removed in a future release.
*/
public final <T extends Entity> ListingReference<T> listingReference(Class<T> entryClass, Path path) throws InvalidTypeException {
return rootReference().thenListing(entryClass, path);
}

/**
* @deprecated Please inline this method. It will be removed in a future release.
*/
public final <K extends Entity,V> SideTableReference<K,V> sideTableReference(Class<K> keyClass, Class<V> valueClass, Path path) throws InvalidTypeException {
return rootReference().thenSideTable(keyClass, valueClass, path);
}

/**
* @deprecated Please inline this method. It will be removed in a future release.
*/
public final <TT> Reference<Reference<TT>> referenceReference(Class<TT> targetClass, Path path) throws InvalidTypeException {
return rootReference().thenReference(targetClass, path);
}

@Override
public final String toString() {
return instanceID() + " \"" + name + "\"::" + rootRef.targetClass().getSimpleName();
Expand Down

0 comments on commit da3a7fb

Please sign in to comment.