You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2015/06/24 14:58:42 UTC
[36/50] [abbrv] wicket git commit: Minor,
non-functional improvements: fix a typo in javadoc,
remove explicit 'static' for enum
Minor, non-functional improvements: fix a typo in javadoc, remove explicit 'static' for enum
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/933ab1a6
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/933ab1a6
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/933ab1a6
Branch: refs/heads/master
Commit: 933ab1a6b38d606411c5bd62d4b0f58bf6860334
Parents: f0f4207
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Sat Jun 20 15:58:35 2015 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Jun 24 14:56:34 2015 +0300
----------------------------------------------------------------------
.../wicket/protocol/http/CsrfPreventionRequestCycleListener.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/933ab1a6/wicket-core/src/main/java/org/apache/wicket/protocol/http/CsrfPreventionRequestCycleListener.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/CsrfPreventionRequestCycleListener.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/CsrfPreventionRequestCycleListener.java
index 8abfb62..838863b 100644
--- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/CsrfPreventionRequestCycleListener.java
+++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/CsrfPreventionRequestCycleListener.java
@@ -120,7 +120,7 @@ public class CsrfPreventionRequestCycleListener extends AbstractRequestCycleList
/**
* The action to perform when a missing or conflicting Origin header is detected.
*/
- public static enum CsrfAction {
+ public enum CsrfAction {
/** Aborts the request and throws an exception when a CSRF request is detected. */
ABORT {
@Override
@@ -157,7 +157,7 @@ public class CsrfPreventionRequestCycleListener extends AbstractRequestCycleList
private CsrfAction noOriginAction = CsrfAction.ALLOW;
/**
- * Action to perform when a conflicing Origin header is found.
+ * Action to perform when a conflicting Origin header is found.
*/
private CsrfAction conflictingOriginAction = CsrfAction.ABORT;