aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/ant
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-01-04 19:39:39 +0100
committerDmitry Jemerov <yole@jetbrains.com>2016-01-04 19:39:39 +0100
commit3b3c2841674d9b7044494d16d4396662d273f1f9 (patch)
tree268f6d3085b05da702d5d61eff505000cd9ea36a /core/src/main/kotlin/ant
parent0260b37dd051fc5d728820fa20b0ad7d94c33c0f (diff)
downloaddokka-3b3c2841674d9b7044494d16d4396662d273f1f9.tar.gz
dokka-3b3c2841674d9b7044494d16d4396662d273f1f9.tar.bz2
dokka-3b3c2841674d9b7044494d16d4396662d273f1f9.zip
cleanup: remove redundant 'public' modifiers
Diffstat (limited to 'core/src/main/kotlin/ant')
-rw-r--r--core/src/main/kotlin/ant/dokka.kt40
1 files changed, 20 insertions, 20 deletions
diff --git a/core/src/main/kotlin/ant/dokka.kt b/core/src/main/kotlin/ant/dokka.kt
index d78980f8..713bd193 100644
--- a/core/src/main/kotlin/ant/dokka.kt
+++ b/core/src/main/kotlin/ant/dokka.kt
@@ -1,12 +1,12 @@
package org.jetbrains.dokka.ant
+import org.apache.tools.ant.BuildException
+import org.apache.tools.ant.Project
import org.apache.tools.ant.Task
import org.apache.tools.ant.types.Path
import org.apache.tools.ant.types.Reference
-import org.apache.tools.ant.BuildException
-import org.apache.tools.ant.Project
-import org.jetbrains.dokka.DokkaLogger
import org.jetbrains.dokka.DokkaGenerator
+import org.jetbrains.dokka.DokkaLogger
import org.jetbrains.dokka.SourceLinkDefinition
import java.io.File
@@ -19,48 +19,48 @@ class AntLogger(val task: Task): DokkaLogger {
class AntSourceLinkDefinition(var path: String? = null, var url: String? = null, var lineSuffix: String? = null)
class DokkaAntTask(): Task() {
- public var moduleName: String? = null
- public var outputDir: String? = null
- public var outputFormat: String = "html"
+ var moduleName: String? = null
+ var outputDir: String? = null
+ var outputFormat: String = "html"
- public var skipDeprecated: Boolean = false
+ var skipDeprecated: Boolean = false
- public val compileClasspath: Path = Path(getProject())
- public val sourcePath: Path = Path(getProject())
- public val samplesPath: Path = Path(getProject())
- public val includesPath: Path = Path(getProject())
+ val compileClasspath: Path = Path(getProject())
+ val sourcePath: Path = Path(getProject())
+ val samplesPath: Path = Path(getProject())
+ val includesPath: Path = Path(getProject())
- public val antSourceLinks: MutableList<AntSourceLinkDefinition> = arrayListOf()
+ val antSourceLinks: MutableList<AntSourceLinkDefinition> = arrayListOf()
- public fun setClasspath(classpath: Path) {
+ fun setClasspath(classpath: Path) {
compileClasspath.append(classpath)
}
- public fun setClasspathRef(ref: Reference) {
+ fun setClasspathRef(ref: Reference) {
compileClasspath.createPath().refid = ref
}
- public fun setSrc(src: Path) {
+ fun setSrc(src: Path) {
sourcePath.append(src)
}
- public fun setSrcRef(ref: Reference) {
+ fun setSrcRef(ref: Reference) {
sourcePath.createPath().refid = ref
}
- public fun setSamples(samples: Path) {
+ fun setSamples(samples: Path) {
samplesPath.append(samples)
}
- public fun setSamplesRef(ref: Reference) {
+ fun setSamplesRef(ref: Reference) {
samplesPath.createPath().refid = ref
}
- public fun setInclude(include: Path) {
+ fun setInclude(include: Path) {
includesPath.append(include)
}
- public fun createSourceLink(): AntSourceLinkDefinition {
+ fun createSourceLink(): AntSourceLinkDefinition {
val def = AntSourceLinkDefinition()
antSourceLinks.add(def)
return def