Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deprecation warning for PostgreSQLContainer #275

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

greshny
Copy link
Contributor

@greshny greshny commented Feb 18, 2024

fixes:

[info] compiling 1 Scala source to /Users/roman/git/github.com/testcontainers-scala/modules/postgres/target/scala-3.1.2/classes ...
[warn] -- Deprecation Warning: /Users/roman/git/github.com/testcontainers-scala/modules/postgres/src/main/scala/com/dimafeng/testcontainers/PostgreSQLContainer.scala:21:12 
[warn] 21 |        new JavaPostgreSQLContainer()
[warn]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[warn]    |constructor PostgreSQLContainer in class PostgreSQLContainer is deprecated since : see corresponding Javadoc for more information.
[warn] one warning found

@dimafeng dimafeng merged commit 97f41f2 into testcontainers:master Feb 18, 2024
3 checks passed
@greshny greshny deleted the deprecation-warnings branch February 18, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants