From 5b2c5a04dcbf30e34d2f81615a152e22c1bdb14f Mon Sep 17 00:00:00 2001 From: Nikolai Connolly Date: Wed, 9 Oct 2024 22:42:09 -0500 Subject: [PATCH] test --- pom.xml | 40 ++++++++++++++++--- .../storageapi/utils/ReflectionUtil.java | 2 +- 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index c603697..6cac923 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ wtf.casper.storageapi StorageAPI - 1.0-SNAPSHOT + 1.0.1 jar @@ -17,10 +17,15 @@ - ossrh - Central Repository OSSRH - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + casperwtf respository-releases + casperwtf Repository + http://185.135.158.51:8080/releases + + casperwtf respository-snapshots + casperwtf Repository + http://185.135.158.51:8080/snapshots + @@ -121,7 +126,32 @@ false - + + org.apache.maven.plugins + maven-source-plugin + 3.3.0 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.5.0 + + + attach-javadocs + + jar + + + + diff --git a/src/main/java/wtf/casper/storageapi/utils/ReflectionUtil.java b/src/main/java/wtf/casper/storageapi/utils/ReflectionUtil.java index 3e75710..eae0baf 100644 --- a/src/main/java/wtf/casper/storageapi/utils/ReflectionUtil.java +++ b/src/main/java/wtf/casper/storageapi/utils/ReflectionUtil.java @@ -176,7 +176,7 @@ public static V createInstance(Class valueClass, Object... params) { } /** - * Get the generic type of class (e.g. List -> String) + * Get the generic type of class (e.g. List of String -> String) * * @param field the field to get the generic type from * @param index the index of the generic type