bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,156
protected synchronized WorkflowDescriptor getWorkflow(String name) throws FactoryException { return ConfigLoader.getWorkflow(name); }
protected synchronized WorkflowDescriptor getWorkflow(String name) throws FactoryException { return ConfigLoader.getWorkflow(name); }
45,157
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws FactoryException { return getWorkflow(workflowName); }
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) { return getWorkflow(workflowName); }
45,158
public String getWorkflowName(long id) throws StoreException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry != null) { return entry.getWorkflowName(); } else { return null; } }
public String getWorkflowName(long id) throws StoreException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry != null) { return entry.getWorkflowName(); } else { return null; } }
45,159
public String getWorkflowName(long id) throws StoreException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry != null) { return entry.getWorkflowName(); } else { return null; } }
public String getWorkflowName(long id) throws StoreException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry != null) { return entry.getWorkflowName(); } else { return null; } }
45,160
public String[] getWorkflowNames() throws FactoryException { return ConfigLoader.getWorkflowNames(); }
public String[] getWorkflowNames() throws FactoryException { return ConfigLoader.getWorkflowNames(); }
45,162
public Component getFocusOwner () { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window activeWindow = manager.getActiveWindow (); // The currently-focused Component belongs to the active Window. if (activeWindow == this) return manager.getFocusOwner (); ...
public Component getFocusOwner () { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window activeWindow = manager.getActiveWindow (); // The currently-focused Component belongs to the active Window. if (activeWindow == this) return manager.getFocusOwner (); ...
45,165
public void cancelDeliveries(String receiverID) throws JMSException { del.cancelDeliveries(receiverID); }
public void cancelDeliveries() throws JMSException { del.cancelDeliveries(receiverID); }
45,166
public void cancelDeliveries(String receiverID) throws JMSException { del.cancelDeliveries(receiverID); }
public void cancelDeliveries(String receiverID) throws JMSException { del.cancelDeliveries(); }
45,167
public void tearDown() throws Exception { //ServerManagement.deInit(); TransactionManagerImpl.getInstance().setState(TransactionManagerImpl.OPERATIONAL); super.tearDown(); }
public void tearDown() throws Exception { //ServerManagement.deInit(); TransactionManagerImpl.getInstance().setState(TransactionManagerImpl.OPERATIONAL); super.tearDown(); }
45,168
private static Box layoutBlock(LayoutContext c, BlockBox block, Content content, StyleSetListener listener) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } Rectangle o...
private static Box layoutBlock(LayoutContext c, BlockBox block, Content content, StyleSetListener listener) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } Rectangle o...
45,169
private static Box layoutBlock(LayoutContext c, BlockBox block, Content content, StyleSetListener listener) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } Rectangle o...
private static Box layoutBlock(LayoutContext c, BlockBox block, Content content, StyleSetListener listener) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } Rectangle o...
45,170
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
45,171
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
45,172
public void testStressReceiveOnTopic() throws Exception { if (log.isTraceEnabled()) log.trace("testStressReceiveOnTopic"); final int count = 100; consumerConnection.start(); new Thread(new Runnable() { public void run() { try { // this is...
public void testStressReceiveOnTopic() throws Exception { if (log.isTraceEnabled()) log.trace("testStressReceiveOnTopic"); final int count = 1000; consumerConnection.start(); new Thread(new Runnable() { public void run() { try { // this i...
45,174
public Object handleClosing(Invocation invocation) throws Throwable { ConsumerState state = getState(invocation); ConnectionState cState = (ConnectionState)state.getParent().getParent(); cState.getRemotingConnection().getCallbackManager().unregisterHandler(state.getConsumerID()); ...
public Object handleClosing(Invocation invocation) throws Throwable { ConsumerState state = getState(invocation); ConnectionState cState = (ConnectionState)state.getParent().getParent(); cState.getRemotingConnection().getCallbackManager().unregisterHandler(state.getConsumerID()); ...
45,175
public Object handleClosing(Invocation invocation) throws Throwable { ConsumerState state = getState(invocation); ConnectionState cState = (ConnectionState)state.getParent().getParent(); cState.getRemotingConnection().getCallbackManager().unregisterHandler(state.getConsumerID()); ...
public Object handleClosing(Invocation invocation) throws Throwable { ConsumerState state = getState(invocation); ConnectionState cState = (ConnectionState)state.getParent().getParent(); cState.getRemotingConnection().getCallbackManager().unregisterHandler(state.getConsumerID()); ...
45,176
public void addTemporaryDestination(JBossDestination dest) throws JMSException { try { if (closed) { throw new IllegalStateException("Session is closed"); } if (!dest.isTemporary()) { throw new InvalidDestinationException("Destination:" + dest...
public void addTemporaryDestination(JBossDestination dest) throws JMSException { try { if (closed) { throw new IllegalStateException("Session is closed"); } if (!dest.isTemporary()) { throw new InvalidDestinationException("Destination:" + dest...
45,177
public void addTemporaryDestination(JBossDestination dest) throws JMSException { try { if (closed) { throw new IllegalStateException("Session is closed"); } if (!dest.isTemporary()) { throw new InvalidDestinationException("Destination:" + dest...
public void addTemporaryDestination(JBossDestination dest) throws JMSException { try { if (closed) { throw new IllegalStateException("Session is closed"); } if (!dest.isTemporary()) { throw new InvalidDestinationException("Destination:" + dest...
45,178
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,179
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,180
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,181
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,182
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,183
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,184
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selectorString, boolean noLocal, String subscriptionName, ...
45,185
public void setUp() throws Exception { super.setUp(); // Start the local server localServer = new LocalTestServer(); // Start all the services locally localServer.start("all"); // This crash test is relying on a precise value of LeaseInterval, so we don't rely on // t...
public void setUp() throws Exception { super.setUp(); // Start the local server localServer = new LocalTestServer(); // Start all the services locally localServer.start("all"); // This crash test is relying on a precise value of LeaseInterval, so we don't rely on // t...
45,186
public void testClientCrash() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); CreateClientOnSer...
public void testClientCrash() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); CreateClientOnSer...
45,187
public void testClientCrash() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); CreateClientOnSer...
public void testClientCrash() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); CreateClientOnSer...
45,188
public void testClientCrash() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); CreateClientOnSer...
public void testClientCrash() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); CreateClientOnSer...
45,189
private void paint(RenderingContext c, LineBox line, InlineBox inline, int start, int width, int sides, boolean doTextDecorations) { Style style; if (line.isFirstLine || endStyle == null) {//e...
private void paint(RenderingContext c, LineBox line, InlineBox inline, int start, int width, int sides, boolean doTextDecorations) { Style style; if (line.isFirstLine || endStyle == null) {//e...
45,190
protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; //If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { //ot...
protected Message getMessage(long timeout) throws InterruptedException, JMSException { Message m = null; //If it's receiveNoWait then get the message directly if (timeout == -1) { waiting = false; m = getMessageNow(); } else { //ot...
45,192
protected Message getMessageNow() throws JMSException { return consumerDelegate.getMessageNow(); }
protected Message getMessageNow() throws JMSException { MessageDelegate del = (MessageDelegate)consumerDelegate.getMessageNow(); if (del != null) { return processMessage(del); } else { return null; } }
45,193
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
45,194
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
45,195
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
45,196
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
45,197
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
45,198
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
public synchronized void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); //Note - ...
45,199
protected Message processMessage(Message m) { //We create a thin delegate to the message - which prevents it having to be //unnecessarily copied MessageDelegate del = JBossMessage.createThinDelegate((JBossMessage)m); //if this is the handler for a connection consumer we don't want to set ...
protected Message processMessage(MessageDelegate del) { //We create a thin delegate to the message - which prevents it having to be //unnecessarily copied MessageDelegate del = JBossMessage.createThinDelegate((JBossMessage)m); //if this is the handler for a connection consumer we don't wa...
45,200
protected Message processMessage(Message m) { //We create a thin delegate to the message - which prevents it having to be //unnecessarily copied MessageDelegate del = JBossMessage.createThinDelegate((JBossMessage)m); //if this is the handler for a connection consumer we don't want to set ...
protected Message processMessage(Message m) { //We create a thin delegate to the message - which prevents it having to be //unnecessarily copied //if this is the handler for a connection consumer we don't want to set the session delegate //since this is only used for client acknowledgem...
45,201
public void read(DataInputStream in) throws Exception { consumerID = in.readInt(); int numMessages = in.readInt(); msgs = new ArrayList(numMessages); for (int i = 0; i < numMessages; i++) { byte type = in.readByte(); int deliveryCount = in.readInt...
public void read(DataInputStream in) throws Exception { serverId = in.readInt(); consumerId = in.readInt(); int numMessages = in.readInt(); msgs = new ArrayList(numMessages); for (int i = 0; i < numMessages; i++) { byte type = in.readByte(); int ...
45,202
public void write(DataOutputStream out) throws Exception { out.writeInt(consumerID); out.writeInt(msgs.size()); Iterator iter = msgs.iterator(); while (iter.hasNext()) { MessageProxy mp = (MessageProxy)iter.next(); out.writeByte(mp.getMessage().ge...
public void write(DataOutputStream out) throws Exception { out.writeInt(serverId); out.writeInt(consumerId); out.writeInt(msgs.size()); Iterator iter = msgs.iterator(); while (iter.hasNext()) { MessageProxy mp = (MessageProxy)iter.next(); out.wri...
45,203
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex...
45,204
public static void paintLeftPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i = c.getInlineBorders().iterator(); i.hasNext();) { ((InlineBorder) i.next()).paint(c,...
public static void paintLeftPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { LineMetrics lm = FontUtil.getLineMetrics(c, inline); for (Iterator i = c.getInlineBorders().iterator(); i.hasNext();) { ((InlineBorder) i.next()).paint(c,...
45,205
public static void paintRightPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorders().iterator(); i.hasNext();) { ((InlineBorder) i....
public static void paintRightPadding(Context c, LineBox line, InlineBox inline, int padX, Border border, Border padding) { InlineBorder ib = (InlineBorder) c.getInlineBorders().removeLast(); for (Iterator i = c.getInlineBorders().iterator(); i.hasNext();) { ((InlineBorder) i.next()).paint(c...
45,206
void sendMessage(Message m) throws JMSException { //The JMSDestination header must already have been set for each message JBossDestination jmsDestination = (JBossDestination)m.getJMSDestination(); if (jmsDestination == null) { throw new IllegalStateException("JMSDestination header not s...
void sendMessage(Message m) throws JMSException { //The JMSDestination header must already have been set for each message JBossDestination jmsDestination = (JBossDestination)m.getJMSDestination(); if (jmsDestination == null) { throw new IllegalStateException("JMSDestination header not s...
45,207
private JarFile getJar(URL pluginUrl, byte[] pluginJarData) throws IOException { if (pluginJar == null) { final String protocol = (pluginUrl != null) ? pluginUrl.getProtocol() : ""; if (protocol.equals("file")) { pluginJar = new JarFile(pluginUrl.getFile()); } else if (OsUtils.isJNode()) { pluginJar = new...
private JarFile getJar(URL pluginUrl, byte[] pluginJarData) throws IOException { if (pluginJar == null) { final String protocol = (pluginUrl != null) ? pluginUrl.getProtocol() : ""; if (protocol.equals("file")) { pluginJar = new JarFile(pluginUrl.getFile()); } else if (OsUtils.isJNode()) { pluginJar = new...
45,208
private JarFile getJar(URL pluginUrl, byte[] pluginJarData) throws IOException { if (pluginJar == null) { final String protocol = (pluginUrl != null) ? pluginUrl.getProtocol() : ""; if (protocol.equals("file")) { pluginJar = new JarFile(pluginUrl.getFile()); } else if (OsUtils.isJNode()) { pluginJar = new...
private JarFile getJar(URL pluginUrl, byte[] pluginJarData) throws IOException { if (pluginJar == null) { final String protocol = (pluginUrl != null) ? pluginUrl.getProtocol() : ""; if (protocol.equals("file")) { pluginJar = new JarFile(pluginUrl.getFile()); } else if (OsUtils.isJNode()) { pluginJar = new...
45,209
public void paint(Graphics g) { super.paint(g); Rectangle bounds = getBounds(); int size = bounds.height / 4; int x = (bounds.width - size) / 2; int y = (bounds.height - size) / 2; ButtonModel m = getModel(); if (m.isArmed()) { x++; y++; } paintTriangle(g, x, y, size, ...
public void paint(Graphics g) { super.paint(g); Rectangle bounds = getBounds(); int size = bounds.height / 4; int x = (bounds.width - size) / 2; int y = (bounds.height - size) / 2; ButtonModel m = getModel(); if (m.isArmed()) { x++; y++; } paintTriangle(g, x, y, size, ...
45,211
private void closeConnection(Connection con) throws JMSException { try { con.close(); }catch(JMSException jmse) { log("Could not close connection " + con +" exception was " +jmse); throw jmse; } }
private void closeConnection(Connection con) throws JMSException { try { if (con != null) { con.close(); } }catch(JMSException jmse) { log("Could not close connection " + con +" exception was " +jmse); throw jmse; } }
45,212
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,213
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,214
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,215
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,216
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,217
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,218
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,219
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,220
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,221
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList children ...
45,222
public PermissionDescriptor(Element permission) { init(permission); }
public PermissionDescriptor(Element permission) { init(permission); }
45,223
private static void drawText(RenderingContext c, BlockBox box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(box.list_count).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATI...
private static void drawText(RenderingContext c, BlockBox box, IdentValue listStyle) { String text = ""; if (listStyle == IdentValue.LOWER_LATIN || listStyle == IdentValue.LOWER_ALPHA) { text = toLatin(box.list_count).toLowerCase() + "."; } else if (listStyle == IdentValue.UPPER_LATI...
45,224
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { log.debug("creating session " + (transacted ? "transacted" :"non tr...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { log.debug("creating session " + (transacted ? "transacted" :"non tr...
45,225
private void processTransaction(ClientTransaction txState, Transaction tx) throws Throwable { if (trace) { log.trace("processing transaction"); } synchronized (sessions) { for (Iterator i = txState.getSessionStates().iterator(); i.hasNext(); ) { SessionTxSta...
private void processTransaction(ClientTransaction txState, Transaction tx) throws Throwable { if (trace) { log.trace("processing transaction"); } synchronized (sessions) { for (Iterator i = txState.getSessionStates().iterator(); i.hasNext(); ) { SessionTxSta...
45,226
private String queryComparison(WorkflowQuery query) { Object value = query.getValue(); int operator = query.getOperator(); int field = query.getField(); //int type = query.getType(); String oper; switch (operator) { case WorkflowQuery.EQUALS: oper = " = ";...
private String queryComparison(WorkflowQuery query) { Object value = query.getValue(); int operator = query.getOperator(); int field = query.getField(); //int type = query.getType(); String oper; switch (operator) { case WorkflowQuery.EQUALS: oper = " = ";...
45,228
private String queryComparison(WorkflowQuery query) { Object value = query.getValue(); int operator = query.getOperator(); int field = query.getField(); //int type = query.getType(); String oper; switch (operator) { case WorkflowQuery.EQUALS: oper = " = ";...
private String queryComparison(WorkflowQuery query) { Object value = query.getValue(); int operator = query.getOperator(); int field = query.getField(); //int type = query.getType(); String oper; switch (operator) { case WorkflowQuery.EQUALS: oper = " = ";...
45,229
public boolean cancel(Delivery d) throws Throwable { if (log.isTraceEnabled()) { log.trace("cancel " + d); } state.cancel(d); if (log.isTraceEnabled()) { log.trace(this + " marked message " + d.getReference() + " as undelivered"); } return true; }
public void cancel(Delivery d) throws Throwable { if (log.isTraceEnabled()) { log.trace("cancel " + d); } state.cancel(d); if (log.isTraceEnabled()) { log.trace(this + " marked message " + d.getReference() + " as undelivered"); } return true; }
45,230
public boolean cancel(Delivery d) throws Throwable { if (log.isTraceEnabled()) { log.trace("cancel " + d); } state.cancel(d); if (log.isTraceEnabled()) { log.trace(this + " marked message " + d.getReference() + " as undelivered"); } return true; }
public boolean cancel(Delivery d) throws Throwable { if (log.isTraceEnabled()) { log.trace("cancel " + d); } state.cancelDelivery(d); if (log.isTraceEnabled()) { log.trace(this + " marked message " + d.getReference() + " as undelivered"); } return true; }
45,231
public boolean cancel(Delivery d) throws Throwable { if (log.isTraceEnabled()) { log.trace("cancel " + d); } state.cancel(d); if (log.isTraceEnabled()) { log.trace(this + " marked message " + d.getReference() + " as undelivered"); } return true; }
public boolean cancel(Delivery d) throws Throwable { if (log.isTraceEnabled()) { log.trace("cancel " + d); } state.cancel(d); if (log.isTraceEnabled()) { log.trace(this + " marked message " + d.getReference() + " as undelivered"); } }
45,232
public boolean deliver(Receiver r) { if (log.isTraceEnabled()){ log.trace(r != null ? r + " requested delivery on " + this : "generic delivery requested on " + this); } return deliver(this, r); }
public boolean deliver(Receiver r) { if (log.isTraceEnabled()){ log.trace(r != null ? r + " requested delivery on " + this : "generic delivery requested on " + this); } checkClosed(); try { return deliver(this, r); } catch (Throwable t) { log.error("Failed to deliver message", t); return false; } }
45,233
private Delivery getDelivery(Receiver receiver, MessageReference ref) { Delivery d = null; if (receiver == null) { Set deliveries = router.handle(this, ref, null); if (deliveries.isEmpty()) { return null; } //Sani...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { Delivery d = null; if (receiver == null) { Set deliveries = router.handle(this, ref, null); if (deliveries.isEmpty()) { return null; } //Sani...
45,234
private Delivery getDelivery(Receiver receiver, MessageReference ref) { Delivery d = null; if (receiver == null) { Set deliveries = router.handle(this, ref, null); if (deliveries.isEmpty()) { return null; } //Sani...
private Delivery getDelivery(Receiver receiver, MessageReference ref) { Delivery d = null; if (receiver == null) { Set deliveries = router.handle(this, ref, null); if (deliveries.isEmpty()) { return null; } //Sani...
45,235
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) { checkClosed(); if (r == null) { checkClosed(); return null; } if (log.isTraceEnabled()){ checkClosed(); log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) );...
45,236
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 (...
45,237
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 (...
45,238
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 (...
45,239
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries) { delegate.addAsfMessage(m, consumerID, channelID, maxDeliveries); }
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries, SessionDelegate connectionConsumerSession) { delegate.addAsfMessage(m, consumerID, channelID, maxDeliveries); }
45,240
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries) { delegate.addAsfMessage(m, consumerID, channelID, maxDeliveries); }
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries) { delegate.addAsfMessage(m, consumerID, channelID, maxDeliveries, connectionConsumerSession); }
45,241
public void positionAbsoluteOnPage(LayoutContext c) { if (c.isPrint() && (getStyle().isForcePageBreakBefore() || isNeedPageClear())) { moveToNextPage(c); calcCanvasLocation(); calcChildLocations(); } }
public void positionAbsoluteOnPage(LayoutContext c) { if (c.isPrint() && (getStyle().isForcePageBreakBefore() || isNeedPageClear())) { moveToNextPage(c); calcCanvasLocation(); calcChildLocations(); } }
45,242
private void derive(CascadedStyle matched) { if (matched == null) { return; }//nothing to derive Iterator mProps = matched.getMatchedPropertyDeclarations(); int i = 0; while (mProps.hasNext()) { PropertyDeclaration pd = (PropertyDeclaration) mProps.next(); ...
private void derive(CascadedStyle matched) { if (matched == null) { return; }//nothing to derive Iterator mProps = matched.getCascadedPropertyDeclarations(); int i = 0; while (mProps.hasNext()) { PropertyDeclaration pd = (PropertyDeclaration) mProps.next(); ...
45,246
public Border() { }
public Border() { }
45,247
public void floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, FloatedBlockBox box) { box.y = (int) c.getFloatingY(); if (box.getStyle().isFloatedLeft()) { position(c, bfc, box, LEFT); save(box, layer, bfc, LEFT); } else if (box.getStyle().isFloatedRight())...
public void floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, FloatedBlockBox box) { if (box.getStyle().isFloatedLeft()) { position(c, bfc, box, LEFT); save(box, layer, bfc, LEFT); } else if (box.getStyle().isFloatedRight()) { position(c, bfc, b...
45,248
public void floatPending(LayoutContext c, Layer layer, BlockFormattingContext bfc, List pendingFloats) { if (pendingFloats.size() > 0) { for (int i = 0; i < pendingFloats.size(); i++) { if (i != 0) { c.setFloatingY(0d); } FloatedBlock...
public void floatPending(LayoutContext c, Layer layer, BlockFormattingContext bfc, List pendingFloats) { if (pendingFloats.size() > 0) { for (int i = 0; i < pendingFloats.size(); i++) { if (i != 0) { c.setFloatingY(0d); } FloatedBlock...
45,249
public void removeFloat(FloatedBlockBox floater) { for (Iterator i = leftFloats.iterator(); i.hasNext();) { BoxOffset boxOffset = (BoxOffset) i.next(); if (boxOffset.getBox().equals(floater)) { i.remove(); } } for (Iterator i = rightFloats.iterato...
public void removeFloat(FloatedBlockBox floater) { for (Iterator i = leftFloats.iterator(); i.hasNext();) { BoxOffset boxOffset = (BoxOffset) i.next(); if (boxOffset.getBox().equals(floater)) { i.remove(); } } for (Iterator i = rightFloats.iterato...
45,250
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(R...
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) { // save the old AntiAliasing setting, then force it on Object aa_key = c.getGraphics().getRenderingHint(RenderingHints.KEY_ANTIALIASING); c.getGraphics().setRenderingHint(R...
45,253
public boolean loadData(String conf, boolean shouldBePublic) { boolean loaded = false; if (!isEvicted(_rootModuleConf) && (hasConfigurationsToLoad() || !isRootModuleConfLoaded()) && !hasProblem()) { markRootModuleConfLoaded(); if (_md == null) { DependencyResolver ...
public boolean loadData(String conf, boolean shouldBePublic) { boolean loaded = false; if (!isEvicted(_rootModuleConf) && (hasConfigurationsToLoad() || !isRootModuleConfLoaded()) && !hasProblem()) { markRootModuleConfLoaded(); if (_md == null) { DependencyResolver ...
45,254
public void tearDown() throws Exception { // TODO uncomment these //Drain the queue while (true) { Message m = queueConsumer.receive(2000); if (m == null) break; } producerConnection.close(); consumerConnection.close(); ServerManagement.unde...
public void tearDown() throws Exception { // TODO uncomment these //Drain the queue while (true) { Message m = queueConsumer.receive(2000); if (m == null) break; } producerConnection.close(); consumerConnection.close(); ServerManagement.undeployQueue("Queue"); super.tearDown(); ...
45,256
public void propagateChildProperties(Box child) { if (child.isChildrenExceedBounds()) { setChildrenExceedBounds(true); } if (child.isFixedDescendant()) { setFixedDescendant(true); } }
public void propagateChildProperties(Box child) { if (child.isChildrenExceedBounds()) { setChildrenExceedBounds(true); } if (child.isFixedDescendant()) { setFixedDescendant(true); } }
45,257
public void close() throws JMSException { if (log.isTraceEnabled()) { log.trace("In ServerConnectionDelegate.close()"); } DestinationManagerImpl dm = serverPeer.getDestinationManager(); Iterator iter = this.temporaryDestinations.iterator(); while (iter.hasNext()) { dm.removeT...
public void close() throws JMSException { if (log.isTraceEnabled()) { log.trace("close()"); } DestinationManagerImpl dm = serverPeer.getDestinationManager(); Iterator iter = this.temporaryDestinations.iterator(); while (iter.hasNext()) { dm.removeTemporaryDestination((JBossDe...
45,258
public void closing() throws JMSException { log.trace("In ServerConnectionDelegate.closing()"); //This currently does nothing }
public void closing() throws JMSException { log.trace("closing (noop)"); //This currently does nothing }
45,259
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) { if (log.isTraceEnabled()) { log.trace("creating session, transacted: " + transacted + " ackMode: " + acknowledgmentMode + " Xa:" + isXA); } // create the dynami...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) { if (log.isTraceEnabled()) { log.trace("creating session, transacted: " + transacted + " ackMode: " + acknowledgmentMode + " Xa:" + isXA); } // create the dynami...
45,260
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) { if (log.isTraceEnabled()) { log.trace("creating session, transacted: " + transacted + " ackMode: " + acknowledgmentMode + " Xa:" + isXA); } // create the dynami...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) { if (log.isTraceEnabled()) { log.trace("creating session, transacted: " + transacted + " ackMode: " + acknowledgmentMode + " Xa:" + isXA); } // create the dynami...
45,261
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); synchronized(deliveries) ...
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); synchronized(deliveries) ...
45,262
MenuItem(String label){ this.label = label;}
MenuItem(String label){ this.label = label;}
45,264
MenuItem(String label){ this.label = label;}
MenuItem(String label){ this.label = label;}
45,265
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMapMessage m = new JBossMapMessage(new GUID().toString(), true, System.currentTimeMilli...
protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMapMessage m = new JBossMapMessage(new GUID().toString(), true, System.currentTimeMill...
45,266
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMapMessage m = new JBossMapMessage(new GUID().toString(), true, System.currentTimeMilli...
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMapMessage m = new JBossMapMessage(randInt().intValue(), true, System.currentTimeMillis...
45,267
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
45,268
public ConditionDescriptor(Element function) { init(function); }
public ConditionDescriptor(Element function) { init(function); }
45,269