Fix error message to mention the proper method to override

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

Branch: refs/heads/master
Commit: c6246391b307398606f7e07bffbe32ec2e7ef21e
Parents: ca22211
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Mon Feb 27 09:02:30 2017 +0100
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Mon Feb 27 09:03:07 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/wicket/util/crypt/ClassCryptFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/c6246391/wicket-util/src/main/java/org/apache/wicket/util/crypt/ClassCryptFactory.java
----------------------------------------------------------------------
diff --git 
a/wicket-util/src/main/java/org/apache/wicket/util/crypt/ClassCryptFactory.java 
b/wicket-util/src/main/java/org/apache/wicket/util/crypt/ClassCryptFactory.java
index b2e260c..d57d84a 100644
--- 
a/wicket-util/src/main/java/org/apache/wicket/util/crypt/ClassCryptFactory.java
+++ 
b/wicket-util/src/main/java/org/apache/wicket/util/crypt/ClassCryptFactory.java
@@ -75,7 +75,7 @@ public class ClassCryptFactory implements ICryptFactory
                        log.warn("failed, Wicket will fallback on a dummy 
implementation");
                        log.warn("\t(" + NoCrypt.class.getName() + ")");
                        log.warn("This is NOT recommended for production 
systems.");
-                       log.warn("Please override method 
org.apache.wicket.Application.newCrypt()");
+                       log.warn("Please override method 
org.apache.wicket.util.crypt.ICryptFactory.newCrypt()");
                        log.warn("to provide a custom encryption/decryption 
implementation.");
                        log.warn("The cause of the instantiation failure: ");
                        log.warn("\t" + e.getMessage());

Reply via email to