From 3b3c2841674d9b7044494d16d4396662d273f1f9 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 4 Jan 2016 19:39:39 +0100 Subject: cleanup: remove redundant 'public' modifiers --- maven-plugin/src/main/kotlin/DokkaMojo.kt | 4 ++-- maven-plugin/src/main/kotlin/MavenDokkaLogger.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'maven-plugin') diff --git a/maven-plugin/src/main/kotlin/DokkaMojo.kt b/maven-plugin/src/main/kotlin/DokkaMojo.kt index fae9d856..da585c2f 100644 --- a/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -8,7 +8,7 @@ import org.apache.maven.plugins.annotations.ResolutionScope import org.jetbrains.dokka.DokkaGenerator import org.jetbrains.dokka.SourceLinkDefinition -public class SourceLinkMapItem { +class SourceLinkMapItem { @Parameter(name = "dir", required = true) var dir: String = "" @@ -20,7 +20,7 @@ public class SourceLinkMapItem { } @Mojo(name = "dokka", defaultPhase = LifecyclePhase.PRE_SITE, threadSafe = true, requiresDependencyResolution = ResolutionScope.COMPILE, requiresProject = true) -public class DokkaMojo : AbstractMojo() { +class DokkaMojo : AbstractMojo() { @Parameter(required = true, defaultValue = "\${project.compileSourceRoots}") var sourceDirectories: List = emptyList() diff --git a/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt index ebae823b..a535c807 100644 --- a/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt +++ b/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt @@ -3,7 +3,7 @@ package org.jetbrains.dokka.maven import org.apache.maven.plugin.logging.Log import org.jetbrains.dokka.DokkaLogger -public class MavenDokkaLogger(val log: Log) : DokkaLogger { +class MavenDokkaLogger(val log: Log) : DokkaLogger { override fun error(message: String) { log.error(message) } -- cgit