CloneSet1785


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11472
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/InstructionSequence.java
214104
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/EvaluationResult.java
Clone Instance
1
Line Count
14
Source Line
72
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/InstructionSequence.java

        /**
         * @see ICompiledExpression#getErrors()
         * @deprecated
         */
        public Message[] getErrors() {
                Message[] messages = new Message[fErrors.size()];
                int i = 0;
                for (Iterator iter = fErrors.iterator(); iter.hasNext();) {
                        messages[i++ ] = new Message((String) iter.next(), -1);
                }
                return messages;
        }

        /**
         * @see org.eclipse.jdt.debug.eval.ICompiledExpression#getErrorMessages()
         */
        public String[] getErrorMessages() {
                return (String[]) fErrors.toArray(new String[fErrors.size()]);
        }


Clone Instance
2
Line Count
14
Source Line
104
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/EvaluationResult.java

        /**
         * @see IEvaluationResult#getProblems()
         * @deprecated
         */
        public Message[] getErrors() {
                Message[] messages = new Message[fErrors.size()];
                int i = 0;
                for (Iterator iter = fErrors.iterator(); iter.hasNext();) {
                        messages[i++ ] = new Message((String) iter.next(), -1);
                }
                return messages;
        }

        /**
         * @see org.eclipse.jdt.debug.eval.IEvaluationResult#getErrorMessages()
         */
        public String[] getErrorMessages() {
                return (String[]) fErrors.toArray(new String[fErrors.size()]);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * @see ICompiledExpression#getErrors()
         * @deprecated
         */
/**
         * @see IEvaluationResult#getProblems()
         * @deprecated
         */
public Message[] getErrors() {
  Message[] messages = new Message[fErrors.size()];
  int i = 0;
  for (Iterator iter = fErrors.iterator(); iter.hasNext();) {
    messages[i++ ] = new Message((String) iter.next(), -1);
  }
  return messages;
}

/**
         * @see org.eclipse.jdt.debug.eval.ICompiledExpression#getErrorMessages()
         */
/**
         * @see org.eclipse.jdt.debug.eval.IEvaluationResult#getErrorMessages()
         */
public String[] getErrorMessages() {
  return (String[]) fErrors.toArray(new String[fErrors.size()]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None