Skip to content

Commit e0a6783

Browse files
authored
fix minor code problem (#6)
1 parent 496be62 commit e0a6783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/r2dbc/gaussdb/GaussDBConnectionFactoryProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public boolean supports(ConnectionFactoryOptions connectionFactoryOptions) {
284284
Assert.requireNonNull(connectionFactoryOptions, "connectionFactoryOptions must not be null");
285285

286286
String driver = "" + connectionFactoryOptions.getValue(DRIVER);
287-
return driver != null && (driver.equals(GAUSSDB_DRIVER));
287+
return driver.equals(GAUSSDB_DRIVER);
288288
}
289289

290290
/**

0 commit comments

Comments
 (0)