auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
<code>private void populateRepositoryRefresh() { this.refreshLayout = new GridPane(); this.refreshLayout.setHgap(20); this.refreshLayout.setVgap(10); ColumnConstraints columnConstraints = new ColumnConstraints(); columnConstraints.setFillWidth(true); columnConstraints.setHgrow(Priority.ALWAYS); this.refreshLayout.getColumnConstraints().add(columnConstraints); this.refreshRepositoriesLabel = new Label(translate("Fetch updates for the repositories to retrieve the newest script versions")); this.refreshRepositoriesLabel.setWrapText(true); this.refreshRepositoriesButton = new Button("Refresh Repositories"); <START> refreshRepositoriesButton.getStyleClass().add("buttonWithIcon"); <END> this.refreshRepositoriesButton.setOnAction(event -> { refreshRepositoriesButton.getStyleClass().add("refreshIcon"); refreshRepositoriesButton.setDisable(true); repositoryManager.triggerRepositoryChange(); }); this.refreshLayout.add(refreshRepositoriesLabel, 0, 0); this.refreshLayout.add(refreshRepositoriesButton, 1, 0); }</code><technical_language>I prefer, if this line starts a this. other lines written this. In addition I define want keyword this not, do this uniformly</technical_language>

Target:
private void populateRepositoryRefresh() { this.refreshLayout = new GridPane(); this.refreshLayout.setHgap(20); this.refreshLayout.setVgap(10); ColumnConstraints columnConstraints = new ColumnConstraints(); columnConstraints.setFillWidth(true); columnConstraints.setHgrow(Priority.ALWAYS); this.refreshLayout.getColumnConstraints().add(columnConstraints); this.refreshRepositoriesLabel = new Label(translate("Fetch updates for the repositories to retrieve the newest script versions")); this.refreshRepositoriesLabel.setWrapText(true); this.refreshRepositoriesButton = new Button("Refresh Repositories"); this.refreshRepositoriesButton.getStyleClass().add("buttonWithIcon"); this.refreshRepositoriesButton.setOnAction(event -> { refreshRepositoriesButton.getStyleClass().add("refreshIcon"); refreshRepositoriesButton.setDisable(true); repositoryManager.triggerRepositoryChange(); }); this.refreshLayout.add(refreshRepositoriesLabel, 0, 0); this.refreshLayout.add(refreshRepositoriesButton, 1, 0); }
Source:
<code>private void extractTitles(Element mods, IndexDocumentBean idb) { List<?> titles = mods.getChildren("titleInfo", JDOMNamespaceUtil.MODS_V3_NS); String mainTitle = null; List<String> otherTitles = new ArrayList<>(); for (Object titleInfoObj : titles) { Element titleInfoEl = (Element) titleInfoObj; for (Object titleObj : titleInfoEl.getChildren()) { Element titleEl = (Element) titleObj; if (mainTitle == null && "title".equalsIgnoreCase(titleEl.getName())) { mainTitle = titleEl.getValue(); } else { otherTitles.add(titleEl.getValue()); } } } <START> if (mainTitle != null && !mainTitle.equals("")) { <END> idb.setTitle(mainTitle); } if (otherTitles.size() > 0) { idb.setOtherTitle(otherTitles); } else { idb.setOtherTitle(null); } }</code><technical_language>StringUtils.isBlank in place of checks (the apache commons lang3 version)</technical_language>

Target:
private void extractTitles(Element mods, IndexDocumentBean idb) { List<?> titles = mods.getChildren("titleInfo", JDOMNamespaceUtil.MODS_V3_NS); String mainTitle = null; List<String> otherTitles = new ArrayList<>(); for (Object titleInfoObj : titles) { Element titleInfoEl = (Element) titleInfoObj; for (Object titleObj : titleInfoEl.getChildren()) { Element titleEl = (Element) titleObj; if (mainTitle == null && "title".equalsIgnoreCase(titleEl.getName())) { mainTitle = titleEl.getValue(); } else { otherTitles.add(titleEl.getValue()); } } } if (!isBlank(mainTitle)) { idb.setTitle(mainTitle); } if (otherTitles.size() > 0) { idb.setOtherTitle(otherTitles); } else { idb.setOtherTitle(null); } }
Source:
<code>public void initializeSpinners() { <START> String[] categoryList = new String[]{SCHOOL, GENERAL}; <END> StringArraySpinnerAdapter categoryAdapter = new StringArraySpinnerAdapter(getActivity(), categoryList, R.layout.simple_spinner_item, R.layout.simple_spinner_item); categoryAdapter.setDropDownViewResource(android.R.layout.simple_spinner_item); mAnnouncementCategory.setAdapter(categoryAdapter); mAnnouncementCategory.setSelection(1, true); mSchoolAdapter = new SchoolSpinnerAdapter(getActivity(), mSchools, R.layout.simple_spinner_item, R.layout.simple_spinner_item); mSchoolAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); mAnnouncementSchoolList.setAdapter(mSchoolAdapter); mAnnouncementCategory.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { if (mAnnouncementCategory.getSelectedItemPosition() == 1) { mAnnouncementSchoolList.setVisibility(View.GONE); } else { mAnnouncementSchoolList.setVisibility(View.VISIBLE); } } @Override public void onNothingSelected(AdapterView<?> adapterView) }); }</code><technical_language>refactor class variable</technical_language>

Target:
public void initializeSpinners() { StringArraySpinnerAdapter categoryAdapter = new StringArraySpinnerAdapter(getActivity(), categoryList, R.layout.simple_spinner_item, R.layout.simple_spinner_item); mAnnouncementCategory.setAdapter(categoryAdapter); mAnnouncementCategory.setSelection(1, true); mSchoolAdapter = new SchoolSpinnerAdapter(getActivity(), mSchools, R.layout.simple_spinner_item, R.layout.simple_spinner_item); mAnnouncementSchoolList.setAdapter(mSchoolAdapter); mAnnouncementCategory.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { if (mAnnouncementCategory.getSelectedItemPosition() == 1) { mAnnouncementSchoolList.setVisibility(View.GONE); } else { mAnnouncementSchoolList.setVisibility(View.VISIBLE); } } @Override public void onNothingSelected(AdapterView<?> adapterView) }); }
Source:
<code>public boolean isDarkload() { <START> if (!shard.containsKey(DARKLOAD)) { <END> return false; } final String value = shard.get(DARKLOAD); if (!value.equals("true")) { return false; } return true; }</code><technical_language>this check enough</technical_language>

Target:
public boolean isDarkload() { return shard.containsKey(DARKLOAD); }
Source:
<code>public void verify() { int tolerance = (int) (elementCounter.get() * tolerancePercentage); logger.info("Actual Keys added : " + elementCounter.get()); <START> logger.info("Acceptable Count(i.e. tolerance) : " + (elementCounter.get() - tolerance)); <END> logger.info("Cardinality Estimation : " + cardinalityEstimator.estimate()); assertTrue(Math.abs(cardinalityEstimator.estimate() - elementCounter.get()) < tolerance); }</code><technical_language>This is complete. Acceptable count is allowed smaller actual count (what have), allowed larger actual count</technical_language>

Target:
public void verify() { int tolerance = (int) (elementCounter.get() * tolerancePercentage); logger.info("Actual Keys added : " + elementCounter.get()); logger.info("Acceptable Count(i.e. tolerance) : (" + (elementCounter.get() - tolerance) + " - " + (elementCounter.get() + tolerance) + ")"); logger.info("Cardinality Estimation : " + cardinalityEstimator.estimate()); assertTrue(Math.abs(cardinalityEstimator.estimate() - elementCounter.get()) < tolerance); }
Source:
<code>public ITmfStateValue increment() throws StateValueTypeException { <START> return TmfStateValue.newValueInt(this.unboxInt() + 1); <END> }</code><technical_language>this.unboxInt()</technical_language>

Target:
public ITmfStateValue increment() throws StateValueTypeException { return TmfStateValue.newValueInt(valueInt + 1); }
Source:
<code><START> public void test_get_String() { <END> assertEquals("d1", Paths.get("d1").toString()); assertEquals("", Paths.get("").toString()); assertEquals("/", Paths.get(" assertEquals("d1/d2/d3", Paths.get("d1 assertEquals("d1/d2", Paths.get("d1", "", "d2").toString()); try { Paths.get("'\u0000'"); fail(); } catch (InvalidPathException expected) }</code><technical_language>Ok. I suggest do part of this change if in other DefaultFileSystems tests</technical_language>

Target:
public void test_get_String() { assertEquals("d1", Paths.get("d1").toString()); assertEquals("", Paths.get("").toString()); assertEquals("/", Paths.get(" assertEquals("d1/d2/d3", Paths.get("d1 assertEquals("d1/d2", Paths.get("d1", "", "d2").toString()); assertEquals("foo", Paths.get("", "foo").toString()); assertEquals("/foo/bar/gus", Paths.get("/foo", "bar", "gus").toString()); try { Paths.get("'\u0000'"); fail(); } catch (InvalidPathException expected) }
Source:
<code>public void leftHandAssignmentCanBeInBraces() { ParseResult<Expression> result = new JavaParser().parse(EXPRESSION, provider("(i) += (i) += 1")); <START> assertProblems(result); <END> }</code><technical_language>"assertNoProblems" more intuitive in this case</technical_language>

Target:
public void leftHandAssignmentCanBeInBraces() { ParseResult<Expression> result = new JavaParser().parse(EXPRESSION, provider("(i) += (i) += 1")); assertNoProblems(result); }
Source:
<code>public Status update(final String table, final String key, final Map<String, ByteIterator> values) { try { final Response searchResponse = search(table, key); final int statusCode = searchResponse.getStatusLine().getStatusCode(); if (statusCode == 404) { return Status.NOT_FOUND; } else if (statusCode != 200) { return Status.ERROR; } final Map<String, Object> map = map(searchResponse); @SuppressWarnings("unchecked") final Map<String, Object> hits = (Map<String, Object>) map.get("hits"); final int total = (int) hits.get("total"); if (total == 0) { return Status.NOT_FOUND; } @SuppressWarnings("unchecked") final Map<String, Object> hit = (Map<String, Object>) ((List<Object>) hits.get("hits")).get(0); @SuppressWarnings("unchecked") final Map<String, Object> source = (Map<String, Object>) hit.get("_source"); for (final Map.Entry<String, String> entry : StringByteIterator.getStringMap(values).entrySet()) { source.put(entry.getKey(), entry.getValue()); } final Map<String, String> params = emptyMap(); final Response response = restClient.performRequest( "PUT", "/" + indexKey + "/" + table + "/" + hit.get("_id"), params, new NStringEntity(new ObjectMapper().writeValueAsString(source), ContentType.APPLICATION_JSON)); if (response.getStatusLine().getStatusCode() != 200) { return Status.ERROR; } if (!isRefreshNeeded) { synchronized (this) { isRefreshNeeded = true; } } return Status.OK; } catch (final Exception e) { <START> e.printStackTrace(); <END> return Status.ERROR; } }</code><technical_language>Exception#printStackTrace stderr default</technical_language>

Target:
public Status update(final String table, final String key, final Map<String, ByteIterator> values) { try { final Response searchResponse = search(table, key); final int statusCode = searchResponse.getStatusLine().getStatusCode(); if (statusCode == 404) { return Status.NOT_FOUND; } else if (statusCode != HttpStatus.SC_OK) { return Status.ERROR; } final Map<String, Object> map = map(searchResponse); @SuppressWarnings("unchecked") final Map<String, Object> hits = (Map<String, Object>) map.get("hits"); final int total = (int) hits.get("total"); if (total == 0) { return Status.NOT_FOUND; } @SuppressWarnings("unchecked") final Map<String, Object> hit = (Map<String, Object>) ((List<Object>) hits.get("hits")).get(0); @SuppressWarnings("unchecked") final Map<String, Object> source = (Map<String, Object>) hit.get("_source"); for (final Map.Entry<String, String> entry : StringByteIterator.getStringMap(values).entrySet()) { source.put(entry.getKey(), entry.getValue()); } final Map<String, String> params = emptyMap(); final Response response = restClient.performRequest( "PUT", "/" + indexKey + "/" + table + "/" + hit.get("_id"), params, new NStringEntity(new ObjectMapper().writeValueAsString(source), ContentType.APPLICATION_JSON)); if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) { return Status.ERROR; } if (!isRefreshNeeded) { synchronized (this) { isRefreshNeeded = true; } } return Status.OK; } catch (final Exception e) { e.printStackTrace(); return Status.ERROR; } }
Source:
<code>public DeCoupleMbusDeviceResponseDto execute(final DlmsConnectionHolder conn, final DlmsDevice device, final DeCoupleMbusDeviceDto decoupleMbusDto) throws ProtocolAdapterException { LOGGER.debug("DeCouple mbus device from gateway device"); final DeCoupleMbusDeviceResponseDto response = this.writeUpdatedMbus(conn, decoupleMbusDto); final CosemObjectAccessor mBusSetup = new CosemObjectAccessor(conn, this.getObisCode(decoupleMbusDto), CLASS_ID); final DataObject parameter = DataObject.newUInteger8Data((byte) 0); <START> mBusSetup.callMethod(Method.SLAVE_DE_INSTALL, parameter); <END> return response; }</code><technical_language>Please catch MethodResultCode check MethodResultCode.SUCCESS. Log resultCode != MethodResultCode.SUCCESS a nonsuccessful MethodResultCode lead a failed operation</technical_language>

Target:
public DeCoupleMbusDeviceResponseDto execute(final DlmsConnectionHolder conn, final DlmsDevice device, final DeCoupleMbusDeviceDto decoupleMbusDto) throws ProtocolAdapterException { LOGGER.debug("DeCouple mbus device from gateway device"); final DeCoupleMbusDeviceResponseDto response = this.writeUpdatedMbus(conn, decoupleMbusDto); final CosemObjectAccessor mBusSetup = new CosemObjectAccessor(conn, this.getObisCode(decoupleMbusDto), CLASS_ID); final DataObject parameter = DataObject.newUInteger8Data((byte) 0); final MethodResultCode slaveDeinstall = mBusSetup.callMethod(Method.SLAVE_DEINSTALL, parameter); if (slaveDeinstall != MethodResultCode.SUCCESS) { LOGGER.warn("Slave deinstall was not successfull on device for mbus device {}", device.getDeviceIdentification(), decoupleMbusDto.getmBusDeviceIdentification()); } return response; }
Source:
<code>public boolean isActive(boolean performTimeoutCheck) { if (active && performTimeoutCheck) { if (lastReceivedFrame == null) { return false; } else { <START> long silentIntervalMs <END> = System.currentTimeMillis() - lastReceivedFrame.getReceivedMs(); return silentIntervalMs <= MediaStreamTrackDesc.SUSPENSION_THRESHOLD_MS; } } else { return active; } }</code><technical_language>'silent' is referring video packets received? a bit confusing 'audio silence'. timeSinceLastReceivedFrameMs maybe</technical_language>

Target:
public boolean isActive(boolean performTimeoutCheck) { if (active && performTimeoutCheck) { if (lastReceivedFrame == null) { return false; } else { long timeSinceLastReceivedFrameMs = System.currentTimeMillis() - lastReceivedFrame.getReceivedMs(); return timeSinceLastReceivedFrameMs <= MediaStreamTrackDesc.SUSPENSION_THRESHOLD_MS; } } else { return active; } }
Source:
<code>void clearWALEntryBatch() { <START> long timeout = System.currentTimeMillis() + this.shipEditsTimeout; <END> while(this.isAlive() || this.entryReader.isAlive()){ try { if (System.currentTimeMillis() >= timeout) { LOG.warn("Interrupting source thread for peer without cleaning buffer usage " + "because clearWALEntryBatch method timed out whilst waiting reader/shipper " + "thread to stop.", this.source.getPeerId()); Thread.currentThread().interrupt(); } else { Thread.sleep(this.sleepForRetries); } } catch (InterruptedException e) { LOG.warn("{} Interrupted while waiting to stop on clearWALEntryBatch: {}", this.source.getPeerId(), this.getName(), e); Thread.currentThread().interrupt(); } } LongAccumulator totalToDecrement = new LongAccumulator((a,b) -> a + b, 0); entryReader.entryBatchQueue.forEach(w -> { entryReader.entryBatchQueue.remove(w); w.getWalEntries().forEach(e -> { long entrySizeExcludeBulkLoad = entryReader.getEntrySizeExcludeBulkLoad(e); totalToDecrement.accumulate(entrySizeExcludeBulkLoad); }); }); LOG.trace("Decrementing totalBufferUsed by {}B while stopping Replication WAL Readers.", totalToDecrement.longValue()); source.getSourceManager().getTotalBufferUsed().addAndGet(-totalToDecrement.longValue()); }</code><technical_language>this environment get time I think? is accessible here</technical_language>

Target:
void clearWALEntryBatch() { long timeout = EnvironmentEdgeManager.currentTime() + this.shipEditsTimeout; while(this.isAlive() || this.entryReader.isAlive()){ try { if (System.currentTimeMillis() >= timeout) { LOG.warn("Interrupting source thread for peer without cleaning buffer usage " + "because clearWALEntryBatch method timed out whilst waiting reader/shipper " + "thread to stop.", this.source.getPeerId()); Thread.currentThread().interrupt(); } else { Thread.sleep(this.sleepForRetries); } } catch (InterruptedException e) { LOG.warn("{} Interrupted while waiting to stop on clearWALEntryBatch: {}", this.source.getPeerId(), this.getName(), e); Thread.currentThread().interrupt(); } } LongAccumulator totalToDecrement = new LongAccumulator((a,b) -> a + b, 0); entryReader.entryBatchQueue.forEach(w -> { entryReader.entryBatchQueue.remove(w); w.getWalEntries().forEach(e -> { long entrySizeExcludeBulkLoad = entryReader.getEntrySizeExcludeBulkLoad(e); totalToDecrement.accumulate(entrySizeExcludeBulkLoad); }); }); LOG.trace("Decrementing totalBufferUsed by {}B while stopping Replication WAL Readers.", totalToDecrement.longValue()); source.getSourceManager().getTotalBufferUsed().addAndGet(-totalToDecrement.longValue()); }
Source:
<code>public FfmpegDecoderException decode(DecoderInputBuffer inputBuffer, SimpleOutputBuffer outputBuffer, boolean reset) { if (reset) { nativeContext = ffmpegReset(nativeContext, extraData); if (nativeContext == 0) { return new FfmpegDecoderException("Error resetting (see logcat)."); } } ByteBuffer inputData = inputBuffer.data; int inputSize = inputData.limit(); ByteBuffer outputData = outputBuffer.init(inputBuffer.timeUs, OUTPUT_BUFFER_SIZE); int result = ffmpegDecode(nativeContext, inputData, inputSize, outputData, OUTPUT_BUFFER_SIZE); if (result < 0) { return new FfmpegDecoderException("Error decoding (see logcat). Code: " + result); } if (!hasOutputFormat) { channelCount = ffmpegGetChannelCount(nativeContext); <START> if ("alac".equals(codecName)) { <END> sampleRate = ByteBuffer.wrap(extraData, extraData.length - 4, 4).getInt(); } else { sampleRate = ffmpegGetSampleRate(nativeContext); } hasOutputFormat = true; } outputBuffer.data.position(0); outputBuffer.data.limit(result); return null; }</code><technical_language>alac need a special case for this :(? this change fine; thanks</technical_language>

Target:
public FfmpegDecoderException decode(DecoderInputBuffer inputBuffer, SimpleOutputBuffer outputBuffer, boolean reset) { if (reset) { nativeContext = ffmpegReset(nativeContext, extraData); if (nativeContext == 0) { return new FfmpegDecoderException("Error resetting (see logcat)."); } } ByteBuffer inputData = inputBuffer.data; int inputSize = inputData.limit(); ByteBuffer outputData = outputBuffer.init(inputBuffer.timeUs, OUTPUT_BUFFER_SIZE); int result = ffmpegDecode(nativeContext, inputData, inputSize, outputData, OUTPUT_BUFFER_SIZE); if (result < 0) { return new FfmpegDecoderException("Error decoding (see logcat). Code: " + result); } if (!hasOutputFormat) { channelCount = ffmpegGetChannelCount(nativeContext); sampleRate = ffmpegGetSampleRate(nativeContext); if (sampleRate == 0 && "alac".equals(codecName)) { ParsableByteArray parsableExtraData = new ParsableByteArray(extraData); parsableExtraData.setPosition(extraData.length - 4); sampleRate = parsableExtraData.readUnsignedIntToInt(); } hasOutputFormat = true; } outputBuffer.data.position(0); outputBuffer.data.limit(result); return null; }
Source:
<code>public IncludedInDetail call() throws OrmException, NoSuchChangeException, IOException, InvalidRevisionException { control = changeControlFactory.validateFor(changeId); final PatchSet patch = db.patchSets().get(control.getChange().currentPatchSetId()); final Repository repo = repoManager.openRepository(control.getProject().getNameKey()); try { final RevWalk rw = new RevWalk(repo); try { rw.setRetainBody(false); final RevCommit rev; try { rev = rw.parseCommit(ObjectId.fromString(patch.getRevision().get())); } catch (IncorrectObjectTypeException err) { throw new InvalidRevisionException(); } catch (MissingObjectException err) { throw new InvalidRevisionException(); } Set<Ref> tags = new HashSet<Ref>(repo.getRefDatabase().getRefs(Constants.R_TAGS) .values()); Set<Ref> branches = new HashSet<Ref>(repo.getRefDatabase().getRefs(Constants.R_HEADS) .values()); <START> Set<Ref> allRefs = new HashSet<Ref>(); <END> allRefs.addAll(tags); allRefs.addAll(branches); Set<Ref> allMatchingRefs = includedIn(repo, rw, rev, allRefs); detail = new IncludedInDetail(); detail.setBranches(getMatchingRefNames(allMatchingRefs, branches)); detail.setTags(getMatchingRefNames(allMatchingRefs, tags)); return detail; } finally { rw.release(); } } finally { repo.close(); } }</code><technical_language>allRefs name choice here. This is refs/heads/* refs/tags/*, excludes refs/changes/* potentially other ref namespaces a project is using. tagsAndHeads work, a number of other options</technical_language>

Target:
public IncludedInDetail call() throws OrmException, NoSuchChangeException, IOException, InvalidRevisionException { control = changeControlFactory.validateFor(changeId); final PatchSet patch = db.patchSets().get(control.getChange().currentPatchSetId()); final Repository repo = repoManager.openRepository(control.getProject().getNameKey()); try { final RevWalk rw = new RevWalk(repo); try { rw.setRetainBody(false); final RevCommit rev; try { rev = rw.parseCommit(ObjectId.fromString(patch.getRevision().get())); } catch (IncorrectObjectTypeException err) { throw new InvalidRevisionException(); } catch (MissingObjectException err) { throw new InvalidRevisionException(); } Set<Ref> tags = new HashSet<Ref>(repo.getRefDatabase().getRefs(Constants.R_TAGS) .values()); Set<Ref> branches = new HashSet<Ref>(repo.getRefDatabase().getRefs(Constants.R_HEADS) .values()); Set<Ref> allTagsAndBranches = new HashSet<Ref>(); allTagsAndBranches.addAll(tags); allTagsAndBranches.addAll(branches); Set<Ref> allMatchingTagsAndBranches = includedIn(repo, rw, rev, allTagsAndBranches); detail = new IncludedInDetail(); detail.setBranches(getMatchingRefNames(allMatchingTagsAndBranches, branches)); detail.setTags(getMatchingRefNames(allMatchingTagsAndBranches, tags)); return detail; } finally { rw.release(); } } finally { repo.close(); } }
Source:
<code>public int hashCode() { <START> if (carriesUnmergeableSack()) { <END> return System.identityHashCode(this); } return super.hashCode() ^ this.path.hashCode(); }</code><technical_language>inline returns carriesUnmergableSack() ? ... : ... please</technical_language>

Target:
public int hashCode() { return carriesUnmergeableSack() ? System.identityHashCode(this) : (super.hashCode() ^ this.path.hashCode()); }
Source:
<code>public void applyState(final ShapeState shapeState) { if (!this.state.equals(shapeState)) { this.state = shapeState; if (ShapeState.SELECTED.equals(shapeState)) { runState(ShapeState.SELECTED); } else if (ShapeState.HIGHLIGHT.equals(shapeState)) { runState(ShapeState.HIGHLIGHT); } else if (ShapeState.INVALID.equals(shapeState)) { runState(ShapeState.INVALID); } else { runStrokeStateHandler(strokeState); } <START> } <END> }</code><technical_language>In opinion this bit more clear: java switch(shapeState) { case SELECTED: case HIGHLIGHT: case INVALID: runState(shapeState); break; default: runStrokeStateHandler(strokeState); break; }</technical_language>

Target:
public void applyState(final ShapeState shapeState) { if (!this.state.equals(shapeState)) { this.state = shapeState; switch (shapeState) { case SELECTED: case HIGHLIGHT: case INVALID: runState(shapeState); break; default: runStrokeStateHandler(strokeState); break; } } }
Source:
<code>private void generateCallFile(Config config, Map<String, String> params, Map<String, String> completeParams, String motechCallId) throws URISyntaxException, IOException { String myUri = mergeUriAndRemoveParams(config.getOutgoingCallUriTemplate(), completeParams); Path path = Paths.get(new URI(myUri)); Path tempDirectory = Files.createTempDirectory(path.getParent(), "motech"); Path tempPath = Files.createTempFile(tempDirectory, "motech", ".tmp"); BufferedWriter bufferedWriter = Files.newBufferedWriter(tempPath); for (Map.Entry<String, String> entry : completeParams.entrySet()) { bufferedWriter.write(String.format("%s: %s", entry.getKey(), entry.getValue())); bufferedWriter.newLine(); } <START> bufferedWriter.close(); <END> Files.move(tempPath, path, StandardCopyOption.ATOMIC_MOVE); tempDirectory.toFile().delete(); addCallDetailRecord(CallDetailRecord.CALL_INITIATED, config, params, motechCallId); }</code><technical_language>writer in a try-with-resource, closing resources done in a finally block</technical_language>

Target:
private void generateCallFile(Config config, Map<String, String> params, Map<String, String> completeParams, String motechCallId) { String myUri = mergeUriAndRemoveParams(config.getOutgoingCallUriTemplate(), completeParams); try { Path path = Paths.get(new URI(myUri)); Path tempDirectory = Files.createTempDirectory(path.getParent(), "motech-ivr"); Path tempPath = Files.createTempFile(tempDirectory, "callfile", ".txt"); try (BufferedWriter bufferedWriter = Files.newBufferedWriter(tempPath)) { for (Map.Entry<String, String> entry : completeParams.entrySet()) { bufferedWriter.write(String.format("%s: %s", entry.getKey(), entry.getValue())); bufferedWriter.newLine(); } } Files.move(tempPath, path, StandardCopyOption.ATOMIC_MOVE); tempDirectory.toFile().delete(); } catch (URISyntaxException | IOException e) { String message = String.format("Could not initiate call, unexpected exception: %s", e.toString()); statusMessageService.warn(message, MODULE_NAME); params.put("ErrorMessage", message); addCallDetailRecord(CallDetailRecord.CALL_FAILED, config, params, motechCallId); throw new CallInitiationException(message, e); } addCallDetailRecord(CallDetailRecord.CALL_INITIATED, config, params, motechCallId); }
Source:
<code>void annotate(final GithubUrl url, final MarkupText text, final Entry change) { final String base = url.baseUrl(); for (LinkMarkup markup : MARKUPS) { markup.process(text, base); } if (change instanceof GitChangeSet) { GitChangeSet cs = (GitChangeSet) change; final String id = cs.getId(); text.wrapBy("", " (<a href='" + url.commitId(id) <START> + "'>commit: " + id.substring(0, Math.min(id.length(), 7)) + "</a>)"); <END> } }</code><technical_language>@lanwen string format</technical_language>

Target:
void annotate(final GithubUrl url, final MarkupText text, final Entry change) { final String base = url.baseUrl(); for (LinkMarkup markup : MARKUPS) { markup.process(text, base); } if (change instanceof GitChangeSet) { GitChangeSet cs = (GitChangeSet) change; final String id = cs.getId(); text.wrapBy("", format(" (<a href='%s'>commit: %s</a>)", url.commitId(id), id.substring(0, Math.min(id.length(), 7)))); } }
Source:
<code>private void updateDevice() { if <START> ((getParameters().getAction() <END> == PlugAction.PLUG) && hotPlugVmNicRequired(getVm().getStatus())) { VmDevicesMonitoring.Change change = vmDevicesMonitoring.createChange(getVdsId(), System.nanoTime()); change.updateVm(getVmId(), VmDevicesMonitoring.UPDATE_HASH); change.flush(); } else { vmDevice.setPlugged(getParameters().getAction() == PlugAction.PLUG); vmDeviceDao.update(vmDevice); } }</code><technical_language>nit: Extra parenthesis</technical_language>

Target:
private void updateDevice() { if (getParameters().getAction() == PlugAction.PLUG && hotPlugVmNicRequired(getVm().getStatus())) { VmDevicesMonitoring.Change change = vmDevicesMonitoring.createChange(getVdsId(), System.nanoTime()); change.updateVm(getVmId(), VmDevicesMonitoring.UPDATE_HASH); change.flush(); } else { vmDevice.setPlugged(getParameters().getAction() == PlugAction.PLUG); vmDeviceDao.update(vmDevice); } }
Source:
<code>private Mono<Payload> handleRequestResponse(final Payload payload) { Throwable err = checkAvailable(); if (err != null) { payload.release(); return Mono.error(err); } if (!PayloadValidationUtils.isValid(this.mtu, payload)) { payload.release(); return Mono.error(new IllegalArgumentException(INVALID_PAYLOAD_ERROR_MESSAGE)); } final UnboundedProcessor<ByteBuf> sendProcessor = this.sendProcessor; final UnicastProcessor<Payload> receiver = UnicastProcessor.create(Queues.<Payload>one().get()); final AtomicBoolean once = new AtomicBoolean(); return Mono.defer( () -> { if (once.getAndSet(true)) { return Mono.error( new IllegalStateException("RequestResponseMono allows only a single subscriber")); } return receiver .next() .transform( Operators.<Payload, Payload>lift( (s, actual) -> new RequestOperator(actual) { <START> int streamId; <END> @Override void hookOnFirstRequest(long n) { int streamId = streamIdSupplier.nextStreamId(receivers); this.streamId = streamId; ByteBuf requestResponseFrame = RequestResponseFrameFlyweight.encodeReleasingPayload( allocator, streamId, payload); receivers.put(streamId, receiver); sendProcessor.onNext(requestResponseFrame); } @Override void hookOnCancel() { if (receivers.remove(streamId, receiver)) { sendProcessor.onNext( CancelFrameFlyweight.encode(allocator, streamId)); } else { payload.release(); } } @Override public void hookOnTerminal(SignalType signalType) { receivers.remove(streamId, receiver); } })) .doOnDiscard(ReferenceCounted.class, DROPPED_ELEMENTS_CONSUMER); }); }</code><technical_language>a good idea move this base class. purpose is for handling requests fits there</technical_language>

Target:
private Mono<Payload> handleRequestResponse(final Payload payload) { Throwable err = checkAvailable(); if (err != null) { payload.release(); return Mono.error(err); } if (!PayloadValidationUtils.isValid(this.mtu, payload)) { payload.release(); return Mono.error(new IllegalArgumentException(INVALID_PAYLOAD_ERROR_MESSAGE)); } final UnboundedProcessor<ByteBuf> sendProcessor = this.sendProcessor; final UnicastProcessor<Payload> receiver = UnicastProcessor.create(Queues.<Payload>one().get()); final AtomicBoolean once = new AtomicBoolean(); return Mono.defer( () -> { if (once.getAndSet(true)) { return Mono.error( new IllegalStateException("RequestResponseMono allows only a single subscriber")); } return receiver .next() .transform( Operators.<Payload, Payload>lift( (s, actual) -> new RequestOperator(actual) { @Override void hookOnFirstRequest(long n) { int streamId = streamIdSupplier.nextStreamId(receivers); this.streamId = streamId; ByteBuf requestResponseFrame = RequestResponseFrameFlyweight.encodeReleasingPayload( allocator, streamId, payload); receivers.put(streamId, receiver); sendProcessor.onNext(requestResponseFrame); } @Override void hookOnCancel() { if (receivers.remove(streamId, receiver)) { sendProcessor.onNext( CancelFrameFlyweight.encode(allocator, streamId)); } else { payload.release(); } } @Override public void hookOnTerminal(SignalType signalType) { receivers.remove(streamId, receiver); } })) .doOnDiscard(ReferenceCounted.class, DROPPED_ELEMENTS_CONSUMER); }); }
Source:
<code>public String decapitalize(String word) { if ((word == null) || (word.length() < 1)) { return word; } char first = word.charAt(0); if (Character.isLowerCase(first)) { return word; } <START> return String.valueOf(Character.toLowerCase(first)) + word.substring(1); <END> }</code><technical_language>I agree other changes, in this case. Is this more optimal previous version</technical_language>

Target:
public String decapitalize(String word) { if ((word == null) || (word.length() < 1)) { return word; } char first = word.charAt(0); if (Character.isLowerCase(first)) { return word; } StringBuilder sb = new StringBuilder(word.length()); sb.append(Character.toLowerCase(first)); sb.append(word.substring(1)); return sb.toString(); }
Source:
<code><START> public String displayCollectedMetaTags() { <END> return metaTag.displayCollectedMetaTags(); }</code><technical_language>NotNull/Nullable missing</technical_language>

Target:
public @NotNull String displayCollectedMetaTags() { return metaTag.displayCollectedMetaTags(); }
Source:
<code>protected String obfuscateId(TimeoutException ex) { String error = ex.getMessage(); if (ex.getMessage().contains(ResourceMonitor.ERROR_MSG)) { String[] msg = ex.getMessage().split("\\]"); String[] splittedForId = msg[0].split(":"); String[] splittedForResourceType = splittedForId[0].split("\\["); String resourceId = splittedForId[1]; String resourceType = splittedForResourceType[1]; Object obfuscatedId = null; if (Instance.class.getSimpleName().equalsIgnoreCase(resourceType)) { Instance instance = objectManager.loadResource(Instance.class, resourceId); if (instance != null && instance.getName() != null) { obfuscatedId = instance.getName(); } } if (obfuscatedId == null) { <START> idFormatter.formatId(resourceType, resourceId); <END> } Object predicateResource = objectManager.loadResource(resourceType, resourceId); error = "Waiting for [" + resourceType + ":" + obfuscatedId + "]"; if (predicateResource != null) { String transitioningMsg = DataAccessor.fieldString(predicateResource, "transitioningMessage"); StringBuffer sb = new StringBuffer(resourceType); sb.replace(0, 1, resourceType.substring(0, 1).toUpperCase()); if (!StringUtils.isEmpty(sb)) { error = error + ". " + sb + " status: " + transitioningMsg; } } } return error; }</code><technical_language>making assignment here</technical_language>

Target:
protected String obfuscateId(TimeoutException ex) { String error = ex.getMessage(); if (ex.getMessage().contains(ResourceMonitor.ERROR_MSG)) { String[] msg = ex.getMessage().split("\\]"); String[] splittedForId = msg[0].split(":"); String[] splittedForResourceType = splittedForId[0].split("\\["); String resourceId = splittedForId[1]; String resourceType = splittedForResourceType[1]; Object obfuscatedId = null; if (Instance.class.getSimpleName().equalsIgnoreCase(resourceType)) { Instance instance = objectManager.loadResource(Instance.class, resourceId); if (instance != null && instance.getName() != null) { obfuscatedId = instance.getName(); } } if (obfuscatedId == null) { obfuscatedId = idFormatter.formatId(resourceType, resourceId); } Object predicateResource = objectManager.loadResource(resourceType, resourceId); error = "Waiting for [" + resourceType + ":" + obfuscatedId + "]"; if (predicateResource != null) { String transitioningMsg = DataAccessor.fieldString(predicateResource, "transitioningMessage"); StringBuffer sb = new StringBuffer(resourceType); sb.replace(0, 1, resourceType.substring(0, 1).toUpperCase()); if (!StringUtils.isEmpty(sb)) { error = error + ". " + sb + " status: " + transitioningMsg; } } } return error; }
Source:
<code>private static String removeConditionsClause(String importQuerySring) { <START> if (importQuerySring.toUpperCase().contains("WHERE $CONDITIONS AND")) { <END> importQuerySring = importQuerySring.toUpperCase().replace(" $CONDITIONS AND", ""); } else if (importQuerySring.toUpperCase().contains("WHERE $CONDITIONS")) { importQuerySring = importQuerySring.toUpperCase().replace(" WHERE $CONDITIONS", ""); } else if (importQuerySring.toUpperCase().contains("AND $CONDITIONS")) { importQuerySring = importQuerySring.toUpperCase().replace(" AND $CONDITIONS", ""); } return importQuerySring; }</code><technical_language>if spaces $CONDITIONS AND. please this robust</technical_language>

Target:
private static String removeConditionsClause(String importQuerySring) { importQuerySring = importQuerySring.replaceAll("\\s{2,}", " ").toUpperCase(); if (importQuerySring.contains("WHERE $CONDITIONS AND")) { importQuerySring = importQuerySring.replace("$CONDITIONS AND", ""); } else if (importQuerySring.contains("WHERE $CONDITIONS")) { importQuerySring = importQuerySring.replace("WHERE $CONDITIONS", ""); } else if (importQuerySring.contains("AND $CONDITIONS")) { importQuerySring = importQuerySring.replace("AND $CONDITIONS", ""); } return importQuerySring; }
Source:
<code>private Map<String, List> getRelationshipFieldMap(final Contentlet con, final Entry<String, List> records) { Optional<com.dotcms.contenttype.model.field.Field> field = null; try { field = APILocator.getContentTypeFieldAPI() .byContentTypeAndFieldRelationType(con.getContentTypeId(), records.getKey()); } catch (DotDataException e) { Logger.warn(this, "Error getting field for relation type " + records.getKey(), e); } <START> if (field.isPresent()) { <END> Map<String, List> results = new HashMap<>(); results.put(new StringBuilder(con.getContentType().variable()).append(".") .append(field.get().variable()).toString(), records.getValue()); return results; } return Collections.emptyMap(); }</code><technical_language>replace this by: return field.isPresent()? CollectionUtils.map(new StringBuilder(con.getContentType().variable()).append(".").append(field.get().variable()).toString(), records.getValue()) Collections.emptyMap();</technical_language>

Target:
private Map<String, List> getRelationshipFieldMap(final Contentlet con, final Entry<String, List> records) { Optional<com.dotcms.contenttype.model.field.Field> field = null; try { field = APILocator.getContentTypeFieldAPI() .byContentTypeAndFieldRelationType(con.getContentTypeId(), records.getKey()); } catch (DotDataException e) { Logger.warn(this, "Error getting field for relation type " + records.getKey(), e); } return field.isPresent()? CollectionsUtils.map(new StringBuilder(con.getContentType().variable()).append(".") .append(field.get().variable()).toString(), records.getValue()):Collections.emptyMap(); }
Source:
<code>public void delete() { setCode(null); setAccessToken(null); setCreationDate(null); setDeviceId(null); setApplicationUserAuthorization(null); setRefreshToken(null); if (getUserPKCEInfoAuthorizationSession() != null) { getUserPKCEInfoAuthorizationSession().delete(); } <START> setUserPKCEInfoAuthorizationSession(null); <END> deleteDomainObject(); }</code><technical_language>This line is redundant</technical_language>

Target:
public void delete() { setCode(null); setAccessToken(null); setCreationDate(null); setDeviceId(null); setApplicationUserAuthorization(null); setRefreshToken(null); if (getUserPKCEInfoAuthorizationSession() != null) { getUserPKCEInfoAuthorizationSession().delete(); } deleteDomainObject(); }
Source:
<code>private Vector<Entry> getStillValidEntriesFromMenu(Menu menu, OrderedHashtable<String, String> currentSessionData) { Hashtable<String, Entry> globalEntryMap = platform.getCommandToEntryMap(); Vector<Entry> stillValid = new Vector<>(); for (String cmd : menu.getCommandIds()) { Entry e = globalEntryMap.get(cmd); if (e == null) { throw new RuntimeException("No entry found for menu command [" + cmd + "]"); } <START> if (entryRequiresAllDataInSession(e, currentSessionData)) { <END> stillValid.addElement(e); } } return stillValid; }</code><technical_language>more I this, sense me. Specifically in end of end-of-form navigation register case list (entity list <action>'s) add session frame m_0 case_id_one case_id_two session, menu declarations jumping to, entry: m_0 e_1 - case_id_one - case_id_two m_0 e_2 - case_id_two - case_id_one e_1 e_2 meet this check. If visited m_0 form directly, expect need choose e_1 e_2 first, order of selecting id's is (and filters), chosen id's, semantically forms accept two</technical_language>

Target:
private Vector<Entry> getStillValidEntriesFromMenu(Menu menu, OrderedHashtable<String, String> currentSessionData) { Hashtable<String, Entry> globalEntryMap = platform.getCommandToEntryMap(); Vector<Entry> stillValid = new Vector<>(); for (String cmd : menu.getCommandIds()) { Entry e = globalEntryMap.get(cmd); if (e == null) { throw new RuntimeException("No entry found for menu command [" + cmd + "]"); } stillValid.addElement(e); } return stillValid; }
Source:
<code>public void testStart() { api().start(getName()); String status = ""; int stopCounter = 0; while (!status.equals("VM running")) { List<VirtualMachineInstance.VirtualMachineStatus> statuses = api().getInstanceDetails(getName()).statuses(); for (int c = 0; c < statuses.size(); c++) { if (statuses.get(c).code().substring(0, 10).equals("PowerState")) { status = statuses.get(c).displayStatus(); } try { Thread.sleep(5 * 1000); } catch (InterruptedException e) { e.printStackTrace(); } stopCounter++; if (stopCounter == 40) break; } <START> } <END> assertEquals(status, "VM running"); }</code><technical_language>reusable predicates</technical_language>

Target:
public void testStart() { api().start(getName()); boolean jobDone = Predicates2.retry(new Predicate<String>() { @Override public boolean apply(String name) { String status = ""; List<VirtualMachineInstance.VirtualMachineStatus> statuses = api().getInstanceDetails(name).statuses(); for (int c = 0; c < statuses.size(); c++) { if (statuses.get(c).code().substring(0, 10).equals("PowerState")) { status = statuses.get(c).displayStatus(); break; } } return status.equals("VM running"); } }, 60 * 4 * 1000).apply(getName()); assertTrue(jobDone, "start operation did not complete in the configured timeout"); }
Source:
<code><START> private String formatInstantAsDateInAdminTimeZone(Instant instant) { <END> return FORMATTER_ADMIN_TIME.format( TimeHelper.convertInstantToLocalDateTime(instant, Const.SystemParams.ADMIN_TIME_ZONE)); }</code><technical_language>This static</technical_language>

Target:
private static String formatInstantAsDateInAdminTimeZone(Instant instant) { return DATE_FORMATTER.format( TimeHelper.convertInstantToLocalDateTime(instant, Const.SystemParams.ADMIN_TIME_ZONE)); }
Source:
<code><START> public BulkImportOptions setAccumuloConnector(Connector conn) { <END> this.conn = conn; return this; }</code><technical_language>null check nice</technical_language>

Target:
public BulkImportOptions setAccumuloConnector(Connector conn) { Objects.requireNonNull(conn); this.conn = conn; return this; }
Source:
<code>VagrantExistingMachines(@Named(VagrantConstants.JCLOUDS_VAGRANT_HOME) String home, MachineConfig.Factory machineConfigFactory, Supplier<Collection<Image>> imageLister, Supplier<? extends Map<String, Hardware>> hardwareSupplier) { this.home = new File(checkNotNull(home, "home")); this.machineConfigFactory = checkNotNull(machineConfigFactory, "machineConfigFactory"); this.imageLister = checkNotNull(imageLister, "imageLister"); <START> this.hardwareSupplier = checkNotNull(hardwareSupplier, "hardwareSupplier"); <END> }</code><technical_language>Remove redundant null checks</technical_language>

Target:
VagrantExistingMachines(@Named(VagrantConstants.JCLOUDS_VAGRANT_HOME) String home, MachineConfig.Factory machineConfigFactory, Supplier<Collection<Image>> imageLister, Supplier<? extends Map<String, Hardware>> hardwareSupplier) { this.home = new File(home); this.machineConfigFactory = machineConfigFactory; this.imageLister = imageLister; this.hardwareSupplier = hardwareSupplier; }
Source:
<code>protected void initializeInternal() throws Exception { final YarnContainerEventHandler yarnContainerEventHandler = new YarnContainerEventHandler(); try { resourceManagerClient = yarnResourceManagerClientFactory.createResourceManagerClient( yarnHeartbeatIntervalMillis, yarnContainerEventHandler); resourceManagerClient.init(yarnConfig); resourceManagerClient.start(); final RegisterApplicationMasterResponse registerApplicationMasterResponse = registerApplicationMaster(); int maxPriority = getContainersFromPreviousAttempts(registerApplicationMasterResponse); taskExecutorProcessSpecContainerResourcePriorityAdapter = new TaskExecutorProcessSpecContainerResourcePriorityAdapter( <START> maxPriority + 1, <END> registerApplicationMasterResponse.getMaximumResourceCapability(), ExternalResourceUtils.getExternalResources(flinkConfig, YarnConfigOptions.EXTERNAL_RESOURCE_YARN_CONFIG_KEY_SUFFIX)); } catch (Exception e) { throw new ResourceManagerException("Could not start resource manager client.", e); } nodeManagerClient = yarnNodeManagerClientFactory.createNodeManagerClient(yarnContainerEventHandler); nodeManagerClient.init(yarnConfig); nodeManagerClient.start(); }</code><technical_language>this a problem continue increasing priority value? Potentially, this grow arbitrarily large</technical_language>

Target:
protected void initializeInternal() throws Exception { final YarnContainerEventHandler yarnContainerEventHandler = new YarnContainerEventHandler(); try { resourceManagerClient = yarnResourceManagerClientFactory.createResourceManagerClient( yarnHeartbeatIntervalMillis, yarnContainerEventHandler); resourceManagerClient.init(yarnConfig); resourceManagerClient.start(); final RegisterApplicationMasterResponse registerApplicationMasterResponse = registerApplicationMaster(); getContainersFromPreviousAttempts(registerApplicationMasterResponse); taskExecutorProcessSpecContainerResourcePriorityAdapter = new TaskExecutorProcessSpecContainerResourcePriorityAdapter( registerApplicationMasterResponse.getMaximumResourceCapability(), ExternalResourceUtils.getExternalResources(flinkConfig, YarnConfigOptions.EXTERNAL_RESOURCE_YARN_CONFIG_KEY_SUFFIX)); } catch (Exception e) { throw new ResourceManagerException("Could not start resource manager client.", e); } nodeManagerClient = yarnNodeManagerClientFactory.createNodeManagerClient(yarnContainerEventHandler); nodeManagerClient.init(yarnConfig); nodeManagerClient.start(); }
Source:
<code>public LibraryTemplateDto updateLibraryTemplate(@PathVariable("id") Long id, @RequestBody LibraryTemplateDto libraryTemplateDto) throws IOException { if (libraryTemplateDto == null) { <START> log.error( <END> "Received null LibraryTemplateDto from front end; cannot convert to LibraryTemplate. Something likely went wrong in the JS DTO conversion."); throw new RestException("Cannot convert null to LibraryTemplate", Status.BAD_REQUEST); } LibraryTemplate libraryTemplate = libraryTemplateService.get(id); if (libraryTemplate == null) { throw new RestException("No such library.", Status.NOT_FOUND); } libraryTemplate = Dtos.to(libraryTemplateDto); libraryTemplateService.update(libraryTemplate); return Dtos.asDto(libraryTemplateService.get(id)); }</code><technical_language>RestExceptions get logged</technical_language>

Target:
public LibraryTemplateDto updateLibraryTemplate(@PathVariable("id") Long id, @RequestBody LibraryTemplateDto libraryTemplateDto) throws IOException { if (libraryTemplateDto == null) { throw new RestException("Cannot convert null to LibraryTemplate", Status.BAD_REQUEST); } LibraryTemplate libraryTemplate = libraryTemplateService.get(id); if (libraryTemplate == null) { throw new RestException("No such LibraryTemplate.", Status.NOT_FOUND); } libraryTemplate = Dtos.to(libraryTemplateDto); libraryTemplateService.update(libraryTemplate); return Dtos.asDto(libraryTemplateService.get(id)); }
Source:
<code>public void testString() { Value v1 = new Value("abc"); <START> Value v2 = new Value("abc"); <END> assertEquals(v2, v1); }</code><technical_language>This changed, explicitly testing CharSequence byte[] equivalence. suggestion v2 = new Value("abc".getBytes(UTF_8));</technical_language>

Target:
public void testString() { Value v1 = new Value("abc"); Value v2 = new Value("abc".getBytes(UTF_8)); assertEquals(v2, v1); }
Source:
<code>public gov.hhs.fha.nhinc.common.connectionmanagerinfo.UDDIUpdateManagerForceRefreshResponseType forceRefreshFileFromUDDIServer( <START> gov.hhs.fha.nhinc.common.connectionmanagerinfo.UDDIUpdateManagerForceRefreshRequestType uddiUpdateManagerForceRefreshRequest) { <END> LOG.info("forceRefreshFileFromUDDIServer"); UDDIUpdateManagerHelper helper = new UDDIUpdateManagerHelper(); return helper.forceRefreshFileFromUDDIServer(uddiUpdateManagerForceRefreshRequest); }</code><technical_language>I this method</technical_language>

Target:
public gov.hhs.fha.nhinc.common.connectionmanagerinfo.UDDIUpdateManagerForceRefreshResponseType forceRefreshFileFromUDDIServer( gov.hhs.fha.nhinc.common.connectionmanagerinfo.UDDIUpdateManagerForceRefreshRequestType uddiUpdateManagerForceRefreshRequest) { LOG.trace("forceRefreshFileFromUDDIServer"); UDDIUpdateManagerHelper helper = new UDDIUpdateManagerHelper(); return helper.forceRefreshFileFromUDDIServer(uddiUpdateManagerForceRefreshRequest); }