CloneSet115


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
35310.996statement_sequence[22]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
134850
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeDate.java
235789
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTime.java
334842
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTimestamp.java
Next
Last
Clone Instance
1
Line Count
34
Source Line
850
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeDate.java

// handle cross-connection between fields
dateFormatTypeDrop.setEnabled( !useJavaDefaultFormatChk.isSelected());
dateFormatTypeDropLabel.setEnabled( !useJavaDefaultFormatChk.isSelected());
lenientChk.setEnabled( !useJavaDefaultFormatChk.isSelected());
/*
 * Create the panel and add the GUI items to it
 */
setLayout(new GridBagLayout());
// i18n[dataTypeDate.typeDate=Date   (SQL type 91)]
setBorder(BorderFactory.createTitledBorder(s_stringMgr.getString("dataTypeDate.typeDate")));
final GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets(4, 4, 4, 4);
gbc.anchor = GridBagConstraints.WEST;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.gridwidth = GridBagConstraints.REMAINDER;
add(useJavaDefaultFormatChk, gbc);
gbc.gridwidth = 1;
gbc.gridx = 0;
++gbc.gridy;
add(dateFormatTypeDropLabel, gbc);
++gbc.gridx;
add(dateFormatTypeDrop, gbc);
gbc.gridx = 0;
++gbc.gridy;
add(lenientChk, gbc);


Next
Previous
Clone Instance
2
Line Count
35
Source Line
789
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTime.java

// handle cross-connection between fields
dateFormatTypeDrop.setEnabled( !useJavaDefaultFormatChk.isSelected());
dateFormatTypeDropLabel.setEnabled( !useJavaDefaultFormatChk.isSelected());
lenientChk.setEnabled( !useJavaDefaultFormatChk.isSelected());
/*
    * Create the panel and add the GUI items to it
   */
setLayout(new GridBagLayout());
// i18n[dataTypeTime.typeTime=Time   (SQL type 92)]
setBorder(BorderFactory.createTitledBorder(s_stringMgr.getString("dataTypeTime.typeTime")));
final GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets(4, 4, 4, 4);
gbc.anchor = GridBagConstraints.WEST;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.gridwidth = GridBagConstraints.REMAINDER;
add(useJavaDefaultFormatChk, gbc);
gbc.gridwidth = 1;
gbc.gridx = 0;
++gbc.gridy;
add(dateFormatTypeDropLabel, gbc);
++gbc.gridx;
add(dateFormatTypeDrop, gbc);
gbc.gridx = 0;
++gbc.gridy;
add(lenientChk, gbc);


First
Previous
Clone Instance
3
Line Count
34
Source Line
842
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTimestamp.java

// handle cross-connection between fields
dateFormatTypeDrop.setEnabled( !useJavaDefaultFormatChk.isSelected());
dateFormatTypeDropLabel.setEnabled( !useJavaDefaultFormatChk.isSelected());
lenientChk.setEnabled( !useJavaDefaultFormatChk.isSelected());
/*
     * Create the panel and add the GUI items to it
    */
setLayout(new GridBagLayout());
// i18n[dateTypeTimestamp.typeTimestamp=Timestamp   (SQL type 93)]
setBorder(BorderFactory.createTitledBorder(s_stringMgr.getString("dateTypeTimestamp.typeTimestamp")));
final GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets(4, 4, 4, 4);
gbc.anchor = GridBagConstraints.WEST;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.gridwidth = GridBagConstraints.REMAINDER;
add(useJavaDefaultFormatChk, gbc);
gbc.gridwidth = 1;
gbc.gridx = 0;
++gbc.gridy;
add(dateFormatTypeDropLabel, gbc);
++gbc.gridx;
add(dateFormatTypeDrop, gbc);
gbc.gridx = 0;
++gbc.gridy;
add(lenientChk, gbc);


Clone AbstractionParameter Count: 1Parameter Bindings

// handle cross-connection between fields
dateFormatTypeDrop.setEnabled( !useJavaDefaultFormatChk.isSelected());
dateFormatTypeDropLabel.setEnabled( !useJavaDefaultFormatChk.isSelected());
lenientChk.setEnabled( !useJavaDefaultFormatChk.isSelected());
/*
              * Create the panel and add the GUI items to it
             */
/*
              * Create the panel and add the GUI items to it
              */
setLayout(new GridBagLayout());
// i18n[dataTypeTime.typeTime=Time   (SQL type 92)]
// i18n[dataTypeDate.typeDate=Date   (SQL type 91)]
// i18n[dateTypeTimestamp.typeTimestamp=Timestamp   (SQL type 93)]
setBorder(BorderFactory.createTitledBorder(s_stringMgr.getString( [[#variable1af4e440]])));
final GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets(4, 4, 4, 4);
gbc.anchor = GridBagConstraints.WEST;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.gridwidth = GridBagConstraints.REMAINDER;
add(useJavaDefaultFormatChk, gbc);
gbc.gridwidth = 1;
gbc.gridx = 0;
++gbc.gridy;
add(dateFormatTypeDropLabel, gbc);
++gbc.gridx;
add(dateFormatTypeDrop, gbc);
gbc.gridx = 0;
++gbc.gridy;
add(lenientChk, gbc);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1af4e440]]
"dataTypeDate.typeDate" 
12[[#1af4e440]]
"dataTypeTime.typeTime" 
13[[#1af4e440]]
"dateTypeTimestamp.typeTimestamp"