bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void redistTest(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; try ... | public void redistTest(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; try ... | 30,195 |
public void redistTest(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; try ... | public void redistTest(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; try ... | 30,196 |
public Delivery handle(DeliveryObserver sender, Routable r, Transaction tx) { if (r == null) { return null; } if (log.isTraceEnabled()){ log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) ); } MessageReference ref = ref(r); if (... | public Delivery handle(DeliveryObserver sender, Routable r, Transaction tx) { if (r == null) { return null; } if (log.isTraceEnabled()){ log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) ); } MessageReference ref = ref(r); if (... | 30,197 |
public void redeliver(Receiver r) { if (log.isTraceEnabled()){ log.trace(r != null ? r + " requested delivery on " + this : "delivery requested on " + this); } redeliver(this, r); } | public boolean redeliver(Receiver r) { if (log.isTraceEnabled()){ log.trace(r != null ? r + " requested delivery on " + this : "delivery requested on " + this); } redeliver(this, r); } | 30,198 |
public void redeliver(Receiver r) { if (log.isTraceEnabled()){ log.trace(r != null ? r + " requested delivery on " + this : "delivery requested on " + this); } redeliver(this, r); } | public void redeliver(Receiver r) { if (log.isTraceEnabled()){ log.trace(r != null ? r + " requested delivery on " + this : "delivery requested on " + this); } redeliver(this, r); } | 30,199 |
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT); Interpreter i = new Interpreter(); ClassLoader loader = Thread.currentThread().getContextClassLoader(); try { ... | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, PropertySet ps) throws WorkflowException { String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT); Interpreter i = new Interpreter(); ClassLoader loader = Thread.currentThread().getContextClassLoader(... | 30,200 |
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT); Interpreter i = new Interpreter(); ClassLoader loader = Thread.currentThread().getContextClassLoader(); try { ... | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT); Interpreter i = new Interpreter(); ClassLoader loader = Thread.currentThread().getContextClassLoader(); try { ... | 30,201 |
private static void error(URL base, StreamTokenizer in, String msg) throws IOException { throw new IOException(base + ":" + in.lineno() + ": " + msg); } | private static void error(URL base, StreamTokenizer in, String msg) throws IOException { throw new IOException(base + ":" + in.lineno() + ": " + msg); } | 30,202 |
public void refresh() { cs2pc.clear(); final List policyFiles = new ArrayList(); try { policyFiles.add(defaultPolicy); policyFiles.addAll((List) AccessController .doPrivileged(new PrivilegedExceptionAction() { public Object run() t... | public void refresh() { cs2pc.clear(); final List policyFiles = new ArrayList(); try { policyFiles.add(defaultPolicy); policyFiles.addAll((List) AccessController .doPrivileged(new PrivilegedExceptionAction() { public Object run() t... | 30,203 |
public void refresh() { cs2pc.clear(); final List policyFiles = new ArrayList(); try { policyFiles.add(defaultPolicy); policyFiles.addAll((List) AccessController .doPrivileged(new PrivilegedExceptionAction() { public Object run() t... | public void refresh() { cs2pc.clear(); final List policyFiles = new ArrayList(); try { policyFiles.add(defaultPolicy); policyFiles.addAll((List) AccessController .doPrivileged(new PrivilegedExceptionAction() { public Object run() t... | 30,204 |
public void notificationReceived(UnsolicitedNotificationEvent evt); | void notificationReceived(UnsolicitedNotificationEvent evt); | 30,206 |
public synchronized void addFirst(Object obj, int priority) { deque.addFirst(obj, priority); } | public synchronized boolean addFirst(Object obj, int priority) { deque.addFirst(obj, priority); } | 30,207 |
public synchronized void addFirst(Object obj, int priority) { deque.addFirst(obj, priority); } | public synchronized void addFirst(Object obj, int priority) { return deque.addFirst(obj, priority); } | 30,208 |
public synchronized void addLast(Object obj, int priority) { deque.addLast(obj, priority); } | public synchronized boolean addLast(Object obj, int priority) { deque.addLast(obj, priority); } | 30,209 |
public synchronized void addLast(Object obj, int priority) { deque.addLast(obj, priority); } | public synchronized void addLast(Object obj, int priority) { return deque.addLast(obj, priority); } | 30,210 |
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossMessage jbm = new JBossMessage(i, reliable, System.currentTim... | protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossMessage jbm = new JBossMessage(i, reliable, System.currentTim... | 30,211 |
public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; if (g2r == null) { g2r = new Graphics2DRenderer(); g2r.getSharedContext().setPrint(true); g2r.getSharedContext().setInteractive(false); ... | public int print(Graphics g, PageFormat pf, int page) { try { Graphics2D g2 = (Graphics2D) g; if (g2r == null) { g2r = new Graphics2DRenderer(); g2r.getSharedContext().setPrint(true); g2r.getSharedContext().setInteractive(false); ... | 30,212 |
protected Client getClient() { return null; } | protected synchronized Client getClient() throws Exception { return null; } | 30,214 |
protected Client getClient() { return null; } | protected Client getClient() { if (client == null) { InvokerLocator locator = new InvokerLocator(serverLocatorURI); client = new Client(locator, ServerPeer.REMOTING_JMS_SUBSYSTEM); client.connect(); } return client; } | 30,215 |
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | 30,216 |
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | 30,217 |
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | 30,218 |
public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); ToolTipManager.sharedInstance().registerComponent(this); this.layout = layout; setDescriptor(descriptor); if(doAutoLayout) { autoLayout(); } setSelectNewCells(true);... | public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); ToolTipManager.sharedInstance().registerComponent(this); this.layout = layout; setDescriptor(descriptor); if(doAutoLayout) { autoLayout(); } setSelectNewCells(true);... | 30,219 |
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); synchronized(receivers) { for(Iterator i = receivers.iterator(); i.hasNext(); ) { Receiver receiver = (Receiver)i.next(); try { ... | public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); synchronized(receivers) { for(Iterator i = receivers.iterator(); i.hasNext(); ) { Receiver receiver = (Receiver)i.next(); try { ... | 30,221 |
void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | 30,222 |
void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | 30,223 |
protected void configureScrollBarColors() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); trackColor = defaults.getColor("ScrollBar.track"); trackHighlightColor = defaults.getColor("ScrollBar.trackHighlight"); thumbColor = defaults.getColor("ScrollBar.thumb"); thumbHighlightColor = default... | protected void configureScrollBarColors() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); trackColor = defaults.getColor("ScrollBar.track"); trackHighlightColor = defaults.getColor("ScrollBar.trackHighlight"); thumbColor = defaults.getColor("ScrollBar.thumb"); thumbHighlightColor = default... | 30,224 |
public boolean isCellEditable(EventObject event) { return false; // TODO } // isCellEditable() | public boolean isCellEditable(EventObject event) { return true; // TODO } // isCellEditable() | 30,226 |
public Image getImage(String uri) { System.out.println("in Naive User Agent get image: " + uri); java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != nu... | public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } ... | 30,228 |
public void tearDown() throws Exception { ServerManagement.deInit(); super.tearDown(); log.debug("tear down done"); } | public void tearDown() throws Exception { super.tearDown(); log.debug("tear down done"); } | 30,229 |
public void addTable(Element elem) throws Exception { // for each tr NodeList rows = elem.getChildNodes(); boolean first_row = true; int row_count = 0; for(int i=0; i<rows.getLength(); i++) { Node row = rows.item(i); if(row.getNodeName().equals("tr")) { ... | public void addTable(Element elem) { // for each tr NodeList rows = elem.getChildNodes(); boolean first_row = true; int row_count = 0; for(int i=0; i<rows.getLength(); i++) { Node row = rows.item(i); if(row.getNodeName().equals("tr")) { if(firs... | 30,232 |
public void calculateWidths(int avail_width, Context c) { //u.p("calculating columns from total space of: " + avail_width); //u.p("total column width = " + total_cols); // get number of columns and init array int total_cols = getTotalColumnCount(); int[] widths = new int[t... | public void calculateWidths(int avail_width, Context c) { //u.p("calculating columns from total space of: " + avail_width); //u.p("total column width = " + total_cols); // get number of columns and init array int total_cols = getTotalColumnCount(); int[] widths = new int[t... | 30,233 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,234 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,235 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,236 |
public void testAckAfterConsumerClosed() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); connSend... | public void testAckAfterConsumerClosed() throws Exception { Connection connSend = null; Connection connReceive = null; try { connSend = cf.createConnection(); connSend.start(); Session sessSend = connSend.createSession(t... | 30,240 |
public void testDurableSubscriptionClientIDNotSet() throws Exception { //Client id must be set before creating a durable subscription //This assumes we are not setting it in the connection factory which //is currently true but may change in the future Connection conn1 = cf.createConnection(); ... | public void testDurableSubscriptionClientIDNotSet() throws Exception { //Client id must be set before creating a durable subscription //This assumes we are not setting it in the connection factory which //is currently true but may change in the future Connection conn1 = cf.createConnection(); ... | 30,241 |
public void testDurableSubscriptionClientIDNotSet() throws Exception { //Client id must be set before creating a durable subscription //This assumes we are not setting it in the connection factory which //is currently true but may change in the future Connection conn1 = cf.createConnection(); ... | public void testDurableSubscriptionClientIDNotSet() throws Exception { //Client id must be set before creating a durable subscription //This assumes we are not setting it in the connection factory which //is currently true but may change in the future Connection conn1 = cf.createConnection(); ... | 30,242 |
public void testDurableSubscriptionClientIDNotSet() throws Exception { //Client id must be set before creating a durable subscription //This assumes we are not setting it in the connection factory which //is currently true but may change in the future Connection conn1 = cf.createConnection(); ... | public void testDurableSubscriptionClientIDNotSet() throws Exception { //Client id must be set before creating a durable subscription //This assumes we are not setting it in the connection factory which //is currently true but may change in the future Connection conn1 = cf.createConnection(); ... | 30,243 |
public void testDurableSubscriptionInvalidUnsubscribe() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess1.un... | public void testDurableSubscriptionInvalidUnsubscribe() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess1.un... | 30,244 |
public void testDurableSubscriptionInvalidUnsubscribe() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess1.un... | public void testDurableSubscriptionInvalidUnsubscribe() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess1.un... | 30,245 |
public void testDurableSubscriptionInvalidUnsubscribe() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess1.un... | public void testDurableSubscriptionInvalidUnsubscribe() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess1.un... | 30,246 |
public void testDurableSubscriptionReconnect() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createP... | public void testDurableSubscriptionReconnect() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createP... | 30,248 |
public void testDurableSubscriptionReconnect() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createP... | public void testDurableSubscriptionReconnect() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createP... | 30,249 |
public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | 30,250 |
public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | 30,251 |
public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | 30,252 |
public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | 30,253 |
public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | 30,254 |
public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | public void testDurableSubscriptionReconnectDifferentClientID() throws Exception { final String CLIENT_ID1 = "test-client-id1"; final String CLIENT_ID2 = "test-client-id2"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, S... | 30,255 |
public void testDurableSubscriptionSimple() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createProd... | public void testDurableSubscriptionSimple() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createProd... | 30,256 |
public void testDurableSubscriptionSimple() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createProd... | public void testDurableSubscriptionSimple() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createProd... | 30,257 |
public void testDurableSubscriptionSimple() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createProd... | public void testDurableSubscriptionSimple() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer prod = sess1.createProd... | 30,258 |
public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | 30,259 |
public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | 30,260 |
public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | 30,261 |
public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | 30,262 |
public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | 30,263 |
public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | public void testNoLocal() throws Exception { if (log.isTraceEnabled()) log.trace("testNoLocal"); Connection conn1 = cf.createConnection(); Session sess1 = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer1 = sess1.createProducer(topic); producer1.setDeliveryMod... | 30,264 |
public void run() { try { m = consumer.receive(3000); } catch (Exception e) { exceptionThrown = true; } } | public void run() { try { m = consumer.receive(3000); } catch (Exception e) { exceptionThrown = true; } } | 30,265 |
public void run() { try { m = consumer.receive(3000); } catch (Exception e) { exceptionThrown = true; } } | public void run() { try { try { m = consumer.receive(3000); } catch (Exception e) { exceptionThrown = true; } } catch (Exception e) { exceptionThrown = true; } } | 30,266 |
public void run() { try { m = consumer.receive(3000); } catch (Exception e) { exceptionThrown = true; } } | public void run() { try { m = consumer.receive(3000); } catch (Exception e) { exceptionThrown = true; } } | 30,267 |
public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | 30,268 |
public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | 30,269 |
public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | 30,270 |
public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | public void testSendAndReceivePersistentDifferentConnections() throws Exception { Connection connSend = null; Connection connReceive = null; try { log.trace("Running testSendAndReceivePersistentDifferentConnections"); connSend = cf.createConnection(); ... | 30,271 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,272 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,273 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,274 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,275 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,276 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,277 |
public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | public static final Cipher getInstance(String transformation) throws NoSuchAlgorithmException, NoSuchPaddingException { Provider[] providers = Security.getProviders(); NoSuchPaddingException ex = null; String msg = ""; for (int i = 0; i < providers.length; i++) { try { ... | 30,278 |
public final void init(int opmode, Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException { init(opmode, key, params, new SecureRandom()); } | public final void init(int opmode, Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException { init(opmode, key, params, new SecureRandom()); } | 30,279 |
public final void init(int opmode, Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException { init(opmode, key, params, new SecureRandom()); } | public final void init(int opmode, Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException { init(opmode, certificate, new SecureRandom()); } | 30,280 |
public static Font getFont(Context c) { CalculatedStyle style = c.getCurrentStyle(); // CalculatedStyle should take care of all iheritance and default values // if a change is made to the basic font (by user action, for example), restyle Font f = c.getGraphics().getFont(); if (qui... | public static Font getFont(Context c) { CalculatedStyle style = c.getCurrentStyle(); // CalculatedStyle should take care of all iheritance and default values // if a change is made to the basic font (by user action, for example), restyle Font f = c.getGraphics().getFont(); if (qui... | 30,281 |
public synchronized void startService() throws Exception { if (started) { return; } log.debug(this + " starting"); loadClientAOPConfig(); loadServerAOPConfig(); MBeanServer mbeanServer = getServer(); // Acquire references to plugins. Each plug-in will be accessed dir... | public synchronized void startService() throws Exception { if (started) { return; } log.debug(this + " starting"); loadClientAOPConfig(); loadServerAOPConfig(); MBeanServer mbeanServer = getServer(); // Acquire references to plugins. Each plug-in will be accessed dir... | 30,282 |
public IllegalFormatPrecisionException(int p) { super(); this.p = p; } | public IllegalFormatPrecisionException(int p) { super("The precision, " + p + ", is illegal."); this.p = p; } | 30,283 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 30,284 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 30,285 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 30,287 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 30,288 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 30,289 |
public static boolean isInlineBlock(CascadedStyle style) { if (!style.hasProperty(CSSName.DISPLAY)) return false;//default is inline String display = style.propertyByName(CSSName.DISPLAY).getValue().getCssText(); if (display.equals("none")) return true; return false; } | public static boolean isInlineBlock(CascadedStyle style) { if (!style.hasProperty(CSSName.DISPLAY)) return false;//default is inline String display = style.propertyByName(CSSName.DISPLAY).getValue().getCssText(); if (display.equals("inline-block")) return true; return false; } | 30,291 |
String getCatalogName(int column) throws SQLException; | String getCatalogName(int columnIndex) throws SQLException; | 30,292 |
String getColumnClassName(int column) throws SQLException; | String getColumnClassName(int columnIndex) throws SQLException; | 30,293 |
int getColumnDisplaySize(int column) throws SQLException; | int getColumnDisplaySize(int columnIndex) throws SQLException; | 30,294 |
String getColumnLabel(int column) throws SQLException; | String getColumnLabel(int columnIndex) throws SQLException; | 30,295 |
String getColumnName(int column) throws SQLException; | String getColumnName(int columnIndex) throws SQLException; | 30,296 |
int getColumnType(int column) throws SQLException; | int getColumnType(int columnIndex) throws SQLException; | 30,297 |
String getColumnTypeName(int column) throws SQLException; | String getColumnTypeName(int columnIndex) throws SQLException; | 30,298 |
int getPrecision(int column) throws SQLException; | int getPrecision(int columnIndex) throws SQLException; | 30,299 |
int getScale(int column) throws SQLException; | int getScale(int columnIndex) throws SQLException; | 30,300 |
String getSchemaName(int column) throws SQLException; | String getSchemaName(int columnIndex) throws SQLException; | 30,301 |
String getTableName(int column) throws SQLException; | String getTableName(int columnIndex) throws SQLException; | 30,302 |
boolean isAutoIncrement(int column) throws SQLException; | boolean isAutoIncrement(int columnIndex) throws SQLException; | 30,303 |
boolean isCaseSensitive(int column) throws SQLException; | boolean isCaseSensitive(int columnIndex) throws SQLException; | 30,304 |
boolean isCurrency(int column) throws SQLException; | boolean isCurrency(int columnIndex) throws SQLException; | 30,305 |
boolean isDefinitelyWritable(int column) throws SQLException; | boolean isDefinitelyWritable(int columnIndex) throws SQLException; | 30,306 |
int isNullable(int column) throws SQLException; | int isNullable(int columnIndex) throws SQLException; | 30,307 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.