rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
accept.setMnemonic(getApproveButtonMnemonic(filechooser)); | accept.setMnemonic(getApproveButtonMnemonic(filechooser)); | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
{ if (filechooser.getControlButtonsAreShown()) { GridBagConstraints c = new GridBagConstraints(); c.gridy = 1; bottomPanel.add(filters, c); | { if (filechooser.getControlButtonsAreShown()) { GridBagConstraints c = new GridBagConstraints(); c.gridy = 1; bottomPanel.add(filters, c); | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
c.fill = GridBagConstraints.BOTH; c.gridy = 2; c.anchor = GridBagConstraints.EAST; bottomPanel.add(closePanel, c); bottomPanel.revalidate(); bottomPanel.repaint(); bottomPanel.doLayout(); } else bottomPanel.remove(closePanel); } | c.fill = GridBagConstraints.BOTH; c.gridy = 2; c.anchor = GridBagConstraints.EAST; bottomPanel.add(closePanel, c); bottomPanel.revalidate(); bottomPanel.repaint(); bottomPanel.doLayout(); } else bottomPanel.remove(closePanel); } | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
{ if (filechooser.isAcceptAllFileFilterUsed()) filechooser.addChoosableFileFilter(getAcceptAllFileFilter(filechooser)); else filechooser.removeChoosableFileFilter(getAcceptAllFileFilter(filechooser)); } | { if (filechooser.isAcceptAllFileFilterUsed()) filechooser.addChoosableFileFilter(getAcceptAllFileFilter(filechooser)); else filechooser.removeChoosableFileFilter(getAcceptAllFileFilter(filechooser)); } | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
{ JComponent old = (JComponent) e.getOldValue(); if (old != null) getAccessoryPanel().remove(old); JComponent newval = (JComponent) e.getNewValue(); if (newval != null) getAccessoryPanel().add(newval); } if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) | { JComponent old = (JComponent) e.getOldValue(); if (old != null) getAccessoryPanel().remove(old); JComponent newval = (JComponent) e.getNewValue(); if (newval != null) getAccessoryPanel().add(newval); } if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
rescanCurrentDirectory(filechooser); | rescanCurrentDirectory(filechooser); | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
filechooser.revalidate(); filechooser.repaint(); } | filechooser.revalidate(); filechooser.repaint(); } | public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
parents.setRenderer(new CBLabelRenderer()); | parents.setRenderer(new BasicComboBoxRenderer()); | public void installComponents(JFileChooser fc) { JLabel look = new JLabel("Look In:"); parents = new JComboBox(); parents.setRenderer(new CBLabelRenderer()); boxEntries(); look.setLabelFor(parents); JPanel parentsPanel = new JPanel(); parentsPanel.add(look); parentsPanel.add(parents); JPan... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
topPanel.setLayout(new java.awt.FlowLayout()); | parentsPanel.add(buttonPanel); topPanel.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT, 0, 0)); | public void installComponents(JFileChooser fc) { JLabel look = new JLabel("Look In:"); parents = new JComboBox(); parents.setRenderer(new CBLabelRenderer()); boxEntries(); look.setLabelFor(parents); JPanel parentsPanel = new JPanel(); parentsPanel.add(look); parentsPanel.add(parents); JPan... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
topPanel.add(buttonPanel); | public void installComponents(JFileChooser fc) { JLabel look = new JLabel("Look In:"); parents = new JComboBox(); parents.setRenderer(new CBLabelRenderer()); boxEntries(); look.setLabelFor(parents); JPanel parentsPanel = new JPanel(); parentsPanel.add(look); parentsPanel.add(parents); JPan... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java | |
JFileChooser fc = (JFileChooser) c; fc.resetChoosableFileFilters(); createModel(); clearIconCache(); installDefaults(fc); installComponents(fc); installListeners(fc); | JFileChooser fc = (JFileChooser) c; fc.resetChoosableFileFilters(); createModel(); clearIconCache(); installDefaults(fc); installComponents(fc); installListeners(fc); | public void installUI(JComponent c) { if (c instanceof JFileChooser) { JFileChooser fc = (JFileChooser) c; fc.resetChoosableFileFilters(); createModel(); clearIconCache(); installDefaults(fc); installComponents(fc); installListeners(fc); Object path = filechooser.getCurrentDirectory(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java |
m.minor = Minor.UserException; | public static StructMember read(InputStream istream) { try { StructMember value = new StructMember(); value.name = istream.read_string(); value.type = TypeCodeHelper.read(istream); value.type_def = IDLTypeHelper.read(istream); return value; } catch (UserException ex... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/StructMemberHelper.java/clean/core/src/classpath/org/org/omg/CORBA/StructMemberHelper.java | |
m.minor = Minor.UserException; | public static void write(OutputStream ostream, StructMember value) { try { ostream.write_string(value.name); TypeCodeHelper.write(ostream, value.type); IDLTypeHelper.write(ostream, value.type_def); } catch (UserException ex) { MARSHAL m = new MARSHAL(); m.initC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/StructMemberHelper.java/clean/core/src/classpath/org/org/omg/CORBA/StructMemberHelper.java | |
char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); t.getCaret().setDot(Math.min(t.getCaret().getDot(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20f5673386408fafdc5023d9aa75062c49b110c6/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | |
JTextComponent t = getTextComponent(event); t.replaceSelection("\n"); | public void actionPerformed(ActionEvent event) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20f5673386408fafdc5023d9aa75062c49b110c6/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | |
"Tree.selectionBorder", new BorderUIResource.LineBorderUIResource(new Color(102, 102, 153)), "Tree.nonSelectionBorder", new BorderUIResource.LineBorderUIResource(Color.white), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", new ColorUIResource(getControl()), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", new ColorUIResource(getControlDark... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
bad.minor = Minor.Any; | public static ForwardRequest extract(Any any) { try { return ((ForwardRequestHolder) any.extract_Streamable()).value; } catch (ClassCastException cex) { BAD_OPERATION bad = new BAD_OPERATION("ForwardRequest expected"); bad.initCause(cex); throw bad; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/ForwardRequestHelper.java/clean/core/src/classpath/gnu/gnu/CORBA/ForwardRequestHelper.java | |
else { LeafElement el1 = (LeafElement) rootElement.getElement(i1); el1.end -= len; } for (int i = rootElement.getElementIndex(p0) + 1; i < rootElement.getElementCount(); i++) { LeafElement el = (LeafElement) rootElement.getElement(i); el.start -= len; el.end -= len; } | protected void removeUpdate(DefaultDocumentEvent event) { super.removeUpdate(event); int p0 = event.getOffset(); int len = event.getLength(); int p1 = len + p0; // check if we must collapse some elements int i1 = rootElement.getElementIndex(p0); int i2 = rootElement.getElementIndex(p1); if (i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/PlainDocument.java/clean/core/src/classpath/javax/javax/swing/text/PlainDocument.java | |
setVisible(false); | public CellRendererPane() { // Nothing to do here. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java | |
System.out.println(" boot options received " + bootEvent.getNewSessionOptions()); | log.info(" boot options received " + bootEvent.getNewSessionOptions()); | public void bootOptionsReceived(BootEvent bootEvent) { System.out.println(" boot options received " + bootEvent.getNewSessionOptions()); // If the options are not equal to the string 'null' then we have // boot options if (!bootEvent.getNewSessionOptions().equals("null")) { // check if... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
System.out.println("Information Message: Can not find scripting support" | log.warn("Information Message: Can not find scripting support" | private void initScripting() { try { Class.forName("org.tn5250j.scripting.JPythonInterpreterDriver"); } catch (java.lang.NoClassDefFoundError ncdfe) { System.out.println("Information Message: Can not find scripting support" + " files, scripting will not be ava... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
System.out.println("Information Message: Can not find scripting support" | log.warn("Information Message: Can not find scripting support" | private void initScripting() { try { Class.forName("org.tn5250j.scripting.JPythonInterpreterDriver"); } catch (java.lang.NoClassDefFoundError ncdfe) { System.out.println("Information Message: Can not find scripting support" + " files, scripting will not be ava... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
divider = createDefaultDivider(); | protected void installDefaults() { resetLayoutManager(); divider = createDefaultDivider(); nonContinuousLayoutDivider = createDefaultNonContinuousLayoutDivider(); splitPane.add(divider, JSplitPane.DIVIDER); // There is no need to add the nonContinuousLayoutDivider UIDefaults defaults = UIManager.ge... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20f5673386408fafdc5023d9aa75062c49b110c6/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java | |
int divLoc = splitPane.getDividerLocation(); int valLoc = validLocation(divLoc); if (divLoc != valLoc) splitPane.setDividerLocation(valLoc); | public void paint(Graphics g, JComponent jc) { // Make sure that the location is valid int divLoc = splitPane.getDividerLocation(); int valLoc = validLocation(divLoc); if (divLoc != valLoc) splitPane.setDividerLocation(valLoc); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20f5673386408fafdc5023d9aa75062c49b110c6/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java | |
layoutManager.invalidateLayout(splitPane); | getSplitPane().setLayout(layoutManager); | protected void resetLayoutManager() { if (getOrientation() == JSplitPane.HORIZONTAL_SPLIT) layoutManager = new BasicHorizontalLayoutManager(); else layoutManager = new BasicVerticalLayoutManager(); layoutManager.invalidateLayout(splitPane); layoutManager.updateComponents(); getSplitPane().se... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20f5673386408fafdc5023d9aa75062c49b110c6/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java |
getSplitPane().setLayout(layoutManager); | protected void resetLayoutManager() { if (getOrientation() == JSplitPane.HORIZONTAL_SPLIT) layoutManager = new BasicHorizontalLayoutManager(); else layoutManager = new BasicVerticalLayoutManager(); layoutManager.invalidateLayout(splitPane); layoutManager.updateComponents(); getSplitPane().se... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20f5673386408fafdc5023d9aa75062c49b110c6/BasicSplitPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneUI.java | |
if (!debug) { return; } | protected final void printLabels(NativeStream os, VmType[] bootClasses, VmStatics statics) throws BuildException, UnresolvedObjectRefException { try { int unresolvedCount = 0; final PrintWriter w = new PrintWriter(new FileWriter(listFile)); // Print a li... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7d2da37181d615e14a64377ab2be3e2b2580c371/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | |
public Data(char[] text, char[] color, char[] extended) { | public Data(char[] text, char[] attr, char[] color, char[] extended, char[] graphic) { | public Data(char[] text, char[] color, char[] extended) { this.text = text; this.color = color; this.extended = extended; this.graphic = null; this.field = null; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/GuiGraphicBuffer.java/clean/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java |
this.graphic = null; | this.graphic = graphic; this.attr = attr; | public Data(char[] text, char[] color, char[] extended) { this.text = text; this.color = color; this.extended = extended; this.graphic = null; this.field = null; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/GuiGraphicBuffer.java/clean/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java |
int attr = planes.getCharAttr(s.getPos(row,col)); | int attr = updateRect.attr[pos]; | public final void drawChar(Graphics2D g, int pos, int row, int col) { Screen5250 s = screen; ScreenPlanes planes = s.planes;// int attr = planes.getCharAttr(pos); int attr = planes.getCharAttr(s.getPos(row,col)); sChar[0] = updateRect.text[pos]; setDrawAttr(pos); boolean attributeP... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/GuiGraphicBuffer.java/clean/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java |
int fmHeight = rowHeight; int fmWidth = columnWidth; | public void drawCursor() {// public void drawCursor(int row, int col) {// int fmWidth, int fmHeight,// boolean insertMode, int crossHair,// boolean rulerFixed,// int cursorSize, Color colorCursor,// ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/GuiGraphicBuffer.java/clean/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java | |
public void onOIAChanged(ScreenOIA changedOIA) { switch (changedOIA.getLevel()) { case ScreenOIA.OIA_LEVEL_KEYS_BUFFERED: if (changedOIA.isKeysBuffered()) { Graphics2D g2d = getWritingArea(screen.font); float Y = (rowHeight * (screen.getRows() + 2)) ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/GuiGraphicBuffer.java/clean/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java | ||
if (dir == null) | if (dir == null || dir.listFiles() == null) | public File[] getFiles(File dir, boolean useFileHiding) { if (dir == null) return null; File[] files = dir.listFiles(); if (! useFileHiding) return files; ArrayList trim = new ArrayList(); for (int i = 0; i < files.length; i++) if (! files[i].isHidden()) trim.add(files[i]); File[] va... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/FileSystemView.java/clean/core/src/classpath/javax/javax/swing/filechooser/FileSystemView.java |
if (dtl != null) throw new TooManyListenersException (); | public void addDropTargetListener (DropTargetListener dtl) throws TooManyListenersException { if (dtl != null) throw new TooManyListenersException (); dropTargetListener = dtl; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/DropTarget.java/clean/core/src/classpath/java/java/awt/dnd/DropTarget.java | |
g.draw(new Arc2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1), 40, 300, Arc2D.PIE), tx, randomColor(), paintMode); | g.draw(new Arc2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1), 40, 300, Arc2D.PIE), null, tx, randomColor(), paintMode); | public void perform() { final int x1 = randomX(); final int y1 = randomY(); final int x2 = randomX(); final int y2 = randomY(); g.draw(new Arc2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1), 40, 300, Arc2D.PIE), tx, randomColor(), paintMode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/FBTest.java/buggy/gui/src/test/org/jnode/test/gui/FBTest.java |
g.draw(new Ellipse2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), tx, randomColor(), paintMode); | g.draw(new Ellipse2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), null, tx, randomColor(), paintMode); | public void perform() { final int x1 = randomX(); final int y1 = randomY(); final int x2 = randomX(); final int y2 = randomY(); g.draw(new Ellipse2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), tx, randomColor(), paintMode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/FBTest.java/buggy/gui/src/test/org/jnode/test/gui/FBTest.java |
g.draw(new Line2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), tx, randomColor(), paintMode); | g.draw(new Line2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), null, tx, randomColor(), paintMode); | public void perform() { final int x1 = randomX(); final int y1 = randomY(); final int x2 = randomX(); final int y2 = randomY(); g.draw(new Line2D.Double(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), tx, randomColor(), paintMode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/FBTest.java/buggy/gui/src/test/org/jnode/test/gui/FBTest.java |
g.draw(new QuadCurve2D.Double(x1, y1, cx, cy, x2, y2), tx, randomColor(), paintMode); | g.draw(new QuadCurve2D.Double(x1, y1, cx, cy, x2, y2), null, tx, randomColor(), paintMode); | public void perform() { final int x1 = randomX(); final int y1 = randomY(); final int x2 = randomX(); final int y2 = randomY(); final int cx = randomX(); final int cy = randomY(); g.draw(new QuadCurve2D.Double(x1, y1, cx, cy, x2, y2), tx, randomColor(), paintMode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/FBTest.java/buggy/gui/src/test/org/jnode/test/gui/FBTest.java |
g.draw(new Rectangle(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), tx, randomColor(), paintMode); | g.draw(new Rectangle(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), null, tx, randomColor(), paintMode); | public void perform() { final int x1 = randomX(); final int y1 = randomY(); final int x2 = randomX(); final int y2 = randomY(); g.draw(new Rectangle(Math.min(x1, x2), Math.min(y1, y2), Math.abs(x2-x1), Math.abs(y2-y1)), tx, randomColor(), paintMode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/FBTest.java/buggy/gui/src/test/org/jnode/test/gui/FBTest.java |
this(SwingUtilities.getOwnerFrame(), "", false, null); | this((Frame) SwingUtilities.getOwnerFrame(null), "", false, null); | public JDialog() { this(SwingUtilities.getOwnerFrame(), "", false, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/JDialog.java/buggy/core/src/classpath/javax/javax/swing/JDialog.java |
frameSize.height = (Integer.parseInt(My5250.sessions.getProperty("emul.height"))-100); | Rectangle sb = OperatingSystem.getScreenBounds(); frameSize.height = (sb.height - 100); | private void jbInit() throws Exception { try { setIconImage(GUIGraphicsUtils.getApplicationIcon().getImage()); // set title setTitle(LangTool.getString("xtfr.wizardTitle")); // Load the JDBC driver. Driver driver2 = (Driver)Class.forName("com.ibm.as400.access.AS400JDBCDri... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/0686de448db01a9cc1b09cae982858a4d418dae8/SqlWizard.java/clean/tn5250j/src/org/tn5250j/sql/SqlWizard.java |
public static int vmMain() { | public static int vmMain() throws PragmaUninterruptible { | public static int vmMain() { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); //Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); //Unsafe.debug("Starting PluginManager"); final PluginManager piMgr = new DefaultPluginManager(pluginRegistr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/Main.java/buggy/core/src/core/org/jnode/boot/Main.java |
if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begin))) { table.getSelectionModel(). removeSelectionInterval(table.rowAtPoint(begin), table.rowAtPoint(begin)); table.getColumnModel().getSelectionModel(). removeSelectionInterval(table.columnAtPoint(begin), table.columnAtPoint... | public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | |
if (controlPressed && rowModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) | if (controlPressed && rowModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) | private void updateSelection(boolean controlPressed) { if (table.getRowSelectionAllowed()) { int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
ListSelectionModel colModel = table.getColumnModel().getSelectionModel(); | ListSelectionModel colModel = table.getColumnModel(). getSelectionModel(); | private void updateSelection(boolean controlPressed) { if (table.getRowSelectionAllowed()) { int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
if (controlPressed && colModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) | if (controlPressed && colModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) | private void updateSelection(boolean controlPressed) { if (table.getRowSelectionAllowed()) { int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
highlightCellBorder = defaults.getBorder("Table.focusCellHighlightBorder"); cellBorder = BorderFactory.createEmptyBorder(1, 1, 1, 1); | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | |
if (comp instanceof JComponent) { if (table.isCellSelected(r, c)) ((JComponent) comp).setBorder(highlightCellBorder); else ((JComponent) comp).setBorder(cellBorder); } | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | |
vstack.push(ifac.createLocal(JvmType.REFERENCE, stackFrame .getEbpOffset(typeSizeInfo, index))); | wload(JvmType.REFERENCE, index, false); | public final void visit_aload(int index) { vstack.push(ifac.createLocal(JvmType.REFERENCE, stackFrame .getEbpOffset(typeSizeInfo, index))); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
vstack.push(ifac.createLocal(JvmType.FLOAT, stackFrame .getEbpOffset(typeSizeInfo, index))); | wload(JvmType.FLOAT, index, false); | public final void visit_fload(int index) { vstack.push(ifac.createLocal(JvmType.FLOAT, stackFrame .getEbpOffset(typeSizeInfo, index))); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
vstack.push(ifac.createLocal(JvmType.INT, stackFrame .getEbpOffset(typeSizeInfo, index))); | wload(JvmType.INT, index, false); | public final void visit_iload(int index) { vstack.push(ifac.createLocal(JvmType.INT, stackFrame .getEbpOffset(typeSizeInfo, index))); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
assertCondition(eContext.getGPRPool().isFree(X86Register.EAX), "EAX not free"); assertCondition(eContext.getGPRPool().isFree(X86Register.EBX), "EBX not free"); assertCondition(eContext.getGPRPool().isFree(X86Register.ECX), "ECX not free"); assertCondition(eContext.getGPRPool().isFree(X86Register.EDX), "EDX not free");... | public final void visit_lmul() { // Maintain counter counters.getCounter("lmul").inc(); if (os.isCode32()) { final Label curInstrLabel = getCurInstrLabel(); // TODO: port to orp-style vstack.push(eContext); final LongItem v2 = vstack.popLong(); final LongItem v1 = vstac... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | |
final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); | final GPR ECX = X86Register.ECX; final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); | if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); L1AHelper.requestRegister(eContext, ECX, cnt); cnt.loadTo(eContext, ECX); } val.load(eContext); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb = v1.getMsbRegister(eContext); | final GPR v1_lsb = val.getLsbRegister(eContext); final GPR v1_msb = val.getMsbRegister(eContext); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
os.writeAND(X86Register.ECX, 63); os.writeCMP_Const(X86Register.ECX, 32); | os.writeAND(ECX, 63); os.writeCMP_Const(ECX, 32); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
final GPR64 v1r = v1.getRegister(eContext); | final GPR64 v1r = val.getRegister(eContext); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
v2.release(eContext); vstack.push(v1); | cnt.release(eContext); vstack.push(val); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | ||
if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.ECX, cnt); cnt.loadTo(eContext, X86Register.ECX); | if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); L1AHelper.requestRegister(eContext, ECX, cnt); cnt.loadTo(eContext, ECX); | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
os.writeAND(X86Register.ECX, 63); os.writeCMP_Const(X86Register.ECX, 32); | os.writeAND(ECX, 63); os.writeCMP_Const(ECX, 32); | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | ||
if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register.ECX, cnt); cnt.loadTo(eContext, X86Register.ECX); | if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); L1AHelper.requestRegister(eContext, ECX, cnt); cnt.loadTo(eContext, ECX); | public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
os.writeAND(X86Register.ECX, 63); os.writeCMP_Const(X86Register.ECX, 32); | os.writeAND(ECX, 63); os.writeCMP_Const(ECX, 32); | public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong();// final X86RegisterPool pool = eContext.getGPRPool(); // Get cnt into ECX if (!cnt.uses(X86Register.ECX)) { val.spillIfUsing(eContext, X86Register.ECX); L1AHelper.requestRegister(eContext, X86Register... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
wstoreOffset = os.getLength(); | private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.isConstant(); if (vconst ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | |
private void showPopupMenu(MouseEvent me) { JPopupMenu jpm = new JPopupMenu(); JMenuItem menuItem; Action action; final int row = spools.rowAtPoint(me.getPoint()); action = new AbstractAction(LangTool.getString("spool.optionView")) { public void actionPerformed(ActionEvent e) { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolExporter.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExporter.java | ||
switch (col) { case 0: case 3: case 6: action = new AbstractAction(LangTool.getString("spool.labelFilter")) { public void actionPerformed(ActionEvent e) { setFilter(row,col); } }; jpm.add(action); jpm.addSeparator(); break; } | private void showPopupMenu(MouseEvent me) { JPopupMenu jpm = new JPopupMenu(); JMenuItem menuItem; Action action; final int row = spools.rowAtPoint(me.getPoint()); action = new AbstractAction(LangTool.getString("spool.optionView")) { public void actionPerformed(ActionEvent e) { ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolExporter.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExporter.java | |
public void actionPerformed(ActionEvent e) {// spools.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));// SwingUtilities.invokeLater(// new Runnable () {// public void run() {//// displayViewer(getSpooledFile(ro... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolExporter.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExporter.java | ||
doSpoolStuff(getSpooledFile(row),e.getActionCommand()); } | setFilter(row,col); } | public void actionPerformed(ActionEvent e) { doSpoolStuff(getSpooledFile(row),e.getActionCommand()); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolExporter.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExporter.java |
public void actionPerformed(ActionEvent e) { doSpoolStuff(getSpooledFile(row),e.getActionCommand()); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolExporter.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExporter.java | ||
status.setText(stat); } | displayViewer(getSpooledFile(row)); } | public void run() { status.setText(stat); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolExporter.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExporter.java |
mouseListener = new MouseInputHandler(); | public BasicMenuBarUI() { changeListener = createChangeListener(); containerListener = createContainerListener(); propertyChangeListener = new PropertyChangeHandler(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicMenuBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuBarUI.java | |
menuBar.addMouseListener(mouseListener); | protected void installListeners() { menuBar.addContainerListener(containerListener); menuBar.addPropertyChangeListener(propertyChangeListener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicMenuBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuBarUI.java | |
menuBar.removeMouseListener(mouseListener); | protected void uninstallListeners() { menuBar.removeContainerListener(containerListener); menuBar.removePropertyChangeListener(propertyChangeListener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicMenuBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuBarUI.java | |
private static void incorrect_plug_in(Throwable ex) | static void incorrect_plug_in(Throwable ex) | private static void incorrect_plug_in(Throwable ex) throws NO_IMPLEMENT { NO_IMPLEMENT no = new NO_IMPLEMENT("Incorrect CORBA plug-in"); no.initCause(ex); throw no; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
read_instance(input, ox, value_tag); | read_instance(input, ox, value_tag, null); | public static Serializable read(InputStream input) { // Explicitly prevent the stream from closing as we may need // to read the subsequent bytes as well. Stream may be auto-closed // in its finalizer. try { // We may need to jump back if the value is read via value factory. input.mark... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
public static void read_instance(InputStream input, Object value, int value_tag | private static Object read_instance(InputStream input, Object value, int value_tag, Object helper | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
if (chunk_size <= 0) | if (chunk_size < 0) | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
input = new cdrBufInput(bout.toByteArray()); | input = new noHeaderInput(bout.toByteArray()); | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
input = new cdrBufInput(r); | input = new noHeaderInput(r); } } else { if (input instanceof cdrBufInput) { input = new noHeaderInput(((cdrBufInput) input).buffer.getBuffer()); } else { cdrBufOutput bout = new cdrBufOutput(); int c; while ((c = input.read()) >= 0) bout.write((byte) c); input = new noHeaderInput(bout.buffer.toByteArray()); | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
return value; | public static void read_instance(InputStream input, Object value, int value_tag ) { try { if ((value_tag & vf_CHUNKING) != 0) { ByteArrayOutputStream bout = null; int n = -1; // Read all chunks... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java | |
String id | String id, Object helper | private static void write_instance(OutputStream output, Serializable value, String id ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use // a codebase. ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
" must implement either StreamableValue or CustomValue." | " must implement either StreamableValue" + " or CustomValue." | private static void write_instance(OutputStream output, Serializable value, String id ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use // a codebase. ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java |
} | private static void write_instance(OutputStream output, Serializable value, String id ) { // This implementation always writes a single repository id. // It never writes multiple repository ids and currently does not use // a codebase. ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/Vio.java/buggy/core/src/classpath/gnu/gnu/CORBA/CDR/Vio.java | |
if ( (attrib=getEndian()) !=null) | attrib = (String) ((Attribute) attribHash.get(ENDIAN_XML_ATTRIBUTE_NAME)).getAttribValue(); if ( attrib != null) | protected String basicXMLWriter ( Writer outputWriter, String indent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/12741fb3597436ff746fa562142b91acf8d73cf2/XMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
return addInternal(attribute, interfaceName); | return addInternal(attribute, myInterface); | public boolean add(Attribute attribute) { return addInternal(attribute, interfaceName); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/HashAttributeSet.java/buggy/core/src/classpath/javax/javax/print/attribute/HashAttributeSet.java |
return addAllInternal(attributes, interfaceName); | return addAllInternal(attributes, myInterface); | public boolean addAll(AttributeSet attributes) { return addAllInternal(attributes, interfaceName); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/HashAttributeSet.java/buggy/core/src/classpath/javax/javax/print/attribute/HashAttributeSet.java |
this.interfaceName); | myInterface); | private boolean addInternal(Attribute attribute, Class interfaceName) { if (attribute == null) throw new NullPointerException("attribute may not be null"); AttributeSetUtilities.verifyAttributeCategory(interfaceName, this.interfaceName); Object old = attributeMap.put (attribute.getCategory(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/HashAttributeSet.java/buggy/core/src/classpath/javax/javax/print/attribute/HashAttributeSet.java |
super(); resetSorted(); } | super(); resetSorted(); } | public ConfigureTableModel() { super(); resetSorted(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
resetSorted(); fireTableRowsInserted(props.size()-1,props.size()-1); } | resetSorted(); fireTableRowsInserted(props.size() - 1, props.size() - 1); } | public void addSession() { resetSorted(); fireTableRowsInserted(props.size()-1,props.size()-1); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
resetSorted(); fireTableRowsUpdated(row,row); } | resetSorted(); fireTableRowsUpdated(row, row); } | public void chgSession(int row) { resetSorted(); fireTableRowsUpdated(row,row); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
return getValueAt(0, c).getClass(); } | return getValueAt(0, c).getClass(); } | public Class getColumnClass(int c) { return getValueAt(0, c).getClass(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
return cols.length; } | return cols.length; } | public int getColumnCount() { return cols.length; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
return cols[col]; } | return cols[col]; } | public String getColumnName(int col) { return cols[col]; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
private String getPropValue(int row,String param) { | private String getPropValue(int row, String param) { | private String getPropValue(int row,String param) { String prop = ""; String[] args = new String[NUM_PARMS]; String ses = null; prop = (String)mySort.get(row); if (param == null) return prop; else { Configure.parseArgs(props.getProperty(prop),a... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
String prop = ""; String[] args = new String[NUM_PARMS]; String ses = null; | String prop = ""; String[] args = new String[NUM_PARMS]; String ses = null; | private String getPropValue(int row,String param) { String prop = ""; String[] args = new String[NUM_PARMS]; String ses = null; prop = (String)mySort.get(row); if (param == null) return prop; else { Configure.parseArgs(props.getProperty(prop),a... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
prop = (String)mySort.get(row); | prop = (String) mySort.get(row); | private String getPropValue(int row,String param) { String prop = ""; String[] args = new String[NUM_PARMS]; String ses = null; prop = (String)mySort.get(row); if (param == null) return prop; else { Configure.parseArgs(props.getProperty(prop),a... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
if (param == null) return prop; else { Configure.parseArgs(props.getProperty(prop),args); if (param.equals("0")) return args[0]; } return null; } | if (param == null) return prop; else { Configure.parseArgs(props.getProperty(prop), args); if (param.equals("0")) return args[0]; } return null; } | private String getPropValue(int row,String param) { String prop = ""; String[] args = new String[NUM_PARMS]; String ses = null; prop = (String)mySort.get(row); if (param == null) return prop; else { Configure.parseArgs(props.getProperty(prop),a... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
return mySort.size(); } | return mySort.size(); } | public int getRowCount() { return mySort.size(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
if (col == 0) return getPropValue(row,null); if (col == 1) return getPropValue(row,"0"); | if (col == 0) return getPropValue(row, null); if (col == 1) return getPropValue(row, "0"); | public Object getValueAt(int row, int col) { if (col == 0) return getPropValue(row,null); if (col == 1) return getPropValue(row,"0"); // remember if you change this here you need to change the default // selection option of the main table to pass in the cor... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.