CloneSet2453


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.975statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110335
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java
210382
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java
Clone Instance
1
Line Count
10
Source Line
335
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java

                IPackageFragmentRoot root = fResourceBundlePackage.getSelectedFragmentRoot();
                if ((root == null) || !root.exists()) {
                        setInvalid(IDX_BUNDLE_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_property_package_root_invalid);
                        return;
                }

                IPackageFragment fragment = fResourceBundlePackage.getSelected();
                if ((fragment == null) || !fragment.exists()) {
                        setInvalid(IDX_BUNDLE_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_property_package_invalid);
                        return;
                }


Clone Instance
2
Line Count
10
Source Line
382
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java

                IPackageFragmentRoot root = fAccessorPackage.getSelectedFragmentRoot();
                if ((root == null) || !root.exists()) {
                        setInvalid(IDX_ACCESSOR_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_accessor_package_root_invalid);
                        return;
                }

                IPackageFragment fragment = fAccessorPackage.getSelected();
                if ((fragment == null) || !fragment.exists()) {
                        setInvalid(IDX_ACCESSOR_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_accessor_package_invalid);
                        return;
                }


Clone AbstractionParameter Count: 4Parameter Bindings

IPackageFragmentRoot root = [[#variable7c34ff40]].getSelectedFragmentRoot();
if ((root == null) || !root.exists()) {
  setInvalid( [[#variable7c34f680]], NLSUIMessages. [[#variable7c34f660]]);
  return;
}
IPackageFragment fragment = [[#variable7c34ff40]].getSelected();
if ((fragment == null) || !fragment.exists()) {
  setInvalid( [[#variable7c34f680]], NLSUIMessages. [[#variable7c34f820]]);
  return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7c34ff40]]
fAccessorPackage 
12[[#7c34ff40]]
fResourceBundlePackage 
21[[#7c34f680]]
IDX_ACCESSOR_PACKAGE 
22[[#7c34f680]]
IDX_BUNDLE_PACKAGE 
31[[#7c34f660]]
NLSAccessorConfigurationDialog_accessor_package_root_invalid 
32[[#7c34f660]]
NLSAccessorConfigurationDialog_property_package_root_invalid 
41[[#7c34f820]]
NLSAccessorConfigurationDialog_accessor_package_invalid 
42[[#7c34f820]]
NLSAccessorConfigurationDialog_property_package_invalid