Skip to content

Commit a46dcf2

Browse files
author
Bernardo Maia
committed
Update functions
1 parent 399d7f2 commit a46dcf2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main/kotlin/com/logstash/KotlinFilterPlugin.kt

+2-6
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ class KotlinFilterPlugin @JvmOverloads constructor(
2727
return events
2828
}
2929

30-
override fun configSchema(): Collection<PluginConfigSpec<*>> {
31-
return listOf(SOURCE_CONFIG)
32-
}
30+
override fun configSchema() = listOf(SOURCE_CONFIG)
3331

34-
override fun getId(): String {
35-
return filterId
36-
}
32+
override fun getId() = filterId
3733
}

0 commit comments

Comments
 (0)