CloneSet1395


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.992statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115109
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java
21566
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketSendManager.java
Clone Instance
1
Line Count
15
Source Line
109
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketReceiveManager.java

        // Check for an IO Exception.
        if (VMIsDisconnected()) {
            String message;
            if (getDisconnectException() == null) {
                message = ConnectMessages.PacketReceiveManager_Got_IOException_from_Virtual_Machine_1;
            } //end if 
            else {
                String exMessage = getDisconnectException().getMessage();
                if (exMessage == null) {
                    message = MessageFormat.format(ConnectMessages.PacketReceiveManager_Got__0__from_Virtual_Machine_1, new String[] {
                                                                                                                                       getDisconnectException().getClass().getName()
                                                                                                                                     } );
                } //end if 
                else {
                    message = MessageFormat.format(ConnectMessages.PacketReceiveManager_Got__0__from_Virtual_Machine___1__1, new String[] {
                                                                                                                                            getDisconnectException().getClass().getName(), exMessage
                                                                                                                                          } );
                } //end else
            } //end else
            throw new VMDisconnectedException(message);
        }


Clone Instance
2
Line Count
15
Source Line
66
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/connect/PacketSendManager.java

                if (VMIsDisconnected()) {
                        String message;
                        if (getDisconnectException() == null) {
                                message = ConnectMessages.PacketSendManager_Got_IOException_from_Virtual_Machine_1;
                        } //end if 
                        else {
                                String exMessage = getDisconnectException().getMessage();
                                if (exMessage == null) {
                                        message = MessageFormat.format(ConnectMessages.PacketSendManager_Got__0__from_Virtual_Machine_1, new String[] {
                                                                                                                                                       getDisconnectException().getClass().getName()
                                                                                                                                                      } );
                                } //end if 
                                else {
                                        message = MessageFormat.format(ConnectMessages.PacketSendManager_Got__0__from_Virtual_Machine___1__1, new String[] {
                                                                                                                                                            getDisconnectException().getClass().getName(), exMessage
                                                                                                                                                           } );
                                } //end else
                        } //end else
                        throw new VMDisconnectedException(message);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

// Check for an IO Exception.
if (VMIsDisconnected()) {
  String message;
  if (getDisconnectException() == null) {
    message = ConnectMessages. [[#variablebc2e2f60]];
  } //end if 
  else {
    String exMessage = getDisconnectException().getMessage();
    if (exMessage == null) {
      message = MessageFormat.format(ConnectMessages. [[#variablebc2e3000]], new String[] {
                                                                                            getDisconnectException().getClass().getName()
                                                                                          } );
    } //end if 
    else {
      message = MessageFormat.format(ConnectMessages. [[#variablebc2e2fc0]], new String[] {
                                                                                            getDisconnectException().getClass().getName(),
                                                                                            exMessage
                                                                                          } );
    } //end else
  } //end else
  throw new VMDisconnectedException(message);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bc2e2f60]]
PacketSendManager_Got_IOException_from_Virtual_Machine_1 
12[[#bc2e2f60]]
PacketReceiveManager_Got_IOException_from_Virtual_Machine_1 
21[[#bc2e3000]]
PacketSendManager_Got__0__from_Virtual_Machine_1 
22[[#bc2e3000]]
PacketReceiveManager_Got__0__from_Virtual_Machine_1 
31[[#bc2e2fc0]]
PacketSendManager_Got__0__from_Virtual_Machine___1__1 
32[[#bc2e2fc0]]
PacketReceiveManager_Got__0__from_Virtual_Machine___1__1