Skip to content

Commit

Permalink
Merge pull request #642 from playframework/mergify/bp/5.0.x/pr-641
Browse files Browse the repository at this point in the history
@deprecated annotation needs to be constant (backport #641)
  • Loading branch information
mergify[bot] authored Jan 5, 2022
2 parents 6c37bdc + 17489ef commit 6e80f6a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ object DatabaseConfigProvider {
* @return a Slick `DatabaseConfig` instance for the `default` database.
*/
@throws(classOf[IllegalArgumentException])
@deprecated(
"Use DatabaseConfigProvider#get[P] or SlickApi#dbConfig[P](\"default\") on injected instances".stripMargin,
"3.0.0"
)
@deprecated("Use DatabaseConfigProvider#get[P] or SlickApi#dbConfig[P](\"default\") on injected instances", "3.0.0")
def get[P <: BasicProfile](implicit app: Application): DatabaseConfig[P] =
DatabaseConfigLocator(app)

Expand Down

0 comments on commit 6e80f6a

Please sign in to comment.