Skip to content

Commit

Permalink
Merge pull request #32 from kamatama41/fix-checkstyle
Browse files Browse the repository at this point in the history
Fix checkstyle warns
  • Loading branch information
kamatama41 committed Feb 16, 2017
2 parents 1bb7065 + bf66002 commit 1ae25e3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -18,4 +18,5 @@ before_install:
- docker-compose ps

script:
- ./gradlew checkstyle
- ./gradlew --info check
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -66,7 +66,7 @@ checkstyleTest {
}
task checkstyle(type: Checkstyle) {
classpath = sourceSets.main.output + sourceSets.test.output
source = sourceSets.main.allJava + sourceSets.test.allJava
source = sourceSets.main.allSource + sourceSets.test.allSource
}

task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) {
Expand Down
Expand Up @@ -22,7 +22,6 @@ import java.io.IOException
import java.io.InputStream
import java.io.InputStreamReader


class RemoteFileInputPlugin : FileInputPlugin {
interface PluginTask : Task {
@get:Config("hosts")
Expand Down Expand Up @@ -203,7 +202,6 @@ class RemoteFileInputPlugin : FileInputPlugin {
@JsonProperty("host") val host: String,
@JsonProperty("port") val port: Int,
@JsonProperty("path") val path: String) {

override fun toString(): String {
return "$host:$port:$path"
}
Expand Down
Expand Up @@ -18,7 +18,6 @@ import org.junit.Test
import org.slf4j.LoggerFactory

class TestRemoteFileInputPlugin : EmbulkPluginTest() {

@Before fun setup() {
builder.registerPlugin(RemoteFileInputPlugin::class)

Expand Down

0 comments on commit 1ae25e3

Please sign in to comment.