bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_RE...
41,776
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
41,777
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
41,778
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_R...
41,779
public ListDataListener[] getListDataListeners () { return (ListDataListener[]) getListeners (ListDataListener.class); }
public ListDataListener[] getListDataListeners() { return (ListDataListener[]) getListeners (ListDataListener.class); }
41,780
public ListDataListener[] getListDataListeners () { return (ListDataListener[]) getListeners (ListDataListener.class); }
public ListDataListener[] getListDataListeners () { return (ListDataListener[]) getListeners(ListDataListener.class); }
41,781
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners (listenerType); }
public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners (listenerType); }
41,782
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners (listenerType); }
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners(listenerType); }
41,783
public void removeListDataListener(ListDataListener listener) { listenerList.remove (ListDataListener.class, listener); }
public void removeListDataListener(ListDataListener listener) { listenerList.remove(ListDataListener.class, listener); }
41,784
public ListDataEvent(Object source, int type, int index0, int index1) { super(source); this.type = type; this.index0 = index0; this.index1 = index1; } // ListDataEvent()
public ListDataEvent(Object source, int type, int index0, int index1) { super(source); this.type = type; this.index0 = index0; this.index1 = index1; } // ListDataEvent()
41,785
public void contentsChanged(ListDataEvent event);
public void contentsChanged(ListDataEvent event);
41,786
public void intervalAdded(ListDataEvent event);
public void intervalAdded(ListDataEvent event);
41,787
public void intervalRemoved(ListDataEvent event);
public void intervalRemoved(ListDataEvent event);
41,788
public BasicPanel(UserAgentCallback uac) { ctx = new RenderingContext(uac); init(); }
public BasicPanel(UserAgentCallback uac) { ctx = new RenderingContext(uac); init(); }
41,789
public void setFontScale( float scale );
public void setFontScale( float scale );
41,790
public void setDocument(String url) { setDocument(loadDocument(url), url, new NoNamespaceHandler()); }
public void setDocument(String url) { setDocument(loadDocument(url), url, new NoNamespaceHandler()); }
41,791
public void setDocument(Document doc, String url, NamespaceHandler nsh) { resetScrollPosition(); this.doc = doc; //have to do this first getRenderingContext().setBaseURL(url); getContext().setNamespaceHandler(nsh); getRenderingContext().getStyleReference().setDocumentContex...
public void setDocument(Document doc, String url, NamespaceHandler nsh) { resetScrollPosition(); this.doc = doc; //have to do this first getRenderingContext().setBaseURL(url); getContext().setNamespaceHandler(nsh); getRenderingContext().getStyleReference().setDocumentContex...
41,792
public LinkListener( BasicPanel panel ) { this.panel = panel; }
public LinkListener(BasicPanel panel) { this.panel = panel; }
41,793
public static Box layout(LayoutContext c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { } else { XRLog.layout(Level.WARNING, "Unsupported table type " + content.getClass().getName()); return null; } // i...
public static Box layout(LayoutContext c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { } else { XRLog.layout(Level.WARNING, "Unsupported table type " + content.getClass().getName()); return null; } // i...
41,795
private static CellBox layoutCell(LayoutContext c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } ...
private static CellBox layoutCell(LayoutContext c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } ...
41,796
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
41,797
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
41,798
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if there...
41,799
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
41,800
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
41,801
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
41,802
public AccessibleRole getAccessibleRole() { return null; }
public AccessibleRole getAccessibleRole() { return AccessibleRole.SPLIT_PANE; }
41,803
public AccessibleStateSet getAccessibleStateSet() { return null; }
public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet result = super.getAccessibleStateSet(); if (getOrientation() == HORIZONTAL_SPLIT) { result.add(AccessibleState.HORIZONTAL); } else if (getOrientation() == VERTICAL_SPLIT) { result.add(AccessibleState.VERTICAL); } return result; }
41,804
public AccessibleValue getAccessibleValue() { return null; }
public AccessibleValue getAccessibleValue() { return this; }
41,805
public Number getCurrentAccessibleValue() { return null; }
public Number getCurrentAccessibleValue() { return new Integer(getDividerLocation()); }
41,806
public Number getMaximumAccessibleValue() { return null; }
public Number getMaximumAccessibleValue() { return new Integer(getMaximumDividerLocation()); }
41,807
public Number getMinimumAccessibleValue() { return null; }
public Number getMinimumAccessibleValue() { return new Integer(getMinimumDividerLocation()); }
41,808
public boolean setCurrentAccessibleValue(Number value0) { return false; }
public boolean setCurrentAccessibleValue(Number value) { return false; }
41,809
public abstract int getDividerLocation(JSplitPane splitpane);
public abstract int getDividerLocation(JSplitPane splitpane);
41,813
public abstract int getMaximumDividerLocation(JSplitPane splitpane);
public abstract int getMaximumDividerLocation(JSplitPane splitpane);
41,814
public abstract int getMinimumDividerLocation(JSplitPane splitpane);
public abstract int getMinimumDividerLocation(JSplitPane splitpane);
41,815
public abstract void finishedPaintingChildren(JSplitPane splitpane, Graphics graphics);
public abstract void finishedPaintingChildren(JSplitPane splitpane, Graphics graphics);
41,816
public abstract void resetToPreferredSizes(JSplitPane splitpane);
public abstract void resetToPreferredSizes(JSplitPane splitpane);
41,817
public abstract void setDividerLocation(JSplitPane splitpane, int location);
public abstract void setDividerLocation(JSplitPane splitpane, int location);
41,818
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
41,820
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
41,821
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
41,822
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
41,823
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
41,824
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
41,825
public PageBox getLastPage(CssContext c, Box box) { return getPage(c, box.getAbsY() + box.getHeight()); }
public PageBox getLastPage(CssContext c, Box box) { return getPage(c, box.getAbsY() + box.getHeight() - 1); }
41,826
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwoo...
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwoo...
41,827
public void testDeployDestinationProgramatically() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String destinationType = isQueue() ? "Queue" : "Topic"; String createMethod = "create" + destinationType; String destroyMethod = "destroy" + destin...
public void testDeployDestinationProgramatically() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String destinationType = isQueue() ? "Queue" : "Topic"; String createMethod = "create" + destinationType; String destroyMethod = "destroy" + destin...
41,828
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,829
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,830
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,831
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,832
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,833
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,834
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,835
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
41,836
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", fal...
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", fal...
41,838
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", fal...
Uu.p("no intersection. skipping"); Uu.p("no intersection. skipping"); Uu.p("no intersection. skipping"); Uu.p("no intersection. skipping"); publicUu.p("no intersection. skipping"); staticUu.p("no intersection. skipping"); voidUu.p("no intersection. skipping"); paintChild(ContextUu.p("no intersection. skipping"); c,Uu.p...
41,839
public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after t...
public void close() throws JMSException { try { synchronized (lock) { // On close we only disconnect the consumer from the queue we don't actually remove // it. This is because it may still contain deliveries that may well be acknowledged // after the consumer has closed. ...
41,840
public MessagingMarshallable(byte version, Object load) { this.version = version; this.load = load; }
public MessagingMarshallable(byte version, Object load) { this.version = version; this.load = load; }
41,841
public void test_1() throws Exception { QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); QueueConnection qc = qcf.createQueueConnection(); QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDG...
public void test_1() throws Exception { QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); QueueConnection qc = qcf.createQueueConnection(); QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDG...
41,842
public void test_1() throws Exception { QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); QueueConnection qc = qcf.createQueueConnection(); QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDG...
public void test_1() throws Exception { QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); QueueConnection qc = qcf.createQueueConnection(); QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDG...
41,843
public void test_1() throws Exception { QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); QueueConnection qc = qcf.createQueueConnection(); QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDG...
public void test_1() throws Exception { QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("/ConnectionFactory"); Queue queue = (Queue)ic.lookup("/queue/Queue"); QueueConnection qc = qcf.createQueueConnection(); QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDG...
41,844
public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue PagingFilteredQueue queue = new PagingFilteredQueue("queue1", 1, ms, pm, true, true, new QueuedExecutor(), null, 100, 20, 10); Message[] msgs = new Message[200]; MessageR...
public void testNonRecoverableQueueCrash() throws Throwable { //Non recoverable queue - eg temporary queue PagingFilteredQueue queue = new PagingFilteredQueue("queue1", 1, ms, pm, true, true, new QueuedExecutor(), null, 100, 20, 10); Message[] msgs = new Message[200]; MessageR...
41,845
public void testRecoverableQueueCrash() throws Throwable { PagingFilteredQueue queue = new PagingFilteredQueue("queue1", 1, ms, pm, true, true, new QueuedExecutor(), null, 100, 20, 10); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 1...
public void testRecoverableQueueCrash() throws Throwable { PagingFilteredQueue queue = new PagingFilteredQueue("queue1", 1, ms, pm, true, true, new QueuedExecutor(), null, 100, 20, 10); Message[] msgs = new Message[200]; MessageReference[] refs = new MessageReference[200]; //Send 1...
41,846
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all,-remoting,-security"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.start();...
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all,-remoting,-security"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.start();...
41,847
private void drawPDFAsImage(PDFAsImage image, int x, int y) { URL url = image.getURL(); PdfReader reader = null; try { reader = getReader(url); } catch (IOException e) { throw new XRRuntimeException("Could not load " + url + ": " + e.getM...
privatevoiddrawPDFAsImage(PDFAsImageimage,intx,inty){URLurl=image.getURL();PdfReaderreader=null;try{reader=getReader(url);}catch(IOExceptione){thrownewXRRuntimeException("Couldnotload"+url+":"+e.getMessage(),e);}PdfImportedPagepage=getWriter().getImportedPage(reader,1);//FIXMELifeisnotthatcomplicated...AffineTransforma...
41,848
private void drawPDFAsImage(PDFAsImage image, int x, int y) { URL url = image.getURL(); PdfReader reader = null; try { reader = getReader(url); } catch (IOException e) { throw new XRRuntimeException("Could not load " + url + ": " + e.getM...
private void drawPDFAsImage(PDFAsImage image, int x, int y) { URL url = image.getURL(); PdfReader reader = null; try { reader = getReader(url); } catch (IOException e) { throw new XRRuntimeException("Could not load " + url + ": " + e.getM...
41,849
private void drawPDFAsImage(PDFAsImage image, int x, int y) { URL url = image.getURL(); PdfReader reader = null; try { reader = getReader(url); } catch (IOException e) { throw new XRRuntimeException("Could not load " + url + ": " + e.getM...
private void drawPDFAsImage(PDFAsImage image, int x, int y) { URL url = image.getURL(); PdfReader reader = null; try { reader = getReader(url); } catch (IOException e) { throw new XRRuntimeException("Could not load " + url + ": " + e.getM...
41,850
private void followPath(Shape s, int drawType) { PdfContentByte cb = _currentPage; if (s==null) return; if (drawType==STROKE) { if (!(_stroke instanceof BasicStroke)) { s = _stroke.createStrokedShape(s); followPath(s, FILL); return; ...
private void followPath(Shape s, int drawType) { PdfContentByte cb = _currentPage; if (s==null) return; if (drawType==STROKE) { if (!(_stroke instanceof BasicStroke)) { s = _stroke.createStrokedShape(s); followPath(s, FILL); return; ...
41,851
private void followPath(Shape s, int drawType) { PdfContentByte cb = _currentPage; if (s==null) return; if (drawType==STROKE) { if (!(_stroke instanceof BasicStroke)) { s = _stroke.createStrokedShape(s); followPath(s, FILL); return; ...
private void followPath(Shape s, int drawType) { PdfContentByte cb = _currentPage; if (s==null) return; if (drawType==STROKE) { if (!(_stroke instanceof BasicStroke)) { s = _stroke.createStrokedShape(s); followPath(s, FILL); return; ...
41,852
private void followPath(Shape s, int drawType) { PdfContentByte cb = _currentPage; if (s==null) return; if (drawType==STROKE) { if (!(_stroke instanceof BasicStroke)) { s = _stroke.createStrokedShape(s); followPath(s, FILL); return; ...
private void followPath(Shape s, int drawType) { PdfContentByte cb = _currentPage; if (s==null) return; if (drawType==STROKE) { if (!(_stroke instanceof BasicStroke)) { s = _stroke.createStrokedShape(s); followPath(s, FILL); return; ...
41,853
public Area(Shape s) { this(); Vector p = makeSegment(s); // empty path if (p == null) return; // delete empty paths for (int i = 0; i < p.size(); i++) if (((Segment) p.elementAt(i)).getSignedArea() == 0.0) p.remove(i--); /* * Resolve self intersecting paths into non-intersecting ...
public Area() { this(); Vector p = makeSegment(s); // empty path if (p == null) return; // delete empty paths for (int i = 0; i < p.size(); i++) if (((Segment) p.elementAt(i)).getSignedArea() == 0.0) p.remove(i--); /* * Resolve self intersecting paths into non-intersecting * so...
41,855
public Area(Shape s) { this(); Vector p = makeSegment(s); // empty path if (p == null) return; // delete empty paths for (int i = 0; i < p.size(); i++) if (((Segment) p.elementAt(i)).getSignedArea() == 0.0) p.remove(i--); /* * Resolve self intersecting paths into non-intersecting ...
public Area(Shape s) { this(); Vector p = makeSegment(s); // empty path if (p == null) return; // delete empty paths for (int i = 0; i < p.size(); i++) if (((Segment) p.elementAt(i)).getSignedArea() == 0.0) p.remove(i--); /* * Resolve self intersecting paths into non-intersecting ...
41,856
public static boolean equals(float[] a1, float[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // Must use Float.compare to take into account NaN, +...
public static boolean equals(boolean[] a1, boolean[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // Must use Float.compare to take into account Na...
41,857
public static boolean equals(float[] a1, float[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // Must use Float.compare to take into account NaN, +...
public static boolean equals(float[] a1, float[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // Must use Float.compare to take into account NaN, +-0. // If they're...
41,858
public static boolean equals(float[] a1, float[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // Must use Float.compare to take into account NaN, +...
public static boolean equals(float[] a1, float[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // Must use Float.compare to take into account NaN, +...
41,859
protected InitialDirContext (boolean lazy) throws NamingException { super (lazy); }
public InitialDirContext () throws NamingException { super (lazy); }
41,860
protected InitialDirContext (boolean lazy) throws NamingException { super (lazy); }
protected InitialDirContext (boolean lazy) throws NamingException { this (null); }
41,861
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
41,862
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
41,863
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
41,864
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
41,865
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
protected void init(Hashtable environment) { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }; // Create myProps, cloning environment i...
41,866
public ExtendedResponse extendedOperation(ExtendedRequest request) throws NamingException;
ExtendedResponse extendedOperation(ExtendedRequest request) throws NamingException;
41,867
public Control[] getConnectControls() throws NamingException;
public Control[] getConnectControls() throws NamingException;
41,868
protected Context getDefaultInitCtx() throws NamingException { if (!gotDefault) { defaultInitCtx = NamingManager.getInitialContext(myProps); gotDefault = true; } return defaultInitCtx; }
protected Context getDefaultInitCtx() throws NamingException { if (!gotDefault) { defaultInitCtx = NamingManager.getInitialContext(myProps); gotDefault = true; } return defaultInitCtx; }
41,869
public NoInitialContextException() { super(); }
public NoInitialContextException() { super(); }
41,870
public NotContextException() { super(); }
public NotContextException() { super(); }
41,871
public Control[] getRequestControls() throws NamingException;
public Control[] getRequestControls() throws NamingException;
41,872
public Control[] getResponseControls() throws NamingException;
public Control[] getResponseControls() throws NamingException;
41,873
public LdapContext newInstance(Control[] requestControls) throws NamingException;
LdapContext newInstance(Control[] requestControls) throws NamingException;
41,874
public void reconnect(Control[] connCtls) throws NamingException;
public void reconnect(Control[] connCtls) throws NamingException;
41,875
public void setRequestControls(Control[] requestControls) throws NamingException;
void setRequestControls(Control[] requestControls) throws NamingException;
41,876
public BlockContent(Element e, CalculatedStyle style) { _elem = e; _style = style; }
BlockContent(Element e, CascadedStyle style) { _elem = e; _style = style; }
41,878
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
41,879
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
41,880
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
41,881
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
41,882
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.e...
41,883