Updated git submodules
authorMichael Vorburger <vorburger@redhat.com>
Mon, 3 Jul 2017 17:06:08 +0000 (19:06 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 4 Jul 2017 10:02:33 +0000 (10:02 +0000)
Project: netvirt master 51931b6ac61836120385164d75b196d891f1bd1a

Use manual setters instead @Immutable in IdentifiedAceBuilder.xtend

The mix of Immutables.org with Xtend.org seemed cool when I originally
came up with this 1 year ago, but after having run into issues with
in-IDE compilation order in Eclipse EVERY TIME I want to touch something
in aclservice, this got enough on my nerves to finally simplify this.

The issue basically is that the Xtend IDE and Eclipse APT processor seem
to struggle about the correct order in which Xtend active annotations
and APT processors should run (although it did, always, work, reliably,
in the mvn CLI build); Eclipse IDE could never get this right, and there
was too often red ink errors for (supposedly) missing
ImmutableIdentifiedAceBuilder... so basically this mix of Xtend with
Immutables.org probably wasn't a good idea.

The Xtend active annotations @Accessor (as well as @Data) really do
something quite similar to Immutables.org (yet let us keep the "pretty"
object literal initialization syntax of Xtend); however they generate
"real" setters, which do not "return this;", so instead it's simplest to
just hand write those few setters, for now.  Later if this pattern is
used more widely, we could have a new Xtend active annotation, such as
@Builder.

This also, and strictly speaking kind of unrelated, changes the double
indirection of Builder -> Immutable -> DataObject to a simpler to
understand single level, without the intermediate Immutable (which makes
these Builders used to compose objects more easily in tests not thread
safe, which is perfectly fine, actually).

dito for IdentifiedInterfaceWithAclBuilder

Change-Id: Ia70f5f62fa9d3d71da0521cd22808907c97a4619
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
docs/submodules/netvirt

index a8ef11e35a3f810fe3928ab9a6997f1c22550add..51931b6ac61836120385164d75b196d891f1bd1a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit a8ef11e35a3f810fe3928ab9a6997f1c22550add
+Subproject commit 51931b6ac61836120385164d75b196d891f1bd1a