query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Positive test case for createComment with mandatory parameters. | @Test(dependsOnMethods = {"testCreatePostWithMandatoryParameters"}, groups = {"wso2.esb"}, description = "wordpress {createComment} integration test with mandatory parameters.")
public void testCreateCommentWithMandatoryParameters() throws Exception {
esbRequestHeadersMap.put("Action", "urn:createComment")... | [
"public void createComment(Comment comment) {\n\t\t\n\t}",
"public void testCommentCreation() {\n\t\tCommentModel testComment = new CommentModel();\n\t\tassertNotNull(\"Comment is not created\", testComment);\n\t}",
"public void create(Comment comment) {\n\tif (comment.getCommentId() == -1L)\n\t comment.setC... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
count using the inclusionexclusion principle | long countInEx() {
long[][] bc = binomialCoefficient(k, MOD);
long res = fact[n];
for (int i = 1; i < k + 1; i++) {
if (i % 2 == 0) {
res += bc[k][i] * fact[n - i];
} else {
res -= (bc[k][i] * fact[n - i]) % MOD;
res += MOD;
}
res %= MOD;
}
return re... | [
"int getMissingCount();",
"long count(S criteria) throws NineGoldException;",
"int getAnyOfCount();",
"int distinctCount();",
"int getSasCount();",
"int getMaintenanceExclusionsCount();",
"long distinctCount();",
"public abstract int countNegativesForCycle();",
"abstract public long getTotalCount();... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Build a notification using bytesRead and contentLength | @NonNull
private ForegroundInfo createForegroundInfo(@NonNull String progress) {
Context context = getApplicationContext();
String title = "PROGRESS";
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
createNotificationChannel();
}
Notification notification... | [
"@Override\n public long bytesRead() {\n return messageReader.bytesRead();\n }",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\twhile (true) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tbyte[] reBuf = new byte[1024];\r\n\t\t\t\t\t\tint size = reMsg.read(reBuf);\r\n\t\t\t\t\t\tfo.write(reBuf, 0, size);\r\n\t\t\t\t\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Modifies this component (called by SCR to update this component) | @Modified
protected void modified(final BundleContext bundleContext, final StringInterpolationProviderConfiguration config) {
this.activate(bundleContext, config);
} | [
"protected void update() {\n\t}",
"public void update() {\n updateInternal();\n }",
"protected void update() {\n\n }",
"public void update()\n {\n }",
"private void update() {\n\r\n\t}",
"@Override\r\n\tpublic void update() {\r\n\t\tupdateAssignments();\r\n\t\tupdateContainerM... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Open my reservations activity | private void openMyReservations() {
Intent myReservationsIntent = new Intent(MakeReservationActivity.this, MyReservationsActivity.class);
startActivity(myReservationsIntent);
} | [
"@Override\n public void onClick(View v) {\n Reservation reservation = reservations.get(reservationViewHolder.getAdapterPosition());\n Intent i = new Intent(v.getContext(), UserActivityShowReservationDetails.class);\n i.putExtra(\"offerID\", reservation.getOff... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method corresponds to the database table user_collect | int updateByPrimaryKey(UserCollect record); | [
"@Select({\n \"select\",\n \"id, create_date, update_date, account, password, name, email, phone, inst_id, \",\n \"inst_name, mobile, user_type, login_ip, login_date, login_flag, create_by, update_by, \",\n \"remarks, del_flag, disabled, user_no, avatar_id\",\n \"from sys_user\",\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns string representation of MainCont | public String toString(){
return "[Main Controller instance]";
} | [
"public String toString() {\n\t\treturn \"ContaSimples \" + super.toString();\n\t}",
"public static String getMainText(Context context) { return currentState.getMainText(context); }",
"@Override\n public String toString() {\n if (data.equals(\"root\")) {\n return conj;\n } else {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create an instance of ImageSave to pass the image data into The image data is retrieved from the camera surface using acquireNextImage() | @Override
public void onImageAvailable(ImageReader imageReader) {
ImageSave imageSave = new ImageSave(reader.acquireNextImage());
// Put the ImageSave class onto the background thread
mBackgroundHandler.post(imageSave);
} | [
"@Override\r\n public void save() {\n String newImageName = newImageVolumeName; //todo\r\n log.debug(name + \": New image name\" + newImageName + \"; Saving image: \" + imageId);\r\n setState(SaveState.Creating_Image);\r\n newImageSnapsho... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Resolve references against the document's URI. | public InputStream getSupportFileStream(String path) throws IOException {
if (path == null) {
String message = Logging.getMessage("nullValue.FilePathIsNull");
Logging.error(message);
throw new IllegalArgumentException(message);
}
String ref = this.getSupportFilePath(path);
if (ref != null) {
URL ur... | [
"Document resolve(String url);",
"public static URI resolve(URI baseURI, URI reference)\n/* */ {\n/* 183 */ if (baseURI == null) {\n/* 184 */ throw new IllegalArgumentException(\"Base URI may nor be null\");\n/* */ }\n/* 186 */ if (reference == null) {\n/* 187 */ throw new Illega... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method switch the to frame using frame Name. | public void switchToFrameByName(String nameValue) {
getDriver().switchTo().frame(nameValue);
} | [
"public void switchToFrame(String frameName) {\r\n\t\r\n\tdriver.switchTo().frame(frameName);\r\n\tlog.info(\"driver switched to frame\");\r\n\t}",
"@Override\n\tpublic void switchToFrameName(String frameName) {\n\t\twaitDriver.waitAndSwitchToFrame(frameName, getWebdriver());\n\t\twebdriver.switchTo().frame(frame... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retorna el valor de la propiedad correo | public String getCorreo() {
return this.correo;
} | [
"public String obtener_correo(){ return correo; }",
"public String getCorreo();",
"public String getCorreo ()\r\n {\r\n return this.correo;\r\n }",
"public String getCorreo()\n\t{\n\t\treturn Correo;\n\t}",
"public String getCorreo(){\r\n return Correo;\r\n }",
"public String getCorre... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Provides a 2Dposition for each variable. If no mapping is given, a simple grid position is computed. | protected Point2D getPosition(VAR var) {
int[] pos = positionMapping.get(var);
if (pos != null)
return new Point2D(pos[0], pos[1]);
else {
int vIndex = csp.indexOf(var);
int rows = Math.max((int) (pane.getHeight() / 100), 1);
int x = (vIndex / rows... | [
"Position getPosition(int x, int y) {\n return environmentMap[y][x];\n }",
"public abstract Vector2d mapPosition(Vector2d position);",
"Position2D getPositionOf(Figure figure);",
"void setMapCoordiantes(double x, double y);",
"@Override\r\n\tprotected void findEveryUniformVariable(){\n\t\tlocation_proje... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
txtTest = new javax.swing.JTextField();
txtTest.setText("jTextField1");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout... | [
"public StForm() {\n initComponents();\n }",
"public CineForm() {\n initComponents();\n }",
"public javaform() {\n initComponents();\n }",
"public EditDemographicForm() {\n initComponents();\n }",
"public FightForm() {\n initComponents();\n }",
"public For... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
User clicked "Discard" button, close the current activity. | @Override
public void onClick(DialogInterface dialogInterface, int i) {
finish();
} | [
"public void cancelClick(View view) {\n finish();\n }",
"public void onDiscardTrackedActivity(View v) {\n\n\t\t//If the user is sure they want to discard this activity, the user is safely taken back to the\n\t\t//main menu, stopping the service and losing the tracked session\n\t\tDialogInterface.OnClick... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get a book title by book id | @GetMapping("/books/{bookId}")
public ResponseEntity<Book> getBookById(@PathVariable long bookId, HttpServletResponse response) {
try {
return new ResponseEntity<Book>(bookService.getBookById(bookId), OK);
} catch (Exception exc) {
throw new ResponseStatusException(
... | [
"public static String getTitleByID(int id) {\n\t\tfor (Book s : theBooks) {\n\t\t\tif (s.getId() == id) {\n\t\t\t\treturn s.getTitle();\n\t\t\t}\n\t\t}\n\n\t\treturn \"book not found\";\n\t}",
"Book getBook(String title);",
"public Book getBookById(long id);",
"public String getTitle(String id){\n Stri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adauga meniului(arraylistului) un produs nou care poate fi ori base product ori composite product. Cand se adauga produsul este parcurs si arraylistul pentru a face verificarea daca acesta se regaseste deja in meniu sau nu. | @Override
public void createMenuItem(String name,String type,double price,ArrayList<MenuItem> components) {
assert isWellFormed();
assert !name.equals("");
int ok=1;
if(type.equals("base")) {
for (MenuItem x:items) {
if(name.equals(x.getName()))
... | [
"protected abstract void addAllParts(int indent, List<Product> list);",
"public ArrayList<Adicional> darListaDeAdicionales(int posicionDelCodigoDelProducto) {\r\n //nueva lista de Adicionales que se anadira a los nuevos productos\r\n ArrayList<Adicional> nuevaListaDeAdicionales;\r\n if (posic... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Created by TW on 2017/8/25. | public interface GoodsDao {
@Select("SELECT g.id, g.NAME, g.caption, g.image, g.price FROM xx_goods g LEFT JOIN " +
" xx_product_category p on g.product_category = p.id LEFT JOIN xx_goods_tag t on g.id=t.goods " +
" where p.tree_path LIKE ',${categoryId},%' AND t.tags = 3 and g.is_marketabl... | [
"@Override\n public void extornar() {\n \n }",
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"private static void EX5() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n public int utilite() {\n ret... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
selecting multiple students String query = "select from student"; List students = this.jdbctemplate.query(query); | public List<student> getsAllstudents() {
return Arrays.asList(new student());
} | [
"@Override\r\n\tpublic List<String> selectAllStudentName() {\n\t\tString sql = \"select name from mybatis.students \";\r\n\t\tList<String> list = this.getJdbcTemplate().queryForList(sql,String.class);\r\n\t\treturn list;\r\n\t}",
"@Override\n\tpublic List<Student> getAllStudent() throws SQLException {\n\t\tConnec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns an instance of data type 'Completed Task Index' corresponding the given literal. | IndexedCollection<CompletedTask> createCompletedTaskIndex(String literal); | [
"public String completeTask(int idx) throws InvalidIndexException {\n if (idx < 0 || idx >= this.items.size()) {\n throw new InvalidIndexException();\n }\n Task t = this.items.get(idx);\n t.complete();\n return String.format(Ui.COMPLETE_TASK_MESSAGE, t);\n }",
"xap... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void onClick(View arg0) {
Intent intent = new Intent(getActivity(),UserListActivity.class);
intent.putExtra("follow_who", "OTHERS");
intent.putExtra(StaticValue.USERINFO.USER_ID,(String)mPresenter.getUserinfo().get("uid"));
getActivity().startActivity(intent);
getActivity()... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Send an invite from chatroom to user | @RequestMapping(path = "/{chatroomName}/invite/{username}", method = RequestMethod.POST, headers = "Accept=application/json")
public ResponseEntity<Object> sendMemberInvitation(@PathVariable String chatroomName, @PathVariable String username,
UsernamePasswordAuthenticationToken token) {
try {
// the user sendi... | [
"public void inviteUserToChat(String room, String user);",
"public Invitation invite(Player sender, Player receiver);",
"@Override\n\t\t\t\t\t\tpublic void invitetoChatRoom(String text) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}",
"synchronized public void sendInvite() {\n\t\tString query = \"Invite:Send:\";\n\t\t\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get cookie value using specified name | Optional<String> getCookieValue(HttpServletRequest request, ApplicationCookieName applicationCookieName); | [
"HttpCookie getCookie(String name);",
"public String getValueOfCookieNamedExample(String name) {\n\t return driver.manage().getCookieNamed(name).getValue();\n\t}",
"public static String getCookieValue(String name, HttpServletRequest req) {\r\n Cookie[] cookies = req.getCookies();\r\n\tif (cookies ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns TRUE if a icon with the given size is supported, FALSEotherwise. | public boolean isSizeSupported(String iconSize)
{
return iconsTable.containsKey(iconSize);
} | [
"boolean isSizeAllowed(String width, String height);",
"boolean hasIconResource();",
"boolean hasAppIconHeight();",
"public boolean hasIcon() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public boolean hasImageID(String name, ImageSize imageSize) {\n return findImageID(name, i... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
this is not going to be used it was very troublesome | @Override
public void signalReceived(int sensor, boolean isBlocked) {
// TODO Auto-generated method stub
//this listener just listens to see if the pair sensor is triggered
if(this.sensor == sensor && !this.isBlocked && isBlocked){
this.isBlocked=isBlocked;
startTimer();
}
if (this.... | [
"protected void method_5557() {}",
"private static void EX5() {\n\t\t\r\n\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\n }",
"protected void mo4791d() {\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"public void mo28221a() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates new form frmRegistrarEspecialidadLab | public frmRegistrarEspecialidadLab() {
initComponents();
gestorH.actualizarUsuario(labelusuario);
txtFecha.setEnabled(false);
txtFecha.setEditable(false);
txtHora.setEditable(false);
txtHora.setEnabled(false);
txtCodEsp.setEnabled(false);
txtNombre... | [
"protected void irARegistrar() {\r\n cerrarVentana();\r\n iniciarMarco();\r\n //agrega el panelinicial\r\n registro = new Registrar(this);\r\n registro.setVisible(true);\r\n add(registro);\r\n //se ajusta el frame\r\n pack();\r\n //centra la aplicacion ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This functions gets 2 char types (s, t) and adds the cards they represent to the winner's capture pile. | void add_to_capture(char t, char s) {
capture_pile.add(new Card(t, s));
} | [
"@Test\n public void testDruidVsShamanGetType() {\n setUpBattleQueue();\n String player1Type = bq.getNextCharacter().getType();\n assertEquals(\"dog\", player1Type);\n String player2Type = bq.getNextCharacter().getOpponent().getType();\n assertEquals(\"cat\", player2Type);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Do a null check to confirm that we have not already instantiated the map. | private void setUpMapIfNeeded() {
if (mMap == null) {
// Try to obtain the map from the SupportMapFragment.
mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map_fragment))
.getMap();
// Check if we were successful in obtaining... | [
"private boolean initMap() {\n if(mMap == null) {\n mMap = mMapView.getMap();\n }\n return (mMap != null);\n }",
"@java.lang.Override\n public boolean hasMap() {\n return map_ != null;\n }",
"private void setUpMapIfNeeded() {\n\t\tif (mMap == null) {\r\n\t\t\tmMap = ((Map... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO: Send messages on click | @Override
public void onClick(View view) {
InputMethodManager inputManager = (InputMethodManager)
getSystemService(Context.INPUT_METHOD_SERVICE);
if (inputManager != null) {
inputManager.hideSoftInputFromWindow(getCurrentFocus().ge... | [
"public void sendMessageClicked(TMessage message);",
"@Override\n public void sendClicked() {\n }",
"public void clickviewpost()\r\n\t\t\t{\r\n\t\t\t\tthis.msg.click();\r\n\t\t\t}",
"public void onClick(View v)\n {\n String message = \"Hello there...\";\n sendMes... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
logger.info("getSitesByMemberId (pageRequest) " + pageRequest.getPageNumber() + ':' + pageRequest.getPageSize() ); | public Set<Site> getMemberSitesFilterByUserId(Integer memberId, String userId) {
return memberRepository.getMemberSitesFilterByUserId(memberId, userId);
} | [
"int getFetchPageNumber();",
"Long getLogTotalPage(LogParam logParam);",
"java.util.List<xapp.battle.Battle.PageInfo> \n getPageInfoList();",
"public int getPageSize() { return pageSize; }",
"Pagination<User> getAllInRange(int currentPage, int itemsPerPage);",
"@RequestMapping(value = \"v1\", metho... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Direct store access methods for subclasses with more complex query requirements. | protected StoreService store() {
return store;
} | [
"public DatastoreClass getSuperDatastoreClass();",
"public abstract QueryCollection query();",
"@Override\n\tpublic void query() {\n\t\t\n\t}",
"public interface StoreQueryGeneralUseCase extends StoreQueryRepoRepository.StoreQueryRepoResult{\n void onQuery(String key);\n}",
"public interface Query<T> ext... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
protected String doInBackground(String... params) {
try{
Document doc = Jsoup.connect("http://www.bits-epac.org/epac/index.php/our-team/").get();
Elements e = doc.select("div.leading-0 > ul > li");
Log.d(null,"No of member" + e.size());
for(Element e1 : e){
String member = e1.tex... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
SETTER TODO: Write general description for this method | @JsonSetter("quantity")
public void setQuantity (Integer value) {
this.quantity = value;
} | [
"@Override\n\tpublic void setValue() {\n\t\t\n\t}",
"abstract protected void set(Object value);",
"public SET()\n\t{\n\t\tsuper();\n\t}",
"protected void set(T value) throws CmdLineException\n {\n setter.addValue(value);\n }",
"@Override\n protected void doSetValue(Object value) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Created by mayiwei on 2017/2/20. | public interface WeekChartContract {
interface View extends BaseView{
void setWeekText(int weekOfyear);
void showWeekTasks(List<Task> tasks);
}
interface Presenter extends BasePresenter{
boolean isNowWeek();
int getNowWeek();
void getWeekTasks();
void n... | [
"@Override\n public void extornar() {\n \n }",
"@Override\n }",
"private static void EX5() {\n\t\t\r\n\t}",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
button click handler for locate contacts | public void LocatePageContactsButtonClickHandler(View view) {
switch (view.getId()) {
case R.id.locateContactsButton:
LocatePageActivity.this.startSelectContactActivity(CONTACTS);
break;
}
} | [
"CreateMessageToMyContactsPage clickOnMultipleContacts();",
"public void handleContactListButtonClicked() {\r\n\t\tthis.dashboardView.findViewById(R.id.dashboardContactOverlay).setVisibility(View.VISIBLE);\r\n \t// start contact view\r\n \tIntent i = new Intent(this.dashboardView,ContactsView.class);\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
string clientuuid = 2; | public Builder setClientuuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clientuuid_ = value;
onChanged();
return this;
} | [
"String getRefuuid();",
"UUID uuid();",
"private static String uuid(){\n return UUID.randomUUID().toString().replace(\"-\", \"\").toUpperCase();\n }",
"private String getUUID() {\n\t\tchar[] chars = \"abcdefghijklmnopqrstuvwxyzABSDEFGHIJKLMNOPQRSTUVWXYZ1234567890\".toCharArray();\n\t\tRandom r = new... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Switch the viewer to match a new projection. | protected synchronized void switchViewer(Projection projection)
{
float modelWidth = (float)projection.getSnapshot().getModelWidth();
float modelHeight = (float)projection.getSnapshot().getModelHeight();
Class<? extends AbstractDynamicViewer> viewerType = ourProjectionMap.get(projectio... | [
"@Override\n public void reset() {\n proj = new Matrix4f().perspective((float) Math.toRadians(Game.game().getOption(\"fov\")), Game.game().getOption(\"ar\"), 0.05f, 200.0f);\n mvp.identity();\n }",
"public final void setProjection(final Projection projection)\n\t{\n\t\tif (projection != null && this.proje... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Writes a data item | protected void writeData(int xid, String key, RMItem value)
{
synchronized(m_data) {
m_data.put(key, value);
}
} | [
"protected abstract void writeItem(DataRecord record);",
"public void writeData() {}",
"public void writeItem(PrintWriter writer) throws IOException;",
"private void writeData(int id, String key, RMItem value) {\n\t\tsynchronized(m_itemHT) {\n\t\t\tm_itemHT.put(key, value);\n\t\t}\n\t}",
"@Override\n\tpubli... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
when we close the app | @Override
protected void onDestroy() {
super.onDestroy();
cameraSource.release();
barcodeDetector.release();
} | [
"public void closeApp() {\n\t}",
"void quitApp() {\n // drop activity from memory\n finish();\n\n System.exit(0);\n }",
"public void onQuit() {\n\t\t\n\t}",
"@Override\r\n\tprotected void onExit() {\n\t\tMyApp.app.hideNotification();\r\n\t}",
"public void closeApp() {\n Platfo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
An array of side data that applies to the whole stream (i.e. the container does not allow it to change between packets). There may be no overlap between the side data in this array and side data in the packets. I.e. a given side data is either exported by the muxer (demuxing) / set by the caller (muxing) in this array,... | @Field(14)
public AVStream side_data(Pointer<AVPacketSideData > side_data) {
this.io.setPointerField(this, 14, side_data);
return this;
} | [
"public static int av_packet_add_side_data(Pointer<AVPacket > pkt, IntValuedEnum<AvcodecLibrary.AVPacketSideDataType > type, Pointer<Byte > data, @Ptr long size) {\n\t\treturn av_packet_add_side_data(Pointer.getPeer(pkt), (int)type.value(), Pointer.getPeer(data), size);\n\t}",
"public void setSide(final int side)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
this is the constructor for the class. | public Ship() {
this(ShipType.GNAT);
} | [
"public Tanh() {\n\t}",
"public Cachorro() {\r\n }",
"Cokolady()\t{\r\n\t\tsuper();\r\n\t}",
"public Kakuro() {\n\t}",
"public Innlegg() {\n\t\t\n\t}",
"public Chord()\n\t{\n\t}",
"public HeOld() {\n\t\t\n\t}",
"public sundae() {\n\t\tsuper(); // calls the super default constructor\n\t}",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The deployment stage of the API call (for example, Beta or Prod). | String getStage(); | [
"public String getStage() {return stage;}",
"public int getStage() {\n\t\t\treturn this.stage;\n\t\t}",
"public String getDeploymentType()\r\n {\r\n return getSystemProperty(DEPLOYMENT_PROPERTY, CLIENT_DEPLOYMENT);\r\n }",
"public int getStage() {\n return this.stage;\n }",
"public void set... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void checkClientTrusted(X509Certificate[] arg0, String arg1)
throws CertificateException {
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; | public Builder setSpeech(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_UnitEvent.Speech value) {
if (speechBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
speech_ = value;
onChanged();
} else {
... | [
"public void setSpeech(String speech) {\n\t\tthis.speech = speech;\n\t}",
"void setSpeechText(String text);",
"@Override\n\tpublic void onSpeakBegin() {\n\t\t\n\t}",
"@Override\n\tpublic void onBeginningOfSpeech() {\n\t\t\n\t}",
"@Override\n\tpublic void onBeginningOfSpeech() {\n\n\t}",
"@Override\n\tpubl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the authenticator's IBinder | @Nullable
@Override
public IBinder onBind(Intent intent) {
return authenticator.getIBinder();
} | [
"public Binder<User> getBinder() {\n return binder;\n }",
"protected final Binder binder() {\n Validate.state(binder != null, \"The binder isn't specified yet!\");\n return binder;\n }",
"public IBinder a() {\n return this.a.asBinder();\n }",
"BinderService getService() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checking if the value for Company Name is properly set. | @Test
public void setCompanyNameTest() {
TransactionHistory companyNamejunit = new TransactionHistory();
String expectedcompName = companyNamejunit.getCompanyName();
String actualcompName = companyNamejunit.getCompanyName();
assertSame(expectedcompName, actualcompName);
if (expectedcompName == ac... | [
"static boolean isCompanyCorrectForCreate(Company company) {\n return company != null && company.getName() != null && !\"\".equals(company.getName().trim());\n }",
"public void CheckName(){\r\n \t\t\r\n \t\t//set name as acceptable.\r\n \t\tthis.AcceptableName = true;\r\n \t\t\r\n \t\t//check for unique... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
check that something which is not a testcase with a failing static init doesn't generate an error when skipping nontest classes | @Test
public void testSkipNonTestsNoTestCaseFailingStaticInit() {
TestRunner runner = createRunner(NoTestCaseStaticInitializerError.class, true);
runner.run();
assertEquals(runner.getFormatter().getError(), JUnitTestRunner.SUCCESS, runner.getRetCode());
} | [
"private OutsideEnv() { Assert.fail(\"No instances!\"); }",
"public void testMain3(){ \t\r\n\t\tinputStr[5] = \"TCPlugin\";\r\n\t\texceptionFlag = false;\r\n\t\ttry{\r\n\t\t\tTestcaseGenerator.main(inputStr);\r\n\t\t\texceptionFlag = true;\r\n\t\t}catch(Exception e){\r\n\t\t\tif (e instanceof InstantiationExcepti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e6 in method: android.net.LinkQualityInfo.():void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.core.ProcessClass.proce... | public LinkQualityInfo() {
/*
// Can't load method instructions: Load method exception: bogus opcode: 00e6 in method: android.net.LinkQualityInfo.<init>():void, dex:
*/
throw new UnsupportedOperationException("Method not decompiled: android.net.LinkQualityInfo.<init>():void");
} | [
"public void mo650a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
setup the below state machine, and do cancel with event3, that should cancel till state3 state1 (event1)> state2 (event2)> state3 | ^ | | | (event3)> state5 (event4) (event6) | | | | |(event1)> state4 |> state7 |(event3)> state6 (event5)| | @Test
public void testCancelPath_shouldCancelPathTillJoinNode() throws Exception {setup the below state machine, and do cancel with event3, that should cancel till state3
//
// state1 --------(event1)---------> state2 --------(event2)--------------------> state3
// | ... | [
"public AbstractState processEvent(int event) {\r\n switch (event) {\r\n case EVENT_X:\r\n if (this.getContext().checkCondition() == 0) {\r\n \t StateFour stateFour = abstractState.new StateFour(this.getContext());\r\n \t stateFour.enter()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
setup 5 shards, one replica, 10 shards total, all started | public void testCheckAllocationIdsWithSeveralShards() {
Index index = new Index(Watch.INDEX, "foo");
ShardId firstShardId = new ShardId(index, 0);
ShardId secondShardId = new ShardId(index, 1);
List<ShardRouting> localShards = new ArrayList<>();
localShards.add(TestShardRouting.... | [
"protected void pickShards(String collection) throws IOException {\n try {\n\n ZkStateReader zkStateReader = cloudSolrClient.getZkStateReader();\n ClusterState clusterState = zkStateReader.getClusterState();\n Set<String> liveNodes = clusterState.getLiveNodes();\n\n Slice[] slices = clusterSt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
array = collection of elements multidimensional arrays are collection of arrays | @DataProvider(name="BooksData") // assigning name to dataProdiver
public Object[][] getData() {
return new Object[][] {{"Blues Clues", "123", "14B", "Bill Cosby" },{"Red Clues", "321", "13B", "Billy Blanks"},{"Green Clues", "213", "16B", "Bill Clinton"} };
} | [
"T createArray(Collection<T> elements);",
"public abstract Array getArray();",
"static <T> T[] toArrayImpl(Collection<?> c, T[] array) {\n int size = c.size();\n if (array.length < size) {\n array = newArray(array, size);\n }\n fillArray(c, array);\n if (array.lengt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/Toast.makeText(context, "Don't panik but your time is up!!!!.", Toast.LENGTH_LONG).show(); Vibrate the mobile phone Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); vibrator.vibrate(2000); | @Override
public void onReceive(Context context, Intent intent) {
Command.mConnectedThread.write("*all off");
CommandFragment c=new CommandFragment();
c.TTS("All Devices Are Now Off");
} | [
"private void vibratePhone()\n\t {\n\t\tVibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);\n\t\t// Vibrate for 500 milliseconds\n\t\tv.vibrate(500);\n\t }",
"@Override\n public boolean onTouch(View v, MotionEvent event) {\n Vibrator vb = (Vibrator) getSystemService(Conte... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void insertSelective(OrdOdFeeTotal ordOdFeeTotal) {
MapperFactory.getOrdOdFeeTotalMapper().insertSelective(ordOdFeeTotal);
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
write your code here | public int difference(int[] numbers) {
if (numbers == null || numbers.length < 1) {
return -1;
}
int bigger = numbers[0];
int smaller = numbers[0];
for (int i = 0; i < numbers.length; i++) {
if (numbers[i] > bigger) {
bigger = numbers[i];
}
if (numbers[i] < smaller) {
sma... | [
"void stuffForYouToDo() {\n\t\t// Write your code here...\n\t\t\n\t\t\n\t\t\n\t}",
"@Override\r\n\t\t\t\tvoid eval() {\r\n\r\n\t\t\t\t\t// YOUR CODE IN THIS SPACE\r\n\t\t\t\t}",
"private static void EX5() {\n\t\t\r\n\t}",
"@Override\n\tpublic void dosomethiing3() {\n\n\t}",
"@Override\n }",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to resolve any signin errors | private void resolveSignInError() {
if (mConnectionResult != null) {
if (mConnectionResult.hasResolution()) {
try {
mIntentInProgress = true;
mConnectionResult.startResolutionForResult(this, RC_SIGN_IN);
} catch (IntentSender.SendIntentException e) {
mIntentInProgress = false;
m... | [
"private void resolveSignInError() {\n if (connection_result.hasResolution()) {\n try {\n is_intent_inprogress = true;\n connection_result.startResolutionForResult(getActivity(), SIGN_IN_CODE);\n Log.d(\"resolve error\", \"sign in error resolved\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method of the get value. | public JCheckBox getChComplete() {
return chComplete;
} | [
"public Object getValue( )\n \t{\n \t\treturn value;\n \t}",
"Value getValue() {\n return value;\n }",
"protected Object getValue() {\n\n return this.value;\n }",
"String getValue() {\n\t\t\treturn value;\n\t\t}",
"@Override\n public V getValue() {\n return this.value;\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of parseResponse method, of class XmlResponseParser. | @Test
public void testParseResponse() throws UnsupportedEncodingException {
String test = "<?xml version=\"1.0\"?><response>message</response>";
byte[] bytes = test.getBytes("UTF-8");
ByteArrayEntity byteArrayEntity = new ByteArrayEntity(bytes);
BasicHttpResponse response = new Basic... | [
"public abstract Boolean checkResponse(SoapResponseXML response);",
"public abstract T parseResponse(String str);",
"private static Document parseResponseString(String response){\n return null;\n }",
"public static GetResponse parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public boolean preDelete() {
return true;
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Returns a vector plus another vector. | public static Vector2 add(Vector2 v1, Vector2 v2)
{
double newX = v1.getX() + v2.getX();
double newY = v1.getY() + v2.getY();
return new Vector2(newX, newY);
} | [
"public Vector plus(Vector b) {\n double[] c = new double[N];\n for (int i = 0; i < N; i++)\n c[i] = coords[i] + b.coords[i];\n return new Vector(c);\n }",
"public Vector add(Vector other) {\n Vector v = new Vector();\n v.xcord = this.xcord + other.xcord;\n v.ycor... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Search for values that match the inputText in the value set | @Test
public void searchValuesNonProvisionalValueSet() {
String inputText = "barton";
int expectedResultsCount = 2;
ObjectNode requestBody = generateRequestBody(inputText, mapper.createArrayNode(),
mapper.createArrayNode(), mapper.createArrayNode().add(valueSet1), mapper.createArrayNode(), Optiona... | [
"private void search() {\n // Build attribute values search query\n final List<SearchValue> attributeValues = new ArrayList<>();\n // Get SearchValue from each ComboBox\n for (ComboBox<SearchValue> comboBox : comboBoxes) {\n final SearchValue searchValue = comboBox.getSelectio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Shuts down the server | public void shutdown() {
exit = true;
} | [
"public static void serverShutDown(){\n\t\tObject[] params = new Object[] { myIpAddress };\n\t\tXmlRpcHelper.SendToAllMachines(machines, \"RegisterHandler.removeMachineIp\", params);\n\t}",
"public void shutdown() {\n MODAL.println(Modal.Mode.ALERT, \"Shutting down server...\");\n\n clientManager.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
String phone = activityResetPasswordBinding.editTextPhoneReset.getText().toString(); | private void verifyUser() {
String answer1 = activityResetPasswordBinding.editTextAnswer1Reset.getText().toString();
String answer2 = activityResetPasswordBinding.editTextAnswer2Reset.getText().toString();
if (answer1.equals("") || answer2.equals("")) {
Toast.makeText(this, "Please a... | [
"public int getPhoneNumber() {\n return Integer.valueOf(phoneNumber.getText().toString());\r\n }",
"@Override\n public void onClick(View v) {\n if(sameAsPhone.isChecked()){\n whatsappNumber.setText(phoneNumber.getText());\n }else{\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handle navigation view item clicks here. | @SuppressWarnings("StatementWithEmptyBody")
@Override
public boolean onNavigationItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.nav_add_city) {
showAddCityDialog();
} else if (id == R.id.nav_about) {
Toast.makeText(this, R.string.author, ... | [
"void onNavigationItemClick(int item);",
"public void ClickItem(View view){\n MainActivity.redirectActivity(this, item.class);\n }",
"@Override\n public void clickitem(View view, final int position) {\n\n }",
"@Override\n publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create the game and initialise its internal map. | public Game() {
long timeStart = System.currentTimeMillis(); // use the real time
timeCounter = 50;
parser = new Parser();
player = new Player();
rooms = new RoomCreation();
currentRoom = rooms.getRoom("castle"); // start game outside
//System.out.println(createR... | [
"public Map() {\n\t\tgame = new Game(this);\n\t\tinit_map();\n\t}",
"public Game(){\n\t\tm = new Map();\n\t\thabitacionActual = new Room();\n\t\tjugador = new Player();\t\t\n\t}",
"private void setUpGame()\r\n {\r\n // Create map\r\n Map map = new Map(30, 15);\r\n\r\n map.addTile(new Til... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ / / / / / / / / | public String getAlternateURL()
/* */ {
/* 994 */ return this.alternateURL;
/* */ } | [
"private void calculatePaths() {\n\n\n }",
"public static void main (String arg[]){\n\tSystem.out.println(\" ( ) ( ( \"); \n\n\tSystem.out.println(\" ( )\\\\ ) ( /( ( )\\\\ ) ( )\\\\ ) \");\n\t\n\tSystem.out.println(\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ JADX WARNING: Code restructure failed: missing block: B:6:0x0044, code lost: if (r2.A05 != r21) goto L_0x0046; / Code decompiled incorrectly, please refer to instructions dump. | public void A01(com.whatsapp.jid.UserJid r19, byte[] r20, long r21, int r23, int r24, X.AnonymousClass0OB r25) {
/*
// Method dump skipped, instructions count: 183
*/
throw new UnsupportedOperationException("Method not decompiled: X.C04520Kr.A01(com.whatsapp.jid.UserJid, byte[], long, in... | [
"protected synchronized void a(int r19, byte[] r20, com.tencent.bugly.beta.upgrade.a r21, boolean r22, java.lang.String r23) {\n /*\n r18 = this;\n monitor-enter(r18);\n r1 = com.tencent.bugly.crashreport.common.info.a.b();\t Catch:{ all -> 0x0255 }\n r2 = com.tencent.bugly.beta.g... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ JADX WARNING: Code restructure failed: missing block: B:10:0x0018, code lost: if ((r4.cea & 2) != 0) goto L_0x001a; / Code decompiled incorrectly, please refer to instructions dump. | public java.lang.String addBitmapToDiskCache(java.lang.String r5, android.graphics.Bitmap r6) {
/*
r4 = this;
r0 = 0
if (r5 == 0) goto L_0x0038
if (r6 == 0) goto L_0x0038
boolean r1 = r6.isRecycled() // Catch:{ Exception -> 0x0037 }
if ... | [
"static void method_571() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static void method_5455() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static void method_921() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static void method_6601() {\r\n // $FF: Couldn't be decompiled\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Listening only comboBoxFormat to know how to init depends models when show compression | @Override
public void actionPerformed(ActionEvent e) {
System.out.println("Class: " + e.getClass().getSimpleName());
// jpg, jpeg, tiff, tif
if (comboBoxFormat.getSelectedItem().equals("jpg")
|| comboBoxFormat.getSelectedItem().equals("jpeg")
|| comboBoxFormat.getSelectedItem().equals("tiff")
|| co... | [
"public void propertyChange(PropertyChangeEvent param1PropertyChangeEvent) {\n/* 1677 */ String str = param1PropertyChangeEvent.getPropertyName();\n/* 1678 */ if (param1PropertyChangeEvent.getSource() == BasicComboBoxUI.this.editor) {\n/* */ \n/* */ \n/* */ \n/* 1682 */ if... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Here we will handle the http request to insert user to mysql db Creating a RestAdapter | private void Retrieve(){
RestAdapter adapter = new RestAdapter.Builder()
.setEndpoint(ROOT_URL) //Setting the Root URL
.build(); //Finally building the adapter
//Creating object for our interface
routeAPI api = adapter.create(routeAPI.class);
//Defining t... | [
"private void insertUser() {\n RestAdapter adapter = new RestAdapter.Builder()\n .setEndpoint(ROOT_URL) //Setting the Root URL\n .build(); //Finally building the adapter\n\n //Creating object for our interface\n RegisterAPI api = adapter.create(RegisterAPI.class);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method writes the log messages and error warnings to the application data directory | private void writeWarningsToFile() {
String lineSeparator = System.getProperty("line.separator");
StringBuilder sb = new StringBuilder("WARNINGS:").append(lineSeparator);
for (String warning : updateWarnings) {
sb.append(lineSeparator).append(warning);
}
sb.append(lineSeparator).append(lineSeparator)... | [
"private void storeOutputsToFile() {\n if (logPath != null) {\n try {\n Files.createDirectories(logPath);\n Files.write(Paths.get(logPath.toString(), \"stdOutput.log\"), stdOut.getBytes(Charset.defaultCharset()));\n Files.write(Paths.get(logPath.toStrin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Created by edwinmunoz on 12/21/16. | public interface IRegisterView {
void showLoading();
void hideLoading();
void isChboxAccept(boolean chbox);
void goToMainActivity();
void register();
void onClickButtonGoogle();
void signInGoogle();
void showErrorRegister(Exception e);
void showNotification(String msg);
void show... | [
"@Override\n public void extornar() {\n \n }",
"private static void EX5() {\n\t\t\r\n\t}",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n }",
"protected void method_5557() {}",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n \... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
retrieves the comment of the analysis | public String getComment() {
return comment;
} | [
"java.lang.String getCommentText();",
"public String getComment() {\r\n return comment;\r\n }",
"public String getComment() {\n return(comment);\n }",
"public String getComment( )\n {\n return _strComment;\n }",
"public String getComment() {\n return comment;\n }",
"publi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constroi um novo PlayerStatusPanel usando as Fontes e a Cor passada nos parametros | public PlayerStatusPanel(Font title, Font text, Color titleColor, Color textColor) {
configure();
setVisible(false);
initTextFields(text, textColor);
initLabels(title, titleColor);
} | [
"private void initStatusPanel() {\r\n\t\tstatusTextBackground = Path.createRectangle(0, 0, 1, 1);\r\n\t\tstatusTextBackground.setPaint(NengoStyle.COLOR_BACKGROUND);\r\n\t\tstatusTextBackground.setTransparency(0.7f);\r\n\r\n\t\tstatusMessageLabel = new Text(\"Welcome to \" + UIEnvironment.getInstance().getAppName())... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the active review. | public void setActiveReview( SystematicReview activeReview ) {
this.activeReview = activeReview;
this.nameText.setText( activeReview.getName() );
this.pTabController.setActiveReview( activeReview );
this.icTabController.setActiveReview( activeReview );
this.oTabController.setActiveReview( activeRevi... | [
"public void setActiveReviewCount(Integer activeReviewCount) {\n this.activeReviewCount = activeReviewCount;\n }",
"public common.avro.security.events.SecurityCheckProcessed.Builder setReview(common.avro.reviews.entities.Review value) {\n validate(fields()[1], value);\n this.reviewBuilder = nu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
gets item to be deleted | @Override
public void onClick(DialogInterface dialogInterface, int i) {
TierItem itemToBeDeleted = unassignedTierItems.get(placement);
// URL of the Tier Item to be deleted
... | [
"public void delete(Item item);",
"@Override\n public void delete(E item) {\n }",
"@Override\n\tpublic void deleteItem(long id) {\n\t\t\n\t}",
"public abstract void delete(T item);",
"public int deleteItem(String itemName);",
"public void delete(OrderItem order);",
"private void deleteItem() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set a property by name. You can scope the name for entering subproperties. For example 'controlparameters.gains.k' to write nested property with name 'k'. | boolean setProperty (String name, org.omg.CORBA.Any value); | [
"public void setName(String name){\n this.name = name; // takes in the input and applies the passed value to the name property\n\n }",
"public void setProperty(final String name, final String value) {\n \t\n }",
"void setProperty(String propertyName, String value);",
"public void setProperty(S... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the listener for the command VideoSettingsAutorecord in feature JumpingSumo Listeners are static to the class, and are not to be set on every object | public static void setJumpingSumoVideoSettingsAutorecordListener (ARCommandJumpingSumoVideoSettingsAutorecordListener _ARCommandJumpingSumoVideoSettingsAutorecordListener_PARAM) {
_ARCommandJumpingSumoVideoSettingsAutorecordListener = _ARCommandJumpingSumoVideoSettingsAutorecordListener_PARAM;
} | [
"private void initListener() {\r\n if (!guispListenerEnabled) {\r\n guispListen = new GUISideListener();\r\n guispListenerEnabled = true;\r\n } else {\r\n System.err.println(\"TRIED RECREATING LISTENER\");\r\n }\r\n }",
"private void setListeners() {\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handles the HTTP POST method. | @Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
//processRequest(request, response);
//HttpSession session = request.getSession(); // let's get session - we might need it
request.setCharacterE... | [
"@Override\n\tpublic void handlePost(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\n\n\n }",
"@Override\n public void post(String path) {\n \n }",
"@Override\r\n\tpub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Natural ordering for car instances | public int compareTo(Car o) {
if(this.getPrice() > o.getPrice()){
return 1;
}else if(this.getPrice() < o.getPrice()){
return -1;
}
return 0;
} | [
"public void sortCar(){\n\t Collections.sort(car);\n\t for(Car str:car){ \n\t \t System.out.println(str.make+\" \"+\n\t str.model+\" \"+str.year+\" \"+str.price); \n\t } \n\t }",
"public int compareTo(Car c){\n\t \treturn (this.name).compareTo(c.name);\n\t }",
"@Override\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
called when response HTTP status is "4XX" (eg. 401, 403, 404) | @Override
public void onFailure(int statusCode, Header[] headers,
byte[] errorResponse, Throwable e) {
mHaveMoreDataToLoad = false;
/*Log.e("ggggg", e.getMessage() + "vvvvvv "
+ statusCode);*/
endlessListView.loadMoreCompleat();
} | [
"private boolean isClientErrorStatus(int connStatus) {\n/* 387 */ return (connStatus == 403);\n/* */ }",
"@Override\n public void onHTTPerror(String tag) {\n \n }",
"public void sendDenyResponse(Context ctx) {\n ctx.res.addHeader(\"WWW-Authenticate\",\"Basic realm=\\\"Auth\\\"\");\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test case number: 182 /Coverage entropy=1.559581156259877 | @Test(timeout = 4000)
public void test182() throws Throwable {
Form form0 = new Form("Col component can be added only to a TableBlock.");
// Undeclared exception!
try {
form0.meta();
fail("Expecting exception: NullPointerException");
} catch(NullPointerException e) {
... | [
"@Test(timeout = 4000)\n public void test147() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n String string0 = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method returns the number of rooms in the house. | public int getCountRooms() {
return this.countRooms;
} | [
"public int roomCount()\n\t{\n\t\treturn rooms.size();\n\t}",
"public int countRooms() {\n\t\treturn this.rooms.size();\n\t}",
"public double getNumberOfRooms() {\r\n return numberOfRooms;\r\n }",
"public int getNumberOfAvailableRooms()\n {\n // This is more complicated than just the number o... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
how many serving the recipe is | public static void main(String args[])
{
// declare necessary variables--------------------------------------------
String inputString; // hold input strings from the user
double inputNum1; // hold any input numbers from the user
double inputNum2; //... | [
"public int getTotalRecipeCount(){ return totalRecipeCount;\t}",
"public abstract int getRequestCount();",
"@Override\n public int size() {\n return (mRecipeResponse.getSteps().size() + 2);\n }",
"int getClientURLsCount();",
"final static int getServerNb() {\r\n return servers.size();\r\n }... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Finds 4ofKind and 3ofKind and Yahtzee | public static int OfKind(ArrayList<Integer> allDice, int number) {
score = 0;
for (int i = 6; i > 0; i--) {
int count = 0;
for (int j = 0; j < allDice.size(); j++) {
if (allDice.get(j) == i) {
count ++;
}
}
... | [
"private static boolean isFourOfAKind(Hand h) {\n /*\n * a Four of a Kind should like \"AAAAA\" or \"AAAAB\" or \"BAAAA\"\\ it\n * is 5 of a kind or 4 of a kind\n */\n return n_of_a_kind(h) >= 4;\n }",
"public BDD findIndistinguishablyTypedObjects() {\n initializeEx... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The session was idle more than the timeout period which is probably a hung client Report an error and wait to close the session | public void sessionIdle(IoSession session, IdleStatus idleStatus) throws Exception {
User user = (User) session.getAttribute(DefaultFtpSession.USER);
if (user != null) {
ftpMonitor.connectionTimedOut(user.getName());
} else {
ftpMonitor.connectionTimedOut("anonymous");
... | [
"protected int initSessionTimeout ()\n {\n return -1;\n\n }",
"public static int getSessionTimeout() {\n\t\treturn getInteger(\"session.timeout\", 30);\n\t}",
"@Override\n\tprotected void onHttpSessionClosedFailure(APIErrorResult errorResult) {\n\n\t}",
"public int getSessionTimeout() {\n retu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the xcoordinate of battery. This method must throw IllegalStateException if battery is not placed on a board. | @Override
public long getBatteryX(Battery battery) throws IllegalStateException {
if (battery.getPosition() == null)
throw new IllegalStateException();
return battery.getPosition().X;
} | [
"public int get_x_coord(){\n\t\treturn this.x_coord;\n\t}",
"public final double getxPosition() {\n\n return xPosition;\n\n }",
"public int getXcoord() {\r\n\t\treturn xcoord;\r\n\t}",
"public int getX() {\r\n\t\treturn coord.x;\r\n\t}",
"public int getXCoordinate() {\n return this.xCoordin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets all the chunks touching/diagonal to the chunk the location is in and updates players with them. | @SuppressWarnings("rawtypes")
private static void updateChunk(WorldServer nmsWorld, Location loc) {
try {
PlayerChunkMap map = nmsWorld.getPlayerChunkMap();
// Update the light itself
Block adjacent = getAdjacentAirBlock(loc.getBlock());
BlockPosition bp1 = ... | [
"public List<Chunk> getNeighboringClaimedChunks(Chunk chunk) {\t\t\r\n\t\tArrayList<Chunk> neighboring = new ArrayList<Chunk>();\r\n\t\t\r\n\t\tClaim origin = getClaim(chunk);\r\n\t\t\r\n\t\tif(origin == null)\r\n\t\t\treturn neighboring;\r\n\r\n\t\tint chunkX = chunk.getX();\r\n\t\tint chunkZ = chunk.getZ();\r\n\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new instance of the Program class with the given set of procedures and executable statement. | public Program(List<ProcedureDeclaration> procedures, Statement statement)
{
this.procedures = procedures;
this.statement = statement;
} | [
"MainProgram createMainProgram(String programName);",
"public ProgramNode program() {\n match(TokenType.PROGRAM);\n this.lexeme = this.lookahead.getLexeme();\n match(TokenType.ID);\n if(!symbTable.addProgram(lexeme)){\n minorErrorHandling(\"Program name: \"+ lexeme +\" already... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run. The list of packages is considered only if you set packageCleanup to true. | public java.util.List<String> getExcludeAppPackagesFromCleanup() {
return excludeAppPackagesFromCleanup;
} | [
"public String[] getPackageArray() {\n String[] split = fullPackageName.split(\"\\\\.\");\n return split;\n }",
"public String[] getStopPackages() {\n return new String[0];\n }",
"public void cleanUp(final List<String> list) {\n if (list != null && !list.isEmpty()) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Throws an XMLValidationException to indicate that an element is missing. | static void errorMissingElement(final String systemID, final int lineNr, final String parentElementName,
final String missingElementName) throws XMLValidationException {
throw new XMLValidationException(XMLValidationException.MISSING_ELEMENT, systemID, lineNr, missingElementName,
/*... | [
"public ElementIsNotPresentException() {\n }",
"public ElementNotUniqueException() {\n super();\n }",
"void validate() throws IllegalArgumentException;",
"private static Unmarshaller assertionFailed() throws JAXBException {\n throw new JAXBException(Messages.format(Messages.RESULT_NULL_CON... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional string attribute_name = 1; | public Builder setAttributeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
attributeName_ = value;
onChanged();
return this;
} | [
"void attribute(String attribute);",
"public String attributeType(String aname) {\r\n\t //this is not used yet\r\n\t String s=\"\";\r\n\t return s;\r\n }",
"public String Get_Attribute() {\n\t\treturn null;\r\n\t}",
"void setAttribute(ch.uzh.agglorecommender.client.inputbeans.NominalMultivaluedAttribute a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Testa a soma de um binario com um hexadecimal. | public final void testSomaUmBinarioComUmHexa() {
alpha.Calculadora calculad1 = new alpha.Calculadora();
calculad1.modoBin();
calculad1.entraUm();
calculad1.comandoSoma();
calculad1.modoHex();
calculad1.entraUm();
assertEquals("0x2", calculad1.comandoSoma())... | [
"public void testPassandoOnzeRetornaStringB() {\r\n bravo.BaseHexadecimal baseHexa1 = new bravo.BaseHexadecimal();\r\n assertEquals(\"0xb\", baseHexa1.converterBase(new Numero(11)));\r\n }",
"@Test(timeout = 4000)\n public void test116() throws Throwable {\n byte[] byteArray0 = new byte[0... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if a specific blog exists in the set of blogs of the course. | public boolean existBlog(String blogId) {
for (Blog b : Blogs) {
if (b.getId() == blogId)
return TRUE;
}
return FALSE;
} | [
"public boolean hasBlog(String id) {\n return blogs.containsKey(id);\n }",
"@Override\r\n\tpublic boolean checkBlogTitle(Blog blog) {\n\t\tString[] title = blog.getBlogTitle().split(\" \");\r\n\t\tfor(int i=0; i<title.length ; i++) {\r\n\t\t\tString titleWord = title[i];\r\n\t\t\tfor(int j=0; j<badwords.lengt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to check if a string is can be parseable by int | public boolean isStringInt(String s) {
boolean bool = false;
try {
Integer.parseInt(s);
bool = true;
} catch (NumberFormatException nfe) {
bool = false;
}
return bool;
} | [
"public static boolean stringIsParseableInteger(String s) {\n try {\n Integer.parseInt(s);\n return true;\n } catch (NumberFormatException e) {\n return false;\n }\n }",
"private static boolean isIntConvert(String input){\n boolean parsable = true;\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the address to pass in. Already is mUrl | private void populateRepresentative(String mUrl) {
InputStream inputStream = null;
String result = null;
// Perform the JSON get.
try {
HttpURLConnection urlConnection = null;
URL url = new URL(mUrl);
urlConnection = (HttpURLConnection) url.openConnect... | [
"public URI getAddress() {\n return address;\n }",
"public String getURL(){\n\t\tString newURL = \"https://www.google.com/maps/place/\" + \n\taddress.replaceAll(\" \", \"+\") + \"/@\" + this.latitude+\",\" + this.longitude\n\t+ \",17z/\";\n\t\treturn newURL;\n\t}",
"String getUrlString() {\n return m... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Wait for data to load | @Test
public void scrollRecyclerView() {
try {
Thread.sleep(500);
} catch (InterruptedException e) {
e.printStackTrace();
}
// Get total items from RecyclerView
RecyclerView recipesRv = activityActivityTestRule.getActivity().findViewById(R.id.... | [
"private void loadDataByThread() {\n LoadDataThread loadDataThread = new LoadDataThread();\n loadDataThread.start();\n }",
"private void loadData() throws InterruptedException {\n\t\t\r\n\t\ttry {\r\n\r\n\t\t\tString nombreMetodo = \"doLoadData\";\r\n\r\n\t\t\tObject[] args = new Object[] {};\r\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Passing the focus request to the viewer's control. | public void setFocus() {
viewer.getControl().setFocus();
} | [
"public void setFocus() {\r\n // viewer.getControl().setFocus();\r\n }",
"@Override\n public void setFocus() {\n _viewer.getControl().setFocus();\n }",
"public void setFocus() {\n//\t\t viewer.getControl().setFocus();\n\t}",
"public void setFocus()\n\t{\n\t\tviewer.getControl().setFocus();\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to all load products based on category | @RequestMapping(value="/show/all/products")
public ModelAndView showAllProducts() {
ModelAndView mv=new ModelAndView("page");
mv.addObject("title","All Products");
/* System.out.println(CategoryDAO.list());
*/ //passing the list
mv.addObject("categories", categoryDAO.list());
mv.addObject("userClickAl... | [
"public List getProductsByCategory(Category category);",
"public List<Product> getProductsByCategory(int categoriId);",
"private void loadCategory() {\n\t\tdaoCategory.loadCategories(atElement);\n\t}",
"List<Product> listActiveProductBasedOnCategory(int categoryID);",
"public void loadProducts() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
true si hay un tipo habitacion con ese mismo nombre | public static boolean encontradoTHEspecifico(String n){
for(TipoHabitacion aux : th){
if(aux.igualTHEspecifico(n)){
return true;
}
}
return false;
} | [
"public boolean assentoDisponivel(String tipo){\n\t\tboolean resp = false;\n\t\tSystem.out.println(\"Total economico: \"+economico.length+\" Total Primeira Classe: \"+primClasse.length+\"\\nOcupados Economico: \"+num_ass_ec+\"\\nOcupados Prim Classe: \"+num_ass_pc);\n\t\tif((tipo.equals(\"economico\"))&&(economico.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Saves entity in database and returns entity with assigned id. | T save(T entity); | [
"@Override\n\tpublic Serializable save(T entity) {\n\t\treturn factory.getCurrentSession().save(entity);\n\t}",
"public T save(T entity) {\n entityManager.getTransaction().begin();\n entityManager.persist(entity);\n entityManager.getTransaction().commit();\n log.info(\"Saved entity with: {}\", entity)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Generates values in a distribution equivalent to randomNonNegativeBigInteger but omitting zero. | static BigInteger randomPositiveBigInteger(int numBits) {
BigInteger result;
do {
result = randomNonNegativeBigInteger(numBits);
} while (result.signum() == 0);
return result;
} | [
"@Test\n public void generatePositiveNumber() {\n for(int i = 0; i < 100; ++i) {\n int b = Randomizer.generate(1, 10);\n Assert.assertFalse(b < 1 || b > 10);\n\n int c = Randomizer.generate(10, 1);\n Assert.assertFalse(c < 1 || c > 10);\n }\n }",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |