bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,418 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,419 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,420 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,421 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable {if (!(invocation instanceof MethodInvocation)){ return invocation.invokeNext();}MethodInvocation mi = (MethodInvocation)invocation;String methodName = mi.getMethod().getName();if (log.isTraceEnabled()) log.trace("In SessionInterceptor: method is " + methodN... | 49,422 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,423 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEna... | 49,424 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,425 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,426 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTrace... | 49,427 |
protected JBossConnection createConnectionInternal(String username, String password, boolean isXA, int type) throws JMSException { ThreadContextClassLoaderChanger tccc = new ThreadContextClassLoaderChanger(); try { tccc.set(getClass()... | protected JBossConnection createConnectionInternal(String username, String password, boolean isXA, int type) throws JMSException { ThreadContextClassLoaderChanger tccc = new ThreadContextClassLoaderChanger(); try { tccc.set(getClass()... | 49,428 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | 49,429 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | 49,430 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | 49,431 |
private static Clipboard getClipboard(JComponent component) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { try { sm.checkSystemClipboardAccess(); // We may access system clipboard. return component.getToolkit().getSystemClipboard(); } catch (Secu... | privatestaticClipboardgetClipboard(JComponentcomponent){SecurityManagersm=System.getSecurityManager();if(sm!=null) { try { sm.checkSystemClipboardAccess(); //Wemayaccesssystemclipboard. returncomponent.getToolkit().getSystemClipboard(); } catch(SecurityExceptione) { //Wemaynotaccesssystemclipboard. } }//CreateVM-localc... | 49,432 |
public int compareTo (Object obj) { if (obj == null || ! (obj instanceof CompoundName)) throw new ClassCastException ("CompoundName.compareTo() expected CompoundName"); CompoundName cn = (CompoundName) obj; int last = Math.min (cn.elts.size (), elts.size ()); for (int i = 0; i < last; ++i) { St... | public int compareTo (Object obj) { if (! (obj instanceof CompoundName)) throw new ClassCastException ("CompoundName.compareTo() expected CompoundName"); CompoundName cn = (CompoundName) obj; int last = Math.min (cn.elts.size (), elts.size ()); for (int i = 0; i < last; ++i) { String f = canoni... | 49,434 |
public InvalidNameException (String msg) { super (msg); } | public InvalidNameException () { super (msg); } | 49,435 |
public InvalidNameException (String msg) { super (msg); } | public InvalidNameException (String msg) { super (); } | 49,436 |
public List listMessagesNonDurableSub(long channelID, String selector) throws JMSException { System.out.println("XXXXX channelID is " + channelID); JBossTopic jbt = new JBossTopic(this.name); ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.getMessagesFromNonDurabl... | public List listMessagesNonDurableSub(long channelID, String selector) throws JMSException { JBossTopic jbt = new JBossTopic(this.name); ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.getMessagesFromNonDurableSub(channelID, trimSelector(selector)); } | 49,437 |
public static ComponentUI createUI(JComponent x) { return new BasicPanelUI(); } | public static ComponentUI createUI(JComponent x) { return new BasicPanelUI(); } | 49,438 |
public void installUI(JComponent c) { super.installUI(c); } | public void installUI(JComponent c) { super.installUI(c); } | 49,439 |
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; boolean allWhitespace = true; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Objec... | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; boolean allWhitespace = true; for (Itera... | 49,440 |
public View(Element elem) { elt = elem; children = new View[0]; } | public View(Element elem) { elt = elem; } | 49,441 |
public void append(View view) { View[] array = { view }; replace(getViewCount(), 1, array); } | public void append(View view) { View[] array = { view }; int offset = getViewCount(); replace(offset, 0, array); } | 49,442 |
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { for (int i = 0; i < children.length; i++) { View child = children[i]; forwardUpdateToView(child, ev, shape, vf); } } | protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { int count = getViewCount(); for (int i = 0; i < count; i++) { View child = children[i]; forwardUpdateToView(child, ev, shape, vf); } } | 49,443 |
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { for (int i = 0; i < children.length; i++) { View child = children[i]; forwardUpdateToView(child, ev, shape, vf); } } | protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { for (int i = 0; i < children.length; i++) { View child = getView(i); forwardUpdateToView(child, ev, shape, vf); } } | 49,444 |
public Container getContainer() { View parent = getParent(); return parent != null ? parent.getContainer() : null; } | public Container getContainer() { View parent = getParent(); if (parent == null) throw new AssertionError("The parent of a View must not be null."); return parent.getContainer(); } | 49,445 |
public void preferenceChanged(View child, boolean width, boolean height) { if (parent != null) parent.preferenceChanged(this, width, height); else ((JComponent) getContainer()).revalidate(); } | public void preferenceChanged(View child, boolean width, boolean height) { if (parent != null) parent.preferenceChanged(this, width, height); else ((JComponent) getContainer()).revalidate(); } | 49,446 |
public void removeAll() { replace(0, getViewCount(), null); } | public void removeAll() { replace(0, getViewCount(), new View[0]); } | 49,447 |
protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | 49,448 |
protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent ev, ViewFactory vf) { Element[] added = ec.getChildrenAdded(); Element[] removed = ec.getChildrenRemoved(); View[] newChildren = new View[children.length + added... | 49,449 |
public abstract int viewToModel(float x, float y, Shape a, Position.Bias b); | public abstract int viewToModel(float x, float y, Shape a, Position.Bias b); | 49,450 |
public CreateStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { super(ResourceManager.getString("step")); this.workflow = workflow; this.model = model; this.location = location; } | public CreateStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { super(ResourceManager.getString("step")); this.descriptor = workflow; this.model = model; this.location = location; } | 49,452 |
public void actionPerformed(ActionEvent e) { CellFactory.createStep(workflow, model, location); } | public void actionPerformed(ActionEvent e) { CellFactory.createStep(descriptor, model, location); } | 49,453 |
public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]... | public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; ... | 49,454 |
public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]... | public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]... | 49,455 |
public void testNonRecoverableQueueRemoveAllReferences() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new M... | public void testNonRecoverableQueueRemoveAllReferences() throws Throwable { //Non recoverable queue - eg temporary queue Queue queue = new Queue(1, ms, pm, true, false, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[200]; MessageReference[] refs = new Message... | 49,456 |
public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i... | public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | 49,457 |
public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i... | public void testQueueReloadWithSmallerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i... | 49,458 |
public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = ... | public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = 0; i <... | 49,459 |
public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = ... | public void testRecoverableQueueCrash() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 150 np mesages for (int i = ... | 49,460 |
public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; i < 15... | 49,461 |
public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | public void testReloadWithLargerFullSize() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[150]; MessageReference[] refs = new MessageReference[150]; //Send 150 p messages for (int i = 0; ... | 49,462 |
private void startRemoting(boolean multiplex) throws Exception { RemotingJMXWrapper mbean; String serializationType = config.getSerializationType(); String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireF... | private void startRemoting(boolean multiplex) throws Exception { RemotingJMXWrapper mbean; String serializationType = config.getSerializationType(); String params = "/?marshaller=org.jboss.jms.server.remoting.JMSWireFormat&" + "unmarshaller=org.jboss.jms.server.remoting.JMSWireF... | 49,463 |
protected void updateView() { JoinCell cell = (JoinCell)getCell(); JoinDescriptor descriptor = cell.getJoinDescriptor(); conditionsModel.setList(descriptor.getConditions()); connector.setSource(descriptor); // if (cell.getJoinDescriptor().getResult() != null) { // List list = new ArrayList(); ... | protected void updateView() { JoinCell cell = (JoinCell)getCell(); JoinDescriptor descriptor = cell.getJoinDescriptor(); conditionsModel.setList(((ConditionsDescriptor)descriptor.getConditions().get(0)).getConditions()); connector.setSource(descriptor); // if (cell.getJoinDescriptor().getResult() != ... | 49,465 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 49,466 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 49,467 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 49,468 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 49,469 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 49,470 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 49,471 |
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ... | 49,472 |
protected void executeFunction(FunctionDescriptor function, Map transientVars, PropertySet ps) throws WorkflowException { if (function != null) { String type = function.getType(); HashMap args = new HashMap(function.getArgs()); for (Iterator iterator = args.entrySet().iterato... | protected void executeFunction(FunctionDescriptor function, Map transientVars, PropertySet ps) throws WorkflowException { if (function != null) { String type = function.getType(); HashMap args = new HashMap(function.getArgs()); for (Iterator iterator = args.entrySet().iterato... | 49,473 |
public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return resolver; } | public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return resolver; } | 49,474 |
public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return resolver; } | public TypeResolver getResolver() { if (resolver == null) { resolver = TypeResolver.getResolver(); } return typeResolver; } | 49,475 |
protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ... | protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ... | 49,476 |
public void setResolver(TypeResolver resolver) { this.resolver = resolver; } | public void setResolver(TypeResolver resolver) { this.typeResolver = resolver; } | 49,477 |
protected void verifyInputs(WorkflowEntry entry, List validators, Map transientVars, PropertySet ps) throws WorkflowException { for (Iterator iterator = validators.iterator(); iterator.hasNext();) { ValidatorDescriptor input = (ValidatorDescriptor) iterator.next(); if (input != null) { ... | protected void verifyInputs(WorkflowEntry entry, List validators, Map transientVars, PropertySet ps) throws WorkflowException { for (Iterator iterator = validators.iterator(); iterator.hasNext();) { ValidatorDescriptor input = (ValidatorDescriptor) iterator.next(); if (input != null) { ... | 49,478 |
public ConnectionState(ConnectionDelegate delegate, JMSRemotingConnection remotingConnection, Version versionToUse, ResourceManager rm, MessageIdGenerator gen) throws Exception { super(null, delegate); if (log.isTraceEn... | public ConnectionState(String serverID, ConnectionDelegate delegate, JMSRemotingConnection remotingConnection, Version versionToUse, ResourceManager rm, MessageIdGenerator gen) throws Exception { super(null, delegate); ... | 49,479 |
public void testClientCrashWithTwoConnections() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); Topic topic = (Topic)ic.lookup("/topic/Topic"); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Creat... | public void testClientCrashWithTwoConnections() throws Exception { InitialContext ic = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); Topic topic = (Topic)ic.lookup("/topic/Topic"); ConnectionFactory cf = (ConnectionFactory)ic.lookup("/ConnectionFactory"); Creat... | 49,481 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = iv... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = ivy.getDefaultCache(); } ... | 49,482 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = iv... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = iv... | 49,483 |
public Topic(long id, int fullSize, int pageSize, int downCacheSize) { router = new PointToMultipointRouter(); if (log.isTraceEnabled()) { log.trace(this + " created"); } this.destinationId = id; this.fullSize = fullSize; this.pageSize = pageSize; this.downCacheSize ... | public Topic(long id, int fullSize, int pageSize, int downCacheSize) { router = new PointToMultipointRouter(); if (log.isTraceEnabled()) { log.trace(this + " created"); } this.destinationId = id; this.fullSize = fullSize; this.pageSize = pageSize; this.downCacheSize ... | 49,485 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCu... | 49,486 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurr... | 49,487 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,488 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,489 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,490 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,491 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,492 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,493 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,494 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,495 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,496 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,497 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,498 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,499 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,500 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,501 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,502 |
public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | public static void paint( Context c, Box block ) { // don't draw if the backgrounds are turned off if ( !Configuration.isTrue( "xr.renderer.draw.backgrounds", true ) ) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.get... | 49,503 |
private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | 49,504 |
private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if (!horiz) { rwidth = iw... | 49,505 |
private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | 49,506 |
private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | 49,507 |
private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | 49,508 |
private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | 49,509 |
public ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception { if (connector != null) { return connector.addInvocationHandler(s, h); } return null; } | public ServerInvocationHandler addInvocationHandler(String subsystem, ServerInvocationHandler h) throws Exception { if (connector != null) { return connector.addInvocationHandler(s, h); } return null; } | 49,511 |
public ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception { if (connector != null) { return connector.addInvocationHandler(s, h); } return null; } | public ServerInvocationHandler addInvocationHandler(String s, ServerInvocationHandler h) throws Exception { if (connector != null) { subsystemToHandler.put(subsystem, h); return connector.addInvocationHandler(subsystem, h); } return null; } | 49,512 |
public void removeInvocationHandler(String s) throws Exception { connector.removeInvocationHandler(s); } | public void removeInvocationHandler(String subsystem) throws Exception { connector.removeInvocationHandler(s); } | 49,513 |
public void removeInvocationHandler(String s) throws Exception { connector.removeInvocationHandler(s); } | public void removeInvocationHandler(String s) throws Exception { subsystemToHandler.remove(subsystem); connector.removeInvocationHandler(subsystem); } | 49,514 |
public void start() throws Exception { if (connector != null) { return; } connector = new Connector(); connector.setInvokerLocator(locator.getLocatorURI()); connector.start(); } | publicvoidstart()throwsException{if(connector!=null){return;}connector=newConnector();connector.setInvokerLocator(locator.getLocatorURI());connector.start();} | 49,515 |
public void stop() throws Exception { if (connector == null) { return; } connector.stop(); connector = null; } | public void stop() throws Exception { if (connector == null) { return; } connector.stop(); connector = null; } | 49,516 |
public Box layout(Context c, Element elem) { BlockBox block = (BlockBox)createBox(c,elem); // load the image Border border = getBorder(c, block); Border padding = getPadding(c, block); Border margin = getMargin(c, block); Image img = getImage(c,elem); ... | public Box layout(Context c, Element elem) { BlockBox block = (BlockBox)createBox(c,elem); // load the image Border border = getBorder(c, block); Border padding = getPadding(c, block); Border margin = getMargin(c, block); Image img = getImage(c,elem); ... | 49,518 |
public void paintComponent(Context c, Box box) { Image img = getImage(c,box.node); c.getGraphics().drawImage(img,box.x,box.y,null); } | public void paintComponent(Context c, Box box) { Image img = getImage(c,box.node); if(img != null) { c.getGraphics().drawImage(img,box.x,box.y,null); } } | 49,519 |
public Box createBox(Context c, Node node) { BlockBox block = new BlockBox(); block.node = node; return block; } | publicBoxcreateBox(Contextc,Nodenode){BlockBoxblock=newBlockBox();block.node=node;returnblock;} | 49,520 |
public Box createBox(Context c, Node node) { BlockBox block = new BlockBox(); block.node = node; return block; } | publicBoxcreateBox(Contextc,Nodenode){BlockBoxblock=newBlockBox();block.node=node;returnblock;} | 49,521 |
public Box createBox(Context c, Node node) { BlockBox block = new BlockBox(); block.node = node; return block; } | publicBoxcreateBox(Contextc,Nodenode){BlockBoxblock=newBlockBox();block.node=node;returnblock;} | 49,522 |
public Box createBox(Context c, Node node) { BlockBox block = new BlockBox(); block.node = node; return block; } | publicBoxcreateBox(Contextc,Nodenode){BlockBoxblock=newBlockBox();block.node=node;returnblock;} | 49,523 |
public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { return new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL i... | public static Image loadImage(Context c, String src) throws MalformedURLException { if(src.startsWith("http")) { img = new ImageIcon(new URL(src)).getImage(); } else { //u.p("src = " + src); URL base = c.getBaseURL(); if(base != null) { URL im... | 49,524 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.