Skip to content

Commit

Permalink
Improved: Add ‘ComponentConfig#toString’ to ease debugging
Browse files Browse the repository at this point in the history
(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 e5592a9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e5592a9

Please sign in to comment.