<BUG>i.set(GaugeConfig.create(gaugeConfig));found = true;break;</BUG><CONTEXT>boolean found = false;for (ListIterator<GaugeConfig> i = configs.listIterator(); i.hasNext();) {GaugeConfig loopConfig = i.next();String loopVersion = Versions.getVersion(loopConfig.toProto());if (loopVersion.equals(priorVersion)) {<extra_id_0>} else if (loopConfig.mbeanObjectName().equals(gaugeConfig.getMbeanObjectName())) {throw new DuplicateMBeanObjectNameException();</CONTEXT>
i.set(config);