turned comments into LOG.trace()
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/8651545a Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/8651545a Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/8651545a Branch: refs/heads/master Commit: 8651545aaa34dad22c16969f5697cb5b1055f591 Parents: 9230270 Author: cnenning <cnenn...@apache.org> Authored: Mon Feb 1 09:44:22 2016 +0100 Committer: cnenning <cnenn...@apache.org> Committed: Mon Feb 1 09:44:22 2016 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/struts2/views/tiles/TilesResult.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/8651545a/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/TilesResult.java ---------------------------------------------------------------------- diff --git a/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/TilesResult.java b/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/TilesResult.java index 4656f91..ecbdcee 100644 --- a/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/TilesResult.java +++ b/plugins/tiles/src/main/java/org/apache/struts2/views/tiles/TilesResult.java @@ -115,7 +115,7 @@ public class TilesResult extends ServletDispatcherResult { String actionName = invocation.getInvocationContext().getName(); if (StringUtils.isEmpty(location)) { - // location not set -> action must have one @TilesDefinition + LOG.trace("location not set -> action must have one @TilesDefinition"); tilesDefinition = annotationProcessor.findAnnotation(action, null); String tileName = StringUtils.isNotEmpty(tilesDefinition.name()) ? tilesDefinition.name() : actionName; location = tileName; @@ -142,7 +142,7 @@ public class TilesResult extends ServletDispatcherResult { } if (!definitionValid) { if (tilesDefinition == null) { - // tilesDefinition not found yet, search in action + LOG.trace("tilesDefinition not found yet, searching in action"); tilesDefinition = annotationProcessor.findAnnotation(action, location); } if (tilesDefinition != null) {