You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/04/05 08:44:18 UTC
[2/3] struts git commit: Adds proper toString implementation
Adds proper toString implementation
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/cfad2f1d
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/cfad2f1d
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/cfad2f1d
Branch: refs/heads/master
Commit: cfad2f1d35364c9144a81832be8028f148a504f5
Parents: 09e2d18
Author: Lukasz Lenart <lu...@apache.org>
Authored: Tue Apr 5 08:43:46 2016 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Tue Apr 5 08:43:46 2016 +0200
----------------------------------------------------------------------
.../java/org/apache/struts2/tiles/StrutsApplicationResource.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/cfad2f1d/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsApplicationResource.java
----------------------------------------------------------------------
diff --git a/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsApplicationResource.java b/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsApplicationResource.java
index 6884e9a..4ff5b54 100644
--- a/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsApplicationResource.java
+++ b/plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsApplicationResource.java
@@ -52,4 +52,8 @@ public class StrutsApplicationResource extends PostfixedApplicationResource {
return 0;
}
+ @Override
+ public String toString() {
+ return "Resource " + getLocalePath() + " at " + url.toString();
+ }
}