Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.990 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 48 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/EditWhereCols.java |
2 | 9 | 72 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DTProperties.java |
| |||||
/** * The version of the data suitible for loading/unloading from/to files. * The internal representation is a HashMap containing HashMaps containing strings. * The XMLReader/Writer Beans in fw.xml do not handle the general case of HashMaps, * so rather than trying to handle that there, we just convert the data internally into a form * that those classes can handle, i.e. an array of strings. * Each string consists of the name of the table, a space, then a comma-separated list of * all of the columns that SHOULD be used in the WHERE clause when doing editing * operations. * This is used in an instance of this class created during load/unload. */ private String[] dataArray = new String[0]; /** * The mapping from table name to object (also a HashMap) * containing the list of names of columns to use in WHERE clause. * There is only one copy of this table for all instances of this class. */ private static HashMap<String, HashMap<String, String>> _tables = new HashMap<String, HashMap<String, String>>(); |
| |||||
/** * The version of the data suitable for loading/unloading from/to files. * The internal representation is a HashMap containing HashMaps containing strings. * The XMLReader/Writer Beans in fw.xml do not handle the general case of HashMaps, * so rather than trying to handle that there, we just convert the data internally into a form * that those classes can handle, i.e. an array of strings. * Each string consists of the name of the class, a space, the name of * a property, an equals, then the contents of the property, which must * also be a string. * This is used in an instance of this class created during load/unload. */ private String[] dataArray = new String[0]; /** * The mapping from DataType name to object (also a HashMap) * containing the properties for that DataType. * There is only one copy of this table for all instances of this class. */ private static HashMap<String, HashMap<String, String>> dataTypes = new HashMap<String, HashMap<String, String>>(); |
| |||
/** * The version of the data suitible for loading/unloading from/to files. * The internal representation is a HashMap containing HashMaps containing strings. * The XMLReader/Writer Beans in fw.xml do not handle the general case of HashMaps, * so rather than trying to handle that there, we just convert the data internally into a form * that those classes can handle, i.e. an array of strings. * Each string consists of the name of the table, a space, then a comma-separated list of * all of the columns that SHOULD be used in the WHERE clause when doing editing * operations. * This is used in an instance of this class created during load/unload. */ /** * The version of the data suitable for loading/unloading from/to files. * The internal representation is a HashMap containing HashMaps containing strings. * The XMLReader/Writer Beans in fw.xml do not handle the general case of HashMaps, * so rather than trying to handle that there, we just convert the data internally into a form * that those classes can handle, i.e. an array of strings. * Each string consists of the name of the class, a space, the name of * a property, an equals, then the contents of the property, which must * also be a string. * This is used in an instance of this class created during load/unload. */ private String[] dataArray = new String[0]; /** * The mapping from table name to object (also a HashMap) * containing the list of names of columns to use in WHERE clause. * There is only one copy of this table for all instances of this class. */ /** * The mapping from DataType name to object (also a HashMap) * containing the properties for that DataType. * There is only one copy of this table for all instances of this class. */ private static HashMap<String, HashMap<String, String>> [[#variable1cc94c20]]= new HashMap<String, HashMap<String, String>>(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc94c20]] | _tables |
1 | 2 | [[#1cc94c20]] | dataTypes |