From 927d1d5b61a339f9074beb30a080f569d4d0258e Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Tue, 23 Sep 2014 16:28:07 +0200 Subject: Removed some out-commented code and merged getUploadInfos(ImageData, filename) and getUploadInfos(ImageData) into one method. --- src/main/java/org/openslx/satellitedaemon/db/MySQL.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/org/openslx/satellitedaemon/db/MySQL.java') diff --git a/src/main/java/org/openslx/satellitedaemon/db/MySQL.java b/src/main/java/org/openslx/satellitedaemon/db/MySQL.java index 599cdb1..b4adaf6 100644 --- a/src/main/java/org/openslx/satellitedaemon/db/MySQL.java +++ b/src/main/java/org/openslx/satellitedaemon/db/MySQL.java @@ -35,7 +35,8 @@ class MySQL // Load connection info from class (TODO: Make pretty) Properties properties = new Properties(); try { - final BufferedInputStream stream = new BufferedInputStream( new FileInputStream( "config/mysql.properties" ) ); + // using "mysql.properties.example" for testing + final BufferedInputStream stream = new BufferedInputStream( new FileInputStream( "config/mysql.properties.example" ) ); properties.load( stream ); stream.close(); } catch ( FileNotFoundException e ) { -- cgit v1.2.3-55-g7522