mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
WW-992 Remove SubscriptionSave class, which hosted a checkbox prepare method, now obsolete per the Checkbox interceptor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442358 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
package mailreader2;
|
||||
|
||||
/**
|
||||
* <p> Save a subscriptioin, resetting checkbox in prepare.</p>
|
||||
*/
|
||||
public final class SubscriptionSave extends Subscription {
|
||||
|
||||
public void prepare() {
|
||||
super.prepare();
|
||||
// checkbox workaround
|
||||
getSubscription().setAutoConnect(false);
|
||||
}
|
||||
|
||||
public String execute() throws Exception {
|
||||
return save();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user