bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void write(DataOutputStream out) throws IOException { out.writeUTF(nodeId); } | public void write(DataOutputStream out) throws IOException { out.writeInt(nodeId); } | 36,552 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != nul... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("message " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != null... | 36,553 |
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != nul... | public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } MessageReference ref = super.getReference(r.getMessageID()); if (ref != nul... | 36,554 |
public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); bindPort = PortUtil.findFreePort("localhost"); serverLocator = ne... | public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); serverLocator = new InvokerLocator(serverLocatorURI); ... | 36,555 |
public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); bindPort = PortUtil.findFreePort("localhost"); serverLocator = ne... | public JMSRemotingConnection(String serverLocatorURI) throws Throwable { callbackManager = new CallbackManager(); id = new GUID().toString(); thisAddress = InetAddress.getLocalHost().getHostAddress(); bindPort = PortUtil.findFreePort("localhost"); serverLocator = ne... | 36,556 |
protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | 36,557 |
protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | protected void setUpConnection() throws Throwable { if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + serverLocator); } String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat&" ... | 36,558 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | 36,559 |
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(JMSException e) { if (trace) { log.trace("Caught JMSException:" + e); } Exception linked = e.getLinkedException(); if (linked != null) ... | 36,560 |
private void logCause(Throwable e) { if (e.getCause() != null) { log.error("Cause of exception:", e.getCause()); } } | private void logCause(Throwable e) { Throwable e2 = e.getCause(); if (e2 != null) { log.error("Cause of exception:", e.getCause()); } } | 36,561 |
private void logCause(Throwable e) { if (e.getCause() != null) { log.error("Cause of exception:", e.getCause()); } } | private void logCause(Throwable e) { if (e.getCause() != null) { log.error("Cause of exception:", e2); logCause(e2); } } | 36,562 |
public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside)... | public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside)... | 36,565 |
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | 36,566 |
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); Shape ret = null; if (childIndex != -1) { View child = getView(childIndex); Shape childAlloc = getChildAllocation(childIndex, a); if (childAlloc... | 36,567 |
public final int getOutputSize(int inputLength) throws IllegalStateException { if (cipherSpi == null) { return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engin... | public final int getOutputSize(int inputLength) throws IllegalStateException if (cipherSpi == null) return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engineGe... | 36,568 |
public final int getOutputSize(int inputLength) throws IllegalStateException { if (cipherSpi == null) { return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engin... | public final int getOutputSize(int inputLength) throws IllegalStateException { if (cipherSpi == null) { return inputLength; } if (state != ENCRYPT_MODE && state != DECRYPT_MODE) { throw new IllegalStateException("neither encrypting nor decrypting"); } return cipherSpi.engin... | 36,569 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 36,572 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 36,573 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return new AccessibleJFileChooser(); } | 36,574 |
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); anonProducer.send(topic2, m1); } catch(Exception e) { log.error(e); ... | public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); topicProducer.send(m1); } catch(Exception e) { log.error(e); } ... | 36,576 |
public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, long timeToStart, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numCon... | public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numConnections, ... | 36,578 |
public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, long timeToStart, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numCon... | public BrowserJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, int numMessages, long timeToStart, String selector) { super (slaveURL, jndiProperties, destinationName, connectionFactoryJndiName, numCon... | 36,579 |
public boolean add(Receiver receiver) { throw new NotYetImplementedException(); } | public void add(Delivery delivery) { throw new NotYetImplementedException(); } | 36,580 |
protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | 36,581 |
public void addPropertyChangeListener (PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (listener); } | public void addPropertyChangeListener (PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (listener); } | 36,582 |
public void remove(int index) { synchronized (getTreeLock ()) { Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); if (r.isShowing()) r.removeNo... | public void remove(int index) { synchronized (getTreeLock ()) { Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); if (r.isShowing()) r.removeNo... | 36,583 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 36,584 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; if(!gfx.hitClip(bounds.x,bounds.y, bounds.width, bounds.height)) return; if (cl... | 36,585 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 36,586 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 36,587 |
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 36,588 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; JMSInvocationHandler handler = mi.getHandler(); Method m = mi.getMethod(); if (m.getName().equals("createConsumerD... | 36,589 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); SimpleMetaData invocationMetaData = invocation.getMetaData()... | 36,590 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 36,591 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 36,592 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 36,593 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); if (m.getName().equals("createConsumerDelegate")) { // register/unregister... | 36,594 |
public static EditorKit createEditorKitForContentType(String type) { return new PlainEditorKit(); } | public static EditorKit createEditorKitForContentType(String type) { EditorKit e = null; String className = (String)registerMap.get(type); if (className != null) { try { e = (EditorKit) Class.forName(className).newInstance(); } catch (Exception e2) { } } return e; } | 36,597 |
public static String getEditorKitClassNameForContentType(String type) { return "text/plain"; } | public static String getEditorKitClassNameForContentType(String type) { return (String) registerMap.get(type); } | 36,598 |
public EditorKit getEditorKitForContentType(String type) { return editorKit; } | public EditorKit getEditorKitForContentType(String type) { EditorKit e = (EditorKit) editorMap.get(type); if (e == null) e = createEditorKitForContentType(type); if (e == null) e = new PlainEditorKit(); return e; } | 36,599 |
public void setText(String t) { super.setText(t); } | public void setText(String t) { try { Document doc = getDocument(); doc.remove(0, doc.getLength()); if (t == null || t == "") return; getEditorKit().read(new StringReader(t), doc, 0); } | 36,603 |
public void paint(Context c, Box box) { //Uu.p("BoxRenderer.paint " + box); Box block = (Box) box; //set the current style CascadedStyle hoverStyle = null; if (block.content.getStyle() != null) { c.pushStyle(block.content.getStyle()); if (block.hover) { ... | public void paint(Context c, Box box) { //Uu.p("BoxRenderer.paint " + box); Box block = (Box) box; //set the current style CascadedStyle hoverStyle = null; if (block.content.getStyle() != null) { c.pushStyle(block.content.getStyle()); if (block.hover) { ... | 36,605 |
public ServerConnectionDelegate(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; sessionIDCounter = 0; sessions = new HashMap(); temporaryDestinations = new HashSet(); started = false; connectionID = new GUID().toString(); ... | public ServerConnectionDelegate(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; sessionIDCounter = 0; sessions = new HashMap(); temporaryDestinations = new HashSet(); started = false; connectionID = new GUID().toString(); ... | 36,607 |
public ServerSessionDelegate getSessionDelegate(String sessionID) { synchronized(sessions) { return (ServerSessionDelegate)sessions.get(sessionID); } } | public ServerSessionDelegate getSessionDelegate(String sessionID) { synchronized(sessions) { return (ServerSessionDelegate)sessions.get(sessionID); } } | 36,608 |
public ServerSessionDelegate putSessionDelegate(String sessionID, ServerSessionDelegate d) { synchronized(sessions) { return (ServerSessionDelegate)sessions.put(sessionID, d); } } | public ServerSessionDelegate putSessionDelegate(String sessionID, ServerSessionDelegate d) { synchronized(sessions) { return (ServerSessionDelegate)sessions.put(sessionID, d); } } | 36,609 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); bodyReadOnly = in.readBoolean(); isByteArray = in.readBoolean(); int length = in.readInt(); if (length < 0) { payload = null; } else { payload =... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); isByteArray = in.readBoolean(); int length = in.readInt(); if (length < 0) { payload = null; } else { payload = new byte[length]; in.re... | 36,610 |
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeBoolean(bodyReadOnly); out.writeBoolean(isByteArray); if (payload == null) { out.writeInt(-1); } else { out.writeInt(((byte[])payload).length); out.wri... | public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeBoolean(isByteArray); if (payload == null) { out.writeInt(-1); } else { out.writeInt(((byte[])payload).length); out.write((byte[])payload); } } | 36,611 |
public void paint(Graphics g) { int b = borderWidth; Graphics2D g2 = (Graphics2D)g; Dimension d = getSize(); boolean tmp = selected; // g.setColor(Color.lightGray); if(super.isOpaque()) { g.setColor(super.getBackground()); g.fillRect(b - 1, b - 1, d.width - b, d.height - b); }... | public void paint(Graphics g) { int b = borderWidth; Graphics2D g2 = (Graphics2D)g; Dimension d = getSize(); boolean tmp = selected; // g.setColor(Color.lightGray); if(super.isOpaque()) { g.setColor(super.getBackground()); g.fillRect(b - 1, b - 1, d.width - b, d.height - b); }... | 36,612 |
protected void doTransactionCommit(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); TransactionRepository txRep = new TransactionRepository(pm, new IdManager("TRANSACTION_ID", 10, pm)); txRep.start(); log.debug("transaction log ... | protected void doTransactionCommit(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); IdManager idm = new IdManager("TRANSACTION_ID", 10, pm); idm.start(); TransactionRepository txRep = new TransactionRepository(pm, idm); txRep.start(... | 36,613 |
protected void doTransactionRollback(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); TransactionRepository txRep = new TransactionRepository(pm, new IdManager("TRANSACTION_ID", 10, pm)); txRep.start(); Message[] messages = cre... | protected void doTransactionRollback(boolean xa, boolean batch) throws Throwable { doSetup(batch, 100); Channel channel = new SimpleChannel(0, ms); IdManager idm = new IdManager("TRANSACTION_ID", 10, pm); idm.start(); TransactionRepository txRep = new TransactionRepository(pm, idm); txRep.star... | 36,614 |
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there is fir... | public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { c.pushStyle(_style); if (ContentUtil.mayHaveFirstLine(c.getCurrentStyle())) { ... | 36,615 |
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there is fir... | public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there is fir... | 36,616 |
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))... | public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))... | 36,623 |
public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | public void positionAbsoluteChild(Context c, Box child_box) { //u.p("modifying it"); BlockFormattingContext bfc = c.getBlockFormattingContext(); // u.p("bfc = " + bfc); // u.p("child = " + child_box); // u.p("parent = " + child_box.getParent()); // u.p("width = " + bfc.getW... | 36,624 |
boolean shutdown(String nodeId) throws Exception; | boolean shutdown(int nodeId) throws Exception; | 36,628 |
boolean startup(String nodeId) throws Exception; | boolean startup(int nodeId) throws Exception; | 36,629 |
public static InlineBox createInline(Context c, TextContent content, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.content = content; CalculatedStyle style = c.getCurrentStyle(); inline.whitespace = getWhitespace(style);... | public static InlineBox createInline(Context c, TextContent content, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.content = content; CalculatedStyle style = c.getCurrentStyle(); inline.whitespace = getWhitespace(style);... | 36,630 |
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | 36,631 |
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst... | 36,632 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | static boolean stripWhitespace(CalculatedStyle style, boolean collapseLeading, TextContent tc) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") |... | 36,633 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = style.getStringProperty(CSSName.WHITE_SPACE); String text = tc.getText(); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do s... | 36,634 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | 36,635 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | 36,636 |
public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | public static String stripWhitespace(CalculatedStyle style, InlineBox prev, String text) { String whitespace = getWhitespace(style); //Uu.p("stripWhitespace: text = -" + text + "-"); //Uu.p("whitespace = " + whitespace); // do step 1 if (whitespace.equals("normal") || ... | 36,637 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | 36,639 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException x) ... | 36,640 |
public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) ... | public static CertPathBuilder getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); lastException = x; catch (NoSuchAlgorithmExcep... | 36,641 |
public static boolean isOutsideNormalFlow(Box box) { if (box.fixed) { return true; } if (box.isAbsolute()) { //u.p("box is abs: " + box); return true; } if (box.floated) { return true; } return false; } | public static boolean isOutsideNormalFlow(Box box) { if (box.fixed) { return true; } if (box.absolute) { //u.p("box is abs: " + box); return true; } if (box.floated) { return true; } return false; } | 36,643 |
public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | public static String convertIdent( CSSName cssName, String ident ) { String val = ident; if ( cssName == CSSName.FONT_SIZE ) { String size = (String)FONT_SIZES.get( ident ); val = ( size == null ? ident : size ); } else if ( cssName == CSSName.FONT_WEIGHT ) { St... | 36,644 |
public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | public static String getColorHex( String value ) { if ( value == null ) { throw new XRRuntimeException( "value is null on getColorHex()" ); } String retval = (String)COLOR_MAP.get( value.toLowerCase() ); if ( retval == null ) { if ( value.indexOf( "rgb" ) >= 0 ) { ... | 36,645 |
protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | 36,646 |
protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); log.trace("Resetting message data. This may take several m... | 36,647 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Serve... | 36,648 |
protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | protected void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployTopic("TestTopic"); Se... | 36,649 |
protected void tearDown() throws Exception { ServerManagement.undeployTopic("TestTopic"); ServerManagement.undeployQueue("TestQueue"); super.tearDown(); } | public void tearDown() throws Exception { ServerManagement.undeployTopic("TestTopic"); ServerManagement.undeployQueue("TestQueue"); super.tearDown(); } | 36,650 |
public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | 36,651 |
public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | 36,652 |
public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | 36,653 |
public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } el... | 36,654 |
ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception; | ServerInvocationHandler addInvocationHandler(String subsystem, ServerInvocationHandler h) throws Exception; | 36,655 |
void removeInvocationHandler(String s) throws Exception; | void removeInvocationHandler(String subsystem) throws Exception; | 36,656 |
public void test_Simple_NTNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... | public void test_Simple_NTNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... | 36,657 |
public void test_Simple_NTNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... | public void test_Simple_NTNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... | 36,658 |
public void test_Simple_NTNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... | public void test_Simple_NTNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... | 36,659 |
public void test_Simple_NTNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... | public void test_Simple_NTNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... | 36,660 |
public void test_Simple_NTNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... | public void test_Simple_NTNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... | 36,661 |
public void test_Simple_NTNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons =... | public void test_Simple_NTNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons =... | 36,662 |
public void test_Simple_NTNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer con... | public void test_Simple_NTNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer con... | 36,663 |
public void test_Simple_NTNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer con... | public void test_Simple_NTNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer con... | 36,664 |
public void test_Simple_NTNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons ... | public void test_Simple_NTNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons ... | 36,665 |
public void test_Simple_NTNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceiv... | public void test_Simple_NTNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceiv... | 36,666 |
public void test_Simple_NTP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = s... | public void test_Simple_NTP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = s... | 36,667 |
public void test_Simple_NTP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons ... | public void test_Simple_NTP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons ... | 36,668 |
public void test_Simple_NTP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons ... | public void test_Simple_NTP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons ... | 36,669 |
public void test_Simple_NTP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = ... | public void test_Simple_NTP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = ... | 36,670 |
public void test_Simple_NTP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.... | public void test_Simple_NTP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.... | 36,671 |
public void test_Simple_NTP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... | public void test_Simple_NTP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... | 36,672 |
public void test_Simple_NTP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... | public void test_Simple_NTP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... | 36,673 |
public void test_Simple_NTP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... | public void test_Simple_NTP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... | 36,674 |
public void test_Simple_NTP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... | public void test_Simple_NTP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... | 36,675 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.