Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kotlin-wot/src/main/kotlin/thing/UriTemplate.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
2 changes: 0 additions & 2 deletions kotlin-wot/src/main/kotlin/thing/form/AugmentedForm.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ data class AugmentedForm(
private val log = LoggerFactory.getLogger(AugmentedForm::class.java)
}



@get:JsonIgnore
val hrefScheme: String?
get() = try {
Expand Down