bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void testLoad() throws Exception { // StringReader r = new StringReader(testData); ByteArrayInputStream r = new ByteArrayInputStream(testData.getBytes()); project.load(r); assertFalse("Project starts out with undo history",project.getUndoManager().canUndoOrRedo()); DBTree tree = project.getSourceDatabases(... | public void testLoad() throws Exception { // StringReader r = new StringReader(testData); ByteArrayInputStream r = new ByteArrayInputStream(testData.getBytes()); project.load(r); assertFalse("Project starts out with undo history",project.getUndoManager().canUndoOrRedo()); DBTree tree = project.getSourceDatabases(... | 1,108,831 |
public void doTag(XMLOutput output) throws Exception { if (test == null && xpath == null) { throw new MissingAttributeException( "test" ); } if (test != null) { if (! test.evaluateAsBoolean(context)) { fail( getBodyText(), "evaluating test: "+ test.getExpres... | public void doTag(XMLOutput output) throws JellyTagException { if (test == null && xpath == null) { throw new MissingAttributeException( "test" ); } if (test != null) { if (! test.evaluateAsBoolean(context)) { fail( getBodyText(), "evaluating test: "+ test.g... | 1,108,832 |
public void doTag(XMLOutput output) throws Exception { if (test == null && xpath == null) { throw new MissingAttributeException( "test" ); } if (test != null) { if (! test.evaluateAsBoolean(context)) { fail( getBodyText(), "evaluating test: "+ test.getExpres... | public void doTag(XMLOutput output) throws Exception { if (test == null && xpath == null) { throw new MissingAttributeException( "test" ); } if (test != null) { if (! test.evaluateAsBoolean(context)) { fail( getBodyText(), "evaluating test: "+ test.getExpres... | 1,108,833 |
public Query<S> and(Filter<S> filter) throws FetchException { FilterValues<S> newValues; if (mValues == null) { newValues = filter.initialFilterValues(); } else { newValues = mValues.getFilter().and(filter) .initialFilterValues().withValues(mValues.getValues... | public Query<S> and(Filter<S> filter) throws FetchException { FilterValues<S> newValues; if (mValues == null) { newValues = filter.initialFilterValues(); } else { newValues = mValues.getFilter().and(filter) .initialFilterValues().withValues(mValues.getSuppli... | 1,108,834 |
public Query<S> or(Filter<S> filter) throws FetchException { if (mValues == null) { throw new IllegalStateException("Query is already guaranteed to fetch everything"); } FilterValues<S> newValues = mValues.getFilter().or(filter) .initialFilterValues().withValues(mValues.ge... | public Query<S> or(Filter<S> filter) throws FetchException { if (mValues == null) { throw new IllegalStateException("Query is already guaranteed to fetch everything"); } FilterValues<S> newValues = mValues.getFilter().or(filter) .initialFilterValues().withValues(mValues.ge... | 1,108,835 |
public static ClassLoader getClassLoader(ClassLoader specifiedLoader, Class callingClass) { if (specifiedLoader != null) { return specifiedLoader; } return getClassLoader(callingClass); } | public static ClassLoader getClassLoader(ClassLoader specifiedLoader, boolean useContextClassLoader, Class callingClass) { if (specifiedLoader != null) { return specifiedLoader; } return getClassLoader(callingClass); } | 1,108,837 |
static DataSource getDataSource(Object rawDataSource, JellyContext pc) throws JellyException { DataSource dataSource = null; if (log.isInfoEnabled() ) { log.info( "Attempting to deduce DataSource from: " + rawDataSource ); } if (rawDataSource == null) { rawDataSource = pc.getVariable("org.apache.commons.jel... | static DataSource getDataSource(Object rawDataSource, JellyContext pc) throws JellyException { DataSource dataSource = null; if (log.isInfoEnabled() ) { log.info( "Attempting to deduce DataSource from: " + rawDataSource ); } if (rawDataSource == null) { rawDataSource = pc.getVariable("org.apache.commons.jel... | 1,108,839 |
static DataSource getDataSource(Object rawDataSource, JellyContext pc) throws JellyException { DataSource dataSource = null; if (log.isInfoEnabled() ) { log.info( "Attempting to deduce DataSource from: " + rawDataSource ); } if (rawDataSource == null) { rawDataSource = pc.getVariable("org.apache.commons.jel... | static DataSource getDataSource(Object rawDataSource, JellyContext pc) throws JellyException { DataSource dataSource = null; if (log.isInfoEnabled() ) { log.info( "Attempting to deduce DataSource from: " + rawDataSource ); } if (rawDataSource == null) { rawDataSource = pc.getVariable("org.apache.commons.jel... | 1,108,840 |
public void testCreateDB() { File confFile = null; File dbDir = null; // Create an empty configuration file & volume directory try { confFile = File.createTempFile( "photovault_settings_", ".xml" ); confFile.delete(); dbDir = File.createTempFile( "photova... | public void testCreateDB() { File confFile = null; File dbDir = null; // Create an empty configuration file & volume directory try { confFile = File.createTempFile( "photovault_settings_", ".xml" ); confFile.delete(); dbDir = File.createTempFile( "photova... | 1,108,844 |
public void testNoSettingsFile() { try { File f = File.createTempFile( "photovault_settings", ".xml" ); f.delete(); System.setProperty( "photovault.configfile", f.getAbsolutePath() ); } catch ( Exception e ) { fail( e.getMessage() ); } Photovau... | public void testNoSettingsFile() { try { File f = File.createTempFile( "photovault_settings", ".xml" ); f.delete(); System.setProperty( "photovault.configfile", f.getAbsolutePath() ); } catch ( Exception e ) { fail( e.getMessage() ); } Photovau... | 1,108,846 |
protected JPopupMenu setupPopupMenu() { JPopupMenu newMenu = new JPopupMenu(); JMenuItem popupNewDatabase = new JMenuItem("New Database Connection..."); popupNewDatabase.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { DBConnectionSpec dbcs = new DBConnectionSpec(); ... | protected JPopupMenu setupPopupMenu() { JPopupMenu newMenu = new JPopupMenu(); JMenuItem popupNewDatabase = new JMenuItem("New Database Connection..."); popupNewDatabase.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { DBConnectionSpec dbcs = new DBConnectionSpec(); ... | 1,108,847 |
public void actionPerformed(ActionEvent e) { DBConnectionSpec dbcs = new DBConnectionSpec(); dbcs.setName("New Connection"); dbcs.setDisplayName("New Connection"); SQLDatabase db = new SQLDatabase(dbcs); ((DBTreeModel.DBTreeRoot) getModel().getRoot()).addChild(db); ArchitectFrame.getMainInst... | public void actionPerformed(ActionEvent e) { DBConnectionSpec dbcs = new DBConnectionSpec(); dbcs.setName("New Connection"); dbcs.setDisplayName("New Connection"); SQLDatabase db = new SQLDatabase(dbcs); ((DBTreeModel.DBTreeRoot) getModel().getRoot()).addChild(db); edittingDB = db; logge... | 1,108,848 |
static TimeZone getTimeZone(JellyContext jc, Tag fromTag) { TimeZone tz = null; Tag t = findAncestorWithClass(fromTag, TimeZoneTag.class); if (t != null) { // use time zone from parent <timeZone> tag TimeZoneTag parent = (TimeZoneTag) t; tz = parent.getTimeZone(... | static TimeZone getTimeZone(JellyContext jc, Tag fromTag) { TimeZone tz = null; Tag t = findAncestorWithClass(fromTag, TimeZoneTag.class); if (t != null) { // use time zone from parent <timeZone> tag TimeZoneTag parent = (TimeZoneTag) t; tz = parent.getTimeZone(... | 1,108,851 |
private boolean login( LoginDlg ld ) { boolean success = false; String user = ld.getUsername(); String passwd = ld.getPassword(); String dbName = ld.getDb(); log.debug( "Using configuration " + dbName ); settings.setConfiguration( dbName ); PVDatabase db = settings.getDatabase( dbName ); String... | private boolean login( LoginDlg ld ) { boolean success = false; String user = ld.getUsername(); String passwd = ld.getPassword(); String dbName = ld.getDb(); log.debug( "Using configuration " + dbName ); settings.setConfiguration( dbName ); PVDatabase db = settings.getDatabase( dbName ); String... | 1,108,852 |
public void itemDeselected(SelectionEvent e) { changeToolTip(pp.getSelectedItems()); } | public void itemDeselected(SelectionEvent e) { try { setupAction(pp.getSelectedItems()); } catch (ArchitectException e1) { throw new ArchitectRuntimeException(e1); } } | 1,108,853 |
public void itemSelected(SelectionEvent e) { changeToolTip(pp.getSelectedItems()); } | public void itemSelected(SelectionEvent e) { try { setupAction(pp.getSelectedItems()); } catch (ArchitectException e1) { throw new ArchitectRuntimeException(e1); } } | 1,108,854 |
void export(Component c, int format, int start, int stop){ if (c == null) return; fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ ... | void export(Component c, int format, int start, int stop){ if (c == null) return; fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ ... | 1,108,855 |
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,108,856 |
protected Document getXmlDocument(XMLOutput output) throws Exception { Document document = null; if (xml == null) { document = parseBody(output); } else { document = parse(xml); } return document; } | protected Document getXmlDocument(XMLOutput output) throws Exception { Document document = null; Object xmlObj = this.getXml(); if (xmlObj == null) { document = parseBody(output); } else { document = parse(xml); } return document; } | 1,108,857 |
protected Document getXmlDocument(XMLOutput output) throws Exception { Document document = null; if (xml == null) { document = parseBody(output); } else { document = parse(xml); } return document; } | protected Document getXmlDocument(XMLOutput output) throws Exception { Document document = null; if (xml == null) { document = parseBody(output); } else { document = parse(xmlObj); } return document; } | 1,108,858 |
public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | 1,108,859 |
public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | 1,108,860 |
public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | 1,108,861 |
public void doTag(final XMLOutput output) throws Exception { AttainTag attainTag = (AttainTag) findAncestorWithClass( AttainTag.class ); Session session = null; if ( attainTag == null ) { session = new JellySession( output ); } else { session = attainTag.get... | public void doTag(final XMLOutput output) throws Exception { AttainTag attainTag = (AttainTag) findAncestorWithClass( AttainTag.class ); Session session = null; if ( attainTag == null ) { session = new JellySession( output ); } else { session = attainTag.get... | 1,108,863 |
public void doTag(XMLOutput output) throws Exception { Test test = getTest(); if ( test == null ) { test = (Test) context.getVariable("org.apache.commons.jelly.junit.suite"); } if ( test == null ) { throw new MissingAttributeException( "test" ); } ... | public void doTag(XMLOutput output) throws JellyTagException { Test test = getTest(); if ( test == null ) { test = (Test) context.getVariable("org.apache.commons.jelly.junit.suite"); } if ( test == null ) { throw new MissingAttributeException( "test" ); ... | 1,108,865 |
DPrimeDisplay(HaploData h){ theData=h; this.setDoubleBuffered(true); addMouseListener(new PopMouseListener(this)); } | DPrimeDisplay(HaploData h){ theData=h; this.setDoubleBuffered(true); addMouseListener(this); addMouseMotionListener(this); } | 1,108,868 |
public Dimension getPreferredSize() { //loop through table to find deepest non-null comparison PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; int count = 0; for (int x = 0; x < dPrimeTable.length-1; x++){ for (int y = x+1; y < dPrimeTable.length; y++){ ... | public Dimension getPreferredSize() { //loop through table to find deepest non-null comparison PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; int count = 0; for (int x = 0; x < dPrimeTable.length-1; x++){ for (int y = x+1; y < dPrimeTable.length; y++){ ... | 1,108,869 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,870 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,871 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,872 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,873 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,874 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,875 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,876 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,877 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Graphics2D g2 = (Graphics2D) g; Dimension size = getSize(); Dimension pref = getPreferredSize(); Rectangle visRect = getVisibleRect(); ... | 1,108,878 |
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,108,880 |
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,108,881 |
public ImportTag() { this.shouldInherit = false; } | public ImportTag() { } | 1,108,882 |
public void doTag(XMLOutput output) throws Exception { if (uri == null) { throw new MissingAttributeException( "uri" ); } // we need to create a new JellyContext of the URI // take off the script name from the URL context.runScript(uri, output, true, getInherit() ); ... | public void doTag(XMLOutput output) throws Exception { if (uri == null) { throw new MissingAttributeException( "uri" ); } // we need to create a new JellyContext of the URI // take off the script name from the URL context.runScript(uri, output, true, isInherit() ); } | 1,108,883 |
public void setInherit(String inherit) { if ( "true".equals( inherit ) ) { this.shouldInherit = true; } } | public void setInherit(String inherit) { if ( "true".equals( inherit ) ) { this.shouldInherit = true; } } | 1,108,884 |
protected Action createAction() { return new Action() { public void run(Node node) throws Exception { xpathSource = node; if (log.isDebugEnabled()) { log.debug( "Firing template body for match: " + match + " and node: " + node ); ... | protected Action createAction() { return new Action() { public void run(Node node) throws Exception { xpathSource = node; if (log.isDebugEnabled()) { log.debug( "Firing template body for match: " + match + " and node: " + node ); ... | 1,108,885 |
public void run(Node node) throws Exception { xpathSource = node; if (log.isDebugEnabled()) { log.debug( "Firing template body for match: " + match + " and node: " + node ); } getBody().run(context, output); ... | public void run(Node node) throws Exception { xpathSource = node; if (log.isDebugEnabled()) { log.debug( "Firing template body for match: " + match + " and node: " + node ); } invokeBody(output); } | 1,108,886 |
public HaploView(){ //menu setup JMenuBar menuBar = new JMenuBar(); setJMenuBar(menuBar); JMenuItem menuItem; //file menu JMenu fileMenu = new JMenu("File"); menuBar.add(fileMenu); menuItem = new JMenuItem(READ_GENOTYPES); setAccelerator(menuItem, 'O', ... | public HaploView(){ //menu setup JMenuBar menuBar = new JMenuBar(); setJMenuBar(menuBar); JMenuItem menuItem; //file menu JMenu fileMenu = new JMenu("File"); menuBar.add(fileMenu); menuItem = new JMenuItem(READ_GENOTYPES); setAccelerator(menuItem, 'O', ... | 1,108,889 |
void processData() { maxCompDist = Long.parseLong(inputOptions[2])*1000; try{ this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); final SwingWorker worker = new SwingWorker(){ public Object construct(){ dPrimeDisplay=null; ... | void processData() { maxCompDist = Long.parseLong(inputOptions[2])*1000; try{ this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); final SwingWorker worker = new SwingWorker(){ public Object construct(){ dPrimeDisplay=null; ... | 1,108,890 |
public Object construct(){ dPrimeDisplay=null; theData.infoKnown = false; if (!(inputOptions[1].equals(""))){ readMarkers(new File(inputOptions[1])); } theData.generateDPrimeTable(maxCom... | public Object construct(){ dPrimeDisplay=null; theData.infoKnown = false; if (!(inputOptions[1].equals(""))){ readMarkers(new File(inputOptions[1])); } theData.generateDPrimeTable(maxCom... | 1,108,891 |
public synchronized boolean equals(int status) { return this.status == status; } | public synchronized boolean equals(int status) { return this.status == status; } | 1,108,894 |
public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | 1,108,895 |
public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | 1,108,896 |
public void actionPerformed(ActionEvent e) { int[] killMe = viewTable.getSelectedRows(); Arrays.sort(killMe); // iterate backwards so the rows don't shift away on us! f... | public void actionPerformed(ActionEvent e) { int[] killMe = viewTable.getSelectedRows(); Arrays.sort(killMe); // iterate backwards so the rows don't shift away on us! f... | 1,108,897 |
public void actionPerformed(ActionEvent e) { profileManager.clear(); ((ProfileTableModel)viewTable.getModel()).refresh(); } | public void actionPerformed(ActionEvent e) { profileManager.clear(); TableModelSortDecorator t = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel t2 = (ProfileTableModel) t.getTableModel(); t2.refresh(); ... | 1,108,898 |
public TableModelSortDecorator(TableModel tableModel) { this(); setTableModel(tableModel); } | public TableModelSortDecorator(TableModel tableModel) { this(); setTableModel(tableModel); } | 1,108,899 |
public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | 1,108,900 |
public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | 1,108,901 |
public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | 1,108,902 |
public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | public void initColumnSizes(JTable table) { AbstractTableModel model = (AbstractTableModel)table.getModel(); TableColumn column = null; Component comp = null; int headerWidth = 0; int cellWidth = 0; TableCellRenderer headerRenderer = table.getTableHeader().getDef... | 1,108,903 |
public ProfilePanel(ProfileManager pm) { this.pm = pm; displayPanel = new ProfileGraphPanel(this, 0,pm); setup(); } | public ProfilePanel(ProfileManager pm) { displayPanel = new ProfileGraphPanel(this, 0,pm); setup(); } | 1,108,904 |
public void linkageToChrom(boolean[] markerResults, PedFile pedFile, String[][] hmInfo) throws IllegalArgumentException, HaploViewException, PedFileException{ if(markerResults == null){ throw new IllegalArgumentException(); } Vector indList = pedFile.getOrder(); int... | public void linkageToChrom(boolean[] markerResults, PedFile pedFile, String[][] hmInfo) throws IllegalArgumentException, HaploViewException, PedFileException{ if(markerResults == null){ throw new IllegalArgumentException(); } Vector indList = pedFile.getOrder(); int... | 1,108,905 |
public void saveDprimeToText(File dumpDprimeFile) throws IOException{ FileWriter saveDprimeWriter = new FileWriter(dumpDprimeFile); if (infoKnown){ saveDprimeWriter.write("L1\tL2\tD'\tLOD\tr^2\tCIlow\tCIhi\tDist\tT-int\n"); long dist; for (int i = 0; i < filteredDPrime... | public void saveDprimeToText(File dumpDprimeFile) throws IOException{ FileWriter saveDprimeWriter = new FileWriter(dumpDprimeFile); if (infoKnown){ saveDprimeWriter.write("L1\tL2\tD'\tLOD\tr^2\tCIlow\tCIhi\tDist\tT-int\n"); long dist; for (int i = 0; i < filteredDPrime... | 1,108,906 |
public String toString() { return "[TableProfileResult: col: ??; dataType: ??" + "; distinctValues: "+distinctValueCount+ "; minLength: "+minLength+ "; maxLength: "+maxLength+ "; avgLength: "+avgLength+ "; minValue: "+minValue+ ... | public String toString() { return "[ColumnProfileResult:" + "; distinctValues: "+distinctValueCount+ "; minLength: "+minLength+ "; maxLength: "+maxLength+ "; avgLength: "+avgLength+ "; minValue: "+minValue+ "; maxValue:... | 1,108,909 |
public String toString() { return "[TableProfileResult: col: ??; dataType: ??" + "; distinctValues: "+distinctValueCount+ "; minLength: "+minLength+ "; maxLength: "+maxLength+ "; avgLength: "+avgLength+ "; minValue: "+minValue+ ... | public String toString() { return "[TableProfileResult: col: ??; dataType: ??" + "; distinctValues: "+distinctValueCount+ "; minLength: "+minLength+ "; maxLength: "+maxLength+ "; avgLength: "+avgLength+ "; minValue: "+minValue+ ... | 1,108,910 |
protected abstract void init(Map<String, String> properties); | public void init(Element componentConfig) { id = componentConfig.getAttribute(ID).getValue(); properties = new Properties(componentConfig); init(properties); Element eventElement = componentConfig.getChild("event"); if(eventElement != null){ event = new Event(eventElement); } } | 1,108,911 |
protected XMLOutput createXMLOutput() throws Exception { OutputFormat format = null; if (prettyPrint) { format = OutputFormat.createPrettyPrint(); } else { format = new OutputFormat(); } if ( encoding != null ) { format.setEncoding( ... | protected XMLOutput createXMLOutput(Writer writer) throws Exception { OutputFormat format = null; if (prettyPrint) { format = OutputFormat.createPrettyPrint(); } else { format = new OutputFormat(); } if ( encoding != null ) { format.... | 1,108,912 |
protected XMLOutput createXMLOutput() throws Exception { OutputFormat format = null; if (prettyPrint) { format = OutputFormat.createPrettyPrint(); } else { format = new OutputFormat(); } if ( encoding != null ) { format.setEncoding( ... | protected XMLOutput createXMLOutput() throws Exception { OutputFormat format = null; if (prettyPrint) { format = OutputFormat.createPrettyPrint(); } else { format = new OutputFormat(); } if ( encoding != null ) { format.setEncoding( ... | 1,108,913 |
protected XMLOutput createXMLOutput() throws Exception { OutputFormat format = null; if (prettyPrint) { format = OutputFormat.createPrettyPrint(); } else { format = new OutputFormat(); } if ( encoding != null ) { format.setEncoding( ... | protected XMLOutput createXMLOutput() throws Exception { OutputFormat format = null; if (prettyPrint) { format = OutputFormat.createPrettyPrint(); } else { format = new OutputFormat(); } if ( encoding != null ) { format.setEncoding( ... | 1,108,914 |
public void doTag(final XMLOutput output) throws Exception { if ( name == null ) { throw new MissingAttributeException( "name" ); } XMLOutput newOutput = createXMLOutput(); try { newOutput.startDocument(); invokeBody(newOutput); newOutput.endDo... | public void doTag(final XMLOutput output) throws Exception { if ( name == null ) { throw new MissingAttributeException( "name" ); } XMLOutput newOutput = createXMLOutput(); try { newOutput.startDocument(); invokeBody(newOutput); newOutput.endDo... | 1,108,915 |
public void doTag(final XMLOutput output) throws Exception { if ( name == null ) { throw new MissingAttributeException( "name" ); } XMLOutput newOutput = createXMLOutput(); try { newOutput.startDocument(); invokeBody(newOutput); newOutput.endDo... | public void doTag(final XMLOutput output) throws Exception { if ( name == null ) { throw new MissingAttributeException( "name" ); } XMLOutput newOutput = createXMLOutput(); try { newOutput.startDocument(); invokeBody(newOutput); newOutput.endDo... | 1,108,916 |
public void doTag(final XMLOutput output) throws Exception { if ( name == null ) { throw new MissingAttributeException( "name" ); } XMLOutput newOutput = createXMLOutput(); try { newOutput.startDocument(); invokeBody(newOutput); newOutput.endDo... | public void doTag(final XMLOutput output) throws Exception { if ( name == null ) { throw new MissingAttributeException( "name" ); } XMLOutput newOutput = createXMLOutput(); try { newOutput.startDocument(); invokeBody(newOutput); newOutput.endDo... | 1,108,917 |
public void testDatabaseCollection() { PhotovaultDatabases pvd = new PhotovaultDatabases(); PVDatabase db1 = new PVDatabase(); db1.setName( "test1" ); db1.setDbName( "database1" ); db1.setDbHost( "machine" ); pvd.addDatabase( db1 ); PVDatabase db2 = new PVDat... | public void testDatabaseCollection() { PhotovaultDatabases pvd = new PhotovaultDatabases(); PVDatabase db1 = new PVDatabase(); db1.setName( "test1" ); db1.setDbName( "database1" ); db1.setDbHost( "machine" ); try { pvd.addDatabase( db1 ); } catch (PhotovaultExceptio... | 1,108,919 |
public void testDatabaseCollection() { PhotovaultDatabases pvd = new PhotovaultDatabases(); PVDatabase db1 = new PVDatabase(); db1.setName( "test1" ); db1.setDbName( "database1" ); db1.setDbHost( "machine" ); pvd.addDatabase( db1 ); PVDatabase db2 = new PVDat... | public void testDatabaseCollection() { PhotovaultDatabases pvd = new PhotovaultDatabases(); PVDatabase db1 = new PVDatabase(); db1.setName( "test1" ); db1.setDbName( "database1" ); db1.setDbHost( "machine" ); pvd.addDatabase( db1 ); PVDatabase db2 = new PVDat... | 1,108,920 |
protected static Thumbnail createThumbnail( PhotoInfo photo, File thumbnailFile ) { Thumbnail thumb = new Thumbnail(); thumb.photo = photo; log.debug( "Creating thumbnail for " + photo.getUid() ); log.debug( " - " + thumbnailFile.getPath() ); try { thumb.image = ImageIO.read( thumbnailFile ); } catch ( IOExcep... | protected static Thumbnail createThumbnail( PhotoInfo photo, File thumbnailFile ) { Thumbnail thumb = new Thumbnail(); thumb.photo = photo; log.debug( "Creating thumbnail for " + photo.getUid() ); log.debug( " - " + thumbnailFile.getPath() ); try { thumb.image = ImageIO.read( thumbnailFile ); } catch ( IOExcep... | 1,108,922 |
Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | 1,108,923 |
Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | 1,108,924 |
Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | 1,108,925 |
Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | Vector do4Gamete(){ Vector blocks = new Vector(); for (int x = 0; x < dPrime.length-1; x++){ String thisOne = new String(x + " "); boolean start = false; for (int y = x+1; y < dPrime.length; y++){ PairwiseLinkage thisPair = dPrime[x][y]; double[] freqs = thisPair.getFreqs(); int numGam = 0; for (int... | 1,108,926 |
public void run(Context context, XMLOutput output) throws Exception { DefineTagLibTag tag = (DefineTagLibTag) findAncestorWithClass(this, DefineTagLibTag.class); if ( tag == null ) { throw new JellyException( "<define:tag> must be inside <define:taglib>" ); } tag.g... | public void run(JellyContext context, XMLOutput output) throws Exception { DefineTagLibTag tag = (DefineTagLibTag) findAncestorWithClass(this, DefineTagLibTag.class); if ( tag == null ) { throw new JellyException( "<define:tag> must be inside <define:taglib>" ); } ... | 1,108,927 |
public Object evaluate(Context context) { this.context = context; xpath.setVariableContext( this ); return xpath; } | public Object evaluate(JellyContext context) { this.context = context; xpath.setVariableContext( this ); return xpath; } | 1,108,928 |
public void doTag(XMLOutput output) throws JellyTagException { // lets find any attributes that are not set and for ( Iterator iter = attributes.values().iterator(); iter.hasNext(); ) { Attribute attribute = (Attribute) iter.next(); String name = attribute.getName(); ... | public void doTag(XMLOutput output) throws JellyTagException { // lets find any attributes that are not set and for ( Iterator iter = attributes.values().iterator(); iter.hasNext(); ) { Attribute attribute = (Attribute) iter.next(); String name = attribute.getName(); ... | 1,108,929 |
public Vector check() throws PedFileException{ //before we perform the check we want to prune out individuals with too much missing data //or trios which contain individuals with too much missing data Iterator fitr = families.values().iterator(); Vector useable = new Vector(); whi... | public Vector check() throws PedFileException{ //before we perform the check we want to prune out individuals with too much missing data //or trios which contain individuals with too much missing data Iterator fitr = families.values().iterator(); Vector useable = new Vector(); whi... | 1,108,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,108,931 |
public Thumbnail getThumbnail() { log.debug( "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.get( n ); ... | public Thumbnail getThumbnail() { log.debug( "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.get( n ); ... | 1,108,933 |
Haplotype[][] generateCrossovers(Haplotype[][] haplos) throws HaploViewException{ Vector crossBlock = new Vector(); double CROSSOVER_THRESHOLD = 0.01; //to what percentage do we want to consider crossings? if (haplos.length == 0) return null; //seed first block with ordering numbers ... | Haplotype[][] generateCrossovers(Haplotype[][] haplos) throws HaploViewException{ Vector crossBlock = new Vector(); double CROSSOVER_THRESHOLD = 0.01; //to what percentage do we want to consider crossings? if (haplos.length == 0) return null; //seed first block with ordering numbers ... | 1,108,934 |
Haplotype[][] generateCrossovers(Haplotype[][] haplos) throws HaploViewException{ Vector crossBlock = new Vector(); double CROSSOVER_THRESHOLD = 0.01; //to what percentage do we want to consider crossings? if (haplos.length == 0) return null; //seed first block with ordering numbers ... | Haplotype[][] generateCrossovers(Haplotype[][] haplos) throws HaploViewException{ Vector crossBlock = new Vector(); double CROSSOVER_THRESHOLD = 0.01; //to what percentage do we want to consider crossings? if (haplos.length == 0) return null; //seed first block with ordering numbers ... | 1,108,935 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | static public void doCreateRelationship(SQLTable pkTable,SQLTable fkTable,PlayPen pp, boolean identifying) { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+... | 1,108,938 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getName()+"_"+fkTable.getName()+"_fk"); model.setIdentifying(identifying); model.setPkTab... | 1,108,939 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,940 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,941 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,942 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,943 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,944 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,945 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,946 |
protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | protected void doCreateRelationship() { try { SQLRelationship model = new SQLRelationship(); // XXX: need to ensure uniqueness of setName(), but // to_identifier should take care of this... model.setName(pkTable.getModel().getName()+"_"+fkTable.getModel().getName()+"_fk"); model.setIdentifying(identify... | 1,108,947 |
public void setPlSchema(String schema) { put(PL_SCHEMA_OWNER, schema); } | public void setPlSchema(String schema) { putImpl(PL_SCHEMA_OWNER, schema, "plSchema"); } | 1,108,948 |
public void setPlDbType(String type) { put(PL_TYPE, type); } | public void setPlDbType(String type) { putImpl(PL_TYPE, type, "plDbType"); } | 1,108,949 |
public void setOdbcDsn(String dsn) { put(PL_DSN, dsn); } | public void setOdbcDsn(String dsn) { putImpl(PL_DSN, dsn, "odbcDsn"); } | 1,108,950 |
protected void handleException(JellyException e) throws JellyTagException { if (log.isTraceEnabled()) { log.trace( "Caught exception: " + e, e ); } applyLocation(e); throw new JellyTagException(e); } | protected void handleException(JellyTagException e) throws JellyTagException { if (log.isTraceEnabled()) { log.trace( "Caught exception: " + e, e ); } applyLocation(e); throw new JellyTagException(e); } | 1,108,951 |
protected void handleException(JellyException e) throws JellyTagException { if (log.isTraceEnabled()) { log.trace( "Caught exception: " + e, e ); } applyLocation(e); throw new JellyTagException(e); } | protected void handleException(JellyException e) throws JellyTagException { if (log.isTraceEnabled()) { log.trace( "Caught exception: " + e, e ); } applyLocation(e); throw e; } | 1,108,952 |
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,108,953 |
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,108,954 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.