bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void testSaveIsWellFormed() throws Exception { boolean validate = false; testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.setName("FOO<BAR"); // Implicitly testing sanitize...
public void testSaveIsWellFormed() throws Exception { boolean validate = false; testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.setName("FOO<BAR"); // Implicitly testing sanitize...
1,109,450
public void testSavePrintWriter() throws Exception { testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.save(out); SwingUIProject p2 = new SwingUIProject("test2"); p2.load(new FileI...
public void testSavePrintWriter() throws Exception { testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp,ENCODING); assertNotNull(out); project.save(out); SwingUIProject p2 = new SwingUIProject("test2"); p2.load(...
1,109,451
public void testSavePrintWriter() throws Exception { testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.save(out); SwingUIProject p2 = new SwingUIProject("test2"); p2.load(new FileI...
public void testSavePrintWriter() throws Exception { testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.save(out,ENCODING); SwingUIProject p2 = new SwingUIProject("test2"); p2.load(...
1,109,452
public void testSavePrintWriter() throws Exception { testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.save(out); SwingUIProject p2 = new SwingUIProject("test2"); p2.load(new FileI...
public void testSavePrintWriter() throws Exception { testLoad(); File tmp = File.createTempFile("test", ".architect"); if (deleteOnExit) { tmp.deleteOnExit(); } PrintWriter out = new PrintWriter(tmp); assertNotNull(out); project.save(out); SwingUIProject p2 = new SwingUIProject("test2"); p2.load(new FileI...
1,109,453
public void testSaveProgressMonitor() throws Exception { System.out.println("TestSwingUIProject.testSaveProgressMonitor()"); MockProgressMonitor mockProgressMonitor = new MockProgressMonitor(null, "Hello", "Hello again", 0, 100); File file = File.createTempFile("test", "architect"); project.setFile(file); project...
public void testSaveProgressMonitor() throws Exception { System.out.println("TestSwingUIProject.testSaveProgressMonitor()"); MockProgressMonitor mockProgressMonitor = new MockProgressMonitor(null, "Hello", "Hello again", 0, 100); File file = File.createTempFile("test", "architect"); project.setFile(file); project...
1,109,454
public void stateChanged(ChangeEvent e) { int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ exportMenuItems[0].setEnabled(true); exportMenuItems[1].setEnabled(true); }else if (tabNum == VIEW_TDT_NUM || tabNum...
public void stateChanged(ChangeEvent e) { int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ exportMenuItems[0].setEnabled(true); exportMenuItems[1].setEnabled(true); }else if (tabNum == VIEW_TDT_NUM || tabNum...
1,109,455
public void stateChanged(ChangeEvent e) { int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ exportMenuItems[0].setEnabled(true); exportMenuItems[1].setEnabled(true); }else if (tabNum == VIEW_TDT_NUM || tabNum...
public void stateChanged(ChangeEvent e) { int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ exportMenuItems[0].setEnabled(true); exportMenuItems[1].setEnabled(true); }else if (tabNum == VIEW_TDT_NUM || tabNum...
1,109,456
public void stateChanged(ChangeEvent e) { int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ exportMenuItems[0].setEnabled(true); exportMenuItems[1].setEnabled(true); }else if (tabNum == VIEW_TDT_NUM || tabNum...
public void stateChanged(ChangeEvent e) { int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ exportMenuItems[0].setEnabled(true); exportMenuItems[1].setEnabled(true); }else if (tabNum == VIEW_TDT_NUM || tabNum...
1,109,457
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ...
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ...
1,109,458
public void clearDisplays() { if (dPrimeDisplay != null){ dPrimeDisplay.setVisible(false); dPrimeDisplay = null; } if (hapDisplay != null){ hapDisplay.setVisible(false); hapDisplay = null; } if (tdtPanel != null){ tdtPanel.set...
public void clearDisplays() { if (dPrimeDisplay != null){ dPrimeDisplay.setVisible(false); dPrimeDisplay = null; } if (hapDisplay != null){ hapDisplay.setVisible(false); hapDisplay = null; } if (tdtPanel != null){ tdtPanel.set...
1,109,459
public void doTag(final XMLOutput output) throws Exception { log.debug("doTag(..):" + name); Goal goal = getProject().getGoal( getName(), true ); goal.setDescription( this.description ); addPrereqs( goal ); Action action = new Defau...
public void doTag(final XMLOutput output) throws Exception { log.debug("doTag(..):" + name); Goal goal = getProject().getGoal( getName(), true ); goal.setDescription( this.description ); addPrereqs( goal ); Action action = new Defau...
1,109,461
public void performAction() throws Exception { log.debug("Running action of target: " + getName() ); getBody().run(context, output); }
public void performAction() throws Exception { log.debug("Running action of target: " + getName() ); invokeBody(output); }
1,109,462
public void doTag(XMLOutput output) throws Exception { // run the body first to configure the task via nested getBody().run(context, output); // output the fileScanner if ( var == null ) { throw new MissingAttributeException( "var" ); } context.setVariable( var, ...
public void doTag(XMLOutput output) throws Exception { // run the body first to configure the task via nested invokeBody(output); // output the fileScanner if ( var == null ) { throw new MissingAttributeException( "var" ); } context.setVariable( var, fileScanner ...
1,109,463
public void dbChildrenRemoved(SQLObjectEvent e) { if (e.getSource() == this.model.getColumnsFolder()) { int ci[] = e.getChangedIndices(); for (int i = 0; i < ci.length; i++) { columnSelection.remove(ci[i]); } if (columnSelection.size() > 0) { selectNone(); columnSelection.set(Math.min(ci[0], columnSe...
public void dbChildrenRemoved(SQLObjectEvent e) { if (e.getSource() == this.model.getColumnsFolder()) { int ci[] = e.getChangedIndices(); for (int i = 0; i < ci.length; i++) { columnSelection.remove(ci[i]); columnHighlight.remove(ci[i]); } if (columnSelection.size() > 0) { selectNone(); columnSelecti...
1,109,465
public void dbChildrenRemoved(SQLObjectEvent e) { if (e.getSource() == this.model.getColumnsFolder()) { int ci[] = e.getChangedIndices(); for (int i = 0; i < ci.length; i++) { columnSelection.remove(ci[i]); } if (columnSelection.size() > 0) { selectNone(); columnSelection.set(Math.min(ci[0], columnSe...
public void dbChildrenRemoved(SQLObjectEvent e) { if (e.getSource() == this.model.getColumnsFolder()) { int ci[] = e.getChangedIndices(); for (int i = 0; i < ci.length; i++) { columnSelection.remove(ci[i]); } if (columnSelection.size() > 0) { selectNone(); columnSelection.set(Math.min(ci[0], columnSe...
1,109,466
private void deSelectEverythingElse (MouseEvent evt) { TablePane tp = (TablePane) evt.getSource(); Iterator it = getPlayPen().getSelectedTables().iterator(); while (it.hasNext()) { TablePane t3 = (TablePane)it.next(); logger.debug("(" + tp.getModel().getTableName() + ") zoomed selected table point: " + tp.getLo...
private void deSelectEverythingElse (MouseEvent evt) { TablePane tp = (TablePane) evt.getSource(); Iterator it = getPlayPen().getSelectedTables().iterator(); while (it.hasNext()) { TablePane t3 = (TablePane)it.next(); logger.debug("(" + tp.getModel().getTableName() + ") zoomed selected table point: " + tp.getLo...
1,109,468
protected Action createAction(final StylesheetTag tag, final XMLOutput output) { return new Action() { public void run(Node node) throws Exception { // store the context for use by applyTemplates tag tag.setXPathSource( node ); ...
protected Action createAction(final StylesheetTag tag, final XMLOutput output) { return new Action() { public void run(Node node) throws Exception { // store the context for use by applyTemplates tag tag.setXPathSource( node ); ...
1,109,470
public void run(Node node) throws Exception { // store the context for use by applyTemplates tag tag.setXPathSource( node ); xpathSource = node; if (log.isDebugEnabled()) { log.debug( "Firing t...
public void run(Node node) throws Exception { // store the context for use by applyTemplates tag tag.setXPathSource( node ); xpathSource = node; if (log.isDebugEnabled()) { log.debug( "Firing t...
1,109,471
private void argHandler(String[] args){ //TODO: -specify values from HaplotypeDisplayController (min hap percentage etc) // -want to be able to output haps file from pedfile boolean nogui = false; String batchMode = ""; String hapsFileName = ""; String pedFileName = ""...
private void argHandler(String[] args){ //TODO: -specify values from HaplotypeDisplayController (min hap percentage etc) // -want to be able to output haps file from pedfile boolean nogui = false; String batchMode = ""; String hapsFileName = ""; String pedFileName = ""...
1,109,472
private void processFile(String fileName,boolean fileType,String infoFileName){ try { int outputType; long maxDistance; long negMaxDistance; HaploData textData; File OutputFile; File inputFile; inputFile = new File(fileName); ...
private void processFile(String fileName,boolean fileType,String infoFileName){ try { int outputType; long maxDistance; long negMaxDistance; HaploData textData; File OutputFile; File inputFile; inputFile = new File(fileName); ...
1,109,473
private void processFile(String fileName,boolean fileType,String infoFileName){ try { int outputType; long maxDistance; long negMaxDistance; HaploData textData; File OutputFile; File inputFile; inputFile = new File(fileName); ...
private void processFile(String fileName,boolean fileType,String infoFileName){ try { int outputType; long maxDistance; long negMaxDistance; HaploData textData; File OutputFile; File inputFile; inputFile = new File(fileName); ...
1,109,474
public void testGetDerivedInstance() throws Exception { SQLTable derivedTable; SQLTable table1; assertNotNull(table1 = db.getTableByName("REGRESSION_TEST1")); derivedTable = SQLTable.getDerivedInstance(table1, table1.getParentDatabase()); TreeMap derivedPropertyMap = new TreeMap(BeanUtils.describe(derivedTable));...
public void testGetDerivedInstance() throws Exception { SQLTable derivedTable; SQLTable table1; assertNotNull(table1 = db.getTableByName("REGRESSION_TEST1")); derivedTable = SQLTable.getDerivedInstance(table1, pp); TreeMap derivedPropertyMap = new TreeMap(BeanUtils.describe(derivedTable)); TreeMap table1Property...
1,109,475
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; if(!quietMode && fileName != null){ System.out.println("Using data file " + fileName); } in...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; if(!quietMode && fileName != null){ System.out.println("Using data file " + fileName); } in...
1,109,477
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; if(!quietMode && fileName != null){ System.out.println("Using data file " + fileName); } in...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; if(!quietMode && fileName != null){ System.out.println("Using data file " + fileName); } in...
1,109,478
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; if(!quietMode && fileName != null){ System.out.println("Using data file " + fileName); } in...
private void processFile(String fileName, int fileType, String infoFileName){ try { HaploData textData; File OutputFile; File inputFile; if(!quietMode && fileName != null){ System.out.println("Using data file " + fileName); } in...
1,109,479
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail for " + uid ); 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++ ) { ImageI...
1,109,481
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,482
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,483
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,484
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,485
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,486
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,487
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
protected void createThumbnail( Volume volume ) { log.debug( "Creating thumbnail" ); 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 ins...
1,109,488
public Thumbnail getThumbnail() { log.debug( "getThumbnail: Finding thumbnail for " + uid ); if ( thumbnail == null ) { // First try to find an instance from existing instances ImageInstance original = null; for ( int n = 0; n < instances.size(); n++ ) { ImageInstance instance = (ImageInstance) instanc...
public Thumbnail getThumbnail() { log.debug( "getThumbnail: entry, Finding thumbnail for " + uid ); if ( thumbnail == null ) { // First try to find an instance from existing instances ImageInstance original = null; for ( int n = 0; n < instances.size(); n++ ) { ImageInstance instance = (ImageInstance) ...
1,109,490
public boolean hasThumbnail() { log.debug( "hasThumbnail: Finding thumbnail for " + uid ); if ( thumbnail == null ) { // First try to find an instance from existing instances ImageInstance original = null; for ( int n = 0; n < instances.size(); n++ ) { ImageInstance instance = (ImageInstance) instances...
public boolean hasThumbnail() { log.debug( "hasThumbnail: entry, Finding thumbnail for " + uid ); if ( thumbnail == null ) { // First try to find an instance from existing instances ImageInstance original = null; for ( int n = 0; n < instances.size(); n++ ) { ImageInstance instance = (ImageInstance) in...
1,109,492
private void processFile(String fileName, int fileType, String infoFileName){ try { int outputType; long maxDistance; HaploData textData; File OutputFile; File inputFile; inputFile = new File(fileName); if(!inputFile.exists()){ ...
private void processFile(String fileName, int fileType, String infoFileName){ try { int outputType; long maxDistance; HaploData textData; File OutputFile; File inputFile; inputFile = new File(fileName); if(!inputFile.exists()){ ...
1,109,494
public Object createObject(Attributes attributes) { int x = Integer.parseInt(attributes.getValue("x")); int y = Integer.parseInt(attributes.getValue("y")); SQLTable tab = (SQLTable) objectIdMap.get(attributes.getValue("table-ref")); TablePane tp = new TablePane(tab); playPen.add(tp, new Point(x, y)); retu...
public Object createObject(Attributes attributes) { int x = Integer.parseInt(attributes.getValue("x")); int y = Integer.parseInt(attributes.getValue("y")); SQLTable tab = (SQLTable) objectIdMap.get(attributes.getValue("table-ref")); TablePane tp = new TablePane(tab, playPen.getFontRenderContext()); playPen....
1,109,499
void drawPicture(HaploData theData){ Container contents = getContentPane(); contents.removeAll(); //remember which tab we're in if they've already been set up int currentTabIndex = 0; if (!(tabs == null)){ currentTabIndex = tabs.getSelectedIndex(); } tabs ...
void drawPicture(HaploData theData){ Container contents = getContentPane(); contents.removeAll(); //remember which tab we're in if they've already been set up int currentTabIndex = 0; if (!(tabs == null)){ currentTabIndex = tabs.getSelectedIndex(); } tabs ...
1,109,500
public static void main(String[] args) {//throws IOException{ boolean nogui = false; HaploView window; for(int i = 0;i<args.length;i++) { if(args[i].equals("-nogui") || args[i].equals("-n") ) { nogui = true; } } if(nogui) { window = ...
public static void main(String[] args) {//throws IOException{ boolean nogui = false; HaploView window; for(int i = 0;i<args.length;i++) { if(args[i].equals("-nogui") || args[i].equals("-n") ) { nogui = true; } } if(nogui) { window = ...
1,109,501
void readMarkers(File inputFile){ try { int good = theData.prepareMarkerInput(inputFile); if (good == -1){ JOptionPane.showMessageDialog(this, "Number of markers in info file does not match number of markers in dataset.", "Err...
void readMarkers(File inputFile){ try { int good = theData.prepareMarkerInput(inputFile); if (good == -1){ JOptionPane.showMessageDialog(this, "Number of markers in info file does not match number of markers in dataset.", "Err...
1,109,503
void saveDprimeToText(){ fc.setSelectedFile(null); try{ fc.setSelectedFile(null); int returnVal = fc.showSaveDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION) { new TextMethods().saveDprimeToText(theData.dPrimeTable, fc.getSelectedFile(), infoK...
void saveDprimeToText(){ fc.setSelectedFile(null); try{ fc.setSelectedFile(null); int returnVal = fc.showSaveDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION) { new TextMethods().saveDprimeToText(theData.dPrimeTable, fc.getSelectedFile(), infoK...
1,109,504
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
1,109,506
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
1,109,507
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
1,109,508
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
1,109,509
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
1,109,510
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
private void doColumnProfile(List<SQLColumn> columns, Connection conn) throws SQLException { Statement stmt = null; ResultSet rs = null; String lastSQL = null; try { if ( columns.size() == 0 ) return; SQLColumn col1 = columns.get(0); ...
1,109,511
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,109,513
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,109,514
public Object getValueAt(int rowIndex, int columnIndex) { ColumnProfileResult columnProfile = resultList.get(rowIndex); SQLColumn col = columnProfile.getProfiledObject(); int rowCount = ((TableProfileResult) profileManager.getResult(col.getParentTable())).getRowCount(); if (columnIndex =...
public Object getValueAt(int rowIndex, int columnIndex) { ColumnProfileResult columnProfile = resultList.get(rowIndex); SQLColumn col = columnProfile.getProfiledObject(); int rowCount = ((TableProfileResult) profileManager.getResult(col.getParentTable())).getRowCount(); if (columnIndex =...
1,109,515
public Object getValueAt(int rowIndex, int columnIndex) { ColumnProfileResult columnProfile = resultList.get(rowIndex); SQLColumn col = columnProfile.getProfiledObject(); int rowCount = ((TableProfileResult) profileManager.getResult(col.getParentTable())).getRowCount(); if (columnIndex =...
public Object getValueAt(int rowIndex, int columnIndex) { ColumnProfileResult columnProfile = resultList.get(rowIndex); SQLColumn col = columnProfile.getProfiledObject(); int rowCount = ((TableProfileResult) profileManager.getResult(col.getParentTable())).getRowCount(); if (columnIndex =...
1,109,516
public TablePane findTablePane(SQLTable t) { for (int i = 0; i < getComponentCount(); i++) { Component c = getComponent(i); if (c instanceof TablePane && ((TablePane) c).getModel() == t) { return (TablePane) c; } } return null; }
public TablePane findTablePane(SQLTable t) { for (int i = 0; i < getComponentCount(); i++) { Component c = getComponent(i); if (c instanceof TablePane && ((TablePane) c).getModel() == t) { return (TablePane) c; } } return null; }
1,109,517
public String getTextForCell(int row, int col) { // note: this will only work because we know all the renderers are jlabels JLabel renderer = (JLabel) getCellRenderer(row, col).getTableCellRendererComponent(this, getModel().getValueAt(row, col), false, false, row, col); return renderer.getText(...
public String getTextForCell(int row, int col) { // note: this will only work because we know all the renderers are jlabels JLabel renderer = (JLabel) getCellRenderer(row, col).getTableCellRendererComponent(this, getModel().getValueAt(row, getColumnModel().getColumn(col).getModelIndex()), false, false...
1,109,518
public void run(JellyContext context, XMLOutput output) throws Exception { if ( ! context.isCacheTags() ) { clearTag(); } try { Tag tag = getTag(); if ( tag == null ) { return; } tag.setContext(context); if ( t...
public void run(JellyContext context, XMLOutput output) throws Exception { if ( ! context.isCacheTags() ) { clearTag(); } try { Tag tag = getTag(); if ( tag == null ) { return; } tag.setContext(context); if ( t...
1,109,519
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, founderHetCount=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable...
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, founderHetCount=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable...
1,109,520
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, founderHetCount=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable...
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, founderHetCount=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable...
1,109,521
public PhotoFolderEvent( PhotoFolder source, PhotoFolder subfolder, PhotoFolder[] path ) { super( source ); this.subfolder = subfolder; this.path = path; }
public PhotoFolderEvent( PhotoFolder source, PhotoFolder subfolder, PhotoFolder[] path ) { super( source ); this.subfolder = subfolder; this.path = (path != null ) ? path.clone() : null; }
1,109,523
public void redo() throws CannotRedoException { try { modifyProperty(event.getNewValue()); } catch (IllegalAccessException e) { logger.error("Couldn't access setter for "+ event.getPropertyName(), e); throw new CannotRedoException(); } catch (InvocationTargetException e) { logger.error("Setter for "+...
public void redo() throws CannotRedoException { try { modifyProperty(event.getNewValue()); } finally { event.getSQLSource().setMagicEnabled(true); } catch (IllegalAccessException e) { logger.error("Couldn't access setter for "+ event.getPropertyName(), e); throw new CannotRedoException(); } finally { e...
1,109,524
public void undo() throws CannotUndoException { try { modifyProperty(event.getOldValue()); } catch (IllegalAccessException e) { logger.error("Couldn't access setter for "+ event.getPropertyName(), e); throw new CannotUndoException(); } catch (InvocationTargetException e) { logger.error("Setter for "+...
public void undo() throws CannotUndoException { try { modifyProperty(event.getOldValue()); } finally { event.getSQLSource().setMagicEnabled(true); } catch (IllegalAccessException e) { logger.error("Couldn't access setter for "+ event.getPropertyName(), e); throw new CannotUndoException(); } finally { e...
1,109,525
public void componentResized( ComponentEvent e) { if ( isFit ) { fit(); } }
public void componentResized( ComponentEvent e) { if ( isFit ) { SwingUtilities.invokeLater( new java.lang.Runnable() { public void run() { fit(); } } ); } }
1,109,526
public SwingUIProject(String name) { this.name = name; this.sourceDatabases = new ArrayList(); this.targetDatabase = new SQLDatabase(); }
public SwingUIProject(String name) throws ArchitectException { this.name = name; this.sourceDatabases = new ArrayList(); this.targetDatabase = new SQLDatabase(); }
1,109,527
public SwingUIProject(String name) { this.name = name; this.sourceDatabases = new ArrayList(); this.targetDatabase = new SQLDatabase(); }
public SwingUIProject(String name) { this.name = name; this.sourceDatabases = new ArrayList(); this.targetDatabase = new SQLDatabase(); }
1,109,528
public List getSourceDatabases() { return this.sourceDatabases; }
public DBTree getSourceDatabases() { return this.sourceDatabases; }
1,109,529
public SQLDatabase getTargetDatabase() { return this.targetDatabase; }
public SQLDatabase getTargetDatabase() { return playPen.getDatabase(); }
1,109,530
public void setSourceDatabases(List argSourceDatabases) { this.sourceDatabases = argSourceDatabases; }
public void setSourceDatabases(DBTree argSourceDatabases) { this.sourceDatabases = argSourceDatabases; }
1,109,531
public void read(File location) throws IOException { final int MODE_READ_DS = 0; // reading a data source section final int MODE_READ_GENERIC = 1; // reading a generic named section int mode = MODE_READ_GENERIC; if (!location.canRead()) { throw new IllegalArgumentException("pl.ini file...
public void read(File location) throws IOException { final int MODE_READ_DS = 0; // reading a data source section final int MODE_READ_GENERIC = 1; // reading a generic named section int mode = MODE_READ_GENERIC; if (!location.canRead()) { throw new IllegalArgumentException("pl.ini file...
1,109,532
public void write(File location) throws IOException { OutputStream out = new BufferedOutputStream(new FileOutputStream(location)); write(out); out.close(); fileTime = location.lastModified(); }
public void write(File location) throws IOException { OutputStream out = new BufferedOutputStream(new FileOutputStream(location)); write(out); out.close(); fileTime = location.lastModified(); }
1,109,533
public void writeSection(OutputStream out, String name, Map properties) throws IOException { if (name != null) { String sectionHeading = "["+name+"]" + DOS_CR_LF; out.write(sectionHeading.getBytes()); } // output LOGICAL first (if it exists) String s = null; if ((s = (String) proper...
private void writeSection(OutputStream out, String name, Map properties) throws IOException { if (name != null) { String sectionHeading = "["+name+"]" + DOS_CR_LF; out.write(sectionHeading.getBytes()); } // output LOGICAL first (if it exists) String s = null; if ((s = (String) prope...
1,109,534
public String put(String key, String value) { String oldValue = get(key); properties.put(key,value); getPcs().firePropertyChange(key,oldValue,value); return oldValue; }
public String put(String key, String value) { String oldValue = get(key); properties.put(key,value); getPcs().firePropertyChange(key,oldValue,value); return oldValue; }
1,109,535
public void testVolumeAddition() { PVDatabase db = new PVDatabase(); db.setDbHost( "" ); db.setDbName( "test" ); Volume v = new Volume( "test", "c:/temp" ); db.addVolume( v ); List volumes = db.getVolumes(); assertTrue( volumes.get( 0 ) == v ); assertT...
public void testVolumeAddition() { PVDatabase db = new PVDatabase(); db.setDbHost( "" ); db.setDbName( "test" ); Volume v = new Volume( "test", "c:/temp" ); try { db.addVolume( v ); } catch (PhotovaultException ex) { fail( ex.getMessage() ); } List volumes = db.getV...
1,109,536
public void testXMLOutput() { PVDatabase db = new PVDatabase(); db.setDbHost( "" ); db.setDbName( "test" ); Volume v = new Volume( "test", "c:/temp/voltest" ); db.addVolume( v ); ExternalVolume ev = new ExternalVolume( "test_extvol", "c./tem/extvoltest" ); db...
public void testXMLOutput() { PVDatabase db = new PVDatabase(); db.setDbHost( "" ); db.setDbName( "test" ); Volume v = new Volume( "test", "c:/temp/voltest" ); ExternalVolume ev = new ExternalVolume( "test_extvol", "c./tem/extvoltest" ); db.addVolume( ev ); ...
1,109,537
public void testXMLOutput() { PVDatabase db = new PVDatabase(); db.setDbHost( "" ); db.setDbName( "test" ); Volume v = new Volume( "test", "c:/temp/voltest" ); db.addVolume( v ); ExternalVolume ev = new ExternalVolume( "test_extvol", "c./tem/extvoltest" ); db...
public void testXMLOutput() { PVDatabase db = new PVDatabase(); db.setDbHost( "" ); db.setDbName( "test" ); Volume v = new Volume( "test", "c:/temp/voltest" ); db.addVolume( v ); ExternalVolume ev = new ExternalVolume( "test_extvol", "c./tem/extvoltest" ); tr...
1,109,538
public void run(Context context, XMLOutput output) throws Exception { if ( uri == null ) { throw new JellyException( "<j:include> must have a 'uri' attribute defined" ); } // we need to create a new Context of the URI // take off the script name from the URL ...
public void run(JellyContext context, XMLOutput output) throws Exception { if ( uri == null ) { throw new JellyException( "<j:include> must have a 'uri' attribute defined" ); } // we need to create a new Context of the URI // take off the script name from the U...
1,109,540
public void writeDDLTransactionEnd() { out.println("GO"); }
public void writeDDLTransactionEnd() { println("GO"); }
1,109,541
public void writeHeader() { out.println("-- Created by SQLPower SQLServer 2000 DDL Generator "+GENERATOR_VERSION+" --"); }
public void writeHeader() { println("-- Created by SQLPower SQLServer 2000 DDL Generator "+GENERATOR_VERSION+" --"); }
1,109,542
public void saveResultToFile(File outFile) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(outFile)); bw.write("#tagging with r^2 cutoff: " + minRSquared); bw.newLine(); bw.write("Marker\tBest Tag\tr^2 w/tag"); bw.newLine(); for (int i = 0; i < sn...
public void saveResultToFile(File outFile) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(outFile)); bw.write("#tagging with r^2 cutoff: " + minRSquared); bw.newLine(); bw.write("Marker\tBest Tag\tr^2 w/tag"); bw.newLine(); for (int i = 0; i < sn...
1,109,543
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane, BorderLayout.CENTER ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerF...
1,109,546
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
1,109,547
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
1,109,548
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
protected void createUI() { tabPane = new JTabbedPane(); add( tabPane ); // General pane JPanel generalPane = new JPanel(); tabPane.addTab( "General", generalPane ); // Create the fields & their labels // Photographer field JLabel photographerLabel = new JLabel( "Photographer" ); photographerField = new JTextField...
1,109,549
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
1,109,551
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
1,109,552
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
1,109,553
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); if ( project.getTaskDefinitions().containsKey( tagName ) ) { // check if manifest is contained within a jar // special handling for Ant 1.5 manif...
1,109,554
public HaploView(){ Options.setMissingThreshold(0.4); try{ fc = new JFileChooser(System.getProperty("user.dir")); }catch(NullPointerException n){ try{ UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); fc = new JFileCh...
public HaploView(){ Options.setMissingThreshold(1.0); try{ fc = new JFileChooser(System.getProperty("user.dir")); }catch(NullPointerException n){ try{ UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); fc = new JFileCh...
1,109,558
void readGenotypes(String[] inputOptions, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file ("" if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is eithe...
void readGenotypes(String[] inputOptions, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file ("" if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is eithe...
1,109,559
void readGenotypes(String[] inputOptions, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file ("" if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is eithe...
void readGenotypes(String[] inputOptions, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file ("" if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is eithe...
1,109,560
public Object construct(){ dPrimeDisplay=null; changeKey(1); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ...
public Object construct(){ dPrimeDisplay=null; changeKey(1); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ...
1,109,561
private void buildParenTDTTrioSet(PedFile pf, Vector permuteInd, TreeSet snpsToBeTested) throws PedFileException{ Vector results = new Vector(); Vector indList = pf.getAllIndividuals(); if(permuteInd == null || permuteInd.size() != indList.size()) { permuteInd = new Vector(); ...
private void buildParenTDTTrioSet(PedFile pf, Vector permuteInd, TreeSet snpsToBeTested) throws PedFileException{ Vector results = new Vector(); Vector indList = pf.getAllIndividuals(); if(permuteInd == null || permuteInd.size() != indList.size()) { permuteInd = new Vector(); ...
1,109,562
public String getCountString(int i){ nf.setMinimumFractionDigits(1); nf.setMaximumFractionDigits(1); Haplotype h = (Haplotype) alleles.get(i); StringBuffer countSB = new StringBuffer(); if(Options.getAssocTest() == ASSOC_TRIO) { countSB.append(nf.format(h.getTransCount(...
public String getCountString(int i){ nf.setMinimumFractionDigits(1); nf.setMaximumFractionDigits(1); Haplotype h = (Haplotype) filteredAlleles.get(i); StringBuffer countSB = new StringBuffer(); if(Options.getAssocTest() == ASSOC_TRIO) { countSB.append(nf.format(h.getTra...
1,109,564
public String getPValue(int i) { if (pValues == null || i >= pValues.size()){ return ""; } return Util.formatPValue(((Double)pValues.get(i)).doubleValue()); }
public Double getPValue(int i) { if (pValues == null || i >= pValues.size()){ return ""; } return Util.formatPValue(((Double)pValues.get(i)).doubleValue()); }
1,109,565
public String getPValue(int i) { if (pValues == null || i >= pValues.size()){ return ""; } return Util.formatPValue(((Double)pValues.get(i)).doubleValue()); }
public String getPValue(int i) { if (pValues == null || i >= pValues.size()){ return new Double(0); } return Util.formatPValue(((Double)pValues.get(i)).doubleValue()); }
1,109,566
public String getPValue(int i) { if (pValues == null || i >= pValues.size()){ return ""; } return Util.formatPValue(((Double)pValues.get(i)).doubleValue()); }
public String getPValue(int i) { if (pValues == null || i >= pValues.size()){ return ""; } return new Double(Util.formatPValue(((Double)pValues.get(i)).doubleValue())); }
1,109,567
public void parseWGA(String wga, String map, boolean embed) throws PlinkException { markers = new Vector(); results = new Vector(); columns = new Vector(); columns.add("Result"); columns.add("Chrom"); columns.add("Marker"); columns.add("Position"); final File ...
public void parseWGA(String wga, String map, boolean embed) throws PlinkException { markers = new Vector(); results = new Vector(); columns = new Vector(); columns.add("Result"); columns.add("Chrom"); columns.add("Marker"); columns.add("Position"); final File ...
1,109,568
public void parseWGA(String wga, String map, boolean embed) throws PlinkException { markers = new Vector(); results = new Vector(); columns = new Vector(); columns.add("Result"); columns.add("Chrom"); columns.add("Marker"); columns.add("Position"); final File ...
public void parseWGA(String wga, String map, boolean embed) throws PlinkException { markers = new Vector(); results = new Vector(); columns = new Vector(); columns.add("Result"); columns.add("Chrom"); columns.add("Marker"); columns.add("Position"); final File ...
1,109,569
public void parseWGA(String wga, String map, boolean embed) throws PlinkException { markers = new Vector(); results = new Vector(); columns = new Vector(); columns.add("Result"); columns.add("Chrom"); columns.add("Marker"); columns.add("Position"); final File ...
public void parseWGA(String wga, String map, boolean embed) throws PlinkException { markers = new Vector(); results = new Vector(); columns = new Vector(); columns.add("Result"); columns.add("Chrom"); columns.add("Marker"); columns.add("Position"); final File ...
1,109,570
public void actionPerformed(ActionEvent e) { final DDLExportPanel ddlPanel = new DDLExportPanel(architectFrame.getProject()); Action okAction, cancelAction; okAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { try { if (ddlPanel.applyChanges()) { GenericDDLGene...
public void actionPerformed(ActionEvent e) { final DDLExportPanel ddlPanel = new DDLExportPanel(architectFrame.getProject()); Action okAction, cancelAction; okAction = new AbstractAction() { public void actionPerformed(ActionEvent evt) { try { if (ddlPanel.applyChanges()) { GenericDDLGene...
1,109,571
public void actionPerformed(ActionEvent evt) { try { if (ddlPanel.applyChanges()) { GenericDDLGenerator ddlg = architectFrame.getProject().getDDLGenerator(); ddlg.setTargetSchema(ddlPanel.getSchemaField().getText()); // XXX is it OK that is this generated but never used?? ...
public void actionPerformed(ActionEvent evt) { try { if (ddlPanel.applyChanges()) { GenericDDLGenerator ddlg = architectFrame.getProject().getDDLGenerator(); ddlg.setTargetSchema(ddlPanel.getSchemaField().getText()); // XXX is it OK that is this generated but never used?? ...
1,109,572
public void dbObjectChanged(SQLObjectEvent e) { if (e.getPropertyName() != null && e.getPropertyName().equals("name")) { setToolTipText(model.getName()); } }
public void dbObjectChanged(SQLObjectEvent e) { if (e.getPropertyName() != null && e.getPropertyName().equals("name")) { setToolTipText(model.getName()); } }
1,109,574
protected Project getProject() { ProjectTag tag = (ProjectTag) findAncestorWithClass(ProjectTag.class); if ( tag != null) { return tag.getProject(); } return (Project) context.findVariable( "org.apache.commons.jelly.werkz.Project" ); }
protected Project getProject() { ProjectTag tag = (ProjectTag) findAncestorWithClass(ProjectTag.class); if ( tag != null) { answer = tag.getProject(); } return (Project) context.findVariable( "org.apache.commons.jelly.werkz.Project" ); }
1,109,575