if (bcs.isEmpty()) {
LOG.error("No Flex build configurations");
myActiveConfiguration = null;
}
else {
<BUG>myActiveConfiguration =
activeBCName != null ? ContainerUtil.find(bcs, new Condition<JpsFlexBuildConfiguration>() {
@Override
public boolean value(JpsFlexBuildConfiguration bc) {
return bc.getName().equals(activeBCName);
}
}) : null;</BUG>
if (myActiveConfiguration == null) {

if (bcs.isEmpty()) {
LOG.error("No Flex build configurations");
myActiveConfiguration = null;
}
else {
myActiveConfiguration =
activeBCName != null ? ContainerUtil.find(bcs, bc -> bc.getName().equals(activeBCName)) : null;
if (myActiveConfiguration == null) {
