CloneSet6938


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2320.972statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15519
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
22573
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
32717
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
Clone Instance
1
Line Count
5
Source Line
519
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java

                if ( !isSuspended()) {
                        // Checking isSuspended here eliminates a race condition in resume
                        // between the time stack frames are preserved and the time the
                        // underlying thread is actually resumed.
                        requestFailed(JDIDebugModelMessages.JDIThread_Unable_to_retrieve_stack_frame___thread_not_suspended__1, null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
                }


Clone Instance
2
Line Count
2
Source Line
573
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java

                if ( !canRunEvaluation()) {
                        requestFailed(JDIDebugModelMessages.JDIThread_Evaluation_failed___thread_not_suspended, null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
                }


Clone Instance
3
Line Count
2
Source Line
717
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java

                                if ( !isSuspended()) {
                                        requestFailed(JDIDebugModelMessages.JDIThread_Evaluation_failed___thread_not_suspended, null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( ! [[#variable543355e0]]()) {
  // Checking isSuspended here eliminates a race condition in resume
  // between the time stack frames are preserved and the time the
  // underlying thread is actually resumed.
  requestFailed(JDIDebugModelMessages. [[#variable543358e0]], null, IJavaThread.ERR_THREAD_NOT_SUSPENDED);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#543355e0]]
canRunEvaluation 
12[[#543355e0]]
isSuspended 
13[[#543355e0]]
isSuspended 
21[[#543358e0]]
JDIThread_Evaluation_failed___thread_not_suspended 
22[[#543358e0]]
JDIThread_Unable_to_retrieve_stack_frame___thread_not_suspended__1 
23[[#543358e0]]
JDIThread_Evaluation_failed___thread_not_suspended