Skip to content

Commit

Permalink
Replace typealias deprecation with val deprecation
Browse files Browse the repository at this point in the history
as IDE replace with quickfix doesn't work for typealias for this case
  • Loading branch information
Sergey Mashkov committed Aug 29, 2018
1 parent f5c1eef commit 119841c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object XForwardedHeaderSupport : ApplicationFeature<ApplicationCallPipeline, XFo
}

@Deprecated("", replaceWith = ReplaceWith("XForwardedHeaderSupport"))
typealias XForwardedHeadersSupport = XForwardedHeaderSupport
val XForwardedHeadersSupport: XForwardedHeaderSupport get() = XForwardedHeaderSupport

/**
* Forwarded header support. See RFC 7239 https://tools.ietf.org/html/rfc7239
Expand Down

0 comments on commit 119841c

Please sign in to comment.