Permalink
Browse files

Fix order of deprecation arguments in S.getHeader and S.getHeaders.

  • Loading branch information...
1 parent ad84291 commit 7f2bd3da0167ae1370564817ee5c73c8785d087d @Shadowfiend Shadowfiend committed Feb 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 web/webkit/src/main/scala/net/liftweb/http/S.scala
@@ -1491,7 +1491,7 @@ trait S extends HasParams with Loggable {
}
- @deprecated("2.5", "Use S.getResponseHeaders instead for clarity.")
+ @deprecated("Use S.getResponseHeaders instead for clarity.", "2.5")
def getHeaders(in: List[(String, String)]): List[(String, String)] = {
getResponseHeaders(in)
}
@@ -1513,7 +1513,7 @@ trait S extends HasParams with Loggable {
).openOr(Nil)
}
- @deprecated("2.5", "Use S.getResponseHeader instead for clarity.")
+ @deprecated("Use S.getResponseHeader instead for clarity.", "2.5")
def getHeader(name: String): Box[String] = {
getResponseHeader(name)
}

0 comments on commit 7f2bd3d

Please sign in to comment.