Author: ilya_shaikovsky
Date: 2010-12-07 06:56:13 -0500 (Tue, 07 Dec 2010)
New Revision: 20431
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java
Log:
checkstyle corrections
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java
===================================================================
---
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java 2010-12-07
11:43:29 UTC (rev 20430)
+++
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/dropdownmenu/DropDownMenuBean.java 2010-12-07
11:56:13 UTC (rev 20431)
@@ -7,39 +7,44 @@
@ManagedBean
@ViewScoped
-public class DropDownMenuBean implements Serializable{
- private String current;
-
- public String getCurrent() {
- return this.current;
- }
-
- public void setCurrent(String current) {
- this.current = current;
- }
-
- public String doNew() {
- this.current="New";
- return null;
- }
- public String doOpen() {
- this.current="Open";
- return null;
- }
- public String doClose() {
- this.current="Close";
- return null;
- }
- public String doSave() {
- this.current="Save";
- return null;
- }
- public String doSaveAll() {
- this.current="Save All";
- return null;
- }
- public String doExit() {
- this.current="Exit";
- return null;
- }
+public class DropDownMenuBean implements Serializable {
+ private String current;
+
+ public String getCurrent() {
+ return this.current;
+ }
+
+ public void setCurrent(String current) {
+ this.current = current;
+ }
+
+ public String doNew() {
+ this.current = "New";
+ return null;
+ }
+
+ public String doOpen() {
+ this.current = "Open";
+ return null;
+ }
+
+ public String doClose() {
+ this.current = "Close";
+ return null;
+ }
+
+ public String doSave() {
+ this.current = "Save";
+ return null;
+ }
+
+ public String doSaveAll() {
+ this.current = "Save All";
+ return null;
+ }
+
+ public String doExit() {
+ this.current = "Exit";
+ return null;
+ }
}
Show replies by date