Skip to content

Commit 665e4e8

Browse files
beryllwpolyzos
andauthored
[hotfix] fix some typos (#1790)
* [hotfix] fix some typos * add small improvement --------- Co-authored-by: ipolyzos <[email protected]>
1 parent 3716519 commit 665e4e8

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

fluss-common/src/main/java/org/apache/fluss/exception/IllegalConfigurationException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class IllegalConfigurationException extends RuntimeException {
3333
private static final long serialVersionUID = 695506964810499989L;
3434

3535
/**
36-
* Constructs an new IllegalConfigurationException with the given error message.
36+
* Constructs a new IllegalConfigurationException with the given error message.
3737
*
3838
* @param message The error message for the exception.
3939
*/
@@ -42,7 +42,7 @@ public IllegalConfigurationException(String message) {
4242
}
4343

4444
/**
45-
* Constructs an new IllegalConfigurationException with the given error message format and
45+
* Constructs a new IllegalConfigurationException with the given error message format and
4646
* arguments.
4747
*
4848
* @param format The error message format for the exception.
@@ -53,7 +53,7 @@ public IllegalConfigurationException(String format, Object... arguments) {
5353
}
5454

5555
/**
56-
* Constructs an new IllegalConfigurationException with the given error message and a given
56+
* Constructs a new IllegalConfigurationException with the given error message and a given
5757
* cause.
5858
*
5959
* @param message The error message for the exception.

fluss-common/src/test/java/org/apache/fluss/utils/IOUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void testCopyBytes() throws IOException {
4949
ByteArrayOutputStream copyOut = new ByteArrayOutputStream();
5050
// copy bytes to a output stream
5151
IOUtils.copyBytes(in, copyOut);
52-
// then, read bytes from the out out stream
52+
// then, read bytes from the output stream
5353
byte[] buf = new byte[5];
5454
IOUtils.readFully(new ByteArrayInputStream(out.toByteArray()), buf, 0, 5);
5555

fluss-common/src/test/java/org/apache/fluss/utils/concurrent/ConjunctFutureTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import static org.assertj.core.api.Assertions.assertThat;
4141
import static org.assertj.core.api.Assertions.assertThatThrownBy;
4242

43-
/** Tests for the {@link ConjunctFuture} and its sub classes. */
43+
/** Tests for the {@link ConjunctFuture} and its subclasses. */
4444
@ExtendWith(ParameterizedTestExtension.class)
4545
public class ConjunctFutureTest {
4646
private static final List<FutureFactory> PARAMETERS =

fluss-common/src/test/java/org/apache/fluss/utils/concurrent/ExecutorThreadFactoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
import static org.assertj.core.api.Assertions.assertThat;
2828

29-
/** Test for {@link org.apache.fluss.utils.concurrent.ExecutorThreadFactory}. . */
29+
/** Test for {@link org.apache.fluss.utils.concurrent.ExecutorThreadFactory}. */
3030
public class ExecutorThreadFactoryTest {
3131

3232
@Test

fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/source/split/SourceSplitBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
import java.util.Objects;
2727

28-
/** A base source split for {@link SnapshotSplit} and {@link LogSplit}. . */
28+
/** A base source split for {@link SnapshotSplit} and {@link LogSplit}. */
2929
public abstract class SourceSplitBase implements SourceSplit {
3030

3131
public static final byte HYBRID_SNAPSHOT_SPLIT_FLAG = 1;

0 commit comments

Comments
 (0)