Skip to content

Commit

Permalink
Implement PR feedback (cleanup)
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Jan 12, 2024
1 parent 2a165b3 commit abad6e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/model/src/main/kotlin/de/cyface/model/ExportOptions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ExportOptions {
* @param parameterValue The parameter value which represents the enum option.
*/
enum class DataFormat(
@Suppress("MemberVisibilityCanBePrivate") val parameterValue: String
val parameterValue: String
) {
/**
* Default value when no format was specified.
Expand Down Expand Up @@ -108,7 +108,7 @@ enum class DataFormat(
* @return The `DataFormat` for the parameterValue.
*/
@Suppress("unused") // Part of the API
fun valueOfParameterValue(parameterValue: String): DataFormat? {
fun of(parameterValue: String): DataFormat? {
return BY_PARAMETER_VALUE[parameterValue]
}
}
Expand Down Expand Up @@ -164,7 +164,7 @@ enum class DataType(@Suppress("MemberVisibilityCanBePrivate") val parameterValue
* @return The `DataType` for the parameterValue.
*/
@Suppress("unused") // Part of the API
fun valueOfParameterValue(parameterValue: String): DataType? {
fun of(parameterValue: String): DataType? {
return BY_PARAMETER_VALUE[parameterValue]
}
}
Expand Down

0 comments on commit abad6e4

Please sign in to comment.