bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected String getDisplayType(String type){ if(type.startsWith("[")){ /* convert to readable name. e.g. [Ljava.lang.String to java.lang.String[]*/ String arrayBraces = ""; while(type.startsWith("[")){ type = type.substring(1); ar...
protected String getDisplayType(String type){ if(type != null && type.startsWith("[")){ /* convert to readable name. e.g. [Ljava.lang.String to java.lang.String[]*/ String arrayBraces = ""; while(type.startsWith("[")){ type = type.substring(1); ...
1,112,738
public void showSearchDialog(final PlayPen pp) { // XXX need to convert to an ArchitectPanel before switching // this to use ArchitectPanelBuilder. final JDialog d = new JDialog((Frame) SwingUtilities.getAncestorOfClass(JFrame.class, pp), "Find"); ButtonGroup matchType = new ButtonGroup(); ...
public void showSearchDialog(final PlayPen pp) { // XXX need to convert to an ArchitectPanel before switching // this to use ArchitectPanelBuilder. final JDialog d = new JDialog((Frame) SwingUtilities.getAncestorOfClass(JFrame.class, pp), "Find"); ButtonGroup matchType = new ButtonGroup(); ...
1,112,739
Haplotype[][] generateHaplotypes(Vector blocks, int hapthresh) throws HaploViewException{ //TODO: output indiv hap estimates Haplotype[][] results = new Haplotype[blocks.size()][]; //String raw = new String(); //String currentLine; this.totalBlocks = blocks.size(); this.blo...
Haplotype[][] generateHaplotypes(Vector blocks, int hapthresh) throws HaploViewException{ //TODO: output indiv hap estimates Haplotype[][] results = new Haplotype[blocks.size()][]; //String raw = new String(); //String currentLine; this.totalBlocks = blocks.size(); this.blo...
1,112,740
Haplotype[][] generateHaplotypes(Vector blocks, int hapthresh) throws HaploViewException{ //TODO: output indiv hap estimates Haplotype[][] results = new Haplotype[blocks.size()][]; //String raw = new String(); //String currentLine; this.totalBlocks = blocks.size(); this.blo...
Haplotype[][] generateHaplotypes(Vector blocks, int hapthresh) throws HaploViewException{ //TODO: output indiv hap estimates Haplotype[][] results = new Haplotype[blocks.size()][]; //String raw = new String(); //String currentLine; this.totalBlocks = blocks.size(); this.blo...
1,112,741
Haplotype[][] generateHaplotypes(Vector blocks, int hapthresh) throws HaploViewException{ //TODO: output indiv hap estimates Haplotype[][] results = new Haplotype[blocks.size()][]; //String raw = new String(); //String currentLine; this.totalBlocks = blocks.size(); this.blo...
Haplotype[][] generateHaplotypes(Vector blocks, int hapthresh) throws HaploViewException{ //TODO: output indiv hap estimates Haplotype[][] results = new Haplotype[blocks.size()][]; //String raw = new String(); //String currentLine; this.totalBlocks = blocks.size(); this.blo...
1,112,742
void prepareHapsInput(File infile) throws IOException, HaploViewException{ //this method is called to suck in data from a file (its only argument) //of genotypes and sets up the Chromosome objects. String currentLine; Vector chroms = new Vector(); byte[] genos = new byte[0]; ...
void prepareHapsInput(File infile) throws IOException, HaploViewException{ //this method is called to suck in data from a file (its only argument) //of genotypes and sets up the Chromosome objects. String currentLine; Vector chroms = new Vector(); byte[] genos = new byte[0]; ...
1,112,743
public void doTag(final XMLOutput output) throws JellyTagException { try { if ( name != null ) { String encoding = (this.encoding != null) ? this.encoding : "UTF-8"; Writer writer = new OutputStreamWriter( new FileOutputStream( name ), encoding ); write...
public void doTag(final XMLOutput output) throws JellyTagException { try { if ( name != null ) { String encoding = (this.encoding != null) ? this.encoding : "UTF-8"; Writer writer = new OutputStreamWriter( new FileOutputStream( name, doAppend ), encoding ); ...
1,112,744
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); } i...
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); } i...
1,112,746
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); } i...
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); } i...
1,112,747
public void doTag(XMLOutput output) throws Exception { String message = getBodyText(); Object expectedValue = expected.evaluate(context); Object actualValue = actual.evaluate(context); if (expectedValue == null && expectedValue == null) { ...
public void doTag(XMLOutput output) throws Exception { String message = getBodyText(); Object expectedValue = expected.evaluate(context); Object actualValue = actual.evaluate(context); if (expectedValue == null && actualValue == null) { ...
1,112,748
public void doTag(XMLOutput output) throws JellyTagException { String message = getBodyText(); if (message == null || message.length() == 0) { message = "File does not exist." } if (file == null) { fail(message, "file given is null"); } ...
public void doTag(XMLOutput output) throws JellyTagException { String message = getBodyText(); if (message == null || message.length() == 0) { message = "File does not exist."; } if (file == null) { fail(message, "file given is null"); }...
1,112,749
public void doTag(XMLOutput output) throws JellyTagException { String message = getBodyText(); if (message == null || message.length() == 0) { message = "File does not exist." } if (file == null) { fail(message, "file given is null"); } ...
public void doTag(XMLOutput output) throws JellyTagException { String message = getBodyText(); if (message == null || message.length() == 0) { message = "File does not exist." } if (file == null) { fail(message, "file given is null"); } ...
1,112,750
public FuzzyDate parse(String strDate) { DateFormat df = new SimpleDateFormat( dateFormatStr ); FuzzyDate fd = null; try { Date d = df.parse( strDate ); if ( d != null ) { Date midpoint = new Date( d.getTime() + getFuzzyPeriodLeng...
public FuzzyDate parse(String strDate) { DateFormat df = getDateFormat(); FuzzyDate fd = null; try { Date d = df.parse( strDate ); if ( d != null ) { Date midpoint = new Date( d.getTime() + getFuzzyPeriodLength(d) / 2 ); ...
1,112,751
public FuzzyDate parse(String strDate) { DateFormat df = new SimpleDateFormat( dateFormatStr ); FuzzyDate fd = null; try { Date d = df.parse( strDate ); if ( d != null ) { Date midpoint = new Date( d.getTime() + getFuzzyPeriodLeng...
public FuzzyDate parse(String strDate) { DateFormat df = new SimpleDateFormat( dateFormatStr ); FuzzyDate fd = null; try { Date d = df.parse( strDate ); if ( d != null ) { Date midpoint = new Date( d.getTime() + getFuzzyPeriodLeng...
1,112,752
public ServerConnection getServerConnection(ApplicationConfig config) throws ConnectionFailedException { try { /* Create an RMI connector client */ HashMap env = new HashMap(); String[] credentials = new String[] {config.getUsername(), ...
public ServerConnection getServerConnection(ApplicationConfig config) throws ConnectionFailedException { try { /* Create an RMI connector client */ HashMap env = new HashMap(); String[] credentials = new String[] {config.getUsername(), ...
1,112,755
public UpdateDisplayDialog(HaploView h, String title, UpdateChecker uc) { super(h, title); JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); Font bigguns = new Font("Default", Font.BOLD, 14); JLabel announceLabel = new JLabel("A newer v...
public UpdateDisplayDialog(HaploView h, String title, UpdateChecker uc) { super(h, title); JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); Font bigguns = new Font("Default", Font.PLAIN, 14); JLabel announceLabel = new JLabel("A newer ...
1,112,756
public UpdateDisplayDialog(HaploView h, String title, UpdateChecker uc) { super(h, title); JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); Font bigguns = new Font("Default", Font.BOLD, 14); JLabel announceLabel = new JLabel("A newer v...
public UpdateDisplayDialog(HaploView h, String title, UpdateChecker uc) { super(h, title); JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); Font bigguns = new Font("Default", Font.BOLD, 14); JLabel announceLabel = new JLabel("A newer v...
1,112,757
public UpdateDisplayDialog(HaploView h, String title, UpdateChecker uc) { super(h, title); JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); Font bigguns = new Font("Default", Font.BOLD, 14); JLabel announceLabel = new JLabel("A newer v...
public UpdateDisplayDialog(HaploView h, String title, UpdateChecker uc) { super(h, title); JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); Font bigguns = new Font("Default", Font.BOLD, 14); JLabel announceLabel = new JLabel("A newer v...
1,112,758
public void run(Context context, XMLOutput output) throws Exception { output.startElement( uri, localName, qname, attributes ); getBody().run(context, output); output.endElement( uri, localName, qname ); }
public void run(Context context, XMLOutput output) throws Exception { output.startElement( uri, localName, qname, attributes ); getBody().run(context, output); output.endElement( uri, localName, qname ); }
1,112,759
public void setAttribute(String name, Object value) { // ### we'll assume that all attributes are in no namespace! // ### this is severely limiting! // ### - Tag attributes should allow for namespace aware int index = attributes.getIndex( "", name ); if ( index > 0 ) { ...
public void setAttribute(String name, Object value) { // ### we'll assume that all attributes are in no namespace! // ### this is severely limiting! // ### - Tag attributes should allow for namespace aware int index = attributes.getIndex( "", name ); if ( index > 0 ) { ...
1,112,760
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command==RAW_DATA){ load(PED); }else if (command == PHASED_DATA){ load(HAPS); }else if (command == HAPMAP_DATA){ load(DCC); }else if (command == BROWSE_GENO){ ...
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command==RAW_DATA){ load(PED); }else if (command == PHASED_DATA){ load(HAPS); }else if (command == HAPMAP_DATA){ load(DCC); }else if (command == BROWSE_GENO){ ...
1,112,761
void checkStringProperty( String propertyName, String value, int maxLength ) throws IllegalArgumentException { if ( value.length() > maxLength ) { throw new IllegalArgumentException( propertyName + " cannot be longer than " + maxLength + " characters" ); } }
void checkStringProperty( String propertyName, String value, int maxLength ) throws IllegalArgumentException { if ( value != null && value.length() > maxLength ) { throw new IllegalArgumentException( propertyName + " cannot be longer than " + maxLength + " characters" ); ...
1,112,762
public void cleanup() throws ArchitectException { setCleanupExceptionMessage("Could not populate catalog dropdown!"); catalogDropdown.removeAllItems(); catalogDropdown.setEnabled(false); // This is either a database, a catalog, or null depending on how db is structured SQLObject schemaParent; i...
public void cleanup() throws ArchitectException { setCleanupExceptionMessage("Could not populate catalog dropdown!"); catalogDropdown.removeAllItems(); catalogDropdown.setEnabled(false); // This is either a database, a catalog, or null depending on how db is structured SQLObject schemaParent; i...
1,112,763
public void actionPerformed(ActionEvent e) { startCompareAction.setEnabled(false); CompareDMFrame cf = null; try { SQLObject left = source.getObjectToCompare(); if (left.getChildType() == SQLTable.class) { sourceTables = left.getChildren(); } else { sourceTables = new ArrayList(); ...
public void actionPerformed(ActionEvent e) { startCompareAction.setEnabled(false); CompareDMFrame cf = null; try { SQLObject left = source.getObjectToCompare(); if (left.getChildType() == SQLTable.class) { sourceTables = left.getChildren(); } else { sourceTables = new ArrayList(); ...
1,112,764
public void actionPerformed(ActionEvent e) { startCompareAction.setEnabled(false); CompareDMFrame cf = null; try { SQLObject left = source.getObjectToCompare(); if (left.getChildType() == SQLTable.class) { sourceTables = left.getChildren(); } else { sourceTables = new ArrayList(); ...
public void actionPerformed(ActionEvent e) { startCompareAction.setEnabled(false); CompareDMFrame cf = null; try { SQLObject left = source.getObjectToCompare(); if (left.getChildType() == SQLTable.class) { sourceTables = left.getChildren(); } else { sourceTables = new ArrayList(); ...
1,112,765
public void actionPerformed(ActionEvent e) { startCompareAction.setEnabled(false); CompareDMFrame cf = null; try { SQLObject left = source.getObjectToCompare(); if (left.getChildType() == SQLTable.class) { sourceTables = left.getChildren(); } else { sourceTables = new ArrayList(); ...
public void actionPerformed(ActionEvent e) { startCompareAction.setEnabled(false); CompareDMFrame cf = null; try { SQLObject left = source.getObjectToCompare(); if (left.getChildType() == SQLTable.class) { sourceTables = left.getChildren(); } else { sourceTables = new ArrayList(); ...
1,112,766
public void doTag(XMLOutput output) throws Exception { if (log.isDebugEnabled()) { log.debug("running with items: " + items); } if (items != null) { Iterator iter = items.evaluateAsIterator(context); if (log.isDebugEnabled()) { log.debug("Iteratin...
public void doTag(XMLOutput output) throws Exception { if (log.isDebugEnabled()) { log.debug("running with items: " + items); } if (items != null) { Iterator iter = items.evaluateAsIterator(context); if (log.isDebugEnabled()) { log.debug("Iteratin...
1,112,768
Vector doSFS(){ double cutHighCI = 0.98; double cutLowCI = 0.70; double recHighCI = 0.90; int numStrong = 0; int numRec = 0; int numInGroup = 0; Vector blocks = new Vector(); Vector strongPairs = new Vector(); //first make a list of marker pairs in "strong LD", sorted by distance apart for (int x = 0; x < dPrime....
Vector doSFS(){ double cutHighCI = 0.98; double cutLowCI = 0.70; double recHighCI = 0.90; int numStrong = 0; int numRec = 0; int numInGroup = 0; Vector blocks = new Vector(); Vector strongPairs = new Vector(); //first make a list of marker pairs in "strong LD", sorted by distance apart for (int x = 0; x < dPrime....
1,112,771
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,112,772
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); splashPane = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); j...
1,112,773
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
1,112,774
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
1,112,775
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
1,112,776
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
1,112,777
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
1,112,778
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
private void initComponents() { copyrightPane = new javax.swing.JTabbedPane(); jPanel1 = new javax.swing.JPanel(); splashLabel = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLab...
1,112,779
void setupInfo() { URL buildPropertyURL = AboutDlg.class.getClassLoader().getResource( "buildinfo.properties"); Properties prop = new Properties(); try { InputStream is = buildPropertyURL.openStream(); prop.load( is ); } catch (IOException e ) { // Cannot...
void setupInfo() { URL buildPropertyURL = AboutDlg.class.getClassLoader().getResource( "buildinfo.properties"); Properties prop = new Properties(); try { InputStream is = buildPropertyURL.openStream(); prop.load( is ); } catch (IOException e ) { // Cannot...
1,112,780
public void testFireDbChildrenInserted() throws Exception { SQLTable table1 = db.getTableByName("REGRESSION_TEST1"); SQLColumn c1 = table1.getColumn(0); Folder folder = table1.getColumnsFolder(); TestSQLObjectListener test1 = new TestSQLObjectListener(); folder.addSQLObjectListener(test1); TestSQLObjectListener ...
public void testFireDbChildrenInserted() throws Exception { SQLTable table1 = db.getTableByName("REGRESSION_TEST1"); SQLColumn c1 = table1.getColumn(0); Folder folder = table1.getColumnsFolder(); TestSQLObjectListener test1 = new TestSQLObjectListener(); folder.addSQLObjectListener(test1); TestSQLObjectListener ...
1,112,781
public void testFireDbChildrenInserted() throws Exception { SQLTable table1 = db.getTableByName("REGRESSION_TEST1"); SQLColumn c1 = table1.getColumn(0); Folder folder = table1.getColumnsFolder(); TestSQLObjectListener test1 = new TestSQLObjectListener(); folder.addSQLObjectListener(test1); TestSQLObjectListener ...
public void testFireDbChildrenInserted() throws Exception { SQLTable table1 = db.getTableByName("REGRESSION_TEST1"); SQLColumn c1 = table1.getColumn(0); Folder folder = table1.getColumnsFolder(); TestSQLObjectListener test1 = new TestSQLObjectListener(); folder.addSQLObjectListener(test1); TestSQLObjectListener ...
1,112,782
protected void cleanup() { try { for (int i = 0; i < model.getChildCount(); i++) { model.getChild(i).removeSQLObjectListener(tableListModel); } } catch (ArchitectException e) { logger.error("Caught exception removing treemodel from column listener list"); } model.removeSQLObjectListener(tableListModel); }
protected void cleanup() { try { for (int i = 0; i < model.getChildCount(); i++) { model.getChild(i).removeSQLObjectListener(tableListModel); } } catch (ArchitectException e) { logger.error("Caught exception removing treemodel from column listener list"); } model.removeSQLObjectListener(tableListModel); }
1,112,783
protected void cleanup() { try { for (int i = 0; i < model.getChildCount(); i++) { model.getChild(i).removeSQLObjectListener(tableListModel); } } catch (ArchitectException e) { logger.error("Caught exception removing treemodel from column listener list"); } model.removeSQLObjectListener(tableListModel); }
protected void cleanup() { try { for (int i = 0; i < model.getChildCount(); i++) { model.getChild(i).removeSQLObjectListener(tableListModel); } } catch (ArchitectException e) { logger.error("Caught exception removing treemodel from column listener list"); } model.getColumnsFolder().removeSQLObjectListener...
1,112,784
private void addColumnImpl(int pos, SQLColumn col) throws ArchitectException { if (getColumnIndex(col) != -1) { col.addReference(); return; } boolean addToPK = false; int pkSize = getPkSize(); if (getColumns().size() > 0 && pos < pkSize) { addToPK = true; normalizePrimaryKey(); for (int i = pos; i < pkS...
private void addColumnImpl(int pos, SQLColumn col) throws ArchitectException { if (getColumnIndex(col) != -1) { col.addReference(); return; } boolean addToPK = false; int pkSize = getPkSize(); if (getColumns().size() > 0 && pos < pkSize) { addToPK = true; normalizePrimaryKey(); for (int i = pos; i < pkS...
1,112,785
public void changeColumnIndex(int oldIdx, int newIdx, boolean putInPK) throws ArchitectException { // remove and add the column directly, then manually fire the event. // This is necessary because the relationships prevent deletion of locked keys. SQLColumn col = (SQLColumn) columnsFolder.children.remove(oldIdx...
public void changeColumnIndex(int oldIdx, int newIdx, boolean putInPK) throws ArchitectException { // remove and add the column directly, then manually fire the event. // This is necessary because the relationships prevent deletion of locked keys. SQLColumn col = (SQLColumn) columnsFolder.children.remove(oldIdx...
1,112,786
public void setName(String argName) { String oldName = getName(); try { startCompoundEdit("Table Name Change"); super.setName(argName); if (primaryKeyName == null || primaryKeyName.equals("") || primaryKeyName.equals(oldName+"_pk")) { setPrimaryKeyName( getName()+"_pk"); } } finally { endCompo...
public void setName(String argName) { String oldName = getName(); try { startCompoundEdit("Table Name Change"); super.setName(argName); if (primaryKeyName == null || primaryKeyName.equals("") || primaryKeyName.equals(oldName+"_pk")) { setPrimaryKeyName( getName()+"_pk"); } } finally { endCompo...
1,112,787
private ActionForward handleDebugMode(HttpServletRequest request, HttpServletResponse response, ActionForward resultForward) throws IOException { if("true".equals(request.getParameter("debug.xml"))){ response....
private ActionForward handleDebugMode(HttpServletRequest request, HttpServletResponse response, ActionForward resultForward) throws IOException { if("true".equals(request.getParameter("debug.xml"))){ response....
1,112,789
public void actionPerformed( ActionEvent ev ) { Frame parentFrame = null; Container c = view.getTopLevelAncestor(); if ( c instanceof Frame ) { parentFrame = (Frame) c; } try { Collection selectedPhotos = view.getSelection(); if ( selectedPhotos.size() > 1 ) { // If user wants to open man...
public void actionPerformed( ActionEvent ev ) { Frame parentFrame = null; Container c = view.getTopLevelAncestor(); if ( c instanceof Frame ) { parentFrame = (Frame) c; } try { Collection selectedPhotos = view.getSelection(); if ( selectedPhotos.size() > 1 ) { // If user wants to open man...
1,112,791
public void actionPerformed( ActionEvent ev ) { Frame parentFrame = null; Container c = view.getTopLevelAncestor(); if ( c instanceof Frame ) { parentFrame = (Frame) c; } try { Collection selectedPhotos = view.getSelection(); if ( selectedPhotos.size() > 1 ) { // If user wants to open man...
public void actionPerformed( ActionEvent ev ) { Frame parentFrame = null; Container c = view.getTopLevelAncestor(); if ( c instanceof Frame ) { parentFrame = (Frame) c; } try { Collection selectedPhotos = view.getSelection(); if ( selectedPhotos.size() > 1 ) { // If user wants to open man...
1,112,792
public void windowClosing( WindowEvent e ) { viewer.setPhoto( null ); }
public void windowClosing( WindowEvent e ) { viewer.setPhoto( null ); }
1,112,793
void addHeading(final String headingText) { if(null == headingJLabel) { headingJLabel = LabelFactory.create(headingText, UIConstants.DefaultFontBold); headingJLabel.setBackground(new Color(117, 138, 155)); headingJLabel.setForeground(Color.WHITE); headingJLabel.setIcon(getHeadingIcon()); headingJLabel.se...
void addHeading(final String headingText) { if(null == headingJLabel) { headingJLabel = LabelFactory.create(headingText, UIConstants.DefaultFontBold); headingJLabel.setBackground(new Color(117, 138, 155, 255)); headingJLabel.setForeground(Color.WHITE); headingJLabel.setIcon(getHeadingIcon()); headingJLab...
1,112,794
private Fixture(final ArtifactModel aModel, final JabberId closedBy, final Calendar closedOn, final InternalContainerModel cInternalModel, final Long containerId, final Integer eTeamSize) { this.aModel = aModel; this.closedBy = closedBy; th...
private Fixture(final ContainerModel cModel, final JabberId closedBy, final Calendar closedOn, final InternalContainerModel cInternalModel, final Long containerId, final Integer eTeamSize) { this.aModel = aModel; this.closedBy = closedBy; t...
1,112,795
private Fixture(final ArtifactModel aModel, final JabberId closedBy, final Calendar closedOn, final InternalContainerModel cInternalModel, final Long containerId, final Integer eTeamSize) { this.aModel = aModel; this.closedBy = closedBy; th...
private Fixture(final ArtifactModel aModel, final JabberId closedBy, final Calendar closedOn, final InternalContainerModel cInternalModel, final Long containerId, final Integer eTeamSize) { this.cModel = cModel; this.closedBy = closedBy; th...
1,112,796
protected void setUp() throws Exception { super.setUp(); login(); final ContainerModel cModel = getContainerModel(); final ArtifactModel aModel = getArtifactModel(); final ModelTestUser jUnitX = ModelTestUser.getX(); final Container container = createContainer(NAME); final Document...
protected void setUp() throws Exception { super.setUp(); login(); final ContainerModel cModel = getContainerModel(); final ArtifactModel aModel = getArtifactModel(); final ModelTestUser jUnitX = ModelTestUser.getX(); final Container container = createContainer(NAME); final Document...
1,112,797
protected void setUp() throws Exception { super.setUp(); login(); final ContainerModel cModel = getContainerModel(); final ArtifactModel aModel = getArtifactModel(); final ModelTestUser jUnitX = ModelTestUser.getX(); final Container container = createContainer(NAME); final Document...
protected void setUp() throws Exception { super.setUp(); login(); final ContainerModel cModel = getContainerModel(); final ArtifactModel aModel = getArtifactModel(); final ModelTestUser jUnitX = ModelTestUser.getX(); final Container container = createContainer(NAME); final Document...
1,112,798
public void testHandleClose() { Set<User> team; try { datum.cInternalModel.handleClose(datum.containerId, datum.closedBy, datum.closedOn); } catch(final ParityException px) { fail(createFailMessage(px)); } final Container container = datum.cInternalModel.read(datum.containerId); asse...
public void testHandleClose() { List<User> team; try { datum.cInternalModel.handleClose(datum.containerId, datum.closedBy, datum.closedOn); } catch(final ParityException px) { fail(createFailMessage(px)); } final Container container = datum.cInternalModel.read(datum.containerId); ass...
1,112,799
public void testHandleClose() { Set<User> team; try { datum.cInternalModel.handleClose(datum.containerId, datum.closedBy, datum.closedOn); } catch(final ParityException px) { fail(createFailMessage(px)); } final Container container = datum.cInternalModel.read(datum.containerId); asse...
public void testHandleClose() { Set<User> team; try { datum.cInternalModel.handleClose(datum.containerId, datum.closedBy, datum.closedOn); } catch(final ParityException px) { fail(createFailMessage(px)); } final Container container = datum.cInternalModel.read(datum.containerId); asse...
1,112,800
protected void setUp() throws Exception { super.setUp(); }
protected void setUp() throws Exception {}
1,112,801
protected void tearDown() throws Exception { super.tearDown(); }
protected void tearDown() throws Exception {}
1,112,802
public Container read(final Long containerId) { synchronized(implLock) { return impl.read(containerId); } }
public Container read(final Long containerId) { synchronized(implLock) { return impl.read(containerId); } }
1,112,803
protected static void assertNotNull(final String assertion, final List<Container> containers) { assertNotNull(assertion + " [CONTAINERS IS NULL]", (Object) containers); for(final Container container : containers) { assertNotNull(assertion, container); } }
protected static void assertNotNull(final String assertion, final List<Container> containers) { assertNotNull(assertion + " [CONTAINERS IS NULL]", (Object) containers); for(final Container container : containers) { assertNotNull(assertion, container); } }
1,112,804
void addTeamMember(final UUID uniqueId, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); final ...
void addTeamMember(final UUID uniqueId, final List<JabberId> team, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifac...
1,112,805
void addTeamMember(final UUID uniqueId, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); final ...
void addTeamMember(final UUID uniqueId, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); final ...
1,112,806
void confirmArtifactReceipt(final JabberId userId, final UUID uniqueId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("ver...
void confirmArtifactReceipt(final JabberId userId, final UUID uniqueId, final Long versionId, final JabberId receivedBy, final Calendar receivedOn) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("ver...
1,112,807
void deleteDraft(final UUID uniqueId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); final Long artifactId = artifactModel.readId(uniqueId); final List<JabberId> team =...
void deleteDraft(final UUID uniqueId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); try { final InternalArtifactModel artifactModel = getArtifactModel(); final Long artifactId = artifactModel.readId(uniqueId); final List<JabberId> team = artifac...
1,112,808
List<DocumentVersion> readArchiveDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable(...
List<DocumentVersion> readArchiveDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable(...
1,112,809
List<DocumentVersion> readArchiveDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable(...
List<DocumentVersion> readArchiveDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable(...
1,112,810
List<DocumentVersion> readArchiveDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable(...
List<DocumentVersion> readArchiveDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable(...
1,112,811
List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("...
List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("...
1,112,812
List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("...
List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("...
1,112,813
List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("...
List<DocumentVersion> readBackupDocumentVersions( final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { logger.logApiId(); logger.logVariable("userId", userId); logger.logVariable("uniqueId", uniqueId); logger.logVariable("...
1,112,814
void removeTeamMember(final UUID uniqueId, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); fin...
void removeTeamMember(final UUID uniqueId, final List<JabberId> team, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArti...
1,112,815
void removeTeamMember(final UUID uniqueId, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); fin...
void removeTeamMember(final UUID uniqueId, final JabberId teamMemberId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); logger.logVariable("teamMemberId", teamMemberId); try { final InternalArtifactModel artifactModel = getInternalArtifactModel(); fin...
1,112,816
SessionModelEventDispatcher(final Workspace workspace, final InternalModelFactory modelFactory, final XMPPSession xmppSession) { super(); this.logger = new Log4JWrapper(); this.modelFactory = modelFactory; logger.logApiId(); xmppSession.clearListeners(); ...
SessionModelEventDispatcher(final Workspace workspace, final InternalModelFactory modelFactory, final XMPPSession xmppSession) { super(); this.logger = new Log4JWrapper(); this.modelFactory = modelFactory; xmppSession.clearListeners(); xmppSession.add...
1,112,817
private void initComponents() { final GridBagConstraints gbc = new GridBagConstraints(); setLayout(new GridBagLayout()); gbc.anchor = GridBagConstraints.NORTH; gbc.fill = GridBagConstraints.HORIZONTAL; gbc.gridy = 0; gbc.ipady = 28; gbc.weightx = 1.0; add(Disp...
private void initComponents() { final GridBagConstraints gbc = new GridBagConstraints(); setLayout(new GridBagLayout()); gbc.anchor = GridBagConstraints.NORTH; gbc.fill = GridBagConstraints.HORIZONTAL; gbc.gridy = 0; gbc.ipady = 28; gbc.weightx = 1.0; add(crea...
1,112,819
private void initComponents() { final GridBagConstraints gbc = new GridBagConstraints(); setLayout(new GridBagLayout()); gbc.anchor = GridBagConstraints.NORTH; gbc.fill = GridBagConstraints.HORIZONTAL; gbc.gridy = 0; gbc.ipady = 28; gbc.weightx = 1.0; add(Disp...
private void initComponents() { final GridBagConstraints gbc = new GridBagConstraints(); setLayout(new GridBagLayout()); gbc.anchor = GridBagConstraints.NORTH; gbc.fill = GridBagConstraints.HORIZONTAL; gbc.gridy = 0; gbc.ipady = 28; gbc.weightx = 1.0; add(Disp...
1,112,820
public void addListener(final XMPPContactListener xmppPresenceListener);
public void addListener(final XMPPArtifactListener xmppArtifactListener);
1,112,821
public void removeListener(final XMPPContactListener xmppPresenceListener);
public void removeListener(final XMPPArtifactListener xmppArtifactListener);
1,112,822
public static boolean sendToTarget(Message message, String senderCompID, String targetCompID) throws SessionNotFound { return sendToTarget(message, senderCompID, targetCompID, ""); }
public static boolean sendToTarget(Message message, String senderCompID, String targetCompID) throws SessionNotFound { return sendToTarget(message, senderCompID, targetCompID, ""); }
1,112,823
public static JCheckBoxMenuItem createCheckBox(final String text, final Integer mnemonic) { synchronized(singletonLock) { return singleton.doCreateCheckBox(text, mnemonic); } }
public static JCheckBoxMenuItem createCheckBox(final String text, final Integer mnemonic) { synchronized(singletonLock) { return singleton.doCreateCheckBox(text, mnemonic); } }
1,112,825
public void setString(String key, String value) { setString(DEFAULT_SESSION_ID, key, value); }
public void setString(String key, String value) { setString(DEFAULT_SESSION_ID, key, value); }
1,112,826
public ScreenLogFactory(boolean incoming, boolean outgoing, boolean events) { this(incoming, outgoing, events, true); }
public ScreenLogFactory(boolean incoming, boolean outgoing, boolean events) { this(incoming, outgoing, events, true); }
1,112,827
protected AbstractModelImpl(final Session session) { super(); this.configurationSql = new ConfigurationSql(); this.logger = new Log4JWrapper(); this.session = session; }
protected AbstractModelImpl(final Session session) { super(); this.configurationSql = new ConfigurationSql(); this.logger = new Log4JWrapper(getClass()); this.session = session; }
1,112,828
public double getBranchLength(int node);
public double getBranchLength(int node, boolean[] deleted);
1,112,829
private void orderByJLabelMouseClicked(java.awt.event.MouseEvent e) {//GEN-FIRST:event_orderByJLabelMouseClicked final javax.swing.JLabel jLabel = (javax.swing.JLabel) e.getSource(); popupDelegate.initialize(this, jLabel.getX(), jLabel.getY() + jLabel.getHeight(), jLabel.getWidth(), jLa...
private void orderByJLabelMouseClicked(java.awt.event.MouseEvent e) {//GEN-FIRST:event_orderByJLabelMouseClicked final javax.swing.JLabel jLabel = (javax.swing.JLabel) e.getSource(); popupDelegate.initialize(this, jLabel.getX(), jLabel.getY() + jLabel.getHeight(), jLabel.getWidth(), jLa...
1,112,830
public String getString(SessionID sessionID, String key) throws ConfigError, FieldConvertError { String value = getSessionProperties(sessionID).getProperty(key); if (value == null) { throw new ConfigError(key + " not defined"); } return value; }
public String getString(SessionID sessionID, String key) throws ConfigError, FieldConvertError { String value = getSessionProperties(sessionID).getProperty(key); if (value == null) { throw new ConfigError(key + " not defined"); } return value; }
1,112,831
public boolean getBool(SessionID sessionID, String key) throws ConfigError, FieldConvertError { try { return BooleanConverter.convert(getString(sessionID, key)); } catch (FieldConvertError e) { throw new ConfigError(e); } }
public boolean getBool(SessionID sessionID, String key) throws ConfigError, FieldConvertError { try { return BooleanConverter.convert(getString(sessionID, key)); } catch (FieldConvertError e) { throw new ConfigError(e); } }
1,112,832
SessionSchedule(int startDay, Calendar startTime, int endDay, Calendar endTime) { initialize(startDay, startTime, endDay, endTime); }
SessionSchedule(int startDay, Calendar startTime, int endDay, Calendar endTime) { initialize(startDay, startTime, endDay, endTime); }
1,112,833
ModelTestCaseHelper(final ModelTestCase modelTestCase) { super(); this.modelTestCase = modelTestCase; }
ModelTestCaseHelper(final ModelTestCase modelTestCase) { super(); }
1,112,834
public static ModelTestUser getJUnit() { return new ModelTestUser( "parity", "thinkparity.dyndns.org", 5223, "junit"); }
public static ModelTestUser getJUnit() { return new ModelTestUser( "parity", "parity", "thinkparity.dyndns.org", 5223, "junit"); }
1,112,835
public String getUsername() { return username; }
public String getUsername() { return username + "@" + serverHost; }
1,112,836
public void reloadDocument(final Long documentId, final Boolean remoteReload) { final DisplayDocument displayDocument = getDisplayDocument(documentId); // if the display document is null; we can assume the document has been // deleted (it's not longer being created by the provider); so we find // the document and ...
public void reloadDocument(final Long documentId, final Boolean remoteReload) { final DisplayDocument displayDocument = getDisplayDocument(documentId); // if the display document is null; we can assume the document has been // deleted (it's not longer being created by the provider); so we find // the document and ...
1,112,837
public void reloadDocument(final Long documentId, final Boolean remoteReload) { final DisplayDocument displayDocument = getDisplayDocument(documentId); // if the display document is null; we can assume the document has been // deleted (it's not longer being created by the provider); so we find // the document and ...
public void reloadDocument(final Long documentId, final Boolean remoteReload) { final DisplayDocument displayDocument = getDisplayDocument(documentId); // if the display document is null; we can assume the document has been // deleted (it's not longer being created by the provider); so we find // the document and ...
1,112,838
protected Avatar(final String l18nContext, final ScrollPolicy scrollPolicy, final Color background) { super(l18nContext, background); this.errors = new LinkedList<Throwable>(); this.scrollPolicy = scrollPolicy; }
protected Avatar(final String l18nContext, final ScrollPolicy scrollPolicy, final Color background) { super(l18nContext, background); this.errors = new LinkedList<Throwable>(); this.scrollPolicy = scrollPolicy; }
1,112,840
public FilterChain(final Filter<T> filter) { this.chain = new LinkedList<Filter<T>>(); addFilter(filter); }
public FilterChain(final Filter<T> filter) { this.chain = new LinkedList<Filter<T>>(); addFilter(filter); }
1,112,841
public static ListItem create(final Message message) { return new SystemMessageListItem(message); }
public static ListItem create(final Message message) { return new SystemMessageListItem(message); }
1,112,842
private Boolean isExpanded(final TabPanel tabPanel) { return expanded.get(tabPanel); }
private Boolean isExpanded(final TabPanel tabPanel) { return expanded.containsKey(tabPanel) ? expanded.get(tabPanel) : Boolean.FALSE; }
1,112,843
void syncContainer(final Long containerId, final Boolean remote) { debug(); final Container container = read(containerId); // remove the container from the panel list if (null == container) { removeContainerPanel(container); } else { if (containsContainerPane...
void syncContainer(final Long containerId, final Boolean remote) { debug(); final Container container = read(containerId); // remove the container from the panel list if (null == container) { removeContainerPanel(container); } else { if (containsContainerPane...
1,112,844
void syncContainer(final Long containerId, final Boolean remote) { debug(); final Container container = read(containerId); // remove the container from the panel list if (null == container) { removeContainerPanel(container); } else { if (containsContainerPane...
void syncContainer(final Long containerId, final Boolean remote) { debug(); final Container container = read(containerId); // remove the container from the panel list if (null == container) { removeContainerPanel(container); } else { if (containsContainerPane...
1,112,845
void syncContainer(final Long containerId, final Boolean remote) { debug(); final Container container = read(containerId); // remove the container from the panel list if (null == container) { removeContainerPanel(container); } else { if (containsContainerPane...
void syncContainer(final Long containerId, final Boolean remote) { debug(); final Container container = read(containerId); // remove the container from the panel list if (null == container) { removeContainerPanel(container); } else { if (containsContainerPane...
1,112,846
public void synchronize() { debug(); visiblePanels.clear(); for (final TabPanel containerPanel : containerPanels) { visiblePanels.add(containerPanel); if (isExpanded(containerPanel)) { visiblePanels.add(versionsPanels.get(containerPanel)); } ...
public void synchronize() { debug(); visiblePanels.clear(); for (final TabPanel containerPanel : containerPanels) { visiblePanels.add(containerPanel); if (isExpanded(containerPanel)) { visiblePanels.add(versionsPanels.get(containerPanel)); } ...
1,112,847
public void synchronize() { debug(); visiblePanels.clear(); for (final TabPanel containerPanel : containerPanels) { visiblePanels.add(containerPanel); if (isExpanded(containerPanel)) { visiblePanels.add(versionsPanels.get(containerPanel)); } ...
public void synchronize() { debug(); visiblePanels.clear(); for (final TabPanel containerPanel : containerPanels) { visiblePanels.add(containerPanel); if (isExpanded(containerPanel)) { visiblePanels.add(versionsPanels.get(containerPanel)); } ...
1,112,848