CloneSet1168


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8301.000catch_statements
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18155
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter.java
28133
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter2.java
38406
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java
Clone Instance
1
Line Count
8
Source Line
155
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter.java

                  catch (IOException ex) {
                        // Ensure full path is visible
                        String message = null;
                        if (ex.getLocalizedMessage() != null)
                                message = Messages.format(JarPackagerMessages.JarWriter_writeProblemWithMessage, new Object[] {
                                                                                                                               resource.getFullPath(), ex.getLocalizedMessage()
                                                                                                                              } );
                        else    message = Messages.format(JarPackagerMessages.JarWriter_writeProblem, resource.getFullPath());
                        throw JarPackagerUtil.createCoreException(message, ex);
                  }


Clone Instance
2
Line Count
8
Source Line
133
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter2.java

                  catch (IOException ex) {
                        // Ensure full path is visible
                        String message = null;
                        if (ex.getLocalizedMessage() != null)
                                message = Messages.format(JarPackagerMessages.JarWriter_writeProblemWithMessage, new Object[] {
                                                                                                                               resource.getFullPath(), ex.getLocalizedMessage()
                                                                                                                              } );
                        else    message = Messages.format(JarPackagerMessages.JarWriter_writeProblem, resource.getFullPath());
                        throw JarPackagerUtil.createCoreException(message, ex);
                  }


Clone Instance
3
Line Count
8
Source Line
406
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java

                  catch (IOException ex) {
                        // Ensure full path is visible
                        String message = null;
                        if (ex.getLocalizedMessage() != null)
                                message = Messages.format(JarPackagerMessages.JarWriter_writeProblemWithMessage, new Object[] {
                                                                                                                               resource.getFullPath(), ex.getLocalizedMessage()
                                                                                                                              } );
                        else    message = Messages.format(JarPackagerMessages.JarWriter_writeProblem, resource.getFullPath());
                        throw JarPackagerUtil.createCoreException(message, ex);
                  }


Clone AbstractionParameter Count: 0Parameter Bindings

catch (IOException ex) {
  // Ensure full path is visible
  String message = null;
  if (ex.getLocalizedMessage() != null)
    message = Messages.format(JarPackagerMessages.JarWriter_writeProblemWithMessage, new Object[] {
                                                                                                    resource.getFullPath(),
                                                                                                    ex.getLocalizedMessage()
                                                                                                  } );
  else
    message = Messages.format(JarPackagerMessages.JarWriter_writeProblem, resource.getFullPath());
  throw JarPackagerUtil.createCoreException(message, ex);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None