mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Polish
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ public class ConnectionFactoryOptionsBuilder {
|
||||
|
||||
/**
|
||||
* Create a new {@link ConnectionFactoryOptionsBuilder} instance.
|
||||
* @param driver the driver protocol
|
||||
* @param driver the driver
|
||||
* @param containerPort the source container port
|
||||
*/
|
||||
public ConnectionFactoryOptionsBuilder(String driver, int containerPort) {
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ class ConnectionFactoryOptionsBuilderTests {
|
||||
@Test
|
||||
void createWhenDriverProtocolIsNullThrowsException() {
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> new ConnectionFactoryOptionsBuilder(null, 123))
|
||||
.withMessage("DriverProtocol must not be null");
|
||||
.withMessage("Driver must not be null");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user