); List<FeatureFlagEntry> status = flags.getValues().stream() .map(flag -> new FeatureFlagEntry(flag.getName(), flag.isOn())) .collect(Collectors.toList());
); List<FeatureFlagEntry> status = flags.getValues().stream() .map(flag -> new FeatureFlagEntry(flag.getName(), flag.isOn())) .collect(Collectors.toList());