aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'runners/maven-plugin')
-rw-r--r--runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt14
1 files changed, 1 insertions, 13 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt b/runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
index 403fc773..4b5f4fa9 100644
--- a/runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
+++ b/runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt
@@ -12,16 +12,4 @@ class MavenDokkaLogger(val log: Log) : DokkaLogger {
override fun progress(message: String) = log.info(message)
override fun warn(message: String) = log.warn(message).also { warningsCount++ }
override fun error(message: String) = log.error(message).also { errorsCount++ }
-
- override fun report() {
- if (warningsCount > 0 || errorsCount > 0) {
- log.info("Generation completed with $warningsCount warning" +
- (if(warningsCount == 1) "" else "s") +
- " and $errorsCount error" +
- if(errorsCount == 1) "" else "s"
- )
- } else {
- log.info("generation completed successfully")
- }
- }
-} \ No newline at end of file
+}