1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/Properties.java Wed Jan 01 01:06:38 2014 +0100
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/Properties.java Wed Jan 01 02:44:29 2014 +0100
1.3 @@ -94,14 +94,14 @@
1.4 */
1.5 public java.util.Properties getJavaProperties() {
1.6 java.util.Properties javaProperties = new java.util.Properties();
1.7 - if (defaults != null) {
1.8 - duplicateTo(javaProperties);
1.9 - }
1.10 duplicateTo(javaProperties);
1.11 return javaProperties;
1.12 }
1.13
1.14 private void duplicateTo(java.util.Properties javaProperties) {
1.15 + if (defaults != null) {
1.16 + defaults.duplicateTo(javaProperties);
1.17 + }
1.18 for (Property p : this) {
1.19 javaProperties.setProperty(p.getName(), p.getValue());
1.20 }