bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void addFocusListener(FocusListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void addFocusListener(FocusListener l) { throw new Error("not implemented"); }
24,043
public void addFocusListener(FocusListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void addFocusListener(FocusListener l) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) c.addFocusListener(l); }
24,044
public void addPropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void addPropertyChangeListener(PropertyChangeListener l) { throw new Error("not implemented"); }
24,045
public void addPropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void addPropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) ac.addPropertyChangeListener(l); }
24,046
public boolean contains(Point p) throws NotImplementedException { throw new Error("not implemented"); }
public boolean contains(Point p) { throw new Error("not implemented"); }
24,047
public boolean contains(Point p) throws NotImplementedException { throw new Error("not implemented"); }
public boolean contains(Point p) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.contains(p); else return false; }
24,048
public AccessibleAction getAccessibleAction() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleAction getAccessibleAction() { throw new Error("not implemented"); }
24,049
public AccessibleAction getAccessibleAction() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleAction getAccessibleAction() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleAction) return (AccessibleAction) ac; else return null; }
24,050
public Accessible getAccessibleAt(Point p) throws NotImplementedException { throw new Error("not implemented"); }
public Accessible getAccessibleAt(Point p) { throw new Error("not implemented"); }
24,051
public Accessible getAccessibleAt(Point p) throws NotImplementedException { throw new Error("not implemented"); }
public Accessible getAccessibleAt(Point p) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getAccessibleAt(p); else return null; }
24,052
public Accessible getAccessibleChild(int i) throws NotImplementedException { throw new Error("not implemented"); }
public Accessible getAccessibleChild(int i) { throw new Error("not implemented"); }
24,053
public Accessible getAccessibleChild(int i) throws NotImplementedException { throw new Error("not implemented"); }
public Accessible getAccessibleChild(int i) throws NotImplementedException { return null; }
24,054
public int getAccessibleChildrenCount() throws NotImplementedException { throw new Error("not implemented"); }
public int getAccessibleChildrenCount() { throw new Error("not implemented"); }
24,055
public int getAccessibleChildrenCount() throws NotImplementedException { throw new Error("not implemented"); }
public int getAccessibleChildrenCount() throws NotImplementedException { return 0; }
24,056
public AccessibleComponent getAccessibleComponent() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleComponent getAccessibleComponent() { throw new Error("not implemented"); }
24,057
public AccessibleComponent getAccessibleComponent() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleComponent getAccessibleComponent() throws NotImplementedException { return this; }
24,058
public AccessibleContext getAccessibleContext() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleContext getAccessibleContext() { throw new Error("not implemented"); }
24,059
public AccessibleContext getAccessibleContext() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleContext getAccessibleContext() throws NotImplementedException { return this; }
24,060
public String getAccessibleDescription() throws NotImplementedException { throw new Error("not implemented"); }
public String getAccessibleDescription() { throw new Error("not implemented"); }
24,061
public String getAccessibleDescription() throws NotImplementedException { throw new Error("not implemented"); }
public String getAccessibleDescription() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleDescription(); return accessibleDescription; }
24,062
public int getAccessibleIndexInParent() throws NotImplementedException { throw new Error("not implemented"); }
public int getAccessibleIndexInParent() { throw new Error("not implemented"); }
24,063
public int getAccessibleIndexInParent() throws NotImplementedException { throw new Error("not implemented"); }
public int getAccessibleIndexInParent() throws NotImplementedException { return columnIndex; }
24,064
public String getAccessibleName() throws NotImplementedException { throw new Error("not implemented"); }
public String getAccessibleName() { throw new Error("not implemented"); }
24,065
public String getAccessibleName() throws NotImplementedException { throw new Error("not implemented"); }
public String getAccessibleName() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleName(); return accessibleName; }
24,066
public AccessibleRole getAccessibleRole() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleRole getAccessibleRole() { throw new Error("not implemented"); }
24,067
public AccessibleRole getAccessibleRole() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleRole getAccessibleRole() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleRole(); else return null; }
24,068
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleSelection getAccessibleSelection() { throw new Error("not implemented"); }
24,069
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleValue) return (AccessibleSelection) ac; else return null; }
24,070
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleStateSet getAccessibleStateSet() { throw new Error("not implemented"); }
24,071
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleStateSet(); else return null; }
24,072
public AccessibleText getAccessibleText() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleText getAccessibleText() { throw new Error("not implemented"); }
24,073
public AccessibleText getAccessibleText() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleText getAccessibleText() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleText(); else return null; }
24,074
public AccessibleValue getAccessibleValue() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleValue getAccessibleValue() { throw new Error("not implemented"); }
24,075
public AccessibleValue getAccessibleValue() throws NotImplementedException { throw new Error("not implemented"); }
public AccessibleValue getAccessibleValue() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleValue) return (AccessibleValue) ac; else return null; }
24,076
public Color getBackground() throws NotImplementedException { throw new Error("not implemented"); }
public Color getBackground() { throw new Error("not implemented"); }
24,077
public Color getBackground() throws NotImplementedException { throw new Error("not implemented"); }
public Color getBackground() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getBackground(); else return null; }
24,078
public Rectangle getBounds() throws NotImplementedException { throw new Error("not implemented"); }
public Rectangle getBounds() { throw new Error("not implemented"); }
24,079
public Rectangle getBounds() throws NotImplementedException { throw new Error("not implemented"); }
public Rectangle getBounds() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getBounds(); else return null; }
24,080
public Cursor getCursor() throws NotImplementedException { throw new Error("not implemented"); }
public Cursor getCursor() { throw new Error("not implemented"); }
24,081
public Cursor getCursor() throws NotImplementedException { throw new Error("not implemented"); }
public Cursor getCursor() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getCursor(); else return null; }
24,082
public Font getFont() throws NotImplementedException { throw new Error("not implemented"); }
public Font getFont() { throw new Error("not implemented"); }
24,083
public Font getFont() throws NotImplementedException { throw new Error("not implemented"); }
public Font getFont() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getFont(); else return null; }
24,084
public FontMetrics getFontMetrics(Font f) throws NotImplementedException { throw new Error("not implemented"); }
public FontMetrics getFontMetrics(Font f) { throw new Error("not implemented"); }
24,085
public FontMetrics getFontMetrics(Font f) throws NotImplementedException { throw new Error("not implemented"); }
public FontMetrics getFontMetrics(Font f) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getFontMetrics(f); else return null; }
24,086
public Color getForeground() throws NotImplementedException { throw new Error("not implemented"); }
public Color getForeground() { throw new Error("not implemented"); }
24,087
public Color getForeground() throws NotImplementedException { throw new Error("not implemented"); }
public Color getForeground() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getForeground(); else return null; }
24,088
public Locale getLocale() throws NotImplementedException { throw new Error("not implemented"); }
public Locale getLocale() { throw new Error("not implemented"); }
24,089
public Locale getLocale() throws NotImplementedException { throw new Error("not implemented"); }
public Locale getLocale() throws NotImplementedException { Component c = getColumnHeaderRenderer(); if (c != null) return c.getLocale(); return null; }
24,090
public Point getLocation() throws NotImplementedException { throw new Error("not implemented"); }
public Point getLocation() { throw new Error("not implemented"); }
24,091
public Point getLocation() throws NotImplementedException { throw new Error("not implemented"); }
public Point getLocation() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getLocation(); else return null; }
24,092
public Point getLocationOnScreen() throws NotImplementedException { throw new Error("not implemented"); }
public Point getLocationOnScreen() { throw new Error("not implemented"); }
24,093
public Point getLocationOnScreen() throws NotImplementedException { throw new Error("not implemented"); }
public Point getLocationOnScreen() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getLocationOnScreen(); else return null; }
24,094
public Dimension getSize() throws NotImplementedException { throw new Error("not implemented"); }
public Dimension getSize() { throw new Error("not implemented"); }
24,095
public Dimension getSize() throws NotImplementedException { throw new Error("not implemented"); }
public Dimension getSize() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.getSize(); else return null; }
24,096
public boolean isEnabled() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isEnabled() { throw new Error("not implemented"); }
24,097
public boolean isEnabled() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isEnabled() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.isEnabled(); else return false; }
24,098
public boolean isFocusTraversable() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isFocusTraversable() { throw new Error("not implemented"); }
24,099
public boolean isFocusTraversable() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isFocusTraversable() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.isFocusTraversable(); else return false; }
24,100
public boolean isShowing() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isShowing() { throw new Error("not implemented"); }
24,101
public boolean isShowing() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isShowing() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.isShowing(); else return false; }
24,102
public boolean isVisible() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isVisible() { throw new Error("not implemented"); }
24,103
public boolean isVisible() throws NotImplementedException { throw new Error("not implemented"); }
public boolean isVisible() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.isVisible(); else return false; }
24,104
public void removeFocusListener(FocusListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void removeFocusListener(FocusListener l) { throw new Error("not implemented"); }
24,105
public void removeFocusListener(FocusListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void removeFocusListener(FocusListener l) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) c.removeFocusListener(l); }
24,106
public void removePropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void removePropertyChangeListener(PropertyChangeListener l) { throw new Error("not implemented"); }
24,107
public void removePropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { throw new Error("not implemented"); }
public void removePropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) ac.removePropertyChangeListener(l); }
24,108
public void requestFocus() throws NotImplementedException { throw new Error("not implemented"); }
public void requestFocus() { throw new Error("not implemented"); }
24,109
public void requestFocus() throws NotImplementedException { throw new Error("not implemented"); }
public void requestFocus() throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) c.requestFocus(); }
24,110
public void setAccessibleDescription(String s) throws NotImplementedException { throw new Error("not implemented"); }
public void setAccessibleDescription(String s) { throw new Error("not implemented"); }
24,111
public void setAccessibleDescription(String s) throws NotImplementedException { throw new Error("not implemented"); }
public void setAccessibleDescription(String s) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) ac.setAccessibleDescription(s); else accessibleDescription = s; }
24,112
public void setAccessibleName(String s) throws NotImplementedException { throw new Error("not implemented"); }
public void setAccessibleName(String s) { throw new Error("not implemented"); }
24,113
public void setAccessibleName(String s) throws NotImplementedException { throw new Error("not implemented"); }
public void setAccessibleName(String s) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) ac.setAccessibleName(s); }
24,114
public void setBackground(Color c) throws NotImplementedException { throw new Error("not implemented"); }
public void setBackground(Color c) { throw new Error("not implemented"); }
24,115
public void setBackground(Color c) throws NotImplementedException { throw new Error("not implemented"); }
public void setBackground(Color c) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setBackground(c); }
24,116
public void setBounds(Rectangle r) throws NotImplementedException { throw new Error("not implemented"); }
public void setBounds(Rectangle r) { throw new Error("not implemented"); }
24,117
public void setBounds(Rectangle r) throws NotImplementedException { throw new Error("not implemented"); }
public void setBounds(Rectangle r) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setBounds(r); }
24,118
public void setCursor(Cursor c) throws NotImplementedException { throw new Error("not implemented"); }
public void setCursor(Cursor c) { throw new Error("not implemented"); }
24,119
public void setCursor(Cursor c) throws NotImplementedException { throw new Error("not implemented"); }
public void setCursor(Cursor c) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setCursor(c); }
24,120
public void setEnabled(boolean b) throws NotImplementedException { throw new Error("not implemented"); }
public void setEnabled(boolean b) { throw new Error("not implemented"); }
24,121
public void setEnabled(boolean b) throws NotImplementedException { throw new Error("not implemented"); }
public void setEnabled(boolean b) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setEnabled(b); }
24,122
public void setFont(Font f) throws NotImplementedException { throw new Error("not implemented"); }
public void setFont(Font f) { throw new Error("not implemented"); }
24,123
public void setFont(Font f) throws NotImplementedException { throw new Error("not implemented"); }
public void setFont(Font f) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setFont(f); }
24,124
public void setForeground(Color c) throws NotImplementedException { throw new Error("not implemented"); }
public void setForeground(Color c) { throw new Error("not implemented"); }
24,125
public void setForeground(Color c) throws NotImplementedException { throw new Error("not implemented"); }
public void setForeground(Color c) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setForeground(c); }
24,126
public void setLocation(Point p) throws NotImplementedException { throw new Error("not implemented"); }
public void setLocation(Point p) { throw new Error("not implemented"); }
24,127
public void setLocation(Point p) throws NotImplementedException { throw new Error("not implemented"); }
public void setLocation(Point p) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setLocation(p); }
24,128
public void setSize(Dimension d) throws NotImplementedException { throw new Error("not implemented"); }
public void setSize(Dimension d) { throw new Error("not implemented"); }
24,129
public void setSize(Dimension d) throws NotImplementedException { throw new Error("not implemented"); }
public void setSize(Dimension d) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setSize(d); }
24,130
public void setVisible(boolean b) throws NotImplementedException { throw new Error("not implemented"); }
public void setVisible(boolean b) { throw new Error("not implemented"); }
24,131
public void setVisible(boolean b) throws NotImplementedException { throw new Error("not implemented"); }
public void setVisible(boolean b) throws NotImplementedException { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent comp = ac.getAccessibleComponent(); if (comp != null) comp.setVisible(b); }
24,132
public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("G")) { multiplier = G; size = size.substring(0, size.length() - 1); } else if(size.endsWith("...
public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("G")) { multiplier = G; size = size.substring(0, size.length() - 1); } else if(size.endsWith("...
24,133
public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("G")) { multiplier = G; size = size.substring(0, size.length() - 1); } else if(size.endsWith("...
public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("G")) { multiplier = G; size = size.substring(0, size.length() - 1); } else if(size.endsWith("...
24,134
public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("G")) { multiplier = G; size = size.substring(0, size.length() - 1); } else if(size.endsWith("...
public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("G")) { multiplier = G; size = size.substring(0, size.length() - 1); } else if(size.endsWith("...
24,135
public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ...
public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ...
24,136
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); }
protected BltBufferStrategy(int numBuffers, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); }
24,137
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); }
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); }
24,138
public boolean contentsLost() { return false; }
public boolean contentsLost() { return false; }
24,139
public boolean contentsRestored() { return false; }
public boolean contentsRestored() { return false; }
24,140
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; }
protected void createBackBuffers(int numBuffers) { backBuffers = new VolatileImage[num]; }
24,141
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; }
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; }
24,142