CloneSet5472


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.966statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15339
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/javadoc/JavaDocLocations.java
2570
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareAction.java
35189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java
Clone Instance
1
Line Count
5
Source Line
339
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/javadoc/JavaDocLocations.java

                        byte[] bytes;
                        try {
                                bytes = string.getBytes("UTF-8"); //$NON-NLS-1$
                        } catch (UnsupportedEncodingException e) {
                                bytes = string.getBytes();
                          }


Clone Instance
2
Line Count
5
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareAction.java

                        byte[] bytes;
                        try {
                                bytes = fContents.getBytes("UTF-16"); //$NON-NLS-1$
                        } catch (UnsupportedEncodingException e) {
                                bytes = fContents.getBytes();
                          }


Clone Instance
3
Line Count
5
Source Line
189
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileStore.java

                        byte[] bytes;
                        try {
                                bytes = string.getBytes("UTF-8"); //$NON-NLS-1$
                        } catch (UnsupportedEncodingException e) {
                                bytes = string.getBytes();
                          }


Clone AbstractionParameter Count: 2Parameter Bindings

byte[] bytes;
try {
  bytes = [[#variablea150b640]].getBytes( [[#variablea150b520]]); //$NON-NLS-1$
}
catch (UnsupportedEncodingException e) {
  bytes = [[#variablea150b640]].getBytes();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a150b640]]
string 
12[[#a150b640]]
fContents 
13[[#a150b640]]
string 
21[[#a150b520]]
"UTF-8" 
22[[#a150b520]]
"UTF-16" 
23[[#a150b520]]
"UTF-8"