java/sql-dk/src/info/globalcode/sql/dk/configuration/Properties.java
branchv_0
changeset 107 8189a4a28cd8
parent 106 e9c3583580c8
child 108 d06d90b28217
--- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/Properties.java	Wed Jan 01 01:06:38 2014 +0100
+++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/Properties.java	Wed Jan 01 02:44:29 2014 +0100
@@ -94,14 +94,14 @@
 	 */
 	public java.util.Properties getJavaProperties() {
 		java.util.Properties javaProperties = new java.util.Properties();
-		if (defaults != null) {
-			duplicateTo(javaProperties);
-		}
 		duplicateTo(javaProperties);
 		return javaProperties;
 	}
 
 	private void duplicateTo(java.util.Properties javaProperties) {
+		if (defaults != null) {
+			defaults.duplicateTo(javaProperties);
+		}
 		for (Property p : this) {
 			javaProperties.setProperty(p.getName(), p.getValue());
 		}