comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java @ 236:6ef6acf30d66

Bugfix: Decompress CollectionItems when they are fetched from Backend. artifacts/trunk@1646 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 06 Apr 2011 08:40:24 +0000
parents 946e2245a6c0
children
comparison
equal deleted inserted replaced
235:3e29395ebac6 236:6ef6acf30d66
35 } 35 }
36 36
37 public synchronized Document getAttribute() { 37 public synchronized Document getAttribute() {
38 if (document == null) { 38 if (document == null) {
39 if (data != null) { 39 if (data != null) {
40 document = XMLUtils.fromByteArray(data); 40 document = XMLUtils.fromByteArray(data, true);
41 } 41 }
42 } 42 }
43 return document; 43 return document;
44 } 44 }
45 } 45 }

http://dive4elements.wald.intevation.org