mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-12-25 18:37:41 +01:00
exclude db-password from debug-dump
This commit is contained in:
parent
915f9d9608
commit
b98ff9fb99
@ -34,19 +34,18 @@
|
||||
import java.util.Optional;
|
||||
|
||||
@SuppressWarnings({"FieldMayBeFinal", "FieldCanBeLocal"})
|
||||
@DebugDump
|
||||
@ConfigSerializable
|
||||
public class SQLConfig extends StorageConfig {
|
||||
|
||||
private String driverJar = null;
|
||||
private String driverClass = null;
|
||||
private String dbUrl = "jdbc:mysql://localhost:3306/bluemap";
|
||||
private String user = "root";
|
||||
@DebugDump private String driverJar = null;
|
||||
@DebugDump private String driverClass = null;
|
||||
@DebugDump private String dbUrl = "jdbc:mysql://localhost:3306/bluemap";
|
||||
@DebugDump private String user = "root";
|
||||
private String password = "";
|
||||
|
||||
private Compression compression = Compression.GZIP;
|
||||
@DebugDump private Compression compression = Compression.GZIP;
|
||||
|
||||
private transient URL driverJarURL = null;
|
||||
@DebugDump private transient URL driverJarURL = null;
|
||||
|
||||
public Optional<URL> getDriverJar() throws MalformedURLException {
|
||||
if (driverJar == null) return Optional.empty();
|
||||
|
Loading…
Reference in New Issue
Block a user