diff --git a/core/src/main/java/cc/carm/lib/configuration/source/loader/PathGenerator.java b/core/src/main/java/cc/carm/lib/configuration/source/loader/PathGenerator.java index 827fc69..df9701e 100644 --- a/core/src/main/java/cc/carm/lib/configuration/source/loader/PathGenerator.java +++ b/core/src/main/java/cc/carm/lib/configuration/source/loader/PathGenerator.java @@ -87,7 +87,7 @@ public class PathGenerator { * Get the configuration name of the specified element. * Use the naming convention of all lowercase and "-" links. *
- * e.g. "SOME_NAME" -> "some-name"
+ * e.g. "SOME_NAME" will be "some-name"
*
* @param name source name
* @return the final path
@@ -104,7 +104,7 @@ public class PathGenerator {
// The content that is not named in all caps is then converted
.replaceAll("([a-z])=([A-Z])", "$1_$2")
// Remove any extra horizontal lines
- .replaceAll("=", "")
+ .replace("=", "")
// Replace the underscore with a dash
.replace("_", "-")
// Finally, convert it to all lowercase
diff --git a/core/src/main/java/cc/carm/lib/configuration/source/meta/ConfigurationMetaHolder.java b/core/src/main/java/cc/carm/lib/configuration/source/meta/ConfigurationMetaHolder.java
index fce23be..48da5c1 100644
--- a/core/src/main/java/cc/carm/lib/configuration/source/meta/ConfigurationMetaHolder.java
+++ b/core/src/main/java/cc/carm/lib/configuration/source/meta/ConfigurationMetaHolder.java
@@ -108,6 +108,7 @@ public class ConfigurationMetaHolder {
* @param type {@link ConfigurationMetadata}
* @param value Value of meta
* @param