Skip to content
Permalink
Browse files

Improved: Add ‘ComponentConfig#toString’ to ease debugging

(OFBIZ-11264)

Thanks: Samuel Trégouët for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1869184 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
mthl committed Oct 30, 2019
1 parent 5a8e2dc commit e5592a9bf4afa8e5904ba3552fef46da2183b485
@@ -669,6 +669,11 @@ private static Type of(String type) {
}
}

@Override
public String toString() {
return "<ComponentConfig name=" + this.globalName + " />";
}

// ComponentConfig instances need to be looked up by their global name and root location,
// so this class encapsulates the Maps and synchronization code required to do that.
private static final class ComponentConfigCache {

0 comments on commit e5592a9

Please sign in to comment.
You can’t perform that action at this time.