Skip to content

Commit

Permalink
More helpful Phantom.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Aug 24, 2023
1 parent 15be362 commit 5fa73b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bosk-core/src/main/java/io/vena/bosk/Phantom.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@ public static <T> Phantom<T> empty() {
Phantom<T> instance = (Phantom<T>) INSTANCE;
return instance;
}

@Override
public String toString() {
return "Phantom.empty";
}

private static final Phantom<?> INSTANCE = new Phantom<>();
}

0 comments on commit 5fa73b4

Please sign in to comment.