summaryrefslogtreecommitdiff
path: root/same
diff options
context:
space:
mode:
Diffstat (limited to 'same')
-rw-r--r--same/src/main/java/com/orbekk/same/config/Configuration.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/config/Configuration.java b/same/src/main/java/com/orbekk/same/config/Configuration.java
index 1c9ffb6..b52b22a 100644
--- a/same/src/main/java/com/orbekk/same/config/Configuration.java
+++ b/same/src/main/java/com/orbekk/same/config/Configuration.java
@@ -16,7 +16,11 @@ public class Configuration {
static final Logger logger = LoggerFactory.getLogger(Configuration.class);
Properties configuration = new Properties();
- private Configuration() {
+ public Configuration(Properties properties) {
+ this.configuration = properties;
+ }
+
+ Configuration() {
// Use factory methods.
}