Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.950 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 229 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java |
2 | 7 | 258 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java |
| ||||
/** * Add a command packet to the command packet list. */ private void addCommandPacket(JdwpCommandPacket packet) { if (isTimedOut(packet)) { return; // already timed out. No need to keep this one } synchronized (fCommandPackets) { fCommandPackets.add(packet); fCommandPackets.notifyAll(); } } |
| ||||
/** * Add a reply packet to the reply packet list. */ private void addReplyPacket(JdwpReplyPacket packet) { if (isTimedOut(packet)) { return; // already timed out. No need to keep this one } synchronized (fReplyPackets) { fReplyPackets.add(packet); fReplyPackets.notifyAll(); } } |
| |||
/** * Add a command packet to the command packet list. */ /** * Add a reply packet to the reply packet list. */ private void [[#variable572f5a00]]( [[#variable572f5940]] packet) { if (isTimedOut(packet)) { return; // already timed out. No need to keep this one } synchronized ( [[#variable572f58c0]]) { [[#variable572f58c0]].add(packet); [[#variable572f58c0]].notifyAll(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#572f5a00]] | addCommandPacket |
1 | 2 | [[#572f5a00]] | addReplyPacket |
2 | 1 | [[#572f5940]] | JdwpCommandPacket |
2 | 2 | [[#572f5940]] | JdwpReplyPacket |
3 | 1 | [[#572f58c0]] | fCommandPackets |
3 | 2 | [[#572f58c0]] | fReplyPackets |