File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed
src/main/kotlin/dev/stalla/model Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -1419,8 +1419,6 @@ public final class dev/stalla/model/podcastindex/GeographicLocation {
14191419 public final fun getParameters ()Ljava/util/List;
14201420 public final fun getUncertainty ()Ljava/lang/Double;
14211421 public fun hashCode ()I
1422- public final fun match (Ldev/stalla/model/podcastindex/GeographicLocation;)Z
1423- public final fun match (Ljava/lang/String;)Z
14241422 public final fun matches (Ldev/stalla/model/podcastindex/GeographicLocation;)Z
14251423 public final fun matches (Ljava/lang/String;)Z
14261424 public static fun of (Ljava/lang/String;)Ldev/stalla/model/podcastindex/GeographicLocation;
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ public open class MediaType private constructor(
8989
9090 /* *
9191 * Checks if `this` type matches a [pattern] type taking into account placeholder symbols `*` and parameters.
92+ * @since 1.1.0
9293 */
9394 public fun matches (pattern : MediaType ? ): Boolean {
9495 contract {
@@ -108,6 +109,7 @@ public open class MediaType private constructor(
108109 /* *
109110 * Checks if `this` type matches a [pattern] type taking
110111 * into account placeholder symbols `*` and parameters.
112+ * @since 1.1.0
111113 */
112114 public fun matches (pattern : String ): Boolean = matches(of(pattern))
113115
Original file line number Diff line number Diff line change @@ -134,20 +134,6 @@ public class GeographicLocation public constructor(
134134 /* * Checks if `this` type matches a [pattern] type taking parameters into account. */
135135 public fun matches (pattern : String ): Boolean = matches(of(pattern))
136136
137- /* * Checks if `this` type matches a [pattern] type taking parameters into account. */
138- @Deprecated(
139- message = " This method is scheduled for removal in v2.0.0" ,
140- replaceWith = ReplaceWith (" matches" )
141- )
142- public fun match (pattern : GeographicLocation ? ): Boolean = matches(pattern)
143-
144- /* * Checks if `this` type matches a [pattern] type taking parameters into account. */
145- @Deprecated(
146- message = " This method is scheduled for removal in v2.0.0" ,
147- replaceWith = ReplaceWith (" matches" )
148- )
149- public fun match (pattern : String ): Boolean = matches(pattern)
150-
151137 private fun match (parameters1 : List <Parameter >, parameters2 : List <Parameter >): Boolean {
152138 for (param1 in parameters1) {
153139 val value2 = parameter(param1.key, parameters2)
You can’t perform that action at this time.
0 commit comments