Skip to content

Commit e3f6109

Browse files
authored
Updated
Add "static" modifier for easily accessing.
1 parent 93baa14 commit e3f6109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/bangmaple/jdbcgenerator/MainController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ private void generateJDBCUtils() {
11971197
bw.newLine();
11981198
bw.newLine();
11991199
bw.write(new StringBuilder(" ").append(getConnectionModifier)
1200-
.append("Connection ").append(txtGetConnection.getText())
1200+
.append("static ").append("Connection ").append(txtGetConnection.getText())
12011201
.append("() {").toString());
12021202
bw.newLine();
12031203
bw.newLine();

0 commit comments

Comments
 (0)