The type of results supplied by this supplier
* @since 0.18
*/
diff --git a/src/main/java/com/jcabi/log/SupplierLogger.java b/src/main/java/com/jcabi/log/SupplierLogger.java
index df4a1022..be744d88 100644
--- a/src/main/java/com/jcabi/log/SupplierLogger.java
+++ b/src/main/java/com/jcabi/log/SupplierLogger.java
@@ -32,8 +32,6 @@
/**
* Logging methods which take {@link Supplier} arguments.
* Used with Java 8 method referencing.
- * @author Mihai Andronache (amihaiemil@gmail.com)
- * @version $Id$
* @since 0.18
* @checkstyle HideUtilityClassConstructorCheck (500 lines)
*/
diff --git a/src/main/java/com/jcabi/log/TextDecor.java b/src/main/java/com/jcabi/log/TextDecor.java
index 60202f52..2619e293 100644
--- a/src/main/java/com/jcabi/log/TextDecor.java
+++ b/src/main/java/com/jcabi/log/TextDecor.java
@@ -43,8 +43,6 @@
* Logger.debug("Long input '%[text]s' provided", input);
* }
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1.5
*/
@ToString
diff --git a/src/main/java/com/jcabi/log/TypeDecor.java b/src/main/java/com/jcabi/log/TypeDecor.java
index 6806dc9b..c9bc07a5 100644
--- a/src/main/java/com/jcabi/log/TypeDecor.java
+++ b/src/main/java/com/jcabi/log/TypeDecor.java
@@ -45,8 +45,6 @@
* }
*
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1
*/
@ToString
diff --git a/src/main/java/com/jcabi/log/VerboseCallable.java b/src/main/java/com/jcabi/log/VerboseCallable.java
index 7d339905..b3689c11 100644
--- a/src/main/java/com/jcabi/log/VerboseCallable.java
+++ b/src/main/java/com/jcabi/log/VerboseCallable.java
@@ -52,8 +52,6 @@
*
* This class is thread-safe.
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.16
* @param Type of result
* @see VerboseThreads
@@ -122,6 +120,7 @@ public T call() throws Exception {
runnable.run();
return null;
}
+
@Override
public String toString() {
return runnable.toString();
diff --git a/src/main/java/com/jcabi/log/VerboseProcess.java b/src/main/java/com/jcabi/log/VerboseProcess.java
index c297c79b..ae3d3ad8 100644
--- a/src/main/java/com/jcabi/log/VerboseProcess.java
+++ b/src/main/java/com/jcabi/log/VerboseProcess.java
@@ -62,8 +62,6 @@
*
* The class is thread-safe.
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.5
*/
@ToString
@@ -405,24 +403,30 @@ private static void close(final Closeable res) {
/**
* Stream monitor.
+ *
+ * @since 0.1
*/
private static final class Monitor implements Callable {
/**
* Stream to read.
*/
private final transient InputStream input;
+
/**
* Latch to count down when done.
*/
private final transient CountDownLatch done;
+
/**
* Buffer to save output.
*/
private final transient OutputStream output;
+
/**
* Log level.
*/
private final transient Level level;
+
/**
* Ctor.
* @param inp Stream to monitor
@@ -438,6 +442,7 @@ private static final class Monitor implements Callable {
this.output = out;
this.level = lvl;
}
+
@Override
public Void call() throws Exception {
final BufferedReader reader = new BufferedReader(
@@ -495,6 +500,8 @@ public Void call() throws Exception {
/**
* Class representing the result of a process.
+ *
+ * @since 0.1
*/
public static final class Result {
diff --git a/src/main/java/com/jcabi/log/VerboseRunnable.java b/src/main/java/com/jcabi/log/VerboseRunnable.java
index d96e9e09..ec9dd483 100644
--- a/src/main/java/com/jcabi/log/VerboseRunnable.java
+++ b/src/main/java/com/jcabi/log/VerboseRunnable.java
@@ -51,8 +51,6 @@
*
* This class is thread-safe.
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1.3
* @see VerboseThreads
* @link Java theory and practice: Dealing with InterruptedException
@@ -138,6 +136,7 @@ public void run() {
throw new IllegalStateException(ex);
}
}
+
@Override
public String toString() {
return callable.toString();
diff --git a/src/main/java/com/jcabi/log/VerboseThreads.java b/src/main/java/com/jcabi/log/VerboseThreads.java
index 542b1855..15e2959c 100644
--- a/src/main/java/com/jcabi/log/VerboseThreads.java
+++ b/src/main/java/com/jcabi/log/VerboseThreads.java
@@ -78,8 +78,6 @@
*
*
This class is thread-safe.
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1.2
* @see VerboseRunnable
*/
@@ -183,6 +181,8 @@ public Thread newThread(final Runnable runnable) {
/**
* Group to use.
+ *
+ * @since 0.1
*/
private static final class Group extends ThreadGroup {
/**
@@ -192,6 +192,7 @@ private static final class Group extends ThreadGroup {
Group(final String name) {
super(name);
}
+
@Override
public void uncaughtException(final Thread thread,
final Throwable throwable) {
@@ -201,12 +202,15 @@ public void uncaughtException(final Thread thread,
/**
* Runnable decorator.
+ *
+ * @since 0.1
*/
private static final class Wrap implements Runnable {
/**
* Origin runnable.
*/
private final transient Runnable origin;
+
/**
* Ctor.
* @param runnable Origin runnable
@@ -214,6 +218,7 @@ private static final class Wrap implements Runnable {
Wrap(final Runnable runnable) {
this.origin = runnable;
}
+
@Override
@SuppressWarnings("PMD.AvoidCatchingGenericException")
public void run() {
diff --git a/src/main/java/com/jcabi/log/package-info.java b/src/main/java/com/jcabi/log/package-info.java
index da3798bb..6b1965af 100644
--- a/src/main/java/com/jcabi/log/package-info.java
+++ b/src/main/java/com/jcabi/log/package-info.java
@@ -39,8 +39,6 @@
* <artifactId>jcabi-log</artifactId>
* </dependency>
*
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @see project website
*/
package com.jcabi.log;
diff --git a/src/test/java/com/jcabi/log/ConversionPatternTest.java b/src/test/java/com/jcabi/log/ConversionPatternTest.java
index 88753a55..09a496f7 100644
--- a/src/test/java/com/jcabi/log/ConversionPatternTest.java
+++ b/src/test/java/com/jcabi/log/ConversionPatternTest.java
@@ -35,8 +35,6 @@
/**
* Test case for {@link ConversionPattern}.
- * @author Csaba Kos (csaba@indeed.com)
- * @version $Id$
* @since 0.19
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
diff --git a/src/test/java/com/jcabi/log/DecorMocker.java b/src/test/java/com/jcabi/log/DecorMocker.java
index 40f1b12d..b6e3ce3d 100644
--- a/src/test/java/com/jcabi/log/DecorMocker.java
+++ b/src/test/java/com/jcabi/log/DecorMocker.java
@@ -34,9 +34,6 @@
/**
* Primitive decor, for testing only.
- * @author Marina Kosenko (marina.kosenko@gmail.com)
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1
*/
public final class DecorMocker implements Formattable {
diff --git a/src/test/java/com/jcabi/log/DecorsManagerTest.java b/src/test/java/com/jcabi/log/DecorsManagerTest.java
index cfddaf1a..92e3bfb9 100644
--- a/src/test/java/com/jcabi/log/DecorsManagerTest.java
+++ b/src/test/java/com/jcabi/log/DecorsManagerTest.java
@@ -36,9 +36,6 @@
/**
* Test case for {@link DecorsManager}.
- * @author Marina Kosenko (marina.kosenko@gmail.com)
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1
*/
public final class DecorsManagerTest {
@@ -55,11 +52,8 @@ public void hasBuiltInDecors() throws Exception {
public void throwsExceptionForAbsentDecor() {
Assertions.assertThrows(
DecorException.class,
- () -> {
- DecorsManager.decor("non-existing-formatter", null);
- }
+ () -> DecorsManager.decor("non-existing-formatter", null)
);
-
}
}
diff --git a/src/test/java/com/jcabi/log/DomDecorTest.java b/src/test/java/com/jcabi/log/DomDecorTest.java
index 767b1a23..e2f41d9b 100644
--- a/src/test/java/com/jcabi/log/DomDecorTest.java
+++ b/src/test/java/com/jcabi/log/DomDecorTest.java
@@ -40,8 +40,7 @@
/**
* Test case for {@link DomDecor}.
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
+ *
* @since 0.1
*/
public final class DomDecorTest {
diff --git a/src/test/java/com/jcabi/log/ExceptionDecorTest.java b/src/test/java/com/jcabi/log/ExceptionDecorTest.java
index cc9f4541..56818d11 100644
--- a/src/test/java/com/jcabi/log/ExceptionDecorTest.java
+++ b/src/test/java/com/jcabi/log/ExceptionDecorTest.java
@@ -39,8 +39,6 @@
/**
* Test case for {@link ExceptionDecor}.
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
* @since 0.1
*/
public final class ExceptionDecorTest {
diff --git a/src/test/java/com/jcabi/log/LineNumberTest.java b/src/test/java/com/jcabi/log/LineNumberTest.java
index 601e30ed..4b4b118d 100644
--- a/src/test/java/com/jcabi/log/LineNumberTest.java
+++ b/src/test/java/com/jcabi/log/LineNumberTest.java
@@ -44,8 +44,6 @@
* Test case for %L pattern.
* If you change this class, you have to care about line number
* in "com.jcabi.log.LineNumberTest:72"
- * @author Haris Peco (snpe60@gmail.com)
- * @version $Id$
* @since 1.18
*/
public final class LineNumberTest {
@@ -71,7 +69,7 @@ public void testLineNumber() throws Exception {
MatcherAssert.assertThat(
writer.toString(),
Matchers.containsString(
- "com.jcabi.log.LineNumberTest:247"
+ "com.jcabi.log.LineNumberTest:245"
)
);
} finally {
diff --git a/src/test/java/com/jcabi/log/ListDecorTest.java b/src/test/java/com/jcabi/log/ListDecorTest.java
index 287f0f8d..e4ce837b 100644
--- a/src/test/java/com/jcabi/log/ListDecorTest.java
+++ b/src/test/java/com/jcabi/log/ListDecorTest.java
@@ -40,9 +40,9 @@
/**
* Test case for {@link ListDecor}.
- * @author Yegor Bugayenko (yegor256@gmail.com)
- * @version $Id$
+ *
* @since 0.1
+ * @checkstyle ParameterNumberCheck (500 lines)
*/
public final class ListDecorTest {
@@ -72,6 +72,7 @@ public void testLogsRight(final Object list, final String text,
* Params for this parametrized test.
* @return Array of arrays of params for ctor
*/
+ @SuppressWarnings("PMD.UnusedPrivateMethod")
private static Collection