Commit 354162d4 by Sarath Subramanian Committed by nixonrodrigues

ATLAS-2533: AtlasEntity is double classified

parent a70d73f8
...@@ -272,12 +272,12 @@ public class AtlasEntity extends AtlasStruct implements Serializable { ...@@ -272,12 +272,12 @@ public class AtlasEntity extends AtlasStruct implements Serializable {
List<AtlasClassification> c = this.classifications; List<AtlasClassification> c = this.classifications;
if (c == null) { if (c == null) {
c = new ArrayList<>(classifications); c = new ArrayList<>();
this.classifications = c;
} }
c.addAll(classifications); c.addAll(classifications);
this.classifications = c;
} }
private void init() { private void init() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment