Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.967 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 118 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/URIHandlerImpl.java |
2 | 12 | 206 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/URIHandlerImpl.java |
| |||||
int responseCode = httpURLConnection.getResponseCode(); switch (responseCode) { case HttpURLConnection.HTTP_OK: case HttpURLConnection.HTTP_CREATED: case HttpURLConnection.HTTP_NO_CONTENT: { break; } default: { throw new IOException("PUT failed with HTTP response code " + responseCode); } } |
| |||||
int responseCode = httpURLConnection.getResponseCode(); switch (responseCode) { case HttpURLConnection.HTTP_OK: case HttpURLConnection.HTTP_ACCEPTED: case HttpURLConnection.HTTP_NO_CONTENT: { break; } default: { throw new IOException("DELETE failed with HTTP response code " + responseCode); } } |
| |||
int responseCode = httpURLConnection.getResponseCode(); switch (responseCode) { case HttpURLConnection.HTTP_OK: case HttpURLConnection. [[#variable174bff00]]: case HttpURLConnection.HTTP_NO_CONTENT: { break; } default: { throw new IOException( [[#variable174d05e0]] + responseCode); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#174bff00]] | HTTP_CREATED |
1 | 2 | [[#174bff00]] | HTTP_ACCEPTED |
2 | 1 | [[#174d05e0]] | "PUT failed with HTTP response code " |
2 | 2 | [[#174d05e0]] | "DELETE failed with HTTP response code " |