struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdu...@apache.org
Subject [3/6] struts-examples git commit: removed unnecessary throws statement
Date Mon, 17 Apr 2017 15:19:50 GMT
removed unnecessary throws statement


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/3e31be74
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/3e31be74
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/3e31be74

Branch: refs/heads/master
Commit: 3e31be74a4f7d694fbe5628c0a4a32262a55945d
Parents: 47ad79f
Author: Stefaan Dutry <stefaan.dutry@gmail.com>
Authored: Mon Apr 17 15:27:20 2017 +0200
Committer: Stefaan Dutry <stefaan.dutry@gmail.com>
Committed: Mon Apr 17 15:27:20 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/struts/helloworld/action/HelloWorldAction.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/3e31be74/helloworld/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
----------------------------------------------------------------------
diff --git a/helloworld/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
b/helloworld/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
index 8d55e22..d098c07 100755
--- a/helloworld/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
+++ b/helloworld/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
@@ -29,7 +29,7 @@ public class HelloWorldAction extends ActionSupport {
      * (non-Javadoc)
      * @see com.opensymphony.xwork2.ActionSupport#execute()
      */
-    public String execute() throws Exception {
+    public String execute() {
         messageStore = new MessageStore() ;
         
         return SUCCESS;


Mime
View raw message