bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public int size() { //Keeping a direct count of the number of objects in the deque //would require synchronizing a value between the add and remove methods //thus causing thread contention for locks. //To avoid this we keep separate add and remove counts and only zero them //every 100000 o...
public int size() { //Keeping a direct count of the number of objects in the deque //would require synchronizing a value between the add and remove methods //thus causing thread contention for locks. //To avoid this we keep separate add and remove counts and only zero them //every 100000 o...
55,749
public void setUp() throws Exception { super.setUp(); pm = new HSQLDBPersistenceManager(); ms = new PersistentMessageStore("persistent-message-store", pm); tr.setPersistenceManager(pm); channel = new DurableSubscription("testDurableSubscription", null, null, ms, pm); log.debug("setup ...
public void setUp() throws Exception { super.setUp(); pm = new HSQLDBPersistenceManager(); ms = new PersistentMessageStore("persistent-message-store", pm); tr.setPersistenceManager(pm); channel = new DurableSubscription("clientid123", "testDurableSubscription", null, null, ms, pm); lo...
55,750
public void actionPerformed(ActionEvent ae) { long now = System.currentTimeMillis(); if ( first ) { if (( now - timestamp ) > millisToDecideToPopup ) { first = false; long expected = ( now - timestamp ) * ( max - min ) / ( progress - min ); if ( exp...
public void actionPerformed(ActionEvent ae) { long now = System.currentTimeMillis(); if ( first ) { if (( now - timestamp ) > millisToDecideToPopup ) { first = false; long expected = ( progress - min == 0 ) ? ( now - timestamp ) * ( max - min ) : ( now - ti...
55,751
public static void paintChild(Context c, Box box) { if (box.isChildrenExceedBounds()) { BoxRendering.paint(c, box); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectangle2D o...
public static void paintChild(Context c, Box box) { if (box.isChildrenExceedBounds()) { BoxRendering.paint(c, box, false); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectan...
55,752
public static void paintChild(Context c, Box box) { if (box.isChildrenExceedBounds()) { BoxRendering.paint(c, box); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectangle2D o...
public static void paintChild(Context c, Box box) { if (box.isChildrenExceedBounds()) { BoxRendering.paint(c, box, false); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectan...
55,753
public static void paintChild(Context c, Box box) { if (box.isChildrenExceedBounds()) { BoxRendering.paint(c, box); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectangle2D o...
public static void paintChild(Context c, Box box) { if (box.isChildrenExceedBounds()) { BoxRendering.paint(c, box, false); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectan...
55,754
public ObjectName getChannelMapperObjectName() throws Exception;
public ObjectName getChannelMapperObjectName() throws Exception;
55,755
public ObjectName getServerPeerObjectName() throws Exception;
public ObjectName getServerPeerObjectName() throws Exception;
55,756
public void findDevices(DeviceManager devMan, Bus bus) throws DeviceException { try { log.debug("Searching for PS2 devices"); final PS2Bus ps2 = new PS2Bus(bus); // register the keyboard device PS2Device kbDev = new PS2Device(ps2, PS2_KEYBOARD_DEV); kbDev.setDriver(new PS2KeyboardDriver(ps2)); devMan.regi...
public void findDevices(DeviceManager devMan, Bus bus) throws DeviceException { try { log.debug("Searching for PS2 devices"); final PS2Bus ps2 = new PS2Bus(bus); // register the keyboard device PS2Device kbDev = new PS2Device(ps2, PS2_KEYBOARD_DEV); kbDev.setDriver(new PS2KeyboardDriver(ps2)); devMan.regi...
55,757
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()....
55,758
public void executeTriggerFunction(long id, int triggerId) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { log.warn("Cannot execute trigger #" + triggerId + " on non-existent workflow id#" + id); ...
public void executeTriggerFunction(long id, int triggerId) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { log.warn("Cannot execute trigger #" + triggerId + " on non-existent workflow id#" + id); ...
55,759
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); } ...
55,760
public long initialize(String workflowName, int initialAction, Map inputs) throws InvalidRoleException, InvalidInputException, WorkflowException { WorkflowDescriptor wf = getConfiguration().getWorkflow(workflowName); WorkflowStore store = getPersistence(); WorkflowEntry entry = store.createEntr...
public long initialize(String workflowName, int initialAction, Map inputs) throws InvalidRoleException, InvalidInputException, WorkflowException { WorkflowDescriptor wf = getConfiguration().getWorkflow(workflowName); WorkflowStore store = getPersistence(); WorkflowEntry entry = store.createEntr...
55,761
protected void populateTransientMap(WorkflowEntry entry, Map transientVars, List registers, Integer actionId, Collection currentSteps) throws WorkflowException { transientVars.put("context", context); transientVars.put("entry", entry); transientVars.put("store", getPersistence()); transi...
protected void populateTransientMap(WorkflowEntry entry, Map transientVars, List registers, Integer actionId, Collection currentSteps, PropertySet ps) throws WorkflowException { transientVars.put("context", context); transientVars.put("entry", entry); transientVars.put("store", getPersistence()...
55,762
protected void populateTransientMap(WorkflowEntry entry, Map transientVars, List registers, Integer actionId, Collection currentSteps) throws WorkflowException { transientVars.put("context", context); transientVars.put("entry", entry); transientVars.put("store", getPersistence()); transi...
protected void populateTransientMap(WorkflowEntry entry, Map transientVars, List registers, Integer actionId, Collection currentSteps) throws WorkflowException { transientVars.put("context", context); transientVars.put("entry", entry); transientVars.put("store", getPersistence()); transi...
55,763
public MessageConsumer createConsumer(Destination d) throws JMSException { if (d == null) { throw new InvalidDestinationException("Cannot create a consumer with a null destination"); } ConsumerDelegate consumerDelegate = sessionDelegate.createConsumerDelegate(d, null, false, null); ...
public MessageConsumer createConsumer(Destination d) throws JMSException { if (d == null) { throw new InvalidDestinationException("Cannot create a consumer with a null destination"); } ConsumerDelegate consumerDelegate = sessionDelegate.createConsumerDelegate(d, null, false, null, fa...
55,765
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot create a durable subscriber on a QueueSession"); } if (topic == null) { ...
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_QUEUE_SESSION) { throw new IllegalStateException("Cannot create a durable subscriber on a QueueSession"); } if (topic == null) { ...
55,766
public void installDefaults(AbstractButton b) { super.installDefaults(b); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); disabledTextColor = defaults.getColor("RadioButton.disabledText"); focusColor = defaults.getColor("RadioButton.focus"); selectColor = defaults.getColor("RadioButton.selec...
public void installDefaults(AbstractButton b) { super.installDefaults(b); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); disabledTextColor = defaults.getColor("RadioButton.disabledText"); focusColor = defaults.getColor("RadioButton.focus"); selectColor = defaults.getColor("RadioButton.selec...
55,767
protected void paintFocus(Graphics g, Rectangle t, Dimension d) { g.setColor(focusColor); // minus 2 because of line thickness. Prevents border // from being cutoff. g.drawRect(t.x, t.y, t.width - 2, t.height - 2); }
protected void paintFocus(Graphics g, Rectangle t, Dimension d) { g.setColor(focusColor); // minus 2 because of line thickness. Prevents border // from being cutoff. g.drawRect(t.x - 1, t.y + 2, t.width + 2, t.height - 4); }
55,768
public Set browse() { // TODO Very inefficient implementation, change it Set messageIDs = getUndelivered(); Set s = new HashSet(); for(Iterator i = messageIDs.iterator(); i.hasNext(); ) { Routable r = (Routable)messages.get(i.next()); if (r != null) { s.a...
public Set browse() { // TODO Very inefficient implementation, change it Set messageIDs = getUndelivered(); Set s = new HashSet(); for(Iterator i = messageIDs.iterator(); i.hasNext(); ) { Routable r = (Routable)messages.get(i.next()); if (r != null) { s.a...
55,769
public DesktopIconUI() { // TODO } // DesktopIconUI()
public DesktopIconUI() { // TODO } // DesktopIconUI()
55,770
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList attributs...
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList attributs...
55,771
protected void init(Element step) { try { setId(Integer.parseInt(step.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid step id value " + step.getAttribute("id")); } name = step.getAttribute("name"); NodeList attributs...
protectedvoidinit(Elementstep){try{setId(Integer.parseInt(step.getAttribute("id")));}catch(Exceptionex){thrownewIllegalArgumentException("Invalidstepidvalue"+step.getAttribute("id"));}name=step.getAttribute("name");NodeListattributs=step.getElementsByTagName("meta");for(inti=0;i<attributs.getLength();i++){Elementmeta=(...
55,772
public synchronized void addContainerListener(ContainerListener l) { containerListener = AWTEventMulticaster.add(containerListener, l); }
public synchronized void addContainerListener(ContainerListener listener) { containerListener = AWTEventMulticaster.add(containerListener, l); }
55,775
public synchronized void addContainerListener(ContainerListener l) { containerListener = AWTEventMulticaster.add(containerListener, l); }
public synchronized void addContainerListener(ContainerListener l) { containerListener = AWTEventMulticaster.add(containerListener, listener); }
55,776
public synchronized void removeContainerListener(ContainerListener l) { containerListener = AWTEventMulticaster.remove(containerListener, l); }
public synchronized void removeContainerListener(ContainerListener listener) { containerListener = AWTEventMulticaster.remove(containerListener, l); }
55,777
public synchronized void removeContainerListener(ContainerListener l) { containerListener = AWTEventMulticaster.remove(containerListener, l); }
public synchronized void removeContainerListener(ContainerListener l) { containerListener = AWTEventMulticaster.remove(containerListener, listener); }
55,778
protected void init(Element function) { type = function.getAttribute("type"); String n = function.getAttribute("negate"); boolean negate; if("true".equalsIgnoreCase(n) || "yes".equalsIgnoreCase(n)) { negate = true; } else { negate = false; } NodeList args = function.getElement...
protected void init(Element function) { type = function.getAttribute("type"); String n = function.getAttribute("negate"); boolean negate; if("true".equalsIgnoreCase(n) || "yes".equalsIgnoreCase(n)) { negate = true; } else { negate = false; } NodeList args = function.getElement...
55,779
protected void init(Element function) { type = function.getAttribute("type"); String n = function.getAttribute("negate"); boolean negate; if("true".equalsIgnoreCase(n) || "yes".equalsIgnoreCase(n)) { negate = true; } else { negate = false; } NodeList args = function.getElement...
protected void init(Element function) { type = function.getAttribute("type"); String n = function.getAttribute("negate"); boolean negate; if("true".equalsIgnoreCase(n) || "yes".equalsIgnoreCase(n)) { negate = true; } else { negate = false; } NodeList args = function.getElement...
55,780
protected Client getClient() { //Use the Client in the Connection's state return ((ConnectionState)state.getParent().getParent()).getClient(); }
protected Client getClient() { //Use the Client in the Connection's state return ((ConnectionState)state.getParent().getParent()).getRemotingConnection().getInvokingClient(); }
55,781
public void testTwoStoresSameDatabase() throws Exception { Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); assertEquals(0, ((JDBCPersistenceManager)pm).getMessageReferenceCount(m.getMessageID())); MessageReference ref = ms.reference(m); log.debug("...
public void testTwoStoresSameDatabase() throws Exception { Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); assertEquals(0, ((JDBCPersistenceManager)pm).getMessageReferenceCount(m.getMessageID())); MessageReference ref = ms.reference(m); log.debug("...
55,782
public void testTwoStoresSameDatabase() throws Exception { Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); assertEquals(0, ((JDBCPersistenceManager)pm).getMessageReferenceCount(m.getMessageID())); MessageReference ref = ms.reference(m); log.debug("...
public void testTwoStoresSameDatabase() throws Exception { Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); assertEquals(0, ((JDBCPersistenceManager)pm).getMessageReferenceCount(m.getMessageID())); MessageReference ref = ms.reference(m); log.debug("...
55,783
public void testTwoStoresSameDatabase() throws Exception { Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); assertEquals(0, ((JDBCPersistenceManager)pm).getMessageReferenceCount(m.getMessageID())); MessageReference ref = ms.reference(m); log.debug("...
public void testTwoStoresSameDatabase() throws Exception { Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); assertEquals(0, ((JDBCPersistenceManager)pm).getMessageReferenceCount(m.getMessageID())); MessageReference ref = ms.reference(m); log.debug("...
55,784
private void layoutAbsoluteChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); if (child.getMaster().getStyle().isBottomAuto()) { // Set top, left master.positionAbsolute(c); master.positionAbsoluteOnPage(c); c.reInit(child.g...
private void layoutAbsoluteChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); if (child.getMaster().getStyle().isBottomAuto()) { // Set top, left master.positionAbsolute(c, BlockBox.POSITION_BOTH); master.positionAbsoluteOnPage(c); ...
55,785
private void layoutAbsoluteChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); if (child.getMaster().getStyle().isBottomAuto()) { // Set top, left master.positionAbsolute(c); master.positionAbsoluteOnPage(c); c.reInit(child.g...
private void layoutAbsoluteChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); if (child.getMaster().getStyle().isBottomAuto()) { // Set top, left master.positionAbsolute(c); master.positionAbsoluteOnPage(c); c.reInit(child.g...
55,786
private void layoutAbsoluteChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); if (child.getMaster().getStyle().isBottomAuto()) { // Set top, left master.positionAbsolute(c); master.positionAbsoluteOnPage(c); c.reInit(child.g...
private void layoutAbsoluteChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); if (child.getMaster().getStyle().isBottomAuto()) { // Set top, left master.positionAbsolute(c, BlockBox.POSITION_BOTH); master.positionAbsoluteOnPage(c); ...
55,787
private void layoutAlternateFlowChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); // Set top, left master.positionAbsolute(c); c.reInit(child.getLayoutData().getParentStyle()); c.setExtents(child.getMaster().getContainingBlock().getPaddingEdge(0,...
private void layoutAlternateFlowChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); // Set top, left master.positionAbsolute(c, BlockBox.POSITION_BOTH); c.reInit(child.getLayoutData().getParentStyle()); c.setExtents(child.getMaster().getContainingB...
55,788
private void layoutAlternateFlowChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); // Set top, left master.positionAbsolute(c); c.reInit(child.getLayoutData().getParentStyle()); c.setExtents(child.getMaster().getContainingBlock().getPaddingEdge(0,...
private void layoutAlternateFlowChild(LayoutContext c, Layer child) { BlockBox master = (BlockBox)child.getMaster(); // Set top, left master.positionAbsolute(c, BlockBox.POSITION_BOTH); c.reInit(child.getLayoutData().getParentStyle()); c.setExtents(child.getMaster().getContainingB...
55,789
private void position(LayoutContext c) { if (getMaster().getStyle().isAbsolute() && ! c.isPrint()) { ((BlockBox)getMaster()).positionAbsolute(c); } else if (getMaster().getStyle().isRelative() && isInline()) { getMaster().positionRelative(c); } }
private void position(LayoutContext c) { if (getMaster().getStyle().isAbsolute() && ! c.isPrint()) { ((BlockBox)getMaster()).positionAbsolute(c, BlockBox.POSITION_BOTH); } else if (getMaster().getStyle().isRelative() && isInline()) { getMaster().positionRelative(c); } }
55,790
private void positionFixedLayer(RenderingContext c) { Rectangle rect = c.getFixedRectangle(); rect.translate(-1, -1); Box fixed = getMaster(); fixed.x = 0; fixed.y = 0; fixed.setAbsX(0); fixed.setAbsY(0); fixed.setContainingBlock(new ViewportBox(rect)); ...
private void positionFixedLayer(RenderingContext c) { Rectangle rect = c.getFixedRectangle(); rect.translate(-1, -1); Box fixed = getMaster(); fixed.x = 0; fixed.y = 0; fixed.setAbsX(0); fixed.setAbsY(0); fixed.setContainingBlock(new ViewportBox(rect)); ...
55,791
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode) { // create the dynamic proxy that implements SessionDelegate SessionDelegate sd = null; Serializable oid = serverPeer.getSessionAdvisor().getName(); String stackName = "SessionStack"; AdviceStack stac...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode) { // create the dynamic proxy that implements SessionDelegate SessionDelegate sd = null; Serializable oid = serverPeer.getSessionAdvisor().getName(); String stackName = "SessionStack"; AdviceStack stac...
55,792
public static String elementToString(Node n) throws XMLException { String name = n.getNodeName(); if (name.startsWith("#")) { return ""; } StringBuffer sb = new StringBuffer(); sb.append('<').append(name); NamedNodeMap attrs = n.getAttributes(); if (attrs != null) ...
public static String elementToString(Node n) throws XMLException { String name = n.getNodeName(); if (name.startsWith("#")) { return ""; } StringBuffer sb = new StringBuffer(); sb.append('<').append(name); NamedNodeMap attrs = n.getAttributes(); if (attrs != null) ...
55,793
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
String textContent = null; String textContent = null; String textContent = null; publicString textContent = null; staticString textContent = null; StringString textContent = null; getTextContent(NodeString textContent = null; n)String textContent = null; throwsString textContent = null; XMLExceptionString textContent =...
55,794
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
55,795
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
55,796
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
55,797
protected String paramString() { return "JProgressBar"; }
protected String paramString() { String superParamStr = super.paramString(); StringBuffer sb = new StringBuffer(); sb.append(",orientation="); if (orientation == HORIZONTAL) sb.append("HORIZONTAL"); else sb.append("VERTICAL"); sb.append(",paintBorder=").append(isBorderPainted()); sb.append(",paintString=").append...
55,799
public static String getClassAnnotation (Class cl) { ClassLoader loader = cl.getClassLoader(); if (loader == null || loader == ClassLoader.getSystemClassLoader()) { return System.getProperty ("java.rmi.server.codebase"); } if (loader instanceof MyClassLoader) { return...
public static String getClassAnnotation (Class cl) { ClassLoader loader = cl.getClassLoader(); if (loader == null || loader == ClassLoader.getSystemClassLoader()) { return System.getProperty ("java.rmi.server.codebase"); } if (loader instanceof MyClassLoader) { return...
55,800
public static String getClassAnnotation (Class cl) { ClassLoader loader = cl.getClassLoader(); if (loader == null || loader == ClassLoader.getSystemClassLoader()) { return System.getProperty ("java.rmi.server.codebase"); } if (loader instanceof MyClassLoader) { return...
public static String getClassAnnotation (Class cl) { ClassLoader loader = cl.getClassLoader(); if (loader == null || loader == ClassLoader.getSystemClassLoader()) { return System.getProperty ("java.rmi.server.codebase"); } if (loader instanceof MyClassLoader) { return...
55,801
public static ClassLoader getClassLoader (String codebases) throws MalformedURLException { ClassLoader loader; CacheKey loaderKey = new CacheKey (codebases, Thread.currentThread().getContextClassLoader()); loader = (ClassLoader) cacheLoaders.get (loaderKey); if (loader == null) { ...
public static ClassLoader getClassLoader(String codebase) throws MalformedURLException { ClassLoader loader; CacheKey loaderKey = new CacheKey (codebases, Thread.currentThread().getContextClassLoader()); loader = (ClassLoader) cacheLoaders.get (loaderKey); if (loader == null) { ...
55,802
public static ClassLoader getClassLoader (String codebases) throws MalformedURLException { ClassLoader loader; CacheKey loaderKey = new CacheKey (codebases, Thread.currentThread().getContextClassLoader()); loader = (ClassLoader) cacheLoaders.get (loaderKey); if (loader == null) { ...
public static ClassLoader getClassLoader (String codebases) throws MalformedURLException { ClassLoader loader; CacheKey loaderKey = new CacheKey (codebases, Thread.currentThread().getContextClassLoader()); loader = (ClassLoader) cacheLoaders.get (loaderKey); if (loader == null) { ...
55,803
public static Object getSecurityContext (ClassLoader loader) { throw new Error ("Not implemented"); }
public static Object getSecurityContext (ClassLoader loader) { throw new Error ("Not implemented"); }
55,804
public static Object getSecurityContext (ClassLoader loader) { throw new Error ("Not implemented"); }
public static Object getSecurityContext (ClassLoader loader) { throw new Error ("Not implemented"); }
55,805
private static void alignCellLines(TableBox box) { for (int i = 0; i < box.getChildCount(); i++) { RowBox row = (RowBox)box.getChild(i); for (int j = 0; j < row.getChildCount(); j++) { CellBox cell = (CellBox)row.getChild(j); cell.alignLines(); } } }
private static void alignCellLines(TableBox box) { for (int i = 0; i < box.getChildCount(); i++) { RowBox row = (RowBox)box.getChild(i); for (int j = 0; j < row.getChildCount(); j++) { CellBox cell = (CellBox)row.getChild(j); cell.alignLines(); } } }
55,807
private static void fixHeights(TableBox tableBox, int borderSpacingVertical) { tableBox.height += borderSpacingVertical; for (Iterator tci = tableBox.getChildIterator(); tci.hasNext();) { Object tc = tci.next(); if (tc instanceof RowBox) { RowBox row = (RowBox) tc;...
private static void fixHeights(TableBox tableBox, int borderSpacingVertical) { tableBox.height += borderSpacingVertical; for (Iterator tci = tableBox.getChildIterator(); tci.hasNext();) { Object tc = tci.next(); if (tc instanceof RowBox) { RowBox row = (RowBox) tc;...
55,808
private static void fixHeights(TableBox tableBox, int borderSpacingVertical) { tableBox.height += borderSpacingVertical; for (Iterator tci = tableBox.getChildIterator(); tci.hasNext();) { Object tc = tci.next(); if (tc instanceof RowBox) { RowBox row = (RowBox) tc;...
private static void fixHeights(TableBox tableBox, int borderSpacingVertical) { tableBox.height += borderSpacingVertical; for (Iterator tci = tableBox.getChildIterator(); tci.hasNext();) { Object tc = tci.next(); if (tc instanceof RowBox) { RowBox row = (RowBox) tc;...
55,809
private static void fixWidths(TableBox tableBox, int borderSpacingHorizontal) { int sum = borderSpacingHorizontal; for (int i = 0; i < tableBox.columns.length; i++) sum += tableBox.columns[i] + borderSpacingHorizontal; if (sum < tableBox.contentWidth) { int extra = (tableBox.contentW...
private static void fixWidths(TableBox tableBox, int borderSpacingHorizontal) { int sum = borderSpacingHorizontal; for (int i = 0; i < tableBox.columns.length; i++) sum += tableBox.columns[i] + borderSpacingHorizontal; if (sum < tableBox.contentWidth) { int extra = (tableBox.contentW...
55,810
private static void fixWidths(TableBox tableBox, int borderSpacingHorizontal) { int sum = borderSpacingHorizontal; for (int i = 0; i < tableBox.columns.length; i++) sum += tableBox.columns[i] + borderSpacingHorizontal; if (sum < tableBox.contentWidth) { int extra = (tableBox.contentW...
private static void fixWidths(TableBox tableBox, int borderSpacingHorizontal) { int sum = borderSpacingHorizontal; for (int i = 0; i < tableBox.columns.length; i++) sum += tableBox.columns[i] + borderSpacingHorizontal; if (sum < tableBox.contentWidth) { int extra = (tableBox.contentW...
55,811
public void setUp() throws Exception { super.setUp(); ms = new PagingMessageStore("s61"); channel = new SimpleChannel(1, ms); // the state ACCEPTS reliable messages state = new ChannelState(channel, this.persistenceManagerDelegate, true, false, 100, 20, 10); }
public void setUp() throws Exception { super.setUp(); ms = new SimpleMessageStore("s61"); channel = new SimpleChannel(1, ms); // the state ACCEPTS reliable messages state = new ChannelState(channel, this.persistenceManagerDelegate, true, false, 100, 20, 10); }
55,814
public Object handleClosing(Invocation invocation) throws Throwable { // First we make sure closing is called on the ServerConsumerEndpoint. This ensures that any // in-transit messages are flushed out to the client side. Object res = invocation.invokeNext(); ConsumerState consumerS...
public Object handleClosing(Invocation invocation) throws Throwable { // First we make sure closing is called on the ServerConsumerEndpoint. This ensures that any // in-transit messages are flushed out to the client side. Object res = invocation.invokeNext(); ConsumerState consumerS...
55,815
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; ConsumerDelegate consumerDelegate = (ConsumerDelegate)invocation.invokeNext(); boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); // Create the me...
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; ConsumerDelegate consumerDelegate = (ConsumerDelegate)invocation.invokeNext(); boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); // Create the me...
55,816
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...
55,817
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
55,818
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
55,819
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
55,820
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
public static final XMLReader newXMLReader() { XMLReader saxParser = null; String xmlReaderClass = Configuration.valueFor("xr.load.xml-reader"); try { if ( xmlReaderClass != null && !xmlReaderClass.toLowerCase().equals("default")) { saxParser = XMLReaderFactory.createX...
55,821
public ResolveResult resolveToClass(Name name, Class contextType) throws NamingException;
ResolveResult resolveToClass(Name name, Class contextType) throws NamingException;
55,823
protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndpoint[" +...
protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { if (trace) { log.trace("creating consume...
55,824
protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndpoint[" +...
protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndpoint[" +...
55,825
protected void disconnect() { boolean removed = channel.remove(this); if (removed) { disconnected = true; if (trace) { log.trace(this + " disconnected from the channel"); } } }
protected void disconnect() { boolean removed = channel.remove(this); if (removed) { disconnected = true; if (trace) { log.trace(this + " removed from the channel"); } } }
55,826
protected Container createMessageArea() { JPanel messageArea = new JPanel(); messageArea.setLayout(new BorderLayout()); addIcon(messageArea); JPanel rightSide = new JPanel(); rightSide.setLayout(new GridBagLayout()); GridBagConstraints con = createConstraints(); addMessageComponents(rightSide, c...
protected Container createMessageArea() { JPanel messageArea = new JPanel(); messageArea.setLayout(new BorderLayout()); addIcon(messageArea); JPanel rightSide = new JPanel(); rightSide.setLayout(new GridBagLayout()); GridBagConstraints con = createConstraints(); addMessageComponents(rightSide, c...
55,827
protected Container createMessageArea() { JPanel messageArea = new JPanel(); messageArea.setLayout(new BorderLayout()); addIcon(messageArea); JPanel rightSide = new JPanel(); rightSide.setLayout(new GridBagLayout()); GridBagConstraints con = createConstraints(); addMessageComponents(rightSide, c...
protected Container createMessageArea() { JPanel messageArea = new JPanel(); messageArea.setLayout(new BorderLayout()); addIcon(messageArea); JPanel rightSide = new JPanel(); rightSide.setLayout(new GridBagLayout()); GridBagConstraints con = createConstraints(); addMessageComponents(rightSide, c...
55,828
protected Container createMessageArea() { JPanel messageArea = new JPanel(); messageArea.setLayout(new BorderLayout()); addIcon(messageArea); JPanel rightSide = new JPanel(); rightSide.setLayout(new GridBagLayout()); GridBagConstraints con = createConstraints(); addMessageComponents(rightSide, c...
protected Container createMessageArea() { JPanel messageArea = new JPanel(); messageArea.setLayout(new BorderLayout()); addIcon(messageArea); JPanel rightSide = new JPanel(); rightSide.setLayout(new GridBagLayout()); GridBagConstraints con = createConstraints(); addMessageComponents(rightSide, c...
55,829
protected Container createSeparator() { return null; }
protected Container createSeparator() { return (Container) Box.createVerticalStrut(17); }
55,830
public boolean canInitialize(String workflowName, int initialState) throws WorkflowException { try { return wf.canInitialize(workflowName, initialState); } catch (RemoteException e) { log.error("Error checking canInitialize", e); throw new WorkflowException(e); ...
public boolean canInitialize(String workflowName, int initialState) { try { return wf.canInitialize(workflowName, initialState); } catch (RemoteException e) { log.error("Error checking canInitialize", e); throw new WorkflowException(e); } }
55,832
public boolean canInitialize(String workflowName, int initialState) throws WorkflowException { try { return wf.canInitialize(workflowName, initialState); } catch (RemoteException e) { log.error("Error checking canInitialize", e); throw new WorkflowException(e); ...
public boolean canInitialize(String workflowName, int initialState) throws WorkflowException { try { return wf.canInitialize(workflowName, initialState); } catch (RemoteException e) { log.error("Error checking canInitialize", e); return false; } }
55,833
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { try { return wf.canModifyEntryState(id, newState); } catch (RemoteException e) { log.error("Error checking modifying entry state", e); throw new WorkflowException(e); } }
public boolean canModifyEntryState(long id, int newState) { try { return wf.canModifyEntryState(id, newState); } catch (RemoteException e) { log.error("Error checking modifying entry state", e); throw new WorkflowException(e); } }
55,834
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { try { return wf.canModifyEntryState(id, newState); } catch (RemoteException e) { log.error("Error checking modifying entry state", e); throw new WorkflowException(e); } }
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { try { return wf.canModifyEntryState(id, newState); } catch (RemoteException e) { log.error("Error checking modifying entry state", e); return false; } }
55,835
public int[] getAvailableActions(long id) throws WorkflowException { try { return wf.getAvailableActions(id); } catch (RemoteException e) { log.error("Error getting available actions", e); throw new WorkflowException(e); } }
public int[] getAvailableActions(long id) { try { return wf.getAvailableActions(id); } catch (RemoteException e) { log.error("Error getting available actions", e); throw new WorkflowException(e); } }
55,836
public int[] getAvailableActions(long id) throws WorkflowException { try { return wf.getAvailableActions(id); } catch (RemoteException e) { log.error("Error getting available actions", e); throw new WorkflowException(e); } }
public int[] getAvailableActions(long id) throws WorkflowException { try { return wf.getAvailableActions(id); } catch (RemoteException e) { log.error("Error getting available actions", e); return new int[0]; } }
55,837
public List getCurrentSteps(long id) throws WorkflowException { try { return wf.getCurrentSteps(id); } catch (RemoteException e) { log.error("Error getting current steps", e); throw new WorkflowException(e); } }
public List getCurrentSteps(long id) { try { return wf.getCurrentSteps(id); } catch (RemoteException e) { log.error("Error getting current steps", e); throw new WorkflowException(e); } }
55,838
public List getCurrentSteps(long id) throws WorkflowException { try { return wf.getCurrentSteps(id); } catch (RemoteException e) { log.error("Error getting current steps", e); throw new WorkflowException(e); } }
public List getCurrentSteps(long id) throws WorkflowException { try { return wf.getCurrentSteps(id); } catch (RemoteException e) { log.error("Error getting current steps", e); return Collections.EMPTY_LIST; } }
55,839
public int getEntryState(long id) throws WorkflowException { try { return wf.getEntryState(id); } catch (RemoteException e) { log.error("Error getting entry state", e); throw new WorkflowException(e); } }
public int getEntryState(long id) { try { return wf.getEntryState(id); } catch (RemoteException e) { log.error("Error getting entry state", e); throw new WorkflowException(e); } }
55,840
public int getEntryState(long id) throws WorkflowException { try { return wf.getEntryState(id); } catch (RemoteException e) { log.error("Error getting entry state", e); throw new WorkflowException(e); } }
public int getEntryState(long id) throws WorkflowException { try { return wf.getEntryState(id); } catch (RemoteException e) { log.error("Error getting entry state", e); return WorkflowEntry.UNKNOWN; } }
55,841
public List getHistorySteps(long id) throws WorkflowException { try { return wf.getHistorySteps(id); } catch (RemoteException e) { log.error("Error getting history steps", e); throw new WorkflowException(e); } }
public List getHistorySteps(long id) { try { return wf.getHistorySteps(id); } catch (RemoteException e) { log.error("Error getting history steps", e); throw new WorkflowException(e); } }
55,842
public List getHistorySteps(long id) throws WorkflowException { try { return wf.getHistorySteps(id); } catch (RemoteException e) { log.error("Error getting history steps", e); throw new WorkflowException(e); } }
public List getHistorySteps(long id) throws WorkflowException { try { return wf.getHistorySteps(id); } catch (RemoteException e) { log.error("Error getting history steps", e); return Collections.EMPTY_LIST; } }
55,843
public PropertySet getPropertySet(long id) throws WorkflowException { try { return wf.getPropertySet(id); } catch (RemoteException e) { log.error("Error getting PropertySet", e); throw new WorkflowException(e); } }
public PropertySet getPropertySet(long id) { try { return wf.getPropertySet(id); } catch (RemoteException e) { log.error("Error getting PropertySet", e); throw new WorkflowException(e); } }
55,844
public PropertySet getPropertySet(long id) throws WorkflowException { try { return wf.getPropertySet(id); } catch (RemoteException e) { log.error("Error getting PropertySet", e); throw new WorkflowException(e); } }
public PropertySet getPropertySet(long id) throws WorkflowException { try { return wf.getPropertySet(id); } catch (RemoteException e) { log.error("Error getting PropertySet", e); return null; } }
55,845
public List getSecurityPermissions(long id) throws WorkflowException { try { return wf.getSecurityPermissions(id); } catch (RemoteException e) { log.error("Error getting security permissions", e); throw new WorkflowException(e); } }
public List getSecurityPermissions(long id) { try { return wf.getSecurityPermissions(id); } catch (RemoteException e) { log.error("Error getting security permissions", e); throw new WorkflowException(e); } }
55,846
public List getSecurityPermissions(long id) throws WorkflowException { try { return wf.getSecurityPermissions(id); } catch (RemoteException e) { log.error("Error getting security permissions", e); throw new WorkflowException(e); } }
public List getSecurityPermissions(long id) throws WorkflowException { try { return wf.getSecurityPermissions(id); } catch (RemoteException e) { log.error("Error getting security permissions", e); return Collections.EMPTY_LIST; } }
55,847
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws WorkflowException { try { return wf.getWorkflowDescriptor(workflowName); } catch (RemoteException e) { log.error("Error getting descriptor", e); throw new WorkflowException(e); } }
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) { try { return wf.getWorkflowDescriptor(workflowName); } catch (RemoteException e) { log.error("Error getting descriptor", e); throw new WorkflowException(e); } }
55,848
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws WorkflowException { try { return wf.getWorkflowDescriptor(workflowName); } catch (RemoteException e) { log.error("Error getting descriptor", e); throw new WorkflowException(e); } }
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws WorkflowException { try { return wf.getWorkflowDescriptor(workflowName); } catch (RemoteException e) { log.error("Error getting descriptor", e); return null; } }
55,849
public String getWorkflowName(long id) throws WorkflowException { try { return wf.getWorkflowName(id); } catch (RemoteException e) { log.error("Error getting workflow name", e); throw new WorkflowException(e); } }
public String getWorkflowName(long id) { try { return wf.getWorkflowName(id); } catch (RemoteException e) { log.error("Error getting workflow name", e); throw new WorkflowException(e); } }
55,850
public String getWorkflowName(long id) throws WorkflowException { try { return wf.getWorkflowName(id); } catch (RemoteException e) { log.error("Error getting workflow name", e); throw new WorkflowException(e); } }
public String getWorkflowName(long id) throws WorkflowException { try { return wf.getWorkflowName(id); } catch (RemoteException e) { log.error("Error getting workflow name", e); return null; } }
55,851
public String[] getWorkflowNames() throws FactoryException { try { return wf.getWorkflowNames(); } catch (RemoteException e) { log.error("Error calling getWorkflowNames", e); return new String[0]; } }
public String[] getWorkflowNames() { try { return wf.getWorkflowNames(); } catch (RemoteException e) { log.error("Error calling getWorkflowNames", e); return new String[0]; } }
55,852
CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ...
CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ...
55,854
CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException;
Subscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException;
55,855
CoreDurableSubscription getDurableSubscription(String clientID, String subscriptionName, MessageStore ms, PersistenceManager pm) throws JMSException;
DurableSubscription getDurableSubscription(String clientID, String subscriptionName, MessageStore ms, PersistenceManager pm) throws JMSException;
55,856
public Color getBackgroundColor() { if (_drvBackgroundColor == null) { _drvBackgroundColor = valueByName(CSSName.BACKGROUND_COLOR).asColor(); XRLog.cascade(Level.FINEST, "Background color: " + _drvBackgroundColor); } return _drvBackgroundColor; }
public Color getBackgroundColor() { if (_drvBackgroundColor == null) { _drvBackgroundColor = valueByName(CSSName.BACKGROUND_COLOR).asColor(); XRLog.cascade(Level.FINEST, "Background color: " + _drvBackgroundColor); } return _drvBackgroundColor; }
55,857
public void close() throws javax.jms.JMSException { if (trace) { log.trace("Closing " + this); } closed = true; //This will call the MessageConsumer cons to close too - which results //in the receiver thread being interrupted. sess.close(); //wait for the run thread ...
public void close() throws javax.jms.JMSException { if (trace) { log.trace("ConnectionConsumer Closing " + this); } closed = true; //This will call the MessageConsumer cons to close too - which results //in the receiver thread being interrupted. sess.close(); //wait ...
55,858