struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdu...@apache.org
Subject [1/2] struts-examples git commit: removed unnecessary setter
Date Sun, 23 Apr 2017 13:34:42 GMT
Repository: struts-examples
Updated Branches:
  refs/heads/master dae06d15a -> 6711d4381


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/784b3398
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/784b3398
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/784b3398

Branch: refs/heads/master
Commit: 784b33986629d67ed094d23fd8c70141bb792bc0
Parents: dae06d1
Author: Stefaan Dutry <stefaan.dutry@gmail.com>
Authored: Sun Apr 23 15:23:21 2017 +0200
Committer: Stefaan Dutry <stefaan.dutry@gmail.com>
Committed: Sun Apr 23 15:23:21 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/784b3398/using-tags/src/main/java/org/apache/struts/using_tags/helloworld/action/HelloWorldAction.java
----------------------------------------------------------------------
diff --git a/using-tags/src/main/java/org/apache/struts/using_tags/helloworld/action/HelloWorldAction.java
b/using-tags/src/main/java/org/apache/struts/using_tags/helloworld/action/HelloWorldAction.java
index 835dc56..6111deb 100644
--- a/using-tags/src/main/java/org/apache/struts/using_tags/helloworld/action/HelloWorldAction.java
+++ b/using-tags/src/main/java/org/apache/struts/using_tags/helloworld/action/HelloWorldAction.java
@@ -28,10 +28,6 @@ public class HelloWorldAction extends ActionSupport {
         return helloCount;
     }
 
-    public void setHelloCount(int helloCount) {
-        HelloWorldAction.helloCount = helloCount;
-    }
-
     /*
      * Creates the MessageStore model object, 
      * increase helloCount by 1 and 


Mime
View raw message