auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
private boolean validateCommit(byte[] commit) { boolean returnValue = true; for (int offset = 0; returnValue && offset < commit.length; offset++) { int lineEnd = 0; for (lineEnd = offset; lineEnd < commit.length && commit[lineEnd] != '\n'; lineEnd++) {}; switch (commit[offset]) { case 'a': case 'c': returnValue = validateLine(commit, offset, lineEnd); break; case 't': case 'p': break; default: return returnValue; } offset = lineEnd; } return returnValue; }

Target:
private boolean validateCommit(byte[] commit) { boolean returnValue = true; for (int offset = 0; returnValue && offset < commit.length; offset++) { int lineEnd = 0; for (lineEnd = offset; lineEnd < commit.length && commit[lineEnd] != '\n'; lineEnd++) { } switch (commit[offset]) { case 'a': case 'c': returnValue = validateLine(commit, offset, lineEnd); break; case 't': case 'p': break; default: return returnValue; } offset = lineEnd; } return returnValue; }
Source:
public void formatsTextFragmentsToHtml() throws Exception { final String[][] texts = { new String[] {"hi, *dude*!", "<p>hi, \n<em>dude</em>!</p>"}, new String[] { "hello, **dude**!", "<p>hello, \n<strong>dude</strong>!</p>", }, new String[] { "wazzup, ***dude***!", "<p>wazzup, \n<strong>\n <em>dude</em>\n</strong>!</p>", }, new String[] {"hey, _man_!", "<p>hey, \n<em>man</em>!</p>"}, new String[] {"x: `oops`", "<p>x: \n<code>oops</code></p>"}, new String[] { "[a](http://foo)", "<p>\n <a href=\"http://foo\">a</a>\n</p>", }, new String[] {"}}}\n", "<p>}}}</p>"}, }; for (final String[] pair : texts) { MatcherAssert.assertThat( new MarkdownTxtmark().html(pair[0]).trim(), Matchers.equalTo( pair[1].replace("\n", System.getProperty("line.separator")) ) ); } }

Target:
public void formatsTextFragmentsToHtml() throws Exception { final String[][] texts = { new String[] {"hi, *dude*!", "<p>hi, \n<em>dude</em>!</p>"}, new String[] { "hello, **dude**!", "<p>hello, \n<strong>dude</strong>!</p>", }, new String[] { "wazzup, ***dude***!", MarkdownTxtmarkTest.join( "<p>wazzup, ", "<strong>", " <em>dude</em>", "</strong>!</p>" ), }, new String[] { "hey, _man_!", MarkdownTxtmarkTest.join("<p>hey, ", "<em>man</em>!</p>"), }, new String[] { "x: `oops`", MarkdownTxtmarkTest.join("<p>x: ", "<code>oops</code></p>"), }, new String[] { "[a](http://foo)", MarkdownTxtmarkTest.join( MarkdownTxtmarkTest.START_PARAGRAPH, " <a href=\"http://foo\">a</a>", MarkdownTxtmarkTest.END_PARAGRAPH ), }, new String[] {"}}}\n", "<p>}}}</p>"}, }; for (final String[] pair : texts) { MatcherAssert.assertThat( new MarkdownTxtmark().html(pair[0]).trim(), Matchers.equalTo(pair[1]) ); } }
Source:
protected IStatus run(IProgressMonitor monitor) { runnable.run(); if (monitor.isCanceled()) { return Status.CANCEL_STATUS; } return Status.OK_STATUS; }

Target:
protected IStatus run(IProgressMonitor monitor) { try { runnable.run(); } catch (OperationCanceledException e) { return Status.CANCEL_STATUS; } if (monitor.isCanceled()) { return Status.CANCEL_STATUS; } return Status.OK_STATUS; }
Source:
public void refreshPersonDetails() { if (!isAdded()) return; Person person = PeopleTable.getPerson(mPersonID, mLocalTableBlogID); if (person != null) { int avatarSz = getResources().getDimensionPixelSize(R.dimen.avatar_sz_large); String avatarUrl = GravatarUtils.fixGravatarUrl(person.getAvatarUrl(), avatarSz); mAvatarImageView.setImageUrl(avatarUrl, WPNetworkImageView.ImageType.AVATAR); mDisplayNameTextView.setText(person.getDisplayName()); mUsernameTextView.setText(person.getUsername()); mRoleTextView.setText(Role.getLabel(getActivity(), person.getRole())); mRemoveTextView.setText(String.format(getString(R.string.remove_user), person.getFirstName().toUpperCase())); mRemoveTextView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { } }); } }

Target:
public void refreshPersonDetails() { if (!isAdded()) return; Person person = PeopleTable.getPerson(mPersonID, mLocalTableBlogID); if (person != null) { int avatarSz = getResources().getDimensionPixelSize(R.dimen.avatar_sz_large); String avatarUrl = GravatarUtils.fixGravatarUrl(person.getAvatarUrl(), avatarSz); mAvatarImageView.setImageUrl(avatarUrl, WPNetworkImageView.ImageType.AVATAR); mDisplayNameTextView.setText(person.getDisplayName()); mUsernameTextView.setText(person.getUsername()); mRoleTextView.setText(Role.getLabel(getActivity(), person.getRole())); mRemoveTextView.setText(String.format(getString(R.string.remove_user), person.getFirstName().toUpperCase())); mRemoveTextView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { } }); } else { AppLog.w(AppLog.T.PEOPLE, "Person returned null from DB for personID: " + mPersonID + " & localTableBlogID: " + mLocalTableBlogID); } }
Source:
protected Object parseResultFromReader(CSVReader flatFileReader) { int lineNumber = 0; FlatFileSpecificationForProcessingPreSplitLines preSplitSpec = getFlatFileSpecificationForPreSplitLines(); FlatFileParseTracker tracker = buildNewParseTrackerInstanceFromPrototype(); tracker.initialize(preSplitSpec); try { for (String[] segmentedLine : flatFileReader) { lineNumber++; String firstLineSegment = (segmentedLine.length > 0) ? segmentedLine[0] : KFSConstants.EMPTY_STRING; Object parseIntoObject = tracker.getObjectToParseInto(firstLineSegment); if (parseIntoObject != null) { FlatFileObjectSpecification parseSpecification = preSplitSpec.getObjectSpecification(parseIntoObject.getClass()); if (CollectionUtils.isNotEmpty(parseSpecification.getParseProperties())) { preSplitSpec.parseLineIntoObject(parseSpecification, segmentedLine, parseIntoObject, lineNumber); tracker.completeLineParse(); } } } } catch (RuntimeException e) { LOG.error("parseResultFromReader: File parsing encountered an exception on line " + lineNumber + " or line " + (lineNumber + 1) + "; the data file may have a syntax error"); throw e; } return tracker.getParsedObjects(); }

Target:
protected Object parseResultFromReader(CSVReader flatFileReader) { int lineNumber = 0; FlatFileSpecificationForProcessingPreSplitLines preSplitSpec = getFlatFileSpecificationForPreSplitLines(); FlatFileParseTracker tracker = buildNewParseTrackerInstanceFromPrototype(); tracker.initialize(preSplitSpec); try { for (String[] segmentedLine : flatFileReader) { lineNumber++; String firstLineSegment = (segmentedLine.length > 0) ? segmentedLine[0] : KFSConstants.EMPTY_STRING; Object parseIntoObject = tracker.getObjectToParseInto(firstLineSegment); if (parseIntoObject != null) { FlatFileObjectSpecification parseSpecification = preSplitSpec.getObjectSpecification(parseIntoObject.getClass()); if (CollectionUtils.isNotEmpty(parseSpecification.getParseProperties())) { preSplitSpec.parseLineIntoObject(parseSpecification, segmentedLine, parseIntoObject, lineNumber); tracker.completeLineParse(); } } } } catch (RuntimeException e) { LOG.error("parseResultFromReader: File parsing encountered an exception on line " + lineNumber + " or line " + (lineNumber + 1) + "; the data file may have a syntax error", e); throw e; } return tracker.getParsedObjects(); }
Source:
protected void updateJobDeclarations(List<JobDeclaration<?, ?>> jobDeclarations, CaseDefinitionEntity definition, boolean isNewDeployment) { if(jobDeclarations == null || jobDeclarations.isEmpty()) { return; } final JobDefinitionManager jobDefinitionManager = getJobDefinitionManager(); if(isNewDeployment) { for(JobDeclaration<?,?> jobDeclaration:jobDeclarations){ if(jobDeclaration instanceof TimerJobDeclaration){ createJobDefinition(definition, (TimerJobDeclaration<?>) jobDeclaration); }else{ continue; } } } else { List<JobDefinitionEntity> existingDefinitions = jobDefinitionManager.findByCaseDefinitionId(definition.getId()); for (JobDeclaration<?, ?> jobDeclaration : jobDeclarations) { boolean jobDefinitionExists = false; for (JobDefinition jobDefinitionEntity : existingDefinitions) { if(jobDeclaration.getActivityId().equals(jobDefinitionEntity.getActivityId()) && jobDeclaration.getJobHandlerType().equals(jobDefinitionEntity.getJobType())) { jobDeclaration.setJobDefinitionId(jobDefinitionEntity.getId()); jobDefinitionExists = true; break; } } if(!jobDefinitionExists) { createJobDefinition(definition, (TimerJobDeclaration<?>) jobDeclaration); } } } }

Target:
protected void updateJobDeclarations(List<JobDeclaration<?, ?>> jobDeclarations, CaseDefinitionEntity definition, boolean isNewDeployment) { if(jobDeclarations == null || jobDeclarations.isEmpty()) { return; } final JobDefinitionManager jobDefinitionManager = getJobDefinitionManager(); if(isNewDeployment) { for(JobDeclaration<?,?> jobDeclaration:jobDeclarations){ createJobDefinition(definition, jobDeclaration); } } else { List<JobDefinitionEntity> existingDefinitions = jobDefinitionManager.findByCaseDefinitionId(definition.getId()); for (JobDeclaration<?, ?> jobDeclaration : jobDeclarations) { boolean jobDefinitionExists = false; for (JobDefinition jobDefinitionEntity : existingDefinitions) { if(jobDeclaration.getActivityId().equals(jobDefinitionEntity.getActivityId()) && jobDeclaration.getJobHandlerType().equals(jobDefinitionEntity.getJobType())) { jobDeclaration.setJobDefinitionId(jobDefinitionEntity.getId()); jobDefinitionExists = true; break; } } if(!jobDefinitionExists) { createJobDefinition(definition, jobDeclaration); } } } }
Source:
private SurveyedLocaleResponse convertToResponse(List<SurveyedLocale> slList, Long surveyId) { SurveyedLocaleResponse resp = new SurveyedLocaleResponse(); if (slList == null) { resp.setCode(String.valueOf(HttpServletResponse.SC_INTERNAL_SERVER_ERROR)); resp.setMessage("Internal Server Error"); return resp; } resp.setCode(String.valueOf(HttpServletResponse.SC_OK)); resp.setResultCount(slList.size()); List<SurveyedLocaleDto> dtoList = DataPointServlet.getSurveyedLocaleDtosList(slList, surveyId); resp.setSurveyedLocaleData(dtoList); return resp; }

Target:
private SurveyedLocaleResponse convertToResponse(List<SurveyedLocale> slList, Long surveyId) { SurveyedLocaleResponse resp = new SurveyedLocaleResponse(); if (slList == null) { resp.setCode(String.valueOf(HttpServletResponse.SC_INTERNAL_SERVER_ERROR)); resp.setMessage("Internal Server Error"); return resp; } resp.setCode(String.valueOf(HttpServletResponse.SC_OK)); resp.setResultCount(slList.size()); DataPointUtil dpu = new DataPointUtil(); List<SurveyedLocaleDto> dtoList = dpu.getSurveyedLocaleDtosList(slList, surveyId); resp.setSurveyedLocaleData(dtoList); return resp; }
Source:
protected TupleValueExpression visitInputRef(int tableIndex, int inputColumnIdx, RelDataType inputType, String tableName, String columnName) { if (tableName == null) { tableName = ""; } if (columnName == null) { columnName = String.format("%03d", inputColumnIdx); } TupleValueExpression tve = new TupleValueExpression(tableName, tableName, columnName, columnName, inputColumnIdx, inputColumnIdx); tve.setTableIndex(tableIndex); TypeConverter.setType(tve, inputType); return tve; }

Target:
TupleValueExpression visitInputRef(int tableIndex, int inputColumnIdx, RelDataType inputType, String tableName, String columnName) { if (tableName == null) { tableName = ""; } if (columnName == null) { columnName = String.format("%03d", inputColumnIdx); } TupleValueExpression tve = new TupleValueExpression(tableName, tableName, columnName, columnName, inputColumnIdx, inputColumnIdx); tve.setTableIndex(tableIndex); RexConverter.setType(tve, inputType); return tve; }
Source:
private void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { String uri = request.getPathInfo(); if (uri.startsWith("/")) { uri = uri.substring(1); } if (uri.endsWith("/")) { uri = uri.substring(0, uri.length() - 1); } String[] uriParts = Pattern.compile("/").split(uri); if (uriParts.length == 1) { chain.doFilter(request, response); return; } String myContext = uriParts[0]; String lastPart = uriParts[uriParts.length - 1]; if (lastPart.contains(".") && !lastPart.endsWith(".profile")) { chain.doFilter(request, response); return; } String subContext = uriParts[1]; for (String knownServlet : knownServlets) { if (knownServlet.equals(subContext)) { chain.doFilter(request, response); return; } } String route = ""; for (String part : uriParts) { if (!part.equals(myContext)) { route = route + "/" + part; } } LOG.debug("Accessing {}, which isn't valid, returning index.html", request.getRequestURI()); String path = request.getRequestURI(); String context = request.getContextPath(); path = path.substring(context.length()); String qs = request.getQueryString(); response.sendRedirect(request.getContextPath() + "/#" + path + (qs != null && !"".equals(qs) ? "?" + qs : "")); }

Target:
private void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { String uri = request.getRequestURI().substring(request.getContextPath().length()); if (uri.startsWith("/")) { uri = uri.substring(1); } if (uri.endsWith("/")) { uri = uri.substring(0, uri.length() - 1); } String[] uriParts = Pattern.compile("/").split(uri); if (uriParts.length == 1) { chain.doFilter(request, response); return; } String myContext = uriParts[0]; String lastPart = uriParts[uriParts.length - 1]; if (lastPart.contains(".") && !lastPart.endsWith(".profile")) { chain.doFilter(request, response); return; } String subContext = uriParts[1]; for (String knownServlet : knownServlets) { if (knownServlet.equals(subContext)) { chain.doFilter(request, response); return; } } String route = ""; for (String part : uriParts) { if (!part.equals(myContext)) { route = route + "/" + part; } } LOG.debug("Accessing {}, which isn't valid, returning index.html", request.getRequestURI()); String path = request.getRequestURI(); String context = request.getContextPath(); path = path.substring(context.length()); String qs = request.getQueryString(); response.sendRedirect(request.getContextPath() + "/#" + path + (qs != null && !"".equals(qs) ? "?" + qs : "")); }
Source:
protected void initChannel(SocketChannel ch) throws Exception { final ChannelPipeline pipeline = ch.pipeline(); SslHandler sslHandler = null; if (isClient) { sslHandler = getWaarpSslContextFactory().initInitializer(false, false); } else { sslHandler = getWaarpSslContextFactory().initInitializer(true, getWaarpSslContextFactory().needClientAuthentication()); } pipeline.addLast("ssl", sslHandler); pipeline.addLast(NetworkServerInitializer.TIMEOUT, new IdleStateHandler(0, 0, Configuration.configuration.getTIMEOUTCON(), TimeUnit.MILLISECONDS)); pipeline.addLast(NetworkServerInitializer.LIMITGLOBAL, Configuration.configuration.getGlobalTrafficShapingHandler()); pipeline.addLast(NetworkServerInitializer.LIMITCHANNEL, new ChannelTrafficShapingHandler( Configuration.configuration.getServerChannelWriteLimit(), Configuration.configuration.getServerChannelReadLimit(), Configuration.configuration.getDelayLimit())); pipeline.addLast("codec", new NetworkPacketCodec()); pipeline.addLast(Configuration.configuration.getHandlerGroup(), "handler", new NetworkSslServerHandler(!this.isClient)); }

Target:
protected void initChannel(SocketChannel ch) throws Exception { final ChannelPipeline pipeline = ch.pipeline(); SslHandler sslHandler = null; if (isClient) { sslHandler = getWaarpSslContextFactory().initInitializer(false, false); } else { sslHandler = getWaarpSslContextFactory().initInitializer(true, getWaarpSslContextFactory().needClientAuthentication()); } pipeline.addLast("ssl", sslHandler); pipeline.addLast(NetworkServerInitializer.TIMEOUT, new IdleStateHandler(0, 0, Configuration.configuration.getTIMEOUTCON(), TimeUnit.MILLISECONDS)); GlobalTrafficShapingHandler handler = Configuration.configuration.getGlobalTrafficShapingHandler(); if (handler == null) { throw new OpenR66ProtocolNetworkException( "Error at pipeline initialization," + " GlobalTrafficShapingHandler configured."); } pipeline.addLast(NetworkServerInitializer.LIMITGLOBAL, handler); pipeline.addLast(NetworkServerInitializer.LIMITCHANNEL, new ChannelTrafficShapingHandler( Configuration.configuration.getServerChannelWriteLimit(), Configuration.configuration.getServerChannelReadLimit(), Configuration.configuration.getDelayLimit())); pipeline.addLast("codec", new NetworkPacketCodec()); pipeline.addLast(Configuration.configuration.getHandlerGroup(), "handler", new NetworkSslServerHandler(!this.isClient)); }
Source:
protected void executeCommand() { if (getDisk().getDiskStorageType() == DiskStorageType.IMAGE) { DiskImage diskImage = getDiskImage(); RemoveImageParameters p = new RemoveImageParameters(diskImage.getImageId()); p.setTransactionScopeOption(TransactionScopeOption.Suppress); p.setDiskImage(diskImage); p.setParentCommand(VdcActionType.RemoveDisk); p.setRemoveDuringExecution(false); p.setEntityId(getParameters().getEntityId()); p.setParentParameters(getParameters()); p.setStorageDomainId(getParameters().getStorageDomainId()); p.setForceDelete(getParameters().getForceDelete()); if (diskImage.getstorage_ids().size() == 1) { p.setRemoveFromDB(true); } VdcReturnValueBase vdcReturnValue = Backend.getInstance().runInternalAction(VdcActionType.RemoveImage, p, ExecutionHandler.createDefaultContexForTasks(getExecutionContext(), getLock())); setLock(null); if (vdcReturnValue.getSucceeded()) { getParameters().getImagesParameters().add(p); setSucceeded(vdcReturnValue.getSucceeded()); if (vdcReturnValue.getInternalTaskIdList().isEmpty()) { endCommand(); } else { getReturnValue().getTaskIdList().addAll(vdcReturnValue.getInternalTaskIdList()); } } } else { removeLunDisk(); } }

Target:
protected void executeCommand() { if (getDisk().getDiskStorageType() == DiskStorageType.IMAGE) { DiskImage diskImage = getDiskImage(); RemoveImageParameters p = new RemoveImageParameters(diskImage.getImageId()); p.setTransactionScopeOption(TransactionScopeOption.Suppress); p.setDiskImage(diskImage); p.setParentCommand(VdcActionType.RemoveDisk); p.setRemoveDuringExecution(false); p.setEntityId(getParameters().getEntityId()); p.setParentParameters(getParameters()); p.setStorageDomainId(getParameters().getStorageDomainId()); p.setForceDelete(getParameters().getForceDelete()); if (diskImage.getStorageIds().size() == 1) { p.setRemoveFromDB(true); } VdcReturnValueBase vdcReturnValue = Backend.getInstance().runInternalAction(VdcActionType.RemoveImage, p, ExecutionHandler.createDefaultContexForTasks(getExecutionContext(), getLock())); setLock(null); if (vdcReturnValue.getSucceeded()) { getReturnValue().getTaskIdList().addAll(vdcReturnValue.getInternalTaskIdList()); setSucceeded(vdcReturnValue.getSucceeded()); if (getReturnValue().getFault().getError() == VdcBllErrors.ImageDoesNotExistInDomainError) { TransactionSupport.executeInNewTransaction(new TransactionMethod<Void>() { @Override public Void runInTransaction() { endCommand(); return null; } }); } else { getReturnValue().getTaskIdList().addAll(vdcReturnValue.getInternalTaskIdList()); } } } else { removeLunDisk(); } }
Source:
private void updateMenuItem() { if (menuItem != null && !menuItem.isDisposed() && menuExist()) { boolean enabled = removeAllWhenShown || menu.getItemCount() > 0 || getItems().length > 0; if (menuItem.getEnabled() != enabled) { Menu topMenu = menu; while (topMenu.getParentMenu() != null) { topMenu = topMenu.getParentMenu(); } if ((topMenu.getStyle() & SWT.BAR) == 0) { menuItem.setEnabled(enabled); } } } }

Target:
private void updateMenuItem() { }
Source:
public void clearPositionsHistory() throws SQLException { String histDays = config.getString("database.positionsHistoryDays"); if (histDays == null) { histDays = "7"; } int n = Integer.parseInt(histDays); for (Device device : getAllDevices()) { Date lastUpdate = device.getLastUpdate(); if(lastUpdate != null){ Date dateBefore = new Date(lastUpdate.getTime() - n * 24 * 3600 * 1000 ); String sql = "DELETE FROM positions WHERE deviceid=:deviceId and servertime<:serverTime"; QueryBuilder.create(dataSource, sql) .setLong("deviceId", device.getId()) .setDate("serverTime", dateBefore) .executeUpdate(); } } }

Target:
public void clearPositionsHistory() throws SQLException { int histDays = config.getInteger("database.positionsHistoryDays"); if (histDays == 0) { return; } String sql = getQuery("database.clearPositionsHistory"); if (sql == null) { return; } for (Device device : getAllDevices()) { Date lastUpdate = device.getLastUpdate(); if (lastUpdate != null) { Date dateBefore = new Date(lastUpdate.getTime() - histDays * 24 * 3600 * 1000); QueryBuilder.create(dataSource, sql) .setLong("positionId", device.getPositionId()) .setLong("deviceId", device.getId()) .setDate("serverTime", dateBefore) .executeUpdate(); } } }
Source:
private boolean isDateSelectable(Date date) { if (isCheckDayInSelectableCals && !containsDate(selectableCals, date)) return false; return dateConfiguredListener == null || dateConfiguredListener.isDateSelectable(date); }

Target:
private boolean isDateSelectable(Date date) { if (isCheckDayInSelectableCals && !containsDate(selectableCals, date)) { return false; } return dateConfiguredListener == null || dateConfiguredListener.isDateSelectable(date); }
Source:
public static void main(String[] args) throws Exception { List<String> tmpArgs = new ArrayList<String>(Arrays.asList(args)); args = tmpArgs.toArray(new String[0]); StringBuilder cliString = new StringBuilder(); for (int i = 0; i < args.length; i++) { cliString.append(" ").append(args[i]); } logger.debug("Command line string = {}", cliString.toString()); System.out.println("Command line string = " + cliString.toString()); Task task; try { task = ClassOption.cliStringToObject(cliString.toString(), Task.class, null); logger.debug("Successfully instantiating {}", task.getClass().getCanonicalName()); } catch (Exception e) { logger.error("Failed to initialize the task: ", e); System.out.println("Failed to initialize the task: " + e); return; } StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); logger.debug("Creating the factory\n"); task.setFactory(new FlinkComponentFactory(env)); logger.debug("Going to initialize the task\n"); task.init(); circles = extractTopologyGraph((FlinkTopology) task.getTopology()); logger.debug("Going to build the topology\n"); ((FlinkTopology) task.getTopology()).build(); logger.debug("Execute environment\n"); env.execute(); }

Target:
public static void main(String[] args) throws Exception { List<String> tmpArgs = new ArrayList<String>(Arrays.asList(args)); args = tmpArgs.toArray(new String[0]); StringBuilder cliString = new StringBuilder(); for (int i = 0; i < args.length; i++) { cliString.append(" ").append(args[i]); } logger.debug("Command line string = {}", cliString.toString()); System.out.println("Command line string = " + cliString.toString()); Task task; try { task = ClassOption.cliStringToObject(cliString.toString(), Task.class, null); logger.debug("Successfully instantiating {}", task.getClass().getCanonicalName()); } catch (Exception e) { logger.error("Failed to initialize the task: ", e); System.out.println("Failed to initialize the task: " + e); return; } StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); task.setFactory(new FlinkComponentFactory(env)); task.init(); logger.debug("Building Flink topology..."); ((FlinkTopology) task.getTopology()).build(); logger.debug("Submitting the job..."); env.execute(); }
Source:
public VolumeImpl(Volume value) { if (value != null) { path = value.getPath(); } else { path = null; } }

Target:
public VolumeImpl(Volume value) { path = value.getPath(); }
Source:
public String getRemoteAddr() { return HostUtils.getIpAddress(); }

Target:
public String getRemoteAddr() { return ResteasyProviderFactory.getContextData(HttpServletRequest.class).getRemoteAddr(); }
Source:
public long getCurrentStartTime() { long currentStart = Long.MAX_VALUE; for (Stream stream : fStreams.values()) { for (StreamInput si : stream.getStreamInputs()) { currentStart = Math.min(currentStart, si.getIndex().getEntries().get(0).getTimestampBegin()); } } return timestampCyclesToNanos(currentStart); }

Target:
public long getCurrentStartTime() { long currentStart = Long.MAX_VALUE; for (CTFStream stream : fStreams.values()) { for (CTFStreamInput si : stream.getStreamInputs()) { currentStart = Math.min(currentStart, si.getIndex().getEntries().get(0).getTimestampBegin()); } } return timestampCyclesToNanos(currentStart); }
Source:
private ImmutableList<JavaFileScannerContext.Location> methodInvocationFlow(Constraint learnedConstraint, ExplodedGraph.Edge edge) { ExplodedGraph.Node parent = edge.parent; MethodInvocationTree mit = (MethodInvocationTree) parent.programPoint.syntaxTree(); ImmutableList.Builder<JavaFileScannerContext.Location> flowBuilder = ImmutableList.builder(); SymbolicValue returnSV = edge.child.programState.peekValue(); if (symbolicValues.contains(returnSV)) { flowBuilder.add(location(parent, String.format("'%s()' returns %s.", mit.symbol().name(), learnedConstraint.valueAsString()))); } SymbolicValue invocationTarget = parent.programState.peekValue(mit.arguments().size()); if (symbolicValues.contains(invocationTarget)) { flowBuilder.add(location(parent, "...")); } List<Integer> argumentIndices = correspondingArgumentIndices(symbolicValues, parent); argumentIndices.stream() .map(mit.arguments()::get) .map(argTree -> { String message = String.format("Implies '%s' is %s.", SyntaxTreeNameFinder.getName(argTree), learnedConstraint.valueAsString()); return new JavaFileScannerContext.Location(message, argTree); }) .forEach(flowBuilder::add); MethodYield selectedMethodYield = edge.child.selectedMethodYield(parent); if (selectedMethodYield != null) { if (symbolicValues.contains(returnSV)) { argumentIndices.add(-1); } selectedMethodYield.flow(argumentIndices, domains).stream() .limit(1) .flatMap(List::stream) .forEach(flowBuilder::add); } return flowBuilder.build(); }

Target:
private List<JavaFileScannerContext.Location> methodInvocationFlow(Constraint learnedConstraint, ExplodedGraph.Edge edge) { ExplodedGraph.Node parent = edge.parent; MethodInvocationTree mit = (MethodInvocationTree) parent.programPoint.syntaxTree(); ImmutableList.Builder<JavaFileScannerContext.Location> flowBuilder = ImmutableList.builder(); SymbolicValue returnSV = edge.child.programState.peekValue(); if (symbolicValues.contains(returnSV)) { flowBuilder.add(location(parent, String.format("'%s()' returns %s.", mit.symbol().name(), learnedConstraint.valueAsString()))); } SymbolicValue invocationTarget = parent.programState.peekValue(mit.arguments().size()); if (symbolicValues.contains(invocationTarget)) { flowBuilder.add(location(parent, "...")); } List<Integer> argumentIndices = correspondingArgumentIndices(symbolicValues, parent); argumentIndices.stream() .map(mit.arguments()::get) .map(argTree -> { String message = String.format("Implies '%s' is %s.", SyntaxTreeNameFinder.getName(argTree), learnedConstraint.valueAsString()); return new JavaFileScannerContext.Location(message, argTree); }) .forEach(flowBuilder::add); return flowBuilder.build(); }
Source:
public Set<Item> getAllMembers() { Set<Item> allMembers = new HashSet<Item>(); collectMembers(allMembers, members, false); return ImmutableSet.copyOf(allMembers); }

Target:
public Set<Item> getAllMembers() { return ImmutableSet.copyOf(getMembers((Item i) -> !(i instanceof GroupItem))); }
Source:
private String getRawString(final String section, final String subsection, final String name) { String[] lst = getRawStringList(section, subsection, name); if (lst != null) return lst[lst.length - 1]; else if (baseConfig != null) return baseConfig.getRawString(section, subsection, name); else return null; }

Target:
private String getRawString(final String section, final String subsection, final String name) { String[] lst = getRawStringList(section, subsection, name); if (lst != null) { return lst[lst.length - 1]; } else if (baseConfig != null) { return baseConfig.getRawString(section, subsection, name); } else { return null; } }
Source:
public static NIC map(VmNetworkInterface entity, NIC template) { NIC model = template != null ? template : new NIC(); if (entity.getVmId() != null) { model.setVm(new VM()); model.getVm().setId(entity.getVmId().toString()); } if (entity.getId() != null) { model.setId(entity.getId().toString()); } if (entity.getName() != null) { model.setName(entity.getName()); } if (entity.getMacAddress() != null) { model.setMac(new MAC()); model.getMac().setAddress(entity.getMacAddress()); } if (entity.getNetworkName() != null) { model.setNetwork(new Network()); model.getNetwork().setName(entity.getNetworkName()); } if (entity.isPortMirroring()) { PortMirroring portMirroring = new PortMirroring(); Networks networks = new Networks(); Network net = new Network(); portMirroring.setNetworks(networks); portMirroring.getNetworks().getNetworks().add(net); model.setPortMirroring(portMirroring); } model.setInterface(map(entity.getType())); model.setActive(entity.isActive()); return model; }

Target:
public static NIC map(VmNetworkInterface entity, NIC template) { NIC model = template != null ? template : new NIC(); if (entity.getVmId() != null) { model.setVm(new VM()); model.getVm().setId(entity.getVmId().toString()); } if (entity.getId() != null) { model.setId(entity.getId().toString()); } if (entity.getName() != null) { model.setName(entity.getName()); } if (entity.getMacAddress() != null) { model.setMac(new MAC()); model.getMac().setAddress(entity.getMacAddress()); } if (entity.getNetworkName() != null) { model.setNetwork(new Network()); model.getNetwork().setName(entity.getNetworkName()); } model.setInterface(map(entity.getType())); model.setActive(entity.isActive()); return model; }
Source:
public void onTraversalStart() { Utils.regularReadableUserFile(truth); variantStatusWriter = VariantStatusRecord.getWriter(table); SAMSequenceDictionary dictionary = getSequenceDictionaryForDrivingVariants(); variantContextComparator = new VariantContextComparator(dictionary); if (! getHeaderForVariants().getSampleNamesInOrder().contains(evalSampleName)){ throw new IllegalArgumentException(String.format("the eval sample %s does not exist in vcf", evalSampleName)); } final FeatureDataSource<VariantContext> truthSource = new FeatureDataSource<>(truth); truthIterator = truthSource.iterator(); currentTruthVariant = getNextNonSVTruthVariant(); }

Target:
public void onTraversalStart() { Utils.regularReadableUserFile(truth); Utils.validateArg(getHeaderForVariants().getSampleNamesInOrder().contains(evalSampleName), String.format("the eval sample %s does not exist in vcf", evalSampleName)); variantStatusWriter = VariantStatusRecord.getWriter(table); SAMSequenceDictionary dictionary = getSequenceDictionaryForDrivingVariants(); variantContextComparator = new VariantContextComparator(dictionary); final FeatureDataSource<VariantContext> truthSource = new FeatureDataSource<>(truth); numVariantsInTruth = truthSource.spliterator().getExactSizeIfKnown(); truthIterator = new FilterIterator<>(truthSource.iterator(), vc -> ! vc.isSymbolicOrSV()); if (truthIterator.hasNext()){ currentTruthVariant = truthIterator.next(); } else { throw new UserException(String.format("truth file %s does not have any variants", truth.toString())); } }
Source:
private void stateResolveFragConstraints(ResolverBundle rb) { ResolverBundle host = (ResolverBundle) rb.getHost().getSelectedSupplier(); ImportPackageSpecification[] imports = rb.getBundleDescription().getImportPackages(); for (ImportPackageSpecification import1 : imports) { ResolverImport hostImport = host == null ? null : host.getImport(import1.getName()); ResolverExport export = (ResolverExport) (hostImport == null ? null : hostImport.getSelectedSupplier()); BaseDescription supplier = export == null ? null : export.getExportPackageDescription(); state.resolveConstraint(import1, supplier); } BundleSpecification[] requires = rb.getBundleDescription().getRequiredBundles(); for (BundleSpecification require : requires) { BundleConstraint hostRequire = host == null ? null : host.getRequire(require.getName()); ResolverBundle bundle = (ResolverBundle) (hostRequire == null ? null : hostRequire.getSelectedSupplier()); BaseDescription supplier = bundle == null ? null : bundle.getBundleDescription(); state.resolveConstraint(require, supplier); } GenericConstraint[] genericRequires = rb.getGenericRequires(); for (GenericConstraint genericRequire : genericRequires) { VersionSupplier[] matchingCapabilities = genericRequire.getMatchingCapabilities(); if (matchingCapabilities == null) { state.resolveConstraint(genericRequire.getVersionConstraint(), null); } else { for (VersionSupplier matchingCapabilitie : matchingCapabilities) { state.resolveConstraint(genericRequire.getVersionConstraint(), matchingCapabilitie.getBaseDescription()); } } } }

Target:
private void stateResolveFragConstraints(ResolverBundle rb) { ResolverBundle host = (ResolverBundle) rb.getHost().getSelectedSupplier(); ImportPackageSpecification[] imports = rb.getBundleDescription().getImportPackages(); for (ImportPackageSpecification importSpecification : imports) { ResolverImport hostImport = host == null ? null : host.getImport(importSpecification.getName()); ResolverExport export = (ResolverExport) (hostImport == null ? null : hostImport.getSelectedSupplier()); BaseDescription supplier = export == null ? null : export.getExportPackageDescription(); state.resolveConstraint(importSpecification, supplier); } BundleSpecification[] requires = rb.getBundleDescription().getRequiredBundles(); for (BundleSpecification require : requires) { BundleConstraint hostRequire = host == null ? null : host.getRequire(require.getName()); ResolverBundle bundle = (ResolverBundle) (hostRequire == null ? null : hostRequire.getSelectedSupplier()); BaseDescription supplier = bundle == null ? null : bundle.getBundleDescription(); state.resolveConstraint(require, supplier); } GenericConstraint[] genericRequires = rb.getGenericRequires(); for (GenericConstraint genericRequire : genericRequires) { VersionSupplier[] matchingCapabilities = genericRequire.getMatchingCapabilities(); if (matchingCapabilities == null) { state.resolveConstraint(genericRequire.getVersionConstraint(), null); } else { for (VersionSupplier matchingCapabilitie : matchingCapabilities) { state.resolveConstraint(genericRequire.getVersionConstraint(), matchingCapabilitie.getBaseDescription()); } } } }
Source:
public synchronized void execDistributedImmediately(@NonNull TrainingMessage message) { transport.sendMessageToAllShards(message); }

Target:
public void execDistributedImmediately(@NonNull TrainingMessage message) { transport.sendMessageToAllShards(message); }
Source:
public Class[] getAdapterList() { return new Class[] { CMLMolecule.class }; }

Target:
public Class[] getAdapterList() { return new Class[] { ICDKMolecule.class }; }
Source:
public void testDescriptiveInXemblyLog() throws Exception { final Time scheduled = new Time(); final Instance origin = Mockito.mock(Instance.class); Mockito.doAnswer( new Answer<Void>() { @Override public Void answer(final InvocationOnMock inv) throws Exception { return null; } } ).when(origin).pulse(); final Work work = Mockito.mock(Work.class); Mockito.doAnswer( new Answer<URI>() { @Override public URI answer(final InvocationOnMock inv) throws Exception { return URI.create("urn:facebook:1"); } } ).when(work).stdout(); Mockito.doAnswer( new Answer<Time>() { @Override public Time answer(final InvocationOnMock inv) throws Exception { return scheduled; } } ).when(work).scheduled(); Mockito.doAnswer( new Answer<URN>() { @Override public URN answer(final InvocationOnMock inv) throws Exception { return URN.create("urn:facebook:2"); } } ).when(work).owner(); Mockito.doAnswer( new Answer<String>() { @Override public String answer(final InvocationOnMock inv) throws Exception { return "test-rule"; } } ).when(work).rule(); final Descriptive descriptive = new Descriptive( work, origin ); descriptive.pulse(); Mockito.verify(origin, Mockito.times(1)).pulse(); Mockito.verify(work, Mockito.times(1)).rule(); Mockito.verify(work, Mockito.times(1)).scheduled(); Mockito.verify(work, Mockito.times(1)).stdout(); Mockito.verify(work, Mockito.times(1)).owner(); }

Target:
public void testDescriptiveInXemblyLog() throws Exception { final Time scheduled = new Time(); final Instance origin = Mockito.mock(Instance.class); final Work work = Mockito.mock(Work.class); Mockito.doReturn(URI.create("urn:facebook:1")).when(work).stdout(); Mockito.doReturn(scheduled).when(work).scheduled(); Mockito.doReturn(URN.create("urn:facebook:2")).when(work).owner(); Mockito.doReturn("test-rule").when(work).rule(); final Descriptive descriptive = new Descriptive( work, origin ); descriptive.pulse(); Mockito.verify(origin).pulse(); Mockito.verify(work).rule(); Mockito.verify(work).scheduled(); Mockito.verify(work).stdout(); Mockito.verify(work).owner(); }
Source:
static public MatrixLib createRowVector(double... args) { double[][] ary = new double[1][args.length]; for (int i = 0; i < args.length; i++) { ary[0][i] = args[i]; } return MatrixFactory.fromArray(ary); }

Target:
static public MatrixLib createRowVector(double... args) { double[][] ary = new double[1][args.length]; System.arraycopy(args, 0, ary[0], 0, args.length); return MatrixFactory.fromArray(ary); }
Source:
private void testSearch() { ______TS("search for nothing"); String searchContent = ""; searchPage.inputSearchContent(searchContent); searchPage.clickSearchButton(); assertTrue(isPageTitleCorrect()); assertTrue(isSearchPanelPresent()); assertTrue(isEmptyKeyErrorMessageShown()); ______TS("search for student1"); searchPage.clearSearchBox(); searchContent = "student1"; searchPage.inputSearchContent(searchContent); searchPage.clickSearchButton(); assertTrue(isSearchPanelPresent()); assertTrue(isSearchDataDisplayCorrect()); ______TS("search for studentNameWithSpecialCharacters"); searchPage.clearSearchBox(); searchContent = "student(1)"; searchPage.inputSearchContent(searchContent); searchPage.clickSearchButton(); assertTrue(isSearchPanelPresent()); assertTrue(isSearchDataDisplayCorrect()); }

Target:
private void testSearch() { ______TS("search for nothing"); String searchContent = ""; searchPage.inputSearchContent(searchContent); searchPage.clickSearchButton(); assertTrue(isPageTitleCorrect()); assertTrue(isSearchPanelPresent()); assertTrue(isEmptyKeyErrorMessageShown()); ______TS("search for student1"); searchPage.clearSearchBox(); searchContent = "student1"; searchPage.inputSearchContent(searchContent); searchPage.clickSearchButton(); assertTrue(isSearchPanelPresent()); assertTrue(isSearchDataDisplayCorrect()); ______TS("search for student name with special characters"); searchPage.clearSearchBox(); searchContent = "student(1)"; searchPage.inputSearchContent(searchContent); searchPage.clickSearchButton(); assertTrue(isSearchPanelPresent()); assertTrue(isSearchDataDisplayCorrect()); }
Source:
public static Mode getMode(Run run) { return Optional.ofNullable(run.get(LaunchUtils.Mode.class.getName())) .map(s -> valueOf(s)) .orElse(UNSET); }

Target:
public static Mode getMode(Run run) { return Optional.ofNullable(run.get(LaunchUtils.Mode.class.getName())) .map(Mode::valueOf) .orElse(UNSET); }
Source:
public void copyInitialState(Path origAppDir) throws IOException { String newAppDir = this.dag.assertAppPath(); FSRecoveryHandler recoveryHandler = new FSRecoveryHandler(origAppDir.toString(), conf); Object snapshot = recoveryHandler.restore(); if (snapshot == null) { throw new IllegalArgumentException("No previous application state found in " + origAppDir); } InputStream logIs = recoveryHandler.getLog(); ((StreamingContainerManager.CheckpointState)snapshot).setApplicationId(this.dag, conf); Path checkpointPath = new Path(newAppDir, LogicalPlan.SUBDIR_CHECKPOINTS); FileSystem fs = FileSystem.newInstance(origAppDir.toUri(), conf); fs.delete(checkpointPath, true); recoveryHandler = new FSRecoveryHandler(newAppDir, conf); recoveryHandler.save(snapshot); OutputStream logOs = recoveryHandler.rotateLog(); IOUtils.copy(logIs, logOs); logOs.flush(); logOs.close(); logIs.close(); FileStatus[] lFiles = fs.listStatus(origAppDir); for (FileStatus f : lFiles) { if (f.isDirectory()) { String targetPath = f.getPath().toString().replace(" if (!fs.exists(new Path(targetPath))) { LOG.debug("Copying to {}", f.getPath(), targetPath); FileUtil.copy(fs, f.getPath(), fs, new Path(targetPath), false, conf); } else { LOG.debug("Ignoring as it already exists under {}", f.getPath(), targetPath); } } } }

Target:
public void copyInitialState(Path origAppDir) throws IOException { String newAppDir = this.dag.assertAppPath(); FSRecoveryHandler recoveryHandler = new FSRecoveryHandler(origAppDir.toString(), conf); Object snapshot = recoveryHandler.restore(); if (snapshot == null) { throw new IllegalArgumentException("No previous application state found in " + origAppDir); } InputStream logIs = recoveryHandler.getLog(); ((StreamingContainerManager.CheckpointState)snapshot).setApplicationId(this.dag, conf); Path checkpointPath = new Path(newAppDir, LogicalPlan.SUBDIR_CHECKPOINTS); FileSystem fs = FileSystem.newInstance(origAppDir.toUri(), conf); fs.delete(checkpointPath, true); recoveryHandler = new FSRecoveryHandler(newAppDir, conf); recoveryHandler.save(snapshot); OutputStream logOs = recoveryHandler.rotateLog(); IOUtils.copy(logIs, logOs); logOs.flush(); logOs.close(); logIs.close(); FileStatus[] lFiles = fs.listStatus(origAppDir); String origAppDirPath = Path.getPathWithoutSchemeAndAuthority(origAppDir).toString(); String newAppDirPath = Path.getPathWithoutSchemeAndAuthority(new Path(newAppDir)).toString(); for (FileStatus f : lFiles) { if (f.isDirectory()) { String targetPath = f.getPath().toString().replace(origAppDirPath, newAppDirPath); if (!fs.exists(new Path(targetPath))) { LOG.debug("Copying to {}", f.getPath(), targetPath); FileUtil.copy(fs, f.getPath(), fs, new Path(targetPath), false, conf); } else { LOG.debug("Ignoring as it already exists under {}", f.getPath(), targetPath); } } } }
Source:
public void testRandomSublist() { final Random random = new Random(); final List<Integer> list = new ArrayList<>(); list.add(1); list.add(2); list.add(3); Assert.assertEquals(list, MathUtil.randomSublist(list, 3, random)); Assert.assertEquals(list, MathUtil.randomSublist(list, 4, random)); Assert.assertEquals(MathUtil.randomSublist(list, 2, random).size(), 2); }

Target:
public void testRandomSublist() { final Random random = new Random(); final List<Integer> list = Arrays.asList(1,2,3); Assert.assertEquals(list, MathUtil.randomSublist(list, 3, random)); Assert.assertEquals(list, MathUtil.randomSublist(list, 4, random)); Assert.assertEquals(MathUtil.randomSublist(list, 2, random).size(), 2); }
Source:
private String readInteractively(String prompt, boolean isPassword) { String value = null; while (StringUtils.isBlank(value)) { System.out.print(prompt); if (isPassword) { value = new String(System.console().readPassword()); } else { value = System.console().readLine(); } } return value; }

Target:
private String readInteractively(String prompt, boolean isPassword) { String value = null; while (StringUtils.isBlank(value)) { if (isPassword) { value = new String(System.console().readPassword(prompt)); } else { value = System.console().readLine(prompt); } } return value; }
Source:
public void testSerialization() { assertThat(storage.getKeys().size(), is(0)); storage.put("Key1", new PersistedItem("String", Arrays.asList("LIGHT", "GROUND_FLOOR"))); storage.put("Key2", new PersistedItem("Number", Arrays.asList("TEMPERATURE", "OUTSIDE"))); assertThat(storage.getKeys().size(), is(2)); storage.get("Key1"); storage.remove("Key1"); storage.remove("Key2"); assertThat(storage.getKeys().size(), is(0)); }

Target:
public void testSerialization() { assertThat(storage.getKeys().size(), is(0)); storage.put("Key1", new PersistedItem("String", Arrays.asList("LIGHT", "GROUND_FLOOR"))); storage.put("Key2", new PersistedItem("Number", Arrays.asList("TEMPERATURE", "OUTSIDE"))); assertThat(storage.getKeys().size(), is(2)); storage.remove("Key1"); storage.remove("Key2"); assertThat(storage.getKeys().size(), is(0)); }
Source:
protected void addVmGraphicsOptions(Map<GraphicsType, GraphicsInfo> infos, Map<String, Object> params, boolean legacyNames) { if (infos != null && infos.containsKey(GraphicsType.SPICE)) { params.put(VdsProperties.spiceFileTransferEnable, Boolean.toString(vm.isSpiceFileTransferEnabled())); params.put(VdsProperties.spiceCopyPasteEnable, Boolean.toString(vm.isSpiceCopyPasteEnabled())); if (Config.<Boolean>getValue(ConfigValues.SSLEnabled)) { params.put(VdsProperties.spiceSslCipherSuite, Config.<String>getValue(ConfigValues.CipherSuite)); params.put(VdsProperties.SpiceSecureChannels, Config.<String>getValue( ConfigValues.SpiceSecureChannels, vm.getCompatibilityVersion().toString())); } } if (infos != null && infos.containsKey(GraphicsType.VNC)) { String keyboardLayout = vm.getDynamicData().getVncKeyboardLayout(); if (keyboardLayout == null) { keyboardLayout = vm.getDefaultVncKeyboardLayout(); if (keyboardLayout == null) { keyboardLayout = Config.<String> getValue(ConfigValues.VncKeyboardLayout); } } if (legacyNames) { params.put(VdsProperties.KeyboardLayout, keyboardLayout); } else { params.put(VdsProperties.KeyboardMap, keyboardLayout); } params.put(VdsProperties.TabletEnable, "true"); } }

Target:
protected void addVmGraphicsOptions(Map<GraphicsType, GraphicsInfo> infos, Map<String, Object> params, boolean legacyNames) { if (infos != null && infos.containsKey(GraphicsType.SPICE)) { params.put(VdsProperties.spiceFileTransferEnable, Boolean.toString(vm.isSpiceFileTransferEnabled())); params.put(VdsProperties.spiceCopyPasteEnable, Boolean.toString(vm.isSpiceCopyPasteEnabled())); if (Config.<Boolean>getValue(ConfigValues.SSLEnabled)) { params.put(VdsProperties.spiceSslCipherSuite, Config.<String>getValue(ConfigValues.CipherSuite)); params.put(VdsProperties.SpiceSecureChannels, Config.<String>getValue( ConfigValues.SpiceSecureChannels, vm.getCompatibilityVersion().toString())); } } if (infos != null && infos.containsKey(GraphicsType.VNC)) { String keyboardLayout = vm.getDynamicData().getVncKeyboardLayout(); if (keyboardLayout == null) { keyboardLayout = vm.getDefaultVncKeyboardLayout(); if (keyboardLayout == null) { keyboardLayout = Config.<String> getValue(ConfigValues.VncKeyboardLayout); } } if (legacyNames) { params.put(VdsProperties.KeyboardLayout, keyboardLayout); } else { params.put(VdsProperties.KeyboardMap, keyboardLayout); } } }
Source:
public String errString() { return RawParseUtils.decode(err.toByteArray()); }

Target:
public String errString() { return new String(err.toByteArray(), UTF_8); }