From: asafbennatan Date: Mon, 14 Sep 2020 17:46:31 +0000 (+0300) Subject: added toString to WrongDependencyVersion to solve issue #396 (#397) X-Git-Tag: release-3.5.0~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f1724a2205c036080ecadbfc9a7da971b2713a09;p=pf4j.git added toString to WrongDependencyVersion to solve issue #396 (#397) --- diff --git a/pf4j/src/main/java/org/pf4j/DependencyResolver.java b/pf4j/src/main/java/org/pf4j/DependencyResolver.java index 45005e2..866eb93 100644 --- a/pf4j/src/main/java/org/pf4j/DependencyResolver.java +++ b/pf4j/src/main/java/org/pf4j/DependencyResolver.java @@ -267,6 +267,15 @@ public class DependencyResolver { return requiredVersion; } + @Override + public String toString() { + return "WrongDependencyVersion{" + + "dependencyId='" + dependencyId + '\'' + + ", dependentId='" + dependentId + '\'' + + ", existingVersion='" + existingVersion + '\'' + + ", requiredVersion='" + requiredVersion + '\'' + + '}'; + } } /**