terrymanu commented on a change in pull request #6951:
URL: https://github.com/apache/shardingsphere/pull/6951#discussion_r474376323
##########
File path:
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/database/type/dialect/H2DatabaseType.java
##########
@@ -28,12 +30,11 @@
/**
* Database type of H2.
*/
+@EqualsAndHashCode
public final class H2DatabaseType implements BranchDatabaseType {
- @Override
- public String getName() {
- return "H2";
- }
+ @Getter
+ private final String name = "H2";
Review comment:
Please do not change original code if unnecessary.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]