bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public int getAccessibleIndexInParent() throws NotImplementedException { throw new Error("not implemented"); } | public int getAccessibleIndexInParent() { throw new Error("not implemented"); } | 15,185 |
public int getAccessibleIndexInParent() throws NotImplementedException { throw new Error("not implemented"); } | public int getAccessibleIndexInParent() throws NotImplementedException { return columnIndex; } | 15,186 |
public String getAccessibleName() throws NotImplementedException { throw new Error("not implemented"); } | public String getAccessibleName() { throw new Error("not implemented"); } | 15,187 |
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; } | 15,188 |
public AccessibleRole getAccessibleRole() throws NotImplementedException { throw new Error("not implemented"); } | public AccessibleRole getAccessibleRole() { throw new Error("not implemented"); } | 15,189 |
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; } | 15,190 |
public AccessibleSelection getAccessibleSelection() throws NotImplementedException { throw new Error("not implemented"); } | public AccessibleSelection getAccessibleSelection() { throw new Error("not implemented"); } | 15,191 |
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; } | 15,192 |
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { throw new Error("not implemented"); } | public AccessibleStateSet getAccessibleStateSet() { throw new Error("not implemented"); } | 15,193 |
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; } | 15,194 |
public AccessibleText getAccessibleText() throws NotImplementedException { throw new Error("not implemented"); } | public AccessibleText getAccessibleText() { throw new Error("not implemented"); } | 15,195 |
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; } | 15,196 |
public AccessibleValue getAccessibleValue() throws NotImplementedException { throw new Error("not implemented"); } | public AccessibleValue getAccessibleValue() { throw new Error("not implemented"); } | 15,197 |
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; } | 15,198 |
public Color getBackground() throws NotImplementedException { throw new Error("not implemented"); } | public Color getBackground() { throw new Error("not implemented"); } | 15,199 |
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; } | 15,200 |
public Rectangle getBounds() throws NotImplementedException { throw new Error("not implemented"); } | public Rectangle getBounds() { throw new Error("not implemented"); } | 15,201 |
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; } | 15,202 |
public Cursor getCursor() throws NotImplementedException { throw new Error("not implemented"); } | public Cursor getCursor() { throw new Error("not implemented"); } | 15,203 |
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; } | 15,204 |
public Font getFont() throws NotImplementedException { throw new Error("not implemented"); } | public Font getFont() { throw new Error("not implemented"); } | 15,205 |
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; } | 15,206 |
public FontMetrics getFontMetrics(Font f) throws NotImplementedException { throw new Error("not implemented"); } | public FontMetrics getFontMetrics(Font f) { throw new Error("not implemented"); } | 15,207 |
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; } | 15,208 |
public Color getForeground() throws NotImplementedException { throw new Error("not implemented"); } | public Color getForeground() { throw new Error("not implemented"); } | 15,209 |
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; } | 15,210 |
public Locale getLocale() throws NotImplementedException { throw new Error("not implemented"); } | public Locale getLocale() { throw new Error("not implemented"); } | 15,211 |
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; } | 15,212 |
public Point getLocation() throws NotImplementedException { throw new Error("not implemented"); } | public Point getLocation() { throw new Error("not implemented"); } | 15,213 |
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; } | 15,214 |
public Point getLocationOnScreen() throws NotImplementedException { throw new Error("not implemented"); } | public Point getLocationOnScreen() { throw new Error("not implemented"); } | 15,215 |
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; } | 15,216 |
public Dimension getSize() throws NotImplementedException { throw new Error("not implemented"); } | public Dimension getSize() { throw new Error("not implemented"); } | 15,217 |
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; } | 15,218 |
public boolean isEnabled() throws NotImplementedException { throw new Error("not implemented"); } | public boolean isEnabled() { throw new Error("not implemented"); } | 15,219 |
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; } | 15,220 |
public boolean isFocusTraversable() throws NotImplementedException { throw new Error("not implemented"); } | public boolean isFocusTraversable() { throw new Error("not implemented"); } | 15,221 |
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; } | 15,222 |
public boolean isShowing() throws NotImplementedException { throw new Error("not implemented"); } | public boolean isShowing() { throw new Error("not implemented"); } | 15,223 |
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; } | 15,224 |
public boolean isVisible() throws NotImplementedException { throw new Error("not implemented"); } | public boolean isVisible() { throw new Error("not implemented"); } | 15,225 |
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; } | 15,226 |
public void removeFocusListener(FocusListener l) throws NotImplementedException { throw new Error("not implemented"); } | public void removeFocusListener(FocusListener l) { throw new Error("not implemented"); } | 15,227 |
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); } | 15,228 |
public void removePropertyChangeListener(PropertyChangeListener l) throws NotImplementedException { throw new Error("not implemented"); } | public void removePropertyChangeListener(PropertyChangeListener l) { throw new Error("not implemented"); } | 15,229 |
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); } | 15,230 |
public void requestFocus() throws NotImplementedException { throw new Error("not implemented"); } | public void requestFocus() { throw new Error("not implemented"); } | 15,231 |
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(); } | 15,232 |
public void setAccessibleDescription(String s) throws NotImplementedException { throw new Error("not implemented"); } | public void setAccessibleDescription(String s) { throw new Error("not implemented"); } | 15,233 |
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; } | 15,234 |
public void setAccessibleName(String s) throws NotImplementedException { throw new Error("not implemented"); } | public void setAccessibleName(String s) { throw new Error("not implemented"); } | 15,235 |
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); } | 15,236 |
public void setBackground(Color c) throws NotImplementedException { throw new Error("not implemented"); } | public void setBackground(Color c) { throw new Error("not implemented"); } | 15,237 |
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); } | 15,238 |
public void setBounds(Rectangle r) throws NotImplementedException { throw new Error("not implemented"); } | public void setBounds(Rectangle r) { throw new Error("not implemented"); } | 15,239 |
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); } | 15,240 |
public void setCursor(Cursor c) throws NotImplementedException { throw new Error("not implemented"); } | public void setCursor(Cursor c) { throw new Error("not implemented"); } | 15,241 |
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); } | 15,242 |
public void setEnabled(boolean b) throws NotImplementedException { throw new Error("not implemented"); } | public void setEnabled(boolean b) { throw new Error("not implemented"); } | 15,243 |
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); } | 15,244 |
public void setFont(Font f) throws NotImplementedException { throw new Error("not implemented"); } | public void setFont(Font f) { throw new Error("not implemented"); } | 15,245 |
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); } | 15,246 |
public void setForeground(Color c) throws NotImplementedException { throw new Error("not implemented"); } | public void setForeground(Color c) { throw new Error("not implemented"); } | 15,247 |
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); } | 15,248 |
public void setLocation(Point p) throws NotImplementedException { throw new Error("not implemented"); } | public void setLocation(Point p) { throw new Error("not implemented"); } | 15,249 |
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); } | 15,250 |
public void setSize(Dimension d) throws NotImplementedException { throw new Error("not implemented"); } | public void setSize(Dimension d) { throw new Error("not implemented"); } | 15,251 |
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); } | 15,252 |
public void setVisible(boolean b) throws NotImplementedException { throw new Error("not implemented"); } | public void setVisible(boolean b) { throw new Error("not implemented"); } | 15,253 |
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); } | 15,254 |
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("... | 15,255 |
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"; } // ... | 15,256 |
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); } | protected BltBufferStrategy(int numBuffers, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); } | 15,257 |
protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(num); } | protected BltBufferStrategy(int num, BufferCapabilities caps) { this.caps = caps; createBackBuffers(numBuffers - 1); width = getWidth(); height = getHeight(); } | 15,258 |
public boolean contentsLost() { return false; } | public boolean contentsLost() { for (int i = 0; i < backBuffers.length; i++) { if (backBuffers[i].contentsLost()) { validatedContents = false; return true; } } validatedContents = true; return false; } | 15,259 |
public boolean contentsRestored() { return false; } | public boolean contentsRestored() { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration(); boolean imageRestored = false; for (int i = 0; i < backBuffers.length; i++) { int result = backBuffers[i].validate(c); if (result == VolatileImage.IM... | 15,260 |
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; } | protected void createBackBuffers(int numBuffers) { backBuffers = new VolatileImage[num]; } | 15,261 |
protected void createBackBuffers(int num) { backBuffers = new VolatileImage[num]; } | protected void createBackBuffers(int num) { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration(); backBuffers = new VolatileImage[numBuffers]; for (int i = 0; i < numBuffers; i++) backBuffers[i] = c.createCompatibleVolatileImage(width... | 15,262 |
public Graphics getDrawGraphics() { return null; } | public Graphics getDrawGraphics() { return backBuffers[0].getGraphics(); } | 15,263 |
protected void revalidate() {} | protected void revalidate() { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration(); for (int i = 0; i < backBuffers.length; i++) { int result = backBuffers[i].validate(c); if (result == VolatileImage.IMAGE_INCOMPATIBLE) backBuffers[i] = c.c... | 15,264 |
public void show() {} | public void show() { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration(); getGraphics().drawImage(backBuffers[backBuffers.length - 1], width, height, null); BufferCapabilities.FlipContents f = getCapabilities().getFlipContents(); for (... | 15,265 |
protected FlipBufferStrategy(int num, BufferCapabilities caps) throws AWTException { this.caps = caps; createBuffers(num, caps); } | protected FlipBufferStrategy(int numBuffers, BufferCapabilities caps) throws AWTException { this.caps = caps; createBuffers(num, caps); } | 15,266 |
protected FlipBufferStrategy(int num, BufferCapabilities caps) throws AWTException { this.caps = caps; createBuffers(num, caps); } | protected FlipBufferStrategy(int num, BufferCapabilities caps) throws AWTException { this.caps = caps; width = getWidth(); height = getHeight(); if (numBuffers > 1) createBuffers(numBuffers, caps); else { drawVBuffer = peer.createVolatileImage(width, height); drawBuffer = drawVBuffer; } | 15,267 |
public boolean contentsLost() { return false; } | public boolean contentsLost() { if (drawVBuffer.contentsLost()) { validatedContents = false; return true; } validatedContents = true; return false; } | 15,269 |
public boolean contentsRestored() { return false; } | public boolean contentsRestored() { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration(); int result = drawVBuffer.validate(c); boolean imageRestored = false; if (result == VolatileImage.IMAGE_RESTORED) imageRestored = true; else if (resu... | 15,270 |
protected void createBuffers(int num, BufferCapabilities caps) throws AWTException {} | protected void createBuffers(int num, BufferCapabilities caps) throws AWTException {} | 15,271 |
protected void destroyBuffers() {} | protected void destroyBuffers() { peer.destroyBuffers(); } | 15,272 |
protected void flip(BufferCapabilities.FlipContents flipAction) {} | protected void flip(BufferCapabilities.FlipContents flipAction) { peer.flip(flipAction); } | 15,273 |
protected Image getBackBuffer() { return drawBuffer; } | protected Image getBackBuffer() { return drawBuffer; } | 15,274 |
public Graphics getDrawGraphics() { return null; } | public Graphics getDrawGraphics() { return drawVBuffer.getGraphics(); } | 15,275 |
protected void revalidate() {} | protected void revalidate() { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration(); if (drawVBuffer.validate(c) == VolatileImage.IMAGE_INCOMPATIBLE) drawVBuffer = peer.createVolatileImage(width, height); validatedContents = true; } | 15,276 |
public void show() {} | public void show() { flip(caps.getFlipContents()); } | 15,277 |
public Point getLocationOnScreen() { if (! isShowing()) throw new IllegalComponentStateException("component not showing"); // We know peer != null here. return peer.getLocationOnScreen(); } | public Point getLocationOnScreen() { if (! isShowing()) throw new IllegalComponentStateException("component " + getClass().getName() + " not showing"); // We know peer != null here. return peer.getLocationOnScreen(); } | 15,279 |
public void processKeyEvent (Component comp, KeyEvent e) { AWTKeyStroke eventKeystroke = AWTKeyStroke.getAWTKeyStrokeForEvent (e); // For every focus traversal keystroke, we need to also consume // the other two key event types for the same key (e.g. if // KEY_PRESSED TAB is a focus traversal keystroke, ... | public void processKeyEvent (Component comp, KeyEvent e) { AWTKeyStroke eventKeystroke = AWTKeyStroke.getAWTKeyStrokeForEvent (e); // For every focus traversal keystroke, we need to also consume // the other two key event types for the same key (e.g. if // KEY_PRESSED TAB is a focus traversal keystroke, ... | 15,280 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; } | 15,281 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret; | 15,282 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocu... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Object ret = select.evaluate(context, pos, len); Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocum... | 15,283 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocu... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocu... | 15,284 |
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("select="); buf.append(select); buf.append(']'); return buf.toString(); } | public String toString() { StringBuffer buf = new StringBuffer("copy-of"); buf.append('['); buf.append("select="); buf.append(select); buf.append(']'); return buf.toString(); } | 15,285 |
public boolean atomicChangeObjectColor(Object dst, int oldColor, int newColor) { final Address addr = ObjectReference.fromObject(dst).toAddress().add( flagsOffset); int oldValue; int newValue; do { oldValue = addr.prepareInt(); if ((oldValu... | public boolean atomicChangeObjectColor(Object dst, int oldColor, int newColor) { final Address addr = ObjectReference.fromObject(dst).toAddress().add( flagsOffset); int oldValue; int newValue; do { oldValue = addr.prepareInt(); if ((oldValu... | 15,286 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.