bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public boolean hasNext() { checkMod(); return (next != null); }
public boolean hasNext() { return (next != null); }
46,142
public boolean hasPrevious() { checkMod(); return (previous != null); }
public boolean hasPrevious() { return (previous != null); }
46,143
public int nextIndex() { checkMod(); return position; }
public int nextIndex() { return position; }
46,144
public int previousIndex() { checkMod(); return position - 1; }
public int previousIndex() { return position - 1; }
46,145
public T remove(int index) { checkBoundsExclusive(index); Entry<T> e = getEntry(index); removeEntry(e); return e.data; }
public boolean remove(Object o) { checkBoundsExclusive(index); Entry<T> e = getEntry(index); removeEntry(e); return e.data; }
46,146
public T remove(int index) { checkBoundsExclusive(index); Entry<T> e = getEntry(index); removeEntry(e); return e.data; }
public T remove(int index) { checkBoundsExclusive(index); Entry<T> e = getEntry(index); removeEntry(e); return e.data; }
46,147
public abstract BigInteger getPrivateExponent();
public abstract BigInteger getPrivateExponent();
46,149
public Layout getLayout(Context c, Node elem) { //u.p("getting layout for node: " + elem); // we have to do the inputs manually since they don't depend on // the element name if (elem.getNodeType() == elem.ELEMENT_NODE) { if (elem.getNodeName().equals("input")) { ...
public Layout getLayout(Context c, Node elem) { //u.p("getting layout for node: " + elem); // we have to do the inputs manually since they don't depend on // the element name if (elem.getNodeType() == elem.ELEMENT_NODE) { if (elem.getNodeName().equals("input")) { ...
46,151
private void initializeLayouts() { InlineLayout inline = new InlineLayout(); BoxLayout block = new BoxLayout(); addDisplayLayout("block", inline); addDisplayLayout("inline", inline); addDisplayLayout("list-item", inline); addDisplayLayout("none", inline); addCustomLa...
private void initializeLayouts() { InlineLayout inline = new InlineLayout(); addDisplayLayout("block", inline); addDisplayLayout("inline", inline); addDisplayLayout("list-item", inline); addDisplayLayout("none", inline); addCustomLayout("ol", new ListLayout()); ...
46,152
public AnonymousBoxLayout() { }
public AnonymousBoxLayout() { }
46,153
public Object handleAddAsfMessage(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("addAsfMessage"); } MethodInvocation mi = (MethodInvocation)invocation; //Load the session with a message to be processed during a subsequent call to run() Message m = (...
public Object handleAddAsfMessage(Invocation invocation) throws Throwable { if (trace) { log.trace("addAsfMessage"); } MethodInvocation mi = (MethodInvocation)invocation; //Load the session with a message to be processed during a subsequent call to run() Message m = (Message)mi.getA...
46,157
public Object handleAddAsfMessage(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("addAsfMessage"); } MethodInvocation mi = (MethodInvocation)invocation; //Load the session with a message to be processed during a subsequent call to run() Message m = (...
public Object handleAddAsfMessage(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("addAsfMessage"); } MethodInvocation mi = (MethodInvocation)invocation; //Load the session with a message to be processed during a subsequent call to run() Message m = (...
46,158
public Object handleAddAsfMessage(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("addAsfMessage"); } MethodInvocation mi = (MethodInvocation)invocation; //Load the session with a message to be processed during a subsequent call to run() Message m = (...
public Object handleAddAsfMessage(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("addAsfMessage"); } MethodInvocation mi = (MethodInvocation)invocation; //Load the session with a message to be processed during a subsequent call to run() Message m = (...
46,159
public Object handleCreateConnectionConsumer(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("createConnectionConsumer"); } MethodInvocation mi = (MethodInvocation)invocation; Destination dest = (Destination)mi.getArguments()[0]; String subscriptionNa...
public Object handleCreateConnectionConsumer(Invocation invocation) throws Throwable { if (trace) { log.trace("createConnectionConsumer"); } MethodInvocation mi = (MethodInvocation)invocation; Destination dest = (Destination)mi.getArguments()[0]; String subscriptionName = (String)mi...
46,160
public Object handleGetMessageListener(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("getMessageListener"); } return sessionListener; }
public Object handleGetMessageListener(Invocation invocation) throws Throwable { if (trace) { log.trace("getMessageListener"); } return sessionListener; }
46,161
public Object handleRun(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("run"); } MethodInvocation mi = (MethodInvocation)invocation; SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = getSessionState(invocation).ge...
public Object handleRun(Invocation invocation) throws Throwable { if (trace) { log.trace("run"); } MethodInvocation mi = (MethodInvocation)invocation; SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = getSessionState(invocation).getAcknowledgeMod...
46,162
public Object handleSetMessageListener(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("setMessageListener"); } MethodInvocation mi = (MethodInvocation)invocation; MessageListener listener = (MessageListener)mi.getArguments()[0]; if (listener ==...
public Object handleSetMessageListener(Invocation invocation) throws Throwable { if (trace) { log.trace("setMessageListener"); } MethodInvocation mi = (MethodInvocation)invocation; MessageListener listener = (MessageListener)mi.getArguments()[0]; if (listener == null) { ...
46,163
public JBossConnectionConsumer(ConnectionDelegate conn, JBossDestination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); this.destination = des...
public JBossConnectionConsumer(ConnectionDelegate conn, JBossDestination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTrac...
46,164
public JBossConnectionConsumer(ConnectionDelegate conn, JBossDestination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); this.destination = des...
public JBossConnectionConsumer(ConnectionDelegate conn, JBossDestination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); this.destination = des...
46,165
public void setUp() throws Exception { super.setUp(); ms = new PagingMessageStore("s14"); channel = new Queue(1, ms, pm, true, 100, 20, 10); tr.start(pm); }
public void setUp() throws Exception { super.setUp(); ms = new SimpleMessageStore("s14"); channel = new Queue(1, ms, pm, true, 100, 20, 10); tr.start(pm); }
46,166
public void cancelTest() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProduc...
public void cancelTest() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProduc...
46,167
public void testAutoAck1() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProduc...
public void testAutoAck1() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProduc...
46,168
public void testAutoAck2() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProduc...
public void testAutoAck2() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProduc...
46,169
public void testClientAck1() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testClientAck1() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,170
public void testClientAck1() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testClientAck1() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,171
public void testClientAck2() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testClientAck2() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,172
public void testClientAck2() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testClientAck2() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,173
public void testRedelivery() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testRedelivery() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,174
public void testRedelivery() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testRedelivery() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,175
public void testRedelivery() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
public void testRedelivery() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessagePr...
46,176
public void testTransactionCommit() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); Mes...
public void testTransactionCommit() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); Mes...
46,177
public void testTransactionCommit() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); Mes...
public void testTransactionCommit() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); Mes...
46,178
public void testTransactionRollback() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); M...
public void testTransactionRollback() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); M...
46,179
public void testTransactionRollback() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); M...
public void testTransactionRollback() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); M...
46,180
public void testTransactionRollback() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); M...
public void testTransactionRollback() throws Exception { if (ServerManagement.isRemote()) return; MessageStore store = ServerManagement.getMessageStore(); Connection conn = cf.createConnection(); Session sess = conn.createSession(true, Session.SESSION_TRANSACTED); M...
46,181
public static int getBaselineOffset(Context c, LineBox curr_line, InlineBox new_inline) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof InlineTextBox) { // should be the metrics of the fo...
public static int getBaselineOffset(Context c, LineBox curr_line, InlineBox new_inline) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof InlineTextBox) { // should be the metrics of the fo...
46,182
public boolean getTransacted() { log.warn("getTransacted should not be handled at the server endpoint"); return false; }
public boolean getTransacted() throws JMSException { log.warn("getTransacted should not be handled at the server endpoint"); return false; }
46,186
public InsufficientResourcesException() { super(); }
public InsufficientResourcesException() { super(); }
46,187
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
protected void executeRenderThread(Context c, Box root) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphic...
46,188
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
46,189
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
renderPagedView(c, root); } long after = System.currentTimeMillis(); if (Configuration.isTrue("xr.incremental.repaint.print-timing", false)) { Uu.p("repaint took ms: " + (after - start)); renderPagedView(c, root); } long after = System.currentTimeMillis(); if (Configuration.isTrue("xr.incremental.repaint.print-timing",...
46,190
public void printTree() { printTree(this.body_box, ""); }
public void printTree() { printTree(getRootBox(), ""); }
46,191
protected Context newContext(Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getViewportBorderBounds();...
protected Context newContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getView...
46,192
protected Context newContext(Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getViewportBorderBounds();...
protected Context newContext(Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.getContentWidth(), (int) pageInfo.getCon...
46,193
protected Context newContext(Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getViewportBorderBounds();...
protectedContextnewContext(Graphics2Dg){XRLog.layout(Level.FINEST,"newcontextbegin");getContext().setCanvas(this);getContext().setGraphics(g);Rectangleextents;if(enclosingScrollPane!=null){Rectanglebnds=enclosingScrollPane.getViewportBorderBounds();extents=newRectangle(0,0,bnds.width,bnds.height);//Uu.p("bnds="+bnds);}...
46,194
protected Context newContext(Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getViewportBorderBounds();...
protected Context newContext(Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getContext().setCanvas(this); getContext().setGraphics(g); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getViewportBorderBounds();...
46,195
public void clearBody() throws JMSException { payload = new HashMap(); bodyReadOnly = false; super.clearBody(); }
public void clearBody() throws JMSException { payload = new HashMap(); bodyReadOnly = false; super.clearBody(); }
46,196
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); bodyReadOnly = in.readBoolean(); payload = (Serializable)readMap(in); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); payload = (Serializable)readMap(in); }
46,197
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeBoolean(bodyReadOnly); writeMap(out, ((Map)payload)); }
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); writeMap(out, ((Map)payload)); }
46,198
Array getArray(int i) throws SQLException;
Array getArray(int i) throws SQLException;
46,199
Blob getBlob(int i) throws SQLException;
Blob getBlob(int i) throws SQLException;
46,200
boolean getBoolean(String columnName) throws SQLException;
boolean getBoolean(String columnName) throws SQLException;
46,201
Clob getClob(int i) throws SQLException;
Clob getClob(int i) throws SQLException;
46,202
Ref getRef(int i) throws SQLException;
Ref getRef(int i) throws SQLException;
46,203
void updateArray(int columnIndex, Array x) throws SQLException;
void updateArray(int columnIndex, Array x) throws SQLException;
46,204
void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException;
void updateAsciiStream(int columnIndex, InputStream stream, int count) throws SQLException;
46,205
void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException;
void updateBigDecimal(int columnIndex, BigDecimal value) throws SQLException;
46,206
void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException;
void updateBinaryStream(int columnIndex, InputStream stream, int count) throws SQLException;
46,207
void updateBlob(int columnIndex, Blob x) throws SQLException;
void updateBlob(int columnIndex, Blob x) throws SQLException;
46,208
void updateBoolean(int columnIndex, boolean x) throws SQLException;
void updateBoolean(int columnIndex, boolean x) throws SQLException;
46,209
void updateByte(int columnIndex, byte x) throws SQLException;
void updateByte(int columnIndex, byte x) throws SQLException;
46,210
void updateBytes(int columnIndex, byte[] x) throws SQLException;
void updateBytes(int columnIndex, byte[] x) throws SQLException;
46,211
void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException;
void updateCharacterStream(int columnIndex, Reader reader, int count) throws SQLException;
46,212
void updateClob(int columnIndex, Clob x) throws SQLException;
void updateClob(int columnIndex, Clob x) throws SQLException;
46,213
void updateDate(int columnIndex, Date x) throws SQLException;
void updateDate(int columnIndex, Date x) throws SQLException;
46,214
void updateDouble(int columnIndex, double x) throws SQLException;
void updateDouble(int columnIndex, double x) throws SQLException;
46,215
void updateFloat(int columnIndex, float x) throws SQLException;
void updateFloat(int columnIndex, float x) throws SQLException;
46,216
void updateInt(int columnIndex, int x) throws SQLException;
void updateInt(int columnIndex, int x) throws SQLException;
46,217
void updateLong(int columnIndex, long x) throws SQLException;
void updateLong(int columnIndex, long x) throws SQLException;
46,218
void updateObject(int columnIndex, Object x, int scale) throws SQLException;
void updateObject(int columnIndex, Object value, int scale) throws SQLException;
46,219
void updateRef(int columnIndex, Ref x) throws SQLException;
void updateRef(int columnIndex, Ref x) throws SQLException;
46,220
void updateShort(int columnIndex, short x) throws SQLException;
void updateShort(int columnIndex, short x) throws SQLException;
46,221
void updateString(int columnIndex, String x) throws SQLException;
void updateString(int columnIndex, String x) throws SQLException;
46,222
void updateTime(int columnIndex, Time x) throws SQLException;
void updateTime(int columnIndex, Time x) throws SQLException;
46,223
void updateTimestamp(int columnIndex, Timestamp x) throws SQLException;
void updateTimestamp(int columnIndex, Timestamp value) throws SQLException;
46,224
protected Font resolveFont(Context c, String font, float size, String weight, String style) { // normalize the font name if(font.equals("serif")) { font = "Serif"; } if(font.equals("sans-serif")) { font = "SansSerif"; } if(font.equals("monospace")) { ...
protected Font resolveFont(Context c, String font, float size, String weight, String style) { // normalize the font name if(font.equals("serif")) { font = "Serif"; } if(font.equals("sans-serif")) { font = "SansSerif"; } if(font.equals("monospace")) { ...
46,226
public void testDurableSubscriptionMultipleSubscriptions() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = null; Connection conn2 = null; try { conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Sess...
public void testDurableSubscriptionMultipleSubscriptions() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = null; Connection conn2 = null; try { conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Sess...
46,227
public int getType() { return JBossTextMessage.TYPE; }
public byte getType() { return JBossTextMessage.TYPE; }
46,228
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
46,229
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; config.put(Client.ENABLE_LEASE, String.valueOf(clientPing)); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress...
46,230
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
46,231
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
46,232
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
public JMSRemotingConnection(String serverLocatorURI, boolean clientPing) throws Throwable { this.clientPing = clientPing; id = new GUID().toString(); callbackManager = new CallbackManager(); serverLocator = new InvokerLocator(serverLocatorURI); thisAddress = InetAddress.getLocalHost().get...
46,233
public void close() throws Throwable { log.debug(this + " closing"); callbackServer.stop(); callbackServer.destroy(); client.disconnect(); log.debug(this + " closed"); }
public void close() throws Throwable { log.debug(this + " closing"); callbackServer.stop(); callbackServer.destroy(); client.disconnect(); log.debug(this + " closed"); }
46,234
public void close() throws Throwable { log.debug(this + " closing"); callbackServer.stop(); callbackServer.destroy(); client.disconnect(); log.debug(this + " closed"); }
public void close() throws Throwable { log.debug(this + " closing"); callbackServer.stop(); callbackServer.destroy(); client.disconnect(); log.debug(this + " closed"); }
46,235
public void run() { try { int count = 0; while (count < (numMessages)) { Message m = cons.receive(RECEIVE_TIMEOUT); if (m != null) { ...
public void run() { try { int count = 0; while (count < (numMessages)) { Message m = cons.receive(RECEIVE_TIMEOUT); if (m != null) { ...
46,236
public BaseThroughputJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages) { super(slaveURL, jndiProperties, destinationName, connectionFactoryJndi...
public BaseThroughputJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart) { super(slaveURL, jndiProperties, destinationName, con...
46,237
private MessageIdGeneratorFactory() { generators = new HashMap(); }
private MessageIdGeneratorFactory() { holders = new HashMap(); }
46,239
public synchronized void clear() { generators.clear(); }
public synchronized void clear() { holders.clear(); }
46,240
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cf) throws JMSException { MessageIdGenerator gen = (MessageIdGenerator)generators.get(serverId); if (gen == null) { gen = new MessageIdGenerator(cf, BLOCK_SIZE); generators.put(serverId, ge...
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cf) throws JMSException { MessageIdGenerator gen = (MessageIdGenerator)generators.get(serverId); if (gen == null) { gen = new MessageIdGenerator(cf, BLOCK_SIZE); generators.put(serverId, ge...
46,241
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cf) throws JMSException { MessageIdGenerator gen = (MessageIdGenerator)generators.get(serverId); if (gen == null) { gen = new MessageIdGenerator(cf, BLOCK_SIZE); generators.put(serverId, ge...
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cf) throws JMSException { MessageIdGenerator gen = (MessageIdGenerator)generators.get(serverId); if (gen == null) { gen = new MessageIdGenerator(cf, BLOCK_SIZE); generators.put(serverId, ge...
46,242
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cf) throws JMSException { MessageIdGenerator gen = (MessageIdGenerator)generators.get(serverId); if (gen == null) { gen = new MessageIdGenerator(cf, BLOCK_SIZE); generators.put(serverId, ge...
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cf) throws JMSException { MessageIdGenerator gen = (MessageIdGenerator)generators.get(serverId); if (gen == null) { gen = new MessageIdGenerator(cf, BLOCK_SIZE); generators.put(serverId, ge...
46,243
public MessageIdGenerator(ConnectionDelegate cd, int blockSize) { this.cd = cd; this.blockSize = blockSize; nextID = Long.MIN_VALUE; high = Long.MIN_VALUE; }
public MessageIdGenerator(ConnectionFactoryDelegate cfd, int blockSize) throws JMSException { this.cd = cd; this.blockSize = blockSize; nextID = Long.MIN_VALUE; high = Long.MIN_VALUE; }
46,244
public MessageIdGenerator(ConnectionDelegate cd, int blockSize) { this.cd = cd; this.blockSize = blockSize; nextID = Long.MIN_VALUE; high = Long.MIN_VALUE; }
public MessageIdGenerator(ConnectionDelegate cd, int blockSize) { this.cfd = cfd; this.blockSize = blockSize; nextID = Long.MIN_VALUE; high = Long.MIN_VALUE; }
46,245
public MessageIdGenerator(ConnectionDelegate cd, int blockSize) { this.cd = cd; this.blockSize = blockSize; nextID = Long.MIN_VALUE; high = Long.MIN_VALUE; }
public MessageIdGenerator(ConnectionDelegate cd, int blockSize) { this.cd = cd; this.blockSize = blockSize; nextID = Long.MIN_VALUE; high = Long.MIN_VALUE; }
46,246
public void addListener(InvokerCallbackHandler callbackHandler) { log.debug("adding callback handler: " + callbackHandler); if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHandler)callbackHandler; String id = h.get...
public void addListener(InvokerCallbackHandler callbackHandler) { log.debug("adding callback handler: " + callbackHandler); if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHandler)callbackHandler; String id = h.ge...
46,247
public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, ...
public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, ...
46,248
public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ...
public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ...
46,249
public void test2PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession...
public void test2PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession...
46,250
public void test2PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ...
public void test2PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ...
46,251