bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
Array getArray(int i) throws SQLException; | Array getArray(int columnIndex) throws SQLException; | 29,510 |
Blob getBlob(int i) throws SQLException; | Blob getBlob(int columnIndex) throws SQLException; | 29,511 |
boolean getBoolean(String columnName) throws SQLException; | boolean getBoolean(int columnIndex) throws SQLException; | 29,512 |
Clob getClob(int i) throws SQLException; | Clob getClob(int columnIndex) throws SQLException; | 29,513 |
Ref getRef(int i) throws SQLException; | Ref getRef(int columnIndex) throws SQLException; | 29,514 |
void updateArray(int columnIndex, Array x) throws SQLException; | void updateArray(int columnIndex, Array value) throws SQLException; | 29,515 |
void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException; | void updateAsciiStream(int columnIndex, InputStream stream, int count) throws SQLException; | 29,516 |
void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException; | void updateBigDecimal(int columnIndex, BigDecimal value) throws SQLException; | 29,517 |
void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException; | void updateBinaryStream(int columnIndex, InputStream stream, int count) throws SQLException; | 29,518 |
void updateBlob(int columnIndex, Blob x) throws SQLException; | void updateBlob(int columnIndex, Blob value) throws SQLException; | 29,519 |
void updateBoolean(int columnIndex, boolean x) throws SQLException; | void updateBoolean(int columnIndex, boolean value) throws SQLException; | 29,520 |
void updateByte(int columnIndex, byte x) throws SQLException; | void updateByte(int columnIndex, byte value) throws SQLException; | 29,521 |
void updateBytes(int columnIndex, byte[] x) throws SQLException; | void updateBytes(int columnIndex, byte[] value) throws SQLException; | 29,522 |
void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException; | void updateCharacterStream(int columnIndex, Reader reader, int count) throws SQLException; | 29,523 |
void updateClob(int columnIndex, Clob x) throws SQLException; | void updateClob(int columnIndex, Clob value) throws SQLException; | 29,524 |
void updateDate(int columnIndex, Date x) throws SQLException; | void updateDate(int columnIndex, Date value) throws SQLException; | 29,525 |
void updateDouble(int columnIndex, double x) throws SQLException; | void updateDouble(int columnIndex, double value) throws SQLException; | 29,526 |
void updateFloat(int columnIndex, float x) throws SQLException; | void updateFloat(int columnIndex, float value) throws SQLException; | 29,527 |
void updateInt(int columnIndex, int x) throws SQLException; | void updateInt(int columnIndex, int value) throws SQLException; | 29,528 |
void updateLong(int columnIndex, long x) throws SQLException; | void updateLong(int columnIndex, long value) throws SQLException; | 29,529 |
void updateObject(int columnIndex, Object x, int scale) throws SQLException; | void updateObject(int columnIndex, Object value, int scale) throws SQLException; | 29,530 |
void updateRef(int columnIndex, Ref x) throws SQLException; | void updateRef(int columnIndex, Ref value) throws SQLException; | 29,531 |
void updateShort(int columnIndex, short x) throws SQLException; | void updateShort(int columnIndex, short value) throws SQLException; | 29,532 |
void updateString(int columnIndex, String x) throws SQLException; | void updateString(int columnIndex, String value) throws SQLException; | 29,533 |
void updateTime(int columnIndex, Time x) throws SQLException; | void updateTime(int columnIndex, Time value) throws SQLException; | 29,534 |
void updateTimestamp(int columnIndex, Timestamp x) throws SQLException; | void updateTimestamp(int columnIndex, Timestamp value) throws SQLException; | 29,535 |
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... | 29,537 |
public int getType() { return JBossTextMessage.TYPE; } | public byte getType() { return JBossTextMessage.TYPE; } | 29,538 |
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... | 29,539 |
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... | 29,540 |
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... | 29,541 |
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... | 29,542 |
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... | 29,543 |
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"); } | 29,544 |
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) { ... | 29,545 |
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... | 29,546 |
private MessageIdGeneratorFactory() { generators = new HashMap(); } | private MessageIdGeneratorFactory() { holders = new HashMap(); } | 29,548 |
public synchronized void clear() { generators.clear(); } | public synchronized void clear() { holders.clear(); } | 29,549 |
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... | 29,550 |
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... | 29,551 |
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... | 29,552 |
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; } | 29,553 |
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; } | 29,554 |
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; } | 29,555 |
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.get... | 29,556 |
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, ... | 29,557 |
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); ... | 29,558 |
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... | 29,559 |
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(); ... | 29,560 |
public void testMultipleSessionsOneTxCommitAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = co... | public void testMultipleSessionsOneTxCommitAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = co... | 29,561 |
public void testMultipleSessionsOneTxCommitAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = co... | public void testMultipleSessionsOneTxCommitAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = co... | 29,562 |
public void testMultipleSessionsOneTxCommitSend() throws Exception { if (ServerManagement.isRemote()) return; //Since both resources have some RM, TM will probably use 1PC optimization XAConnection conn = null; Connection conn2 = null; try { co... | public void testMultipleSessionsOneTxCommitSend() throws Exception { if (ServerManagement.isRemote()) return; //Since both resources have some RM, TM will probably use 1PC optimization XAConnection conn = null; Connection conn2 = null; try { co... | 29,563 |
public void testMultipleSessionsOneTxCommitSend() throws Exception { if (ServerManagement.isRemote()) return; //Since both resources have some RM, TM will probably use 1PC optimization XAConnection conn = null; Connection conn2 = null; try { co... | public void testMultipleSessionsOneTxCommitSend() throws Exception { if (ServerManagement.isRemote()) return; //Since both resources have some RM, TM will probably use 1PC optimization XAConnection conn = null; Connection conn2 = null; try { co... | 29,564 |
public void testMultipleSessionsOneTxRollbackAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = conn2.... | public void testMultipleSessionsOneTxRollbackAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = conn2.... | 29,565 |
public void testMultipleSessionsOneTxRollbackAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = conn2.... | public void testMultipleSessionsOneTxRollbackAcknowledge() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session sessProducer = conn2.... | 29,566 |
public void testMultipleSessionsOneTxRollbackAcknowledge1PCOptimization() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; //Since both resources have some RM, TM will probably use 1PC optimization try { ... | public void testMultipleSessionsOneTxRollbackAcknowledge1PCOptimization() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; //Since both resources have some RM, TM will probably use 1PC optimization try { ... | 29,567 |
public void testMultipleSessionsOneTxRollbackAcknowledge1PCOptimization() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; //Since both resources have some RM, TM will probably use 1PC optimization try { ... | public void testMultipleSessionsOneTxRollbackAcknowledge1PCOptimization() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; //Since both resources have some RM, TM will probably use 1PC optimization try { ... | 29,568 |
public void testMultipleSessionsOneTxRollbackAcknowledgeForceFailureInCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session s... | public void testMultipleSessionsOneTxRollbackAcknowledgeForceFailureInCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { //First send 2 messages conn2 = cf.createConnection(); Session s... | 29,569 |
public void testMultipleSessionsOneTxRollbackSend() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); conn.start(); tm.begin(); ... | public void testMultipleSessionsOneTxRollbackSend() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); conn.start(); tm.begin(); ... | 29,570 |
public void testMultipleSessionsOneTxRollbackSend() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); conn.start(); tm.begin(); ... | public void testMultipleSessionsOneTxRollbackSend() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); conn.start(); tm.begin(); ... | 29,571 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX... | 29,572 |
private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | 29,573 |
public static void setupFloat(Context c, Box box) { if (ContentUtil.isFloated(c.getCurrentStyle())) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = c.getCurrentStyle().getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { ... | public static void setupFloat(Context c, Box box) { if (ContentUtil.isFloated(c.getCurrentStyle())) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = c.getCurrentStyle().getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { ... | 29,574 |
public void alignToStaticEquivalent() { this.y = staticEquivalent.getAbsY() - getAbsY(); setAbsY(staticEquivalent.getAbsY()); } | private void alignToStaticEquivalent() { this.y = staticEquivalent.getAbsY() - getAbsY(); setAbsY(staticEquivalent.getAbsY()); } | 29,575 |
public void calcCanvasLocation() { LineBox lineBox = getLineBox(); if (lineBox == null) { Box parent = getParent(); if (parent != null) { setAbsX(parent.getAbsX() + parent.tx + this.x); setAbsY(parent.getAbsY() + parent.ty + this.y); } els... | public void calcCanvasLocation() { LineBox lineBox = getLineBox(); if (lineBox == null) { Box parent = getParent(); if (parent != null) { setAbsX(parent.getAbsX() + parent.tx + this.x); setAbsY(parent.getAbsY() + parent.ty + this.y); } els... | 29,576 |
public void stop() throws Exception { //NOOP } | public synchronized void stop() throws Exception { //NOOP } | 29,579 |
public void addFirst(Object obj, int priority) { Node node = deques[priority].addFirst(obj); lookUp.put(obj, node); } | public boolean addFirst(Object obj, int priority) { Node node = deques[priority].addFirst(obj); lookUp.put(obj, node); } | 29,581 |
public void addFirst(Object obj, int priority) { Node node = deques[priority].addFirst(obj); lookUp.put(obj, node); } | public void addFirst(Object obj, int priority) { Node node = deques[priority].addFirst(obj); lookUp.put(obj, node); } | 29,582 |
public void addLast(Object obj, int priority) { Node node = deques[priority].addLast(obj); lookUp.put(obj, node); } | public boolean addLast(Object obj, int priority) { Node node = deques[priority].addLast(obj); lookUp.put(obj, node); } | 29,583 |
public void addLast(Object obj, int priority) { Node node = deques[priority].addLast(obj); lookUp.put(obj, node); } | public void addLast(Object obj, int priority) { Node node = deques[priority].addLast(obj); lookUp.put(obj, node); } | 29,584 |
public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException, NotImplementedException { return 0; // TODO: Implement me. } | public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException { return 0; // TODO: Implement me. } | 29,585 |
public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException, NotImplementedException { return 0; // TODO: Implement me. } | public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException, NotImplementedException { return rootView.getNextVisualPositionFrom(pos, b, getVisibl... | 29,586 |
public static final int getPositionBelow(JTextComponent c, int offset, int x) throws BadLocationException { int offs = getRowEnd(c, offset); if(offs == -1) return -1; // Effectively calculates the y value of the previous line. Point pt = c.modelToView(offs+1).getLocation(); pt.x = x; ... | public static final int getPositionBelow(JTextComponent c, int offset, int x) throws BadLocationException { int offs = getRowEnd(c, offset); if(offs == -1) return -1; // Effectively calculates the y value of the previous line. Point pt = null; try { pt = c.modelToView(offs+1).getLocati... | 29,588 |
protected void cancel(long messageID, int consumerID) throws JMSException { if (trace) { log.trace(this + " processing cancel for message " + messageID + " from consumer " + consumerID); } ServerConsumerEndpoint consumer = getConsumerEndpoint(consumerID); if (consumer == null) { throw n... | protected void cancel(long messageID, int consumerID) throws JMSException { if (trace) { log.trace(this + " processing cancel for message " + messageID + " from consumer " + consumerID); } ServerConsumerEndpoint consumer = getConsumerEndpoint(consumerID); if (consumer == null) { throw n... | 29,589 |
protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | 29,590 |
protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | 29,591 |
protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | 29,592 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,593 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,594 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,595 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,596 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,597 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,598 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,599 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,600 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 29,601 |
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { r... | public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { r... | 29,602 |
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { r... | public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { marginWidth.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { ... | 29,603 |
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { r... | public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { m... | 29,604 |
public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { r... | public Border getMarginWidth(Context c, float parentWidth) { Border result = c.getCurrentStyle().getMarginWidth(parentWidth, parentWidth, c.getCtx()); if (this.marginTopOverrideSet) { result.top = (int) this.marginTopOverride; } if (this.marginBottomOverrideSet) { r... | 29,605 |
public synchronized int registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { int id = serverPeer.getNextObjectID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, serverPeer... | public synchronized int registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { int id = serverPeer.getNextObjectID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, serverPeer... | 29,606 |
String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception; | int registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception; | 29,607 |
public void testAddReceiver_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | public void testAddReceiver_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | 29,608 |
public void testAddReceiver_3() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | public void testAddReceiver_3() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | 29,610 |
public void testAddReceiver_5() throws Exception { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | public void testAddReceiver_5() throws Exception { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | 29,611 |
public void testAddReceiver_6() throws Throwable { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | public void testAddReceiver_6() throws Throwable { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | 29,612 |
public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { throw new IllegalStateException("This invocation should not be handled here!"); } | public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { throw new IllegalStateException("This invocation should not be handled here!"); } | 29,613 |
protected Client getClient() { return client; } | protected Client getClient() { return null; } | 29,614 |
public void setEnabled(boolean b) { enable (b); } | public void setEnabled(boolean enabled) { enable (b); } | 29,615 |
public void setEnabled(boolean b) { enable (b); } | public void setEnabled(boolean b) { enable(enabled); } | 29,616 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.