rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
dirty = true; | public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | |
public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException | public void treeNodesInserted(TreeModelEvent event) | public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } |
dirty = true; | public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } | |
public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException | public void treeNodesRemoved(TreeModelEvent event) | public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } |
dirty = true; | public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } | |
public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException | public void treeStructureChanged(TreeModelEvent event) | public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } |
dirty = true; | public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | |
} catch (Throwable x) { | } catch (InterruptedException ie) { return; } catch (Throwable x) { | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); queue.dispatchEvent(evt); } catch (Throwable x) { System.err.println("Exception during event dispatch:"); x.printStackTrace(System.err); } } } |
public void initializeStyles(EmptyStyle c) { | public void initializeStyles(CalculatedStyle c) { | public void initializeStyles(EmptyStyle c) { styleStack = new Stack(); styleStack.push(c); } |
loadOverrideProperties(); | String sysOverrideFile = getSystemPropertyOverrideFileName(); if ( sysOverrideFile != null ) { loadOverrideProperties(sysOverrideFile); } else { loadOverrideProperties(getUserHomeOverrideFileName()); } | private Configuration() { startupLogRecords = new ArrayList(); try { // read logging level from System properties String val = null; try { val = System.getProperty("show-config"); } catch (Exception ex) { System.out.println("err... |
private void loadOverrideProperties() { | private void loadOverrideProperties(String overrideFileName) { | private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... |
String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); | File f = new File(overrideFileName); | private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... |
fine("Found local config override file " + f.getAbsolutePath()); | info("Found config override file " + f.getAbsolutePath()); | private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... |
} else { info("Could not find local override file " + f.getAbsolutePath()); | private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... | |
"MenuBarUI", "javax.swing.plaf.metal.MetalMenuBarUI", | protected void initClassDefaults(UIDefaults defaults) { super.initClassDefaults(defaults); // Variables Object[] uiDefaults; // Initialize Class Defaults uiDefaults = new Object[] { "ButtonUI", "javax.swing.plaf.metal.MetalButtonUI", "CheckBoxUI", "javax.swing.plaf.metal.MetalCheckBoxUI", ... | |
"Tree.rowHeight", new Integer(20), | "Tree.rowHeight", new Integer(0), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... |
{ log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); | { | public void testBrowse() throws Exception { log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessa... |
final int numMessages = 100; for (int i = 0; i < numMessages; i++) { Message m = sess.createMessage(); mp.send(m); } log.trace("Sent messages"); long lStart = System.currentTimeMillis(); QueueBrowser browser = sess.createBrowser(queue); assertEquals(browser.getQueue(), queue); assertNull(browser.getMessageSelecto... | log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessages = 100; for (int i = 0; i < numMessages; i++) { Message m = sess.createMessage(); mp.send(m); } lo... | public void testBrowse() throws Exception { log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessa... |
public VmLocalVariable(char startPC, char length, String name, String signature, char index) { | public VmLocalVariable(char startPC, char length, char nameIndex, char descriptorIndex, char index) { | public VmLocalVariable(char startPC, char length, String name, String signature, char index) { this.startPC = startPC; this.length = length; this.name = name; this.signature = signature; this.index = index; } |
this.name = name; this.signature = signature; | this.nameIndex = nameIndex; this.descriptorIndex = descriptorIndex; | public VmLocalVariable(char startPC, char length, String name, String signature, char index) { this.startPC = startPC; this.length = length; this.name = name; this.signature = signature; this.index = index; } |
public String getName() { return this.name; | public String getName(VmType<?> declClass) { return declClass.getCP().getUTF8(nameIndex); | public String getName() { return this.name; } |
public Class getCategory() | public final Class getCategory() | public Class getCategory() { return JobStateReason.class; } |
public String getName() | public final String getName() | public String getName() { return "job-state-reason"; } |
txInfo = (TxState)in.readObject(); | state = (TxState)in.readObject(); | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { requestType = in.readInt(); xid = (Xid)in.readObject(); txInfo = (TxState)in.readObject(); } |
out.writeObject(txInfo); | out.writeObject(state); | public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(requestType); out.writeObject(xid); out.writeObject(txInfo); } |
int xCenter = (int) (x + a); int yCenter = (int) (y + b); | int xCenter = x + a; int yCenter = y + b; | public Point getPerimeterPoint(Point source, Point p) { // Compute relative bounds Rectangle r = getBounds(); int x = r.x; int y = r.y; int a = (r.width + 1) / 2; int b = (r.height + 1) / 2; // Get center int xCenter = (int) (x + a); int yCenter = (int) (y + b); // Compute angle int dx = p.x - xCenter; int... |
holder.incrementInMemoryChannelCount(); | public synchronized MessageReference reference(Message m) { if (m.isReliable() && !acceptReliableMessages) { throw new IllegalStateException(this + " does not accept reliable messages (" + m + ")"); } MessageHolder holder = (MessageHolder)messages.get(new Long(m.getMessageID())); ... | |
public MessageHolder(Message msg, PagingMessageStore ms) | public MessageHolder(Message msg, SimpleMessageStore ms) | public MessageHolder(Message msg, PagingMessageStore ms) { this.msg = msg; this.ms = ms; } |
public SimpleMessageReference(MessageHolder holder, MessageStore ms) | public SimpleMessageReference() | public SimpleMessageReference(MessageHolder holder, MessageStore ms) { this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), ... |
this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), holder.getMessage().getPriority(), ms); this.holder = holder; | if (trace) { log.trace("Creating using default constructor"); } | public SimpleMessageReference(MessageHolder holder, MessageStore ms) { this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), ... |
os.log("dup"); vstack.push(eContext); | public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | |
vstack.pushItem(v1); | vstack.pushItem(v1.clone(eContext)); | public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } |
os.writeMOV(INTSIZE, T0, SP, 0); helper.writePUSH(T0); | public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | |
visit_ifxx(address, X86Constants.JE); | visit_ifxx(Item.INT, address, X86Constants.JE); | public final void visit_ifeq(int address) { visit_ifxx(address, X86Constants.JE); // JE } |
visit_ifxx(address, X86Constants.JGE); | visit_ifxx(Item.INT, address, X86Constants.JGE); | public final void visit_ifge(int address) { visit_ifxx(address, X86Constants.JGE); // JGE } |
visit_ifxx(address, X86Constants.JG); | visit_ifxx(Item.INT, address, X86Constants.JG); | public final void visit_ifgt(int address) { visit_ifxx(address, X86Constants.JG); // JG } |
visit_ifxx(address, X86Constants.JLE); | visit_ifxx(Item.INT, address, X86Constants.JLE); | public final void visit_ifle(int address) { visit_ifxx(address, X86Constants.JLE); // JLE } |
visit_ifxx(address, X86Constants.JL); | visit_ifxx(Item.INT, address, X86Constants.JL); | public final void visit_iflt(int address) { visit_ifxx(address, X86Constants.JL); // JL } |
visit_ifxx(address, X86Constants.JNE); | visit_ifxx(Item.INT, address, X86Constants.JNE); | public final void visit_ifne(int address) { visit_ifxx(address, X86Constants.JNE); // JNE } |
visit_ifxx(address, X86Constants.JNE); | visit_ifxx(Item.REFERENCE, address, X86Constants.JNE); | public final void visit_ifnonnull(int address) { visit_ifxx(address, X86Constants.JNE); } |
visit_ifxx(address, X86Constants.JE); | visit_ifxx(Item.REFERENCE, address, X86Constants.JE); | public final void visit_ifnull(int address) { visit_ifxx(address, X86Constants.JE); } |
private void visit_ifxx(int address, int jccOpcode) { | private void visit_ifxx(int type, int address, int jccOpcode) { | private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... |
RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); | Item v; Register r; if (type == Item.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } else { IntItem vi = vstack.popInt(); vi.load(eContext); r = vi.getRegister(); v = vi; } v.release(eContext); | private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... |
v.release(eContext); | private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... | |
requestRegister(ECX, shift); | if (shift.getKind() != Item.CONSTANT) { requestRegister(ECX, shift); shift.loadTo(eContext, ECX); } | public final void visit_ishl() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... |
shift.loadToIf(eContext, ~Item.CONSTANT, ECX); | public final void visit_ishl() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... | |
requestRegister(ECX, shift); | if (shift.getKind() != Item.CONSTANT) { requestRegister(ECX, shift); shift.loadTo(eContext, ECX); } | public final void visit_ishr() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... |
shift.loadToIf(eContext, ~Item.CONSTANT, ECX); | public final void visit_ishr() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... | |
return INT; | res = INT; break; | 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; ... |
return FLOAT; | res = FLOAT; break; | 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; ... |
return REFERENCE; | res = REFERENCE; break; | 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; ... |
return LONG; | res = LONG; break; | 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; ... |
return DOUBLE; | res = DOUBLE; break; | 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; ... |
return res; | 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; ... | |
Item popItem(int type) { | Item popItem() { | 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; } |
pushStack(type); | pushStack(Item.UNKNOWN); | 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; } |
stack[tos] =null; if (i.getType() != type) throw new VerifyError(); | stack[tos] = null; | 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; } |
public Object addToEnvironment (String propName, | Object addToEnvironment (String propName, | public Object addToEnvironment (String propName, Object propVal) throws NamingException; |
public void bind (Name name, Object obj) throws NamingException; | void bind (Name name, Object obj) throws NamingException; | public void bind (Name name, Object obj) throws NamingException; |
public void close () throws NamingException; | void close () throws NamingException; | public void close () throws NamingException; |
public Name composeName (Name name, Name prefix) throws NamingException; | Name composeName (Name name, Name prefix) throws NamingException; | public Name composeName (Name name, Name prefix) throws NamingException; |
public Context createSubcontext (Name name) throws NamingException; | Context createSubcontext (Name name) throws NamingException; | public Context createSubcontext (Name name) throws NamingException; |
public void destroySubcontext (Name name) throws NamingException; | void destroySubcontext (Name name) throws NamingException; | public void destroySubcontext (Name name) throws NamingException; |
public String getNameInNamespace () throws NamingException; | String getNameInNamespace () throws NamingException; | public String getNameInNamespace () throws NamingException; |
public NameParser getNameParser (Name name) throws NamingException; | NameParser getNameParser (Name name) throws NamingException; | public NameParser getNameParser (Name name) throws NamingException; |
public NamingEnumeration list (Name name) throws NamingException; | NamingEnumeration list (Name name) throws NamingException; | public NamingEnumeration list (Name name) throws NamingException; |
public NamingEnumeration listBindings (Name name) throws NamingException; | NamingEnumeration listBindings (Name name) throws NamingException; | public NamingEnumeration listBindings (Name name) throws NamingException; |
public Object lookupLink (Name name) throws NamingException; | Object lookupLink (Name name) throws NamingException; | public Object lookupLink (Name name) throws NamingException; |
public Object removeFromEnvironment (String propName) throws NamingException; | Object removeFromEnvironment (String propName) throws NamingException; | public Object removeFromEnvironment (String propName) throws NamingException; |
public void rename (Name oldName, Name newName) throws NamingException; | void rename (Name oldName, Name newName) throws NamingException; | public void rename (Name oldName, Name newName) throws NamingException; |
return findRule((Element)elem.getParentNode(),property,inherit); | Node parent = elem.getParentNode(); if(parent instanceof Element) { return findRule((Element)elem.getParentNode(),property,inherit); } | 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... |
ClientBrowserDelegate stub = new ClientBrowserDelegate(browserID, serverPeer.getLocator()); | ClientBrowserDelegate stub = new ClientBrowserDelegate(browserID); | 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"); } ... |
ClientConsumerDelegate stub = new ClientConsumerDelegate(consumerID, serverPeer.getLocator()); | ClientConsumerDelegate stub = new ClientConsumerDelegate(consumerID); | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... |
ClientProducerDelegate d = new ClientProducerDelegate(producerID, serverPeer.getLocator()); | ClientProducerDelegate d = new ClientProducerDelegate(producerID); | 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 Subscription(Topic topic, String selector, MessageStoreDelegate ms) | public Subscription(Topic topic, String selector, boolean noLocal, MessageStoreDelegate ms) | public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } |
this("sub" + new GUID().toString(), topic, selector, ms, null); | this("sub" + new GUID().toString(), topic, selector, noLocal, ms, null); | public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } |
String selector, boolean noLocal) | String selector, boolean noLocal, JBossDestination dest) | protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { if (trace) { log.trace("creating consume... |
this.destination = dest; | protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { if (trace) { log.trace("creating consume... | |
throws NotImplementedException | protected void installKeyboardActions() { // FIXME: implement } | |
throws NotImplementedException | protected void uninstallKeyboardActions() { // FIXME: implement. } | |
session.addAsfMessage(m, consumerID, channelID, maxDeliveries); | session.addAsfMessage(m, consumerID, channelID, maxDeliveries, sess); | 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"); }... |
s.createDurableSubscriber(topic, "uzzi"); | MessageConsumer cons = s.createDurableSubscriber(topic, "uzzi"); | 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... |
cons.close(); | 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... | |
if (!(in instanceof JMSObjectInputStream)) | if (!(in instanceof JBossObjectInputStream)) | 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... |
throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); | throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); | 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... |
JMSObjectInputStream ois = (JMSObjectInputStream)in; DataInputStream dis = ois.getDataInputStream(); byte formatType = (byte)dis.read(); | JBossObjectInputStream ois = (JBossObjectInputStream)in; byte formatType = (byte)ois.read(); | 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... |
MethodInvocation mi = readHeader(dis); | MethodInvocation mi = readHeader(ois); | 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... |
byte messageType = dis.readByte(); | byte messageType = ois.readByte(); | 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... |
boolean wait = dis.readBoolean(); | boolean wait = ois.readBoolean(); | 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... |
int consumerID = dis.readInt(); | int consumerID = ois.readInt(); | 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... |
byte type = dis.readByte(); | byte type = ois.readByte(); | 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... |
int deliveryCount = dis.readInt(); | int deliveryCount = ois.readInt(); | 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... |
private MethodInvocation readHeader(DataInputStream dis) throws IOException | private MethodInvocation readHeader(ObjectInputStream ois) throws IOException | 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... |
int objectId = dis.readInt(); | int objectId = ois.readInt(); | 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... |
long methodHash = dis.readLong(); | long methodHash = ois.readLong(); | 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... |
if (!(out instanceof JMSObjectOutputStream)) | if (!(out instanceof JBossObjectOutputStream)) | 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; ... |
throw new IllegalStateException("OutputStream must be an JMSObjectOutputStream"); | throw new IllegalStateException("OutputStream must be an JBossObjectOutputStream"); | 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; ... |
JMSObjectOutputStream oos = (JMSObjectOutputStream)out; DataOutputStream dos = oos.getDataOutputStream(); | JBossObjectOutputStream oos = (JBossObjectOutputStream)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; ... |
dos.writeByte(SEND); | oos.writeByte(SEND); | 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; ... |
writeHeader(mi, dos); | writeHeader(mi, oos); | 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; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.