Skip to content

Commit

Permalink
JavaDoc correction
Browse files Browse the repository at this point in the history
  • Loading branch information
blakemcbride committed Jun 13, 2024
1 parent efe1070 commit 5caa257
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/core/org/kissweb/database/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public enum ConnectionType {PostgreSQL, MicrosoftServer, MySQL, Oracle, SQLite}
*
* @param db
*
* @see Connection(ConnectionType, String, String, String, String)
* @see Connection(ConnectionType, String, Integer, String, String, String)
*/
public Connection(java.sql.Connection db) {
this.conn = db;
Expand Down Expand Up @@ -123,7 +123,7 @@ public Connection(java.sql.Connection db) {
* @param pw
* @return
*
* @see Connection(ConnectionType, String, String, String, String)
* @see Connection(ConnectionType, String, Integer, String, String, String)
*/
public static String makeConnectionString(ConnectionType type, String host, Integer port, String dbname, String user, String pw) {
String connectionString;
Expand Down Expand Up @@ -165,7 +165,7 @@ public static String makeConnectionString(ConnectionType type, String host, Inte
* @param type
* @return
*
* @see Connection(ConnectionType, String, String, String, String)
* @see Connection(ConnectionType, String, Integer, String, String, String)
*/
public static String getDriverName(ConnectionType type) {
String driver;
Expand Down Expand Up @@ -195,7 +195,7 @@ else if (type == ConnectionType.Oracle)
* @throws ClassNotFoundException
* @throws SQLException
*
* @see Connection(ConnectionType, String, String, String, String)
* @see Connection(ConnectionType, String, Integer, String, String, String)
*/
public Connection(ConnectionType type, String connectionString) throws ClassNotFoundException, SQLException {
String driver = getDriverName(type);
Expand All @@ -218,7 +218,7 @@ public Connection(ConnectionType type, String connectionString) throws ClassNotF
* @throws SQLException
* @throws ClassNotFoundException
*
* @see Connection(ConnectionType, String, String)
* @see Connection(ConnectionType, String, Integer, String, String, String)
*/
public Connection(ConnectionType type, String host, Integer port, String dbname, String user, String pw) throws SQLException, ClassNotFoundException {
this(type, makeConnectionString(type, host, port, dbname, user, pw));
Expand All @@ -236,7 +236,7 @@ public Connection(ConnectionType type, String host, Integer port, String dbname,
* @throws SQLException
* @throws ClassNotFoundException
*
* @see Connection(ConnectionType, String, String, String, String)
* @see Connection(ConnectionType, String, Integer, String, String, String)
*/
public Connection(ConnectionType type, String host, Integer port, String dbname) throws SQLException, ClassNotFoundException {
this(type, makeConnectionString(type, host, port, dbname, null, null));
Expand Down

0 comments on commit 5caa257

Please sign in to comment.