CloneSet2299


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.996class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11395
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java
213118
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java
Clone Instance
1
Line Count
13
Source Line
95
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java

        /**
         * Prints this exception's stack trace to the given print stream.
         * 
         * @param output
         *            the print stream
         * @since 3.0
         */
        public void printStackTrace(PrintStream output) {
                synchronized (output) {
                        super.printStackTrace(output);
                        Throwable throwable = getException();
                        if (throwable != null) {
                                if (this.fileName != null) {
                                        output.print("Caused in "); //$NON-NLS-1$
                                        output.print(this.fileName);
                                        output.print(" by: "); //$NON-NLS-1$
                                }
                                else   {
                                        output.print("Caused by: "); //$NON-NLS-1$
                                }
                                throwable.printStackTrace(output);
                        }
                }
        }


Clone Instance
2
Line Count
13
Source Line
118
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java

        /**
         * Prints this exception's stack trace to the given print writer.
         * 
         * @param output
         *            the print writer
         * @since 3.0
         */
        public void printStackTrace(PrintWriter output) {
                synchronized (output) {
                        super.printStackTrace(output);
                        Throwable throwable = getException();
                        if (throwable != null) {
                                if (this.fileName != null) {
                                        output.print("Caused in "); //$NON-NLS-1$
                                        output.print(this.fileName);
                                        output.print(" by: "); //$NON-NLS-1$
                                }
                                else   {
                                        output.print("Caused by: "); //$NON-NLS-1$
                                }
                                throwable.printStackTrace(output);
                        }
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Prints this exception's stack trace to the given print stream.
         * 
         * @param output
         *            the print stream
         * @since 3.0
         */
/**
         * Prints this exception's stack trace to the given print writer.
         * 
         * @param output
         *            the print writer
         * @since 3.0
         */
public void printStackTrace( [[#variableba0516e0]] output) {
  synchronized (output) {
    super.printStackTrace(output);
    Throwable throwable = getException();
    if (throwable != null) {
      if (this.fileName != null) {
        output.print("Caused in "); //$NON-NLS-1$
        output.print(this.fileName);
        output.print(" by: "); //$NON-NLS-1$
      }
      else {
        output.print("Caused by: "); //$NON-NLS-1$
      }
      throwable.printStackTrace(output);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba0516e0]]
PrintStream 
12[[#ba0516e0]]
PrintWriter