Skip to content

Commit eac5e1a

Browse files
feat: prepare next update (#50)
2 parents 14362a0 + 8f24621 commit eac5e1a

File tree

9 files changed

+11
-15
lines changed

9 files changed

+11
-15
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = "net.onelitefeather"
8-
version = "0.8.0"
8+
version = "0.8.1"
99

1010
java {
1111
toolchain {

gradle/wrapper/gradle-wrapper.jar

3.25 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ dependencyResolutionManagement {
2121
}
2222
versionCatalogs {
2323
create("libs") {
24-
version("aves", "1.12.0")
25-
version("bom", "1.6.0")
24+
version("aves", "1.13.0")
25+
version("bom", "1.6.3")
2626

2727
library("mycelium.bom", "net.onelitefeather", "mycelium-bom").versionRef("bom")
2828
library("minestom","net.minestom", "minestom").withoutVersion()

src/main/java/net/onelitefeather/guira/SetupDataService.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import net.onelitefeather.guira.data.SetupData;
44
import org.jetbrains.annotations.Contract;
5-
import org.jetbrains.annotations.Nullable;
65
import org.jetbrains.annotations.UnmodifiableView;
76

87
import java.util.Map;
@@ -12,8 +11,6 @@
1211
/**
1312
* The {@link SetupDataService} is responsible for managing setup data during a runtime session.
1413
* It allows adding, removing, and retrieving setup data associated with a unique identifier (UUID).
15-
*
16-
1714
* @author thEvilReaper
1815
* @version 1.0.0
1916
* @since 0.1.0
@@ -57,15 +54,15 @@ static SetupDataService create() {
5754
* @param uuid the unique identifier for the setup data
5855
* @return an optional containing the removed setup data, or empty if not found
5956
*/
60-
Optional<@Nullable SetupData> remove(UUID uuid);
57+
Optional<SetupData> remove(UUID uuid);
6158

6259
/**
6360
* Retrieves the setup data associated with the given UUID.
6461
*
6562
* @param uuid the unique identifier for the setup data
6663
* @return an optional containing the setup data, or empty if not found
6764
*/
68-
Optional<@Nullable SetupData> get(UUID uuid);
65+
Optional<SetupData> get(UUID uuid);
6966

7067
/**
7168
* Returns an unmodifiable view of the setup data map.

src/main/java/net/onelitefeather/guira/data/MapSetupData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public MapEntry getEntry() {
6464
}
6565

6666
/**
67-
* Returns the map of the setup data.
67+
* Returns the unique identifier of the setup data.
6868
*
6969
* @return the map as {@link BaseMap}
7070
*/
@@ -77,7 +77,7 @@ public UUID getId() {
7777
*
7878
* @return an {@link Optional} containing the map if it exists, otherwise empty
7979
*/
80-
public Optional<@Nullable T> getMap() {
80+
public Optional<T> getMap() {
8181
return Optional.ofNullable(this.map);
8282
}
8383
}

src/main/java/net/onelitefeather/guira/functional/OptionalSetupDataGetter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package net.onelitefeather.guira.functional;
22

33
import net.onelitefeather.guira.data.SetupData;
4-
import org.jetbrains.annotations.Nullable;
54

65
import java.util.Optional;
76
import java.util.UUID;
@@ -22,5 +21,5 @@ public interface OptionalSetupDataGetter {
2221
* @param uuid the {@link UUID} of the player
2322
* @return an Optional containing the setup data if it exists, or an empty Optional if it does not
2423
*/
25-
Optional<@Nullable SetupData> get(UUID uuid);
24+
Optional<SetupData> get(UUID uuid);
2625
}

src/main/java/net/onelitefeather/guira/functional/SetupDataGetter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public interface SetupDataGetter {
1919
/**
2020
* Retrieves the setup data for the specified {@link UUID}.
2121
*
22-
* @param uuid the {@link UUID} of the player
22+
* @param uuid the {@link UUID} for the setup data
2323
* @return the setup data associated with the {@link UUID}, or null if no data exists
2424
*/
2525
@Nullable SetupData getData(@NotNull UUID uuid);

0 commit comments

Comments
 (0)