Skip to content

Commit 5566a8e

Browse files
author
Gintas Grigelionis
committed
Code formatting in test cases
1 parent c9ca84f commit 5566a8e

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

src/etc/testcases/taskdefs/javadoc/java/ClassToJavadoc.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,19 @@ public class ClassToJavadoc {
2525
/**
2626
* @param anArgument A String that is ignored
2727
*/
28-
public void methodToJavadoc(String anArgument) { }
28+
public void methodToJavadoc(String anArgument) {}
2929

3030
/**
3131
* @see java.lang.Object#toString()
3232
*/
33-
public String toString() { return this.getClass().getName(); }
33+
public String toString() {
34+
return this.getClass().getName();
35+
}
3436

3537
/**
3638
* @return An arbitrary string.
3739
*/
38-
public String anotherString() {return "An arbitrary string.";}
40+
public String anotherString() {
41+
return "An arbitrary string.";
42+
}
3943
}

src/etc/testcases/taskdefs/rmic/src/AntTimestamp.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,17 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
import java.rmi.Remote;
1817
import java.rmi.RemoteException;
1918
import java.util.Calendar;
2019

21-
import org.apache.tools.ant.BuildException;
2220
import org.apache.tools.ant.util.DateUtils;
2321

24-
2522
/**
2623
* This class imports a dependency on the Ant runtime classes,
2724
* so tests that classpath setup include them
2825
*/
2926
public class AntTimestamp implements RemoteTimestamp {
3027

31-
3228
/**
3329
* return the phase of the moon.
3430
* Note the completely different semantics of the other implementation,

src/etc/testcases/taskdefs/rmic/src/RemoteTimestampImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
import java.rmi.Remote;
1817
import java.rmi.RemoteException;
1918

2019
/**

0 commit comments

Comments
 (0)