Browse Source

checkstyle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483275 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
e964fd352e
3 changed files with 3 additions and 5 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/ProjectComponent.java
  2. +2
    -0
      src/main/org/apache/tools/ant/types/DataType.java
  3. +0
    -4
      src/main/org/apache/tools/ant/util/ReflectWrapper.java

+ 1
- 1
src/main/org/apache/tools/ant/ProjectComponent.java View File

@@ -43,7 +43,6 @@ public abstract class ProjectComponent implements Cloneable {
* Please use the {@link #getLocation()} method. * Please use the {@link #getLocation()} method.
*/ */
protected Location location = Location.UNKNOWN_LOCATION; protected Location location = Location.UNKNOWN_LOCATION;
// CheckStyle:VisibilityModifier ON


/** /**
* Description of this component, if any. * Description of this component, if any.
@@ -51,6 +50,7 @@ public abstract class ProjectComponent implements Cloneable {
* You should not be accessing this variable directly. * You should not be accessing this variable directly.
*/ */
protected String description; protected String description;
// CheckStyle:VisibilityModifier ON


/** Sole constructor. */ /** Sole constructor. */
public ProjectComponent() { public ProjectComponent() {


+ 2
- 0
src/main/org/apache/tools/ant/types/DataType.java View File

@@ -38,6 +38,7 @@ import org.apache.tools.ant.util.IdentityStack;
* *
*/ */
public abstract class DataType extends ProjectComponent implements Cloneable { public abstract class DataType extends ProjectComponent implements Cloneable {
// CheckStyle:VisibilityModifier OFF


/** /**
* Value to the refid attribute. * Value to the refid attribute.
@@ -62,6 +63,7 @@ public abstract class DataType extends ProjectComponent implements Cloneable {
* {@link #isChecked} instead. * {@link #isChecked} instead.
*/ */
protected boolean checked = true; protected boolean checked = true;
// CheckStyle:VisibilityModifier ON


/** /**
* Has the refid attribute of this element been set? * Has the refid attribute of this element been set?


+ 0
- 4
src/main/org/apache/tools/ant/util/ReflectWrapper.java View File

@@ -18,10 +18,6 @@
package org.apache.tools.ant.util; package org.apache.tools.ant.util;


import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.apache.tools.ant.BuildException;
import java.lang.reflect.Field;


/** /**
* Utility class to handle reflection on java objects. * Utility class to handle reflection on java objects.


Loading…
Cancel
Save