auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
<code>public void cleanupCacheFiles(File baseFile, File cacheFile) throws IOException { <START> if (cacheFile.equals(baseFile)) { <END> return; } log.info("Deleting directory[%s]", cacheFile); FileUtils.deleteDirectory(cacheFile); if (cacheFile.getParentFile() != null && cacheFile.getParentFile().listFiles().length == 0) { cleanupCacheFiles(baseFile, cacheFile.getParentFile()); } }</code><technical_language>explain this please</technical_language>

Target:
public void cleanupCacheFiles(File baseFile, File cacheFile) throws IOException { if (cacheFile.equals(baseFile)) { return; } synchronized (lock) { log.info("Deleting directory[%s]", cacheFile); try { FileUtils.deleteDirectory(cacheFile); } catch (Exception e) { log.error("Unable to remove file[%s]", cacheFile); } } if (cacheFile.getParentFile() != null && cacheFile.getParentFile().listFiles().length == 0) { cleanupCacheFiles(baseFile, cacheFile.getParentFile()); } }
Source:
<code>public Response execute(Request request, Request.Options options) throws IOException { try { addRequestTags(request); Response response = this.delegate.execute(request, options); logCr(); return response; } finally { <START> closeSpan(); <END> } }</code><technical_language>IOException|RuntimeException add a binary annotation of "error" -> message, turn red in zipkin's UI</technical_language>

Target:
public Response execute(Request request, Request.Options options) throws IOException { try { addRequestTags(request); Response response = this.delegate.execute(request, options); logCr(); return response; } catch (RuntimeException | IOException e) { logError(e); throw e; } finally { closeSpan(); } }
Source:
<code>public Set<Obs> getRelatedObservations() { Set<Obs> ret = new HashSet<>(); if (this.isObsGrouping()) { ret.addAll(this.getGroupMembers()); Obs parentObs = this; while (parentObs.getObsGroup() != null) { for (Obs obsSibling : parentObs.getObsGroup().getGroupMembers()) { if (!obsSibling.isObsGrouping()) { ret.add(obsSibling); } } parentObs = parentObs.getObsGroup(); } } else if (this.getObsGroup() != null) { <START> this.getObsGroup().getGroupMembers().stream().filter((obsSibling) -> (!obsSibling.isObsGrouping())).forEachOrdered((obsSibling) -> { <END> ret.add(obsSibling); }); } return ret; }</code><technical_language>stream api build collection instead of manually adding elements one</technical_language>

Target:
public Set<Obs> getRelatedObservations() { Set<Obs> ret = new HashSet<>(); if (this.isObsGrouping()) { ret.addAll(this.getGroupMembers()); Obs parentObs = this; while (parentObs.getObsGroup() != null) { for (Obs obsSibling : parentObs.getObsGroup().getGroupMembers()) { if (!obsSibling.isObsGrouping()) { ret.add(obsSibling); } } parentObs = parentObs.getObsGroup(); } } else if (this.getObsGroup() != null) { this.getObsGroup().getGroupMembers().stream().forEach((obsSibling)-> { if (!obsSibling.isObsGrouping()) { ret.add(obsSibling); } }); } return ret; }
Source:
<code><START> private Image <END> getImage(ImageDescriptor descriptor) { return (descriptor == null) ? null : CUIPlugin.getImageDescriptorRegistry().get(descriptor); }</code><technical_language>static</technical_language>

Target:
private static Image getImage(ImageDescriptor descriptor) { return descriptor == null ? null : CUIPlugin.getImageDescriptorRegistry().get(descriptor); }
Source:
<code>private void freezeVm() { if (!shouldFreezeOrThawVm()) { return; } VDSReturnValue returnValue = null; boolean allowInconsistent = Config.<Boolean>getValue(ConfigValues.LiveSnapshotAllowInconsistent); try { auditLogDirector.log(this, AuditLogType.FREEZE_VM_INITIATED); returnValue = runVdsCommand(VDSCommandType.Freeze, new VdsAndVmIDVDSParametersBase( getVds().getId(), getVmId())); } catch (EngineException e) { if (!allowInconsistent) { handleFreezeVmFailure(e); return; } else { handleInconsistent(); <START> return; <END> } } if (returnValue != null && returnValue.getSucceeded()) { auditLogDirector.log(this, AuditLogType.FREEZE_VM_SUCCESS); } else { if (allowInconsistent) { handleInconsistent(); } else { handleFreezeVmFailure(new EngineException(EngineError.freezeErr)); } } }</code><technical_language>return if-statement. I this statement if(allowInconsistent) instead of if(!allowInconsistent) similar statement below, this is a matter of taste</technical_language>

Target:
private void freezeVm() { if (!shouldFreezeOrThawVm()) { return; } VDSReturnValue returnValue = null; boolean allowInconsistent = Config.<Boolean>getValue(ConfigValues.LiveSnapshotAllowInconsistent); try { auditLogDirector.log(this, AuditLogType.FREEZE_VM_INITIATED); returnValue = runVdsCommand(VDSCommandType.Freeze, new VdsAndVmIDVDSParametersBase( getVds().getId(), getVmId())); } catch (EngineException e) { if (allowInconsistent) { handleInconsistent(); } else { handleFreezeVmFailure(e); } return; } if (returnValue != null && returnValue.getSucceeded()) { auditLogDirector.log(this, AuditLogType.FREEZE_VM_SUCCESS); } else { if (allowInconsistent) { handleInconsistent(); } else { handleFreezeVmFailure(new EngineException(EngineError.freezeErr)); } } }
Source:
<code>protected void executeCommand() { getNetworkQoS().setId(Guid.newGuid()); <START> getDbFacade().getQosDao().save(getNetworkQoS()); <END> getReturnValue().setActionReturnValue(getNetworkQoS().getId()); setSucceeded(true); }</code><technical_language>extract a method for getQosDao() in NetworkQoSCommandBase</technical_language>

Target:
protected void executeCommand() { getNetworkQoS().setId(Guid.newGuid()); getNetworkQoSDao().save(getNetworkQoS()); getReturnValue().setActionReturnValue(getNetworkQoS().getId()); setSucceeded(true); }
Source:
<code>public void sendMetrics(final UnifiedPushMetricsMessage metricsMessage, final Callback<UnifiedPushMetricsMessage> callback) { new AsyncTask<Void, Void, Exception>() { @Override protected Exception doInBackground(Void... params) { try { if ((metricsMessage.getMessageId() == null) || (metricsMessage.getMessageId().trim().equals(""))) { throw new IllegalStateException(""); } HttpProvider provider = httpProviderProvider.get(metricsURL, TIMEOUT); setPasswordAuthentication(variantId, secret, provider); try { <START> provider.put(metricsMessage.getMessageId(), ""); <END> return null; } catch (HttpException ex) { return ex; } } catch (Exception ex) { return ex; } } @SuppressWarnings("unchecked") @Override protected void onPostExecute(Exception result) { if (result == null) { callback.onSuccess(metricsMessage); } else { callback.onFailure(result); } } }.execute((Void) null); }</code><technical_language>empty string for</technical_language>

Target:
public void sendMetrics(final UnifiedPushMetricsMessage metricsMessage, final Callback<UnifiedPushMetricsMessage> callback) { new AsyncTask<Void, Void, Exception>() { @Override protected Exception doInBackground(Void... params) { try { if ((metricsMessage.getMessageId() == null) || (metricsMessage.getMessageId().trim().equals(""))) { throw new IllegalStateException("Message ID cannot be null or blank"); } HttpProvider provider = httpProviderProvider.get(metricsURL, TIMEOUT); setPasswordAuthentication(variantId, secret, provider); try { provider.put(metricsMessage.getMessageId(), ""); return null; } catch (HttpException ex) { return ex; } } catch (Exception ex) { return ex; } } @SuppressWarnings("unchecked") @Override protected void onPostExecute(Exception result) { if (result == null) { callback.onSuccess(metricsMessage); } else { callback.onFailure(result); } } }.execute((Void) null); }
Source:
<code>public void setHttpService(HttpService httpService) { <START> logger.info("setHttpService called"); <END> this.httpService = httpService; }</code><technical_language>reduce this debug level</technical_language>

Target:
public void setHttpService(HttpService httpService) { logger.debug("setHttpService called"); this.httpService = httpService; }
Source:
<code>public void visit(BulletList bulletList) { <START> if (bulletListHolder != null) { <END> writeEndOfLine(); } bulletListHolder = new BulletListHolder(bulletListHolder, bulletList); visitChildren(bulletList); writeEndOfLineIfNeeded(bulletList, null); if (bulletListHolder.getParent() != null) { bulletListHolder = (BulletListHolder) bulletListHolder.getParent(); } else { bulletListHolder = null; } }</code><technical_language>a bullet list is nested a ordered list (or other around)? Is handled correctly</technical_language>

Target:
public void visit(BulletList bulletList) { if (listHolder != null) { writeEndOfLine(); } listHolder = new BulletListHolder(listHolder, bulletList); visitChildren(bulletList); writeEndOfLineIfNeeded(bulletList, null); if (listHolder.getParent() != null) { listHolder = listHolder.getParent(); } else { listHolder = null; } }
Source:
<code>public Builder merge(Span that) { if (this.traceId == null) { this.traceId = that.traceId; } if (this.traceIdHigh == 0) { this.traceIdHigh = that.traceIdHigh; } if (this.name == null || this.name.length() == 0 || this.name.equals("unknown")) { this.name = that.name; } if (this.id == null) { this.id = that.id; } if (this.parentId == null) { this.parentId = that.parentId; } for (Annotation a : that.annotations) { addAnnotation(a); } for (BinaryAnnotation a : that.binaryAnnotations) { addBinaryAnnotation(a); } if (this.debug == null) { this.debug = that.debug; } if (this.timestamp == null || that.timestamp == null || this.timestamp.equals( that.timestamp)) { this.timestamp = this.timestamp != null ? this.timestamp : that.timestamp; if (this.duration == null) { this.duration = that.duration; } else if (that.duration != null) { this.duration = Math.max(this.duration, that.duration); } } else { this.timestamp = null; this.duration = null; <START> return ApplyTimestampAndDuration.apply(this.build()).toBuilder(); <END> } return this; }</code><technical_language>do this include authoritative data reported (as opposed deriving span's timestamp annotations). prior data incorrectly merge authoritatively set timestamps (which bug). is prefer client mentioned before</technical_language>

Target:
public Builder merge(Span that) { if (this.traceId == null) { this.traceId = that.traceId; } if (this.traceIdHigh == 0) { this.traceIdHigh = that.traceIdHigh; } if (this.name == null || this.name.length() == 0 || this.name.equals("unknown")) { this.name = that.name; } if (this.id == null) { this.id = that.id; } if (this.parentId == null) { this.parentId = that.parentId; } if (this.timestamp == null || that.timestamp == null || this.timestamp.equals( that.timestamp)) { this.timestamp = this.timestamp != null ? this.timestamp : that.timestamp; if (this.duration == null) { this.duration = that.duration; } else if (that.duration != null) { this.duration = Math.max(this.duration, that.duration); } } else { if (containsAnnotation(that.annotations, Constants.CLIENT_SEND)) { this.timestamp = that.timestamp; this.duration = that.duration; } else if (!containsAnnotation(this.annotations, Constants.CLIENT_SEND)) { this.timestamp = null; this.duration = null; } } for (Annotation a : that.annotations) { addAnnotation(a); } for (BinaryAnnotation a : that.binaryAnnotations) { addBinaryAnnotation(a); } if (this.debug == null) { this.debug = that.debug; } return this; }
Source:
<code>public void setup() throws Exception { super.setup(); final DB dbx = db; dbx.getCollection(COLL_NAME).drop(); dbx.createCollection(COLL_NAME, null); controller = new MongoCRUDController(null, new DBResolver() { @Override public DB get(MongoDataStore store) { return dbx; } @Override public MongoConfiguration getConfiguration(MongoDataStore store) { return null; } @Override public List<MongoConfiguration> getConfigurations() { MongoConfiguration configuration = new MongoConfiguration(); try { configuration.addServerAddress(db.getMongo().getAddress().getHost(), db.getMongo().getAddress().getPort()); configuration.setDatabase("mongo"); } catch (UnknownHostException e) { <START> } <END> List<MongoConfiguration> configs = new ArrayList<>(); configs.add(configuration); return configs; } }); }</code><technical_language>add this getConfiguration probably, reference in this method</technical_language>

Target:
public void setup() throws Exception { super.setup(); final DB dbx = db; dbx.getCollection(COLL_NAME).drop(); dbx.createCollection(COLL_NAME, null); controller = new MongoCRUDController(null, new DBResolver() { @Override public DB get(MongoDataStore store) { return dbx; } @Override public MongoConfiguration getConfiguration(MongoDataStore store) { MongoConfiguration configuration = new MongoConfiguration(); try { configuration.addServerAddress(db.getMongo().getAddress().getHost(), db.getMongo().getAddress().getPort()); configuration.setDatabase("mongo"); } catch (UnknownHostException e) { return null; } return configuration; } @Override public Collection<MongoConfiguration> getConfigurations() { List<MongoConfiguration> configs = new ArrayList<>(); configs.add(getConfiguration(null)); return configs; } }); }
Source:
<code><START> private URI rebaseUri(URI uri) { <END> URI requestUri = uri; String uriString = uri.toString(); if (!uriString.startsWith(baseUri)) { int index = uriString.indexOf(REST); if (index == -1) { throw new IllegalArgumentException("Requested URI not within allowed domain"); } requestUri = URI.create(URIUtil.join(baseUri, uriString.substring(index + 4))); } return requestUri; }</code><technical_language>final URI uri</technical_language>

Target:
private URI rebaseUri(URI uri) { URI requestUri = uri; String uriString = uri.toString(); if (!uriString.startsWith(baseUri)) { int index = uriString.indexOf(REST); if (index == -1) { throw new IllegalArgumentException("Requested URI not within allowed domain"); } requestUri = URI.create(URIUtil.join(baseUri, uriString.substring(index + REST_LENGTH))); } return requestUri; }
Source:
<code>private Field[] getAllReferenceInstanceFields(Class<?> c) { if (allReferenceFieldsCache.containsKey(c)) return allReferenceFieldsCache.get(c); else { HashSet<Field> s = HashSetFactory.make(); Class<?> klass = c; while (klass != null) { Field[] fields = klass.getDeclaredFields(); for (Field field : fields) { if (!isStatic(field)) { Class<?> fc = field.getType(); if (!fc.isPrimitive()) { s.add(field); } } } klass = klass.getSuperclass(); } Field[] result = new Field[s.size()]; Object[] temp = s.toArray(); <START> Arrays.setAll(result, i -> (Field) temp[i]); <END> allReferenceFieldsCache.put(c, result); return result; } }</code><technical_language>s.toArray(new Field[0])</technical_language>

Target:
private Field[] getAllReferenceInstanceFields(Class<?> c) { if (allReferenceFieldsCache.containsKey(c)) return allReferenceFieldsCache.get(c); else { HashSet<Field> s = HashSetFactory.make(); Class<?> klass = c; while (klass != null) { Field[] fields = klass.getDeclaredFields(); for (Field field : fields) { if (!isStatic(field)) { Class<?> fc = field.getType(); if (!fc.isPrimitive()) { s.add(field); } } } klass = klass.getSuperclass(); } Field[] result = s.toArray(new Field[0]); allReferenceFieldsCache.put(c, result); return result; } }
Source:
<code>public GenericRecord decodeMessage(String topic, byte[] message) { GenericRecord record = (GenericRecord) decoder.fromBytes(message); Schema schema = record.getSchema(); <START> schemas.putIfAbsent(topic, schema); <END> return record; }</code><technical_language>this update topic schema latest</technical_language>

Target:
public GenericRecord decodeMessage(String topic, byte[] message) { GenericRecord record = (GenericRecord) decoder.fromBytes(message); Schema schema = record.getSchema(); schemas.put(topic, schema); return record; }
Source:
<code>public Object getInternalProperty(String key) { try { <START> return configService.getConfig(key, null, DEFAULT_TIMEOUT); <END> } catch (NacosException e) { logger.error(e.getMessage()); } return null; }</code><technical_language>ignore group user</technical_language>

Target:
public Object getInternalProperty(String key) { try { String normalizedKey = normalizedKey(key); return configService.getConfig(normalizedKey, DEFAULT_GROUP, DEFAULT_TIMEOUT); } catch (NacosException e) { logger.error(e.getMessage()); } return null; }
Source:
<code>protected void onError(Status status, Metadata trailers) { Code code = status.getCode(); if (code == Status.Code.CANCELLED) { <START> if (!completionFuture.isDone()) { <END> completionFuture.cancel(false); } operationTimerContext.close(); return; } if (!retryOptions.enableRetries() || !retryOptions.isRetryable(code) || !(isRequestRetryable() || code == Code.UNAUTHENTICATED || code == Code.UNAVAILABLE)) { rpc.getRpcMetrics().markFailure(); operationTimerContext.close(); setException(status.asRuntimeException()); return; } long nextBackOff = getNextBackoff(); failedCount += 1; if (nextBackOff == BackOff.STOP) { setException(getExhaustedRetriesException(status)); } else { String channelId = ChannelPool.extractIdentifier(trailers); LOG.info("Retrying failed call. Failure #%d, got: %s on channel %s", status.getCause(), failedCount, status, channelId); performRetry(nextBackOff); } }</code><technical_language>if this is necessary, cancel is a no-op if isDone() is true</technical_language>

Target:
protected void onError(Status status, Metadata trailers) { Code code = status.getCode(); if (code == Status.Code.CANCELLED) { completionFuture.setException(status.asRuntimeException()); operationTimerContext.close(); return; } if (!retryOptions.enableRetries() || !retryOptions.isRetryable(code) || !(isRequestRetryable() || code == Code.UNAUTHENTICATED || code == Code.UNAVAILABLE)) { rpc.getRpcMetrics().markFailure(); operationTimerContext.close(); setException(status.asRuntimeException()); return; } long nextBackOff = getNextBackoff(); failedCount += 1; if (nextBackOff == BackOff.STOP) { setException(getExhaustedRetriesException(status)); } else { String channelId = ChannelPool.extractIdentifier(trailers); LOG.info("Retrying failed call. Failure #%d, got: %s on channel %s", status.getCause(), failedCount, status, channelId); performRetry(nextBackOff); } }
Source:
<code>public void reportsTasksInformation() throws Exception { Runnable fastOne = new FastRunnable(); Runnable slowOne = new SlowRunnable(); <START> assertThat(instrumentedExecutorService.submitted.getCount()).isEqualTo(0); <END> assertThat(instrumentedExecutorService.running.getCount()).isEqualTo(0); assertThat(instrumentedExecutorService.completed.getCount()).isEqualTo(0); assertThat(instrumentedExecutorService.duration.getCount()).isEqualTo(0); Future<?> fastFuture = instrumentedExecutorService.submit(fastOne); Future<?> slowFuture = instrumentedExecutorService.submit(slowOne); assertThat(instrumentedExecutorService.submitted.getCount()).isEqualTo(2); fastFuture.get(); assertThat(instrumentedExecutorService.running.getCount()).isEqualTo(1); slowFuture.get(); assertThat(instrumentedExecutorService.running.getCount()).isEqualTo(0); }</code><technical_language>I _really_ dislike package-visible fields in tests</technical_language>

Target:
public void reportsTasksInformation() throws Exception { Runnable fastOne = new FastRunnable(); Runnable slowOne = new SlowRunnable(); Meter submitted = registry.meter("xs.submitted"); Counter running = registry.counter("xs.running"); Meter completed = registry.meter("xs.completed"); Timer duration = registry.timer("xs.duration"); assertThat(submitted.getCount()).isEqualTo(0); assertThat(running.getCount()).isEqualTo(0); assertThat(completed.getCount()).isEqualTo(0); assertThat(duration.getCount()).isEqualTo(0); Future<?> fastFuture = instrumentedExecutorService.submit(fastOne); Future<?> slowFuture = instrumentedExecutorService.submit(slowOne); assertThat(submitted.getCount()).isEqualTo(2); fastFuture.get(); assertThat(running.getCount()).isEqualTo(1); slowFuture.get(); assertThat(running.getCount()).isEqualTo(0); assertThat(duration.getSnapshot().size()).isEqualTo(2); }
Source:
<code>public Object execute(final Object[] parameters) { final CosmosParameterAccessor accessor = new CosmosParameterParameterAccessor(getQueryMethod(), parameters); final ResultProcessor processor = getQueryMethod().getResultProcessor().withDynamicProjection(accessor); List<SqlParameter> sqlParameters = getQueryMethod().getParameters().stream() <START> .map(p -> new SqlParameter("@" + p.getName().get(), <END> toCosmosDbValue(parameters[p.getIndex()]))) .collect(Collectors.toList()); SqlQuerySpec querySpec = new SqlQuerySpec(query, sqlParameters); return this.operations.runQuery(querySpec, processor.getReturnedType().getDomainType(), processor.getReturnedType().getReturnedType()); }</code><technical_language>p.getName().orElse("") instead of p.getName().get() avoid NPE</technical_language>

Target:
public Object execute(final Object[] parameters) { final CosmosParameterAccessor accessor = new CosmosParameterParameterAccessor(getQueryMethod(), parameters); final ResultProcessor processor = getQueryMethod().getResultProcessor().withDynamicProjection(accessor); List<SqlParameter> sqlParameters = getQueryMethod().getParameters().stream() .map(p -> new SqlParameter("@" + p.getName().orElse(""), toCosmosDbValue(parameters[p.getIndex()]))) .collect(Collectors.toList()); SqlQuerySpec querySpec = new SqlQuerySpec(query, sqlParameters); return this.operations.runQuery(querySpec, processor.getReturnedType().getDomainType(), processor.getReturnedType().getReturnedType()); }
Source:
<code>public void postBegin() { scoreScreen = nuiManager.getHUD().getHUDElement("LightAndShadow:ScoreHud"); blackScoreArea = scoreScreen.find("blackScoreArea", UILabel.class); <START> blackScoreArea.bindText(new ReadOnlyBinding<String>() { <END> @Override public String get() { return String.valueOf(blackScore); } }); redScoreArea = scoreScreen.find("redScoreArea", UILabel.class); redScoreArea.bindText(new ReadOnlyBinding<String>() { @Override public String get() { return String.valueOf(redScore); } }); }</code><technical_language>I lambdas easier implement easier understand for functions</technical_language>

Target:
public void postBegin() { ControlWidget scoreScreen = nuiManager.getHUD().getHUDElement("LightAndShadow:ScoreHud"); UILabel blackScoreArea = scoreScreen.find("blackScoreArea", UILabel.class); blackScoreArea.bindText(new ReadOnlyBinding<String>() { @Override public String get() { return String.valueOf(blackScore); } }); UILabel redScoreArea = scoreScreen.find("redScoreArea", UILabel.class); redScoreArea.bindText(new ReadOnlyBinding<String>() { @Override public String get() { return String.valueOf(redScore); } }); }
Source:
<code>protected ZooKeeperTestManager zooKeeperTestManager() { return new ZooKeeperTestManager() { @Override <START> public void start() { <END> } @Override public void stop() { } @Override public void ensure(String path) throws Exception { } @Override public void close() { } @Override public String connectString() { return "127.0.0.2:1024"; } @Override public CuratorFramework curator() { CuratorFramework curator = new MockCuratorClientFactory().newClient(null, 0, 0, null); return curator; } @Override public void awaitUp(long timeout, TimeUnit timeunit) throws TimeoutException { } @Override public void awaitDown(int timeout, TimeUnit timeunit) throws TimeoutException { } }; }</code><technical_language>below, bodies, instead of {\n\n}</technical_language>

Target:
protected ZooKeeperTestManager zooKeeperTestManager() { final ZooKeeperTestManager testManager = mock(ZooKeeperTestManager.class); final MockCuratorClientFactory mockCuratorClientFactory = new MockCuratorClientFactory(); final CuratorFramework curator = mockCuratorClientFactory.newClient(null, 0, 0, null); when(testManager.curator()).thenReturn(curator); when(testManager.connectString()).thenReturn("127.0.0.1"); return testManager; }
Source:
<code>public static void setBackground(boolean async) { background = async; <START> } <END></code><technical_language>this static flag FS instead? need FileStoreAttributeCache public</technical_language>

Target:
private static void setBackground(boolean async) { background.set(async); }
Source:
<code>private static FieldValue parseFieldValue(ExprNode argument) { if(argument instanceof SymbolExpr) { ResourceId id = ResourceId.valueOf(((SymbolExpr) argument).getName()); if(id.getDomain() == CuidAdapter.ATTRIBUTE_DOMAIN) { return new EnumValue(id); } else { return TextValue.valueOf(id.asString()); } } if(argument instanceof ConstantExpr) { ResourceId id = ResourceId.valueOf(((ConstantExpr) argument).asExpression()); <START> if(id.getDomain() == CuidAdapter.ATTRIBUTE_DOMAIN) { <END> return new EnumValue(id); } else { return ((ConstantExpr) argument).getValue(); } } throw new UnsupportedOperationException("constant value: " + argument); }</code><technical_language>This true in future</technical_language>

Target:
private static FieldValue parseFieldValue(ExprNode argument) { if(argument instanceof SymbolExpr) { ResourceId id = ResourceId.valueOf(((SymbolExpr) argument).getName()); if(id.getDomain() == CuidAdapter.ATTRIBUTE_DOMAIN) { return new EnumValue(id); } else { return TextValue.valueOf(id.asString()); } } else if(argument instanceof ConstantExpr) { return ((ConstantExpr) argument).getValue(); } throw new UnsupportedOperationException("constant value: " + argument); }
Source:
<code>private LeaderTime getIdentifiedTime() { <START> return LeaderTime.of(LEADER_ID, NanoTime.now()); <END> }</code><technical_language>stubbed out time sleeps; NanoTime a createForTests method it</technical_language>

Target:
private LeaderTime getIdentifiedTime() { return LeaderTime.of(LEADER_ID, currentTime); }
Source:
<code>public double getStdDev() { return fNbSegments > 2 ? Math.sqrt(fVariance / <START> (fNbSegments)) <END> : Double.NaN; }</code><technical_language>parenthesis useless</technical_language>

Target:
public double getStdDev() { return fNbSegments > 2 ? Math.sqrt(fVariance / fNbSegments) : Double.NaN; }
Source:
<code>public void layout(final ElkNode layoutGraph, final IElkProgressMonitor progressMonitor) { <START> progressMonitor.begin("Rect Packing", 1); <END> dar = layoutGraph.getProperty(RectPackingOptions.ASPECT_RATIO); packingStrat = layoutGraph.getProperty(RectPackingOptions.STRATEGY); lpShift = layoutGraph.getProperty(RectPackingOptions.LP_SHIFT); onlyFirstIteration = layoutGraph.getProperty(RectPackingOptions.ONLY_FIRST_ITERATION); checkSpecialCase = layoutGraph.getProperty(RectPackingOptions.CHECK_FOR_SPECIAL_CASE); expandNodes = layoutGraph.getProperty(RectPackingOptions.EXPAND_NODES); padding = layoutGraph.getProperty(RectPackingOptions.PADDING); List<ElkNode> rectangles = layoutGraph.getChildren(); DrawingUtil.resetCoordinates(rectangles); DrawingData drawing; if (checkSpecialCase && SpecialCaseFeasibility.confirm(rectangles)) { drawing = SpecialCasePlacer.place(rectangles, dar, expandNodes); } else { FirstIteration firstIt = new FirstIteration(dar, packingStrat, lpShift); drawing = firstIt.approxBoundingBox(rectangles); if (!onlyFirstIteration) { DrawingUtil.resetCoordinates(rectangles); SecondIteration secondIt = new SecondIteration(dar, expandNodes); drawing = secondIt.start(rectangles, drawing.getDrawingWidth()); } } enforcePadding(rectangles); layoutGraph.setDimensions(drawing.getDrawingWidth() + padding.getHorizontal(), drawing.getDrawingHeight() + padding.getVertical()); progressMonitor.done(); }</code><technical_language>Please spell in full here</technical_language>

Target:
public void layout(final ElkNode layoutGraph, final IElkProgressMonitor progressMonitor) { progressMonitor.begin("Rectangle Packing", 1); dar = layoutGraph.getProperty(RectPackingOptions.ASPECT_RATIO); packingStrat = layoutGraph.getProperty(RectPackingOptions.STRATEGY); lastPlaceShift = layoutGraph.getProperty(RectPackingOptions.LAST_PLACE_SHIFT); onlyFirstIteration = layoutGraph.getProperty(RectPackingOptions.ONLY_FIRST_ITERATION); checkSpecialCase = layoutGraph.getProperty(RectPackingOptions.CHECK_FOR_SPECIAL_CASE); expandNodes = layoutGraph.getProperty(RectPackingOptions.EXPAND_NODES); padding = layoutGraph.getProperty(RectPackingOptions.PADDING); List<ElkNode> rectangles = layoutGraph.getChildren(); DrawingUtil.resetCoordinates(rectangles); DrawingData drawing; if (checkSpecialCase && SpecialCaseFeasibility.confirm(rectangles)) { drawing = SpecialCasePlacer.place(rectangles, dar, expandNodes); } else { AreaApproximation firstIt = new AreaApproximation(dar, packingStrat, lastPlaceShift); drawing = firstIt.approxBoundingBox(rectangles); if (!onlyFirstIteration) { DrawingUtil.resetCoordinates(rectangles); RowFillingAndCompaction secondIt = new RowFillingAndCompaction(dar, expandNodes); drawing = secondIt.start(rectangles, drawing.getDrawingWidth()); } } applyPadding(rectangles); layoutGraph.setDimensions(drawing.getDrawingWidth() + padding.getHorizontal(), drawing.getDrawingHeight() + padding.getVertical()); progressMonitor.done(); }
Source:
<code>public GroupIntoToolGroupCommand(ResourceSet set, ToolSection parent, Collection<EObject> selection) { super(set); this.selection = selection; <START> this.parent = parent; <END> }</code><technical_language>instruction in abstract class fields belong it. super(set, parent, selection); only</technical_language>

Target:
public GroupIntoToolGroupCommand(ResourceSet set, ToolSection parent, Collection<EObject> selection) { super(set, parent, selection); }
Source:
<code>public void testVocabularyFromTokenNames() { String[] tokenNames = { "<INVALID>", "TOKEN_REF", "RULE_REF", "' }; Vocabulary vocabulary = VocabularyImpl.fromTokenNames(tokenNames); Assert.assertNotNull(vocabulary); Assert.assertEquals("EOF", vocabulary.getSymbolicName(Token.EOF)); Assert.assertEquals(vocabulary.getMaxTokenType(), tokenNames.length-1); <START> for (int i = Token.MIN_USER_TOKEN_TYPE; i <= vocabulary.getMaxTokenType(); i++) { <END> Assert.assertEquals(tokenNames[i], vocabulary.getDisplayName(i)); if (tokenNames[i].startsWith("'")) { Assert.assertEquals(tokenNames[i], vocabulary.getLiteralName(i)); Assert.assertNull(vocabulary.getSymbolicName(i)); } else if (Character.isUpperCase(tokenNames[i].charAt(0))) { Assert.assertNull(vocabulary.getLiteralName(i)); Assert.assertEquals(tokenNames[i], vocabulary.getSymbolicName(i)); } else { Assert.assertNull(vocabulary.getLiteralName(i)); Assert.assertNull(vocabulary.getSymbolicName(i)); } } }</code><technical_language>This is testing index 0, is currently hiding a breaking change in behavior</technical_language>

Target:
public void testVocabularyFromTokenNames() { String[] tokenNames = { "<INVALID>", "TOKEN_REF", "RULE_REF", "' }; Vocabulary vocabulary = VocabularyImpl.fromTokenNames(tokenNames); Assert.assertNotNull(vocabulary); Assert.assertEquals("EOF", vocabulary.getSymbolicName(Token.EOF)); Assert.assertEquals(vocabulary.getMaxTokenType(), tokenNames.length-1); for (int i = 0; i <= vocabulary.getMaxTokenType(); i++) { Assert.assertEquals(tokenNames[i], vocabulary.getDisplayName(i)); if (tokenNames[i].startsWith("'")) { Assert.assertEquals(tokenNames[i], vocabulary.getLiteralName(i)); Assert.assertNull(vocabulary.getSymbolicName(i)); } else if (Character.isUpperCase(tokenNames[i].charAt(0))) { Assert.assertNull(vocabulary.getLiteralName(i)); Assert.assertEquals(tokenNames[i], vocabulary.getSymbolicName(i)); } else { Assert.assertNull(vocabulary.getLiteralName(i)); Assert.assertNull(vocabulary.getSymbolicName(i)); } } }
Source:
<code>public void addFeature(final Gff3Feature feature) { <START> final String lineNoAttributes = String.join("\t", <END> encodeString(feature.getContig()), encodeString(feature.getSource()), encodeString(feature.getType()), Integer.toString(feature.getStart()), Integer.toString(feature.getEnd()), feature.getScore() < 0 ? "." : Double.toString(feature.getScore()), feature.getStrand().toString(), feature.getPhase() < 0 ? "." : Integer.toString(feature.getPhase()) ); final List<String> attributesStrings = new ArrayList<>(); for (final Map.Entry<String, List<String>> entry : feature.getAttributes().entrySet()) { final String attributeString = String.join("=", new String[]{encodeString(entry.getKey()), encodeForNinthColumn(entry.getValue())}); attributesStrings.add(attributeString); } final String attributesString = attributesStrings.isEmpty() ? "." : String.join(";", attributesStrings); final String lineString = lineNoAttributes + "\t" + attributesString; out.println(lineString); }</code><technical_language>more performant .append encoded convert a bigger string first. adds layers of internal copies. If this is more readable fine though</technical_language>

Target:
public void addFeature(final Gff3Feature feature) throws IOException { writeFirstEightFields(feature); out.write(Gff3Constants.FIELD_DELIMITER); writeAttributes(feature.getAttributes()); out.write(Gff3Constants.END_OF_LINE_CHARACTER); }
Source:
<code>public static AddToReadingListDialog newInstance(PageTitle title, InvokeSource source) { AddToReadingListDialog dialog = new AddToReadingListDialog(); Bundle args = new Bundle(); args.putParcelable("title", title); <START> args.putInt("source", source.ordinal()); <END> dialog.setArguments(args); return dialog; }</code><technical_language>This a good of ordinal lifetime is expected match app session</technical_language>

Target:
public static AddToReadingListDialog newInstance(PageTitle title, InvokeSource source) { AddToReadingListDialog dialog = new AddToReadingListDialog(); Bundle args = new Bundle(); args.putParcelable("title", title); args.putInt("source", source.code()); dialog.setArguments(args); return dialog; }
Source:
<code>public boolean process(final TProtocol inProt, final TProtocol outProt) throws TException { ReqContext req_context = ReqContext.context(); TTransport trans = inProt.getTransport(); if (trans instanceof TMemoryInputTransport) { try { req_context.setRemoteAddress(InetAddress.getLocalHost()); } catch (UnknownHostException e) { throw new RuntimeException(e); } } else if (trans instanceof TSocket) { TSocket tsocket = (TSocket)trans; Socket socket = tsocket.getSocket(); req_context.setRemoteAddress(socket.getInetAddress()); } req_context.setSubject(null); try { return wrapped.process(inProt, outProt); <START> } catch (RuntimeException ex) { <END> LOG.info(ex.getMessage()); return false; } }</code><technical_language>suppressing exception here? runtime exception bubble up. This is changing behavior of wrapped processor</technical_language>

Target:
public boolean process(final TProtocol inProt, final TProtocol outProt) throws TException { ReqContext req_context = ReqContext.context(); TTransport trans = inProt.getTransport(); if (trans instanceof TMemoryInputTransport) { try { req_context.setRemoteAddress(InetAddress.getLocalHost()); } catch (UnknownHostException e) { throw new RuntimeException(e); } } else if (trans instanceof TSocket) { TSocket tsocket = (TSocket)trans; Socket socket = tsocket.getSocket(); req_context.setRemoteAddress(socket.getInetAddress()); } req_context.setSubject(null); return wrapped.process(inProt, outProt); }
Source:
<code>boolean isInSequence(RecordIdentifier recordIdentifier) { if (lastWriteId != null && recordIdentifier.getWriteId() < lastWriteId) { <START> LOG.debug("Non-sequential transaction ID. Expected >{}, recordIdentifier={}", lastWriteId, recordIdentifier); <END> return false; } else if (lastWriteId != null && recordIdentifier.getWriteId() == lastWriteId && lastRowId != null && recordIdentifier.getRowId() <= lastRowId) { LOG.debug("Non-sequential row ID. Expected >{}, recordIdentifier={}", lastRowId, recordIdentifier); return false; } lastWriteId = recordIdentifier.getWriteId(); lastRowId = recordIdentifier.getRowId(); return true; }</code><technical_language>msg text "transaction" is intentional</technical_language>

Target:
boolean isInSequence(RecordIdentifier recordIdentifier) { if (lastWriteId != null && recordIdentifier.getWriteId() < lastWriteId) { LOG.debug("Non-sequential write ID. Expected >{}, recordIdentifier={}", lastWriteId, recordIdentifier); return false; } else if (lastWriteId != null && recordIdentifier.getWriteId() == lastWriteId && lastRowId != null && recordIdentifier.getRowId() <= lastRowId) { LOG.debug("Non-sequential row ID. Expected >{}, recordIdentifier={}", lastRowId, recordIdentifier); return false; } lastWriteId = recordIdentifier.getWriteId(); lastRowId = recordIdentifier.getRowId(); return true; }
Source:
<code>public static Expression scriptScore(Expression query, String scriptName) { <START> return scriptScore(query, scriptName, false); <END> }</code><technical_language>strict considered permanently set true match ES behavior (and option of removed)</technical_language>

Target:
public static Expression scriptScore(Expression query, String scriptName) { return new ScriptScoreExpression(query, scriptName, Collections.emptyMap()); }
Source:
<code>public void setText(final String text, final Serializable... args) { String currText = getText(); <START> <END> if (!Objects.equals(text, currText)) { getOrCreateComponentModel().text = I18nUtilities.asMessage(text, args); } }</code><technical_language>This work 90% of time, tested current is response 'asMessage(text,args)</technical_language>

Target:
public void setText(final String text, final Serializable... args) { Serializable currText = getComponentModel().text; Serializable textToBeSet = I18nUtilities.asMessage(text, args); if (!Objects.equals(textToBeSet, currText)) { getOrCreateComponentModel().text = textToBeSet; } }
Source:
<code>public Map<String, Object> batchConfigRead(String application, String entityToken, Boolean raw) { EntityLocal entity = brooklyn().getEntity(application, entityToken); Map<ConfigKey<?>, Object> source = ((EntityInternal) entity).getAllConfig(); Map<String, Object> result = Maps.newLinkedHashMap(); for (Map.Entry<ConfigKey<?>, Object> ek : source.entrySet()) { <START> Object value = RendererHints.applyDisplayValueHint(ek.getKey(), ek.getValue()); <END> if (Boolean.FALSE.equals(raw)) { value = RendererHints.applyDisplayValueHint(ek.getKey(), value); } result.put(ek.getKey().getName(), getValueForDisplay(value, true, false)); } return result; }</code><technical_language>calling applyDisplayValueHint purpose? I this line deleted</technical_language>

Target:
public Map<String, Object> batchConfigRead(String application, String entityToken, Boolean raw) { EntityLocal entity = brooklyn().getEntity(application, entityToken); Map<ConfigKey<?>, Object> source = ((EntityInternal) entity).getAllConfig(); Map<String, Object> result = Maps.newLinkedHashMap(); for (Map.Entry<ConfigKey<?>, Object> ek : source.entrySet()) { Object value = ek.getValue(); if (Boolean.FALSE.equals(raw)) { value = RendererHints.applyDisplayValueHint(ek.getKey(), value); } result.put(ek.getKey().getName(), getValueForDisplay(value, true, false)); } return result; }
Source:
<code>public static String getMetaRedirectURL(HttpEntity httpEntity) throws IOException { String html = getHTML(httpEntity); html = html.replace("\n", ""); if (html.length() == 0) return null; int indexHttpEquiv = html.indexOf("http-equiv=\"refresh\""); if (indexHttpEquiv < 0) return null; html = html.substring(indexHttpEquiv); int indexContent = html.indexOf("content="); if (indexContent < 0) return null; html = html.substring(indexContent); int indexURLStart = html.indexOf("http"); if (indexURLStart < 0) return null; html = html.substring(indexURLStart); int indexURLEnd = html.indexOf("\""); if (indexURLEnd < 0) return null; return html.substring(0, indexURLEnd); <START> } <END></code><technical_language>regex here</technical_language>

Target:
public static String getMetaRedirectURL(HttpEntity httpEntity) throws IOException { String html = getHTML(httpEntity); html = html.replace("\n", ""); if (html.length() == 0) return null; int indexHttpEquiv = html.toLowerCase().indexOf("http-equiv=\"refresh\""); if (indexHttpEquiv < 0) { return null; } html = html.substring(indexHttpEquiv); int indexContent = html.toLowerCase().indexOf("content="); if (indexContent < 0) { return null; } html = html.substring(indexContent); int indexURLStart = html.toLowerCase().indexOf(";url="); if (indexURLStart < 0) { return null; } html = html.substring(indexURLStart + 5); int indexURLEnd = html.toLowerCase().indexOf("\""); if (indexURLEnd < 0) { return null; } return html.substring(0, indexURLEnd); }
Source:
<code>private void storeBoundServerName() throws SaslException { try { <START> boundServerName = gssContext.getTargName().toString().split("[/@]")[1]; <END> } catch (GSSException e) { throw log.mechUnableToDetermineBoundServerName(getMechanismName(), e).toSaslException(); } }</code><technical_language>Is for targetName @. I in case of serverName null, targetName is server control entirely</technical_language>

Target:
private void storeBoundServerName() throws SaslException { try { String targetName = gssContext.getTargName().toString(); String[] targetNameParts = targetName.split("[/@]"); boundServerName = targetNameParts.length > 1 ? targetNameParts[1] : targetName; } catch (GSSException e) { throw saslGs2.mechUnableToDetermineBoundServerName(e).toSaslException(); } }
Source:
<code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); <START> ColorDrawable color = new ColorDrawable(); <END> android.support.v7.app.ActionBar ab = getSupportActionBar(); SwipeRefreshLayout swipeRefreshLayout = getSwipeRefreshLayout(); setResult(Activity.RESULT_CANCELED); findViewById(R.id.fab_create).setVisibility(View.INVISIBLE); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { color = new ColorDrawable(getColor(R.color.bg_highlighted)); } else { color = new ColorDrawable(ContextCompat.getColor(getApplicationContext(), R.color.bg_highlighted)); } ab.setBackgroundDrawable(color); ab.setTitle(R.string.activity_select_single_note); Spannable title = new SpannableString(ab.getTitle()); title.setSpan(new ForegroundColorSpan(getResources().getColor(R.color.primary)), 0, title.length(), Spannable.SPAN_INCLUSIVE_INCLUSIVE); ab.setTitle(title); swipeRefreshLayout.setEnabled(false); swipeRefreshLayout.setRefreshing(false); initList(); }</code><technical_language>variable initialization is redundant removed</technical_language>

Target:
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ColorDrawable color; android.support.v7.app.ActionBar ab = getSupportActionBar(); SwipeRefreshLayout swipeRefreshLayout = getSwipeRefreshLayout(); setResult(Activity.RESULT_CANCELED); findViewById(R.id.fab_create).setVisibility(View.INVISIBLE); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { color = new ColorDrawable(getColor(R.color.bg_highlighted)); } else { color = new ColorDrawable(ContextCompat.getColor(getApplicationContext(), R.color.bg_highlighted)); } ab.setBackgroundDrawable(color); ab.setTitle(R.string.activity_select_single_note); Spannable title = new SpannableString(ab.getTitle()); title.setSpan(new ForegroundColorSpan(getResources().getColor(R.color.primary)), 0, title.length(), Spannable.SPAN_INCLUSIVE_INCLUSIVE); ab.setTitle(title); swipeRefreshLayout.setEnabled(false); swipeRefreshLayout.setRefreshing(false); initList(); }
Source:
<code>public R apply(R record) { if (headerValue == null) return null; <START> SchemaAndValue schemaAndValue = Values.parseString(headerValue); <END> record.headers().add(headerName, schemaAndValue); return record; }</code><technical_language>SchemaAndValue is immutable object reused, move this line configure(...) method store a final field. In fact, ConnectHeader is immutable, means this do following: private final ConnectHeader newHeader; ... public void configure(Map<String, ?> props) { ... newHeader = new ConnectHeader(headerName, Values.parseString(headerValue)); } ... public R apply(R record) { if (record == null) { return record; } Headers recordHeaders = record.headers(); Headers newHeaders = new ConnectHeaders(record.headers()); newHeaders.add(newHeader); return record.newRecord(record.topic(), record.kafkaPartition(), record.keySchema(), record.key(), record.valueSchema(), updatedValue, record.timestamp(), newHeaders); } Note create a new record, modify existing record. This is efficient work, guarantees SMT contract</technical_language>

Target:
public R apply(R record) { if (record == null) { return record; } Headers newHeaders = new ConnectHeaders(record.headers()); newHeaders.add(headerName, schemaAndValue); return record.newRecord(record.topic(), record.kafkaPartition(), record.keySchema(), record.key(), record.valueSchema(), record.value(), record.timestamp(), newHeaders); }
Source:
<code>private static Collection<AnnotationFS> getAllAnnoFss(JCas aJcas, Type aType) { Collection<AnnotationFS> spanAnnos = select(aJcas.getCas(), aType); <START> new ArrayList<>(spanAnnos).sort((arg0, arg1) -> arg0.getBegin() - arg1.getBegin()); <END> return spanAnnos; }</code><technical_language>comparingInt()</technical_language>

Target:
private static Collection<AnnotationFS> getAllAnnoFss(JCas aJcas, Type aType) { Collection<AnnotationFS> spanAnnos = select(aJcas.getCas(), aType); new ArrayList<>(spanAnnos).sort(Comparator.comparingInt(AnnotationFS::getBegin)); return spanAnnos; }
Source:
<code>private boolean canDoubleClick() { boolean valid = !isInLayoutingModeDiagram(dDiagramElement); <START> for (ModelOperation operation : tool.getInitialOperation().getFirstModelOperations()) { if (operation instanceof Navigation) { valid = true; break; } } <END> valid = valid && checkPrecondition(dDiagramElement, tool); return valid; }</code><technical_language>in layouting mode, initial test enable action (valid == true) if single effect is a navigation, guarantee navigating modify model. new version of test enable action if Navigation is found. This means a tool equivalent of: Set self.name [someExpression/] Navigate X wrongly allowed new code. a side-node, for loop (as written) replaced by: Iterables.any(tool.getInitialOperations().getFirstModelOperations(), Predicdates.instanceOf(Navigation.class)) a version intended behavior use: Iterables.all(tool.getInitialOperations().getFirstModelOperations(), Predicdates.instanceOf(Navigation.class)) (Not sense multiple Navigation tasks in a tool, but...)</technical_language>

Target:
private boolean canDoubleClick() { boolean valid = !isInLayoutingModeDiagram(dDiagramElement) || Iterables.all(tool.getInitialOperation().getFirstModelOperations(), Predicates.instanceOf(Navigation.class)); valid = valid && checkPrecondition(dDiagramElement, tool); return valid; }
Source:
<code>protected String putMultipartBlob(String container, Blob blob, PutOptions overrides) { ConcurrentLinkedQueue<MultipartPart> parts = new ConcurrentLinkedQueue<MultipartPart>(); long contentLength = checkNotNull(blob.getMetadata().getContentMetadata().getContentLength(), "must provide content-length to use multi-part upload"); MultipartUploadSlicingAlgorithm algorithm = new MultipartUploadSlicingAlgorithm( getMinimumMultipartPartSize(), getMaximumMultipartPartSize(), getMaximumNumberOfParts()); long partSize = algorithm.calculateChunkSize(contentLength); MultipartUpload mpu = initiateMultipartUpload(container, blob.getMetadata(), partSize, overrides); int partNumber = 1; int numThreads = 16; if (System.getProperty("jclouds.mpu.parallel.degree") != null) { <START> numThreads = Integer.getInteger(System.getProperty("jclouds.mpu.parallel.degree")); <END> } BlockingQueue<Runnable> blockingQueue = new ArrayBlockingQueue<Runnable>(numThreads); RejectedExecutionHandler rejectedExecutionHandler = new ThreadPoolExecutor.CallerRunsPolicy(); ExecutorService executor = new ThreadPoolExecutor(numThreads, numThreads, 0L, TimeUnit.MILLISECONDS, blockingQueue, rejectedExecutionHandler); for (Payload payload : slicer.slice(blob.getPayload(), partSize)) { ++partNumber; BlobUploader b = new BlobUploader(mpu, partNumber, payload, parts); executor.execute(b); } executor.shutdown(); try { executor.awaitTermination(Integer.MAX_VALUE, TimeUnit.DAYS); } catch (InterruptedException e) { e.printStackTrace(); } return completeMultipartUpload(mpu, new ArrayList( parts )); }</code><technical_language>This property twice, call failing. Instead want: Integer.getInteger("jclouds.mpu.parallel.degree"), 16)</technical_language>

Target:
protected String putMultipartBlob(String container, Blob blob, PutOptions overrides) { if (overrides.getUseCustomExecutor()) { return putMultipartBlob(container, blob, overrides, overrides.getCustomExecutor()); } else { return putMultipartBlob(container, blob, overrides, userExecutor); } }