CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2014-04-21
by Hashir Sheikh

Original Post

Original - Posted on 2014-04-21
by Amardeepvijay



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

JSONArray jsPoints = new JSONArray(); for(int i = 0; i < points.length; i++) { JSONObject js = null; try { js = new JSONObject(); js.put("id",points[i]._id); js.put("calification",points[i]._calification); js.put("comment",points[i]._comment); js.put("gps",points[i]._coords); js.put("X",points[i]._X); js.put("Y",points[i]._Y); } catch (JSONException e) { e.printStackTrace(); } if(js!=null) jsPoints.put(js); }

try { JSONObject js = new JSONObject();
JSONArray jsPoints = new JSONArray(); for(int i = 0; i < jsPoints.length; i++) { js.put("id",points[i]._id); js.put("calification",points[i]._calification); js.put("comment",points[i]._comment); js.put("gps",points[i]._coords); js.put("X",points[i]._X); js.put("Y",points[i]._Y); } catch (JSONException e) { e.printStackTrace(); } jsPoints.put(js); }

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