auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
<code>public void test() throws IOException { clickOn(stage, MouseButton.PRIMARY); sleep(SHORT); goThroughSettings(); goThroughShop(); mainMenu(MAIN_START); assertNull(AbstractScene.getPopup()); mainMenu(MAIN_TEXTFIELD); typeFaultyName(); mainMenu(MAIN_START); clickPopup(WARNING_OK); mainMenu(MAIN_TEXTFIELD); keyboard(KeyCode.BACK_SPACE); typeName(); goThroughGamePlay(); mainMenu(MAIN_LOADGAME); loadMenu(LOAD_BACK); mainMenu(MAIN_LOADGAME); loadMenu(LOAD_START); sleep(COUNTDOWN); playerDies(); sleep(SHORT); clickPopup(DEATH_RETRY); sleep(COUNTDOWN); playerDies(); clickPopup(DEATH_TOMAIN); <START> Platform.runLater(stage::close); <END> outputEventLog(); }</code><technical_language>This change needed E2E run, right? Please confirm, if so, leave this be. <review,testing</technical_language>

Target:
public void test() throws IOException { clickOn(stage, MouseButton.PRIMARY); sleep(SHORT); goThroughSettings(); goThroughShop(); goThroughNameTyping(); goThroughGamePlay(); mainMenu(MAIN_LOADGAME); loadMenu(LOAD_BACK); mainMenu(MAIN_LOADGAME); loadMenu(LOAD_START); sleep(COUNTDOWN); playerDies(); sleep(SHORT); clickPopup(DEATH_RETRY); sleep(COUNTDOWN); playerDies(); clickPopup(DEATH_TOMAIN); Platform.runLater(stage::close); outputEventLog(); }
Source:
<code>public void setUp() throws Exception { actionFactory = new ActionFactory(); project = new Project(MockUtil.mockContextForProject(), "testProject"); ProjectManager.getInstance().setCurrentProject(project); userList = new UserList(TEST_USER_LIST_NAME, INITIALIZED_LIST_VALUES); project.addUserList(userList); <START> <END> INITIALIZED_LIST_VALUES.clear(); INITIALIZED_LIST_VALUES.add(1.0); INITIALIZED_LIST_VALUES.add(2.0); INITIALIZED_LIST_VALUES.add(3.0); }</code><technical_language>please test discussed Thomas Hirsch</technical_language>

Target:
public void setUp() throws Exception { userList = new UserList(TEST_USER_LIST_NAME, INITIALIZED_LIST_VALUES); action = new ClearUserListAction(); INITIALIZED_LIST_VALUES.clear(); }
Source:
<code>public Block copyRegion(int position, int length) { int positionCount = getPositionCount(); checkValidRegion(positionCount, position, length); int startValueOffset = getOffset(position); int endValueOffset = getOffset(position + length); Block newValues = getRawElementBlock().copyRegion(startValueOffset, endValueOffset - startValueOffset); int[] newOffsets = compactOffsets(getOffsets(), position + getOffsetBase(), length); <START> boolean[] newValueIsNull = getValueIsNull() == null ? null : compactArray(getValueIsNull(), position + getOffsetBase(), length); <END> if (newValues == getRawElementBlock() && newOffsets == getOffsets() && newValueIsNull == getValueIsNull()) { return this; } return createArrayBlockInternal(0, length, newValueIsNull, newOffsets, newValues); }</code><technical_language>getValueIsNull() is abstract, cost if OK call twice. in isNull(int position) & other classes</technical_language>

Target:
public Block copyRegion(int position, int length) { int positionCount = getPositionCount(); checkValidRegion(positionCount, position, length); int startValueOffset = getOffset(position); int endValueOffset = getOffset(position + length); Block newValues = getRawElementBlock().copyRegion(startValueOffset, endValueOffset - startValueOffset); int[] newOffsets = compactOffsets(getOffsets(), position + getOffsetBase(), length); boolean[] valueIsNull = getValueIsNull(); boolean[] newValueIsNull = valueIsNull == null ? null : compactArray(valueIsNull, position + getOffsetBase(), length); if (newValues == getRawElementBlock() && newOffsets == getOffsets() && newValueIsNull == valueIsNull) { return this; } return createArrayBlockInternal(0, length, newValueIsNull, newOffsets, newValues); }
Source:
<code>public void testDeleteFile() throws Exception { File d = tmp.getRoot(); File f = new File(d, "f"); try { mkfiles(f); Util.deleteFile(f); assertFalse("f exists after calling Util.deleteFile", f.exists()); } finally { <START> Util.deleteRecursive(d); <END> } }</code><technical_language>is point in introducing d? If file is created in tmp is need for teardown</technical_language>

Target:
public void testDeleteFile() throws Exception { File f = tmp.newFile(); mkfiles(f); Util.deleteFile(f); assertFalse("f exists after calling Util.deleteFile", f.exists()); }
Source:
<code>public void RTEDisabledEditorEntryAnonTests_009_actionEdit() { <START> SourceEditModePageObject src = <END> base.navigateToArticleEditPageSrc(wikiURL, PageContent.articleNamePrefix + base.getTimeStamp()); src.verifySourceOnlyMode(); }</code><technical_language>create article name in new line increase readability so: java String timestamp = base.getTimestamp + prefix base.navigate..</technical_language>

Target:
public void RTEDisabledEditorEntryAnonTests_009_actionEdit() { SourceEditModePageObject src = base.navigateToArticleEditPageSrc(wikiURL, base.getNameForArticle()); src.verifySourceOnlyMode(); }
Source:
<code>public void lockReadyDelayedAttempts(Instant currentTime, DelayedAttemptAction func) { List<RuntimeException> exceptions = transaction((handle, dao) -> { List<StoredDelayedSessionAttempt> locked = handle.createQuery( "select da.* from delayed_session_attempts da" + " where not exists (" + " select * from session_attempts sa" + " where sa.session_id = da.dependent_session_id" + " and " + bitAnd("sa.state_flags", Integer.toString(AttemptStateFlags.DONE_CODE)) + " = 0" + ")" + <START> " and next_run_time <= :currentTime" + <END> " limit :limit" + " for update" ) .bind("limit", 10) .bind("currentTime", currentTime.getEpochSecond()) .mapTo(StoredDelayedSessionAttempt.class) .list(); return locked.stream() .map(delayedAttempt -> { try { func.submit(new DatabaseDelayedAttemptControlStore(handle), delayedAttempt); return null; } catch (RuntimeException ex) { return ex; } }) .filter(exception -> exception != null) .collect(Collectors.toList()); }); if (!exceptions.isEmpty()) { RuntimeException first = exceptions.get(0); for (RuntimeException ex : exceptions.subList(1, exceptions.size())) { first.addSuppressed(ex); } throw first; } }</code><technical_language>order id needed here</technical_language>

Target:
public void lockReadyDelayedAttempts(Instant currentTime, DelayedAttemptAction func) { List<RuntimeException> exceptions = transaction((handle, dao) -> { List<StoredDelayedSessionAttempt> locked = handle.createQuery( "select da.* from delayed_session_attempts da" + " where not exists (" + " select * from session_attempts sa" + " where sa.session_id = da.dependent_session_id" + " and " + bitAnd("sa.state_flags", Integer.toString(AttemptStateFlags.DONE_CODE)) + " = 0" + ")" + " and next_run_time <= :currentTime" + " order by next_run_time" + " limit :limit" + " for update" ) .bind("limit", 10) .bind("currentTime", currentTime.getEpochSecond()) .mapTo(StoredDelayedSessionAttempt.class) .list(); return locked.stream() .map(delayedAttempt -> { try { func.submit(new DatabaseDelayedAttemptControlStore(handle), delayedAttempt); return null; } catch (RuntimeException ex) { return ex; } }) .filter(exception -> exception != null) .collect(Collectors.toList()); }); if (!exceptions.isEmpty()) { RuntimeException first = exceptions.get(0); for (RuntimeException ex : exceptions.subList(1, exceptions.size())) { first.addSuppressed(ex); } throw first; } }
Source:
<code>public void testAggregatingMembersEnricher() throws Exception { origCluster.resize(2); origApp.addEnricher(Enrichers.builder() .aggregating(METRIC1) .from(origCluster) .fromMembers() .computing(StringFunctions.joiner(",")) .publishing(METRIC2) .build()); TestApplication newApp = rebind(); DynamicCluster newCluster = (DynamicCluster) Iterables.find(newApp.getChildren(), Predicates.instanceOf(DynamicCluster.class)); int i = 0; for (Entity member : newCluster.getMembers()) { <START> ((EntityInternal)member).setAttribute(METRIC1, "myval"+(i++)); <END> } EntityTestUtils.assertAttributeEventually(newApp, METRIC2, Predicates.or(Predicates.equalTo("myval1,myval2"), Predicates.equalTo("myval2,myval1"))); }</code><technical_language>++i "myval0,myval1"</technical_language>

Target:
public void testAggregatingMembersEnricher() throws Exception { origCluster.resize(2); origApp.addEnricher(Enrichers.builder() .aggregating(METRIC1) .from(origCluster) .fromMembers() .computing(StringFunctions.joiner(",")) .publishing(METRIC2) .build()); TestApplication newApp = rebind(); DynamicCluster newCluster = (DynamicCluster) Iterables.find(newApp.getChildren(), Predicates.instanceOf(DynamicCluster.class)); int i = 1; for (Entity member : newCluster.getMembers()) { ((EntityInternal)member).setAttribute(METRIC1, "myval"+(i++)); } EntityTestUtils.assertAttributeEventually(newApp, METRIC2, Predicates.or(Predicates.equalTo("myval1,myval2"), Predicates.equalTo("myval2,myval1"))); }
Source:
<code>public List<String> getEditorText() { final int editorLinesCount = seleniumWebDriverHelper.waitVisibilityOfAllElements(By.xpath(EDITOR_LINE_XPATH)).size(); List<Integer> linesCoordinates = getEditorLinesPixelCoordinates(editorLinesCount); <START> linesCoordinates.sort((first, second) -> first - second); <END> List<String> linesText = linesCoordinates .stream() .map( linePixelCoordinate -> { String lineByPixelCoordinatesXpath = getEditorLineByPixelCoordinateXpath(linePixelCoordinate); return seleniumWebDriverHelper.waitVisibilityAndGetText( By.xpath(lineByPixelCoordinatesXpath)); }) .collect(Collectors.toList()); return linesText; }</code><technical_language>Also, reasonable return sorted coordinates getEditorLinesPixelCoordinates() method</technical_language>

Target:
public List<String> getEditorText() { final int editorLinesCount = seleniumWebDriverHelper.waitVisibilityOfAllElements(By.xpath(EDITOR_LINE_XPATH)).size(); List<Integer> linePixelCoordinates = getEditorLinePixelCoordinates(editorLinesCount); List<String> linesText = linePixelCoordinates .stream() .map( linePixelCoordinate -> { String lineByPixelCoordinatesXpath = getEditorLineByPixelCoordinateXpath(linePixelCoordinate); return seleniumWebDriverHelper.waitVisibilityAndGetText( By.xpath(lineByPixelCoordinatesXpath)); }) .collect(Collectors.toList()); return linesText; }
Source:
<code>public Map<Integer, Object> validate(Object item) { try { NavigableMap<Integer, Object> objects = (NavigableMap<Integer, Object>) item; for (Map.Entry<Integer, Object> entry : objects.entrySet()) { Integer tag = entry.getKey(); Field field = fields.get(tag); if (field == null) { if (!(entry.getValue() instanceof RawTaggedField)) { throw new SchemaException("The value associated with tag " + tag + " must be a RawTaggedField in this version of the software."); } } else { field.type.validate(entry.getValue()); } } return objects; } catch (ClassCastException e) { <START> throw new SchemaException("Not a Map."); <END> } }</code><technical_language>nit: a NavigableMap</technical_language>

Target:
public Map<Integer, Object> validate(Object item) { try { NavigableMap<Integer, Object> objects = (NavigableMap<Integer, Object>) item; for (Map.Entry<Integer, Object> entry : objects.entrySet()) { Integer tag = entry.getKey(); Field field = fields.get(tag); if (field == null) { if (!(entry.getValue() instanceof RawTaggedField)) { throw new SchemaException("The value associated with tag " + tag + " must be a RawTaggedField in this version of the software."); } } else { field.type.validate(entry.getValue()); } } return objects; } catch (ClassCastException e) { throw new SchemaException("Not a NavigableMap."); } }
Source:
<code>private void placeItemsOnBoard() { int numberOfItems = 0; while (((double) numberOfItems) / grid.size() < NUMBER_OF_GRENADES) { Coordinate position = Coordinate.random(width, height); if (canPlaceItem(position)) { ((Square) grid.get(position)).addItem(new LightGrenade()); numberOfItems++; } } numberOfItems = 0; <START> LinkedList<Teleporter> teleporters = new LinkedList<>(); <END> while (((double) numberOfItems) / grid.size() < NUMBER_OF_TELEPORTERS) { Coordinate position = Coordinate.random(width, height); if (canPlaceItem(position)) { Teleporter teleporter = new Teleporter(getTeleporterDestination(teleporters), grid.get(position)); ((Square) grid.get(position)).addItem(teleporter); teleporters.add(teleporter); numberOfItems++; } } teleporters.get(0).setDestination(getTeleporterDestination(teleporters)); numberOfItems = 0; while (((double) numberOfItems) / grid.size() < NUMBER_OF_IDENTITY_DISKS) { Coordinate position = Coordinate.random(width, height); if (canPlaceItem(position)) { ((Square) grid.get(position)).addItem(new IdentityDisk()); numberOfItems++; } } }</code><technical_language>earth do a LinkedList for this</technical_language>

Target:
private void placeItemsOnBoard() { int numberOfItems = 0; while (((double) numberOfItems) / grid.size() < NUMBER_OF_GRENADES) { Coordinate position = Coordinate.random(width, height); if (canPlaceItem(position)) { ((Square) grid.get(position)).addItem(new LightGrenade()); numberOfItems++; } } numberOfItems = 0; List<Teleporter> teleporters = new ArrayList<>(); while (((double) numberOfItems) / grid.size() < NUMBER_OF_TELEPORTERS) { Coordinate position = Coordinate.random(width, height); if (canPlaceItem(position)) { Teleporter teleporter = new Teleporter(getTeleporterDestination(teleporters), grid.get(position)); ((Square) grid.get(position)).addItem(teleporter); teleporters.add(teleporter); numberOfItems++; } } teleporters.remove(0); teleporters.get(0).setDestination(getTeleporterDestination(teleporters)); numberOfItems = 0; while (((double) numberOfItems) / grid.size() < NUMBER_OF_IDENTITY_DISKS) { Coordinate position = Coordinate.random(width, height); if (canPlaceItem(position)) { ((Square) grid.get(position)).addItem(new IdentityDisk()); numberOfItems++; } } }
Source:
<code>public long getDisabledPartitions() { <START> return _disabledPartitionsGauge.getValue(); <END> }</code><technical_language>If tests methods, remove them. is case, protected</technical_language>

Target:
protected long getDisabledPartitions() { return _disabledPartitionsGauge.getValue(); }
Source:
<code>public void setUp() throws IOException { intermediatePath = new Path(String.format("/tmp/classpath/%s", UUIDUtils.generateUuid())); finalClasspath = new Path(String.format("/tmp/intermediate/%s", UUIDUtils.generateUuid())); dummyJarFile = File.createTempFile("dummy-test", ".jar"); <START> dummyJarFile.deleteOnExit(); <END> Files.copy( new ByteArrayInputStream(StringUtils.toUtf8(dummyJarString)), dummyJarFile.toPath(), StandardCopyOption.REPLACE_EXISTING ); }</code><technical_language>TemporaryFolder</technical_language>

Target:
public void setUp() throws IOException { intermediatePath = new Path(String.format("/tmp/classpath/%s", UUIDUtils.generateUuid())); finalClasspath = new Path(String.format("/tmp/intermediate/%s", UUIDUtils.generateUuid())); dummyJarFile = tempFolder.newFile("dummy-test.jar"); Files.copy( new ByteArrayInputStream(StringUtils.toUtf8(dummyJarString)), dummyJarFile.toPath(), StandardCopyOption.REPLACE_EXISTING ); }
Source:
<code>private String getBrokerUrl(String loadUrl, String packageName, String signatureDigest) { if (!StringExtensions.IsNullOrBlank(packageName) && !StringExtensions.IsNullOrBlank(signatureDigest)) { try { return loadUrl + "&package_name=" + URLEncoder.encode(packageName, AuthenticationConstants.ENCODING_UTF8) <START> + "&signature=" + signatureDigest; <END> } catch (UnsupportedEncodingException e) { Log.e(TAG, "Encoding", e); } } return loadUrl; }</code><technical_language>"signatureDigetst" need encoded</technical_language>

Target:
private String getBrokerUrl(String loadUrl, String packageName, String signatureDigest) { if (!StringExtensions.IsNullOrBlank(packageName) && !StringExtensions.IsNullOrBlank(signatureDigest)) { try { return loadUrl + "&package_name=" + URLEncoder.encode(packageName, AuthenticationConstants.ENCODING_UTF8) + "&signature=" + URLEncoder.encode(signatureDigest, AuthenticationConstants.ENCODING_UTF8); } catch (UnsupportedEncodingException e) { Log.e(TAG, "Encoding", e); } } return loadUrl; }
Source:
<code>private static void createSystemMetacards( EndpointUtil util, List<Metacard> systemTemplates, CatalogFramework catalogFramework) { Set<String> queryTitles = titlesTransform(util.getMetacardsByFilter(QUERY_TEMPLATE_TAG)); Set<String> resultTitles = titlesTransform(util.getMetacardsByFilter(ATTRIBUTE_GROUP_TAG)); List<Metacard> dedupedTemplateMetacards = Stream.concat( systemTemplates .stream() .filter(QueryTemplateMetacard::isQueryTemplateMetacard) .filter(metacard -> !queryTitles.contains(metacard.getTitle())), systemTemplates .stream() .filter(AttributeGroupMetacard::isAttributeGroupMetacard) .filter(metacard -> !resultTitles.contains(metacard.getTitle()))) .collect(Collectors.toList()); if (!dedupedTemplateMetacards.isEmpty()) { try { catalogFramework.create(new CreateRequestImpl(dedupedTemplateMetacards)); } catch (SourceUnavailableException | IngestException e) { LOGGER.warn("Could not load System Templates", e); } } <START> } <END></code><technical_language>question: of calls throw exceptions caught</technical_language>

Target:
private static void createSystemMetacards( EndpointUtil util, List<Metacard> systemTemplates, CatalogFramework catalogFramework) { Set<String> queryTitles = titlesTransform(util.getMetacardsByFilter(QUERY_TEMPLATE_TAG)); Set<String> resultTitles = titlesTransform(util.getMetacardsByFilter(ATTRIBUTE_GROUP_TAG)); List<Metacard> dedupedTemplateMetacards = Stream.concat( systemTemplates .stream() .filter(QueryTemplateMetacard::isQueryTemplateMetacard) .filter(metacard -> !queryTitles.contains(metacard.getTitle())), systemTemplates .stream() .filter(AttributeGroupMetacard::isAttributeGroupMetacard) .filter(metacard -> !resultTitles.contains(metacard.getTitle()))) .collect(Collectors.toList()); if (!dedupedTemplateMetacards.isEmpty()) { try { catalogFramework.create(new CreateRequestImpl(dedupedTemplateMetacards)); } catch (SourceUnavailableException | IngestException e) { throw new RuntimeException("Could not load System Templates", e); } } }
Source:
<code>public void addRecentPage(int page) { <START> BookmarksWidget.updateWidget(context); <END> addRecentPage(page, true); }</code><technical_language>a BookmarkPresenter i - rx observable there. subscribe refresh - right place subscribe is, in worst case, some object subscribes is active widget</technical_language>

Target:
public void addRecentPage(int page) { addRecentPage(page, true); }
Source:
<code>public boolean isConstantOrParameterTreeNode() { <START> if (leftOperandList != null && !leftOperandList.isConstantOrParameterTreeNode()) <END> return false; if (rightOperandList != null && !rightOperandList.containsOnlyConstantAndParamNodes()) return false; return true; }</code><technical_language>I leftOperandList.containsOnlyConstantAndParamNodes() consistent right</technical_language>

Target:
public boolean isConstantOrParameterTreeNode() { if (leftOperandList != null && !leftOperandList.containsOnlyConstantAndParamNodes()) return false; if (rightOperandList != null && !rightOperandList.containsOnlyConstantAndParamNodes()) return false; return true; }
Source:
<code>public GetBucketResponse(final String id, final String location, final String name, final String storageClass, final String timeCreated) { <START> super(); <END> this.id = id; this.location = location; this.name = name; this.storageClass = storageClass; this.timeCreated = timeCreated; }</code><technical_language>need for this</technical_language>

Target:
public GetBucketResponse(final String id, final String location, final String name, final String storageClass, final String timeCreated) { this.id = id; this.location = location; this.name = name; this.storageClass = storageClass; this.timeCreated = timeCreated; }
Source:
<code>public String getNameTokenWithClass() { if (nameTokenPsiClass == null) { return ""; } <START> String s = nameTokenPsiClass.getName().replace(".java", "") + "." + nameToken; <END> return s; }</code><technical_language>nl return</technical_language>

Target:
public String getNameTokenWithClass() { if (nameTokenPsiClass == null) { return ""; } return nameTokenPsiClass.getName().replace(".java", "") + "." + nameToken; }
Source:
<code>public void setChecked(boolean checked) { if (_checked != checked) { _checked = checked; smartUpdate("checked", _checked); if (!_init && _indeterminate) { _indeterminate = false; <START> smartUpdate("indeterminate", _indeterminate); <END> } } }</code><technical_language>call setIndeterminate(false)</technical_language>

Target:
public void setChecked(boolean checked) { if (_checked != checked) { _checked = checked; smartUpdate("checked", _checked); if (!_init && _indeterminate) { setIndeterminate(false); } } }
Source:
<code>public void testUGIReLoginFromKeytab() throws Exception { String principal = "foo"; File keytab = new File(workDir, "foo.keytab"); kdc.createPrincipal(keytab, principal); UserGroupInformation.loginUserFromKeytab(principal, keytab.getPath()); UserGroupInformation ugi = UserGroupInformation.getLoginUser(); Assert.assertTrue("UGI should be configured to login from keytab", ugi.isFromKeytab()); User user = getUser(ugi.getSubject()); final long firstLogin = user.getLastLogin(); final LoginContext login1 = user.getLogin(); Assert.assertNotNull(login1); <START> Thread.sleep(1000); <END> ugi.reloginFromKeytab(); final long secondLogin = user.getLastLogin(); final LoginContext login2 = user.getLogin(); Assert.assertTrue("User should have been able to relogin from keytab", secondLogin > firstLogin); Assert.assertNotNull(login2); Assert.assertNotSame(login1, login2); }</code><technical_language>if want >1s of interval, a 2s, delay. risk of clock/sleep granularity issues</technical_language>

Target:
public void testUGIReLoginFromKeytab() throws Exception { String principal = "foo"; File keytab = new File(workDir, "foo.keytab"); kdc.createPrincipal(keytab, principal); UserGroupInformation.loginUserFromKeytab(principal, keytab.getPath()); UserGroupInformation ugi = UserGroupInformation.getLoginUser(); Assert.assertTrue("UGI should be configured to login from keytab", ugi.isFromKeytab()); User user = getUser(ugi.getSubject()); final long firstLogin = user.getLastLogin(); final LoginContext login1 = user.getLogin(); Assert.assertNotNull(login1); Thread.sleep(2000); ugi.reloginFromKeytab(); final long secondLogin = user.getLastLogin(); final LoginContext login2 = user.getLogin(); Assert.assertTrue("User should have been able to relogin from keytab", secondLogin > firstLogin); Assert.assertNotNull(login2); Assert.assertNotSame(login1, login2); }
Source:
<code><START> public PointSensitivities presentValueSensitivity( <END> ResolvedCds cds, CreditRatesProvider ratesProvider, LocalDate referenceDate, ReferenceData refData) { if (isExpired(cds, ratesProvider)) { return PointSensitivities.empty(); } LocalDate stepinDate = cds.getStepinDateOffset().adjust(ratesProvider.getValuationDate(), refData); LocalDate effectiveStartDate = cds.calculateEffectiveStartDate(stepinDate); double recoveryRate = recoveryRate(cds, ratesProvider); Pair<CreditDiscountFactors, LegalEntitySurvivalProbabilities> rates = reduceDiscountFactors(cds, ratesProvider); double signedNotional = cds.getBuySell().normalize(cds.getNotional()); PointSensitivityBuilder protectionLegSensi = protectionLegSensitivity(cds, rates.getFirst(), rates.getSecond(), referenceDate, effectiveStartDate, recoveryRate) .multipliedBy(signedNotional); PointSensitivityBuilder riskyAnnuitySensi = riskyAnnuitySensitivity( cds, rates.getFirst(), rates.getSecond(), referenceDate, stepinDate, effectiveStartDate) .multipliedBy(-cds.getFixedRate() * signedNotional); return protectionLegSensi.combinedWith(riskyAnnuitySensi).build(); }</code><technical_language>for confusion, this incompatible change, do it. If other methods class return a builder is fine new method too</technical_language>

Target:
public PointSensitivityBuilder presentValueSensitivity( ResolvedCds cds, CreditRatesProvider ratesProvider, LocalDate referenceDate, ReferenceData refData) { if (isExpired(cds, ratesProvider)) { return PointSensitivityBuilder.none(); } LocalDate stepinDate = cds.getStepinDateOffset().adjust(ratesProvider.getValuationDate(), refData); LocalDate effectiveStartDate = cds.calculateEffectiveStartDate(stepinDate); double recoveryRate = recoveryRate(cds, ratesProvider); Pair<CreditDiscountFactors, LegalEntitySurvivalProbabilities> rates = reduceDiscountFactors(cds, ratesProvider); double signedNotional = cds.getBuySell().normalize(cds.getNotional()); PointSensitivityBuilder protectionLegSensi = protectionLegSensitivity(cds, rates.getFirst(), rates.getSecond(), referenceDate, effectiveStartDate, recoveryRate) .multipliedBy(signedNotional); PointSensitivityBuilder riskyAnnuitySensi = riskyAnnuitySensitivity( cds, rates.getFirst(), rates.getSecond(), referenceDate, stepinDate, effectiveStartDate) .multipliedBy(-cds.getFixedRate() * signedNotional); return protectionLegSensi.combinedWith(riskyAnnuitySensi); }
Source:
<code>public void testNormalFlow() throws Exception { PartitionId partitionId = new MockPartitionId(); BlobId blobId = new BlobId(BLOB_ID_V6, BlobIdType.NATIVE, dataCenterId, accountId, containerId, partitionId, false, BlobDataType.DATACHUNK); InputStream inputStream = getBlobInputStream(blobSize); CloudBlobMetadata cloudBlobMetadata = new CloudBlobMetadata(blobId, System.currentTimeMillis(), Utils.Infinite_Time, blobSize, <START> CloudBlobMetadata.EncryptionOrigin.NONE, vcrKmsContext, cryptoAgentFactory); <END> assertTrue("Expected upload to return true", azureDest.uploadBlob(blobId, blobSize, cloudBlobMetadata, inputStream)); assertFalse("Expected duplicate upload to return false", azureDest.uploadBlob(blobId, blobSize, cloudBlobMetadata, inputStream)); long expirationTime = Utils.Infinite_Time; assertTrue("Expected update to return true", azureDest.updateBlobExpiration(blobId, expirationTime)); CloudBlobMetadata metadata = azureDest.getBlobMetadata(Collections.singletonList(blobId)).get(blobId.getID()); assertEquals(expirationTime, metadata.getExpirationTime()); long deletionTime = System.currentTimeMillis() + 1000; assertTrue("Expected deletion to return true", azureDest.deleteBlob(blobId, deletionTime)); metadata = azureDest.getBlobMetadata(Collections.singletonList(blobId)).get(blobId.getID()); assertEquals(deletionTime, metadata.getDeletionTime()); }</code><technical_language>'.VCR'</technical_language>

Target:
public void testNormalFlow() throws Exception { PartitionId partitionId = new MockPartitionId(); BlobId blobId = new BlobId(BLOB_ID_V6, BlobIdType.NATIVE, dataCenterId, accountId, containerId, partitionId, false, BlobDataType.DATACHUNK); InputStream inputStream = getBlobInputStream(blobSize); CloudBlobMetadata cloudBlobMetadata = new CloudBlobMetadata(blobId, System.currentTimeMillis(), Utils.Infinite_Time, blobSize, CloudBlobMetadata.EncryptionOrigin.VCR, vcrKmsContext, cryptoAgentFactory); assertTrue("Expected upload to return true", azureDest.uploadBlob(blobId, blobSize, cloudBlobMetadata, inputStream)); assertFalse("Expected duplicate upload to return false", azureDest.uploadBlob(blobId, blobSize, cloudBlobMetadata, inputStream)); long expirationTime = Utils.Infinite_Time; assertTrue("Expected update to return true", azureDest.updateBlobExpiration(blobId, expirationTime)); CloudBlobMetadata metadata = azureDest.getBlobMetadata(Collections.singletonList(blobId)).get(blobId.getID()); assertEquals(expirationTime, metadata.getExpirationTime()); long deletionTime = System.currentTimeMillis() + 1000; assertTrue("Expected deletion to return true", azureDest.deleteBlob(blobId, deletionTime)); metadata = azureDest.getBlobMetadata(Collections.singletonList(blobId)).get(blobId.getID()); assertEquals(deletionTime, metadata.getDeletionTime()); }
Source:
<code>public InnerBuilder newBuilder( final KieProject project) { Path nioPath = Paths.convert(project.getRootPath()); Optional<KieAFBuilder> builder = builderUtils.getBuilder(project.getRootPath().toURI(),nioPath); if(!builder.isPresent()){ <START> throw new RuntimeException("Isn't possible create a Builder :"+ project.getRootPath().toURI() + " because the project isn't a Git FS project"); <END> } DefaultKieAFBuilder defaultKieBuilder = (DefaultKieAFBuilder)builder.get(); Path workingDir = defaultKieBuilder.getInfo().getPrjPath(); KieModuleMetaData kieModuleMetaData =kieModuleMetaDataCache.getMetadata(workingDir); if(kieModuleMetaData != null){ return getInnerBuilderWithAlreadyPresentData(project, kieModuleMetaData); }else { return runNewBuild(project, builder.get()); } }</code><technical_language>Good add this. I need change this embed editors in Eclipse work, I doubt this is blocker for work. More maintained moment. this fires clear error if try get working</technical_language>

Target:
public InnerBuilder newBuilder(final KieProject project) { Path nioPath = Paths.convert(project.getRootPath()); Optional<KieAFBuilder> builder = builderUtils.getBuilder(project.getRootPath().toURI(), nioPath); if (!builder.isPresent()) { throw new RuntimeException("Isn't possible create a Builder :" + project.getRootPath().toURI() + " because the project isn't a Git FS project"); } DefaultKieAFBuilder defaultKieBuilder = (DefaultKieAFBuilder) builder.get(); Path workingDir = defaultKieBuilder.getInfo().getPrjPath(); KieModuleMetaData kieModuleMetaData = (KieModuleMetaData)kieModuleMetaDataCache.getKieModuleMetaData(workingDir); if (kieModuleMetaData != null) { return getInnerBuilderWithAlreadyPresentData(project, kieModuleMetaData); } else { return runNewBuild(project, builder.get()); } }
Source:
<code><START> Builder name(String filename) { <END> if (filename == null || filename.isEmpty()) { throw new IllegalArgumentException("A non-empty filename must be provided"); } this.fileName = filename; return this; }</code><technical_language>this intentionally left out align feature set other SDKs? I guess added other SDKs <LINK_0>, sense consider adding directory method in go</technical_language>

Target:
Builder name(String filename) { if (filename == null || filename.isEmpty()) { throw new IllegalArgumentException("A non-empty filename must be provided"); } if (filename.endsWith(".realm")) { if (filename.length() == 6) { throw new IllegalArgumentException("'.realm' is not a valid filename"); } else { filename = filename.substring(0, filename.length() - 6); } } this.filename = filename; return this; }
Source:
<code>public void run(final int iteration) { <START> final long iterationBegin = System.currentTimeMillis(); <END> final Map<Long, Document> workloadMap = memoryStore.getAll(); final List<Document> workload = new ArrayList<>(workloadMap.values()); final int numEMBlocks = memoryStore.getNumBlocks(); final int numDocuments = workload.size(); int numSampledDocuments = 0; for (int batchIdx = 0; batchIdx < numMiniBatchPerIter; batchIdx++) { resetTracers(); final int batchSize = numDocuments / numMiniBatchPerIter + ((numDocuments % numMiniBatchPerIter > batchIdx) ? 1 : 0); sampler.sample(workload.subList(numSampledDocuments, numSampledDocuments + batchSize), computeTracer, pushTracer, pullTracer); numSampledDocuments += batchSize; LOG.log(Level.INFO, "{0} documents out of {1} have been sampled", new Object[]{numSampledDocuments, numDocuments}); } final double elapsedTime = (System.currentTimeMillis() - iterationBegin) / 1000.0D; LOG.log(Level.INFO, "Start computing log likelihood"); final List<int[]> wordTopicCounts = parameterWorker.pull(vocabList); final int[] wordTopicCountsSummary = wordTopicCounts.remove(numVocabs); final Metrics appMetrics = buildAppMetrics(statCalculator.computeDocLLH(workload), statCalculator.computeWordLLH(wordTopicCounts, wordTopicCountsSummary)); final WorkerMetrics workerMetrics = buildMetricsMsg(iteration, appMetrics, numEMBlocks, workload.size(), elapsedTime); LOG.log(Level.INFO, "WorkerMetrics {0}", workerMetrics); sendMetrics(workerMetrics); }</code><technical_language>append a suffix Ms</technical_language>

Target:
public void run(final int iteration) { final long iterationBeginMs = System.currentTimeMillis(); resetTracers(); final Map<Long, Document> workloadMap = memoryStore.getAll(); final List<Document> workload = new ArrayList<>(workloadMap.values()); final int numEMBlocks = memoryStore.getNumBlocks(); final int numDocuments = workload.size(); int numSampledDocuments = 0; for (int batchIdx = 0; batchIdx < numMiniBatchPerIter; batchIdx++) { final int batchSize = numDocuments / numMiniBatchPerIter + ((numDocuments % numMiniBatchPerIter > batchIdx) ? 1 : 0); sampler.sample(workload.subList(numSampledDocuments, numSampledDocuments + batchSize), computeTracer, pushTracer, pullTracer); numSampledDocuments += batchSize; LOG.log(Level.INFO, "{0} documents out of {1} have been sampled", new Object[]{numSampledDocuments, numDocuments}); } final double elapsedTimeSec = (System.currentTimeMillis() - iterationBeginMs) / 1000.0D; LOG.log(Level.INFO, "Start computing log likelihood"); final List<int[]> wordTopicCounts = parameterWorker.pull(vocabList); final int[] wordTopicCountsSummary = wordTopicCounts.remove(numVocabs); final Metrics appMetrics = buildAppMetrics(statCalculator.computeDocLLH(workload), statCalculator.computeWordLLH(wordTopicCounts, wordTopicCountsSummary)); final WorkerMetrics workerMetrics = buildMetricsMsg(iteration, appMetrics, numEMBlocks, workload.size(), elapsedTimeSec); LOG.log(Level.INFO, "WorkerMetrics {0}", workerMetrics); sendMetrics(workerMetrics); }
Source:
<code>public ICompletionProposal[] parameterProposals(IType expectedType, String paramName, Position pos, List<IBinding> suggestions, boolean isLastParameter) throws CModelException { List<Variable> typeMatches = evaluateVisibleMatches(expectedType, suggestions); typeMatches = removeDuplicates(typeMatches); orderMatches(typeMatches, paramName); ICompletionProposal[] ret = new ICompletionProposal[typeMatches.size()]; int i = 0; int replacementLength = 0; for <START> (Iterator<Variable> it <END> = typeMatches.iterator(); it.hasNext();) { Variable v = it.next(); if (i == 0) { fAlreadyMatchedNames.add(v.name); replacementLength = v.name.length(); } String displayString = v.name; final char[] triggers; if (isLastParameter) { triggers = v.triggerChars; } else { triggers = new char[v.triggerChars.length + 1]; System.arraycopy(v.triggerChars, 0, triggers, 0, v.triggerChars.length); triggers[triggers.length - 1] = ','; } ret[i++] = new PositionBasedCompletionProposal(v.name, pos, replacementLength, getImage(v.descriptor), displayString, null, null, triggers); } return ret; }</code><technical_language>for(Variable v : typeMatches)</technical_language>

Target:
public ICompletionProposal[] parameterProposals(IType expectedType, String paramName, Position pos, List<IBinding> suggestions, boolean isLastParameter) throws CModelException { List<Variable> typeMatches = evaluateVisibleMatches(expectedType, suggestions); typeMatches = removeDuplicates(typeMatches); orderMatches(typeMatches, paramName); ICompletionProposal[] ret = new ICompletionProposal[typeMatches.size()]; int i = 0; int replacementLength = 0; for (Variable v : typeMatches) { if (i == 0) { fAlreadyMatchedNames.add(v.name); replacementLength = v.name.length(); } String displayString = v.name; final char[] triggers; if (isLastParameter) { triggers = v.triggerChars; } else { triggers = new char[v.triggerChars.length + 1]; System.arraycopy(v.triggerChars, 0, triggers, 0, v.triggerChars.length); triggers[triggers.length - 1] = ','; } ret[i++] = new PositionBasedCompletionProposal(v.name, pos, replacementLength, getImage(v.descriptor), displayString, null, null, triggers); } return ret; }
Source:
<code><START> protected static Frame makeFrame(final ChannelHandlerContext ctx, final RequestMessage msg, <END> final MessageSerializer serializer, final boolean useBinary, final List<Object> aggregate, final ResponseStatusCode code, final Map<String,Object> responseMetaData) throws Exception { Context context = new Context(msg, ctx, null, null, null, null); ResponseHandlerContext rhc = new ResponseHandlerContext(context); return makeFrame(rhc, msg, serializer, useBinary, aggregate, code, responseMetaData); }</code><technical_language>I deprecate this I think...I mean, if proper operation requires people call new method push people method more directly</technical_language>

Target:
protected static Frame makeFrame(final ChannelHandlerContext ctx, final RequestMessage msg, final MessageSerializer serializer, final boolean useBinary, final List<Object> aggregate, final ResponseStatusCode code, final Map<String,Object> responseMetaData) throws Exception { final Context context = new Context(msg, ctx, null, null, null, null); final ResponseHandlerContext rhc = new ResponseHandlerContext(context); return makeFrame(rhc, msg, serializer, useBinary, aggregate, code, responseMetaData); }
Source:
<code>protected void onPostExecute(Bitmap bitmapResult) { super.onPostExecute(bitmapResult); if (bitmapResult == null || cancelAsyncTasks || !isAdded() || map == null) { return; } Person marker = person; if (!markers.contains(marker)) { <START> markers.add(marker); <END> clusterManager.addItem(marker); } if (marker.getEmail().equals(MainApplication.emailBeingTracked)) { Log.d(TAG, "onPostExecute - showInfoWindow open"); map.moveCamera(CameraUpdateFactory.newLatLngZoom(marker.getPosition(), DEFAULT_ZOOM)); } else if (MainApplication.firstTimeZoom && MainApplication.emailBeingTracked == null && MainApplication.user.getEmail() != null && marker.getEmail().equals(MainApplication.user.getEmail()) && marker.getPosition() != null) { MainApplication.firstTimeZoom = false; map.moveCamera(CameraUpdateFactory.newLatLngZoom(marker.getPosition(), DEFAULT_ZOOM)); } clusterManager.cluster(); }</code><technical_language>remove marker clustermanager add again, is update cluster</technical_language>

Target:
protected void onPostExecute(Bitmap bitmapResult) { super.onPostExecute(bitmapResult); if (bitmapResult == null || cancelAsyncTasks || !isAdded() || map == null) { return; } Person marker = person; if (!markers.contains(marker)) { markers.add(marker); clusterManager.addItem(marker); } else { clusterManager.removeItem(marker); clusterManager.addItem(marker); } if (marker.getEmail().equals(MainApplication.emailBeingTracked)) { Log.d(TAG, "onPostExecute - showInfoWindow open"); map.moveCamera(CameraUpdateFactory.newLatLngZoom(marker.getPosition(), DEFAULT_ZOOM)); } else if (MainApplication.firstTimeZoom && MainApplication.emailBeingTracked == null && MainApplication.user.getEmail() != null && marker.getEmail().equals(MainApplication.user.getEmail()) && marker.getPosition() != null) { MainApplication.firstTimeZoom = false; map.moveCamera(CameraUpdateFactory.newLatLngZoom(marker.getPosition(), DEFAULT_ZOOM)); } clusterManager.cluster(); }
Source:
<code>public static <K, V> HashMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { <START> return new HashMap<>(HashArrayMappedTrie.<K, V> empty().put(k1, v1).put(k2, v2).put(k3, v3).put(k4, v4)); <END> }</code><technical_language>@ruslansennov, for repeating myself, I this more compact reusing previous factory methods, i.e.: java public static <K, V> HashMap<K, V> of(K k1, V v1, k2, V v2, k3, V v3, k4, V v4) { return of(k1, v1, k2, v2, k3, v3).put(k4, v4));</technical_language>

Target:
public static <K, V> HashMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { return of(k1, v1, k2, v2, k3, v3).put(k4, v4); }
Source:
<code><START> public void connect(ITerminalControl control) { <END> fControl = control; new OutputReadJob(fProcess.getInputStream()).schedule(); new OutputReadJob(fProcess.getErrorStream()).schedule(); fControl.setState(TerminalState.CONNECTED); }</code><technical_language>Add IllegalArgumentException fail-fast control is null</technical_language>

Target:
public void connect(ITerminalControl control) { if (control == null) { throw new IllegalArgumentException("Invalid ITerminalControl"); } fControl = control; new OutputReadJob(fProcess.getInputStream()).schedule(); new OutputReadJob(fProcess.getErrorStream()).schedule(); fControl.setState(TerminalState.CONNECTED); }
Source:
<code>public void setAllowDeletes(final boolean canDelete) { allowAnyDeletes = canDelete; <START> if (!canDelete) allowBranchDeletes = false; <END> }</code><technical_language>This loses information: setAllowDeletes(true); setAllowBranchDeletes(true); setAllowDeletes(false); setAllowDeletes(true); isAllowBranchDeletes() say? delete lines treat orthogonal (validateCommands prevent deleting branches allowAnyDeletes is false)</technical_language>

Target:
public void setAllowDeletes(final boolean canDelete) { allowAnyDeletes = canDelete; }
Source:
<code>public void update(ModelEvent event) { if (event.part == ModelPart.MODEL) { this.model = (Model) event.data; final String[] classifiers = new String[4]; classifiers[0] = Resources.getMessage("ViewClassificationAttributes.7"); classifiers[1] = Resources.getMessage("ViewClassificationAttributes.8"); classifiers[2] = Resources.getMessage("ViewClassificationAttributes.9"); classifiers[3] = Resources.getMessage("ViewClassificationAttributes.10"); this.combo.setItems(classifiers); <START> this.combo.select(0); <END> this.configs = new HashMap<String, ARXClassificationConfiguration>(); this.configs.put(classifiers[0], this.model.getClassificationModel().getLogisticRegressionConfiguration()); this.configs.put(classifiers[1], this.model.getClassificationModel().getNaiveBayesConfiguration()); this.configs.put(classifiers[2], this.model.getClassificationModel().getRandomForestConfiguration()); this.configs.put(classifiers[3], this.model.getClassificationModel().getSVMConfiguration()); updateTable(this.model.getClassificationModel().getLogisticRegressionConfiguration()); } }</code><technical_language>Please move this setting map configs</technical_language>

Target:
public void update(ModelEvent event) { if (event.part == ModelPart.MODEL) { this.model = (Model) event.data; final String[] classifiers = new String[4]; classifiers[0] = Resources.getMessage("ViewClassificationAttributes.7"); classifiers[1] = Resources.getMessage("ViewClassificationAttributes.8"); classifiers[2] = Resources.getMessage("ViewClassificationAttributes.9"); classifiers[3] = Resources.getMessage("ViewClassificationAttributes.10"); this.combo.setItems(classifiers); this.configs = new HashMap<String, ARXClassificationConfiguration>(); this.configs.put(classifiers[0], this.model.getClassificationModel().getLogisticRegressionConfiguration()); this.configs.put(classifiers[1], this.model.getClassificationModel().getNaiveBayesConfiguration()); this.configs.put(classifiers[2], this.model.getClassificationModel().getRandomForestConfiguration()); this.configs.put(classifiers[3], this.model.getClassificationModel().getSVMConfiguration()); this.combo.select(0); updateTable(this.model.getClassificationModel().getLogisticRegressionConfiguration()); } }
Source:
<code>public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { if (!isAdded()) { return; } super.onCreateOptionsMenu(menu, inflater); optionsMenu = menu; FeedMenuHandler.onCreateOptionsMenu(inflater, menu); iconTintManager.updateTint(); if (feed != null) { MenuItemUtils.setupSearchItem(menu, (MainActivity) getActivity(), feedID, feed.getTitle()); <START> } <END> if (feed == null || feed.getLink() == null) { menu.findItem(R.id.share_link_item).setVisible(false); menu.findItem(R.id.visit_website_item).setVisible(false); } isUpdatingFeed = MenuItemUtils.updateRefreshMenuItem(menu, R.id.refresh_item, updateRefreshMenuItemChecker); }</code><technical_language>If feed is null, menu items setup. feed title left out. prevents flickering menu items displayed/hidden for some feeds</technical_language>

Target:
public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { if (!isAdded()) { return; } super.onCreateOptionsMenu(menu, inflater); optionsMenu = menu; FeedMenuHandler.onCreateOptionsMenu(inflater, menu); iconTintManager.updateTint(); if (feed != null) { MenuItemUtils.setupSearchItem(menu, (MainActivity) getActivity(), feedID, feed.getTitle()); } else { MenuItemUtils.setupSearchItem(menu, (MainActivity) getActivity(), feedID, ""); } if (feed == null || feed.getLink() == null) { menu.findItem(R.id.share_link_item).setVisible(false); menu.findItem(R.id.visit_website_item).setVisible(false); } isUpdatingFeed = MenuItemUtils.updateRefreshMenuItem(menu, R.id.refresh_item, updateRefreshMenuItemChecker); }
Source:
<code>public ApplicabilityIds getApplicabilityIds() { <START> ApplicabilityIds ids = new ApplicabilityIds(); <END> return ids; }</code><technical_language>This file needs some work ensure works client</technical_language>

Target:
public ApplicabilityIds getApplicabilityIds() { return null; }
Source:
<code>private void findAndPerformClick(final By addSubmitButtonLocator) { final WebElement addSubmitButton = find(addSubmitButtonLocator); final Actions builder = new Actions(driver); <START> ((JavascriptExecutor) driver).executeScript( <END> "arguments[0].scrollIntoView();", addSubmitButton ); builder.moveToElement(addSubmitButton).click(addSubmitButton); builder.perform(); }</code><technical_language>IIRC, moveToElement introduced address similar problem in past. reverting plain button clicking (that invokes Scroller) work? If not, note is #executeScript(String, Object...) invoke here</technical_language>

Target:
private void findAndPerformClick(final By addSubmitButtonLocator) { final WebElement addSubmitButton = find(addSubmitButtonLocator); final Actions builder = new Actions(driver); new Scroller().scrollIntoView(addSubmitButton, driver); addSubmitButton.click(); builder.perform(); }
Source:
<code>protected void finishModelStage(OperationContext context, ModelNode operation, String attributeName, ModelNode newValue, ModelNode oldValue, Resource model) throws OperationFailedException { super.finishModelStage(context, operation, attributeName, newValue, oldValue, model); if (!context.isBooting()) { TransformerOperationAttachment attachment = TransformerOperationAttachment.getOrCreate(context); <START> attachment.attachIfAbsent(PreviousAttributeValueOperationContextAttachment.KEY, new PreviousAttributeValueOperationContextAttachment(oldValue.clone())); <END> } }</code><technical_language>A questions: - Could/should this attached if attribute is of type map? - if is a composite modifies map attributes? I map stored here</technical_language>

Target:
protected void finishModelStage(OperationContext context, ModelNode operation, String attributeName, ModelNode newValue, ModelNode oldValue, Resource model) throws OperationFailedException { super.finishModelStage(context, operation, attributeName, newValue, oldValue, model); if (!context.isBooting()) { TransformerOperationAttachment attachment = TransformerOperationAttachment.getOrCreate(context); InitialAttributeValueOperationContextAttachment valuesAttachment = attachment.getAttachment(InitialAttributeValueOperationContextAttachment.INITIAL_VALUES_ATTACHMENT); if (valuesAttachment == null) { valuesAttachment = new InitialAttributeValueOperationContextAttachment(); attachment.attach(InitialAttributeValueOperationContextAttachment.INITIAL_VALUES_ATTACHMENT, valuesAttachment); } valuesAttachment.putIfAbsentInitialValue(Operations.getPathAddress(operation), attributeName, oldValue); } }