roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghu...@apache.org
Subject svn commit: r1493783 - /roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIAction.java
Date Mon, 17 Jun 2013 14:40:54 GMT
Author: ghuber
Date: Mon Jun 17 14:40:54 2013
New Revision: 1493783

URL: http://svn.apache.org/r1493783
Log:
stop pesky warning messages for missing salt setter when struts.devMode=true

Modified:
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIAction.java

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIAction.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIAction.java?rev=1493783&r1=1493782&r2=1493783&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIAction.java
(original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIAction.java
Mon Jun 17 14:40:54 2013
@@ -87,6 +87,16 @@ public abstract class UIAction extends A
 	public String getSalt() {
 		return salt;
 	}
+	
+	/**
+     * Sets the salt.
+     * 
+     * @param salt
+     *            the new salt
+     */
+    public void setSalt(String salt) {
+        this.salt = salt;
+    }
     
     // default action permissions, user is required
     public boolean isUserRequired() {



Mime
View raw message