CloneSet5378


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111231
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaMonitor.java
211297
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaMonitorThread.java
Clone Instance
1
Line Count
11
Source Line
231
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaMonitor.java

        /**
         * Indicate if this monitor is currently part of a deadlock
         */
        public boolean isInDeadlock() {
                return fIsInDeadlock;
        }

        /**
         * Set this monitor as being part of a deadlock.
         */
        public void setInDeadlock(boolean isInDeadlock) {
                boolean oldValue = fIsInDeadlock;
                fIsInDeadlock = isInDeadlock;
                if (oldValue != isInDeadlock) {
                        fireChangeEvent(DebugEvent.STATE);
                }
        }


Clone Instance
2
Line Count
11
Source Line
297
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaMonitorThread.java

        /**
         * Indicate if this thread is currently part of a deadlock
         */
        public boolean isInDeadlock() {
                return fIsInDeadlock;
        }

        /**
         * Set this thread as being part of a deadlock.
         */
        public void setInDeadlock(boolean isInDeadlock) {
                boolean oldValue = fIsInDeadlock;
                fIsInDeadlock = isInDeadlock;
                if (oldValue != isInDeadlock) {
                        fireChangeEvent(DebugEvent.STATE);
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Indicate if this monitor is currently part of a deadlock
         */
/**
         * Indicate if this thread is currently part of a deadlock
         */
public boolean isInDeadlock() {
  return fIsInDeadlock;
}

/**
         * Set this monitor as being part of a deadlock.
         */
/**
         * Set this thread as being part of a deadlock.
         */
public void setInDeadlock(boolean isInDeadlock) {
  boolean oldValue = fIsInDeadlock;
  fIsInDeadlock = isInDeadlock;
  if (oldValue != isInDeadlock) {
    fireChangeEvent(DebugEvent.STATE);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None