bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,985 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,986 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,987 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,988 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,989 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,990 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | 26,991 |
private MethodInvocation readHeader(DataInputStream dis) throws IOException { int objectId = dis.readInt(); long methodHash = dis.readLong(); MethodInvocation mi = new MethodInvocation(null, methodHash, null, null, null); mi.getMetaData().add... | private MethodInvocation readHeader(ObjectInputStream ois) throws IOException { int objectId = dis.readInt(); long methodHash = dis.readLong(); MethodInvocation mi = new MethodInvocation(null, methodHash, null, null, null); mi.getMetaData().a... | 26,992 |
private MethodInvocation readHeader(DataInputStream dis) throws IOException { int objectId = dis.readInt(); long methodHash = dis.readLong(); MethodInvocation mi = new MethodInvocation(null, methodHash, null, null, null); mi.getMetaData().add... | private MethodInvocation readHeader(DataInputStream dis) throws IOException { int objectId = ois.readInt(); long methodHash = dis.readLong(); MethodInvocation mi = new MethodInvocation(null, methodHash, null, null, null); mi.getMetaData().add... | 26,993 |
private MethodInvocation readHeader(DataInputStream dis) throws IOException { int objectId = dis.readInt(); long methodHash = dis.readLong(); MethodInvocation mi = new MethodInvocation(null, methodHash, null, null, null); mi.getMetaData().add... | private MethodInvocation readHeader(DataInputStream dis) throws IOException { int objectId = dis.readInt(); long methodHash = ois.readLong(); MethodInvocation mi = new MethodInvocation(null, methodHash, null, null, null); mi.getMetaData().add... | 26,994 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JBossObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out... | 26,995 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JBossObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out... | 26,996 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 26,997 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 26,998 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 26,999 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,000 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,001 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,002 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,003 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,004 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,005 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,006 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,007 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,008 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,009 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,010 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,011 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,012 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JMSObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); } JMSObjectOutputStream oos = (JMSObjectOutputStream)out; ... | 27,013 |
private void writeHeader(MethodInvocation mi, DataOutputStream dos) throws IOException { int objectId = ((Integer)mi.getMetaData().getMetaData(Dispatcher.DISPATCHER, Dispatcher.OID)).intValue(); dos.writeInt(objectId); dos.writeLong(mi.getMethodHash()); } | private void writeHeader(MethodInvocation mi, ObjectOutputStream dos) throws IOException { int objectId = ((Integer)mi.getMetaData().getMetaData(Dispatcher.DISPATCHER, Dispatcher.OID)).intValue(); dos.writeInt(objectId); dos.writeLong(mi.getMethodHash()); } | 27,014 |
public static Message createMessage(Serializable messageID) { return createMessage(messageID, false, 0, 0, 4, 0, null, null, JBossMessage.TYPE, null, null, true, null, false, null, null, null); } | public static Message createMessage(byte type) { return createMessage(messageID, false, 0, 0, 4, 0, null, null, JBossMessage.TYPE, null, null, true, null, false, null, null, null); } | 27,015 |
public static Message createMessage(Serializable messageID) { return createMessage(messageID, false, 0, 0, 4, 0, null, null, JBossMessage.TYPE, null, null, true, null, false, null, null, null); } | public static Message createMessage(Serializable messageID) { return createMessage(messageID, false, 0, 0, 4, 0, null, null, JBossMessage.TYPE, null, null, true, null, false, null, null, null); } | 27,016 |
public String getSubstring() { // new code for whitepsace handling if(master != null) { if(start_index == -1 || end_index == -1) { return master; } if(end_index < start_index) { u.p("warning: end is less than start: " + end_index + " < " +... | public String getSubstring() { // new code for whitepsace handling if(master != null) { if(start_index == -1 || end_index == -1) { return master; } if(end_index < start_index) { u.p("warning: end is less than start: " + end_index + " < " +... | 27,017 |
public boolean isInlineElement() { if(this.getRealElement() == this.getParent().getParent().getRealElement()) { return false; } return true; } | public boolean isInlineElement() { if(this.getRealElement() == this.getParent().getParent().getRealElement()) { return false; }*/ return true; }*/ | 27,018 |
public void setSubstring(String text) { this.text = text; start_index = 0; end_index = text.length(); } | public void setSubstring(String text) { this.master = text; start_index = 0; end_index = text.length(); } | 27,019 |
public void endTx(Xid xid, boolean success) throws XAException { if (trace) { log.trace("Ending xid=" + xid + ", success=" + success); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XA... | public void endTx(Xid xid, boolean success) throws XAException { if (trace) { log.trace("ending " + xid + ", success=" + success); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAExce... | 27,020 |
public Xid joinTx(Xid xid) throws XAException { if (trace) { log.trace("Joining tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } ret... | public Xid joinTx(Xid xid) throws XAException { if (trace) { log.trace("joining " + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } return xi... | 27,021 |
public int prepare(Xid xid, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAExcepti... | public int prepare(Xid xid, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("preparing " + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.X... | 27,022 |
public Xid resumeTx(Xid xid) throws XAException { if (trace) { log.trace("Resuming tx xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } r... | public Xid resumeTx(Xid xid) throws XAException { if (trace) { log.trace("resuming " + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); } return x... | 27,023 |
public byte getByteProperty(String name) throws JMSException { return ((Byte)properties.get(name)).byteValue(); } | public byte getByteProperty(String name) throws JMSException { Object prop = properties.get(name); if (!(prop instanceof Byte)) { throw new JMSException("Not byte"); } return ((Byte)properties.get(name)).byteValue(); } | 27,025 |
public static Border getButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note ... | public static Border getButtonBorder() { Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note that in the API, ... | 27,035 |
public static Border getButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note ... | public static Border getButtonBorder() { UIDefaults defaults; Border outer; /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note that in the API, * the key "light" is usua... | 27,036 |
public static Border getButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note ... | public static Border getButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note ... | 27,037 |
public static Border getInternalFrameBorder() { UIDefaults defaults; Color shadow, darkShadow, highlight, lightHighlight, line; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); shadow = defaults.getColor("InternalFrame.borderShado... | public static Border getInternalFrameBorder() { Color shadow, darkShadow, highlight, lightHighlight, line; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); shadow = defaults.getColor("InternalFrame.borderShadow"); darkShadow =... | 27,038 |
public static Border getInternalFrameBorder() { UIDefaults defaults; Color shadow, darkShadow, highlight, lightHighlight, line; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); shadow = defaults.getColor("InternalFrame.borderShado... | public static Border getInternalFrameBorder() { UIDefaults defaults; Color shadow, darkShadow, highlight, lightHighlight, line; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); shadow = defaults.getColor("InternalFrame.borderShado... | 27,039 |
public static Border getMenuBarBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new MenuBarBorder(defaults.getColor("MenuBar.shadow"), defaults.getColor("MenuBar.highligh... | public static Border getMenuBarBorder() { /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new MenuBarBorder(defaults.getColor("MenuBar.shadow"), defaults.getColor("MenuBar.highlight")); } | 27,040 |
public static Border getMenuBarBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new MenuBarBorder(defaults.getColor("MenuBar.shadow"), defaults.getColor("MenuBar.highligh... | public static Border getMenuBarBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new MenuBarBorder(defaults.getColor("MenuBar.shadow"), defaults.getColor("MenuBar.highligh... | 27,041 |
public static Border getRadioButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. ... | public static Border getRadioButtonBorder() { Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note that in the API... | 27,042 |
public static Border getRadioButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. ... | public static Border getRadioButtonBorder() { UIDefaults defaults; Border outer; /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note that in the API, * the key "light" is... | 27,043 |
public static Border getRadioButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. ... | public static Border getRadioButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. ... | 27,044 |
public static Border getSplitPaneBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneBorder(defaults.getColor("SplitPane.highlight"), defaults.getColor("Split... | public static Border getSplitPaneBorder() { /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneBorder(defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.darkShadow")); ... | 27,045 |
public static Border getSplitPaneBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneBorder(defaults.getColor("SplitPane.highlight"), defaults.getColor("Split... | public static Border getSplitPaneBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneBorder(defaults.getColor("SplitPane.highlight"), defaults.getColor("Split... | 27,046 |
public static Border getSplitPaneDividerBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneDividerBorder( defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.... | public static Border getSplitPaneDividerBorder() { /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneDividerBorder( defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.darkShadow")); } | 27,047 |
public static Border getSplitPaneDividerBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneDividerBorder( defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.... | public static Border getSplitPaneDividerBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ return new SplitPaneDividerBorder( defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.darkShadow")); } | 27,048 |
public static Border getSplitPaneDividerBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneDividerBorder( defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.... | public static Border getSplitPaneDividerBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new SplitPaneDividerBorder( defaults.getColor("SplitPane.highlight"), defaults.getColor("SplitPane.... | 27,049 |
public static Border getTextFieldBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new FieldBorder( defaults.getColor("TextField.shadow"), defaults.getColor("TextField.darkShadow"), de... | public static Border getTextFieldBorder() { /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new FieldBorder( defaults.getColor("TextField.shadow"), defaults.getColor("TextField.darkShadow"), defaults.getColor("Tex... | 27,050 |
public static Border getTextFieldBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new FieldBorder( defaults.getColor("TextField.shadow"), defaults.getColor("TextField.darkShadow"), de... | public static Border getTextFieldBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ return new FieldBorder( defaults.getColor("TextField.shadow"), defaults.getColor("TextField.darkShadow"), defaults.getColor("TextField.light"), defau... | 27,051 |
public static Border getTextFieldBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new FieldBorder( defaults.getColor("TextField.shadow"), defaults.getColor("TextField.darkShadow"), de... | public static Border getTextFieldBorder() { UIDefaults defaults; /* See comment in methods above for why this border is not shared. */ defaults = UIManager.getLookAndFeelDefaults(); return new FieldBorder( defaults.getColor("TextField.shadow"), defaults.getColor("TextField.darkShadow"), de... | 27,052 |
public static Border getToggleButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux.... | public static Border getToggleButtonBorder() { Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note that in the AP... | 27,053 |
public static Border getToggleButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux.... | public static Border getToggleButtonBorder() { UIDefaults defaults; Border outer; /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux. Note that in the API, * the key "light" i... | 27,054 |
public static Border getToggleButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux.... | public static Border getToggleButtonBorder() { UIDefaults defaults; Border outer; defaults = UIManager.getLookAndFeelDefaults(); /* The keys for UIDefaults have been determined by writing a * test program that dumps the UIDefaults to stdout; that program * was run on a JDK 1.4.1_01 for GNU/Linux.... | 27,055 |
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | 27,056 |
public void read(DataInputStream in) throws Exception { address = new IpAddress(); address.readFrom(in); nodeId = in.readUTF(); } | public void read(DataInputStream in) throws Exception { address = new IpAddress(); address.readFrom(in); nodeId = in.readInt(); } | 27,057 |
public void write(DataOutputStream out) throws Exception { if (!(address instanceof IpAddress)) { throw new IllegalStateException("Address must be IpAddress"); } address.writeTo(out); out.writeUTF(nodeId); } | public void write(DataOutputStream out) throws Exception { if (!(address instanceof IpAddress)) { throw new IllegalStateException("Address must be IpAddress"); } address.writeTo(out); out.writeInt(nodeId); } | 27,058 |
public void tearDown() throws Exception { connection.stop(); connection = null; ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { connection.stop(); connection = null; super.tearDown(); } | 27,059 |
public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException { data = new ResolveData(data, doValidate(data)); ResolvedModuleRevision ret = null; for (Iterator iter = _chain.iterator(); iter.hasNext();) { DependencyResolver reso... | public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException { data = new ResolveData(data, doValidate(data)); ResolvedModuleRevision ret = null; for (Iterator iter = _chain.iterator(); iter.hasNext();) { DependencyResolver reso... | 27,060 |
private boolean isAfter(ResolvedModuleRevision rmr1, ResolvedModuleRevision rmr2, Date date) { ArtifactInfo[] ais = new ArtifactInfo[] { new ResolvedModuleRevisionArtifactInfo(rmr1), new ResolvedModuleRevisionArtifactInfo(rmr2) }; return getLatestStrategy().findLat... | private boolean isAfter(ResolvedModuleRevision rmr1, ResolvedModuleRevision rmr2, Date date) { ArtifactInfo[] ais = new ArtifactInfo[] { new ResolvedModuleRevisionArtifactInfo(rmr1), new ResolvedModuleRevisionArtifactInfo(rmr2) }; return getLatestStrategy().findLat... | 27,061 |
private boolean isAfter(ResolvedModuleRevision rmr1, ResolvedModuleRevision rmr2, Date date) { ArtifactInfo[] ais = new ArtifactInfo[] { new ResolvedModuleRevisionArtifactInfo(rmr1), new ResolvedModuleRevisionArtifactInfo(rmr2) }; return getLatestStrategy().findLat... | private boolean isAfter(ResolvedModuleRevision rmr1, ResolvedModuleRevision rmr2, Date date) { ArtifactInfo[] ais = new ArtifactInfo[] { new ResolvedModuleRevisionArtifactInfo(rmr1), new ResolvedModuleRevisionArtifactInfo(rmr2) }; return getLatestStrategy().findLat... | 27,062 |
public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver resolver) { if (mr == null) { throw new NullPointerException("null module revision not allowed"); } if (resolver == null) { throw new NullPointerException("null resolver not allowed"); ... | public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver artresolver) { if (mr == null) { throw new NullPointerException("null module revision not allowed"); } if (resolver == null) { throw new NullPointerException("null resolver not allowed"); ... | 27,063 |
public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver resolver) { if (mr == null) { throw new NullPointerException("null module revision not allowed"); } if (resolver == null) { throw new NullPointerException("null resolver not allowed"); ... | public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver resolver) { if (mr == null) { throw new NullPointerException("null module revision not allowed"); } if (artresolver == null) { throw new NullPointerException("null resolver not allowed"); ... | 27,064 |
public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver resolver) { if (mr == null) { throw new NullPointerException("null module revision not allowed"); } if (resolver == null) { throw new NullPointerException("null resolver not allowed"); ... | public ResolvedModuleRevisionProxy(ResolvedModuleRevision mr, DependencyResolver resolver) { if (mr == null) { throw new NullPointerException("null module revision not allowed"); } if (resolver == null) { throw new NullPointerException("null resolver not allowed"); ... | 27,065 |
public Font deriveFont(float size) { return new Font(name, style, (int) size); } | public Font deriveFont(float size) { return new Font(name, style, (int) size); } | 27,067 |
public VariableHeightLayoutCache() throws NotImplementedException { // TODO } | public VariableHeightLayoutCache() { // TODO } | 27,068 |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | 27,069 |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { if (dirty) update(); Object last = path.getLastPathComponent(); NodeRecord r = (NodeRecord) nodes.get(last); if (r == null) { rect.x = rect.y = rect.width = rect.height = 0; } else { if (r.bounds == null) { Rectangle... | 27,070 |
public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { if (dirty) update(); NodeRecord best = null; NodeRecord r; Enumeration en = nodes.elements(); int dist = Integer.MAX_VALUE; while (en.hasMoreElements() && dist > 0) { r = (NodeRecord) en.nextElement(); if (best == null... | 27,071 |
public TreePath getPathForRow(int value0) throws NotImplementedException { return null; // TODO } | public TreePath getPathForRow(int value0) throws NotImplementedException { return null; // TODO } | 27,072 |
public TreePath getPathForRow(int value0) throws NotImplementedException { return null; // TODO } | public TreePath getPathForRow(int value0) throws NotImplementedException { if (dirty) update(); Object last = row2node.get(new Integer(row)); if (last == null) return null; else { NodeRecord r = (NodeRecord) nodes.get(last); return r.getPath(); } // TODO } | 27,073 |
public int getPreferredHeight() throws NotImplementedException { return 0; // TODO } | public int getPreferredHeight() throws NotImplementedException { return 0; // TODO } | 27,074 |
public int getPreferredHeight() throws NotImplementedException { return 0; // TODO } | public int getPreferredHeight() throws NotImplementedException { if (dirty) update(); totalHeight = 0; Enumeration en = nodes.elements(); while (en.hasMoreElements()) { NodeRecord nr = (NodeRecord) en.nextElement(); Rectangle r = nr.getBounds(); totalHeight += r.height; } return totalHeight; // TODO } | 27,075 |
public int getPreferredWidth(Rectangle value0) throws NotImplementedException { return 0; // TODO } | public int getPreferredWidth(Rectangle value0) throws NotImplementedException { return 0; // TODO } | 27,076 |
public int getPreferredWidth(Rectangle value0) throws NotImplementedException { return 0; // TODO } | public int getPreferredWidth(Rectangle value0) throws NotImplementedException { if (dirty) update(); maximalWidth = 0; Enumeration en = nodes.elements(); while (en.hasMoreElements()) { NodeRecord nr = (NodeRecord) en.nextElement(); Rectangle r = nr.getBounds(); if (r.x + r.width > maximalWidth) maximalWidth = ... | 27,077 |
public int getRowCount() throws NotImplementedException { return 0; // TODO } | public int getRowCount() throws NotImplementedException { return 0; // TODO } | 27,078 |
public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; // TODO } | public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; // TODO } | 27,079 |
public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; // TODO } | public int getRowForPath(TreePath value0) throws NotImplementedException { if (dirty) update(); NodeRecord r = (NodeRecord) nodes.get(path.getLastPathComponent()); if (r == null) return - 1; else return r.row; // TODO } | 27,080 |
public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } | public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } | 27,081 |
public void invalidateSizes() throws NotImplementedException { // TODO } | public void invalidateSizes() throws NotImplementedException { // TODO } | 27,083 |
public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | 27,084 |
public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean isExpanded(TreePath value0) throws NotImplementedException { return expanded.contains(path.getLastPathComponent()); // TODO } | 27,085 |
public void setModel(TreeModel value0) throws NotImplementedException { // TODO } | public void setModel(TreeModel value0) throws NotImplementedException { // TODO } | 27,086 |
public void setRootVisible(boolean value0) throws NotImplementedException { // TODO } | public void setRootVisible(boolean value0) throws NotImplementedException { // TODO } | 27,088 |
public int getNextVisualPositionFrom(JTextComponent c, int pos, Position.Bias b, int d, Position.Bias[] biasRet) throws BadLocationException { return view.getNextVisualPositionFrom(c, pos, b, d, biasRet); } | public int getNextVisualPositionFrom(JTextComponent c, int pos, Position.Bias b, int d, Position.Bias[] biasRet) throws BadLocationException { return view.getNextVisualPositionFrom(c, pos, b, d, biasRet); } | 27,090 |
public int getNextVisualPositionFrom(JTextComponent c, int pos, Position.Bias b, int d, Position.Bias[] biasRet) throws BadLocationException { return view.getNextVisualPositionFrom(c, pos, b, d, biasRet); } | public int getNextVisualPositionFrom(JTextComponent c, int pos, Position.Bias b, int d, Position.Bias[] biasRet) throws BadLocationException { return view.getNextVisualPositionFrom(pos, b, a, d, biasRet); } | 27,091 |
public void changedUpdate(DocumentEvent event); | void changedUpdate(DocumentEvent event); | 27,092 |
public void insertUpdate(DocumentEvent event); | void insertUpdate(DocumentEvent event); | 27,093 |
public void removeUpdate(DocumentEvent event); | void removeUpdate(DocumentEvent event); | 27,094 |
public abstract void damageRange(JTextComponent t, int p0, int p1); | public abstract void damageRange(JTextComponent tc, int start, int end); | 27,096 |
public abstract EditorKit getEditorKit(JTextComponent t); | public abstract EditorKit getEditorKit(JTextComponent tc); | 27,097 |
public abstract int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet); | public abstract int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet); | 27,098 |
public abstract View getRootView(JTextComponent t); | public abstract View getRootView(JTextComponent tc); | 27,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.