Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Jul 30, 2022
1 parent 743c95b commit 6d94214
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Listenable {
}
```

For more explanation, check the [example](https://github.com/nothub/TinyEventBus/blob/master/src/test/java/cc/neckbeard/tinyeventbus/example/Example.java).
For more explanation, check the [example](https://github.com/nothub/TinyEventBus/blob/master/src/test/java/lol/hub/tinyeventbus/example/Example.java).

---

Expand All @@ -54,4 +54,4 @@ Sub<SomeEvent> sub = Sub.of(e -> e.cancel());
Sub<SomeEvent> sub = Sub.of(SomeEvent::cancel, SomeEvent.class);
```

For more information please check: [ref-example](https://github.com/nothub/TinyEventBus/blob/master/src/test/java/cc/neckbeard/tinyeventbus/example/RefExample.java)
For more information please check: [ref-example](https://github.com/nothub/TinyEventBus/blob/master/src/test/java/lol/hub/tinyeventbus/example/RefExample.java)
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>cc.neckbeard</groupId>
<groupId>lol.hub</groupId>
<artifactId>TinyEventBus</artifactId>
<version>3.0.3</version>
<packaging>jar</packaging>
Expand All @@ -24,8 +24,8 @@

<developers>
<developer>
<name>nothub</name>
<email>[email protected]</email>
<name>hub</name>
<email>[email protected]</email>
</developer>
</developers>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.neckbeard.tinyeventbus;
package lol.hub.tinyeventbus;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.neckbeard.tinyeventbus;
package lol.hub.tinyeventbus;

/**
* Events implementing this interface can be canceled while processed by the {@link Bus}.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.neckbeard.tinyeventbus;
package lol.hub.tinyeventbus;

import net.jodah.typetools.TypeResolver;
import org.jetbrains.annotations.NotNull;
Expand Down
4 changes: 0 additions & 4 deletions src/test/java/cc/neckbeard/tinyeventbus/tests/Event.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cc.neckbeard.tinyeventbus.example;
package lol.hub.tinyeventbus.example;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Cancelable;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Cancelable;
import lol.hub.tinyeventbus.Sub;

import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cc.neckbeard.tinyeventbus.example;
package lol.hub.tinyeventbus.example;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Cancelable;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Cancelable;
import lol.hub.tinyeventbus.Sub;

class RefExample {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

class BooleanEvent extends Event {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Cancelable;
import lol.hub.tinyeventbus.Cancelable;

abstract class CancelableEvent extends Event implements Cancelable {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import net.jodah.concurrentunit.Waiter;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
Expand Down
4 changes: 4 additions & 0 deletions src/test/java/lol/hub/tinyeventbus/tests/Event.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package lol.hub.tinyeventbus.tests;

public abstract class Event {
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Execution;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

public class TestEvent extends CancelableEvent {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

public class ToggleEvent extends CancelableEvent {
public boolean state = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cc.neckbeard.tinyeventbus.tests;
package lol.hub.tinyeventbus.tests;

import cc.neckbeard.tinyeventbus.Bus;
import cc.neckbeard.tinyeventbus.Sub;
import lol.hub.tinyeventbus.Bus;
import lol.hub.tinyeventbus.Sub;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit 6d94214

Please sign in to comment.