Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian W. Damus2016-11-29 20:47:20 +0000
committerChristian W. Damus2016-11-29 21:06:57 +0000
commit306c19a936cfbcef9f02e8a8d1449087a0eeeab7 (patch)
tree60f2e2bda674dee9eca5be6159da4d621a77f98d /tests
parent0208593251db9c02690c622ec99d9a40a50704a4 (diff)
downloadorg.eclipse.papyrus-306c19a936cfbcef9f02e8a8d1449087a0eeeab7.tar.gz
org.eclipse.papyrus-306c19a936cfbcef9f02e8a8d1449087a0eeeab7.tar.xz
org.eclipse.papyrus-306c19a936cfbcef9f02e8a8d1449087a0eeeab7.zip
[Releng] Update Papyrus setup for new CBI Aggregator.
Also fix a few plugins' metadata for Java compliance level etc. Change-Id: Ifea4a6c4af8c7e2fe08be4c8d1729740c5162045
Diffstat (limited to 'tests')
-rw-r--r--tests/junit/plugins/infra/org.eclipse.papyrus.infra.tools.tests/src/org/eclipse/papyrus/infra/tools/databinding/RealmRunner.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/junit/plugins/infra/org.eclipse.papyrus.infra.tools.tests/src/org/eclipse/papyrus/infra/tools/databinding/RealmRunner.java b/tests/junit/plugins/infra/org.eclipse.papyrus.infra.tools.tests/src/org/eclipse/papyrus/infra/tools/databinding/RealmRunner.java
index ce8c9ea3ac4..82568df52eb 100644
--- a/tests/junit/plugins/infra/org.eclipse.papyrus.infra.tools.tests/src/org/eclipse/papyrus/infra/tools/databinding/RealmRunner.java
+++ b/tests/junit/plugins/infra/org.eclipse.papyrus.infra.tools.tests/src/org/eclipse/papyrus/infra/tools/databinding/RealmRunner.java
@@ -49,7 +49,7 @@ public class RealmRunner extends ClassificationRunner {
super(klass);
realmField = Stream.iterate(klass, Class::getSuperclass)
- .flatMap(c -> Stream.of(c.getDeclaredFields()))
+ .flatMap(c -> Stream.<Field> of(c.getDeclaredFields()))
.filter(f -> Modifier.isStatic(f.getModifiers()))
.filter(f -> f.getType() == Realm.class)
.findAny().get();

Back to the top