📄 privateconstructoraction.java
字号:
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.config.providers;import com.opensymphony.xwork2.Action;/** * Action with nu public constructor. * <p/> * Used for unit test of {@link XmlConfigurationProvider}. * * @author Claus Ibsen */public class PrivateConstructorAction implements Action { private int foo; private PrivateConstructorAction() { // should be private, no constructor } public String execute() throws Exception { return SUCCESS; } public void setFoo(int foo) { this.foo = foo; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -