Browse Source

checkstyle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277369 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
25180cc54b
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/main/org/apache/tools/ant/types/optional/ScriptSelector.java

+ 8
- 8
src/main/org/apache/tools/ant/types/optional/ScriptSelector.java View File

@@ -106,9 +106,9 @@ public class ScriptSelector extends BaseSelector {
public boolean isSelected(File basedir, String filename, File file) { public boolean isSelected(File basedir, String filename, File file) {
init(); init();
setSelected(true); setSelected(true);
this.file=file;
this.basedir=basedir;
this.filename=filename;
this.file = file;
this.basedir = basedir;
this.filename = filename;
runner.addBean("basedir", basedir); runner.addBean("basedir", basedir);
runner.addBean("filename", filename); runner.addBean("filename", filename);
runner.addBean("file", file); runner.addBean("file", file);
@@ -119,7 +119,7 @@ public class ScriptSelector extends BaseSelector {


/** /**
* get the base directory * get the base directory
* @return
* @return the base directory
*/ */
public File getBasedir() { public File getBasedir() {
return basedir; return basedir;
@@ -127,7 +127,7 @@ public class ScriptSelector extends BaseSelector {


/** /**
* get the filename of the file * get the filename of the file
* @return
* @return the filename of the file that is currently been tested
*/ */
public String getFilename() { public String getFilename() {
return filename; return filename;
@@ -135,7 +135,7 @@ public class ScriptSelector extends BaseSelector {


/** /**
* get the file that is currently to be tested * get the file that is currently to be tested
* @return
* @return the file that is currently been tested
*/ */
public File getFile() { public File getFile() {
return file; return file;
@@ -143,7 +143,7 @@ public class ScriptSelector extends BaseSelector {


/** /**
* get state of selected flag * get state of selected flag
* @return
* @return the selected flag
*/ */
public boolean isSelected() { public boolean isSelected() {
return selected; return selected;
@@ -152,7 +152,7 @@ public class ScriptSelector extends BaseSelector {
/** /**
* set the selected state * set the selected state
* Intended for script use, not as an Ant attribute * Intended for script use, not as an Ant attribute
* @param selected
* @param selected the selected state
*/ */
public void setSelected(boolean selected) { public void setSelected(boolean selected) {
this.selected = selected; this.selected = selected;


Loading…
Cancel
Save