bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,737
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,738
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,739
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,740
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,741
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,742
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
public Object handleClosing(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = state.getAcknowledgeMode(); // select eligib...
31,743
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
31,744
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
31,745
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
31,746
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
31,747
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
31,748
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); boolean cancel = ((Boolean)mi.getArguments()[0]).booleanValue(); ...
31,749
public Object handlePreDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ackMode == Session.CLIENT_ACKNOWLEDGE || ackMode == Session...
public Object handlePreDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ackMode == Session.CLIENT_ACKNOWLEDGE || ackMode == Session...
31,750
public Object handlePreDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ackMode == Session.CLIENT_ACKNOWLEDGE || ackMode == Session...
public Object handlePreDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ackMode == Session.CLIENT_ACKNOWLEDGE || ackMode == Session...
31,751
public Object handlePreDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ackMode == Session.CLIENT_ACKNOWLEDGE || ackMode == Session...
public Object handlePreDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ackMode == Session.CLIENT_ACKNOWLEDGE || ackMode == Session...
31,752
public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ac...
public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ac...
31,754
public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ac...
public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ac...
31,755
public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ac...
public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); int ackMode = state.getAcknowledgeMode(); if (ac...
31,756
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
31,757
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
31,758
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
31,759
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
public Object handleRedeliver(Invocation invocation) throws Throwable { if (trace) { log.trace("redeliver called"); } MethodInvocation mi = (MethodInvocation)invocation; SessionState state = getState(invocation); // We put the messages back in the front of their appropriate co...
31,760
private static void stripTextContent(LinkedList stripped) { LinkedList pendingStylePushes = new LinkedList(); LinkedList result = new LinkedList(); for (Iterator i = stripped.iterator(); i.hasNext();) { Object o = i.next(); if (o instanceof TextContent) cont...
private static void stripTextContent(LinkedList stripped) { LinkedList pendingStylePushes = new LinkedList(); LinkedList result = new LinkedList(); for (Iterator i = stripped.iterator(); i.hasNext();) { Object o = i.next(); if (o instanceof TextContent) cont...
31,761
public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Map edges = new HashMap(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ...
public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Map edges = new HashMap(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ...
31,762
public void loadPage(String url_text, XHTMLPanel panel) throws Exception { Document doc = null; URL ref = null; if (url_text.startsWith("demo:")) { Uu.p("starts with demo"); DemoMarker marker = new DemoMarker(); Uu.p("url text = " + url_text); ...
public void loadPage(String url_text, XHTMLPanel panel) throws Exception { Document doc = null; URL ref = null; if (url_text.startsWith("demo:")) { Uu.p("starts with demo"); DemoMarker marker = new DemoMarker(); Uu.p("url text = " + url_text); ...
31,763
public void loadPage(String url_text, XHTMLPanel panel) throws Exception { Document doc = null; URL ref = null; if (url_text.startsWith("demo:")) { Uu.p("starts with demo"); DemoMarker marker = new DemoMarker(); Uu.p("url text = " + url_text); ...
public void loadPage(String url_text, XHTMLPanel panel) throws Exception { Document doc = null; URL ref = null; if (url_text.startsWith("demo:")) { Uu.p("starts with demo"); DemoMarker marker = new DemoMarker(); Uu.p("url text = " + url_text); ...
31,764
public void run() { try { synchronized (semaphore) { semaphore.wait(); } int counter = 0; while (true) { Message message = consumer.receive(50); if (message==null && shouldStop) ...
public void run() { try { synchronized (semaphore) { semaphore.wait(); } int counter = 0; while (true) { Message message = consumer.receive(50); if (message==null && shouldStop) ...
31,766
public void run() { try { synchronized (semaphore) { semaphore.wait(); } int counter = 0; while (true) { Message message = consumer.receive(50); if (message==null && shouldStop) ...
public void run() { try { synchronized (semaphore) { semaphore.wait(); } int counter = 0; while (true) { Message message = consumer.receive(50); if (message==null && shouldStop) ...
31,767
public void run() { try { synchronized (semaphore) { semaphore.wait(); } int counter = 0; while (!shouldStop) { log.trace("Producer ID=" + id + " send message"); producer.send(session.c...
public void run() { try { synchronized (semaphore) { semaphore.wait(); } int counter = 0; while (!shouldStop) { log.trace("Producer ID=" + id + " send message"); producer.send(session.c...
31,768
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); Connection conn3 = cf.createConnection(); log.info("Created connectio...
31,769
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
31,770
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
31,771
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
public void testMultiThreadFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory) ic[1].lookup("/ConnectionFactory"); Connection conn = factory.createConnection(); conn.start(); ArrayList list = new ArrayList(); for (int i = 0; i < 5; i++) { li...
31,772
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != WorkflowEntry.ACTIVATED) { return; } WorkflowDescriptor wf = getConfiguration()....
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != WorkflowEntry.ACTIVATED) { return; } WorkflowDescriptor wf = getConfiguration()....
31,774
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != WorkflowEntry.ACTIVATED) { return; } WorkflowDescriptor wf = getConfiguration()....
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() != WorkflowEntry.ACTIVATED) { return; } WorkflowDescriptor wf = getConfiguration()....
31,775
protected int[] getAvailableAutoActions(long id, Map inputs) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } ...
protected int[] getAvailableAutoActions(long id, Map inputs) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } ...
31,776
protected List getAvailableAutoActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableAutoActionsForStep called fo...
protected List getAvailableAutoActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableAutoActionsForStep called fo...
31,777
private Step getCurrentStep(WorkflowDescriptor wfDesc, int actionId, List currentSteps, Map transientVars, PropertySet ps) throws WorkflowException { if (currentSteps.size() == 1) { return (Step) currentSteps.get(0); } for (Iterator iterator = currentSteps.iterator(); iterator.hasNex...
private Step getCurrentStep(WorkflowDescriptor wfDesc, int actionId, List currentSteps, Map transientVars, PropertySet ps) throws WorkflowException { if (currentSteps.size() == 1) { return (Step) currentSteps.get(0); } for (Iterator iterator = currentSteps.iterator(); iterator.hasNex...
31,778
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); String conditionType = null; List conditions = nul...
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); String conditionType = null; List cond...
31,779
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); String conditionType = null; List conditions = nul...
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); String conditionType = null; List conditions = nul...
31,780
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { if (!joined) { return null; } if (log.isTraceEnabled()) { log.trace(this + " handles " + routable); } Set outputs = getOutputs(); if (outputs.isEmpty()) { if (log.isTraceEnabled()) {...
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { if (!joined) { return null; } if (log.isTraceEnabled()) { log.trace(this + " handles " + routable); } Set outputs = getOutputs(); if (outputs.isEmpty()) { if (log.isTraceEnabled()) {...
31,782
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,783
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,784
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,785
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,786
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,787
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,788
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(); if (block.getState() != Box...
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(); if (block.getState() != Box...
31,789
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
31,790
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
31,791
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
31,792
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
31,793
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
public void align() { if (getFloatDistances() == null) { // Shouldn't happen (but currently can with nested tables) XRLog.layout(Level.WARNING, "Float distances not available. Cannot align."); return; } IdentValue align = getParent().getStyle().getCalculatedStyle().getIdent(CSSNam...
31,794
Element getDefaultSecurityConfig() throws Exception;
String getDefaultSecurityConfig() throws Exception;
31,796
void setDefaultSecurityConfig(Element config) throws Exception;
void setDefaultSecurityConfig(String config) throws Exception;
31,797
void setSecurityConfig(String destName, Element config) throws Exception;
void setSecurityConfig(String destName, String config) throws Exception;
31,798
protected Client getClient() { return ((ConnectionState)state).getClient(); }
protected Client getClient() { return ((ConnectionState)state).getRemotingConnection().getInvokingClient(); }
31,799
static String collapseWhitespace(IdentValue whitespace, String text, boolean collapseLeading) { // do step 1 if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == IdentValue.PRE) { text = linefeed_space_collapse.matcher(text).replaceAll(EOL); } ...
static String collapseWhitespace(IdentValue whitespace, String text, boolean collapseLeading) { // do step 1 if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP) { text = linefeed_space_collapse.matcher(text).replaceAll(EOL); } // do step 2 // pull ou...
31,800
static String collapseWhitespace(IdentValue whitespace, String text, boolean collapseLeading) { // do step 1 if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == IdentValue.PRE) { text = linefeed_space_collapse.matcher(text).replaceAll(EOL); } ...
static String collapseWhitespace(IdentValue whitespace, String text, boolean collapseLeading) { // do step 1 if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == IdentValue.PRE) { text = linefeed_space_collapse.matcher(text).replaceAll(EOL); } ...
31,801
private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, LineBox curr_line, int start, InlineBlockBox pendingBloc...
private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, LineBox curr_line, int start, InlineBlockBox pendingBloc...
31,802
private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, LineBox curr_line, int start, InlineBlockBox pendingBloc...
private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, LineBox curr_line, int start, InlineBlockBox pendingBloc...
31,803
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);...
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);...
31,804
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);...
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);...
31,805
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);...
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);...
31,806
public void setUp() throws Exception { super.setUp(); //Start the local server localServer = new LocalTestServer(); //Start all the services locally localServer.start("all"); localServer.deployQueue("Queue", null, false); //Connect to the remote...
public void setUp() throws Exception { super.setUp(); //Start the local server localServer = new LocalTestServer(); //Start all the services locally localServer.start("all", true); localServer.deployQueue("Queue", null, false); //Connect to the ...
31,807
public Class getCategory() { return PDLOverrideSupported.class; }
public final Class getCategory() { return PDLOverrideSupported.class; }
31,808
public String getName() { return "pdl-override-supported"; }
public final String getName() { return "pdl-override-supported"; }
31,809
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; sessions = new ConcurrentReaderHashMap(); temporaryDestinations = Collections.synchronizedSet(new HashSet()); //TODO Can probably improve concurrency for thi...
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password, String clientConnectionId) { this.serverPeer = serverPeer; sessions = new ConcurrentReaderHashMap(); temporaryDestinations = Collections.synchronizedSet(new HashSet()); //TODO Can probably ...
31,810
public InputStream getDefaultStylesheet() { InputStream stream = null; try { //TODO: weakness: if no configuration found, it bombs out. Should we be so reliable on correct config? Maybe a warning will do? String defaultStyleSheetLocation = Configuration.valueFor("xr.css.user-agen...
public InputStream getDefaultStylesheet() { InputStream stream = null; try { //TODO: weakness: if no configuration found, it bombs out. Should we be so reliable on correct config? Maybe a warning will do? String defaultStyleSheetLocation = Configuration.valueFor("xr.css.user-agen...
31,813
public InputStream getDefaultStylesheet() { InputStream stream = null; try { //TODO: weakness: if no configuration found, it bombs out. Should we be so reliable on correct config? Maybe a warning will do? String defaultStyleSheetLocation = Configuration.valueFor("xr.css.user-agen...
public InputStream getDefaultStylesheet() { InputStream stream = null; try { //TODO: weakness: if no configuration found, it bombs out. Should we be so reliable on correct config? Maybe a warning will do? String defaultStyleSheetLocation = Configuration.valueFor("xr.css.user-agen...
31,814
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(NotYetImplementedException e) { // TODO get rid of this throw e; } catch(WrapperException e) { if (log.isTraceEnabled()) { log.trace("...
public Object invoke(Invocation invocation) throws Throwable { try { return invocation.invokeNext(); } catch(NotYetImplementedException e) { // TODO get rid of this throw e; } catch(WrapperException e) { if (log.isTraceEnabled()) { log.trace("...
31,815
public static String identityToString(Serializable distributedID, Serializable peerID, Address address) { return distributedID + ":" + peerID + ":" + address; }
public static String identityToString(Serializable distributedID, Serializable peerID, Address address) { return distributedID + ":" + Util.guidToString((String)peerID) + ":" + address; }
31,816
public Object invoke(InvocationRequest invocation) throws Throwable { log.trace("Received request"); ServerRequest request = (ServerRequest)invocation.getParameter(); return request.execute(); }
public Object invoke(InvocationRequest invocation) throws Throwable { log.trace("Received request"); ServerRequest request = (ServerRequest)invocation.getParameter(); return request.execute(store); }
31,817
JobResult execute();
Object execute(JobStore store) throws Exception;
31,818
public static void main(String[] args) throws ClassNotFoundException { final String className = args[ 0]; final String mname = (args.length > 1) ? args[ 1] : null; ClassLoader cl = Thread.currentThread().getContextClassLoader(); final VmType cls = cl.loadClass(className).getVmClass(); ...
public static void main(String[] args) throws ClassNotFoundException { final String className = args[ 0]; final String mname = (args.length > 1) ? args[ 1] : null; ClassLoader cl = Thread.currentThread().getContextClassLoader(); final VmType cls = cl.loadClass(className).getVmClass(); ...
31,822
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(view instanceof CustomEdgeView) ...
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = graph.getGraphLayoutCache().getMapping(cell, false); if(view instanceof CustomEdgeView) {...
31,823
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(view instanceof CustomEdgeView) ...
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(view instanceof CustomEdgeView) ...
31,824
public void setUp() throws Exception { super.setUp(); ServerManagement.startInVMServer(); initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory"); connect...
public void setUp() throws Exception { super.setUp(); ServerManagement.startInVMServer(); initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); cf = (ConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory"); connection = cf.createCon...
31,825
public void setUp() throws Exception { super.setUp(); ServerManagement.startInVMServer(); initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory"); connect...
public void setUp() throws Exception { super.setUp(); ServerManagement.startInVMServer(); initialContext = new InitialContext(InVMInitialContextFactory.getJNDIEnvironment()); ConnectionFactory cf = (ConnectionFactory)initialContext.lookup("/messaging/ConnectionFactory"); ServerM...
31,826
public void tearDown() throws Exception { ServerManagement.stopInVMServer(); //connection.stop(); connection = null; super.tearDown(); }
public void tearDown() throws Exception { ServerManagement.stopInVMServer(); //connection.stop(); super.tearDown(); }
31,827
public void setUp() throws Exception { super.setUp(); //FIXME - Why are we starting more than one persistence manager using the same datasource?? //They will pointing at the same set of db tables thus giving indeterministic results tl2 = new JDBCPersistenceManager(sc.getDataSource(), sc.g...
public void setUp() throws Exception { super.setUp(); //FIXME - Why are we starting more than one persistence manager using the same datasource?? //They will pointing at the same set of db tables thus giving indeterministic results tl2 = new JDBCPersistenceManager(sc.getDataSource(), sc.g...
31,830
public void setUp() throws Exception { super.setUp(); //FIXME - Why are we starting more than one persistence manager using the same datasource?? //They will pointing at the same set of db tables thus giving indeterministic results tl2 = new JDBCPersistenceManager(sc.getDataSource(), sc.g...
public void setUp() throws Exception { super.setUp(); //FIXME - Why are we starting more than one persistence manager using the same datasource?? //They will pointing at the same set of db tables thus giving indeterministic results tl2 = new JDBCPersistenceManager(sc.getDataSource(), sc.g...
31,831
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")...
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")...
31,832
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")...
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")...
31,833
private org.omg.CORBA.Object resolve(org.omg.CORBA.Object object) { NamingContext ns; String key = "?"; try { if (object instanceof NamingContext) ns = (NamingContext) object; else { Delegate delegate = ((ObjectImpl) object)._get_delegate(); ns = ne...
private org.omg.CORBA.Object resolve(org.omg.CORBA.Object object) { NamingContext ns; String key = "?"; try { if (object instanceof NamingContext) ns = (NamingContext) object; else { Delegate delegate = ((ObjectImpl) object)._get_delegate(); ns = ne...
31,834
public void run() { try { while (count < numMessages) { Message m = sess.createMessage(); m.setStringProperty("PROD_NAME", prodName); m.setIntProperty("MSG_NUMBER", count); prod.send(m); count++; } log.info("Sent" + nu...
public void run() { try { while (count < numMessages) { Message m = sess.createMessage(); m.setStringProperty("PROD_NAME", prodName); m.setIntProperty("MSG_NUMBER", count); prod.send(m); count++; } } catch (...
31,837
public IllegalFormatWidthException(int w) { super(); this.w = w; }
public IllegalFormatWidthException(int w) { super("The width, " + w + ", is illegal."); this.w = w; }
31,838
private void checkExecutors(Coordinator coordinator, List executorURLs) throws Exception { for(Iterator i = executorURLs.iterator(); i.hasNext(); ) { String executorURL = (String)i.next(); try { log.debug("resetting " + executorURL); coordinator.sendToExecuto...
private void checkExecutors(Coordinator coordinator, List executorURLs) throws Exception { for(Iterator i = executorURLs.iterator(); i.hasNext(); ) { String executorURL = (String)i.next(); try { log.debug("resetting " + executorURL); coordinator.sendToExecuto...
31,839
public abstract BigInteger getG();
BigInteger getG();
31,841
public abstract BigInteger getP();
BigInteger getP();
31,842
public abstract BigInteger getQ();
BigInteger getQ();
31,843
public void testListing() throws Exception { FileSystemResolver resolver = new FileSystemResolver(); resolver.setName("test"); resolver.setIvy(_ivy); assertEquals("test", resolver.getName()); resolver.addIvyPattern(IVY_PATTERN); resolver.addArtifactPattern("test/rep...
public void testListing() throws Exception { FileSystemResolver resolver = new FileSystemResolver(); resolver.setName("test"); resolver.setIvy(_ivy); assertEquals("test", resolver.getName()); resolver.addIvyPattern(IVY_PATTERN); resolver.addArtifactPattern("test/rep...
31,844
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
31,845
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
31,846
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
31,847
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
CascadedStyle createCascadedStyle(org.w3c.dom.Element e, List matchedSelectors) { CascadedStyle cs = null; org.xhtmlrenderer.css.sheet.Ruleset elementStyling = getElementStyle(e); String fingerprint = null; if (elementStyling == null) {//try to re-use a CascadedStyle StringBuf...
31,848
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
31,849
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
31,850
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
31,851