DATACMNS-867 - Fixed glitch causing failure in PropertyDescriptor lookup for ProjectionInformation.

Re added PropertyDescriptor collection. Looks like the method got dropped during one of the rebase operations.
Additionally make use of .distinct() name collection in tests as descriptors might appear multiple times for the same property name.
This commit is contained in:
Christoph Strobl
2017-01-30 15:27:14 +01:00
committed by Oliver Gierke
parent cc1c07ecca
commit 8bcd8cb3da
3 changed files with 41 additions and 18 deletions

View File

@@ -60,6 +60,7 @@ public class DefaultProjectionInformationUnitTests {
return descriptors.stream()//
.map(FeatureDescriptor::getName)//
.distinct()
.collect(Collectors.toList());
}