You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/07/12 19:07:24 UTC

[commons-io] branch master updated: Better Javadoc and inline comments.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new e51f61d  Better Javadoc and inline comments.
e51f61d is described below

commit e51f61d6234fc68b65111a51c08f35dca54c22e2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 12 15:07:20 2021 -0400

    Better Javadoc and inline comments.
---
 src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java  | 2 +-
 .../apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java   | 2 +-
 src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java   | 2 +-
 src/test/java/org/apache/commons/io/test/ThrowOnCloseOutputStream.java  | 2 +-
 src/test/java/org/apache/commons/io/test/ThrowOnCloseReader.java        | 2 +-
 src/test/java/org/apache/commons/io/test/ThrowOnCloseWriter.java        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
index 3cd8a96..2f0dab8 100644
--- a/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
+++ b/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
@@ -54,7 +54,7 @@ public class ReversedLinesFileReader implements Closeable {
         private int currentLastBytePos;
 
         /**
-         * ctor
+         * Constructs a new instance.
          *
          * @param no                     the part number
          * @param length                 its length
diff --git a/src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java b/src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java
index fed0a6f..7f6a16c 100644
--- a/src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java
+++ b/src/test/java/org/apache/commons/io/input/ReversedLinesFileReaderTestParamFile.java
@@ -90,7 +90,7 @@ public class ReversedLinesFileReaderTestParamFile {
             filePath = Files.copy(filePath, fileSystem.getPath("/" + fileName));
         }
 
-        // We want to test null Charset in the ReversedLinesFileReader ctor.
+        // We want to test null Charset in the ReversedLinesFileReaderconstructor.
         final Charset charset = charsetName != null ? Charset.forName(charsetName) : null;
         try (ReversedLinesFileReader reversedLinesFileReader = blockSize == null
                 ? new ReversedLinesFileReader(filePath, charset)
diff --git a/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java b/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java
index 23fb058..a0d7795 100644
--- a/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java
+++ b/src/test/java/org/apache/commons/io/test/ThrowOnCloseInputStream.java
@@ -28,7 +28,7 @@ import org.apache.commons.io.input.ProxyInputStream;
 public class ThrowOnCloseInputStream extends ProxyInputStream {
 
     /**
-     * Default ctor.
+     * Defaultconstructor.
      */
     public ThrowOnCloseInputStream() {
         super(NullInputStream.INSTANCE);
diff --git a/src/test/java/org/apache/commons/io/test/ThrowOnCloseOutputStream.java b/src/test/java/org/apache/commons/io/test/ThrowOnCloseOutputStream.java
index a28702d..467b27a 100644
--- a/src/test/java/org/apache/commons/io/test/ThrowOnCloseOutputStream.java
+++ b/src/test/java/org/apache/commons/io/test/ThrowOnCloseOutputStream.java
@@ -28,7 +28,7 @@ import org.apache.commons.io.output.ProxyOutputStream;
 public class ThrowOnCloseOutputStream extends ProxyOutputStream {
 
     /**
-     * Default ctor.
+     * Defaultconstructor.
      */
     public ThrowOnCloseOutputStream() {
         super(NullOutputStream.INSTANCE);
diff --git a/src/test/java/org/apache/commons/io/test/ThrowOnCloseReader.java b/src/test/java/org/apache/commons/io/test/ThrowOnCloseReader.java
index f5dc12a..747d23e 100644
--- a/src/test/java/org/apache/commons/io/test/ThrowOnCloseReader.java
+++ b/src/test/java/org/apache/commons/io/test/ThrowOnCloseReader.java
@@ -28,7 +28,7 @@ import org.apache.commons.io.input.ProxyReader;
 public class ThrowOnCloseReader extends ProxyReader {
 
     /**
-     * Default ctor.
+     * Defaultconstructor.
      */
     public ThrowOnCloseReader() {
         super(NullReader.INSTANCE);
diff --git a/src/test/java/org/apache/commons/io/test/ThrowOnCloseWriter.java b/src/test/java/org/apache/commons/io/test/ThrowOnCloseWriter.java
index 189a444..d5f3773 100644
--- a/src/test/java/org/apache/commons/io/test/ThrowOnCloseWriter.java
+++ b/src/test/java/org/apache/commons/io/test/ThrowOnCloseWriter.java
@@ -28,7 +28,7 @@ import org.apache.commons.io.output.ProxyWriter;
 public class ThrowOnCloseWriter extends ProxyWriter {
 
     /**
-     * Default ctor.
+     * Defaultconstructor.
      */
     public ThrowOnCloseWriter() {
         super(NullWriter.INSTANCE);