changeset 51:3a668da76463

Fixed problem with non-initialized languages in call meta. artifacts/trunk@177 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 02 Oct 2009 12:15:58 +0000
parents 0b04fa8a19c6
children 9293af6b0a0f
files Changelog artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Changelog	Fri Oct 02 10:02:15 2009 +0000
+++ b/Changelog	Fri Oct 02 12:15:58 2009 +0000
@@ -1,3 +1,8 @@
+2009-10-02	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java:
+	Initial instance variable with given languages in constructor.
+
 2009-10-02	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java:
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java	Fri Oct 02 10:02:15 2009 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java	Fri Oct 02 12:15:58 2009 +0000
@@ -17,6 +17,7 @@
     }
 
     public DefaultCallMeta(PreferredLocale [] languages) {
+        this.languages = languages;
     }
 
     public PreferredLocale [] getLanguages() {

http://dive4elements.wald.intevation.org