CloneSet876


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112188
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/util/ApplicationFiles.java
212205
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/util/ApplicationFiles.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
188
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/util/ApplicationFiles.java

/**
 * @return file to log execution information to.
 */
public File getExecutionLogFile() {
  final String dirPath = _userSettingsDir + File.separator + "logs";
  final String logBaseName = "squirrel-sql.log";
  if (needExecutionLogCleanup) {
    // first time through this method in program, so go cleanup
    // old log files
    deleteOldFiles(dirPath, logBaseName);
    needExecutionLogCleanup = false;
  }
  return new File(dirPath + File.separator + logBaseName);
}


First
Previous
Clone Instance
2
Line Count
12
Source Line
205
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/util/ApplicationFiles.java

/**
 * @return file to log JDBC debug information to.
 */
public File getJDBCDebugLogFile() {
  final String dirPath = _userSettingsDir + File.separator + "logs";
  final String logBaseName = "jdbcdebug.log";
  if (needDebugLogCleanup) {
    // first time through this method in program, so go cleanup
    // old log files
    deleteOldFiles(dirPath, logBaseName);
    needDebugLogCleanup = false;
  }
  return new File(dirPath + File.separator + logBaseName);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * @return file to log JDBC debug information to.
         */
/**
         * @return file to log execution information to.
         */
public File  [[#variable1cd08540]]() {
  final String dirPath = _userSettingsDir + File.separator + "logs";
  final String logBaseName = [[#variable1cd08520]];
  if ( [[#variable1cd08460]]) {
    // first time through this method in program, so go cleanup
    // old log files
    deleteOldFiles(dirPath, logBaseName);
     [[#variable1cd08460]]= false;
  }
  return new File(dirPath + File.separator + logBaseName);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cd08540]]
getExecutionLogFile 
12[[#1cd08540]]
getJDBCDebugLogFile 
21[[#1cd08520]]
"squirrel-sql.log" 
22[[#1cd08520]]
"jdbcdebug.log" 
31[[#1cd08460]]
needExecutionLogCleanup 
32[[#1cd08460]]
needDebugLogCleanup