bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected void modified() { // Find the current transaction or create a new one Transaction tx = odmg.currentTransaction(); boolean mustCommit = false; if ( tx == null ) { tx = odmg.newTransaction(); tx.begin(); mustCommit = true; } // Add folder to the transaction tx.lock( this, Transaction.WRITE ); /...
protected void modified() { // Find the current transaction or create a new one Transaction tx = odmg.currentTransaction(); boolean mustCommit = false; if ( tx == null ) { tx = odmg.newTransaction(); tx.begin(); mustCommit = true; } // Add folder to the transaction tx.lock( this, Transaction.WRITE ); /...
1,111,869
protected void modified() { // Find the current transaction or create a new one Transaction tx = odmg.currentTransaction(); boolean mustCommit = false; if ( tx == null ) { tx = odmg.newTransaction(); tx.begin(); mustCommit = true; } // Add folder to the transaction tx.lock( this, Transaction.WRITE ); /...
protected void modified() { // Find the current transaction or create a new one Transaction tx = odmg.currentTransaction(); boolean mustCommit = false; if ( tx == null ) { tx = odmg.newTransaction(); tx.begin(); mustCommit = true; } // Add folder to the transaction tx.lock( this, Transaction.WRITE ); /...
1,111,870
public SQLTestCase(String name) throws Exception { super(name); ArchitectFrame.getMainInstance(); // creates an ArchitectFrame, which loads settings //FIXME: a better approach would be to have an initialsation method // in the business model, which does not depend on the init routine in ArchitectFrame. }
public SQLTestCase(String name) throws Exception { super(name); // creates an ArchitectFrame, which loads settings //FIXME: a better approach would be to have an initialsation method // in the business model, which does not depend on the init routine in ArchitectFrame. }
1,111,875
protected void setUp() throws Exception { PlDotIni plini = new PlDotIni(); plini.read(new File("pl.regression.ini")); db = new SQLDatabase(plini.getDataSource("regression_test")); }
protected void setUp() throws Exception { PlDotIni plini = new PlDotIni(); plini.read(new File("pl.regression.ini")); db = new SQLDatabase(plini.getDataSource("regression_test")); }
1,111,876
public void componentResized(ComponentEvent e) { if (dPrimeDisplay != null){ dPrimeDisplay.refresh(0); } }
public void componentResized(ComponentEvent e) { if (dPrimeDisplay != null){ dPrimeDisplay.refresh(); } }
1,111,877
public HaploView(){ try{ fc = new JFileChooser(System.getProperty("user.dir")); }catch(NullPointerException n){ try{ UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); fc = new JFileChooser(System.getProperty("user.dir")); ...
public HaploView(){ try{ fc = new JFileChooser(System.getProperty("user.dir")); }catch(NullPointerException n){ try{ UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); fc = new JFileChooser(System.getProperty("user.dir")); ...
1,111,878
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command == READ_GENOTYPES){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command == READ_...
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command == READ_GENOTYPES){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command == READ_...
1,111,879
public void changeBlocks(int method){ theData.guessBlocks(method); dPrimeDisplay.refresh(0); currentBlockDef = method; try{ if (tabs.getSelectedIndex() == VIEW_HAP_NUM){ hapDisplay.getHaps(); } }catch(HaploViewException hve) { JOptio...
public void changeBlocks(int method){ theData.guessBlocks(method); dPrimeDisplay.refresh(); currentBlockDef = method; try{ if (tabs.getSelectedIndex() == VIEW_HAP_NUM){ hapDisplay.getHaps(); } }catch(HaploViewException hve) { JOption...
1,111,880
void readMarkers(File inputFile, String[][] hminfo){ try { theData.prepareMarkerInput(inputFile,maxCompDist,hminfo); if (checkPanel != null){ checkPanel.refreshNames(); } if (tdtPanel != null){ tdtPanel.refreshNames(); } ...
void readMarkers(File inputFile, String[][] hminfo){ try { theData.prepareMarkerInput(inputFile,maxCompDist,hminfo); if (checkPanel != null){ checkPanel.refreshNames(); } if (tdtPanel != null){ tdtPanel.refreshNames(); } ...
1,111,883
void indexDirectory( File dir, PhotoFolder folder, int startPercent, int endPercent ) { File files[] = dir.listFiles(); // Count the files int fileCount = 0; int subdirCount = 0; for ( int n = 0; n < files.length; n++ ) { if ( files[n].isDirectory() ) { s...
void indexDirectory( File dir, PhotoFolder folder, int startPercent, int endPercent ) { File files[] = dir.listFiles(); // Count the files int fileCount = 0; int subdirCount = 0; for ( int n = 0; n < files.length; n++ ) { if ( files[n].isDirectory() ) { s...
1,111,884
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
1,111,888
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
1,111,889
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
1,111,890
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
1,111,891
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
public TableCellRenderer getCellRenderer(int row, int column) { TableModelSortDecorator t = (TableModelSortDecorator) getModel(); ProfileTableModel model = (ProfileTableModel) t.getTableModel(); int modelColumn = convertColumnIndexToModel(column); ProfileColumn pc = ProfileColumn.values(...
1,111,892
public void doTag(XMLOutput output) throws Exception { calledCreatepath = false; calledSetClasspath = false; invokeBody(output); if (! calledCreatepath) { throw new AssertionFailedError("call to createClasspath() was not made"); } if (! calledSet...
public void doTag(XMLOutput output) throws JellyTagException { calledCreatepath = false; calledSetClasspath = false; invokeBody(output); if (! calledCreatepath) { throw new AssertionFailedError("call to createClasspath() was not made"); } if (! c...
1,111,893
public void colorDPrime(int scheme){ currentScheme = scheme; DPrimeTable dPrime = theData.dpTable; noImage = true; if (scheme == STD_SCHEME){ // set coloring based on LOD and D' for (int i = 0; i < Chromosome.getSize()-1; i++){ for (int j = i+1; j < d...
public void colorDPrime(int scheme){ currentScheme = scheme; DPrimeTable dPrime = theData.dpTable; noImage = true; if (scheme == STD_SCHEME){ // set coloring based on LOD and D' for (int i = 0; i < Chromosome.getSize()-1; i++){ for (int j = i+1; j < d...
1,111,894
private void doTableProfile(SQLTable table) throws SQLException, ArchitectException { SQLDatabase db = table.getParentDatabase(); Connection conn = null; Statement stmt = null; ResultSet rs = null; String lastSQL = null; TableProfileResult tableResult = new TablePro...
private void doTableProfile(SQLTable table) throws SQLException, ArchitectException { SQLDatabase db = table.getParentDatabase(); Connection conn = null; Statement stmt = null; ResultSet rs = null; String lastSQL = null; TableProfileResult tableResult = new TablePro...
1,111,895
private void doTableProfile(SQLTable table) throws SQLException, ArchitectException { SQLDatabase db = table.getParentDatabase(); Connection conn = null; Statement stmt = null; ResultSet rs = null; String lastSQL = null; TableProfileResult tableResult = new TablePro...
private void doTableProfile(SQLTable table) throws SQLException, ArchitectException { SQLDatabase db = table.getParentDatabase(); Connection conn = null; Statement stmt = null; ResultSet rs = null; String lastSQL = null; TableProfileResult tableResult = new TablePro...
1,111,896
private ColumnProfileResult execProfileFunction(ProfileFunctionDescriptor pfd, SQLColumn col, DDLGenerator ddlg, Connection conn) throws SQLException { long createStartTime = System.currentTimeMillis(); int i = 0; StringBuffer sql = ...
private ColumnProfileResult execProfileFunction(ProfileFunctionDescriptor pfd, SQLColumn col, DDLGenerator ddlg, Connection conn) throws SQLException { long createStartTime = System.currentTimeMillis(); int i = 0; StringBuffer sql = ...
1,111,897
public static void main(String[] args) { //set defaults Options.setTaggerRsqCutoff(Tagger.DEFAULT_RSQ_CUTOFF); Options.setTaggerLODCutoff(Tagger.DEFAULT_LOD_CUTOFF); Options.setMissingThreshold(0.5); Options.setSpacingThreshold(0.0); Options.setAssocTest(ASSOC_NONE); ...
public static void main(String[] args) { //set defaults Options.setTaggerRsqCutoff(Tagger.DEFAULT_RSQ_CUTOFF); Options.setTaggerLODCutoff(Tagger.DEFAULT_LOD_CUTOFF); Options.setMissingThreshold(0.5); Options.setSpacingThreshold(0.0); Options.setAssocTest(ASSOC_NONE); ...
1,111,898
public static boolean isApplicationUp(ApplicationConfig appConfig) { return ApplicationDowntimeService.getInstance().getDowntimeRecorder() .isApplicationUp(appConfig); }
public static boolean isApplicationUp(ApplicationConfig appConfig) { return ApplicationDowntimeService.getInstance().getDowntimeRecorder() .isApplicationUp(appConfig); }
1,111,900
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat...
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat...
1,111,904
public void dbChildrenInserted(SQLObjectEvent e) { logger.debug("SQLObject children got inserted: "+e); boolean fireEvent = false; SQLObject[] c = e.getChildren(); for (int i = 0; i < c.length; i++) { try { addHierarcyListeners(c[i]); } catch (ArchitectException ex) { logger.error("Couldn't listen to add...
public void dbChildrenInserted(SQLObjectEvent e) { logger.debug("SQLObject children got inserted: "+e); boolean fireEvent = false; SQLObject[] c = e.getChildren(); for (int i = 0; i < c.length; i++) { try { addHierarcyListeners(c[i]); } catch (ArchitectException ex) { logger.error("Couldn't listen to add...
1,111,907
public void actionPerformed(ActionEvent e) { showDbcsDialog(); }
public void actionPerformed(ActionEvent e) { showDbcsDialog(); }
1,111,909
protected void parseText(String text) throws JellyTagException { if ( log.isDebugEnabled() ) { log.debug( "About to parse: " + text ); } try { getXMLReader().parse( new InputSource( new StringReader( text ) ) ); } catch (Exception e) { throw new Je...
protected void parseText(String text) throws JellyTagException { if ( log.isDebugEnabled() ) { log.debug( "About to parse: " + text ); } try { XMLReader xmlReader = getXMLReader(); xmlReader.setContentHandler(getJellyParser()); xmlReader.parse( new InputSource( new StringR...
1,111,911
public void run(Context context, XMLOutput output) throws Exception { value = false; if ( test != null ) { if ( test.evaluateAsBoolean( context ) ) { value = true; getBody().run( context, output ); } } }
public void run(JellyContext context, XMLOutput output) throws Exception { value = false; if ( test != null ) { if ( test.evaluateAsBoolean( context ) ) { value = true; getBody().run( context, output ); } } }
1,111,912
public Folder() { children = new ArrayList(); }
public Folder() { children = new ArrayList(); }
1,111,913
public boolean isPopulated() { return true; }
public boolean isPopulated() { return populated; }
1,111,914
public void populate() { }
public void populate() throws ArchitectException { try { if (type == COLUMNS) { parent.populateColumns(); } else if (type == IMPORTED_KEYS) { parent.populateRelationships(); } else if (type == EXPORTED_KEYS) { } else { throw new IllegalArgumentException("Unknown folder type: "+type); } } finally { populated = true; ...
1,111,915
protected void setParent(SQLObject newParent) { parent = newParent; }
protected void setParent(SQLObject newParent) { parent = newParent; }
1,111,916
public SQLTable(SQLObject parent, String name, String remarks, String objectType) { logger.debug("NEW TABLE "+name+"@"+hashCode()); this.parent = parent; this.tableName = name; this.remarks = remarks; this.columnsPopulated = false; this.relationshipsPopulated = false; this.objectType = objectType; this.childre...
public SQLTable(SQLObject parent, String name, String remarks, String objectType) { logger.debug("NEW TABLE "+name+"@"+hashCode()); this.parent = parent; this.tableName = name; this.remarks = remarks; this.columnsPopulated = false; this.relationshipsPopulated = false; this.objectType = objectType; this.childre...
1,111,917
public SQLTable(SQLObject parent, String name, String remarks, String objectType) { logger.debug("NEW TABLE "+name+"@"+hashCode()); this.parent = parent; this.tableName = name; this.remarks = remarks; this.columnsPopulated = false; this.relationshipsPopulated = false; this.objectType = objectType; this.childre...
public SQLTable(SQLObject parent, String name, String remarks, String objectType) { logger.debug("NEW TABLE "+name+"@"+hashCode()); this.parent = parent; this.tableName = name; this.remarks = remarks; this.columnsPopulated = false; this.relationshipsPopulated = false; this.objectType = objectType; this.childre...
1,111,918
public static SQLTable getDerivedInstance(SQLTable source, SQLDatabase parent) throws ArchitectException { source.populate(); SQLTable t = new SQLTable(parent); t.columnsPopulated = true; t.relationshipsPopulated = true; t.tableName = source.tableName; t.remarks = source.remarks; t.primaryKeyName = source.getN...
public static SQLTable getDerivedInstance(SQLTable source, SQLDatabase parent) throws ArchitectException { source.populate(); SQLTable t = new SQLTable(parent); t.columnsPopulated = true; t.relationshipsPopulated = true; t.tableName = source.tableName; t.remarks = source.remarks; t.primaryKeyName = source.getN...
1,111,919
public void initFolders() { addChild(new Folder("Columns")); addChild(new Folder("Exported Keys")); addChild(new Folder("Imported Keys")); }
public void initFolders() { addChild(new Folder("Columns")); addChild(new Folder("Exported Keys")); addChild(new Folder("Imported Keys")); }
1,111,920
public boolean isColumnsPopulated() { return this.columnsPopulated; }
public boolean isColumnsPopulated() { return columnsFolder.isPopulated(); }
1,111,921
public boolean isPopulated() { return columnsPopulated && relationshipsPopulated; }
public boolean isPopulated() { if (columnsFolder == null || importedKeysFolder == null || exportedKeysFolder == null) { return false; } else { return columnsFolder.isPopulated() && importedKeysFolder.isPopulated() && exportedKeysFolder.isPopulated(); } }
1,111,922
public boolean isRelationshipsPopulated() { return this.relationshipsPopulated; }
public boolean isRelationshipsPopulated() { return importedKeysFolder.isPopulated() && exportedKeysFolder.isPopulated(); }
1,111,923
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
protected synchronized void populateColumns() throws ArchitectException { if (columnsFolder.isPopulated()) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ...
1,111,924
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
1,111,925
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
1,111,926
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
protected synchronized void populateColumns() throws ArchitectException { if (columnsPopulated) return; if (columnsFolder.children.size() > 0) throw new IllegalStateException("Can't populate table because it already contains columns"); try { SQLColumn.addColumnsToTable(this, getCatalogName(), ge...
1,111,927
public synchronized void populateRelationships() throws ArchitectException { if (!columnsPopulated) throw new IllegalStateException("Table must be populated before relationships are added"); if (relationshipsPopulated) return; int oldSize = importedKeysFolder.children.size(); try { SQLRelationship.addRelationshi...
public synchronized void populateRelationships() throws ArchitectException { if (!columnsPopulated) throw new IllegalStateException("Table must be populated before relationships are added"); if (relationshipsPopulated) return; int oldSize = importedKeysFolder.children.size(); try { SQLRelationship.addRelationshi...
1,111,928
public synchronized void populateRelationships() throws ArchitectException { if (!columnsPopulated) throw new IllegalStateException("Table must be populated before relationships are added"); if (relationshipsPopulated) return; int oldSize = importedKeysFolder.children.size(); try { SQLRelationship.addRelationshi...
public synchronized void populateRelationships() throws ArchitectException { if (!columnsPopulated) throw new IllegalStateException("Table must be populated before relationships are added"); if (relationshipsPopulated) return; int oldSize = importedKeysFolder.children.size(); try { SQLRelationship.addRelationshi...
1,111,929
public synchronized void populateRelationships() throws ArchitectException { if (!columnsPopulated) throw new IllegalStateException("Table must be populated before relationships are added"); if (relationshipsPopulated) return; int oldSize = importedKeysFolder.children.size(); try { SQLRelationship.addRelationshi...
public synchronized void populateRelationships() throws ArchitectException { if (!columnsPopulated) throw new IllegalStateException("Table must be populated before relationships are added"); if (relationshipsPopulated) return; int oldSize = importedKeysFolder.children.size(); try { SQLRelationship.addRelationshi...
1,111,930
protected void createThumbnail( Volume volume ) { ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Find the original image to use as a staring point ImageInstance original = null; for ( int n = 0; n < instances.size(); n++ ) { ImageInstance instance = (ImageInstance) instances.g...
protected void createThumbnail( Volume volume ) { ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); // Find the original image to use as a staring point ImageInstance original = null; for ( int n = 0; n < instances.size(); n++ ) { ImageInstance instance = (ImageInstance) instances.g...
1,111,931
public static PhotovaultDatabases loadDatabases( File f ) { // Now try to read the info BeanReader beanReader = new BeanReader(); beanReader.getXMLIntrospector().getConfiguration().setAttributesForPrimitives(false); beanReader.getBindingConfiguration().setMapIDs(false); PhotovaultD...
public static PhotovaultDatabases loadDatabases( File f ) { // Now try to read the info BeanReader beanReader = new BeanReader(); beanReader.getXMLIntrospector().getConfiguration().setAttributesForPrimitives(false); beanReader.getBindingConfiguration().setMapIDs(false); PhotovaultD...
1,111,932
public void doTag (XMLOutput output) throws MissingAttributeException, JellyTagException { // Check that this tag is used inside the body of // a DynaClass tag, so that it can access the // context of that tag DynaclassTag parentTag = (DynaclassTag) findAncestorWithClass( DynaclassTag.cl...
public void doTag (XMLOutput output) throws MissingAttributeException, JellyTagException { // Check that this tag is used inside the body of // a DynaClass tag, so that it can access the // context of that tag DynaclassTag parentTag = (DynaclassTag) findAncestorWithClass( DynaclassTag.cl...
1,111,933
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,935
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,937
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,938
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,939
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,940
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,941
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
void prepareMarkerInput(File infile, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the maxdist ...
1,111,942
public void doTag(XMLOutput output) throws Exception { if (!maxRowsSpecified) { Object obj = context.getVariable("org.apache.commons.jelly.sql.maxRows"); if (obj != null) { if (obj instanceof Integer) { maxRows = ((Integer) obj).intValue(); ...
public void doTag(XMLOutput output) throws Exception { if (!maxRowsSpecified) { Object obj = context.getVariable("org.apache.commons.jelly.sql.maxRows"); if (obj != null) { if (obj instanceof Integer) { maxRows = ((Integer) obj).intValue(); ...
1,111,943
public void doTag(XMLOutput output) throws Exception { if (!maxRowsSpecified) { Object obj = context.getVariable("org.apache.commons.jelly.sql.maxRows"); if (obj != null) { if (obj instanceof Integer) { maxRows = ((Integer) obj).intValue(); ...
public void doTag(XMLOutput output) throws Exception { if (!maxRowsSpecified) { Object obj = context.getVariable("org.apache.commons.jelly.sql.maxRows"); if (obj != null) { if (obj instanceof Integer) { maxRows = ((Integer) obj).intValue(); ...
1,111,944
public TagScript createTagScript(String name, Attributes attributes) throws Exception { Project project = getProject(); // custom Ant tags if ( name.equals("fileScanner") ) { Tag tag = new FileScannerTag(new FileScanner(project)); return TagScript.newIn...
public TagScript createTagScript(String name, Attributes attributes) throws Exception { Project project = getProject(); // custom Ant tags if ( name.equals("fileScanner") ) { Tag tag = new FileScannerTag(new FileScanner(project)); return new AntTagScrip...
1,111,947
public TagScript createTagScript(String name, Attributes attributes) throws Exception { Project project = getProject(); // custom Ant tags if ( name.equals("fileScanner") ) { Tag tag = new FileScannerTag(new FileScanner(project)); return TagScript.newIn...
public TagScript createTagScript(String name, Attributes attributes) throws Exception { Project project = getProject(); // custom Ant tags if ( name.equals("fileScanner") ) { Tag tag = new FileScannerTag(new FileScanner(project)); return TagScript.newIn...
1,111,948
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ...
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ...
1,111,949
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ...
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ...
1,111,950
private void argHandler(String[] args){ int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThresh = -1; double minimumGenoPercent...
private void argHandler(String[] args){ int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThresh = -1; double minimumGenoPercent...
1,111,952
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,953
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,954
public Set<SQLColumn> generateColumnList(int num){ Set<SQLColumn> colList = new TreeSet<SQLColumn>(comparator); for (int ii=1; ii <= num; ii++){ colList.add(new SQLColumn(new SQLTable(),"col"+ii,Types.INTEGER,3, 0)); } return colList; }
public Set<SQLColumn> generateColumnList(int num) throws ArchitectException{ Set<SQLColumn> colList = new TreeSet<SQLColumn>(comparator); for (int ii=1; ii <= num; ii++){ colList.add(new SQLColumn(new SQLTable(),"col"+ii,Types.INTEGER,3, 0)); } return colList; }
1,111,956
public void testCompareColumn (){ Set<SQLColumn>list1 = generateColumnList(3); Set<SQLColumn>list2 = generateColumnList(3); assertEquals (0, colComparator.compareColumns(list1, list2)); list1.add(new SQLColumn()); assertEquals (1, colComparator.compareColumns(list1, list2)); assertEquals (-1, colComparator.c...
public void testCompareColumn () throws ArchitectException{ Set<SQLColumn>list1 = generateColumnList(3); Set<SQLColumn>list2 = generateColumnList(3); assertEquals (0, colComparator.compareColumns(list1, list2)); list1.add(new SQLColumn()); assertEquals (1, colComparator.compareColumns(list1, list2)); assertE...
1,111,957
public List getTables() throws ArchitectException { return getChildren(); }
public List getTables() throws ArchitectException { return getTableDescendants(this); }
1,111,958
public void run(JellyContext context, XMLOutput output) throws Exception { tag.setContext(context); DynaTag dynaTag = (DynaTag) tag; // ### probably compiling this to 2 arrays might be quicker and smaller for (Iterator iter = attributes.entrySet().iterator(); iter.hasNext();) { ...
public void run(JellyContext context, XMLOutput output) throws Exception { try { tag.setContext(context); DynaTag dynaTag = (DynaTag) tag; for (Iterator iter = attributes.entrySet().iterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); String name = (String) entry.getKey(); Expression ...
1,111,959
public void run(JellyContext context, XMLOutput output) throws Exception { tag.setContext(context); DynaTag dynaTag = (DynaTag) tag; // ### probably compiling this to 2 arrays might be quicker and smaller for (Iterator iter = attributes.entrySet().iterator(); iter.hasNext();) { ...
public void run(JellyContext context, XMLOutput output) throws Exception { tag.setContext(context); DynaTag dynaTag = (DynaTag) tag; // ### probably compiling this to 2 arrays might be quicker and smaller for (Iterator iter = attributes.entrySet().iterator(); iter.hasNext();) { ...
1,111,960
public void run(JellyContext context, XMLOutput output) throws Exception { tag.setContext(context); DynaTag dynaTag = (DynaTag) tag; // ### probably compiling this to 2 arrays might be quicker and smaller for (Iterator iter = attributes.entrySet().iterator(); iter.hasNext();) { ...
public void run(JellyContext context, XMLOutput output) throws Exception { tag.setContext(context); DynaTag dynaTag = (DynaTag) tag; // ### probably compiling this to 2 arrays might be quicker and smaller for (Iterator iter = attributes.entrySet().iterator(); iter.hasNext();) { ...
1,111,961
public void doTag(XMLOutput output) throws Exception { Task task = getTask(); String text = getBodyText(); // if the task has an addText() try { Method method = taskType.getMethod("addText", addTaskParamTypes); if (method != null) { Object[] args = { text }; method.in...
public void doTag(XMLOutput output) throws Exception { Task task = getTask(); String text = getBodyText(); // if the task has an addText() try { Method method = taskType.getMethod("addText", addTaskParamTypes); if (method != null) { Object[] args = { text }; method.in...
1,111,962
public void doTag(XMLOutput output) throws Exception { Task task = getTask(); String text = getBodyText(); // if the task has an addText() try { Method method = taskType.getMethod("addText", addTaskParamTypes); if (method != null) { Object[] args = { text }; method.in...
public void doTag(XMLOutput output) throws Exception { Task task = getTask(); String text = getBodyText(); // if the task has an addText() try { Method method = taskType.getMethod("addText", addTaskParamTypes); if (method != null) { Object[] args = { text }; method.in...
1,111,963
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,964
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,965
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,966
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,967
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,968
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,969
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
public void actionPerformed(ActionEvent evt) { List items = pp.getSelectedItems(); if (items.size() > 1) { int decision = JOptionPane.showConfirmDialog(pp, "Are you sure you want to delete the " +items.size()+" selected items?", "Multiple Delete", JOptionPane...
1,111,970
public void addChild(Component component, Object constraints) throws JellyTagException { GridBagLayoutTag tag = (GridBagLayoutTag) findAncestorWithClass( GridBagLayoutTag.class ); if (tag == null) { throw new JellyTagException( "this tag must be nested within a <tr> tag" ); } ...
public void addChild(Component component, Object constraints) throws JellyTagException { GridBagLayoutTag tag = (GridBagLayoutTag) findAncestorWithClass( GridBagLayoutTag.class ); if (tag == null) { throw new JellyTagException( "this tag must be nested within a <gridBagLayout> tag" ); ...
1,111,971
protected void endNamespacePrefixes(XMLOutput output) throws SAXException { if ( namespacesMap != null ) { for ( Iterator iter = namespacesMap.keySet().iterator(); iter.hasNext(); ) { String prefix = (String) iter.next(); output.endPrefixMapping(prefix); } ...
protected void endNamespacePrefixes(XMLOutput output) throws SAXException { if ( namespacesMap != null ) { for ( Iterator iter = namespacesMap.keySet().iterator(); iter.hasNext(); ) { String prefix = (String) iter.next(); output.endPrefixMapping(prefix); } ...
1,111,973
protected void startNamespacePrefixes(XMLOutput output) throws SAXException { if ( namespacesMap != null ) { for ( Iterator iter = namespacesMap.entrySet().iterator(); iter.hasNext(); ) { Map.Entry entry = (Map.Entry) iter.next(); String prefix = (String) entry.getKey...
protected void startNamespacePrefixes(XMLOutput output) throws SAXException { if ( namespacesMap != null ) { for ( Iterator iter = namespacesMap.entrySet().iterator(); iter.hasNext(); ) { Map.Entry entry = (Map.Entry) iter.next(); String prefix = (String) entry.getKey...
1,111,974
public String toString() { return super.toString() + "[name=" + name + ";city=" + city + "]"; }
public String toString() { return super.toString() + "[name=" + name + ";location=" + location + "]"; }
1,111,976
public void doTag(XMLOutput output) throws JellyTagException { this.doTag(output,true); }
public void doTag(XMLOutput output) throws JellyTagException { super.doTag(output); clearBean(); }
1,111,979
private void argHandler(String[] args){ int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThresh = -1; double minimumGenoPercent...
private void argHandler(String[] args){ int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThresh = -1; double minimumGenoPercent...
1,111,980
private void argHandler(String[] args){ int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThresh = -1; double minimumGenoPercent...
private void argHandler(String[] args){ int maxDistance = -1; //this means that user didn't specify any output type if it doesn't get changed below blockOutputType = -1; double hapThresh = -1; double minimumMAF=-1; double spacingThresh = -1; double minimumGenoPercent...
1,111,981
public void paint(Graphics g, JComponent c) { logger.debug("BasicRelationshipUI is painting"); Relationship r = (Relationship) c; Graphics2D g2 = (Graphics2D) g; g2.translate(c.getX() * -1, c.getY() * -1); // playpen coordinate space if (logger.isDebugEnabled()) { g2.setColor(c.getBackground()); Rectangle ...
public void paint(Graphics g, JComponent c) { logger.debug("BasicRelationshipUI is painting"); Relationship r = (Relationship) c; Graphics2D g2 = (Graphics2D) g; g2.translate(c.getX() * -1, c.getY() * -1); // playpen coordinate space if (logger.isDebugEnabled()) { g2.setColor(c.getBackground()); Rectangle ...
1,111,983
public void paint(Graphics g, JComponent c) { logger.debug("BasicRelationshipUI is painting"); Relationship r = (Relationship) c; Graphics2D g2 = (Graphics2D) g; g2.translate(c.getX() * -1, c.getY() * -1); // playpen coordinate space if (logger.isDebugEnabled()) { g2.setColor(c.getBackground()); Rectangle ...
public void paint(Graphics g, JComponent c) { logger.debug("BasicRelationshipUI is painting"); Relationship r = (Relationship) c; Graphics2D g2 = (Graphics2D) g; g2.translate(c.getX() * -1, c.getY() * -1); // playpen coordinate space if (logger.isDebugEnabled()) { g2.setColor(c.getBackground()); Rectangle ...
1,111,984
public void removeReference() { if (logger.isDebugEnabled()) { String parentName = "<no parent table>"; if (getParent() != null && getParentTable() != null) { parentName = getParentTable().getName(); } logger.debug("Trying to remove reference from "+parentName+"."+getName()+" "+hashCode()); } if (refe...
public void removeReference() { if (logger.isDebugEnabled()) { String parentName = "<no parent table>"; if (getParent() != null && getParentTable() != null) { parentName = getParentTable().getName(); } logger.debug("Trying to remove reference from "+parentName+"."+getName()+" "+hashCode()); } if (refe...
1,111,986
protected PhotovaultSettings() { // Load XML configuration file String confFileName = System.getProperty( "photovault.configfile" ); if ( confFileName != null ) { System.out.println( "photovault.configfile " + confFileName ); configFile = new File( confFileName ); ...
protected PhotovaultSettings() { // Load XML configuration file String confFileName = System.getProperty( "photovault.configfile" ); if ( confFileName != null ) { log.debug( "photovault.configfile " + confFileName ); configFile = new File( confFileName ); System...
1,111,988
protected PhotovaultSettings() { // Load XML configuration file String confFileName = System.getProperty( "photovault.configfile" ); if ( confFileName != null ) { System.out.println( "photovault.configfile " + confFileName ); configFile = new File( confFileName ); ...
protected PhotovaultSettings() { // Load XML configuration file String confFileName = System.getProperty( "photovault.configfile" ); if ( confFileName != null ) { System.out.println( "photovault.configfile " + confFileName ); configFile = new File( confFileName ); ...
1,111,989
public int hashCode() { return (getName().hashCode() * 31 + getType().hashCode()) * 31 + getEnclosingType().hashCode(); }
public int hashCode() { return (getName().hashCode() * 31 + getType().hashCode()) * 31 + getEnclosingType().hashCode(); }
1,111,991
protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException { if (bean instanceof Control) { Control control = (Control) bean; // Special handling of size property as the Control object breaks the // JavaBean naming conventions by overloading the setSize() method Object size = at...
protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException { if (bean instanceof Control) { Control control = (Control) bean; // Special handling of size property as the Control object breaks the // JavaBean naming conventions by overloading the setSize() method Object size = at...
1,111,992
protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException { if (bean instanceof Control) { Control control = (Control) bean; // Special handling of size property as the Control object breaks the // JavaBean naming conventions by overloading the setSize() method Object size = at...
protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException { if (bean instanceof Control) { Control control = (Control) bean; // Special handling of size property as the Control object breaks the // JavaBean naming conventions by overloading the setSize() method Object size = at...
1,111,993
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File outputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,994
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,995
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,996
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,997
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,998
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; AssociationTestSet customAssocSet; if(!quietMode && fileName != null){ System.out.println("Using data ...
1,111,999