@@ -17,7 +17,7 @@ public class FirebirdContainerTest {
1717 @ Test
1818 public void testWithSysdbaPassword () throws SQLException {
1919 final String sysdbaPassword = "sysdbapassword" ;
20- try (FirebirdContainer container = new FirebirdContainer ().withSysdbaPassword (sysdbaPassword )) {
20+ try (FirebirdContainer <?> container = new FirebirdContainer <> ().withSysdbaPassword (sysdbaPassword )) {
2121 container .start ();
2222
2323 try (Connection connection = DriverManager .getConnection (container .getJdbcUrl (), "sysdba" , sysdbaPassword )) {
@@ -33,7 +33,7 @@ public void testWithSysdbaPassword() throws SQLException {
3333 public void testUserPasswordTakesPrecedenceOverWithSysdbaPassword () throws SQLException {
3434 final String userPassword = "password1" ;
3535 final String withSysdbaPassword = "password2" ;
36- try (FirebirdContainer container = new FirebirdContainer ().withUsername ("sysdba" ).withPassword (userPassword ).withSysdbaPassword (withSysdbaPassword )) {
36+ try (FirebirdContainer <?> container = new FirebirdContainer <> ().withUsername ("sysdba" ).withPassword (userPassword ).withSysdbaPassword (withSysdbaPassword )) {
3737 container .start ();
3838
3939 try (Connection connection = DriverManager .getConnection (container .getJdbcUrl (), "sysdba" , userPassword )) {
@@ -44,7 +44,7 @@ public void testUserPasswordTakesPrecedenceOverWithSysdbaPassword() throws SQLEx
4444
4545 @ Test
4646 public void testWithEnableLegacyClientAuth () throws SQLException {
47- try (FirebirdContainer container = new FirebirdContainer ().withEnableLegacyClientAuth ()) {
47+ try (FirebirdContainer <?> container = new FirebirdContainer <> ().withEnableLegacyClientAuth ()) {
4848 container .start ();
4949
5050 try (Connection connection = container .createConnection ("" );
@@ -58,7 +58,7 @@ public void testWithEnableLegacyClientAuth() throws SQLException {
5858
5959 @ Test
6060 public void testWithEnableWireCrypt () throws SQLException {
61- try (FirebirdContainer container = new FirebirdContainer ().withEnableWireCrypt ()) {
61+ try (FirebirdContainer <?> container = new FirebirdContainer <> ().withEnableWireCrypt ()) {
6262 container .start ();
6363
6464 if (FirebirdContainer .isWireEncryptionSupported ()) {
@@ -81,7 +81,7 @@ public void testWithEnableWireCrypt() throws SQLException {
8181 */
8282 @ Test
8383 public void test258_scImage () throws Exception {
84- try (FirebirdContainer container = new FirebirdContainer (IMAGE + ":2.5.8-sc" ).withDatabaseName ("test" )) {
84+ try (FirebirdContainer <?> container = new FirebirdContainer <> (IMAGE + ":2.5.8-sc" ).withDatabaseName ("test" )) {
8585 assertEquals ("Expect original database name before start" ,
8686 "test" , container .getDatabaseName ());
8787
0 commit comments