rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
ParameterNode(String name, Expr select, boolean global) | ParameterNode(QName name, Expr select, int type) | ParameterNode(String name, Expr select, boolean global) { this.name = name; this.select = select; this.global = global; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/ParameterNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java |
this.global = global; | this.type = type; | ParameterNode(String name, Expr select, boolean global) { this.name = name; this.select = select; this.global = global; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/ParameterNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java |
int precedence, double priority, QName mode) | int precedence, String priorityAttr, QName mode) | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
Test test = getNodeTest(match); if (test != null) | if (match instanceof Selector) { Selector selector = (Selector) match; Test[] tests = selector.getTests(); if (tests.length > 0) | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
if (nameTest.matchesAny() || nameTest.matchesAnyLocalName()) priority = -0.25d; | if (nameTest.matchesAny()) p = -0.25d; else if (nameTest.matchesAnyLocalName()) p = -0.20d; | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
priority = 0.0d; isAnyNode = false; | p = 0.0d; | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
priority = 0.0d; | p = 0.0d; | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
priority = -0.5d; isAnyNode = (nodeTypeTest.getNodeType() == 0); | p = -0.5d; a = (nodeTypeTest.getNodeType() == 0); | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
else isAnyNode = false; this.precedence = precedence; this.priority = priority; this.mode = mode; | } } this.priority = p; this.isAnyNode = a; | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
WithParam(String name, Expr select) | WithParam(QName name, Expr select) | WithParam(String name, Expr select) { this.name = name; this.select = select; content = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/WithParam.java/buggy/core/src/classpath/gnu/gnu/xml/transform/WithParam.java |
public abstract void setColorModel(ColorModel model); | void setColorModel(ColorModel model); | public abstract void setColorModel(ColorModel model); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageConsumer.java/buggy/core/src/classpath/java/java/awt/image/ImageConsumer.java |
public abstract void setDimensions(int width, int height); | void setDimensions(int width, int height); | public abstract void setDimensions(int width, int height); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageConsumer.java/buggy/core/src/classpath/java/java/awt/image/ImageConsumer.java |
public abstract void setHints(int flags); | void setHints(int flags); | public abstract void setHints(int flags); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageConsumer.java/buggy/core/src/classpath/java/java/awt/image/ImageConsumer.java |
public abstract void setPixels(int x, int y, int w, int h, | void setPixels(int x, int y, int w, int h, | public abstract void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageConsumer.java/buggy/core/src/classpath/java/java/awt/image/ImageConsumer.java |
public abstract void setProperties(Hashtable props); | void setProperties(Hashtable props); | public abstract void setProperties(Hashtable props); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ImageConsumer.java/buggy/core/src/classpath/java/java/awt/image/ImageConsumer.java |
notBefore = (Date) val.getValue(); | notBefore = (Date) val.getValueAs (DER.GENERALIZED_TIME); | public PrivateKeyUsagePeriod(final byte[] encoded) throws IOException { super(encoded); DERReader der = new DERReader(encoded); DERValue val = der.read(); if (!val.isConstructed()) throw new IOException("malformed PrivateKeyUsagePeriod"); if (val.getLength() > 0) val = der.read(); if (val... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0fd26f94d7f7cd6891081d4d2ee780a53b932ec/PrivateKeyUsagePeriod.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java |
notAfter = (Date) val.getValue(); | notAfter = (Date) val.getValueAs (DER.GENERALIZED_TIME); | public PrivateKeyUsagePeriod(final byte[] encoded) throws IOException { super(encoded); DERReader der = new DERReader(encoded); DERValue val = der.read(); if (!val.isConstructed()) throw new IOException("malformed PrivateKeyUsagePeriod"); if (val.getLength() > 0) val = der.read(); if (val... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0fd26f94d7f7cd6891081d4d2ee780a53b932ec/PrivateKeyUsagePeriod.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java |
public synchronized void addPropertyChangeListener(PropertyChangeListener listener) | public synchronized void addPropertyChangeListener( PropertyChangeListener listener) | public synchronized void addPropertyChangeListener(PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
public synchronized void removePropertyChangeListener(PropertyChangeListener listener) | public synchronized void removePropertyChangeListener( PropertyChangeListener listener) | public synchronized void removePropertyChangeListener(PropertyChangeListener listener) { changeSupport.removePropertyChangeListener(listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
changeSupport.firePropertyChange("cellEditor", oldValue, cellEditor); } | public void setCellEditor(TableCellEditor cellEditor) { this.cellEditor = cellEditor; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java | |
firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, cellRenderer); | changeSupport.firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, cellRenderer); | public void setCellRenderer(TableCellRenderer renderer) { if (cellRenderer == renderer) return; TableCellRenderer oldRenderer = cellRenderer; cellRenderer = renderer; firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, cellRenderer); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, headerRenderer); | changeSupport.firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, headerRenderer); | public void setHeaderRenderer(TableCellRenderer renderer) { if (headerRenderer == renderer) return; TableCellRenderer oldRenderer = headerRenderer; headerRenderer = renderer; firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, headerRenderer); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); | changeSupport.firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); | public void setHeaderValue(Object headerValue) { if (this.headerValue == headerValue) return; Object oldValue = this.headerValue; this.headerValue = headerValue; firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
changeSupport.firePropertyChange("identifier", oldValue, identifier); } | public void setIdentifier(Object identifier) { this.identifier = identifier; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java | |
setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); | changeSupport.firePropertyChange("maxWidth", oldValue, maxWidth); } | public void setMaxWidth(int maxWidth) { this.maxWidth = maxWidth; setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); | changeSupport.firePropertyChange("minWidth", oldValue, minWidth); } | public void setMinWidth(int minWidth) { this.minWidth = minWidth; setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
changeSupport.firePropertyChange("modelIndex", oldValue, modelIndex); } | public void setModelIndex(int modelIndex) { this.modelIndex = modelIndex; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java | |
firePropertyChange("preferredWidth", oldPrefWidth, this.preferredWidth); | changeSupport.firePropertyChange("preferredWidth", oldPrefWidth, this.preferredWidth); | public void setPreferredWidth(int preferredWidth) { int oldPrefWidth = this.preferredWidth; if (preferredWidth < minWidth) this.preferredWidth = minWidth; else if (preferredWidth > maxWidth) this.preferredWidth = maxWidth; else this.preferredWidth = preferredWidth; firePropertyChange("p... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
changeSupport.firePropertyChange("isResizable", !this.isResizable, isResizable); } | public void setResizable(boolean isResizable) { this.isResizable = isResizable; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java | |
firePropertyChange("width", oldWidth, width); | changeSupport.firePropertyChange("width", oldWidth, width); | public void setWidth(int newWidth) { int oldWidth = width; if (newWidth < minWidth) width = minWidth; else if (newWidth > maxWidth) width = maxWidth; else width = newWidth; if (width == oldWidth) return; // We do have a constant field COLUMN_WIDTH_PROPERTY, // however, tests ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java |
if (headerRenderer == null) return; Component c = headerRenderer.getTableCellRendererComponent(null, getHeaderValue(), false, false, 0, 0); Dimension min = c.getMinimumSize(); Dimension max = c.getMaximumSize(); Dimension pref = c.getPreferredSize(); setMinWidth(min.width); setMaxWidth(max.width); setPreferredWidth(pre... | public void sizeWidthToFit() { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/TableColumn.java/clean/core/src/classpath/javax/javax/swing/table/TableColumn.java | |
protected AccessibleJRadioButtonMenuItem(JRadioButtonMenuItem component) | protected AccessibleJRadioButtonMenuItem() | protected AccessibleJRadioButtonMenuItem(JRadioButtonMenuItem component) { super(component); // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JRadioButtonMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JRadioButtonMenuItem.java |
super(component); | protected AccessibleJRadioButtonMenuItem(JRadioButtonMenuItem component) { super(component); // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JRadioButtonMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JRadioButtonMenuItem.java | |
accessibleContext = new AccessibleJRadioButtonMenuItem(this); | accessibleContext = new AccessibleJRadioButtonMenuItem(); | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJRadioButtonMenuItem(this); return accessibleContext; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JRadioButtonMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JRadioButtonMenuItem.java |
AccessibleJMenuItem(JMenuItem component) | AccessibleJMenuItem() | AccessibleJMenuItem(JMenuItem component) { super(component); // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JMenuItem.java |
super(component); | AccessibleJMenuItem(JMenuItem component) { super(component); // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JMenuItem.java | |
public ColorSelectionModel getColorSelectionModel() { return null; | public ColorSelectionModel getColorSelectionModel() { if (chooser != null) return chooser.getSelectionModel(); return null; | public ColorSelectionModel getColorSelectionModel() { return null; // TODO } // getColorSelectionModel() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/AbstractColorChooserPanel.java/buggy/core/src/classpath/javax/javax/swing/colorchooser/AbstractColorChooserPanel.java |
public AbstractColorChooserPanel() { | public AbstractColorChooserPanel() { | public AbstractColorChooserPanel() { // TODO } // AbstractColorChooserPanel() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/AbstractColorChooserPanel.java/buggy/core/src/classpath/javax/javax/swing/colorchooser/AbstractColorChooserPanel.java |
public JSlider(int orientation, int minimum, int maximum, int value) | public JSlider() | public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java |
sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = orientation; changeListener = createChangeListener(); sliderModel.addChangeListener(change... | this(HORIZONTAL, 0, 100, 50); | public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java |
public SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) | public SpinnerNumberModel() | public SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) { this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/SpinnerNumberModel.java/buggy/core/src/classpath/javax/javax/swing/SpinnerNumberModel.java |
this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); | this(new Integer(0), null, null, new Integer(1)); | public SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) { this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/SpinnerNumberModel.java/buggy/core/src/classpath/javax/javax/swing/SpinnerNumberModel.java |
public JSpinner(SpinnerModel model) | public JSpinner() | public JSpinner(SpinnerModel model) { this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/JSpinner.java/buggy/core/src/classpath/javax/javax/swing/JSpinner.java |
this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); | this(new SpinnerNumberModel()); | public JSpinner(SpinnerModel model) { this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/JSpinner.java/buggy/core/src/classpath/javax/javax/swing/JSpinner.java |
public void paint(Graphics graphics) { | public void paint(Graphics graphics) { super.paint(graphics); | public void paint(Graphics graphics) { // TODO } // paint() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/AbstractColorChooserPanel.java/buggy/core/src/classpath/javax/javax/swing/colorchooser/AbstractColorChooserPanel.java |
protected Color getColorFromModel() { return null; | protected Color getColorFromModel() { if (chooser != null) return chooser.getColor(); return null; | protected Color getColorFromModel() { return null; // TODO } // getColorFromModel() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/AbstractColorChooserPanel.java/buggy/core/src/classpath/javax/javax/swing/colorchooser/AbstractColorChooserPanel.java |
public static Integer getInteger(String nm, Integer def) | public static Integer getInteger(String nm) | public static Integer getInteger(String nm, Integer def) { if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/217dae2077114aeb271c90f647f5baacd1bf28b4/Integer.java/buggy/core/src/classpath/5.0/java/lang/Integer.java |
if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } | return getInteger(nm, null); | public static Integer getInteger(String nm, Integer def) { if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/217dae2077114aeb271c90f647f5baacd1bf28b4/Integer.java/buggy/core/src/classpath/5.0/java/lang/Integer.java |
metrics = g.getFontMetrics(); | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/PlainView.java/buggy/core/src/classpath/javax/javax/swing/text/PlainView.java | |
drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); | int startOffset = line.getStartOffset(); int endOffset = line.getEndOffset(); if (selectionStart <= startOffset) if (selectionEnd <= startOffset) { drawUnselectedText(g, x, y, startOffset, endOffset); } else if (selectionEnd <= endOffset) { x = drawSelectedText(g, x, y, startOffset, selectionEnd); drawUnselectedTe... | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/PlainView.java/buggy/core/src/classpath/javax/javax/swing/text/PlainView.java |
return Utilities.drawTabbedText(segment, x, y, g, this, 0); | return Utilities.drawTabbedText(segment, x, y, g, this, segment.offset); | protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(selectedColor); Segment segment = getLineBuffer(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/PlainView.java/buggy/core/src/classpath/javax/javax/swing/text/PlainView.java |
for (int i = 0; i < root.getElementCount(); i++) | int count = root.getElementCount(); for (int i = 0; i < count; i++) | public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/PlainView.java/buggy/core/src/classpath/javax/javax/swing/text/PlainView.java |
y += metrics.getHeight(); | y += height; | public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/PlainView.java/buggy/core/src/classpath/javax/javax/swing/text/PlainView.java |
charsWidth(char buf[], int offset, int len) { | public int charsWidth(char[] buf, int offset, int len) { | charsWidth(char buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width += charWidth(buf[i]); return(total_width);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/31d4d31512a3208b0fdf4bd8c20227ddb47c6f5a/FontMetrics.java/buggy/core/src/classpath/java/java/awt/FontMetrics.java |
return(total_width); } | return total_width; } | charsWidth(char buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width += charWidth(buf[i]); return(total_width);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/31d4d31512a3208b0fdf4bd8c20227ddb47c6f5a/FontMetrics.java/buggy/core/src/classpath/java/java/awt/FontMetrics.java |
if (len > 0 && (c == '\t' || c == '\n')) | if (c == '\t' || c == '\n') | public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/Utilities.java/buggy/core/src/classpath/javax/javax/swing/text/Utilities.java |
} | public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/Utilities.java/buggy/core/src/classpath/javax/javax/swing/text/Utilities.java | |
charWidth(char ch) { return(1); } | public int charWidth(int ch) { return charWidth((char) ch); } | charWidth(char ch){ return(1);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/31d4d31512a3208b0fdf4bd8c20227ddb47c6f5a/FontMetrics.java/buggy/core/src/classpath/java/java/awt/FontMetrics.java |
if (!e.isTemporary() && textComponent.getSelectionStart() != textComponent.getSelectionEnd()) { SecurityManager sm = System.getSecurityManager(); try { if (sm != null) sm.checkSystemClipboardAccess(); Clipboard cb = Toolkit.getDefaultToolkit().getSystemSelection(); if (cb != null) { StringSelection selection = n... | public void focusLost(FocusEvent e) { textComponent.repaint(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicTextUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java | |
return ("label=" + getLabel() + ",actionCommand=" + getActionCommand() + "," + super.paramString()); | return getName () + "," + getX () + "," + getY () + "," + getWidth () + "x" + getHeight () + ",label=" + getLabel (); | paramString(){ return ("label=" + getLabel() + ",actionCommand=" + getActionCommand() + "," + super.paramString());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Button.java/clean/core/src/classpath/java/java/awt/Button.java |
public Double() { | public Double() { | public Double() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public Rectangle2D getBounds2D() { | public Rectangle2D getBounds2D() { | public Rectangle2D getBounds2D() { return new Rectangle2D.Double(x, y, width, height); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getHeight() { | public double getHeight() { | public double getHeight() { return height; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getWidth() { | public double getWidth() { | public double getWidth() { return width; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getX() { | public double getX() { | public double getX() { return x; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getY() { | public double getY() { | public double getY() { return y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public boolean isEmpty() { | public boolean isEmpty() { | public boolean isEmpty() { return height <= 0 || width <= 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public void setFrame(double x, double y, double w, double h) { | public void setFrame(double x, double y, double w, double h) { | public void setFrame(double x, double y, double w, double h) { this.x = x; this.y = y; height = h; width = w; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public Float() { | public Float() { | public Float() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public Rectangle2D getBounds2D() { | public Rectangle2D getBounds2D() { | public Rectangle2D getBounds2D() { return new Rectangle2D.Float(x, y, width, height); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getHeight() { | public double getHeight() { | public double getHeight() { return height; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getWidth() { | public double getWidth() { | public double getWidth() { return width; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getX() { | public double getX() { | public double getX() { return x; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public double getY() { | public double getY() { | public double getY() { return y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public boolean isEmpty() { | public boolean isEmpty() { | public boolean isEmpty() { return height <= 0 || width <= 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public void setFrame(float x, float y, float w, float h) { | public void setFrame(float x, float y, float w, float h) { | public void setFrame(float x, float y, float w, float h) { this.x = x; this.y = y; height = h; width = w; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
protected Ellipse2D() { | protected Ellipse2D() { | protected Ellipse2D() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public boolean contains(double x, double y) { | public boolean contains(double x, double y) { | public boolean contains(double x, double y) { double rx = getWidth() / 2; double ry = getHeight() / 2; double tx = (x - getCenterX()) / rx; double ty = (y - getCenterY()) / ry; return tx * tx + ty * ty <= 1.0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public PathIterator getPathIterator(AffineTransform at) { final GeneralPath path = new GeneralPath(GeneralPath.WIND_NON_ZERO, 32); final float x = (float)getX(); final float y = (float)getY(); final float w = (float)getWidth(); final float h = (float)getHeight(); final float hw = w / 2; final float hh = h / 2; /* final... | public PathIterator getPathIterator(AffineTransform at) { return new Arc2D.ArcIterator(this, at); | public PathIterator getPathIterator(AffineTransform at) { final GeneralPath path = new GeneralPath(GeneralPath.WIND_NON_ZERO, 32); final float x = (float)getX(); final float y = (float)getY(); final float w = (float)getWidth(); final float h = (float)getHeight(); final float hw = w / 2; final float hh = h / 2; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
public boolean intersects(double x, double y, double w, double h) { | public boolean intersects(double x, double y, double w, double h) { | public boolean intersects(double x, double y, double w, double h) { // fixme return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Ellipse2D.java/clean/core/src/classpath/java/java/awt/geom/Ellipse2D.java |
rex.initCause(ex); | rex.detail = ex; | public RemoteException mapSystemException(SystemException ex) { RemoteException rex; String status; switch (ex.completed.value()) { case CompletionStatus._COMPLETED_MAYBE: status = "Maybe"; break; case CompletionStatus._COMPLETED_NO: status = "No"; break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java |
rex.initCause(ex); | rex.detail = ex; | public RemoteException mapSystemException(SystemException ex) { RemoteException rex; String status; switch (ex.completed.value()) { case CompletionStatus._COMPLETED_MAYBE: status = "Maybe"; break; case CompletionStatus._COMPLETED_NO: status = "No"; break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java |
rex.initCause(ex); | rex.detail = ex; | public RemoteException mapSystemException(SystemException ex) { RemoteException rex; String status; switch (ex.completed.value()) { case CompletionStatus._COMPLETED_MAYBE: status = "Maybe"; break; case CompletionStatus._COMPLETED_NO: status = "No"; break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java |
rex.initCause(ex); | rex.detail = ex; | public RemoteException mapSystemException(SystemException ex) { RemoteException rex; String status; switch (ex.completed.value()) { case CompletionStatus._COMPLETED_MAYBE: status = "Maybe"; break; case CompletionStatus._COMPLETED_NO: status = "No"; break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java |
rex.initCause(ex); | rex.detail = ex; | public RemoteException mapSystemException(SystemException ex) { RemoteException rex; String status; switch (ex.completed.value()) { case CompletionStatus._COMPLETED_MAYBE: status = "Maybe"; break; case CompletionStatus._COMPLETED_NO: status = "No"; break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java |
public static Class loadClass (String codebases, String name) | public static Class loadClass (String name) | public static Class loadClass (String codebases, String name) throws MalformedURLException, ClassNotFoundException { ClassLoader loader = Thread.currentThread().getContextClassLoader(); //try context class loader first try { return loader.loadClass (name); } catch (ClassNotFoundExcep... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/RMIClassLoader.java/buggy/core/src/classpath/java/java/rmi/server/RMIClassLoader.java |
ClassLoader loader = Thread.currentThread().getContextClassLoader(); try { return loader.loadClass (name); } catch (ClassNotFoundException e) { } if (codebases.length() == 0) { loader = defaultLoader; } else { loader = getClassLoader(codebases); } if (loader == null) { throw new ClassNotFoundException ("Could not... | return loadClass ("", name); | public static Class loadClass (String codebases, String name) throws MalformedURLException, ClassNotFoundException { ClassLoader loader = Thread.currentThread().getContextClassLoader(); //try context class loader first try { return loader.loadClass (name); } catch (ClassNotFoundExcep... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/RMIClassLoader.java/buggy/core/src/classpath/java/java/rmi/server/RMIClassLoader.java |
public AccessException(String s, Exception e) | public AccessException(String s) | public AccessException(String s, Exception e) { super(s, e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/AccessException.java/buggy/core/src/classpath/java/java/rmi/AccessException.java |
super(s, e); | super(s); | public AccessException(String s, Exception e) { super(s, e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/AccessException.java/buggy/core/src/classpath/java/java/rmi/AccessException.java |
public activeObjectMap.Obj findObject(org.omg.CORBA.Object object) | public AOM.Obj findObject(org.omg.CORBA.Object object) | public activeObjectMap.Obj findObject(org.omg.CORBA.Object object) { activeObjectMap.Obj h = aom.findObject(object); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findObject(object); if (h != null) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuPOA.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/gnuPOA.java |
activeObjectMap.Obj h = aom.findObject(object); | AOM.Obj h = aom.findObject(object); | public activeObjectMap.Obj findObject(org.omg.CORBA.Object object) { activeObjectMap.Obj h = aom.findObject(object); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findObject(object); if (h != null) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuPOA.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/gnuPOA.java |
int nmax = next.getMaximumLength(); if (nmax < Integer.MAX_VALUE && maximumLength < Integer.MAX_VALUE) maximumLength += nmax; else maximumLength = Integer.MAX_VALUE; | private void addToken(REToken next) { if (next == null) return; minimumLength += next.getMinimumLength(); if (firstToken == null) { lastToken = firstToken = next; } else { // if chain returns false, it "rejected" the token due to // an optimization, and next was combined with lastToken if (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java | |
if (match(input, mymatch)) { REMatch longest = mymatch; | if (re.match(input, mymatch)) { REMatch best = mymatch; /* | REMatch getMatchImpl(CharIndexed input, int anchor, int eflags, StringBuffer buffer) { // Create a new REMatch to hold results REMatch mymatch = new REMatch(numSubs, anchor, eflags); do { // Optimization: check if anchor + minimumLength > length if (minimumLength == 0 || input.charAt(minimumLength-... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java |
if (mymatch.index > longest.index) { longest = mymatch; | if (mymatch.index > best.index) { best = mymatch; | REMatch getMatchImpl(CharIndexed input, int anchor, int eflags, StringBuffer buffer) { // Create a new REMatch to hold results REMatch mymatch = new REMatch(numSubs, anchor, eflags); do { // Optimization: check if anchor + minimumLength > length if (minimumLength == 0 || input.charAt(minimumLength-... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java |
longest.end[0] = longest.index; longest.finish(input); return longest; | */ best.end[0] = best.index; best.finish(input); return best; | REMatch getMatchImpl(CharIndexed input, int anchor, int eflags, StringBuffer buffer) { // Create a new REMatch to hold results REMatch mymatch = new REMatch(numSubs, anchor, eflags); do { // Optimization: check if anchor + minimumLength > length if (minimumLength == 0 || input.charAt(minimumLength-... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java |
REMatch getMatchImpl(CharIndexed input, int anchor, int eflags, StringBuffer buffer) { // Create a new REMatch to hold results REMatch mymatch = new REMatch(numSubs, anchor, eflags); do { // Optimization: check if anchor + minimumLength > length if (minimumLength == 0 || input.charAt(minimumLength-... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java | ||
RE theBranch = new RE(firstToken, lastToken, numSubs, subIndex, minimumLength); | RE theBranch = new RE(firstToken, lastToken, numSubs, subIndex, minimumLength, maximumLength); | protected void initialize(Object patternObj, int cflags, RESyntax syntax, int myIndex, int nextSub) throws REException { char[] pattern; if (patternObj instanceof String) { pattern = ((String) patternObj).toCharArray(); } else if (patternObj instanceof char[]) { pattern = (char[]) patternObj; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java |
protected void initialize(Object patternObj, int cflags, RESyntax syntax, int myIndex, int nextSub) throws REException { char[] pattern; if (patternObj instanceof String) { pattern = ((String) patternObj).toCharArray(); } else if (patternObj instanceof char[]) { pattern = (char[]) patternObj; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java | ||
protected void initialize(Object patternObj, int cflags, RESyntax syntax, int myIndex, int nextSub) throws REException { char[] pattern; if (patternObj instanceof String) { pattern = ((String) patternObj).toCharArray(); } else if (patternObj instanceof char[]) { pattern = (char[]) patternObj; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java | ||
if (currentToken instanceof RETokenRepeated) | if (currentToken instanceof RETokenRepeated) | protected void initialize(Object patternObj, int cflags, RESyntax syntax, int myIndex, int nextSub) throws REException { char[] pattern; if (patternObj instanceof String) { pattern = ((String) patternObj).toCharArray(); } else if (patternObj instanceof char[]) { pattern = (char[]) patternObj; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.