CloneSet3702


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19310.983class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11926
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/StatusInfo.java
21923
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/JUnitStatus.java
31928
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusInfo.java
Clone Instance
1
Line Count
19
Source Line
26
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/StatusInfo.java

        private String fStatusMessage;

        private int fSeverity;

        /**
         * Creates a status set to OK (no message)
         */
        public StatusInfo() {
                this(OK, null);
        }

        /**
         * Creates a status .
         * @param severity The status severity: ERROR, WARNING, INFO and OK.
         * @param message The message of the status. Applies only for ERROR,
         * WARNING and INFO.
         */
        public StatusInfo(int severity, String message) {
                fStatusMessage = message;
                fSeverity = severity;
        }


Clone Instance
2
Line Count
19
Source Line
23
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/JUnitStatus.java

        private String fStatusMessage;

        private int fSeverity;

        /**
         * Creates a status set to OK (no message)
         */
        public JUnitStatus() {
                this(OK, null);
        }

        /**
         * Creates a status .
         * @param severity The status severity: ERROR, WARNING, INFO and OK.
         * @param message The message of the status. Applies only for ERROR,
         * WARNING and INFO.
         */
        public JUnitStatus(int severity, String message) {
                fStatusMessage = message;
                fSeverity = severity;
        }


Clone Instance
3
Line Count
19
Source Line
28
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusInfo.java

        private String fStatusMessage;

        private int fSeverity;

        /**
         * Creates a status set to OK (no message)
         */
        public StatusInfo() {
                this(OK, null);
        }

        /**
         * Creates a status .
         * @param severity The status severity: ERROR, WARNING, INFO and OK.
         * @param message The message of the status. Applies only for ERROR,
         * WARNING and INFO.
         */
        public StatusInfo(int severity, String message) {
                fStatusMessage = message;
                fSeverity = severity;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

private String fStatusMessage;

private int fSeverity;

/**
         * Creates a status set to OK (no message)
         */
public [[#variable56f5fce0]]() {
  this(OK, null);
}

/**
         * Creates a status .
         * @param severity The status severity: ERROR, WARNING, INFO and OK.
         * @param message The message of the status. Applies only for ERROR,
         * WARNING and INFO.
         */
public [[#variable56f5fce0]](int severity, String message) {
  fStatusMessage = message;
  fSeverity = severity;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56f5fce0]]
StatusInfo 
12[[#56f5fce0]]
JUnitStatus 
13[[#56f5fce0]]
StatusInfo