Skip to content

Commit

Permalink
refactor project
Browse files Browse the repository at this point in the history
  • Loading branch information
NightDev701 committed Oct 11, 2023
1 parent 9322324 commit a4b53de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ java {

jar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
from(zipTree("API/mysql-connector-j-8.1.0.jar"))
from {
subprojects.collect { it.sourceSets.main.output }
}
Expand Down
12 changes: 0 additions & 12 deletions download_libaries.py

This file was deleted.

8 changes: 4 additions & 4 deletions src/main/java/pl/nightdev701/database/DatabaseConnector.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class DatabaseConnector {

/**
* Creates a new instance of the DatabaseConnector
*
*
* @param formular
* @param databaseType
*/
Expand All @@ -45,7 +45,7 @@ public DatabaseConnector(DatabaseFormular formular, DatabaseType databaseType) {

/**
* Creates a new instance of the DatabaseConnector with a custom port
*
*
* @param formular
* @param databaseType
* @param port
Expand All @@ -57,7 +57,7 @@ public DatabaseConnector(DatabaseFormular formular, DatabaseType databaseType, i

/**
* Creates a new instance of the DatabaseConnector with a custom logger
*
*
* @param formular
* @param databaseType
* @param logger
Expand All @@ -68,7 +68,7 @@ public DatabaseConnector(DatabaseFormular formular, DatabaseType databaseType, A

/**
* Creates a new instance of the DatabaseConnector with a custom port and logger
*
*
* @param formular
* @param databaseType
* @param port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public enum DatabaseType {

/**
* Gets the default port for a database type
*
* @return defaultPort
*/
public int getDefaultPort() {
Expand Down

0 comments on commit a4b53de

Please sign in to comment.