diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-06 20:39:33 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-06 20:39:33 +0100 |
commit | 46c0400da7591ff507d20ea78642d05fffeb58aa (patch) | |
tree | 265f96154f64b34d21d64f7e61646c909c41805b /same | |
parent | c0ea57d3692e587e78c80034b7bc4336a948cd48 (diff) |
Add public constructor to Configuration.
Diffstat (limited to 'same')
-rw-r--r-- | same/src/main/java/com/orbekk/same/config/Configuration.java | 6 |
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. } |