diff --git a/kotlin-wot/src/main/kotlin/thing/UriTemplate.kt b/kotlin-wot/src/main/kotlin/thing/UriTemplate.kt index f15068e..c213955 100644 --- a/kotlin-wot/src/main/kotlin/thing/UriTemplate.kt +++ b/kotlin-wot/src/main/kotlin/thing/UriTemplate.kt @@ -29,7 +29,7 @@ class UriTemplate(private val template: String) { // Handle any remaining unresolved placeholders, for example, if a placeholder is missing a value. // For this example, let's throw an exception if we have unresolved placeholders - val remainingPlaceholders = Pattern.compile("\\{([a-zA-Z0-9_]+)}") + val remainingPlaceholders = Pattern.compile("\\{([a-zA-Z0-9_]+)\\}") .matcher(expandedUri) if (remainingPlaceholders.find()) { diff --git a/kotlin-wot/src/main/kotlin/thing/form/AugmentedForm.kt b/kotlin-wot/src/main/kotlin/thing/form/AugmentedForm.kt index 05ace65..73cf3bf 100644 --- a/kotlin-wot/src/main/kotlin/thing/form/AugmentedForm.kt +++ b/kotlin-wot/src/main/kotlin/thing/form/AugmentedForm.kt @@ -27,8 +27,6 @@ data class AugmentedForm( private val log = LoggerFactory.getLogger(AugmentedForm::class.java) } - - @get:JsonIgnore val hrefScheme: String? get() = try {