diff --git a/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java b/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java
index 3ed1307fa2d..05d711a49d3 100644
--- a/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java
+++ b/core/src/main/java/org/owasp/dependencycheck/analyzer/CarthageAnalyzer.java
@@ -94,7 +94,8 @@ public class CarthageAnalyzer extends AbstractFileTypeAnalyzer {
*
* - binary "https://dl.google.com/geosdk/GoogleMaps.json" "7.2.0"
* - git "https://gitlab.matrix.org/matrix-org/olm.git" "3.2.16"
- * - github "alinradut/SwiftEntryKit" "95f4a08f41ddcf2c02e2b22789038774c8c94df5"
+ * - github "alinradut/SwiftEntryKit"
+ * "95f4a08f41ddcf2c02e2b22789038774c8c94df5"
* - github "CocoaLumberjack/CocoaLumberjack" "3.8.5"
* - github "realm/realm-swift" "v10.44.0"
*
@@ -109,8 +110,11 @@ public class CarthageAnalyzer extends AbstractFileTypeAnalyzer {
/**
* Capture group #1 is the dependency name.
*
- * Example values: - robbiehanson/XMPPFramework -
- * CocoaLumberjack/CocoaLumberjack
+ * Example values:
+ *
+ * - robbiehanson/XMPPFramework
+ * - CocoaLumberjack/CocoaLumberjack
+ *
*/
private static final Pattern CARTFILE_RESOLVED_GITHUB_DEPENDENCY = Pattern.compile("[a-zA-Z0-9-_]+/([a-zA-Z0-9\\-_\\.]+)");
@@ -122,9 +126,13 @@ public class CarthageAnalyzer extends AbstractFileTypeAnalyzer {
/**
* Capture group #1 is the dependency name.
*
- * Example values: - https://my.domain.com/release/MyFramework.json -
- * file:///some/Path/MyFramework.json - relative/path/MyFramework.json -
- * /absolute/path/MyFramework.json
+ * Example values:
+ *
+ * - https://my.domain.com/release/MyFramework.json
+ * - file:///some/Path/MyFramework.json -
+ * relative/path/MyFramework.json
+ * - /absolute/path/MyFramework.json
+ *
*/
private static final Pattern CARTFILE_RESOLVED_BINARY_DEPENDENCY = Pattern.compile("([a-zA-Z0-9\\-_\\.]+).json");