Skip to content

Commit 25f425a

Browse files
committed
Fix javadoc
1 parent 04c2255 commit 25f425a

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

SimpleAPI/src/main/java/com/bencodez/simpleapi/sql/mysql/ConnectionManager.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ public class ConnectionManager {
6363
@Setter
6464
private boolean publicKeyRetrieval;
6565

66-
/**
67-
* Extra JDBC params appended to URL.
68-
*
69-
* MySQL/MariaDB: should generally start with "&" if adding params. Postgres:
70-
* can be "?foo=bar" or "&foo=bar" or "foo=bar" (we normalize).
71-
*/
7266
@Getter
7367
@Setter
7468
private String str = "";
@@ -88,9 +82,6 @@ public class ConnectionManager {
8882
@Setter
8983
private boolean useMariaDB = false;
9084

91-
/**
92-
* Optional explicit driver override. If empty, chosen based on dbType.
93-
*/
9485
@Getter
9586
@Setter
9687
private String mysqlDriver = "";
@@ -99,9 +90,6 @@ public class ConnectionManager {
9990
@Setter
10091
private String poolName = "SimpleAPI-Hikari";
10192

102-
/**
103-
* NEW: Explicit database type.
104-
*/
10593
@Getter
10694
@Setter
10795
private DbType dbType = DbType.MYSQL;

SimpleAPI/src/main/java/com/bencodez/simpleapi/sql/mysql/config/MysqlConfig.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -70,49 +70,26 @@ public class MysqlConfig {
7070
@Setter
7171
private int connectionTimeout;
7272

73-
// --- Driver / DB Selection ---
74-
/**
75-
* Database type to use. MYSQL | MARIADB | POSTGRESQL
76-
*/
7773
@Getter
7874
@Setter
7975
private DbType dbType = DbType.MYSQL;
8076

81-
/**
82-
* Optional explicit JDBC driver override. Examples: - com.mysql.cj.jdbc.Driver
83-
* - org.mariadb.jdbc.Driver - org.postgresql.Driver
84-
*/
8577
@Getter
8678
@Setter
8779
private String driver;
8880

89-
/**
90-
* Whether to use SSL for the DB connection.
91-
*/
9281
@Getter
9382
@Setter
9483
private boolean useSSL;
9584

96-
/**
97-
* MySQL-only option (ignored for PostgreSQL).
98-
*/
9985
@Getter
10086
@Setter
10187
private boolean publicKeyRetrieval;
10288

103-
/**
104-
* Legacy convenience flag. If set and dbType is MYSQL, ConnectionManager will
105-
* treat it as MARIADB.
106-
*/
10789
@Getter
10890
@Setter
10991
private boolean useMariaDB;
11092

111-
// --- Additional Settings ---
112-
/**
113-
* Extra JDBC parameters appended to the URL. Example: - MySQL: &useUnicode=true
114-
* - Postgres: &sslmode=require
115-
*/
11693
@Getter
11794
@Setter
11895
private String line;

0 commit comments

Comments
 (0)