bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,491
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,492
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,493
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,494
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,495
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,496
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,497
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,498
public void paint(Graphics g, JComponent c) { paintMenuItem(g, c, checkIcon, arrowIcon, c.getBackground(), c.getForeground(), defaultTextIconGap); }
public void paint(Graphics g, JComponent c) { paintMenuItem(g, c, checkIcon, arrowIcon, selectionBackground, c.getForeground(), defaultTextIconGap); }
46,499
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { // Menu item is considered to be highlighted when it is selected. // But we don't want to paint the background of JCheckBoxMenuItems ButtonModel mod = menuItem.getModel(); if (menuItem.isContentAreaFilled()) { if ((me...
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { // Menu item is considered to be highlighted when it is selected. // But we don't want to paint the background of JCheckBoxMenuItems ButtonModel mod = menuItem.getModel(); Color saved = g.getColor(); if (mod.isArmed() || ((me...
46,500
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { // Menu item is considered to be highlighted when it is selected. // But we don't want to paint the background of JCheckBoxMenuItems ButtonModel mod = menuItem.getModel(); if (menuItem.isContentAreaFilled()) { if ((me...
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { // Menu item is considered to be highlighted when it is selected. // But we don't want to paint the background of JCheckBoxMenuItems ButtonModel mod = menuItem.getModel(); if (menuItem.isContentAreaFilled()) { if ((me...
46,501
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,503
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,504
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,505
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,506
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,507
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,508
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,509
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,510
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,511
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,512
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,513
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,514
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,515
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,516
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
46,517
public ComponentInputMapUIResource(JComponent component) { super(component); // TODO } // ComponentInputMapUIResource()
public ComponentInputMapUIResource(JComponent component) { super(component); // TODO } // ComponentInputMapUIResource()
46,518
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ClientConnectionFactoryDelegate cf = (ClientConnectionFactoryDelegate)invocation.getTargetObject(); ClientConnectionDelegate delegate = (ClientConnectionDelegate)invocation.invokeNext(); del...
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ClientConnectionFactoryDelegate cf = (ClientConnectionFactoryDelegate)invocation.getTargetObject(); ClientConnectionDelegate delegate = (ClientConnectionDelegate)invocation.invokeNext(); del...
46,519
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossBytesMessage m = new JBossBytesMessage(new GUID().toString(), true, System.currentTimeM...
protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossBytesMessage m = new JBossBytesMessage(new GUID().toString(), true, System.currentTime...
46,520
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossBytesMessage m = new JBossBytesMessage(new GUID().toString(), true, System.currentTimeM...
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossBytesMessage m = new JBossBytesMessage(randInt().intValue(), true, System.currentTimeMi...
46,521
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,522
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,523
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,524
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,525
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,526
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,527
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
if (textContent != null) { inlineList.add(textContent); textContent = null; } if (textContent != null) { inlineList.add(textContent); textContent = null; } if (textContent != null) { inlineList.add(textContent); textContent = null; } if (textContent != null) { inlineList.add(textContent); textContent = null; } publicif...
46,528
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,529
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
public static List getInlineContentList(Element elem, Context c) { List inlineList = new LinkedList(); List blockList = null; if (elem == null) { throw new NullPointerException("Trying to get ContentList for null element"); } if (!elem.hasChildNodes()) { //u....
46,530
public ReplacedContent(Element e, CalculatedStyle style) { _elem = e; _style = style; }
ReplacedContent(Element e, CascadedStyle style) { _elem = e; _style = style; }
46,531
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
46,532
Transaction(Xid xid, PersistenceManager mgr) { state = STATE_ACTIVE; this.xid = xid; pm = mgr; postCommitTasks = new ArrayList(); postRollbackTasks = new ArrayList(); }
Transaction(Xid xid, PersistenceManager mgr) { state = STATE_ACTIVE; this.xid = xid; pm = mgr; postCommitTasks = new ArrayList(); postRollbackTasks = new ArrayList(); }
46,533
public Set getSubscriptions(String clientID);
public Set getSubscriptions(String clientID);
46,534
private String createDestination(boolean isQueue, String name, String jndiName, int fullSize, int pageSize, int downCacheSize) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // TODO - if I find a way not using UnifiedClass...
private String createDestination(boolean isQueue, String name, String jndiName, int fullSize, int pageSize, int downCacheSize) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // TODO - if I find a way not using UnifiedClass...
46,535
private String createDestinationDefault(boolean isQueue, String name, String jndiName) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // TODO - if I find a way not using UnifiedClassLoader3 directly, then get rid of // ...
private String createDestinationDefault(boolean isQueue, String name, String jndiName) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // TODO - if I find a way not using UnifiedClassLoader3 directly, then get rid of // ...
46,536
private String createDestinationInternal(String destinationMBeanConfig, ObjectName on, String jndiName, int fullSize, int pageSize, int downCacheSize) throws Exception { MBeanServer mbeanServer = getServer(); Element element = Util.stringToElement(destinationMBeanConfig); ServiceCreator sc =...
private String createDestinationInternal(String destinationMBeanConfig, ObjectName on, String jndiName, int fullSize, int pageSize, int downCacheSize) throws Exception { MBeanServer mbeanServer = getServer(); Element element = Util.stringToElement(destinationMBeanConfig); ServiceCreator sc =...
46,537
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
46,538
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { int id = serverPeer.getNextObjectID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ser...
46,539
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
46,540
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
46,541
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
public synchronized String registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { String id = generateConnectionFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, ...
46,542
ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm = s...
ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm = s...
46,544
ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm = s...
ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm = sp.getDestinationManager(); dsm = sp.getD...
46,545
public void addTemporaryDestination(Destination dest) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } JBossDestination d = (JBossDestination)dest; if (!d.isTemporary()) { throw new InvalidDestinationException("Destination:" +...
public void addTemporaryDestination(Destination dest) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } JBossDestination d = (JBossDestination)dest; if (!d.isTemporary()) { throw new InvalidDestinationException("Destination:" +...
46,546
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (trace) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consumers.values()); ...
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (trace) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consumers.values()); ...
46,547
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ...
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ...
46,548
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
46,549
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
46,550
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, boolean isCC) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); }if ("".equals(selector)) { selector = null; }JBossDestination d = (JB...
46,551
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
46,552
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
46,553
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination != null) { if (dm.getCoreDestination(jmsDestination) == null) { ...
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination != null) { if (dm.getCoreDestination(jmsDestination) == null) { ...
46,554
public void deleteTemporaryDestination(Destination dest) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } JBossDestination d = (JBossDestination)dest; if (!d.isTemporary()) { throw new InvalidDestinationException("Destin...
public void deleteTemporaryDestination(Destination dest) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } JBossDestination d = (JBossDestination)dest; if (!d.isTemporary()) { throw new InvalidDestinationException("Destin...
46,555
public ServerBrowserEndpoint getBrowserDelegate(int browserID) { return (ServerBrowserEndpoint)browsers.get(new Integer(browserID)); }
protected ServerBrowserEndpoint getBrowserDelegate(int browserID) { return (ServerBrowserEndpoint)browsers.get(new Integer(browserID)); }
46,556
public ServerConsumerEndpoint getConsumerDelegate(int consumerID) { return (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); }
protected ServerConsumerEndpoint getConsumerDelegate(int consumerID) { return (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); }
46,557
public ServerProducerEndpoint getProducerDelegate(int producerID) { return (ServerProducerEndpoint)producers.get(new Integer(producerID)); }
protected ServerProducerEndpoint getProducerDelegate(int producerID) { return (ServerProducerEndpoint)producers.get(new Integer(producerID)); }
46,558
void setStarted(boolean s) { synchronized(consumers) { for(Iterator i = consumers.values().iterator(); i.hasNext(); ) { ((ServerConsumerEndpoint)i.next()).setStarted(s); } } }
protected void setStarted(boolean s) { synchronized(consumers) { for(Iterator i = consumers.values().iterator(); i.hasNext(); ) { ((ServerConsumerEndpoint)i.next()).setStarted(s); } } }
46,559
void setStarted(boolean s) { synchronized(consumers) { for(Iterator i = consumers.values().iterator(); i.hasNext(); ) { ((ServerConsumerEndpoint)i.next()).setStarted(s); } } }
voidsetStarted(booleans){synchronized(consumers){for(Iteratori=consumers.values().iterator();i.hasNext();){((ServerConsumerEndpoint)i.next()).setStarted(s);}}}
46,560
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
46,561
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
46,562
String getStatistics(){ int packets = received+lost; float percent = 0;// if (packets != 0){// percent = lost/packets;// percent *= 100;// } float avg = sum/packets; return new String( packets +" packets transmitted, "+ received +" packets received\n"+ // percent +"% packet loss\n"+ "round-trip min/avg...
String getStatistics(){ int packets = received+lost; float percent = 0;// if (packets != 0){// percent = lost/packets;// percent *= 100;// } float avg = sum/packets; return new String( packets +" packets transmitted, "+ received +" packets received\n"+ // percent +"% packet loss\n"+ "round-trip min/avg...
46,563
public void markRun(int offset, BlockBox previous, BlockBox current) { RelayoutData previousData = get(offset-1); RelayoutData currentData = get(offset); IdentValue previousAfter = previousAfter = previous.getStyle().getCalculatedStyle().getIdent( ...
public void markRun(int offset, BlockBox previous, BlockBox current) { RelayoutData previousData = get(offset-1); RelayoutData currentData = get(offset); IdentValue previousAfter = previousAfter = previous.getStyle().getCalculatedStyle().getIdent( ...
46,564
private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage...
private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage...
46,565
private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage...
private static boolean relayoutOnNewPage( LayoutContext c, List contentList, Box block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { block.height = relayoutDataList.get(start).getInitialParentHeight(); block.expandToPage...
46,566
public ServerConsumerDelegate(String id, AbstractDestination destination, InvokerCallbackHandler callbackHandler, ServerSessionDelegate sessionEndpoint, String selector, boolean noLocal, ...
public ServerConsumerDelegate(String id, AbstractDestination destination, InvokerCallbackHandler callbackHandler, ServerSessionDelegate sessionEndpoint, String selector, boolean noLocal, ...
46,568
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + accept); try { String prop = ((Mess...
46,569
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + accept)...
46,570
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
publicbooleanaccept(Routabler){booleanaccept=true;if(messageSelector!=null){if(log.isTraceEnabled())log.trace("There'samessageselector");accept=messageSelector.accept(r);if(log.isTraceEnabled()){log.trace("Resultofaccept:"+accept);try{Stringprop=((Message)r).getStringProperty("TEST");log.trace("TESTpropertyis:"+prop);}...
46,571
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
46,572
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { if (log.isTraceEnabled()) log.trace("There's a message selector"); accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("Result of accept:" + acce...
46,573
public void close() throws JMSException { if (log.isTraceEnabled()) log.trace("Close() on ServerConsumerDelegate:" + this.id); this.setStarted(false); this.sessionEndpoint.connectionEndpoint.receivers.remove(id); if (subscription != null) { subscription.setHasConsumer(false); } ...
public void close() throws JMSException { if (log.isTraceEnabled()) log.trace("Close() on ServerConsumerDelegate:" + this.id); this.setStarted(false); this.sessionEndpoint.connectionEndpoint.receivers.remove(id); if (subscription != null) { subscription.setHasConsumer(false); } ...
46,574
public void closing() throws JMSException { }
publicvoidclosing()throwsJMSException{}
46,575
void setStarted(boolean s) { if (s) { if (log.isTraceEnabled()) log.trace("Attempting to add receiver"); boolean added = destination.add(this); if (log.isTraceEnabled()) log.trace("Added receiver:" + this.id + ", success=" + added); } else { if (log.isT...
void setStarted(boolean s) { if (s) { if (log.isTraceEnabled()) log.trace("Attempting to add receiver"); boolean added = destination.add(this); if (log.isTraceEnabled()) log.trace("Added receiver:" + this.id + ", success=" + added); } else { if (log.isT...
46,576
public Delivery(InvokerCallbackHandler callbackHandler, Routable r, Logger log) { super(null, null, r, null, null, null); this.callbackHandler = callbackHandler; this.log = log; }
public Delivery(InvokerCallbackHandler callbackHandler, Routable r, Logger log) { super(r); this.callbackHandler = callbackHandler; this.log = log; }
46,577
public Object handleClosing(Invocation invocation) throws Throwable { ConsumerState state = getState(invocation); Client client = state.getCallbackClient(); client.removeListener(state.getMessageCallbackHandler()); client.disconnect(); state.getMessageCallbackHandler().close();...
public Object handleClosing(Invocation invocation) throws Throwable { ConsumerState state = getState(invocation); Client client = state.getCallbackClient(); client.removeListener(state.getMessageCallbackHandler()); client.disconnect(); state.getMessageCallbackHandler().close();...
46,578
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); //Create the message handler SessionState sessState = (SessionState)((DelegateSup...
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); //Create the message handler SessionState sessState = (SessionState)((DelegateSup...
46,579
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); //Create the message handler SessionState sessState = (SessionState)((DelegateSup...
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); //Create the message handler SessionState sessState = (SessionState)((DelegateSup...
46,580
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); //Create the message handler SessionState sessState = (SessionState)((DelegateSup...
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; boolean isCC = ((Boolean)mi.getArguments()[4]).booleanValue(); //Create the message handler SessionState sessState = (SessionState)((DelegateSup...
46,581
public void createPDF(OutputStream os) throws DocumentException { List pages = _root.getLayer().getPages(); RenderingContext c = newRenderingContext(); PageBox firstPage = (PageBox)pages.get(0); com.lowagie.text.Rectangle firstPageSize = new com.lowagie.text.Rectangle( ...
c.setPageCount(pageCount); c.setPageCount(pageCount); c.setPageCount(pageCount); c.setPageCount(pageCount); publicc.setPageCount(pageCount); voidc.setPageCount(pageCount); createPDF(OutputStreamc.setPageCount(pageCount); os)c.setPageCount(pageCount); throwsc.setPageCount(pageCount); DocumentExceptionc.setPageCount(page...
46,582
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
46,584
public void run() { for(Iterator i = refs.iterator(); i.hasNext(); ) { MessageReference ref = (MessageReference)i.next(); if (log.isTraceEnabled()) { log.trace("adding " + ref + " to non-recoverable state"); } messageRefs.add(ref); } channel.de...
public void run() { for(Iterator i = refs.iterator(); i.hasNext(); ) { MessageReference ref = (MessageReference)i.next(); if (log.isTraceEnabled()) { log.trace("adding " + ref + " to non-recoverable state"); } messageRefs.add(ref); } channel...
46,587
public String toString() { StringBuffer sb = new StringBuffer("JBossMessage["); sb.append("ID="); sb.append(messageID); sb.append(","); sb.append(isReliable() ? "PERSISTENT" : "NONPERSISTENT"); sb.append("]"); return sb.toString(); }
public String toString() { StringBuffer sb = new StringBuffer("JBossMessage["); sb.append(""); sb.append(messageID); sb.append(","); sb.append(isReliable() ? "PERSISTENT" : "NONPERSISTENT"); sb.append("]"); return sb.toString(); }
46,588
public String toString() { StringBuffer sb = new StringBuffer("JBossMessage["); sb.append("ID="); sb.append(messageID); sb.append(","); sb.append(isReliable() ? "PERSISTENT" : "NONPERSISTENT"); sb.append("]"); return sb.toString(); }
public String toString() { StringBuffer sb = new StringBuffer("JBossMessage["); sb.append("ID="); sb.append(messageID); sb.append(","); sb.append(isReliable() ? "PERSISTENT" : "NONPERSISTENT"); sb.append("]"); return sb.toString(); }
46,589
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } try { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageID); r...
46,590
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
Message m = (Message)ref.get(); if (m == null) { m = ms.retrieveMessage((String)messageID); ref = new WeakReference(m); } return m; Message m = (Message)ref.get(); if (m == null) { m = ms.retrieveMessage((String)messageID); ref = new WeakReference(m); } return m; Message m = (Message)ref.get(); if (m == null) {...
46,591
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
46,592
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
46,593
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
public Message getMessage() { if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); } if (ref == null) { //Been created through serialization } Message m = (Message)ref.get(); if (m == null) { m = ms.retrieve(messageI...
46,594
public synchronized void startService() throws Exception { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "The " + (isQueue() ? "queue" : "topic") + ...
public synchronized void startService() throws Exception { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "The " + (isQueue() ? "queue" : "topic") + ...
46,595
public JBossConnection(ConnectionDelegate delegate, boolean isXAConnection) { this.delegate = delegate; this.isXAConnection = isXAConnection; }
public JBossConnection(ConnectionDelegate delegate, boolean isXA, int connectionType) { this.delegate = delegate; this.isXAConnection = isXAConnection; }
46,596