bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void commitLocal(LocalTxXid xid) throws JMSException { if (log.isTraceEnabled()) { log.trace("Commiting local xid=" + xid); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { final String msg = "Cannot find transaction with xid:"; log.error(msg...
public void commitLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException { if (log.isTraceEnabled()) { log.trace("Commiting local xid=" + xid); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { final String msg = "Cannot find transaction wi...
56,747
public void commitLocal(LocalTxXid xid) throws JMSException { if (log.isTraceEnabled()) { log.trace("Commiting local xid=" + xid); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { final String msg = "Cannot find transaction with xid:"; log.error(msg...
public void commitLocal(LocalTxXid xid) throws JMSException { if (log.isTraceEnabled()) { log.trace("Commiting local xid=" + xid); } TxState tx = removeTx(xid); //Invalid xid if (tx == null) { final String msg = "Cannot find transaction with xid:"; log.error(msg...
56,748
public void endTx(Xid xid, boolean success) throws XAException { if (log.isTraceEnabled()) { log.trace("Ending xid=" + xid + ", success=" + success); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new...
public void endTx(Xid xid, boolean success) throws XAException { if (log.isTraceEnabled()) { log.trace("Ending xid=" + xid + ", success=" + success); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new...
56,749
private synchronized LocalTxXid getNextTxId() { return new LocalTxXid(idSequence++); }
private synchronized LocalTxXid getNextTxId() { return new LocalTxXid(); }
56,750
public int prepare(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public int prepare(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExce...
56,751
public int prepare(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public int prepare(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Preparing xid=" + xid); } TxState state = getTx(xid); if (state == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
56,752
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public void rollback(Xid xid, ConnectionDelegate connection) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAExcepti...
56,753
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
56,754
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Rolling back xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { log.error("Cannot find transaction with xid:" + xid); throw new XAException(XAException.XAER_NOTA); ...
56,755
public void rollbackLocal(LocalTxXid xid) throws JMSException { if (log.isTraceEnabled()) { log.trace("Rolling back local xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { final String msg = "Cannot find transaction with xid:" + xid; log.error(msg); ...
public void rollbackLocal(LocalTxXid xid, ConnectionDelegate connection) throws JMSException { if (log.isTraceEnabled()) { log.trace("Rolling back local xid: " + xid); } TxState tx = removeTx(xid); if (tx == null) { final String msg = "Cannot find transaction with xid:" + xid; l...
56,756
private void sendTransactionXA(TransactionRequest request) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transaction was rolled back", e); thro...
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transaction was...
56,758
public ConsumerDelegate createConsumerDelegate(Destination destination, String selector, boolean noLocal, String subscriptionName) throws JMSException;
public ConsumerDelegate createConsumerDelegate(Destination destination, String selector, boolean noLocal, String subscriptionName, boolean connectionConsumer) throws JMSException;
56,759
public void redeliver() throws JMSException;
public void redeliver() throws JMSException;
56,760
protected Thread getCurrentWriter() { return currentWriter; }
protected final Thread getCurrentWriter() { return currentWriter; }
56,763
public Position getEndPosition() { // FIXME: Properly implement this by calling Content.createPosition(). return new Position() { public int getOffset() { return getLength(); } }; }
public final Position getEndPosition() { // FIXME: Properly implement this by calling Content.createPosition(). return new Position() { public int getOffset() { return getLength(); } }; }
56,764
public Position getStartPosition() { // FIXME: Properly implement this using Content.createPosition(). return new Position() { public int getOffset() { return 0; } }; }
public final Position getStartPosition() { // FIXME: Properly implement this using Content.createPosition(). return new Position() { public int getOffset() { return 0; } }; }
56,765
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); try { writeLock(); // The order of the operations below is critical! removeUpda...
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); try { writeLock(); // The order of the operations below is critical! removeUpda...
56,766
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); try { writeLock(); // The order of the operations below is critical! removeUpda...
public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); try { writeLock(); // The order of the operations below is critical! removeUpda...
56,767
public void replace(int offset, int length, String text, AttributeSet attributes) throws BadLocationException { remove(offset, length); insertString(offset, text, attributes); }
public void replace(int offset, int length, String text, AttributeSet attributes) throws BadLocationException { remove(offset, length); insertString(offset, text, attributes); }
56,768
protected void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ca...
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
56,769
protected void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
protected final void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
56,770
public String getName() { return "InvokerInterceptor"; }
public String getName() { return "InvokerInterceptor"; }
56,786
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("In InvokerInterceptor"); } // look for a Client, it's possible that it has been created already Client client = (Client)invocation.getMetaData(RemotingClientInterceptor.REMOTING, RemotingClien...
public Object invoke(Invocation invocation) throws Throwable { // look for a Client, it's possible that it has been created already Client client = (Client)invocation.getMetaData(RemotingClientInterceptor.REMOTING, RemotingClientInterceptor.CLIENT); if (client == null) { throw...
56,787
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("In InvokerInterceptor"); } // look for a Client, it's possible that it has been created already Client client = (Client)invocation.getMetaData(RemotingClientInterceptor.REMOTING, RemotingClien...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("In InvokerInterceptor"); } // look for a Client, it's possible that it has been created already Client client = (Client)invocation.getMetaData(RemotingClientInterceptor.REMOTING, RemotingClien...
56,788
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("In InvokerInterceptor"); } // look for a Client, it's possible that it has been created already Client client = (Client)invocation.getMetaData(RemotingClientInterceptor.REMOTING, RemotingClien...
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("In InvokerInterceptor"); } // look for a Client, it's possible that it has been created already Client client = (Client)invocation.getMetaData(RemotingClientInterceptor.REMOTING, RemotingClien...
56,789
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("tabLayoutPolicy")) { layoutManager = createLayoutManager(); tabPane.setLayout(layoutManager); } else if (e.getPropertyName().equals("tabPlacement") && tabPane.getTabLay...
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("tabLayoutPolicy")) { layoutManager = createLayoutManager(); tabPane.setLayout(layoutManager); } else if (e.getPropertyName().equals("tabPlacement") && tabPane.getTabLay...
56,790
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
protected Dimension calculateSize(boolean minimum) { int tabPlacement = tabPane.getTabPlacement(); int width = 0; int height = 0; int componentHeight = 0; int componentWidth = 0; Component c; Dimension dims; for (int i = 0; i < tabPane.getTabCount(); i++) { ...
56,792
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); ...
56,793
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets insets = tabPane.getInsets(); ...
56,794
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
56,795
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
56,796
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
protected void calculateTabRects(int tabPlacement, int tabCount) { if (tabCount == 0) return; assureRectsCreated(tabCount); FontMetrics fm = getFontMetrics(); SwingUtilities.calculateInnerArea(tabPane, calcRect); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Insets i...
56,797
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); Point p = null; if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingC...
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); Point p = null; if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingC...
56,798
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); Point p = null; if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingC...
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); Point p = null; if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingC...
56,799
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); Point p = null; if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingC...
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); Point p = null; if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingC...
56,800
protected void assureRectsCreated(int tabCount) { if (rects == null) rects = new Rectangle[tabCount]; if (tabCount == rects.length) return; else { int numToCopy = Math.min(tabCount, rects.length); Rectangle[] tmp = new Rectangle[tabCount]; System.arraycopy(rects, 0, tmp, ...
protected void assureRectsCreated(int tabCount) { if (rects == null) rects = new Rectangle[tabCount]; if (tabCount == rects.length) return; else { int numToCopy = Math.min(tabCount, rects.length); Rectangle[] tmp = new Rectangle[tabCount]; System.arraycopy(rects, 0, tmp, ...
56,802
protected void assureRectsCreated(int tabCount) { if (rects == null) rects = new Rectangle[tabCount]; if (tabCount == rects.length) return; else { int numToCopy = Math.min(tabCount, rects.length); Rectangle[] tmp = new Rectangle[tabCount]; System.arraycopy(rects, 0, tmp, ...
protected void assureRectsCreated(int tabCount) { if (rects == null) rects = new Rectangle[tabCount]; if (tabCount == rects.length) return; else { int numToCopy = Math.min(tabCount, rects.length); Rectangle[] tmp = new Rectangle[tabCount]; System.arraycopy(rects, 0, tmp, ...
56,803
protected FontMetrics getFontMetrics() { FontMetrics fm = tabPane.getToolkit().getFontMetrics(tabPane.getFont()); return fm; }
protected FontMetrics getFontMetrics() { FontMetrics fm = tabPane.getFontMetrics(tabPane.getFont()); return fm; }
56,804
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JTabbedPane) { tabPane = (JTabbedPane) c; installComponents(); installDefaults(); installListeners(); installKeyboardActions(); layoutManager = createLayoutManager(); ...
public void installUI(JComponent c) { super.installUI(c); if (c instanceof JTabbedPane) { tabPane = (JTabbedPane) c; installComponents(); installDefaults(); installListeners(); installKeyboardActions(); layoutManager = createLayoutManager(); ...
56,805
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { Insets insets = getContentBorderInsets(tabPlacement); int x = contentRect.x; int y = contentRect.y; int w = contentRect.width; int h = contentRect.height; paintContentBorderTopEdg...
protected void paintContentBorder(Graphics g, int tabPlacement, int selectedIndex) { int x = contentRect.x; int y = contentRect.y; int w = contentRect.width; int h = contentRect.height; paintContentBorderTopEdge(g, tabPlacement, selectedIndex, x, y, w, h); pain...
56,806
public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace("invoking n...
public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace("invoking n...
56,807
public void actionPerformed (ActionEvent e) { ListSelectionModel rowModel = table.getSelectionModel(); ListSelectionModel colModel = table.getColumnModel().getSelectionModel(); int rowLead = rowModel.getLeadSelectionIndex(); int rowMax = table.getModel().getRowCount() - 1; ...
public void actionPerformed (ActionEvent e) { ListSelectionModel rowModel = table.getSelectionModel(); ListSelectionModel colModel = table.getColumnModel().getSelectionModel(); int rowLead = rowModel.getLeadSelectionIndex(); int rowMax = table.getModel().getRowCount() - 1; ...
56,809
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); // Register the key bindings with the JTable. //...
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); // Register the key bindings with the JTable. //...
56,811
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); // Register the key bindings with the JTable. //...
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); // Register the key bindings with the JTable. //...
56,812
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); // Register the key bindings with the JTable. //...
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); // Register the key bindings with the JTable. //...
56,813
public boolean cancel(Delivery d) throws Throwable { MessageReference ref = d.getReference(); if (!ref.isReliable()) { return false; // no cancellation is sent back } if (log.isTraceEnabled()) { log.trace(this + " cancelling " + d); } Address collect...
public void cancel(Delivery d) throws Throwable { MessageReference ref = d.getReference(); if (!ref.isReliable()) { return false; // no cancellation is sent back } if (log.isTraceEnabled()) { log.trace(this + " cancelling " + d); } Address collectorA...
56,814
public boolean cancel(Delivery d) throws Throwable { MessageReference ref = d.getReference(); if (!ref.isReliable()) { return false; // no cancellation is sent back } if (log.isTraceEnabled()) { log.trace(this + " cancelling " + d); } Address collect...
public boolean cancel(Delivery d) throws Throwable { MessageReference ref = d.getReference(); if (!ref.isReliable()) { return; // no cancellation is sent back } if (log.isTraceEnabled()) { log.trace(this + " cancelling " + d); } Address collectorAddr...
56,815
public boolean cancel(Delivery d) throws Throwable { MessageReference ref = d.getReference(); if (!ref.isReliable()) { return false; // no cancellation is sent back } if (log.isTraceEnabled()) { log.trace(this + " cancelling " + d); } Address collect...
public boolean cancel(Delivery d) throws Throwable { MessageReference ref = d.getReference(); if (!ref.isReliable()) { return false; // no cancellation is sent back } if (log.isTraceEnabled()) { log.trace(this + " cancelling " + d); } Address collect...
56,816
public RMITestServer() throws Exception { namingDelegate = new RMINamingDelegate(); server = new RemoteTestServer(); }
public RMITestServer() throws Exception { namingDelegate = new RMINamingDelegate(); server = new RemoteTestServer(); }
56,817
public synchronized void destroy() throws Exception { server.destroy(); registry.unbind(RMI_SERVER_NAME); registry.unbind(NAMING_SERVER_NAME); }
public synchronized void destroy() throws Exception { server.destroy(); registry.unbind(RMI_SERVER_NAME); registry.unbind(NAMING_SERVER_NAME); }
56,818
public void exit() throws Exception { server.exit(); new Thread(new VMKiller(), "VM Killer").start(); }
public void exit() throws Exception { server.exit(); new Thread(new VMKiller(), "VM Killer").start(); }
56,819
public void stop() throws Exception { server.stop(); namingDelegate.reset(); }
public void stop() throws Exception { server.stop(); namingDelegate.reset(); }
56,820
public UIResource() { // TODO } // UIResource()
public UIResource() { // TODO } // UIResource()
56,821
public void addLayoutComponent(String string, Component component) { // TODO } // addLayoutComponent()
public void addLayoutComponent(String string, Component component) { // TODO } // addLayoutComponent()
56,822
protected Component addSingletonComponent(Component oldComponent, Component newComponent) { return null; // TODO } // addSingletonComponent()
protected Component addSingletonComponent(Component oldComponent, Component newComponent) { return null; // TODO } // addSingletonComponent()
56,823
public JViewport getColumnHeader() { return null; // TODO } // getColumnHeader()
public JViewport getColumnHeader() { return null; // TODO } // getColumnHeader()
56,824
public Component getCorner(String key) { return null; // TODO } // getCorner()
public Component getCorner(String key) { return null; // TODO } // getCorner()
56,825
public JScrollBar getHorizontalScrollBar() { return null; // TODO } // getHorizontalScrollBar()
public JScrollBar getHorizontalScrollBar() { return null; // TODO } // getHorizontalScrollBar()
56,826
public int getHorizontalScrollBarPolicy() { return 0; // TODO } // getHorizontalScrollBarPolicy()
public int getHorizontalScrollBarPolicy() { return 0; // TODO } // getHorizontalScrollBarPolicy()
56,827
public JViewport getRowHeader() { return null; // TODO } // getRowHeader()
public JViewport getRowHeader() { return null; // TODO } // getRowHeader()
56,828
public JScrollBar getVerticalScrollBar() { return null; // TODO } // getVerticalScrollBar()
public JScrollBar getVerticalScrollBar() { return null; // TODO } // getVerticalScrollBar()
56,829
public int getVerticalScrollBarPolicy() { return 0; // TODO } // getVerticalScrollBarPolicy()
public int getVerticalScrollBarPolicy() { return 0; // TODO } // getVerticalScrollBarPolicy()
56,830
public JViewport getViewport() { return null; // TODO } // getViewport()
public JViewport getViewport() { return null; // TODO } // getViewport()
56,831
public Rectangle getViewportBorderBounds(JScrollPane scrollPane) { return null; // TODO } // getViewportBorderBounds()
public Rectangle getViewportBorderBounds(JScrollPane scrollPane) { return null; // TODO } // getViewportBorderBounds()
56,832
public void layoutContainer(Container parent) { // TODO } // layoutContainer()
public void layoutContainer(Container parent) { // TODO } // layoutContainer()
56,833
public void removeLayoutComponent(Component component) { // TODO } // removeLayoutComponent()
public void removeLayoutComponent(Component component) { // TODO } // removeLayoutComponent()
56,834
public void setHorizontalScrollBarPolicy(int policy) { // TODO } // setHorizontalScrollBarPolicy()
public void setHorizontalScrollBarPolicy(int policy) { // TODO } // setHorizontalScrollBarPolicy()
56,835
public void setVerticalScrollBarPolicy(int policy) { // TODO } // setVerticalScrollBarPolicy()
public void setVerticalScrollBarPolicy(int policy) { // TODO } // setVerticalScrollBarPolicy()
56,836
select(int index){ if ((index < 0) || (index > getItemCount())) throw new IllegalArgumentException("Bad index: " + index); this.selectedIndex = index; if (peer != null) { ChoicePeer cp = (ChoicePeer) peer; cp.select (index); }}
select(int index){ if ((index < 0) || (index > getItemCount())) throw new IllegalArgumentException("Bad index: " + index); this.selectedIndex = index; if (peer != null) { ChoicePeer cp = (ChoicePeer) peer; cp.select (index); }}
56,837
select(int index){ if ((index < 0) || (index > getItemCount())) throw new IllegalArgumentException("Bad index: " + index); this.selectedIndex = index; if (peer != null) { ChoicePeer cp = (ChoicePeer) peer; cp.select (index); }}
select(int index){ if ((index < 0) || (index > getItemCount())) throw new IllegalArgumentException("Bad index: " + index); this.selectedIndex = index; if (peer != null) { ChoicePeer cp = (ChoicePeer) peer; cp.select (index); }}
56,838
select(int index){ if ((index < 0) || (index > getItemCount())) throw new IllegalArgumentException("Bad index: " + index); this.selectedIndex = index; if (peer != null) { ChoicePeer cp = (ChoicePeer) peer; cp.select (index); }}
select(int index){ if ((index < 0) || (index > getItemCount())) throw new IllegalArgumentException("Bad index: " + index); this.selectedIndex = index; if (peer != null) { ChoicePeer cp = (ChoicePeer) peer; cp.select (index); }}
56,839
public void documentLoaded() { view.setCursor(new Cursor(Cursor.DEFAULT_CURSOR)); }
public void documentLoaded() { view.setCursor(new Cursor(Cursor.DEFAULT_CURSOR)); }
56,840
protected void init(Element restriction) { // set up condition - OPTIONAL Element conditions = XMLUtil.getChildElement(restriction, "conditions"); if (conditions != null) { conditionType = conditions.getAttribute("type"); NodeList conditionNodes = conditions.getElementsByT...
protected void init(Element restriction) { // set up condition - OPTIONAL Element conditions = XMLUtil.getChildElement(restriction, "conditions"); if (conditions != null) { conditionType = conditions.getAttribute("type"); NodeList conditionNodes = conditions.getElementsByT...
56,841
protected void init(Element restriction) { // set up condition - OPTIONAL Element conditions = XMLUtil.getChildElement(restriction, "conditions"); if (conditions != null) { conditionType = conditions.getAttribute("type"); NodeList conditionNodes = conditions.getElementsByT...
protected void init(Element restriction) { // set up condition - OPTIONAL Element conditions = XMLUtil.getChildElement(restriction, "conditions"); if (conditions != null) { conditionType = conditions.getAttribute("type"); NodeList conditionNodes = conditions.getElementsByT...
56,842
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
56,843
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
56,844
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
56,845
public void tearDown() throws Exception { ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { super.tearDown(); }
56,846
private void configureMessage(Message m) throws JMSException { m.setJMSMessageID("messageID777"); m.setJMSTimestamp(123456789l); m.setJMSCorrelationID("correlationID777"); m.setJMSReplyTo(new JBossQueue("ReplyToQueue")); m.setJMSDestination(new JBossQueue("DestinationQueue")); m.setJM...
public static void configureMessage(Message m) throws JMSException { m.setJMSMessageID("messageID777"); m.setJMSTimestamp(123456789l); m.setJMSCorrelationID("correlationID777"); m.setJMSReplyTo(new JBossQueue("ReplyToQueue")); m.setJMSDestination(new JBossQueue("DestinationQueue")); m...
56,847
private void ensureEquivalent(Message m1, Message m2) throws JMSException { assertTrue(m1 != m2); assertEquals(m1.getJMSMessageID(), m2.getJMSMessageID()); assertEquals(m1.getJMSTimestamp(), m2.getJMSTimestamp()); byte[] corrIDBytes = null; String corrIDString = null; try { ...
public static void ensureEquivalent(Message m1, Message m2) throws JMSException { assertTrue(m1 != m2); assertEquals(m1.getJMSMessageID(), m2.getJMSMessageID()); assertEquals(m1.getJMSTimestamp(), m2.getJMSTimestamp()); byte[] corrIDBytes = null; String corrIDString = null; try {...
56,848
public static void writeList(ObjectOutput out, List list) throws IOException { out.writeInt(list.size()); Iterator iter = list.iterator(); while (iter.hasNext()) { Object value = iter.next(); if (!(value instanceof Serializable)) { throw new IOException("Objec...
public static void writeList(ObjectOutput out, List list) throws IOException { out.writeInt(list.size()); Iterator iter = list.iterator(); while (iter.hasNext()) { Object value = iter.next(); if (value != null && !(value instanceof Serializable)) { throw new I...
56,849
public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter...
public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter...
56,850
public static Box layoutChildren(Context c, Box box, List contentList) { if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do this if there is no content, right? if (ContentUtil.hasBlockContent(contentList)) {//this...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do this if there is no content, right? if (Co...
56,852
public void afterCommit(boolean onePhase) { //We add the reference to the state if (trace) { log.trace(this + ": adding " + ref + " to non-recoverable state"); } ref.incrementChannelCount(); boolean first = false; try { ...
public void afterCommit(boolean onePhase) { //We add the reference to the state if (trace) { log.trace(this + ": adding " + ref + " to non-recoverable state"); } ref.incrementChannelCount(); boolean first = false; try { ...
56,854
public void addReference(MessageReference ref, Transaction tx) throws Throwable { if (trace) { log.trace(this + " adding " + ref + "transactionally in transaction: " + tx); } if (ref.isReliable() && !acceptReliableMessages) { // this transaction has no chance to succeed, since a reliable mes...
public void addReference(MessageReference ref, Transaction tx) throws Throwable { if (trace) { log.trace(this + " adding " + ref + "transactionally in transaction: " + tx); } if (ref.isReliable() && !acceptReliableMessages) { // this transaction has no chance to succeed, since a reliable mes...
56,855
protected boolean addReferenceInMemory(MessageReference ref) throws Throwable { if (ref.isReliable() && !acceptReliableMessages) { throw new IllegalStateException("Reliable reference " + ref + " cannot be added to non-recoverable state"); } ref.se...
protected boolean addReferenceInMemory(MessageReference ref) throws Throwable { if (ref.isReliable() && !acceptReliableMessages) { throw new IllegalStateException("Reliable reference " + ref + " cannot be added to non-recoverable state"); } ...
56,856
public static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos) throws NotImplementedException { // FIXME: not yet implemented. }
public static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos) { // FIXME: not yet implemented. }
56,857
public static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos) throws NotImplementedException { // FIXME: not yet implemented. }
installed = infos; installed = infos; publicinstalled = infos; staticinstalled = infos; voidinstalled = infos; setInstalledLookAndFeels(UIManager.LookAndFeelInfo[]installed = infos; infos)installed = infos; installed = infos; installed = infos; installed = infos; throwsinstalled = infos; NotImplementedExceptioninstalle...
56,858
public void add(Permission permission) { if (isReadOnly()) throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; String name = pp.getName(); ...
public void add(Permission permission) { if (isReadOnly()) throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; String name = pp.getName(); ...
56,859
public void add(Permission permission) { if (isReadOnly()) throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; String name = pp.getName(); ...
public void add(Permission permission) { if (isReadOnly()) throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; String name = pp.getName(); ...
56,860
public void add(Permission permission) { if (isReadOnly()) throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; String name = pp.getName(); ...
public void add(Permission permission) { if (isReadOnly()) throw new SecurityException("readonly"); if (!(permission instanceof PropertyPermission)) throw new IllegalArgumentException(); PropertyPermission pp = (PropertyPermission) permission; String name = pp.getName(); ...
56,861
public void waitForHandleInvocations(int count) { synchronized(waitingArea) { while(true) { Integer invocations = (Integer)waitingArea.get(INVOCATION_COUNT); if (invocations.intValue() == count) { return; } try ...
public boolean waitForHandleInvocations(int count) { synchronized(waitingArea) { while(true) { Integer invocations = (Integer)waitingArea.get(INVOCATION_COUNT); if (invocations.intValue() == count) { return; } try ...
56,862
public void waitForHandleInvocations(int count) { synchronized(waitingArea) { while(true) { Integer invocations = (Integer)waitingArea.get(INVOCATION_COUNT); if (invocations.intValue() == count) { return; } try ...
public void waitForHandleInvocations(int count) { synchronized(waitingArea) { while(true) { Integer invocations = (Integer)waitingArea.get(INVOCATION_COUNT); if (invocations.intValue() == count) { return; } try ...
56,863
public void setUp() throws Exception { if (ServerManagement.isRemote()) { fail("This test is not supposed to run in a remote configuration!"); } super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = ...
public void setUp() throws Exception { if (ServerManagement.isRemote()) { fail("This test is not supposed to run in a remote configuration!"); } super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = ...
56,864
public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating a new one. is th...
public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating a new one. is th...
56,865
public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating a new one. is th...
public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, InlineBox prev_align, Font font) { // u.p("generate floated block inline box: avail = " + avail); /* joshy: change this to just modify the existing block instead of creating a new one. is th...
56,866
private void initializeRemoting(MBeanServer mbeanServer) throws Exception { // We explicitly associate the datatype "jms" with the java SerializationManager // This is vital for performance reasons. SerializationStreamFactory.setManagerClassName( "jms", "org.jboss.remoting.serialization.impl...
private void initializeRemoting(MBeanServer mbeanServer) throws Exception { // We explicitly associate the datatype "jms" with the java SerializationManager // This is vital for performance reasons. SerializationStreamFactory.setManagerClassName( "jms", "org.jboss.jms.server.remoting.Messagi...
56,867
public LinkLoopException() { super(); }
public LinkLoopException() { super(); }
56,868
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes attrs) throws Exception;
Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes attrs) throws Exception;
56,869
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDele...
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDele...
56,870