You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:26:06 UTC
[sling-org-apache-sling-xss] 08/19: Cosmetics: make field final
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.xss-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-xss.git
commit dfc1f00b0feb30ae0b260e34030322f11f067d53
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Apr 26 07:31:19 2017 +0000
Cosmetics: make field final
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/xss@1792705 13f79535-47bb-0310-9956-ffa450edef68
---
src/main/java/org/apache/sling/xss/ProtectionContext.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/xss/ProtectionContext.java b/src/main/java/org/apache/sling/xss/ProtectionContext.java
index 3d9e2dd..b4da3dd 100644
--- a/src/main/java/org/apache/sling/xss/ProtectionContext.java
+++ b/src/main/java/org/apache/sling/xss/ProtectionContext.java
@@ -38,7 +38,7 @@ public enum ProtectionContext {
/**
* The name of the protection context
*/
- private String name;
+ private final String name;
private ProtectionContext(String name) {
this.name = name;
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.