CloneSet1745


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
38210.978compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1381
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/commands/SQLResultListener.java
2411
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/SQLResultListener.java
Next
Last
Clone Instance
1
Line Count
38
Source Line
1
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/commands/SQLResultListener.java

package net.sourceforge.squirrel_sql.plugins.postgres.commands;

/*
 * Copyright (C) 2007 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
/**
 * This should be implemented by UI components that need to display/run SQL that
 * could potentially take a long time to build.  The caller can then return
 * immediately to allow the UI to remain responsive, while an app thread builds
 * the SQL.  Finally, the method implementation will be called when the SQL
 * result is built.
 */
public interface SQLResultListener {
  /**
   * This is called to let the listener know when the SQL result is ready.
   *
   * @param sql the SQL statements that resulted from a request.
   */
  void finished(String[] sql);
}




First
Previous
Clone Instance
2
Line Count
41
Source Line
1
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/SQLResultListener.java

package net.sourceforge.squirrel_sql.plugins.refactoring.commands;

/*
 * Copyright (C) 2007 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
/**
 * This should be implemented by UI components that need to display/run SQL that
 * could potentially take a long time to build.  The caller can then return 
 * immediately to allow the UI to remain responsive, while an app thread builds
 * the SQL.  Finally, the method implementation will be called when the SQL 
 * result is built.  
 * 
 * @author manningr
 */
public interface SQLResultListener {
  /**
   * This is called to let the listener know when the SQL result is ready.
   * 
   * @param sql the SQL statements that resulted from a request.
   */
  void finished(String[] sql);
}




Clone AbstractionParameter Count: 1Parameter Bindings

package net.sourceforge.squirrel_sql.plugins. [[#variable1c97da20]].commands;

/*
 * Copyright (C) 2007 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
/**
 * This should be implemented by UI components that need to display/run SQL that
 * could potentially take a long time to build.  The caller can then return
 * immediately to allow the UI to remain responsive, while an app thread builds
 * the SQL.  Finally, the method implementation will be called when the SQL
 * result is built.
 */
/*
 * Copyright (C) 2007 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
/**
 * This should be implemented by UI components that need to display/run SQL that
 * could potentially take a long time to build.  The caller can then return 
 * immediately to allow the UI to remain responsive, while an app thread builds
 * the SQL.  Finally, the method implementation will be called when the SQL 
 * result is built.  
 * 
 * @author manningr
 */
public interface SQLResultListener {
  /**
       * This is called to let the listener know when the SQL result is ready.
       *
       * @param sql the SQL statements that resulted from a request.
       */
  /**
       * This is called to let the listener know when the SQL result is ready.
       * 
       * @param sql the SQL statements that resulted from a request.
       */
  void finished(String[] sql);
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c97da20]]
postgres 
12[[#1c97da20]]
refactoring