Skip to content

Commit

Permalink
Delete deprecated Bosk.xxxReference methods
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Jul 18, 2023
1 parent 0371c5f commit 627087e
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions bosk-core/src/main/java/io/vena/bosk/Bosk.java
Original file line number Diff line number Diff line change
Expand Up @@ -1021,13 +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);
}

public final <T> T buildReferences(Class<T> refsClass) throws InvalidTypeException {
return rootReference().buildReferences(refsClass);
}
Expand All @@ -1036,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 627087e

Please sign in to comment.