ChanceSD / PvPManager

Multiple variables declared on the same line JAVA-C1003
Style
Major
2 months ago6 months old
133	 * @param newName New name
134	 */
135	public void renameTable(final String oldName, final String newName) {
136		try (Connection connection = getConnection(); PreparedStatement ps = connection.prepareStatement("RENAME " + oldName + " TO " + newName)) {137			ps.executeUpdate();
138			final Table table = tableRegister.get(oldName);
139			if (table != null) {
118	 * @param table Name of table
119	 */
120	public void deleteTable(final String table) {
121		try (Connection connection = getConnection(); PreparedStatement ps = connection.prepareStatement("DROP TABLE " + table)) {122			ps.executeUpdate();
123			tableRegister.remove(table);
124		} catch (final SQLException e) {