Skip to content

Commit

Permalink
fix: i guess we need this for J11 compa?
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Apr 24, 2024
1 parent 3abb97e commit b2c10ba
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@
* each instance of a given type.
*
* <p>An example of how this could be implemented is as follows:</p>
* <pre>{@code
* <pre>
* public class MyPointeredObject extends SomePointeredParent implements Pointered {
* private static final PointersSupplier<MyPointeredObject> POINTERS = PointersSupplier.builder()
* private static final PointersSupplier&lt;MyPointeredObject&gt; POINTERS = PointersSupplier.builder()
* .parent(SomePointeredParent.POINTERS) // Fallback to the parent to get pointers from.
* .resolving(Identity.UUID, MyPointeredObject::getUniqueId)
* .resolving(Identity.DISPLAY_NAME, MyPointeredObject::getDisplayName)
* .build();
*
* @Override
* &#64;Override
* public Pointers pointers() {
* return POINTERS.view(this);
* }
* }
* }</pre>
* </pre>
*
* @param <T> the type
* @since 4.17.0
Expand Down

0 comments on commit b2c10ba

Please sign in to comment.