Skip to content

Commit

Permalink
Removed logger from EventBus.java as it was causing more issues than …
Browse files Browse the repository at this point in the history
…it solved.

Signed-off-by: 7orivorian <7orivorian+github@gmail.com>
  • Loading branch information
7orivorian committed Oct 18, 2023
1 parent 5976c6a commit fac2a47
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/java/me/tori/wraith/bus/EventBus.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
import me.tori.wraith.subscriber.ISubscriber;
import me.tori.wraith.task.ScheduledTask;
import me.tori.wraith.task.TaskExecutor;
import org.jetbrains.annotations.ApiStatus;

import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.logging.LogManager;
import java.util.logging.Logger;

/**
* Default implementation of {@link IEventBus}, {@link TargetableEventBus}, and {@link InvertableEventBus}.
Expand All @@ -25,9 +22,6 @@
@SuppressWarnings({"rawtypes", "unchecked"})
public class EventBus implements TargetableEventBus, InvertableEventBus {

@ApiStatus.Internal
private static final Logger LOGGER = LogManager.getLogManager().getLogger("Wraith/EventBus");

/**
* The amount of {@linkplain EventBus} instances that have been created
*/
Expand Down Expand Up @@ -366,7 +360,6 @@ public void clearTaskExecutor() {
*/
@Override
public void shutdown() {
LOGGER.warning("EventBus " + id + " shutting down! Future events will not be dispatched.");
shutdown = true;
}

Expand Down

0 comments on commit fac2a47

Please sign in to comment.