You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by sd...@apache.org on 2017/04/23 21:52:00 UTC

[2/8] struts-examples git commit: removed unnecessary setter

removed unnecessary setter


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

Branch: refs/heads/master
Commit: c98d0fc383a3320ea0f658bcb023787fc64dfc19
Parents: 7f6f7c8
Author: Stefaan Dutry <st...@gmail.com>
Authored: Sun Apr 23 17:57:55 2017 +0200
Committer: Stefaan Dutry <st...@gmail.com>
Committed: Sun Apr 23 17:57:55 2017 +0200

----------------------------------------------------------------------
 .../org/apache/struts/helloworld/action/HelloWorldAction.java    | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/c98d0fc3/coding-actions/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
----------------------------------------------------------------------
diff --git a/coding-actions/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java b/coding-actions/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
index 95b7408..71eea4b 100644
--- a/coding-actions/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
+++ b/coding-actions/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java
@@ -27,10 +27,6 @@ public class HelloWorldAction extends ActionSupport {
         return helloCount;
     }
 
-    public void setHelloCount(int helloCount) {
-        HelloWorldAction.helloCount = helloCount;
-    }
-    
     private String userName;
 
     public String getUserName() {