CopyPastor

Detecting plagiarism made easy.

Score: 0.8606010918278177; Reported for: String similarity Open both answers

Possible Plagiarism

Reposted on 2020-01-14
by Sujeet Kumar

Original Post

Original - Posted on 2020-01-14
by Sujeet Kumar



            
Present in both answers; Present only in the new answer; Present only in the old answer;

> try this code.
new Thread() { @Override public void run() { try { AccountManager accountManager = AccountManager.getInstance(mConnection); accountManager.sensitiveOperationOverInsecureConnection(true); Map<String, String> map = new HashMap<String, String>(); map.put("username","vinay"); map.put("name", "vinay"); map.put("password", "vinay"); map.put("emial", "vinay@gmail.com"); accountManager.createAccount(Localpart.from("vinay"), "vinay", map); } catch (SmackException.NoResponseException e) { e.printStackTrace(); } catch (XMPPException.XMPPErrorException e) { e.printStackTrace(); } catch (SmackException.NotConnectedException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); } catch (XmppStringprepException e) { e.printStackTrace(); } } }.start();
> try this one.. may this resolve your issue.
new Thread() { @Override public void run() { try { AccountManager accountManager = AccountManager.getInstance(mConnection); accountManager.sensitiveOperationOverInsecureConnection(true); Map<String, String> map = new HashMap<String, String>(); map.put("username","vinay"); map.put("name", "vinay"); map.put("password", "vinay"); map.put("emial", "vinay@gmail.com"); accountManager.createAccount(Localpart.from("vinay"), "vinay", map); } catch (SmackException.NoResponseException e) { e.printStackTrace(); } catch (XMPPException.XMPPErrorException e) { e.printStackTrace(); } catch (SmackException.NotConnectedException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); } catch (XmppStringprepException e) { e.printStackTrace(); } } }.start();

        
Present in both answers; Present only in the new answer; Present only in the old answer;