提交 49ca3edd 编写于 作者: S Stephan Ewen

Clean up checkstyle and JavaDoc errors in core project

上级 52f9cf63
......@@ -145,7 +145,7 @@ public class BulkIterationBase<T> extends SingleInputOperator<T, T, AbstractFunc
}
/**
* @throws Exception
* @throws InvalidProgramException
*/
public void validate() throws InvalidProgramException {
if (this.input == null) {
......
......@@ -40,7 +40,7 @@ import eu.stratosphere.core.memory.MemorySegment;
* @see java.lang.Object#equals(Object)
* @see java.util.Comparator#compare(Object, Object)
*
* @param T The data type that the comparator works on.
* @param <T> The data type that the comparator works on.
*/
public abstract class TypeComparator<T> implements Serializable {
......@@ -192,7 +192,7 @@ public abstract class TypeComparator<T> implements Serializable {
/**
* Gets the number of bytes that the normalized key would maximally take. A value of
* {@link java.lang.Integer.MAX_VALUE} is interpreted as infinite.
* {@link java.lang.Integer}.MAX_VALUE is interpreted as infinite.
*
* @return The number of bytes that the normalized key would maximally take.
*/
......
......@@ -30,7 +30,6 @@ public interface DataInputView extends DataInput {
*
* @param numBytes The number of bytes to skip.
*
* @throws EOFException Thrown, when less then {@code numBytes} remain in the input.
* @throws IOException Thrown, if any I/O related problem occurred such that the input could not
* be advanced to the desired position.
*/
......
......@@ -108,6 +108,7 @@ public class InputViewDataInputStreamWrapper implements DataInputView {
return in.readDouble();
}
@SuppressWarnings("deprecation")
@Override
public String readLine() throws IOException {
return in.readLine();
......
......@@ -108,6 +108,7 @@ public class InputViewObjectInputStreamWrapper implements DataInputView {
return in.readDouble();
}
@SuppressWarnings("deprecation")
@Override
public String readLine() throws IOException {
return in.readLine();
......
......@@ -23,9 +23,6 @@ public interface SeekableDataInputView extends DataInputView {
* Sets the read pointer to the given position.
*
* @param position The new read position.
*
* @throws IOException Thrown, if any I/O related problem occurred such that the input could not
* be sought to the desired position.
*/
public void setReadPosition(long position);
}
......@@ -32,11 +32,11 @@ public interface NormalizableKey<T> extends Key<T> {
/**
* Gets the maximal length of normalized keys that the data type would produce to determine
* the order of instances solely by the normalized key. A value of {@link java.lang.Integer.MAX_VALUE}
* the order of instances solely by the normalized key. A value of {@link java.lang.Integer}.MAX_VALUE
* is interpreted as infinite.
* <p>
* For example, 32 bit integers return four, while Strings (potentially unlimited in length) return
* {@link java.lang.Integer.MAX_VALUE}.
* {@link java.lang.Integer}.MAX_VALUE.
*
* @return The maximal length of normalized keys.
*/
......
......@@ -344,7 +344,7 @@ public final class Record implements Value, CopyableValue<Record> {
* @param positions The positions of the fields to get.
* @param targets The values into which the content of the fields is put.
*
* @throws A NullKeyFieldException in case of a failing field read.
* @throws NullKeyFieldException in case of a failing field read.
*/
public void getFieldsIntoCheckingNull(int[] positions, Value[] targets) {
for (int i = 0; i < positions.length; i++) {
......
......@@ -16,9 +16,7 @@ package eu.stratosphere.types;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.DataInput;
import java.io.DataInputStream;
import java.io.DataOutput;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.PipedInputStream;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册