rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
public void destroyBuffers() { } | public void destroyBuffers() { } | public void destroyBuffers() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void disable() {} | public void disable() { } | public void disable() {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void dispose() {} | public void dispose() { } | public void dispose() {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void enable() {} | public void enable() { } | public void enable() {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void endLayout() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void endValidate() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void flip(BufferCapabilities.FlipContents contents) { } | public void flip(BufferCapabilities.FlipContents contents) { } | public void flip(BufferCapabilities.FlipContents contents) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public Image getBackBuffer() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public Rectangle getBounds() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public ColorModel getColorModel () | public ColorModel getColorModel() | public ColorModel getColorModel () { return comp.getColorModel (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return comp.getColorModel (); | return null; | public ColorModel getColorModel () { return comp.getColorModel (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return comp.getToolkit().getFontMetrics(f); | return null; | public FontMetrics getFontMetrics(Font f) { return comp.getToolkit().getFontMetrics(f); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public Graphics getGraphics() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public GraphicsConfiguration getGraphicsConfiguration() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
if (containerInsets == null) containerInsets = new Insets (0,0,0,0); return containerInsets; | return null; | public Insets getInsets() { if (containerInsets == null) containerInsets = new Insets (0,0,0,0); return containerInsets; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
Point parentLocation = comp.getParent().getLocationOnScreen(); return new Point (parentLocation.x + comp.getX(), parentLocation.y + comp.getY()); | return null; | public Point getLocationOnScreen() { Point parentLocation = comp.getParent().getLocationOnScreen(); return new Point (parentLocation.x + comp.getX(), parentLocation.y + comp.getY()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return new Dimension(comp.getWidth(), comp.getHeight()); | return minimumSize(); | public Dimension getMinimumSize() { return new Dimension(comp.getWidth(), comp.getHeight()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return new Dimension(comp.getWidth(), comp.getHeight()); | return preferredSize(); | public Dimension getPreferredSize() { return new Dimension(comp.getWidth(), comp.getHeight()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public Toolkit getToolkit() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void handleEvent(AWTEvent e) {} | public void handleEvent(AWTEvent e) { } | public void handleEvent(AWTEvent e) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public boolean handlesWheelScrolling() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void hide() {} | public void hide() { } | public void hide() {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return getInsets (); | return null; | public Insets insets() { return getInsets (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public boolean isFocusTraversable() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public boolean isFocusable() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public boolean isObscured() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public boolean isPaintPending() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
return false; | return true; | public boolean isReparentSupported() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public boolean isRestackSupported() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void layout() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
return getMinimumSize(); | return new Dimension(0, 0); | public Dimension minimumSize() { return getMinimumSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void paint(Graphics graphics) {} | public void paint(Graphics graphics) { } | public void paint(Graphics graphics) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return getPreferredSize(); | return new Dimension(0, 0); | public Dimension preferredSize() { return getPreferredSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
return comp.getToolkit().prepareImage(img, width, height, o); | return false; | public boolean prepareImage(Image img, int width, int height, ImageObserver o) { return comp.getToolkit().prepareImage(img, width, height, o); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void print(Graphics graphics) {} | public void print(Graphics graphics) { } | public void print(Graphics graphics) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
Component p = comp.getParent(); if (p != null) p.repaint(tm, x + comp.getX(), y + comp.getY(), width, height); | public void repaint(long tm, int x, int y, int width, int height) { Component p = comp.getParent(); if (p != null) p.repaint(tm, x + comp.getX(), y + comp.getY(), width, height); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | |
public void reparent(ContainerPeer parent) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void requestFocus() {} | public void requestFocus() { } | public void requestFocus() {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void reshape(int x, int y, int width, int height) {} | public void reshape(int x, int y, int width, int height) { } | public void reshape(int x, int y, int width, int height) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void restack() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | ||
public void setBackground(Color color) {} | public void setBackground(Color color) { } | public void setBackground(Color color) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void setBounds(int x, int y, int width, int height) {} | public void setBounds(int x, int y, int width, int height) { } | public void setBounds(int x, int y, int width, int height) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
Component p = comp.getParent(); while (p != null && p.isLightweight()) p = p.getParent(); if (p != null) { ComponentPeer peer = p.getPeer(); if (peer != null) peer.setCursor(cursor); } | public void setCursor(Cursor cursor) { Component p = comp.getParent(); while (p != null && p.isLightweight()) p = p.getParent(); if (p != null) { // Don't actually change the cursor of the component // otherwise other childs inherit this cursor. ComponentPeer peer = p.getPeer(); if (peer != null) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java | |
public void setEnabled(boolean enabled) {} | public void setEnabled(boolean enabled) { } | public void setEnabled(boolean enabled) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void setEventMask(long eventMask) {} | public void setEventMask(long eventMask) { } | public void setEventMask(long eventMask) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void setFont(Font font) {} | public void setFont(Font font) { } | public void setFont(Font font) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void setForeground(Color color) {} | public void setForeground(Color color) { } | public void setForeground(Color color) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void setVisible(boolean visible) {} | public void setVisible(boolean visible) { } | public void setVisible(boolean visible) {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void show() {} | public void show() { } | public void show() {} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void updateCursorImmediately() { } | public void updateCursorImmediately() { } | public void updateCursorImmediately() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/689d5f2ad7c7bd978a5121fea0fdc0a2cfaf1e3a/GLightweightPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/GLightweightPeer.java |
public void disable(); | void disable(); | public void disable(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public void enable(); | void enable(); | public void enable(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public ColorModel getColorModel(); | ColorModel getColorModel(); | public ColorModel getColorModel(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public void hide(); | void hide(); | public void hide(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public Dimension minimumSize(); | Dimension minimumSize(); | public Dimension minimumSize(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public Dimension preferredSize(); | Dimension preferredSize(); | public Dimension preferredSize(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public void print(Graphics graphics); | void print(Graphics graphics); | public void print(Graphics graphics); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public void reshape(int x, int y, int width, int height); | void reshape(int x, int y, int width, int height); | public void reshape(int x, int y, int width, int height); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
public void show(); | void show(); | public void show(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/ComponentPeer.java |
setLayout(new BoxLayout(this, axis)); | super.setLayout(new BoxLayout(this, axis)); | public Box(int axis) { setLayout(new BoxLayout(this, axis)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/Box.java/buggy/core/src/classpath/javax/javax/swing/Box.java |
return null; | return new Box(BoxLayout.X_AXIS); | public static Box createHorizontalBox() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/Box.java/buggy/core/src/classpath/javax/javax/swing/Box.java |
return null; | return new Filler(d, d, d); | public static Component createRigidArea(Dimension d) { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/Box.java/buggy/core/src/classpath/javax/javax/swing/Box.java |
return null; | return new Box(BoxLayout.Y_AXIS); | public static Box createVerticalBox() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/Box.java/buggy/core/src/classpath/javax/javax/swing/Box.java |
namePair.add(new Integer(name.getTag())); | namePair.add(Integer.valueOf(name.getTag())); | public GeneralNames(final byte[] encoded) throws IOException { names = new LinkedList(); DERReader der = new DERReader(encoded); DERValue nameList = der.read(); if (!nameList.isConstructed()) throw new IOException("malformed GeneralNames"); int len = 0; int i = 0; while (len < nameList.getL... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/GeneralNames.java/buggy/core/src/classpath/gnu/gnu/java/security/x509/ext/GeneralNames.java |
dumpDebugInfo(); | public synchronized void transmit(SocketBuffer buf, long timeout) throws InterruptedException, TimeoutException { // Set the source address hwAddress.writeTo(buf, 6); // debug dump for investigating VWWare 3 network problems //dumpDebugInfo(); // ask buffer manager to send out the data bufferManager.transmit(bu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/57843b9b284ea62b4a1db76be6395f975acfd0fc/LanceCore.java/clean/net/src/driver/org/jnode/driver/net/lance/LanceCore.java | |
public void dumpData(PrintStream out) { | public void dumpData(Logger out) { | public void dumpData(PrintStream out) { initBlock.dumpData(out); rxRing.dumpData(out); txRing.dumpData(out); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9bab8310a989b28ff35508a8163342426afce2a3/BufferManager.java/buggy/net/src/driver/org/jnode/driver/net/lance/BufferManager.java |
if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } | public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = new InputSource (); if (in instanceof StreamSource) { StreamSource ss = (StreamSourc... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/SAXSource.java/clean/core/src/classpath/javax/javax/xml/transform/sax/SAXSource.java | |
public static void paintComponent(Graphics g, Component c, Container p, Rectangle r) { paintComponent(g, c, p, r.x, r.y, r.width, r.height); | public static void paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h) { Container parent = c.getParent(); if (parent != null) parent.remove(c); if (p != null) p.add(c); Shape savedClip = g.getClip(); g.setClip(x, y, w, h); g.translate(x, y); c.paint(g); g.translate(-x, -y); g.setClip(s... | public static void paintComponent(Graphics g, Component c, Container p, Rectangle r) { paintComponent(g, c, p, r.x, r.y, r.width, r.height); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/SwingUtilities.java/clean/core/src/classpath/javax/javax/swing/SwingUtilities.java |
public byte[] lastUpdate(byte[] in, int offset, int length) throws TransformerException | public byte[] lastUpdate() throws TransformerException | public byte[] lastUpdate(byte[] in, int offset, int length) throws TransformerException { byte[] result = update(in, offset, length); byte[] rest = lastUpdate(); if (rest.length > 0) { byte[] newResult = new byte[result.length + rest.length]; System.arraycopy(result, 0, newResult, 0,... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/Transformer.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/assembly/Transformer.java |
byte[] result = update(in, offset, length); byte[] rest = lastUpdate(); if (rest.length > 0) { byte[] newResult = new byte[result.length + rest.length]; System.arraycopy(result, 0, newResult, 0, result.length); System.arraycopy(rest, 0, newResult, result.length, rest.length); result = newResult; | byte[] result = (wired == Direction.FORWARD ? lastForwardUpdate() : lastInverseUpdate()); if (inBuffer.size() != 0) { throw new TransformerException("lastUpdate(): input buffer not empty"); | public byte[] lastUpdate(byte[] in, int offset, int length) throws TransformerException { byte[] result = update(in, offset, length); byte[] rest = lastUpdate(); if (rest.length > 0) { byte[] newResult = new byte[result.length + rest.length]; System.arraycopy(result, 0, newResult, 0,... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/Transformer.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/assembly/Transformer.java |
public byte[] update(byte[] in, int offset, int length) throws TransformerException | public byte[] update(byte b) throws TransformerException | public byte[] update(byte[] in, int offset, int length) throws TransformerException { if (wired == null) { throw new IllegalStateException(); } byte[] result = (wired == Direction.FORWARD ? forwardUpdate(in, offset, length) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/Transformer.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/assembly/Transformer.java |
if (wired == null) { throw new IllegalStateException(); } byte[] result = (wired == Direction.FORWARD ? forwardUpdate(in, offset, length) : inverseUpdate(in, offset, length)); return result; | return update(new byte[] { b }, 0, 1); | public byte[] update(byte[] in, int offset, int length) throws TransformerException { if (wired == null) { throw new IllegalStateException(); } byte[] result = (wired == Direction.FORWARD ? forwardUpdate(in, offset, length) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/Transformer.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/assembly/Transformer.java |
public BigDecimal (BigInteger num) | public BigDecimal (int val) | public BigDecimal (BigInteger num) { this (num, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
this (num, 0); | this.intVal = BigInteger.valueOf(val); this.scale = 0; | public BigDecimal (BigInteger num) { this (num, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
op1 = op1.multiply (BigInteger.valueOf (10).pow (val.scale - scale)); | op1 = op1.multiply (BigInteger.TEN.pow (val.scale - scale)); | public BigDecimal add (BigDecimal val) { // For addition, need to line up decimals. Note that the movePointRight // method cannot be used for this as it might return a BigDecimal with // scale == 0 instead of the scale we need. BigInteger op1 = intVal; BigInteger op2 = val.intVal; if (scale < val... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
op2 = op2.multiply (BigInteger.valueOf (10).pow (scale - val.scale)); | op2 = op2.multiply (BigInteger.TEN.pow (scale - val.scale)); | public BigDecimal add (BigDecimal val) { // For addition, need to line up decimals. Note that the movePointRight // method cannot be used for this as it might return a BigDecimal with // scale == 0 instead of the scale we need. BigInteger op1 = intVal; BigInteger op2 = val.intVal; if (scale < val... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
public int compareTo (BigDecimal val) | public int compareTo (Object obj) | public int compareTo (BigDecimal val) { if (scale == val.scale) return intVal.compareTo (val.intVal); BigInteger thisParts[] = intVal.divideAndRemainder (BigInteger.valueOf (10).pow (scale)); BigInteger valParts[] = val.intVal.divideAndRemainder (BigInteger.valueOf (10).pow (val.scale)); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
if (scale == val.scale) return intVal.compareTo (val.intVal); BigInteger thisParts[] = intVal.divideAndRemainder (BigInteger.valueOf (10).pow (scale)); BigInteger valParts[] = val.intVal.divideAndRemainder (BigInteger.valueOf (10).pow (val.scale)); int compare; if ((compare = thisParts[0].compareTo (valParts[0])) != ... | return compareTo((BigDecimal) obj); | public int compareTo (BigDecimal val) { if (scale == val.scale) return intVal.compareTo (val.intVal); BigInteger thisParts[] = intVal.divideAndRemainder (BigInteger.valueOf (10).pow (scale)); BigInteger valParts[] = val.intVal.divideAndRemainder (BigInteger.valueOf (10).pow (val.scale)); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
(BigInteger.valueOf (10).pow (n - scale)), 0); | (BigInteger.TEN.pow (n - scale)), 0); | public BigDecimal movePointRight (int n) { if (n < 0) return movePointLeft (-n); if (scale >= n) return new BigDecimal (intVal, scale - n); return new BigDecimal (intVal.multiply (BigInteger.valueOf (10).pow (n - scale)), 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
return scale == 0 ? intVal : intVal.divide (BigInteger.valueOf (10).pow (scale)); | if (scale > 0) return intVal.divide (BigInteger.TEN.pow (scale)); else if (scale < 0) return intVal.multiply(BigInteger.TEN.pow(-scale)); return intVal; | public BigInteger toBigInteger () { return scale == 0 ? intVal : intVal.divide (BigInteger.valueOf (10).pow (scale)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
public String toString () | public String toString() | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
if (scale == 0) | if (scale == 0) | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java | ||
StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0)); if (point <= 0) | StringBuilder val = new StringBuilder(); if (scale >= 0 && (point - 1) >= -6) | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
if (negative) sb.append('-'); sb.append('0').append('.'); while (point < 0) | if (point <= 0) | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
sb.append('0'); point++; | if (negative) val.append('-'); val.append('0').append('.'); while (point < 0) { val.append('0'); point++; } val.append(bigStr.substring(negative ? 1 : 0)); | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
sb.append(bigStr.substring(negative ? 1 : 0)); | else { val.append(bigStr); val.insert(point + (negative ? 1 : 0), '.'); } | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
sb.append(bigStr); sb.insert(point + (negative ? 1 : 0), '.'); | val.append(bigStr); if (bigStr.length() > 1) val.insert( ( negative ? 2 : 1 ), '.'); val.append('E'); if (point - 1 >= 0) val.append('+'); val.append( point - 1 ); | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
return sb.toString(); | return val.toString(); | public String toString () { String bigStr = intVal.toString(); if (scale == 0) return bigStr; boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); StringBuffer sb = new StringBuffer(bigStr.length() + 2 + (point <= 0 ? (-point + 1) : 0... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/BigDecimal.java/clean/core/src/classpath/java/java/math/BigDecimal.java |
public StringBuilder insert(int offset, char ch) | public StringBuilder insert(int offset, char[] str, int str_offset, int len) | public StringBuilder insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; return this; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/StringBuilder.java/buggy/core/src/classpath/5.0/java/lang/StringBuilder.java |
if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; | if (offset < 0 || offset > count || len < 0 || str_offset < 0 || str_offset > str.length - len) throw new StringIndexOutOfBoundsException(); ensureCapacity(count + len); VMSystem.arraycopy(value, offset, value, offset + len, count - offset); VMSystem.arraycopy(str, str_offset, value, offset, len); count += len; | public StringBuilder insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; return this; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/StringBuilder.java/buggy/core/src/classpath/5.0/java/lang/StringBuilder.java |
public BigInteger abs() | private static BigInteger abs(BigInteger x) | public BigInteger abs() { return abs(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
return abs(this); | return x.isNegative() ? neg(x) : x; | public BigInteger abs() { return abs(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
public BigInteger add(BigInteger val) | private static BigInteger add(int x, int y) | public BigInteger add(BigInteger val) { return add(this, val, 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
return add(this, val, 1); | return valueOf((long) x + (long) y); | public BigInteger add(BigInteger val) { return add(this, val, 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
public int compareTo(BigInteger val) | private static int compareTo(BigInteger x, BigInteger y) | public int compareTo(BigInteger val) { return compareTo(this, val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
return compareTo(this, val); | if (x.words == null && y.words == null) return x.ival < y.ival ? -1 : x.ival > y.ival ? 1 : 0; boolean x_negative = x.isNegative(); boolean y_negative = y.isNegative(); if (x_negative != y_negative) return x_negative ? -1 : 1; int x_len = x.words == null ? 1 : x.ival; int y_len = y.words == null ? 1 : y.ival; if (x_len... | public int compareTo(BigInteger val) { return compareTo(this, val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
public BigInteger negate() | private static boolean negate(int[] dest, int[] src, int len) | public BigInteger negate() { return neg(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
return neg(this); | long carry = 1; boolean negative = src[len-1] < 0; for (int i = 0; i < len; i++) { carry += ((long) (~src[i]) & 0xffffffffL); dest[i] = (int) carry; carry >>= 32; } return (negative && dest[len-1] < 0); | public BigInteger negate() { return neg(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BigInteger.java/buggy/core/src/classpath/java/java/math/BigInteger.java |
public static Double valueOf(String s) | public static Double valueOf(double val) | public static Double valueOf(String s) { return new Double(parseDouble(s)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/217dae2077114aeb271c90f647f5baacd1bf28b4/Double.java/buggy/core/src/classpath/5.0/java/lang/Double.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.