bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object getAttribute(AttributedCharacterIterator.Attribute attrib) { if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.nex... | public Object getAttribute(AttributedCharacterIterator.Attribute attrib) { if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.nex... | 24,457 |
public Object getAttribute(AttributedCharacterIterator.Attribute attrib) { if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.nex... | public Object getAttribute(AttributedCharacterIterator.Attribute attrib) { if (attribs == null) return null; for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(... | 24,458 |
public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 24,459 |
public static DatatypeFactory newInstance() throws DatatypeConfigurationException { try { Class t = Class.forName(DATATYPEFACTORY_IMPLEMENTATION_CLASS); return (DatatypeFactory) t.newInstance(); } catch (Exception e) { throw new DatatypeConfigurationException (e); } ... | public static DatatypeFactory newInstance() throws DatatypeConfigurationException { try { Class t = Class.forName(DATATYPEFACTORY_IMPLEMENTATION_CLASS); return (DatatypeFactory) t.newInstance(); } catch (Exception e) { throw new DatatypeConfigurationException(e); } ... | 24,460 |
protected Item cloneConstant() { return createConst(getValue()); } | protected Item cloneConstant() { return createConst(getValue()); } | 24,461 |
public BevelBorderUIResource(int bevelType) { } | public BevelBorderUIResource(int bevelType) { } | 24,463 |
public CompoundBorderUIResource(Border outsideBorder, Border insideBorder) { } | public CompoundBorderUIResource(Border outsideBorder, Border insideBorder) { } | 24,464 |
public EmptyBorderUIResource(int top, int left, int bottom, int right) { this(new Insets(top,left,bottom,right)); } | public EmptyBorderUIResource(int top, int left, int bottom, int right) { this(new Insets(top,left,bottom,right)); } | 24,465 |
public MatteBorderUIResource(int top, int left, int bottom, int right, Color color) { } | public MatteBorderUIResource(int top, int left, int bottom, int right, Color color) { } | 24,466 |
TitledBorderUIResource(String title) { } | TitledBorderUIResource(String title) { } | 24,467 |
public static Border getBlackLineBorderUIResource() { return null; } | public static Border getBlackLineBorderUIResource() { return null; } | 24,468 |
public Insets getBorderInsets(Component c) { return null; } | public Insets getBorderInsets(Component c) { return null; } | 24,469 |
public static Border getLoweredBevelBorderUIResource() { return null; } | public static Border getLoweredBevelBorderUIResource() { return null; } | 24,470 |
public static Border getRaisedBevelBorderUIResource() { return null; } | public static Border getRaisedBevelBorderUIResource() { return null; } | 24,471 |
public boolean isBorderOpaque() { return false; } | public boolean isBorderOpaque() { return false; } | 24,472 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | 24,473 |
paramString(){ return ("label=" + label + ",state=" + state + ",group=" + group + "," + super.paramString());} | paramString(){ return ("label=" + label + ",state=" + state + ",group=" + group + "," + super.paramString());} | 24,474 |
public Color getBackground() { if (background != null) return background; return parent == null ? SystemColor.window : parent.getBackground(); } | public Color getBackground() { if (background != null) return background; return parent == null ? SystemColor.window : parent.getBackground(); } | 24,475 |
public Font getFont() { if (font != null) return font; if (parent != null) return parent.getFont (); else return new Font ("Dialog", Font.PLAIN, 12); } | public Font getFont() { if (font != null) return font; if (parent != null) return parent.getFont (); else return new Font ("Dialog", Font.PLAIN, 12); } | 24,476 |
public Font getFont() { if (font != null) return font; if (parent != null) return parent.getFont (); else return new Font ("Dialog", Font.PLAIN, 12); } | public Font getFont() { if (font != null) return font; if (parent != null) return parent.getFont (); else return new Font ("Dialog", Font.PLAIN, 12); } | 24,477 |
public Font getFont() { if (font != null) return font; if (parent != null) return parent.getFont (); else return new Font ("Dialog", Font.PLAIN, 12); } | public Font getFont() { if (font != null) return font; if (parent != null) return parent.getFont (); else return new Font ("Dialog", Font.PLAIN, 12); } | 24,478 |
public void setBackground(Color c) { // return if the background is already set to that color. if (background != null && c != null) if (background.equals(c)) return; // If c is null, inherit from closest ancestor whose bg is set. if (c == null && parent != null) c = parent.getBackground(); fir... | public void setBackground(Color c) { // return if the background is already set to that color. if (background != null && c != null) if (background.equals(c)) return; // If c is null, inherit from closest ancestor whose bg is set. if (c == null && parent != null) c = parent.getBackground(); fir... | 24,480 |
public void setBackground(Color c) { // return if the background is already set to that color. if (background != null && c != null) if (background.equals(c)) return; // If c is null, inherit from closest ancestor whose bg is set. if (c == null && parent != null) c = parent.getBackground(); fir... | public void setBackground(Color c) { // return if the background is already set to that color. if (background != null && c != null) if (background.equals(c)) return; // If c is null, inherit from closest ancestor whose bg is set. if (c == null && parent != null) c = parent.getBackground(); ... | 24,481 |
public void setFont(Font newFont) { if (font == newFont) return; Font oldFont = font; font = newFont; if (peer != null) peer.setFont(font); firePropertyChange("font", oldFont, newFont); invalidate(); } | public void setFont(Font newFont) { if (font == newFont) return; Font oldFont = font; font = newFont; if (peer != null) peer.setFont(font); firePropertyChange("font", oldFont, newFont); invalidate(); } | 24,483 |
public void setForeground(Color c) { firePropertyChange("foreground", foreground, c); if (peer != null) peer.setForeground(c); foreground = c; } | public void setForeground(Color c) { firePropertyChange("foreground", foreground, c); if (peer != null) peer.setForeground(c); foreground = c; } | 24,485 |
public void update(Graphics g) { if (!isLightweight()) { Rectangle clip = g.getClipBounds(); if (clip == null) g.clearRect(0, 0, width, height); else g.clearRect(clip.x, clip.y, clip.width, clip.height); } paint(g); } | public void update(Graphics g) { if (isLightweight() || getParent() == null) { Rectangle clip = g.getClipBounds(); if (clip == null) g.clearRect(0, 0, width, height); else g.clearRect(clip.x, clip.y, clip.width, clip.height); } paint(g); } | 24,487 |
public void update(Graphics g) { if (!isLightweight()) { Rectangle clip = g.getClipBounds(); if (clip == null) g.clearRect(0, 0, width, height); else g.clearRect(clip.x, clip.y, clip.width, clip.height); } paint(g); } | publicvoidupdate(Graphicsg){if(!isLightweight()){Rectangleclip=g.getClipBounds();if(clip==null)g.clearRect(0,0,width,height);elseg.clearRect(clip.x,clip.y,clip.width,clip.height);} paint(g); } | 24,488 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); desktop.setBackground(defaults.getColor("desktop")); } | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); desktop.setBackground(defaults.getColor("desktop")); } | 24,489 |
public String getSystemId() { return systemId; } | public String getSystemId() { return systemId; } | 24,490 |
public void setInputStream(InputStream stream) { this.inputStream = stream; } | public void setInputStream(InputStream stream) { this.inputStream = stream; } | 24,491 |
public void setPublicId(String publicID) { this.publicId = publicID; } | public void setPublicId(String publicID) { this.publicId = publicID; } | 24,492 |
public void setReader(Reader reader) { this.reader = reader; } | public void setReader(Reader reader) { this.reader = reader; } | 24,493 |
public void setSystemId(File file) { try { this.systemId = fileToURL (file).toString (); } catch (IOException e) { // can't happen throw new RuntimeException (e.getMessage ()); } } | public void setSystemId(File file) { try { this.systemId = fileToURL (file).toString (); } catch (IOException e) { // can't happen throw new RuntimeException (e.getMessage ()); } } | 24,494 |
public boolean implies(Permission perm) { return perms.get(perm) != null; } | public boolean implies(Permission perm) { Enumeration elements = elements(); while (elements.hasMoreElements()) { Permission p = (Permission)elements.nextElement(); if (p.implies(perm)) return true; } return false; } | 24,495 |
public boolean isShowing() { return super.isShowing(); } | public boolean isShowing() { return isVisible(); } | 24,496 |
public void extensionAdded(ExtensionPoint point, Extension extension) { refreshFinders(); refreshMappers(); findDeviceDrivers(); } | public void extensionAdded(ExtensionPoint point, Extension extension) { refreshFinders(); refreshMappers(); findDeviceDrivers(); } | 24,497 |
public void extensionRemoved(ExtensionPoint point, Extension extension) { refreshFinders(); refreshMappers(); } | public void extensionRemoved(ExtensionPoint point, Extension extension) { refreshFinders(); refreshMappers(); } | 24,498 |
protected void findDeviceDrivers() { for (Iterator i = devices.values().iterator(); i.hasNext();) { final Device dev = (Device) i.next(); if (dev.getDriver() == null) { final Driver drv = findDriver(dev); if (drv != null) { try { ... | protected void findDeviceDrivers() { for (Iterator i = devices.values().iterator(); i.hasNext();) { final Device dev = (Device) i.next(); if (dev.getDriver() == null) { final Driver drv = findDriver(dev); if (drv != null) { try { ... | 24,499 |
public AbstractListModel() { } // AbstractListModel() | public AbstractListModel() { } // AbstractListModel() | 24,500 |
public void addListDataListener(ListDataListener listener) { listenerList.add(ListDataListener.class, (EventListener) listener); } // addListDataListener() | public void addListDataListener(ListDataListener listener) { listenerList.add(ListDataListener.class, (EventListener) listener); } // addListDataListener() | 24,501 |
public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners(listenerType); } // getListeners() | public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners(listenerType); } // getListeners() | 24,502 |
public void removeListDataListener(ListDataListener listener) { listenerList.remove(ListDataListener.class, (EventListener) listener); } // removeListDataListener() | public void removeListDataListener(ListDataListener listener) { listenerList.remove(ListDataListener.class, (EventListener) listener); } // removeListDataListener() | 24,503 |
public BasicSplitPaneUI() { propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); } | public BasicSplitPaneUI() { propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); } | 24,504 |
public BasicSplitPaneDivider createDefaultDivider() { return null; } | public BasicSplitPaneDivider createDefaultDivider() { if (divider == null) divider = new BasicSplitPaneDivider(this); return divider; } | 24,505 |
protected Component createDefaultNonContinuousLayoutDivider() { return null; } | protected Component createDefaultNonContinuousLayoutDivider() { if (nonContinuousLayoutDivider == null) { nonContinuousLayoutDivider = new Canvas(); nonContinuousLayoutDivider.setBackground(Color.DARK_GRAY); } return nonContinuousLayoutDivider; } | 24,506 |
protected FocusListener createFocusListener() { return null; } | protected FocusListener createFocusListener() { return new FocusHandler(); } | 24,507 |
protected ActionListener createKeyboardDownRightListener() { return null; } | protected ActionListener createKeyboardDownRightListener() { return new KeyboardDownRightHandler(); } | 24,508 |
protected ActionListener createKeyboardEndListener() { return null; } | protected ActionListener createKeyboardEndListener() { return new KeyboardEndHandler(); } | 24,509 |
protected ActionListener createKeyboardHomeListener() { return null; } | protected ActionListener createKeyboardHomeListener() { return new KeyboardHomeHandler(); } | 24,510 |
protected ActionListener createKeyboardResizeToggleListener() { return null; } | protected ActionListener createKeyboardResizeToggleListener() { return new KeyboardResizeToggleHandler(); } | 24,511 |
protected ActionListener createKeyboardUpLeftListener() { return null; } | protected ActionListener createKeyboardUpLeftListener() { return new KeyboardUpLeftHandler(); } | 24,512 |
protected PropertyChangeListener createPropertyChangeListener() { return null; } | protected PropertyChangeListener createPropertyChangeListener() { return new PropertyHandler(); } | 24,513 |
public static ComponentUI createUI(JComponent c) { BasicSplitPaneUI newUI; newUI = new BasicSplitPaneUI(); newUI.installUI(c); return newUI; } | public static ComponentUI createUI(JComponent x) { BasicSplitPaneUI newUI; newUI = new BasicSplitPaneUI(); newUI.installUI(c); return newUI; } | 24,514 |
public static ComponentUI createUI(JComponent c) { BasicSplitPaneUI newUI; newUI = new BasicSplitPaneUI(); newUI.installUI(c); return newUI; } | public static ComponentUI createUI(JComponent c) { BasicSplitPaneUI newUI; newUI = new BasicSplitPaneUI(); newUI.installUI(c); return newUI; } | 24,515 |
protected int getDividerBorderSize() { return 0; } | protected int getDividerBorderSize() { if (getOrientation() == JSplitPane.HORIZONTAL_SPLIT) return divider.getBorder().getBorderInsets(divider).left; else return divider.getBorder().getBorderInsets(divider).top; } | 24,519 |
public int getDividerLocation(JSplitPane jc) { return 0; } | public int getDividerLocation(JSplitPane jc) { return layoutManager.sizes[0] + layoutManager.getInitialLocation(splitPane.getInsets()); } | 24,520 |
public Insets getInsets(JComponent jc) { return new Insets(0, 0, 0, 0); } | public Insets getInsets(JComponent jc) { return splitPane.getBorder().getBorderInsets(splitPane); } | 24,521 |
public int getLastDragLocation() { return 0; } | public int getLastDragLocation() { return lastDragLocation; } | 24,522 |
public int getMaximumDividerLocation(JSplitPane jc) { return 0; } | public int getMaximumDividerLocation(JSplitPane jc) { int value = layoutManager.getInitialLocation(jc.getInsets()) + layoutManager.getAvailableSize(jc.getSize(), jc.getInsets()) - splitPane.getDividerSize(); if (layoutManager.components[1] != null) value -= layoutManager.minimumSizeOfComponent(1); return value; ... | 24,523 |
public Dimension getMaximumSize(JComponent jc) { return null; } | public Dimension getMaximumSize(JComponent jc) { return layoutManager.maximumLayoutSize((Container) jc); } | 24,524 |
public int getMinimumDividerLocation(JSplitPane jc) { return 0; } | public int getMinimumDividerLocation(JSplitPane jc) { int value = layoutManager.getInitialLocation(jc.getInsets()); if (layoutManager.components[0] != null) value += layoutManager.minimumSizeOfComponent(0); return value; } | 24,525 |
public Dimension getMinimumSize(JComponent jc) { return null; } | public Dimension getMinimumSize(JComponent jc) { return layoutManager.minimumLayoutSize((Container) jc); } | 24,526 |
public Dimension getPreferredSize(JComponent jc) { return null; } | public Dimension getPreferredSize(JComponent jc) { return layoutManager.preferredLayoutSize((Container) jc); } | 24,527 |
public boolean isContinuousLayout() { return false; } | public boolean isContinuousLayout() { return splitPane.isContinuousLayout(); } | 24,532 |
protected void setNonContinuousLayoutDivider(Component newDivider) { setNonContinuousLayoutDivider(newDivider, true /* false? */); } | protected void setNonContinuousLayoutDivider(Component newDivider) { setNonContinuousLayoutDivider(newDivider, true); } | 24,539 |
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("format="); buf.append(format); buf.append(']'); return buf.toString(); } | public String toString() { StringBuffer buf = new StringBuffer("number"); buf.append('['); buf.append("format="); buf.append(format); buf.append(']'); return buf.toString(); } | 24,546 |
public int getOffset() { // Check precondition. assert mark <= gapStart || mark >= gapEnd : "mark: " + mark + ", gapStart: " + gapStart + ", gapEnd: " + gapEnd; if (mark <= gapStart) return mark; ... | publicintgetOffset(){//Checkprecondition.assertmark<=gapStart||mark>=gapEnd:"mark:"+mark+",gapStart:"+gapStart+",gapEnd:"+gapEnd;if(mark<=gapStart)returnmark;elsereturnmark-(gapEnd-gapStart);} | 24,547 |
public Position createPosition(final int offset) throws BadLocationException { if (offset < 0 || offset > length()) throw new BadLocationException("The offset was out of the bounds of this" + " buffer", offset); // We store the actual array index in the GapContentPosition. The real // offset i... | public Position createPosition(final int offset) throws BadLocationException { if (offset < 0 || offset > length()) throw new BadLocationException("The offset was out of the bounds of this" + " buffer", offset); // We store the actual array index in the GapContentPosition. The real // offset i... | 24,548 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { // check arguments int length = length(); int strLen = str.length(); if (where >= length) throw new BadLocationException("the where argument cannot be greater" + " than the content length", where); ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { // check arguments int length = length(); int strLen = str.length(); if (where >= length) throw new BadLocationException("the where argument cannot be greater" + " than the content length", where); ... | 24,549 |
boolean match(CharIndexed input, REMatch mymatch) { if (negative && (input.charAt(mymatch.index) == CharIndexed.OUT_OF_BOUNDS)) return false; REMatch newMatch = null; REMatch last = null; REToken tk; boolean isMatch; for (int i=0; i < options.size(); i++) { tk = (REToken) options.elementAt(i... | boolean match(CharIndexed input, REMatch mymatch) { if (negative && (input.charAt(mymatch.index) == CharIndexed.OUT_OF_BOUNDS)) return false; REMatch newMatch = null; REMatch last = null; REToken tk; boolean isMatch; for (int i=0; i < options.size(); i++) { tk = (REToken) options.elementAt(i... | 24,551 |
boolean match(CharIndexed input, REMatch mymatch) { if (negative && (input.charAt(mymatch.index) == CharIndexed.OUT_OF_BOUNDS)) return false; REMatch newMatch = null; REMatch last = null; REToken tk; boolean isMatch; for (int i=0; i < options.size(); i++) { tk = (REToken) options.elementAt(i... | boolean match(CharIndexed input, REMatch mymatch) { if (negative && (input.charAt(mymatch.index) == CharIndexed.OUT_OF_BOUNDS)) return false; REMatch newMatch = null; REMatch last = null; REToken tk; boolean isMatch; for (int i=0; i < options.size(); i++) { tk = (REToken) options.elementAt(i... | 24,552 |
protected Component getVisibleComponent() { return tabPane.getComponentAt(tabPane.getSelectedIndex()); } | protected Component getVisibleComponent() { return visibleComponent; } | 24,555 |
protected void setVisibleComponent(Component component) { component.setVisible(true); tabPane.setSelectedComponent(component); } | protected void setVisibleComponent(Component component) { component.setVisible(true); } visibleComponent = component; } | 24,556 |
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalTextFieldUI(); return instance; } | public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalTextFieldUI instance; if (o == null) { instance = new MetalTextFieldUI(); return instance; } | 24,557 |
public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | 24,559 |
public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | 24,560 |
public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | 24,561 |
public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | 24,562 |
public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | 24,563 |
public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | public final void visit_dup2_x2() { if(countBytecode) { counters.getCounter("dup2_x2").inc(); } // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("####### dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.get... | 24,564 |
protected final void deregister (AbstractSelectionKey key) { cancelledKeys ().remove (key); } | protected final void deregister(AbstractSelectionKey key) { cancelledKeys ().remove (key); } | 24,566 |
protected final void deregister (AbstractSelectionKey key) { cancelledKeys ().remove (key); } | protected final void deregister (AbstractSelectionKey key) { ((AbstractSelectableChannel) key.channel()).removeSelectionKey(key); } | 24,567 |
public final SelectorProvider provider () { return provider; } | public final SelectorProvider provider() { return provider; } | 24,568 |
public abstract void close () throws IOException; | public abstract void close () throws IOException; | 24,569 |
public abstract boolean isOpen (); | public abstract boolean isOpen (); | 24,570 |
public abstract SelectorProvider provider (); | public abstract SelectorProvider provider (); | 24,571 |
private static ClassLoader getClassLoader (String codebases) throws MalformedURLException { ClassLoader loader; CacheKey loaderKey = new CacheKey (codebases, Thread.currentThread().getContextClassLoader()); loader = (ClassLoader) cacheLoaders.get (loaderKey); if (loader == null) { ... | public static ClassLoader getClassLoader (String codebases) throws MalformedURLException { ClassLoader loader; CacheKey loaderKey = new CacheKey (codebases, Thread.currentThread().getContextClassLoader()); loader = (ClassLoader) cacheLoaders.get (loaderKey); if (loader == null) { ... | 24,572 |
protected Item cloneConstant() { return createConst(getValue()); } | protected Item cloneConstant() { return createConst(getValue()); } | 24,573 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 24,575 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 24,576 |
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ... | public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ... | 24,577 |
public int previous () { if (iter.getIndex() == iter.getBeginIndex()) return DONE; int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SP... | public int previous () { if (iter.getIndex() == iter.getBeginIndex()) return DONE; while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MARK && ! isLowSurrogate... | 24,578 |
public static boolean isEqual(byte[]digesta, byte[]digestb) { if (digesta.length != digestb.length) return false; for (int i = digesta.length - 1; i >= 0; --i) if (digesta[i] != digestb[i]) return false; return true; } | public static boolean isEqual(byte[] digesta, byte[] digestb) { if (digesta.length != digestb.length) return false; for (int i = digesta.length - 1; i >= 0; --i) if (digesta[i] != digestb[i]) return false; return true; } | 24,579 |
public String toString() { return (getClass()).getName() + " Message Digest <" + digestToString() + ">"; } | public String toString() { return (getClass()).getName() + " Message Digest <" + digestToString() + ">"; } | 24,580 |
protected void configurePropertiesFromAction(Action a) { //Factory method which sets the AbstractButton's properties according to values from the Action instance. } | protected void configurePropertiesFromAction(Action a) { //Factory method which sets the AbstractButton's properties according to values from the Action instance. } | 24,581 |
public AccessibleContext getAccessibleContext() { //Gets the AccessibleContext associated with this JButton. return null; } | public AccessibleContext getAccessibleContext() { //Gets the AccessibleContext associated with this JButton. return null; } | 24,582 |
public Object[] getSelectedObjects() { return null; } | public Object[] getSelectedObjects() { return null; } | 24,583 |
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JButton"; } | public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JButton"; } | 24,584 |
public boolean isDefaultCapable() { //Returns whether or not this button is capable of being the default button on the RootPane. return def; } | public boolean isDefaultCapable() { //Returns whether or not this button is capable of being the default button on the RootPane. return def; } | 24,585 |
protected String paramString() { return "JButton"; } | protected String paramString() { return "JButton"; } | 24,586 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.