bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,077 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,078 |
public void restyle(Context ctx, Box box) { super.restyle(ctx, box); if (box instanceof InlineBox) { TextDecoration.setupTextDecoration(ctx, box.getNode(), (InlineBox) box); } } | public void restyle(Context ctx, Box box) { super.restyle(ctx, box); if (box instanceof InlineBox) { TextDecoration.setupTextDecoration((InlineBox) box); } } | 32,079 |
private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, l... | private void saveLine(LineBox line_to_save, CalculatedStyle style, LineBox prev_line, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, last... | 32,080 |
private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, l... | private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, style, line_to_save, width, x, last); ... | 32,081 |
public Object invoke(Invocation invocation) throws Throwable { String methodName = ((MethodInvocation) invocation).getMethod().getName(); Object retVal = invocation.invokeNext(); if (methodName.equals("createSessionDelegate") || methodName.equals("createProducerDelegate") ... | public Object invoke(Invocation invocation) throws Throwable { String methodName = ((MethodInvocation) invocation).getMethod().getName(); Object retVal = invocation.invokeNext(); if (methodName.equals("createSessionDelegate") || methodName.equals("createProducerDelegate") ... | 32,082 |
public void setUp() throws Exception { super.setUp(); // Start the local server localServer = new LocalTestServer(); // Start all the services locally localServer.start("all"); //Set lease period to -1 --> this should disable leasing so the state won't be cleared up ... | public void setUp() throws Exception { super.setUp(); // Start the local server localServer = new LocalTestServer(); // Start all the services locally localServer.start("all", true); //Set lease period to -1 --> this should disable leasing so the state won't be cleared up ... | 32,083 |
public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jpm.start(); pm = jpm; txRepository = new TransactionRep... | public synchronized void start() throws Exception { if (started) { return; } log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jpm.start(); pm = jpm; txRepository = new TransactionRepo... | 32,084 |
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[] { "AbstractUndoa... | 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[] { "AbstractUndoa... | 32,086 |
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[] { "AbstractUndoa... | 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[] { "AbstractUndoa... | 32,087 |
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[] { "AbstractUndoa... | 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[] { "AbstractUndoa... | 32,088 |
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[] { "AbstractUndoa... | 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[] { "AbstractUndoa... | 32,089 |
public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } | public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxMenuItemIcon(); } | 32,091 |
public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } | public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); } | 32,092 |
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED,... | public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED,... | 32,093 |
public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } | public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } | 32,094 |
protected void tearDown() throws Exception { ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTopic"); ServerManagement.undeployTopic("unsecure... | protected void tearDown() throws Exception { ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTopic"); ServerManagement.undeployTopic("unsecure... | 32,095 |
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | 32,096 |
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | 32,097 |
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | 32,098 |
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Commiting xid=" + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { log.error("Cannot fi... | 32,099 |
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti... | public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti... | 32,100 |
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti... | public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti... | 32,101 |
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti... | public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti... | 32,102 |
public void addListener(InvokerCallbackHandler callbackHandler) { if (trace) { log.trace("adding callback handler " + callbackHandler); } if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHandler)callb... | public void addListener(InvokerCallbackHandler callbackHandler) { log.debug("adding callback handler " + callbackHandler); if (callbackHandler instanceof ServerInvokerCallbackHandler) { ServerInvokerCallbackHandler h = (ServerInvokerCallbackHandler)callbackHandler; ... | 32,104 |
public Object invoke(InvocationRequest invocation) throws Throwable { if (trace) { log.trace("Invoking:" + invocation); } MessagingMarshallable mm = (MessagingMarshallable)invocation.getParameter(); MethodInvocation i = (MethodInvocation)mm.getLoad(); //Put the ver... | public Object invoke(InvocationRequest invocation) throws Throwable { if (trace) { log.trace("invoking " + invocation); } MessagingMarshallable mm = (MessagingMarshallable)invocation.getParameter(); MethodInvocation i = (MethodInvocation)mm.getLoad(); //Put the ver... | 32,105 |
public Object invoke(InvocationRequest invocation) throws Throwable { if (trace) { log.trace("Invoking:" + invocation); } MessagingMarshallable mm = (MessagingMarshallable)invocation.getParameter(); MethodInvocation i = (MethodInvocation)mm.getLoad(); //Put the ver... | public Object invoke(InvocationRequest invocation) throws Throwable { if (trace) { log.trace("Invoking:" + invocation); } MessagingMarshallable mm = (MessagingMarshallable)invocation.getParameter(); MethodInvocation i = (MethodInvocation)mm.getLoad(); //Put the ver... | 32,106 |
public void removeListener(InvokerCallbackHandler callbackHandler) { if (trace) { log.trace("removing callback handler: " + callbackHandler); } synchronized(callbackHandlers) { for(Iterator i = callbackHandlers.keySet().iterator(); i.hasNext();) { Object key = i.next(); ... | public void removeListener(InvokerCallbackHandler callbackHandler) { log.debug("removing callback handler: " + callbackHandler); synchronized(callbackHandlers) { for(Iterator i = callbackHandlers.keySet().iterator(); i.hasNext();) { Object key = i.next(); if (ca... | 32,107 |
public void setInvoker(ServerInvoker invoker) { this.invoker = invoker; if (trace) {log.trace("set ServerInvoker to " + this.invoker); } } | public void setInvoker(ServerInvoker invoker) { this.invoker = invoker; log.debug("set ServerInvoker to " + this.invoker); } | 32,108 |
public void setMBeanServer(MBeanServer server) { this.server = server; if (trace) { log.trace("set MBeanServer to " + this.server); } } | public void setMBeanServer(MBeanServer server) { this.server = server; log.debug("set MBeanServer to " + this.server); } | 32,109 |
public Object getContent(Context c); | public List getContent(Context c); | 32,110 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,111 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,112 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,113 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,114 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,115 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,116 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,117 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,118 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,119 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,120 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,121 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 32,122 |
protected JBossConnection createConnectionInternal(String username, String password, boolean isXA, int type) throws JMSException { ThreadContextClassLoaderChanger tccc = new ThreadContextClassLoaderChanger(); try { tccc.set(getClass()... | protected JBossConnection createConnectionInternal(String username, String password, boolean isXA, int type) throws JMSException { ThreadContextClassLoaderChanger tccc = new ThreadContextClassLoaderChanger(); try { tccc.set(getClass()... | 32,123 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | 32,124 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Exce... | 32,125 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | 32,126 |
public int compareTo (Object obj) { if (obj == null || ! (obj instanceof CompoundName)) throw new ClassCastException ("CompoundName.compareTo() expected CompoundName"); CompoundName cn = (CompoundName) obj; int last = Math.min (cn.elts.size (), elts.size ()); for (int i = 0; i < last; ++i) { St... | public int compareTo (Object obj) { if (! (obj instanceof CompoundName)) throw new ClassCastException ("CompoundName.compareTo() expected CompoundName"); CompoundName cn = (CompoundName) obj; int last = Math.min (cn.elts.size (), elts.size ()); for (int i = 0; i < last; ++i) { String f = canoni... | 32,128 |
public List listMessagesNonDurableSub(long channelID, String selector) throws JMSException { System.out.println("XXXXX channelID is " + channelID); JBossTopic jbt = new JBossTopic(this.name); ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.getMessagesFromNonDurabl... | public List listMessagesNonDurableSub(long channelID, String selector) throws JMSException { JBossTopic jbt = new JBossTopic(this.name); ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.getMessagesFromNonDurableSub(channelID, trimSelector(selector)); } | 32,129 |
public View(Element elem) { elt = elem; children = new View[0]; } | public View(Element elem) { elt = elem; } | 32,130 |
public void append(View view) { View[] array = { view }; replace(getViewCount(), 1, array); } | public void append(View view) { View[] array = { view }; int offset = getViewCount(); replace(offset, 0, array); } | 32,131 |
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { for (int i = 0; i < children.length; i++) { View child = children[i]; forwardUpdateToView(child, ev, shape, vf); } } | protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { int count = getViewCount(); for (int i = 0; i < count; i++) { View child = children[i]; forwardUpdateToView(child, ev, shape, vf); } } | 32,132 |
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { for (int i = 0; i < children.length; i++) { View child = children[i]; forwardUpdateToView(child, ev, shape, vf); } } | protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { for (int i = 0; i < children.length; i++) { View child = getView(i); forwardUpdateToView(child, ev, shape, vf); } } | 32,133 |
public Container getContainer() { View parent = getParent(); return parent != null ? parent.getContainer() : null; } | public Container getContainer() { View parent = getParent(); if (parent == null) throw new AssertionError("The parent of a View must not be null."); return parent.getContainer(); } | 32,134 |
public void preferenceChanged(View child, boolean width, boolean height) { if (parent != null) parent.preferenceChanged(this, width, height); else ((JComponent) getContainer()).revalidate(); } | public void preferenceChanged(View child, boolean width, boolean height) { if (parent != null) parent.preferenceChanged(this, width, height); else ((JComponent) getContainer()).revalidate(); } | 32,135 |
public void removeAll() { replace(0, getViewCount(), null); } | public void removeAll() { replace(0, getViewCount(), new View[0]); } | 32,136 |
protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | 32,137 |
protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | 32,138 |
public abstract int viewToModel(float x, float y, Shape a, Position.Bias b); | public abstract int viewToModel(float x, float y, Shape a, Position.Bias[] b); | 32,139 |
public CreateStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { super(ResourceManager.getString("step")); this.workflow = workflow; this.model = model; this.location = location; } | public CreateStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { super(ResourceManager.getString("step")); this.descriptor = workflow; this.model = model; this.location = location; } | 32,141 |
public void actionPerformed(ActionEvent e) { CellFactory.createStep(workflow, model, location); } | public void actionPerformed(ActionEvent e) { CellFactory.createStep(descriptor, model, location); } | 32,142 |
public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]... | public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; ... | 32,143 |
public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]... | public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]... | 32,144 |
public void testNonRecoverableQueueRemoveAllReferences() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new M... | public void testNonRecoverableQueueRemoveAllReferences() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[200]; MessageReference[] refs = new Message... | 32,145 |
public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i... | public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | 32,146 |
public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i... | public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i... | 32,147 |
public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = ... | public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = 0; i <... | 32,148 |
public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = ... | public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = ... | 32,149 |
public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; i < 15... | 32,150 |
public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | 32,151 |
protected void updateView() { JoinCell cell = (JoinCell)getCell(); JoinDescriptor descriptor = cell.getJoinDescriptor(); conditionsModel.setList(descriptor.getConditions()); connector.setSource(descriptor); // if (cell.getJoinDescriptor().getResult() != null) { // List list = new ArrayList(); ... | protected void updateView() { JoinCell cell = (JoinCell)getCell(); JoinDescriptor descriptor = cell.getJoinDescriptor(); conditionsModel.setList(((ConditionsDescriptor)descriptor.getConditions().get(0)).getConditions()); connector.setSource(descriptor); // if (cell.getJoinDescriptor().getResult() != ... | 32,153 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 32,154 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 32,155 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 32,156 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 32,157 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 32,158 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 32,159 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 32,160 |
protected void executeFunction(FunctionDescriptor function, Map transientVars, PropertySet ps) throws WorkflowException { if (function != null) { String type = function.getType(); HashMap args = new HashMap(function.getArgs()); for (Iterator iterator = args.entrySet().iterato... | protected void executeFunction(FunctionDescriptor function, Map transientVars, PropertySet ps) throws WorkflowException { if (function != null) { String type = function.getType(); HashMap args = new HashMap(function.getArgs()); for (Iterator iterator = args.entrySet().iterato... | 32,161 |
public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return resolver; } | public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return resolver; } | 32,162 |
public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return resolver; } | public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return typeResolver; } | 32,163 |
protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ... | protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ... | 32,164 |
public void setResolver(TypeResolver resolver) { this.resolver = resolver; } | public void setResolver(TypeResolver resolver) { this.typeResolver = resolver; } | 32,165 |
protected void verifyInputs(WorkflowEntry entry, List validators, Map transientVars, PropertySet ps) throws WorkflowException { for (Iterator iterator = validators.iterator(); iterator.hasNext();) { ValidatorDescriptor input = (ValidatorDescriptor) iterator.next(); if (input != null) { ... | protected void verifyInputs(WorkflowEntry entry, List validators, Map transientVars, PropertySet ps) throws WorkflowException { for (Iterator iterator = validators.iterator(); iterator.hasNext();) { ValidatorDescriptor input = (ValidatorDescriptor) iterator.next(); if (input != null) { ... | 32,166 |
public ConnectionState(ConnectionDelegate delegate, JMSRemotingConnection remotingConnection, Version versionToUse, ResourceManager rm, MessageIdGenerator gen) throws Exception { super(null, delegate); if (log.isTraceEn... | public ConnectionState(String serverID, ConnectionDelegate delegate, JMSRemotingConnection remotingConnection, Version versionToUse, ResourceManager rm, MessageIdGenerator gen) throws Exception { super(null, delegate); ... | 32,167 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = iv... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = ivy.getDefaultCache(); } ... | 32,169 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = iv... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = iv... | 32,170 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 32,172 |
public ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception { if (connector != null) { return connector.addInvocationHandler(s, h); } return null; } | public ServerInvocationHandler addInvocationHandler(String subsystem, ServerInvocationHandler h) throws Exception { if (connector != null) { return connector.addInvocationHandler(s, h); } return null; } | 32,174 |
public ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception { if (connector != null) { return connector.addInvocationHandler(s, h); } return null; } | public ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception { if (connector != null) { subsystemToHandler.put(subsystem, h); return connector.addInvocationHandler(subsystem, h); } return null; } | 32,175 |
public void removeInvocationHandler(String s) throws Exception { connector.removeInvocationHandler(s); } | public void removeInvocationHandler(String subsystem) throws Exception { connector.removeInvocationHandler(s); } | 32,176 |
public void removeInvocationHandler(String s) throws Exception { connector.removeInvocationHandler(s); } | public void removeInvocationHandler(String s) throws Exception { subsystemToHandler.remove(subsystem); connector.removeInvocationHandler(subsystem); } | 32,177 |
public Box layout(Context c, Element elem) { BlockBox block = (BlockBox)createBox(c,elem); // load the image Border border = getBorder(c, block); Border padding = getPadding(c, block); Border margin = getMargin(c, block); Image img = getImage(c,elem); ... | public Box layout(Context c, Element elem) { BlockBox block = (BlockBox)createBox(c,elem); // load the image Border border = getBorder(c, block); Border padding = getPadding(c, block); Border margin = getMargin(c, block); Image img = getImage(c,elem); ... | 32,179 |
public void paintComponent(Context c, Box box) { Image img = getImage(c,box.node); c.getGraphics().drawImage(img,box.x,box.y,null); } | public void paintComponent(Context c, Box box) { Image img = getImage(c,box.node); if(img != null) { c.getGraphics().drawImage(img,box.x,box.y,null); } } | 32,180 |
public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { return new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL i... | public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { img = new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL im... | 32,181 |
public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { return new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL i... | public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { return new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL i... | 32,182 |
public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { return new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL i... | public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { return new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL i... | 32,183 |
public ClientBrowserDelegate(String objectID) { super(objectID); } | public ClientBrowserDelegate(int objectID) { super(objectID); } | 32,185 |
public String toString() { return "BrowserDelegate[" + Util.guidToString(id) + "]"; } | public String toString() { return "BrowserDelegate[" + id + "]"; } | 32,186 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | 32,187 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.