Cleaned up code

This commit is contained in:
mathias 2021-08-26 16:35:32 +02:00
parent 7c07f7086e
commit cd3ce709d9
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A
2 changed files with 19 additions and 18 deletions

View File

@ -207,6 +207,7 @@ public class MySQLConnection {
/**
* Update something on your server by query
*
* @param query The query you want to execute
* @return this class
*/

View File

@ -25,24 +25,6 @@ public class SQLQuery {
}
/**
* Sets the new statement of the query
*
* @param statement The new query statement
*/
public void setStatement(String statement) {
this.statement = statement;
}
/**
* Sets the new parameters of the query
*
* @param parameters The new query parameters
*/
public void setParameters(Object[] parameters) {
this.parameters = parameters;
}
/**
* Gets the current statement of the query
*
@ -52,6 +34,15 @@ public class SQLQuery {
return statement;
}
/**
* Sets the new statement of the query
*
* @param statement The new query statement
*/
public void setStatement(String statement) {
this.statement = statement;
}
/**
* Gets the current query parameters
*
@ -61,6 +52,15 @@ public class SQLQuery {
return parameters;
}
/**
* Sets the new parameters of the query
*
* @param parameters The new query parameters
*/
public void setParameters(Object[] parameters) {
this.parameters = parameters;
}
@Override
public String toString() {
return "SQLQuery{" +