Skip to content

Commit

Permalink
Fix code style inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shitzuu committed Aug 24, 2024
1 parent 17be82d commit 5a4c32a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dew-common/src/dev/shiza/dew/Dew.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ public interface Dew {
* @return the singleton instance of {@link EventBus}.
*/
static EventBus eventBus() {
return Instances.EVENT_BUS.get();
return InstanceHolder.EVENT_BUS.get();
}

@Internal
final class Instances {
final class InstanceHolder {

private static final Lazy<EventBus> EVENT_BUS =
lazy(() -> EventBus.create(SubscriptionFacade.create()));

private Instances() {}
private InstanceHolder() {}
}
}

0 comments on commit 5a4c32a

Please sign in to comment.