CloneSet7256


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.950class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17229
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java
27258
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java
Clone Instance
1
Line Count
7
Source Line
229
Source File
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();
        }
    }


Clone Instance
2
Line Count
7
Source Line
258
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java

    /**
     * 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();
        }
    }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#572f5a00]]
addCommandPacket 
12[[#572f5a00]]
addReplyPacket 
21[[#572f5940]]
JdwpCommandPacket 
22[[#572f5940]]
JdwpReplyPacket 
31[[#572f58c0]]
fCommandPackets 
32[[#572f58c0]]
fReplyPackets