Skip to content

Commit

Permalink
Added MapYAMLParser.
Browse files Browse the repository at this point in the history
Updated FulmiCollection.
Removed unnecessary nullity annotations.
Remover org.joor.Reflect dependency since rarely used.
Fixed CallableYAMLParser saving static fields.
Fixed various bugs.
Fixed bug in IConfiguration.
  • Loading branch information
Fulminazzo committed Jan 17, 2024
1 parent ae35bb6 commit ab1be04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = 'it.fulminazzo'
version = '1.4.2'
version = '1.4.3'

repositories {
mavenCentral()
Expand All @@ -19,7 +19,7 @@ dependencies {
compileOnly 'org.jetbrains:annotations:24.1.0'

implementation 'org.yaml:snakeyaml:2.2'
api 'it.fulminazzo:FulmiCollection:1.2.2'
api 'it.fulminazzo:FulmiCollection:latest.release'

testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public static void removeParsers(YAMLParser<?> @NotNull ... yamlParsers) {
* @return the parsers from package
*/
public static @NotNull List<YAMLParser<?>> getParsersFromPackage(String packageName) {
Set<Class<?>> classes = ClassUtils.findClassesInPackage(packageName, FileConfiguration.class);
Set<Class<?>> classes = ClassUtils.findClassesInPackage(packageName);
List<YAMLParser<?>> yamlParsers = new LinkedList<>();
for (Class<?> clazz : classes)
if (YAMLParser.class.isAssignableFrom(clazz))
Expand Down

0 comments on commit ab1be04

Please sign in to comment.