bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | 42,729 |
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | 42,730 |
Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | 42,732 |
Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | 42,733 |
Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | 42,734 |
public Object addToEnvironment (String propName, Object propVal) throws NamingException; | Object addToEnvironment (String propName, Object propVal) throws NamingException; | 42,735 |
public void bind (Name name, Object obj) throws NamingException; | public void bind (Name name, Object obj) throws NamingException; | 42,736 |
public void close () throws NamingException; | public void close () throws NamingException; | 42,737 |
public Name composeName (Name name, Name prefix) throws NamingException; | public Name composeName (Name name, Name prefix) throws NamingException; | 42,738 |
public Context createSubcontext (Name name) throws NamingException; | public Context createSubcontext (Name name) throws NamingException; | 42,739 |
public void destroySubcontext (Name name) throws NamingException; | public void destroySubcontext (Name name) throws NamingException; | 42,740 |
public String getNameInNamespace () throws NamingException; | public String getNameInNamespace () throws NamingException; | 42,741 |
public NameParser getNameParser (Name name) throws NamingException; | public NameParser getNameParser (Name name) throws NamingException; | 42,742 |
public NamingEnumeration list (Name name) throws NamingException; | public NamingEnumeration list (Name name) throws NamingException; | 42,743 |
public NamingEnumeration listBindings (Name name) throws NamingException; | public NamingEnumeration listBindings (Name name) throws NamingException; | 42,744 |
public Object lookupLink (Name name) throws NamingException; | public Object lookupLink (Name name) throws NamingException; | 42,745 |
public Object removeFromEnvironment (String propName) throws NamingException; | public Object removeFromEnvironment (String propName) throws NamingException; | 42,746 |
public void rename (Name oldName, Name newName) throws NamingException; | public void rename (Name oldName, Name newName) throws NamingException; | 42,747 |
public CSSStyleDeclaration findRule(Element elem, String property, boolean inherit) { // loop through the styles in reverse order for(int s=styles.size()-1; s>=0; s--) { JStyle style = (JStyle)styles.get(s); // loop through each selector for the style for(int i=0; i<st... | public CSSStyleDeclaration findRule(Element elem, String property, boolean inherit) { // loop through the styles in reverse order for(int s=styles.size()-1; s>=0; s--) { JStyle style = (JStyle)styles.get(s); // loop through each selector for the style for(int i=0; i<st... | 42,748 |
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ... | public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ... | 42,749 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 42,750 |
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } // look-up destination DestinationManagerImpl dm = serverPeer.getDestinationManager(); if (jmsDest... | public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } // look-up destination DestinationManagerImpl dm = serverPeer.getDestinationManager(); if (jmsDest... | 42,751 |
public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } | public Subscription(Topic topic, String selector, boolean noLocal, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } | 42,752 |
public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } | public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, noLocal, ms, null); } | 42,753 |
protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { if (trace) { log.trace("creating consume... | protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal, JBossDestination dest) throws InvalidSelectorException { if (trace) { log.... | 42,754 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { List mesList = new ArrayList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); }... | public void run() { if (trace) { log.trace("running connection consumer"); } try { List mesList = new ArrayList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); }... | 42,758 |
public void testUnsubscribeDurableSubscription() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("ConnectionFactory"); Topic topic = (Topic)ic.lookup("/topic/Topic"); Connection conn = cf.createConnection(); conn.setClientID("ak47"); Session s = conn.createSession(fa... | public void testUnsubscribeDurableSubscription() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("ConnectionFactory"); Topic topic = (Topic)ic.lookup("/topic/Topic"); Connection conn = cf.createConnection(); conn.setClientID("ak47"); Session s = conn.createSession(fa... | 42,759 |
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 JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputS... | 42,761 |
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 JBossObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputS... | 42,762 |
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... | 42,763 |
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... | 42,764 |
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... | 42,765 |
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... | 42,766 |
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... | 42,767 |
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... | 42,768 |
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... | 42,769 |
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... | 42,770 |
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... | 42,771 |
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... | 42,772 |
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... | 42,773 |
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... | 42,774 |
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... | 42,775 |
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... | 42,776 |
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... | 42,777 |
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... | 42,778 |
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... | 42,779 |
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... | 42,780 |
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; ... | 42,781 |
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; ... | 42,782 |
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; ... | 42,783 |
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; ... | 42,784 |
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; ... | 42,785 |
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; ... | 42,786 |
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; ... | 42,787 |
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; ... | 42,788 |
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; ... | 42,789 |
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; ... | 42,790 |
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; ... | 42,791 |
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; ... | 42,792 |
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; ... | 42,793 |
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; ... | 42,794 |
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; ... | 42,795 |
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; ... | 42,796 |
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; ... | 42,797 |
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; ... | 42,798 |
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; ... | 42,799 |
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; ... | 42,800 |
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; ... | 42,801 |
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; ... | 42,802 |
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; ... | 42,803 |
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; ... | 42,804 |
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; ... | 42,805 |
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; ... | 42,806 |
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; ... | 42,807 |
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; ... | 42,808 |
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; ... | 42,809 |
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; ... | 42,810 |
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()); } | 42,811 |
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); } | 42,812 |
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); } | 42,813 |
public int getAdvance(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); str = str.substring(0,x); //u.p("substring = " + str); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGrap... | public int getAdvance(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); str = str.substring(0, x); //u.p("substring = " + str); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGra... | 42,814 |
public int getAdvance(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); str = str.substring(0,x); //u.p("substring = " + str); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGrap... | public int getAdvance(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); str = str.substring(0,x); //u.p("substring = " + str); char[] chars = new char[str.length()]; getSubstring().getChars(0, str.length(), chars, 0); FontMetrics fm = ctx.getG... | 42,815 |
public int getAdvance(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); str = str.substring(0,x); //u.p("substring = " + str); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGrap... | public int getAdvance(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); str = str.substring(0,x); //u.p("substring = " + str); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGrap... | 42,816 |
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 + " < " +... | 42,817 |
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 + " < " ... | 42,818 |
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 + " < " +... | 42,819 |
public int getTextIndex(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGraphics().getFontMetrics(font); for(int i=0; i<chars.length; i+... | public int getTextIndex(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); char[] chars = new char[str.length()]; getSubstring().getChars(0, str.length(), chars, 0); FontMetrics fm = ctx.getGraphics().getFontMetrics(font); for(int i=0; i<chars.length;... | 42,820 |
public int getTextIndex(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGraphics().getFontMetrics(font); for(int i=0; i<chars.length; i+... | public int getTextIndex(Context ctx, int x) { Font font = getFont(); String str = getSubstring(); char[] chars = new char[str.length()]; getSubstring().getChars(0,str.length(),chars,0); FontMetrics fm = ctx.getGraphics().getFontMetrics(font); for(int i=0; i<chars.length; i+... | 42,821 |
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; } | 42,822 |
public void setFont( Font font ) { this.font = font; } | public void setFont(Font font) { this.font = font; } | 42,823 |
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(); } | 42,824 |
public void setSubstringLength(int len) { end_index = start_index + len; if(end_index > master.length()) { u.p("just set substring length to : " + len); u.p("so indexes = " + start_index + " -> " + end_index); u.p("longer than master: " + master); throw new ... | public void setSubstringLength(int len) { end_index = start_index + len; if (end_index > master.length()) { u.p("just set substring length to : " + len); u.p("so indexes = " + start_index + " -> " + end_index); u.p("longer than master: " + master); throw new... | 42,825 |
public String toString() { return "InlineBox text = \"" + getSubstring() + "\" bnds = " + x + "," + y + " - " + width + "x" + height + " start = " + this.start_index + " end = " + this.end_index + " baseline = " + this.baseline + " vset = " + this.vset + //... | public String toString() { return "InlineBox text = \"" + getSubstring() + "\" bnds = " + x + "," + y + " - " + width + "x" + height + " start = " + this.start_index + " end = " + this.end_index + " baseline = " + this.baseline + " vset = " + this.vset + //... | 42,826 |
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... | 42,827 |
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... | 42,828 |
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... | 42,829 |
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... | 42,830 |
public TxState() { } | public TxState() { } | 42,831 |
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(); } | 42,833 |
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, ... | 42,843 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.