bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
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, ...
29,742
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); }
29,743
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...
29,744
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...
29,745
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...
29,747
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...
29,748
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...
29,749
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...
29,750
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...
29,751
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...
29,752
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...
29,753
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...
29,754
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...
29,755
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...
29,756
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...
29,757
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...
29,758
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...
29,759
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...
29,760
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...
29,761
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...
29,762
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...
29,763
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....
29,764
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....
29,765
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....
29,766
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....
29,767
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....
29,768
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....
29,770
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....
29,771
public ReplacedContent(Element e, CalculatedStyle style) { _elem = e; _style = style; }
ReplacedContent(Element e, CascadedStyle style) { _elem = e; _style = style; }
29,772
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...
29,773
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(); }
29,774
public Set getSubscriptions(String clientID);
Set getSubscriptions(String clientID);
29,775
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...
29,776
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 // ...
29,777
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 =...
29,778
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, ...
29,779
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, serv...
29,780
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, ...
29,781
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, ...
29,782
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, ...
29,783
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...
29,785
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...
29,786
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:" +...
29,787
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()); ...
29,788
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"); } ...
29,789
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
29,790
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
29,791
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
29,792
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
29,793
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) { ...
29,794
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...
29,795
public ServerBrowserEndpoint getBrowserDelegate(int browserID) { return (ServerBrowserEndpoint)browsers.get(new Integer(browserID)); }
protected ServerBrowserEndpoint getBrowserDelegate(int browserID) { return (ServerBrowserEndpoint)browsers.get(new Integer(browserID)); }
29,796
public ServerConsumerEndpoint getConsumerDelegate(int consumerID) { return (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); }
protected ServerConsumerEndpoint getConsumerDelegate(int consumerID) { return (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); }
29,797
public ServerProducerEndpoint getProducerDelegate(int producerID) { return (ServerProducerEndpoint)producers.get(new Integer(producerID)); }
protected ServerProducerEndpoint getProducerDelegate(int producerID) { return (ServerProducerEndpoint)producers.get(new Integer(producerID)); }
29,798
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); } } }
29,799
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...
29,800
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...
29,801
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; // 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/max = "+ min +"/"...
29,802
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( ...
29,803
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...
29,804
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...
29,805
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, ...
29,807
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 = ((Mes...
29,808
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...
29,809
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...
29,810
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); } ...
29,811
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...
29,812
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; }
29,813
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();...
29,814
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...
29,815
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...
29,816
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...
29,817
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...
29,820
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(); }
29,823
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(); }
29,824
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...
29,825
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...
29,827
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...
29,828
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...
29,829
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") + ...
29,830
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; }
29,831
public JBossConnection(ConnectionDelegate delegate, boolean isXAConnection) { this.delegate = delegate; this.isXAConnection = isXAConnection; }
public JBossConnection(ConnectionDelegate delegate, boolean isXAConnection) { this.delegate = delegate; this.isXA = isXA; this.connectionType = connectionType; }
29,832
public void close() throws JMSException { throw new NotYetImplementedException(); }
public void close() throws JMSException { delegate.closing(); delegate.close(); }
29,833
public ConnectionConsumer createDurableConnectionConsumer( Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException { throw new NotYetImplementedException(); }
public ConnectionConsumer createDurableConnectionConsumer( Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException { if (connectionType == TYPE_QUEUE_CONNECTION) throw new IllegalStateExceptio...
29,834
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException { return (QueueSession)createSession(transacted, acknowledgeMode); }
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException { return (QueueSession)createSession(transacted, acknowledgeMode); }
29,835
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode); return new JBossSession(sessionDelegate); }
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode); return new JBossSession(sessionDelegate); }
29,836
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException { return (TopicSession)createSession(transacted, acknowledgeMode); }
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException { return createSessionInternal(transacted, acknowledgeMode, false, JBossSession.TYPE_TOPIC_SESSION); }
29,837
public XAQueueSession createXAQueueSession() throws JMSException { return (XAQueueSession)createXASession(); }
public XAQueueSession createXAQueueSession() throws JMSException { if (!isXA) throw new JMSException("Not an XA connection"); return createSessionInternal(true, Session.SESSION_TRANSACTED, true, JBossSession.TYPE_QUEUE_SESSION); }
29,838
public XASession createXASession() throws JMSException { if (!isXAConnection) throw new JMSException("Not an XA connection"); return (XASession)createSession(true, Session.SESSION_TRANSACTED); }
public XASession createXASession() throws JMSException { if (!isXAConnection) throw new JMSException("Not an XA connection"); return (XASession)createSession(true, Session.SESSION_TRANSACTED); }
29,839
public XATopicSession createXATopicSession() throws JMSException { return (XATopicSession)createXASession(); }
public XATopicSession createXATopicSession() throws JMSException { if (!isXA) throw new JMSException("Not an XA connection"); return createSessionInternal(true, Session.SESSION_TRANSACTED, true, JBossSession.TYPE_TOPIC_SESSION); }
29,840
public ExceptionListener getExceptionListener() throws JMSException { return exceptionListener; }
public ExceptionListener getExceptionListener() throws JMSException { return delegate.getExceptionListener(); }
29,841
public void setExceptionListener(ExceptionListener listener) throws JMSException { this.exceptionListener = listener; }
public void setExceptionListener(ExceptionListener listener) throws JMSException { delegate.setExceptionListener(listener); }
29,842
protected void initVmThread(X86Stream os) throws BuildException, ClassNotFoundException { final VmType vmThreadClass = loadClass(VmThread.class); final VmInstanceField threadStackField = (VmInstanceField) vmThreadClass.getField("stack"); final VmInstanceField stackEndField = (VmInstanceField) vmThreadClass.getField...
protected void initVmThread(X86Stream os) throws BuildException, ClassNotFoundException { final VmType vmThreadClass = loadClass(VmThread.class); final VmInstanceField threadStackField = (VmInstanceField) vmThreadClass.getField("stack"); final VmInstanceField threadStackEndField = (VmInstanceField) vmThreadClass.ge...
29,843
protected void initVmThread(X86Stream os) throws BuildException, ClassNotFoundException { final VmType vmThreadClass = loadClass(VmThread.class); final VmInstanceField threadStackField = (VmInstanceField) vmThreadClass.getField("stack"); final VmInstanceField stackEndField = (VmInstanceField) vmThreadClass.getField...
protected void initVmThread(X86Stream os) throws BuildException, ClassNotFoundException { final VmType vmThreadClass = loadClass(VmThread.class); final VmInstanceField threadStackField = (VmInstanceField) vmThreadClass.getField("stack"); final VmInstanceField stackEndField = (VmInstanceField) vmThreadClass.getField...
29,844
ServerBrowserDelegate(String browserID, AbstractDestination destination, String messageSelector) { this.browserID = browserID; this.messageSelector = messageSelector; this.destination = destination; iterator = destination.browse().iterator();...
ServerBrowserDelegate(String browserID, AbstractDestination destination, String messageSelector) { this.browserID = browserID; this.messageSelector = messageSelector; this.destination = destination; Filter filter = null; if (messageSelector !...
29,846
public ClientConsumerDelegate(String objectID, InvokerLocator locator) { super(objectID, locator); }
public ClientConsumerDelegate(String objectID) { super(objectID, locator); }
29,847
public ClientConsumerDelegate(String objectID, InvokerLocator locator) { super(objectID, locator); }
public ClientConsumerDelegate(String objectID, InvokerLocator locator) { super(objectID); }
29,848
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.isTraceEnable...
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.isTraceEnable...
29,849
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.isTraceEnable...
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.isTraceEnable...
29,850
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.isTraceEnable...
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.isTraceEnable...
29,851