bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static Icon getFileChooserHomeFolderIcon() { return new FileChooserHomeFolderIcon(); } | public static Icon getFileChooserHomeFolderIcon() { if (fileChooserHomeFolderIcon == null) fileChooserHomeFolderIcon = new FileChooserHomeFolderIcon(); return fileChooserHomeFolderIcon; } | 9,163 |
public static Icon getFileChooserListViewIcon() { return new FileChooserListViewIcon(); } | public static Icon getFileChooserListViewIcon() { if (fileChooserListViewIcon == null) fileChooserListViewIcon = new FileChooserListViewIcon(); return fileChooserListViewIcon; } | 9,164 |
public static Icon getFileChooserNewFolderIcon() { return new FileChooserNewFolderIcon(); } | public static Icon getFileChooserNewFolderIcon() { if (fileChooserNewFolderIcon == null) fileChooserNewFolderIcon = new FileChooserNewFolderIcon(); return fileChooserNewFolderIcon; } | 9,165 |
public static Icon getFileChooserUpFolderIcon() { return new FileChooserUpFolderIcon(); } | public static Icon getFileChooserUpFolderIcon() { if (fileChooserUpFolderIcon == null) fileChooserUpFolderIcon = new FileChooserUpFolderIcon(); return fileChooserUpFolderIcon; } | 9,166 |
public static Icon getInternalFrameDefaultMenuIcon() { return new InternalFrameDefaultMenuIcon(); } | public static Icon getInternalFrameDefaultMenuIcon() { if (internalFrameDefaultMenuIcon == null) internalFrameDefaultMenuIcon = new InternalFrameDefaultMenuIcon(); return internalFrameDefaultMenuIcon; } | 9,167 |
public static Icon getRadioButtonMenuItemIcon() { return new RadioButtonMenuItemIcon(); } | public static Icon getRadioButtonMenuItemIcon() { if (radioButtonMenuItemIcon == null) radioButtonMenuItemIcon = new RadioButtonMenuItemIcon(); return radioButtonMenuItemIcon; } | 9,168 |
public static Icon getTreeComputerIcon() { return new TreeComputerIcon(); } | public static Icon getTreeComputerIcon() { if (treeComputerIcon == null) treeComputerIcon = new TreeComputerIcon(); return treeComputerIcon; } | 9,169 |
public static Icon getTreeFloppyDriveIcon() { return new TreeFloppyDriveIcon(); } | public static Icon getTreeFloppyDriveIcon() { if (treeFloppyDriveIcon == null) treeFloppyDriveIcon = new TreeFloppyDriveIcon(); return treeFloppyDriveIcon; } | 9,170 |
public static Icon getTreeHardDriveIcon() { return new TreeHardDriveIcon(); } | public static Icon getTreeHardDriveIcon() { if (treeHardDriveIcon == null) treeHardDriveIcon = new TreeHardDriveIcon(); return treeHardDriveIcon; } | 9,171 |
public Polygon(int[] xpoints, int[] ypoints, int npoints) { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | public Polygon() { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | 9,172 |
public Polygon(int[] xpoints, int[] ypoints, int npoints) { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | public Polygon(int[] xpoints, int[] ypoints, int npoints) { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | 9,173 |
public void fillPolygon(Polygon polygon) { fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | public void fillPolygon(Polygon polygon) { fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | 9,174 |
public void setMargin(Insets m) { margin = m; revalidate(); repaint(); } | public void setMargin(Insets m) { margin = m; revalidate(); repaint(); } | 9,175 |
public boolean isEnabled(); | boolean isEnabled(); | 9,176 |
public void setMnemonic(int mne) { getModel().setMnemonic(mne); } | public void setMnemonic(int mne) { getModel().setMnemonic(mne); } | 9,177 |
public void putValue(String key, Object value); | void putValue(String key, Object value); | 9,178 |
public void setEnabled(boolean b); | void setEnabled(boolean b); | 9,179 |
public abstract FontMetrics getFontMetrics(Font font); | public FontMetrics getFontMetrics() { return getFontMetrics(getFont()); } | 9,180 |
public void setIcon(Icon defaultIcon) { if (default_icon == defaultIcon) return; default_icon = defaultIcon; if (default_icon != null) { // XXX FIXME - icons do not know their parent // default_icon.setParent(this); } revalidate(); repaint(); } | public void setIcon(Icon defaultIcon) { if (default_icon == defaultIcon) return; default_icon = defaultIcon; if (default_icon != null) { // XXX FIXME - icons do not know their parent // default_icon.setParent(this); } revalidate(); repaint(); } | 9,181 |
public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewp... | public JScrollPane() { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewportView(view); setLayout(new ScrollPaneLa... | 9,182 |
public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewp... | public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewp... | 9,183 |
public Image createImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | public Image createImage(ImageProducer prod) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | 9,184 |
public Image createImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | public Image createImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | 9,185 |
public void replaceRange(String text, int start, int end) { Document doc = getDocument(); if (start > end || start < doc.getStartPosition().getOffset() || end >= doc.getEndPosition().getOffset()) throw new IllegalArgumentException(); try { doc.remove(start, end - start); doc.insertStrin... | public void replaceRange(String text, int start, int end) { Document doc = getDocument(); if (start > end || start < doc.getStartPosition().getOffset() || end >= doc.getEndPosition().getOffset()) throw new IllegalArgumentException(); try { doc.remove(start, end - start); doc.insertStrin... | 9,186 |
public BeanDescriptor(Class beanClass, Class customizerClass) { this.beanClass = beanClass; this.customizerClass = customizerClass; } | public BeanDescriptor(Class beanClass, Class customizerClass) { this.beanClass = beanClass; this.customizerClass = customizerClass; } | 9,187 |
private Pattern (String regex) throws PatternSyntaxException { this (regex, 0); } | private Pattern (String regex, int flags) throws PatternSyntaxException { this (regex, 0); } | 9,188 |
private Pattern (String regex) throws PatternSyntaxException { this (regex, 0); } | private Pattern (String regex) throws PatternSyntaxException { this.regex = regex; this.flags = flags; int gnuFlags = 0; if ((flags & CASE_INSENSITIVE) != 0) gnuFlags |= RE.REG_ICASE; if ((flags & MULTILINE) != 0) gnuFlags |= RE.REG_MULTILINE; if ((flags & DOTALL) != 0) gnuFlags |= RE.REG_DOT_NEWLINE; RE... | 9,189 |
public RESyntax(RESyntax other) { bits = (BitSet) other.bits.clone(); } | public RESyntax(RESyntax other) { bits = (BitSet) other.bits.clone(); } | 9,191 |
public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); } | public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); } | 9,192 |
public Number parse (String sourceStr) throws ParseException { ParsePosition pp = new ParsePosition (0); Number r = parse (sourceStr, pp); if (r == null) { int index = pp.getErrorIndex(); if (index < 0) index = pp.getIndex(); throw new ParseException ("couldn't parse number", index); } return... | public Number parse (String sourceStr) throws ParseException { ParsePosition pp = new ParsePosition (0); Number r = parse (sourceStr, pp); if (r == null) { int index = pp.getErrorIndex(); if (index < 0) index = pp.getIndex(); throw new ParseException ("couldn't parse number", index); } return... | 9,193 |
protected LightweightPeer createComponent(Component target) { return new gnu.java.awt.peer.GLightweightPeer (target); } | protected LightweightPeer createComponent(Component target) { return new GLightweightPeer(target); } | 9,194 |
public SwingPopupMenuPeer(SwingToolkit toolkit, PopupMenu popupMenu) { super(toolkit, popupMenu, new JPopupMenu()); int ic = popupMenu.getItemCount(); for(int i = 0; i < ic ; i++){ MenuItem mi = popupMenu.getItem(i); JMenuItem jmi = new JMenuItem(mi.getLabel()); } ... | public SwingPopupMenuPeer(SwingToolkit toolkit, PopupMenu popupMenu) { super(toolkit, popupMenu, new JPopupMenu()); int ic = popupMenu.getItemCount(); for(int i = 0; i < ic ; i++){ MenuItem mi = popupMenu.getItem(i); JMenuItem jmi = new JMenuItem(mi.getLabel()); } ... | 9,195 |
public BAD_OPERATION() { super("", 0, CompletionStatus.COMPLETED_NO); } | public BAD_OPERATION(String message) { super("", 0, CompletionStatus.COMPLETED_NO); } | 9,196 |
public BAD_OPERATION() { super("", 0, CompletionStatus.COMPLETED_NO); } | public BAD_OPERATION() { super(message, 0, CompletionStatus.COMPLETED_NO); } | 9,197 |
private void readManifest(boolean verify) throws IOException { firstEntry = (JarEntry) super.getNextEntry(); while ((firstEntry != null) && firstEntry.getName().startsWith("META-INF/")) { if (firstEntry.getName().equals(JarFile.MANIFEST_NAME)) { manifest = new Manifest(this); } firstEntry = (Ja... | private void readManifest(boolean verify) throws IOException { firstEntry = (JarEntry) super.getNextEntry(); while ((firstEntry != null) && firstEntry.getName().startsWith("META-INF/")) { if (firstEntry.getName().equals(JarFile.MANIFEST_NAME)) { manifest = new Manifest(this); } firstEntry = (Ja... | 9,198 |
public JarEntry(ZipEntry entry) { super(entry); attr = null; certs = null; } | public JarEntry(String name) throws NullPointerException, IllegalArgumentException { super(entry); attr = null; certs = null; } | 9,199 |
public JarEntry(ZipEntry entry) { super(entry); attr = null; certs = null; } | public JarEntry(ZipEntry entry) { super(name); attr = null; certs = null; } | 9,200 |
public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | public int read() throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if (len < 0) { if (!inf... | 9,201 |
public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | 9,202 |
public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | 9,203 |
public String[] list(String directory) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory)... | public String[] list(String directory) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory)... | 9,204 |
public static DataBuffer createBuffer(int dataType, int size) { return createBuffer(dataType, size, 1); } | public static DataBuffer createBuffer(int dataType, int size) { return createBuffer(dataType, size, 1); } | 9,205 |
<T> T[] toArray(T[] a); | Object[] toArray(); | 9,206 |
public View create(Element elem); | View create (Element elem); | 9,208 |
public Object getValue(String key); | Object getValue(String key); | 9,209 |
public Object get(Object key) { // XXX Obey 1.4 specs return super.get(key); } | public Object get(Object key) { // XXX Obey 1.4 specs return this.get (key, getDefaultLocale ()); } | 9,210 |
public Object put(Object key, Object value) { throw new Error("not implemented"); } | public Object put(Object key, Object value) { Object old = super.put (key, value); if (key instanceof String && old != value) firePropertyChange ((String) key, old, value); return old; } | 9,211 |
public Dimension getPreferredSize(JComponent c) { // FIXME: integrate with Scrollable Dimension d = new Dimension(100,100); return d; } | public Dimension getPreferredSize(JComponent c) { // FIXME: integrate with Scrollable Dimension d = new Dimension(100,100); return d; } | 9,212 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); Dimension viewportSize = new Dimension(0,0); Dimen... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); Dimension viewportSize = new Dimension(0,0); Dimen... | 9,216 |
public void setSize(int w, int h) { width = w; height = h; } | public void setSize(double w, double h) { width = w; height = h; } | 9,218 |
public void setSize(int w, int h) { width = w; height = h; } | public void setSize(int w, int h) { width = w; height = h; } | 9,219 |
public boolean isNodeSibling(TreeNode node) { if (node == null) return false; if (node == this) return true; return (node.getParent() == getParent() && getParent() != null); } | public boolean isNodeSibling(TreeNode node) { if (node == null) return false; if (node == this) return true; return (node.getParent() == getParent() && getParent() != null); } | 9,221 |
public Windows1251() { super("Windows-1251", new String[] { "Windows1251", "cp1251", "cp-1251", "cp_1251", "windows1251", "windows_1251" }); lookupTable = lookup; } | public Windows1251() { super("windows-1251", new String[] { "Windows1251", "cp1251", "cp-1251", "cp_1251", "windows1251", "windows_1251" }); lookupTable = lookup; } | 9,222 |
public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic, X86BytecodeVisitor bcv, VmMethod caller) { //final int type = getClass(method); final MagicMethod mcode = MagicMethod.get(method); final VirtualStack vstack = ec.getVStack(); final X86Assembler os = ec.getStream(... | public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic, X86BytecodeVisitor bcv, VmMethod caller) { //final int type = getClass(method); final MagicMethod mcode = MagicMethod.get(method); final VirtualStack vstack = ec.getVStack(); final X86Assembler os = ec.getStream(... | 9,223 |
public DoubleWordItem createReg(EmitterContext ec, int jvmType, X86Register.GPR lsb, X86Register.GPR msb) { if (!ec.getStream().isCode32()) { throw new IllegalModeException("Only supported in 32-bit mode"); } final DoubleWordItem item = (DoubleWordItem) getOrCreate(jvmType); item.initiali... | public DoubleWordItem createReg(EmitterContext ec, int jvmType, X86Register.GPR lsb, X86Register.GPR msb) { if (!ec.getStream().isCode32()) { throw new IllegalModeException("Only supported in 32-bit mode"); } final DoubleWordItem item = (DoubleWordItem) getOrCreate(jvmType); item.initiali... | 9,224 |
public boolean isIgnoringElementContentWhitespace() { return whitespace; } // isIgnoringElementContentWhitespace() | public boolean isIgnoringElementContentWhitespace() { return whitespace; } // isIgnoringElementContentWhitespace() | 9,225 |
public boolean isIgnoringComments() { return ignoreComments; } // isIgnoringComments() | public boolean isIgnoringComments() { return ignoreComments; } // isIgnoringComments() | 9,226 |
public boolean isExpandEntityReferences() { return expandEntityRef; } // isExpandEntityReferences() | public boolean isExpandEntityReferences() { return expandEntityRef; } // isExpandEntityReferences() | 9,227 |
public ParserConfigurationException(String message) { super(message); } // ParserConfigurationException() | public ParserConfigurationException(String message) { super(message); } // ParserConfigurationException() | 9,228 |
public void removeAll() { synchronized (getTreeLock ()) { while (ncomponents > 0) remove(0); } } | public void removeAll() { synchronized (getTreeLock ()) { while (ncomponents > 0) remove(0); } } | 9,229 |
public Dimension preferredSize() { if (prefSize == null) if (peer == null) return new Dimension(width, height); else prefSize = peer.getPreferredSize(); return prefSize; } | public Dimension preferredSize() { if (prefSize == null) if (peer == null) prefSize = minimumSize(); else prefSize = peer.getPreferredSize(); return prefSize; } | 9,231 |
public Graphics create(int x, int y, int width, int height) { Graphics g = create(); g.translate(x, y); // FIXME: I'm not sure if this will work. Are the old clip rect bounds // translated above? g.clipRect(0, 0, width, height); return(g); } | public Graphics create(int x, int y, int width, int height) { Graphics g = create(); g.translate(x, y); // FIXME: I'm not sure if this will work. Are the old clip rect bounds // translated above? g.clipRect(0, 0, width, height); return(g); } | 9,234 |
public UIDefaults getDefaults() { if (LAF_defaults == null) LAF_defaults = new BasicDefaults(); // Returns the default values for this look and feel. return LAF_defaults; } | public UIDefaults getDefaults() { if (LAF_defaults == null) LAF_defaults = new BasicDefaults(); // Returns the default values for this look and feel. return LAF_defaults; } | 9,236 |
public JIFSFile(String name) { this.name = name; } | public JIFSFile(String name) { this.name = name; } | 9,237 |
public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve... | public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve... | 9,238 |
public Unexpected(Exception why) { super(SHARED_MESSAGE); if (why != null) initCause(why); } | public Unexpected(String msg, Exception why) { super(SHARED_MESSAGE); if (why != null) initCause(why); } | 9,239 |
public Unexpected(Exception why) { super(SHARED_MESSAGE); if (why != null) initCause(why); } | public Unexpected(Exception why) { super(msg + ". " + SHARED_MESSAGE); if (why != null) initCause(why); } | 9,240 |
public void add(NamedValue value) { list.add(value); } | public NamedValue add(int a_flags) { list.add(value); } | 9,241 |
public void add(NamedValue value) { list.add(value); } | public void add(NamedValue value) { return add_value(null, new gnuAny(), a_flags); } | 9,242 |
public static void error(Exception why) { throw new Unexpected(why); } | public static void error(String msg, Exception why) { throw new Unexpected(why); } | 9,243 |
public static void error(Exception why) { throw new Unexpected(why); } | public static void error(Exception why) { throw new Unexpected(msg, why); } | 9,244 |
public abstract void exception(Exception except); | public abstract Exception exception(); | 9,245 |
public UnknownUserException(Any an_exception) { except = an_exception; } | public UnknownUserException() { except = an_exception; } | 9,246 |
public UnknownUserException(Any an_exception) { except = an_exception; } | public UnknownUserException(Any an_exception) { } | 9,247 |
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | public void read(java.io.InputStream istream) throws MARSHAL { try { byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); version = Version.read_version(din); flag... | 9,248 |
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; istream.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | 9,249 |
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | 9,250 |
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | 9,251 |
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | 9,252 |
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ... | 9,253 |
public final Object clone(Cloneable object) { testInited(); final VmClassType objectClass = VmMagic.getObjectType(object); final Address objectPtr = ObjectReference.fromObject(object).toAddress(); final int size; if (objectClass.isArray()) { final int slotSize = Unsafe.getCurrentProcessor().getArchitecture().ge... | public final Object clone(Cloneable object) { testInited(); final VmClassType objectClass = VmMagic.getObjectType(object); final Address objectPtr = ObjectReference.fromObject(object).toAddress(); final int size; if (objectClass.isArray()) { final int slotSize = Unsafe.getCurrentProcessor().getArchitecture().ge... | 9,255 |
final VmMethod getMethod(Address sf) { return (VmMethod)Unsafe.getObject(sf, getMethodOffset(sf)); } | final VmMethod getMethod(Address sf) { final Object obj = Unsafe.getObject(sf, getMethodOffset(sf)); if (obj instanceof VmMethod) { return (VmMethod)obj; } else if (obj == null) { return null; } else { Unsafe.debug("Method on stacktrace is not instanceof VmMethod but "); Unsafe.debug(obj.getClass().getName()); Unsafe... | 9,256 |
public Exception(String s) { super(s); } | public Exception() { super(s); } | 9,257 |
public Exception(String s) { super(s); } | public Exception(String s) { } | 9,258 |
private FSEntryTable() { entries = Collections.EMPTY_MAP; entryNames = Collections.EMPTY_LIST; } | private FSEntryTable() { entries = Collections.EMPTY_MAP; entryNames = Collections.EMPTY_LIST; } | 9,259 |
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | public final void setPrefix(String prefix) { if (readonly) { throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | 9,260 |
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomDOMException(DOMException.NAMESPACE_ERR, ... | 9,261 |
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | 9,262 |
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | 9,263 |
public void drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | public void drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | 9,265 |
protected final void handleStartTag(TagElement tag) { parser.handleStartTag(tag); htmlAttributeSet attributes = gnu.getAttributes(); if (tag.fictional()) attributes.addAttribute(HTMLEditorKit.ParserCallback.IMPLIED, Boolean.TRUE )... | protected final void handleStartTag(TagElement tag) { parser.handleStartTag(tag); SimpleAttributeSet attributes = gnu.getAttributes(); if (tag.fictional()) attributes.addAttribute(HTMLEditorKit.ParserCallback.IMPLIED, Boolean.TRUE ... | 9,266 |
public ClassNotFoundException(String s, Throwable ex) { super(s, ex); this.ex = ex; } | public ClassNotFoundException() { super(s, ex); this.ex = ex; } | 9,267 |
public ClassNotFoundException(String s, Throwable ex) { super(s, ex); this.ex = ex; } | public ClassNotFoundException(String s, Throwable ex) { super(s, ex); this.ex = ex; } | 9,268 |
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // Otherwise pass the add onto the content pane. if (comp == rootPane) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEna... | protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEnabl... | 9,269 |
public Container getContentPane(); | Container getContentPane(); | 9,270 |
public Component getGlassPane(); | Component getGlassPane(); | 9,271 |
public JLayeredPane getLayeredPane(); | JLayeredPane getLayeredPane(); | 9,272 |
public JRootPane getRootPane(); | JRootPane getRootPane(); | 9,273 |
public void setContentPane(Container contentPane); | void setContentPane(Container contentPane); | 9,274 |
public void setGlassPane(Component glassPane); | void setGlassPane(Component glassPane); | 9,275 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.