bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void testBasicCommonAction() throws Exception { URL url = getClass().getResource("/samples/common-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); assertEquals("Unexpected workflow state", WorkflowEntry.ACTIVATED, workflow.getEntryState(id)); //verify that a... | public void testBasicCommonAction() throws Exception { URL url = getClass().getResource("/samples/common-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); assertEquals("Unexpected workflow state", WorkflowEntry.ACTIVATED, workflow.getEntryState(id)); //verify that a... | 49,205 |
public void testBasicGlobalAction() throws Exception { URL url = getClass().getResource("/samples/global-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); int[] availableActions = workflow.getAvailableActions(id, null); Object[] list = new Object[availableActions.le... | public void testBasicGlobalAction() throws Exception { URL url = getClass().getResource("/samples/global-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); int[] availableActions = workflow.getAvailableActions(id, null); Object[] list = new Object[availableActions.le... | 49,206 |
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | public static Server acquireRemote(int initialRetries, int index, boolean quiet) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) ... | 49,207 |
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | 49,208 |
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | 49,209 |
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | 49,210 |
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ... | 49,211 |
public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ... | public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ... | 49,213 |
public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ... | public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ... | 49,214 |
public static void addServerInvocationHandler(String subsystem, ServerInvocationHandler handler) throws Exception { insureStarted(); servers[0].addServerInvocationHandler(subsystem, handler); } | public static void addServerInvocationHandler(String subsystem, ServerInvocationHandler handler) throws Exception { insureStarted(); servers[0].getServer().addServerInvocationHandler(subsystem, handler); } | 49,215 |
public static void configureSecurityForDestination(String destName, String config) throws Exception { insureStarted(); servers[0].configureSecurityForDestination(destName, config); } | public static void configureSecurityForDestination(String destName, String config) throws Exception { insureStarted(); servers[0].getServer().configureSecurityForDestination(destName, config); } | 49,216 |
public static synchronized void create() throws Exception { create(0); } | public static synchronized Server create() throws Exception { create(0); } | 49,217 |
public static synchronized void create() throws Exception { create(0); } | public static synchronized void create() throws Exception { return create(0); } | 49,218 |
public static void createQueue(String name, String jndiName) throws Exception { insureStarted(); servers[0].createQueue(name, jndiName); } | public static void createQueue(String name, String jndiName) throws Exception { insureStarted(); servers[0].getServer().createQueue(name, jndiName); } | 49,219 |
public static void createTopic(String name, String jndiName) throws Exception { insureStarted(); servers[0].createTopic(name, jndiName); } | public static void createTopic(String name, String jndiName) throws Exception { insureStarted(); servers[0].getServer().createTopic(name, jndiName); } | 49,220 |
public static ObjectName deploy(String mbeanConfiguration) throws Exception { insureStarted(); return servers[0].deploy(mbeanConfiguration); } | public static ObjectName deploy(String mbeanConfiguration) throws Exception { insureStarted(); return servers[0].getServer().deploy(mbeanConfiguration); } | 49,221 |
public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployQueue(name, null... | public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployQueue(name, null... | 49,222 |
public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployQueue(name, null... | public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].getServer().deployQueu... | 49,223 |
public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployTopic(name, null... | public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployTopic(name, null... | 49,224 |
public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployTopic(name, null... | public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].getServer().deployTopi... | 49,225 |
public static void deployConnectionFactory(String objectName, String[] jndiBindings, int prefetchSize, int defaultTempQueueFullSize, int ... | public static void deployConnectionFactory(String objectName, String[] jndiBindings, int prefetchSize, int defaultTempQueueFullSize, int ... | 49,226 |
public static boolean destroyQueue(String name) throws Exception { return servers[0].destroyDestination(true, name); } | public static boolean destroyQueue(String name) throws Exception { return servers[0].getServer().destroyDestination(true, name); } | 49,227 |
public static boolean destroyTopic(String name) throws Exception { return servers[0].destroyDestination(false, name); } | public static boolean destroyTopic(String name) throws Exception { return servers[0].getServer().destroyDestination(false, name); } | 49,228 |
public static Set getConnectorSubsystems() throws Exception { insureStarted(); return servers[0].getConnectorSubsystems(); } | public static Set getConnectorSubsystems() throws Exception { insureStarted(); return servers[0].getServer().getConnectorSubsystems(); } | 49,229 |
public static String getDefaultSecurityConfig() throws Exception { insureStarted(); return servers[0].getDefaultSecurityConfig(); } | public static String getDefaultSecurityConfig() throws Exception { insureStarted(); return servers[0].getServer().getDefaultSecurityConfig(); } | 49,230 |
public static DestinationManager getDestinationManager() throws Exception { insureStarted(); return servers[0].getDestinationManager(); } | public static DestinationManager getDestinationManager() throws Exception { insureStarted(); return servers[0].getServer().getDestinationManager(); } | 49,231 |
public static MessageStore getMessageStore() throws Exception { insureStarted(); return servers[0].getMessageStore(); } | public static MessageStore getMessageStore() throws Exception { insureStarted(); return servers[0].getServer().getMessageStore(); } | 49,232 |
public static PersistenceManager getPersistenceManager() throws Exception { insureStarted(); return servers[0].getPersistenceManager(); } | public static PersistenceManager getPersistenceManager() throws Exception { insureStarted(); return servers[0].getServer().getPersistenceManager(); } | 49,233 |
public static Server getServer() { return getServer(0); } | public synchronized static Server getServer() { return getServer(0); } | 49,234 |
public static ObjectName getServerPeerObjectName() throws Exception { insureStarted(); return servers[0].getServerPeerObjectName(); } | public static ObjectName getServerPeerObjectName() throws Exception { insureStarted(); return servers[0].getServer().getServerPeerObjectName(); } | 49,235 |
public static UserTransaction getUserTransaction() throws Exception { insureStarted(); return servers[0].getUserTransaction(); } | public static UserTransaction getUserTransaction() throws Exception { insureStarted(); return servers[0].getServer().getUserTransaction(); } | 49,236 |
public static Object invoke(ObjectName on, String operationName, Object[] params, String[] signature) throws Exception { insureStarted(); return servers[0].invoke(on, operationName, params, signature); } | public static Object invoke(ObjectName on, String operationName, Object[] params, String[] signature) throws Exception { insureStarted(); return servers[0].getServer().invoke(on, operationName, params, signature); } | 49,237 |
public static boolean isServerPeerStarted() throws Exception { insureStarted(); return servers[0].isServerPeerStarted(); } | public static boolean isServerPeerStarted() throws Exception { insureStarted(); return servers[0].getServer().isServerPeerStarted(); } | 49,238 |
public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | public static synchronized boolean isStarted(int i) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | 49,239 |
public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | 49,240 |
public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return servers[i].getServer().isStarted(); } catch(Exception e) { return false; } } | 49,241 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int i) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = null; ... | 49,242 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int index) throws Exception { if (servers[i] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = null; ... | 49,243 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | 49,244 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | 49,245 |
public static Set query(ObjectName pattern) throws Exception { insureStarted(); return servers[0].query(pattern); } | public static Set query(ObjectName pattern) throws Exception { insureStarted(); return servers[0].getServer().query(pattern); } | 49,246 |
public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | 49,247 |
public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | 49,248 |
public static void removeServerInvocationHandler(String subsystem) throws Exception { insureStarted(); servers[0].removeServerInvocationHandler(subsystem); } | public static void removeServerInvocationHandler(String subsystem) throws Exception { insureStarted(); servers[0].getServer().removeServerInvocationHandler(subsystem); } | 49,249 |
public static void setAttribute(ObjectName on, String name, String valueAsString) throws Exception { insureStarted(); servers[0].setAttribute(on, name, valueAsString); } | public static void setAttribute(ObjectName on, String name, String valueAsString) throws Exception { insureStarted(); servers[0].getServer().setAttribute(on, name, valueAsString); } | 49,250 |
public static void setDefaultSecurityConfig(String config) throws Exception { insureStarted(); servers[0].setDefaultSecurityConfig(config); } | public static void setDefaultSecurityConfig(String config) throws Exception { insureStarted(); servers[0].getServer().setDefaultSecurityConfig(config); } | 49,251 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | private static synchronized Server spawn(final int i) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquir... | 49,252 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if(isLocal()) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemote(3, index) !... | 49,253 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { return null; } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemote(3, index) != null) { throw new Exception("The ... | 49,254 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,255 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,256 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,257 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,258 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,259 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | String commandLine = sb.toString(); String commandLine = sb.toString(); String commandLine = sb.toString(); publicString commandLine = sb.toString(); staticString commandLine = sb.toString(); synchronizedString commandLine = sb.toString(); voidString commandLine = sb.toString(); spawn(intString commandLine = sb.toStrin... | 49,260 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,261 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,262 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 49,263 |
public static synchronized void start(String config) throws Exception { start(config, 0); } | public static synchronized void start(String config) throws Exception { start(0, config); } | 49,264 |
public static void stopServerPeer() throws Exception { insureStarted(); servers[0].stopServerPeer(); } | public static void stopServerPeer() throws Exception { insureStarted(); servers[0].getServer().stopServerPeer(); } | 49,265 |
public static void undeploy(ObjectName on) throws Exception { insureStarted(); servers[0].undeploy(on); } | public static void undeploy(ObjectName on) throws Exception { insureStarted(); servers[0].getServer().undeploy(on); } | 49,266 |
public static void undeployConnectionFactory(ObjectName objectName) throws Exception { servers[0].undeployConnectionFactory(objectName); } | public static void undeployConnectionFactory(ObjectName objectName) throws Exception { servers[0].getServer().undeployConnectionFactory(objectName); } | 49,267 |
private static void undeployDestination(boolean isQueue, String name) throws Exception { insureStarted(); servers[0].undeployDestination(isQueue, name); } | private static void undeployDestination(boolean isQueue, String name) throws Exception { insureStarted(); servers[0].getServer().undeployDestination(isQueue, name); } | 49,268 |
public void paintInline(RenderingContext c) { if (getStyle().isHidden()) { return; } getContainingLayer().paintAsLayer(c, this); } | public void paintInline(RenderingContext c) { if (! getStyle().isVisible()) { return; } getContainingLayer().paintAsLayer(c, this); } | 49,269 |
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 49,270 |
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) { String workflowname = "unknown"; long workflow_id = -1; if (entry != null) { workflowname = entry.getWorkflowName(); workflow_id = entry.getId(); } boolean groupByInstanc... | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, PropertySet ps) { String workflowname = "unknown"; long workflow_id = -1; if (entry != null) { workflowname = entry.getWorkflowName(); workflow_id = entry.getId(); } boolea... | 49,271 |
public Container getAncestor() { return ancestor; } // getAncestor() | public Container getAncestor() { return ancestor; } // getAncestor() | 49,272 |
public Container getAncestorParent() { return ancestorParent; } // getAncestorParent() | public Container getAncestorParent() { return ancestorParent; } // getAncestorParent() | 49,273 |
public JComponent getComponent() { return sourceComponent; } // getComponent() | public JComponent getComponent() { return sourceComponent; } // getComponent() | 49,274 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isRemote()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 seconds ..... | 49,276 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in remote mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 seconds .... | 49,277 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } try { ServerManagement.start(1, "all"); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 ... | 49,278 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 49,279 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die Thread.sleep(10000); //... | 49,280 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 49,281 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | Thread.sleep(10000); Thread.sleep(10000); Thread.sleep(10000); publicThread.sleep(10000); voidThread.sleep(10000); testRessurect()Thread.sleep(10000); throwsThread.sleep(10000); ExceptionThread.sleep(10000); Thread.sleep(10000); Thread.sleep(10000); {Thread.sleep(10000); Thread.sleep(10000); Thread.sleep(10000); Thread... | 49,282 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 49,283 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 49,284 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 49,285 |
public void testSimpleSpawn() throws Exception { try { ServerManagement.spawn(7); ServerManagement.start("all", 7); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID"); assertEquals(7, ... | public void testSimpleSpawn() throws Exception { try { log.info("Waiting for server 7 to start ..."); ServerManagement.start("all", 7); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID"); ... | 49,286 |
public void testSimpleSpawn() throws Exception { try { ServerManagement.spawn(7); ServerManagement.start("all", 7); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID"); assertEquals(7, ... | public void testSimpleSpawn() throws Exception { try { ServerManagement.spawn(7); ServerManagement.start(7, "all"); log.info("Server 7 started"); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPee... | 49,287 |
public void setCallbackClient(Client client) { callbackClient = client; //We explictly set the Marshaller since otherwise remoting tries to resolve the marshaller every time //which is very slow - see org.jboss.remoting.transport.socket.ProcessInvocation //This can make a massive difference on ... | public void setCallbackClient(Client client) { callbackClient.setSubsystem(JMSRemotingConnection.JMS_CALLBACK_SUBSYSTEM); callbackClient = client; callbackClient.setSubsystem(JMSRemotingConnection.JMS_CALLBACK_SUBSYSTEM); //We explictly set the Marshaller since otherwise remoting tries to resol... | 49,289 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | 49,290 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | 49,291 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | 49,292 |
private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | 49,294 |
private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | 49,295 |
protected String paramString() { return "JRadioButtonMenuItem"; } | protected String paramString() { return super.paramString(); } | 49,298 |
public synchronized void startService() throws Exception { try { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "... | public synchronized void startService() throws Exception { try { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "... | 49,299 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,301 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValue(); ... | 49,302 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,303 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,304 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | foreign = true; foreign = true; foreign = true; public foreign = true; Object foreign = true; handleSend(Invocation foreign = true; invocation) foreign = true; throws foreign = true; Throwable foreign = true; foreign = true; foreign = true; { foreign = true; foreign = true; foreign = true; foreig... | 49,305 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,306 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,307 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,308 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 49,309 |
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | 49,310 |
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | 49,311 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.