You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/09/14 21:12:28 UTC

incubator-juneau git commit: Fix code example in Javadoc.

Repository: incubator-juneau
Updated Branches:
  refs/heads/master 426cd0f07 -> a5dd20ae8


Fix code example in Javadoc.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/a5dd20ae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/a5dd20ae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/a5dd20ae

Branch: refs/heads/master
Commit: a5dd20ae8b06ea156a86aed4bb0194ce9addd2ce
Parents: 426cd0f
Author: JamesBognar <ja...@apache.org>
Authored: Thu Sep 14 17:12:24 2017 -0400
Committer: JamesBognar <ja...@apache.org>
Committed: Thu Sep 14 17:12:24 2017 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/juneau/rest/annotation/HookEvent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/a5dd20ae/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/HookEvent.java
----------------------------------------------------------------------
diff --git a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/HookEvent.java b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/HookEvent.java
index 98489f3..b82aead 100644
--- a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/HookEvent.java
+++ b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/annotation/HookEvent.java
@@ -263,7 +263,7 @@ public enum HookEvent {
 	 *
 	 * 		<jc>// Log the time it took to execute the request.</jc>
 	 * 		<ja>@RestHook</ja>(<jsf>END_CALL</jsf>)
-	 * 		<jk>public void</jk> onEndCall(RestRequest req, Logger logger) {
+	 * 		<jk>public void</jk> onEndCall(HttpServletRequest req, Logger logger) {
 	 * 			Exception e = (Exception)req.getAttribute(<js>"Exception"</js>);
 	 * 			Long execTime = (Long)req.getAttribute(<js>"ExecTime"</js>);
 	 * 			<jk>if</jk> (e != <jk>null</jk>)