@@ -25,15 +25,19 @@ public class ClassToJavadoc { | |||||
/** | /** | ||||
* @param anArgument A String that is ignored | * @param anArgument A String that is ignored | ||||
*/ | */ | ||||
public void methodToJavadoc(String anArgument) { } | |||||
public void methodToJavadoc(String anArgument) {} | |||||
/** | /** | ||||
* @see java.lang.Object#toString() | * @see java.lang.Object#toString() | ||||
*/ | */ | ||||
public String toString() { return this.getClass().getName(); } | |||||
public String toString() { | |||||
return this.getClass().getName(); | |||||
} | |||||
/** | /** | ||||
* @return An arbitrary string. | * @return An arbitrary string. | ||||
*/ | */ | ||||
public String anotherString() {return "An arbitrary string.";} | |||||
public String anotherString() { | |||||
return "An arbitrary string."; | |||||
} | |||||
} | } |
@@ -14,21 +14,17 @@ | |||||
* See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
* limitations under the License. | * limitations under the License. | ||||
*/ | */ | ||||
import java.rmi.Remote; | |||||
import java.rmi.RemoteException; | import java.rmi.RemoteException; | ||||
import java.util.Calendar; | import java.util.Calendar; | ||||
import org.apache.tools.ant.BuildException; | |||||
import org.apache.tools.ant.util.DateUtils; | import org.apache.tools.ant.util.DateUtils; | ||||
/** | /** | ||||
* This class imports a dependency on the Ant runtime classes, | * This class imports a dependency on the Ant runtime classes, | ||||
* so tests that classpath setup include them | * so tests that classpath setup include them | ||||
*/ | */ | ||||
public class AntTimestamp implements RemoteTimestamp { | public class AntTimestamp implements RemoteTimestamp { | ||||
/** | /** | ||||
* return the phase of the moon. | * return the phase of the moon. | ||||
* Note the completely different semantics of the other implementation, | * Note the completely different semantics of the other implementation, | ||||
@@ -14,7 +14,6 @@ | |||||
* See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
* limitations under the License. | * limitations under the License. | ||||
*/ | */ | ||||
import java.rmi.Remote; | |||||
import java.rmi.RemoteException; | import java.rmi.RemoteException; | ||||
/** | /** | ||||