Skip to content

Commit

Permalink
Remove offending whitespaces in javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuzdalov committed Jul 5, 2018
1 parent 1217951 commit a7deb1a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions src/ru/ifmo/testlib/AbstractInStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class AbstractInStream implements InStream {

/**
* Creates new {@link InStream} for specified file.
*
*
* @param file a file to read data from
*/
public AbstractInStream(File file) {
Expand Down Expand Up @@ -184,7 +184,7 @@ public String nextLine() {

/**
* Returns the next character from the stream. Used by {@see nextChar()} and similar methods.
*
*
* @return next character or {@see EOF_CHAR} if the end of file was reached
*/
private int scanChar() {
Expand All @@ -202,20 +202,20 @@ private int scanChar() {
/**
* Returns a correct exception when input mismatch occurs. Different types
* of input streams generate different exceptions on crash.
*
*
* @param message exception message (may be null).
* @param cause exception cause (may be null).
*
*
* @return the exception.
*/
protected abstract Outcome getExceptionForInputMismatch(String message, Exception cause);

/**
* Returns a correct exception when input mismatch occurs. Different types
* of input streams generate different exceptions on crash.
*
*
* @param message exception message (may be null).
*
*
* @return the exception.
*/
private Outcome getExceptionForInputMismatch(String message) {
Expand All @@ -225,9 +225,9 @@ private Outcome getExceptionForInputMismatch(String message) {
/**
* Returns a correct exception when input mismatch occurs. Different types
* of input streams generate different exceptions on crash.
*
*
* @param cause exception cause (may be null).
*
*
* @return the exception.
*/
private Outcome getExceptionForInputMismatch(Exception cause) {
Expand Down
4 changes: 2 additions & 2 deletions src/ru/ifmo/testlib/InStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public interface InStream extends Closeable {
*
* @param before the {@link String} containing characters to be used as delimiters before the token.
* @param after the {@link String} containing characters to be used as delimiters after the token.
*
*
* @return next {@link String} token;
*/
String nextToken(String before, String after);
Expand All @@ -106,7 +106,7 @@ public interface InStream extends Closeable {

/**
* Returns next {@link String} token. Whitespace characters are used as delimiters.
*
*
* @return next {@link String} token.
*/
String nextToken();
Expand Down
12 changes: 6 additions & 6 deletions src/ru/ifmo/testlib/Outcome.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ public class Outcome extends RuntimeException {
public static void quit(Type type, String format, Object... obj) {
throw new Outcome(type, String.format(format, obj));
}

@Deprecated
public static void fail(String format, Object... obj) {
throw new Outcome(Type.FAIL, String.format(format, obj));
}

@Deprecated
public static void ok(String format, Object... obj) {
throw new Outcome(Type.OK, String.format(format, obj));
Expand All @@ -27,7 +27,7 @@ public static void ok(String format, Object... obj) {
public static void ok() {
ok("");
}

@Deprecated
public static void wa(String format, Object... obj) {
throw new Outcome(Type.WA, String.format(format, obj));
Expand Down Expand Up @@ -56,7 +56,7 @@ public enum Type {

/**
* Creates a new outcome.
*
*
* @param type the type of the outcome.
* @param comment the comment to the outcome.
*/
Expand All @@ -73,7 +73,7 @@ public Outcome(Type type, String comment, Exception ex) {

/**
* Returns the type of the outcome.
*
*
* @return the type.
*/
public Type getType() {
Expand All @@ -82,7 +82,7 @@ public Type getType() {

/**
* Returns the comment to the outcome.
*
*
* @return the comment.
*/
public String getComment() {
Expand Down

0 comments on commit a7deb1a

Please sign in to comment.