bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void writeXML(PrintWriter writer, int indent) { XMLUtil.printIndent(writer, indent); StringBuffer buf = new StringBuffer(); buf.append("<connector "); buf.append("id=\"").append(id).append('\"'); buf.append(" linewidth=\"").append(lineWidth).append('\"'); buf.append(" color=\"").append(color... | public void writeXML(PrintWriter writer, int indent) { XMLUtil.printIndent(writer, indent); StringBuffer buf = new StringBuffer(); buf.append("<connector "); buf.append("id=\"").append(id).append('\"'); buf.append(" linewidth=\"").append(lineWidth).append('\"'); buf.append(" color=\"").append(color... | 52,047 |
public void writeXML(PrintWriter writer, int indent) { XMLUtil.printIndent(writer, indent); StringBuffer buf = new StringBuffer(); buf.append("<connector "); buf.append("id=\"").append(id).append('\"'); buf.append(" linewidth=\"").append(lineWidth).append('\"'); buf.append(" color=\"").append(color... | public void writeXML(PrintWriter writer, int indent) { XMLUtil.printIndent(writer, indent); StringBuffer buf = new StringBuffer(); buf.append("<connector "); buf.append("id=\"").append(id).append('\"'); buf.append(" linewidth=\"").append(lineWidth).append('\"'); buf.append(" color=\"").append(color... | 52,048 |
public void paint(Context ctx, Box box) { //u.p("checking: " + box); //u.p("hashcode = " + box.hashCode()); if (box.border == null) return; Graphics g = ctx.getGraphics(); // TODO: color is per-side ((PWW 13/08/04)) //u.p("border = " + ctx.css.getBorderColor(box.getRealElem... | public void paint(Context ctx, Box box) { //u.p("checking: " + box); //u.p("hashcode = " + box.hashCode()); if (box.border == null) return; Graphics g = ctx.getGraphics(); // TODO: color is per-side ((PWW 13/08/04)) //u.p("border = " + ctx.css.getBorderColor(box.getRealElem... | 52,049 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.ge... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.ge... | 52,051 |
public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try ... | public List deliveries(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Transacti... | 52,052 |
public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try ... | public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Trans... | 52,053 |
public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try ... | public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try ... | 52,054 |
public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try ... | public List deliveries(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("listing deliveries for channel: " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try ... | 52,055 |
public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | public List messages(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | 52,056 |
public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new ... | 52,057 |
public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | 52,058 |
public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | public List messages(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Getting message references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | 52,059 |
public void deInit() { log.info("De-initialising"); try { sess.close(); } catch (Throwable e) { log.error("Failed to deInit()", e); failed = true; } } | public void deInit() { log.debug(this + " de-initializing"); try { sess.close(); } catch (Throwable e) { log.error("Failed to deInit()", e); failed = true; } } | 52,060 |
public void deInit() { log.info("De-initialising"); try { sess.close(); } catch (Throwable e) { log.error("Failed to deInit()", e); failed = true; } } | public void deInit() { log.info("De-initialising"); try { sess.close(); } catch (Throwable e) { log.error("Failed to deInit()", e); failed = true; } } | 52,061 |
protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | private void doThrottle(long start) { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | 52,062 |
protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | protected void doThrottle() { long plannedTime = Math.round((double)start + (double)currentMessageCount * 1000 / rate); long sleepTime = plannedTime - System.currentTimeMillis(); if (sleepTime <= 0) { return; } long now = System.currentTimeMillis(); if (log... | 52,063 |
protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | 52,064 |
protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | 52,065 |
protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | 52,066 |
protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | protected void doThrottle() { if (rate == 0) { return; } long now = System.currentTimeMillis(); if (log.isTraceEnabled()) { log.trace("doThrottle(" + now + ")"); } if (lastTime != 0) { long elapsedTime = now - lastTime; ... | 52,067 |
public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | publicvoidinit(){try{messageFactory=(MessageFactory)Class.forName(getMessageFactoryClass()).newInstance();Connectionconn=getNextConnection();sess=conn.createSession(transacted,getAcknowledgmentMode());//Ackmodedoesn'tmatterprod=null;if(anon){prod=sess.createProducer(null);}else{prod=sess.createProducer(destination);}pr... | 52,068 |
public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | 52,069 |
public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | 52,070 |
public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | 52,071 |
public void init() { try { messageFactory = (MessageFactory)Class.forName(getMessageFactoryClass()).newInstance(); Connection conn = getNextConnection(); sess = conn.createSession(transacted, getAcknowledgmentMode()); //Ackmode doesn't matter ... | publicvoidinit(){try{messageFactory=(MessageFactory)Class.forName(getMessageFactoryClass()).newInstance();Connectionconn=getNextConnection();sess=conn.createSession(transacted,getAcknowledgmentMode());//Ackmodedoesn'tmatterprod=null;if(anon){prod=sess.createProducer(null);}else{prod=sess.createProducer(destination);}pr... | 52,072 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | publicvoidrun(){//ifbothdurationandmessagecountareset,thejobsendsuntilthefirstcondition//ismettry{log.debug("startsendingusing"+fullDump());longstart=System.currentTimeMillis();longtimeLeft;while(true){timeLeft=duration-System.currentTimeMillis()+start;if(timeLeft<=0){log.debug("terminatingsendingbecausetime("+duration... | 52,073 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | publicvoidrun(){//ifbothdurationandmessagecountareset,thejobsendsuntilthefirstcondition//ismettry{log.debug("startsendingusing"+fullDump());longstart=System.currentTimeMillis();longtimeLeft;while(true){timeLeft=duration-System.currentTimeMillis()+start;if(timeLeft<=0){log.debug("terminatingsendingbecausetime("+duration... | 52,074 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,075 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,076 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,077 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,078 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,079 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,080 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,081 |
public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | public void run() { // if both duration and message count are set, the job sends until the first condition // is met try { log.debug("start sending using " + fullDump()); long start = System.currentTimeMillis(); long timeLeft; while ... | 52,082 |
public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int d, Position.Bias[] biasRet) throws BadLocationException { int ret = pos; switch (d) { case WEST: ret = pos - 1; break; c... | public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int d, Position.Bias[] biasRet) throws BadLocationException { int ret = pos; switch (d) { case WEST: ret = pos - 1; break; c... | 52,083 |
public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int d, Position.Bias[] biasRet) throws BadLocationException { int ret = pos; switch (d) { case WEST: ret = pos - 1; break; c... | parent = getParent(); r = parent.modelToView(pos, a, b).getBounds(); ret = parent.viewToModel(r.x, r.y - 1, a, biasRet); parent = getParent(); r = parent.modelToView(pos, a, b).getBounds(); ret = parent.viewToModel(r.x, r.y - 1, a, biasRet); public parent = getParent(); r = parent.modelToView(pos, a, b).getBounds(... | 52,084 |
public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int d, Position.Bias[] biasRet) throws BadLocationException { int ret = pos; switch (d) { case WEST: ret = pos - 1; break; c... | parent = getParent(); r = parent.modelToView(pos, a, b).getBounds(); ret = parent.viewToModel(r.x + r.width, r.y + r.height, a, biasRet); parent = getParent(); r = parent.modelToView(pos, a, b).getBounds(); ret = parent.viewToModel(r.x + r.width, r.y + r.height, a, biasRet); public parent = getParent(); r = parent... | 52,085 |
public void paint(Graphics g) { paintChildren(g); System.out.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXX JViewport -----> paint()"); Container parent = GetHeavy(getParent()); System.out.println("parent = " + parent + ", " + getParent()); //parent.paint(); Graphics wg = parent.getGraphics(); int x = 0; int y = 0; i... | public void paint(Graphics g) { paintChildren(g); System.out.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXX JViewport -----> paint()"); Container parent = GetHeavy(getParent()); System.out.println("parent = " + parent + ", " + getParent()); //parent.paint(); Graphics wg = parent.getGraphics(); int x = 0; int y = 0; i... | 52,087 |
public boolean selfTest() { if (valid == null) { valid = new Boolean(DIGEST0.equals(Util.toString(new MD4().digest()))); } return valid.booleanValue(); } | public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new MD4().digest()))); } return valid.booleanValue(); } | 52,088 |
public ServerConnectionFactoryDelegate(ServerPeer serverPeer) { this.serverPeer = serverPeer; } | public ServerConnectionFactoryDelegate(ServerPeer serverPeer, String defaultClientID) { this.serverPeer = serverPeer; } | 52,089 |
public void paint( Context c, Box box ) { //u.p("BoxLayout.paint " + box);//+box.getElement().getNodeName()+") " + block); BlockBox block = (BlockBox)box; // copy the bounds to we don't mess it up Rectangle oldBounds = new Rectangle( c.getExtents() ); if ( block.relative ) { ... | public void paint( Context c, Box box ) { //u.p("BoxLayout.paint " + box);//+box.getElement().getNodeName()+") " + block); Box block = (Box)box; // copy the bounds to we don't mess it up Rectangle oldBounds = new Rectangle( c.getExtents() ); if ( block.relative ) { pain... | 52,091 |
public void paintFixed( Context c, BlockBox block ) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if ( block.right_set ) { xoff = xoff - block.width; } if ( block.bottom_set ) { //joshy: this should reall... | public void paintFixed( Context c, Box block ) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if ( block.right_set ) { xoff = xoff - block.width; } if ( block.bottom_set ) { //joshy: this should really be ... | 52,092 |
public void paintNormal( Context c, BlockBox block ) { paintBackground( c, block ); c.translateInsets( block ); paintComponent( c, block ); paintChildren( c, block ); c.untranslateInsets( block ); paintBorder( c, block ); } | public void paintNormal( Context c, Box block ) { paintBackground( c, block ); c.translateInsets( block ); paintComponent( c, block ); paintChildren( c, block ); c.untranslateInsets( block ); paintBorder( c, block ); } | 52,093 |
public void paintRelative( Context ctx, BlockBox block ) { ctx.getGraphics().translate( block.left, block.top ); paintNormal( ctx, block ); ctx.getGraphics().translate( -block.left, -block.top ); } | public void paintRelative( Context ctx, Box block ) { ctx.getGraphics().translate( block.left, block.top ); paintNormal( ctx, block ); ctx.getGraphics().translate( -block.left, -block.top ); } | 52,094 |
public List query(WorkflowQuery query) throws WorkflowException { try { return wf.query(query); } catch (RemoteException e) { log.error("Error querying", e); throw new WorkflowException(e); } } | public List query(WorkflowExpressionQuery query) throws WorkflowException { try { return wf.query(query); } catch (RemoteException e) { log.error("Error querying", e); throw new WorkflowException(e); } } | 52,095 |
ResultLayout(Point2D labelPosition, float lineWidth, int color) { if(labelPosition != null) this.labelPosition = labelPosition; this.lineWidth = lineWidth; this.color = color; } | ResultLayout(Point2D labelPosition, float lineWidth, int color, int from, int to) { if(labelPosition != null) this.labelPosition = labelPosition; this.lineWidth = lineWidth; this.color = color; } | 52,096 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { if (log.... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { ... | 52,098 |
public void setUp() throws Exception { super.setUp(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager()); pm.start(); ms = new PagingMessageStore("s9"); ms2 = new PagingMessageStore("s10"); log.debug("setup done"); } | public void setUp() throws Exception { super.setUp(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager()); pm.start(); ms = new SimpleMessageStore("s9"); ms2 = new PagingMessageStore("s10"); log.debug("setup done"); } | 52,100 |
public void setUp() throws Exception { super.setUp(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager()); pm.start(); ms = new PagingMessageStore("s9"); ms2 = new PagingMessageStore("s10"); log.debug("setup done"); } | public void setUp() throws Exception { super.setUp(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager()); pm.start(); ms = new PagingMessageStore("s9"); ms2 = new SimpleMessageStore("s10"); log.debug("setup done"); } | 52,101 |
public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | 52,102 |
public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | 52,103 |
public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | 52,104 |
public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 1 || pageNo > root.getPages().size()) { throw new IllegalArgumentException("Page " + pageNo... | 52,105 |
private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | 52,106 |
private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | 52,107 |
protected void getNextBigBlock() throws Exception { nextBlock = pm.reserveIDBlock(counterName, bigBlockSize); if (trace) { log.trace("Retrieved nex block of size " + bigBlockSize + " from pm starting at " + nextBlock); } high = nextBlock + bigBlockSize - 1; } | protected void getNextBigBlock() throws Exception { nextBlock = pm.reserveIDBlock(counterName, bigBlockSize); if (trace) { log.trace("Retrieved next block of size " + bigBlockSize + " from pm starting at " + nextBlock); } high = nextBlock + bigBlockSize - 1; } | 52,108 |
private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JNDI_NAME, cf); ic.re... | 52,109 |
private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | 52,110 |
private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JNDI_NAME, cf); ic.re... | 52,111 |
private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | 52,112 |
private void setupConnectionFactories() throws Exception { ConnectionFactory cf = setupConnectionFactory(null); InitialContext ic = new InitialContext(); //Bind in both VM and global JNDI namespaces ic.rebind(CONNECTION_FACTORY_JNDI_NAME, cf); ic.rebind(XACONNECTION_FACTORY_JND... | privatevoidsetupConnectionFactories()throwsException{ConnectionFactorycf=setupConnectionFactory(null);InitialContextic=newInitialContext();//BindinbothVMandglobalJNDInamespacesic.rebind(CONNECTION_FACTORY_JNDI_NAME,cf);ic.rebind(XACONNECTION_FACTORY_JNDI_NAME,cf);ic.rebind("java:/"+CONNECTION_FACTORY_JNDI_NAME,cf);ic.r... | 52,113 |
public void start() throws Exception { initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); ic.close(); if (createTablesOnStartup) { createSchem... | public void start() throws Exception { initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); ic.close(); if (createTablesOnStartup) { createSchem... | 52,114 |
protected List makeChildContent(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 is... | protected List makeChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { c.pushStyle(_style); if (ContentUtil.mayHaveFirstLine(c.getCurrentStyle())) { ... | 52,116 |
protected List makeChildContent(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 is... | protected List makeChildContent(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 is... | 52,117 |
TableRowContent() { _elem = null; _style = null; _children = new LinkedList(); } | TableRowContent() { _elem = null; _style = null; _children = new LinkedList(); } | 52,119 |
private void createContext(String contextName) throws Exception { Object context = null; try { context = initialContext.lookup(contextName); if (!(context instanceof Context)) { throw new JBossJMSException(contextName + " is already bound " + ... | private void createContext(String contextName) throws Exception { Object context = null; try { context = initialContext.lookup(contextName); if (!(context instanceof Context)) { throw new MessagingJMSException(contextName + " is already bound " + ... | 52,121 |
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { String parentContext; String jndiNameInContext; if (jndiName == null) { parentContext = isQueue ? ... | public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { String parentContext; String jndiNameInContext; if (jndiName == null) { parentContext = isQueue ? ... | 52,122 |
public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { String parentContext; String jndiNameInContext; if (jndiName == null) { parentContext = isQueue ? ... | public String registerDestination(boolean isQueue, String name, String jndiName, Element securityConfiguration) throws JMSException { String parentContext; String jndiNameInContext; if (jndiName == null) { parentContext = isQueue ? ... | 52,123 |
public void unregisterDestination(boolean isQueue, String name) throws JMSException { String jndiName = null; if (isQueue) { jndiName = (String)queueNameToJNDI.remove(name); } else { jndiName = (String)topicNameToJNDI.remove(name); } if (jndiName == null) ... | public void unregisterDestination(boolean isQueue, String name) throws JMSException { String jndiName = null; if (isQueue) { jndiName = (String)queueNameToJNDI.remove(name); } else { jndiName = (String)topicNameToJNDI.remove(name); } if (jndiName == null) ... | 52,124 |
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; channelMapper = serverPeer.getChannelMapperDelegate(); sm = serverPeer.getSecurityManager(); tr = serverPeer.getTxRepository(); cm =... | ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; channelMapper = serverPeer.getChannelMapperDelegate(); sm = serverPeer.getSecurityManager(); tr = serverPeer.getTxRepository(); cm =... | 52,125 |
protected void acknowledge(long messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consu... | protected void acknowledge(long messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace(this + " processing acknowledge for message " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)co... | 52,126 |
protected void acknowledge(long messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consu... | protected void acknowledge(long messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = getConsumerEndpoint(consumerID); if (consumer == n... | 52,127 |
protected void acknowledge(long messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consu... | protected void acknowledge(long messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consu... | 52,128 |
protected void cancel(long messageID, int consumerID) throws JMSException { ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); if (consumer == null) { throw new IllegalStateException("Cannot find consumer:" + consumerID); } consumer.ca... | protected void cancel(long messageID, int consumerID) throws JMSException { if (trace) { log.trace(this + " processing cancel for message " + messageID + " from consumer " + consumerID); } ServerConsumerEndpoint consumer = getConsumerEndpoint(consumerID); if (consumer == null) { throw new I... | 52,129 |
protected void cancel(long messageID, int consumerID) throws JMSException { ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); if (consumer == null) { throw new IllegalStateException("Cannot find consumer:" + consumerID); } consumer.ca... | protected void cancel(long messageID, int consumerID) throws JMSException { ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); if (consumer == null) { throw new IllegalStateException("Cannot find consumer " + consumerID); } consumer.ca... | 52,130 |
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | 52,131 |
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | 52,132 |
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | 52,133 |
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | 52,134 |
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | 52,135 |
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already... | 52,136 |
protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | 52,137 |
protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDest... | protected void sendMessage(JBossMessage jbm, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)jbm.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDesti... | 52,138 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 52,139 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 52,140 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 52,141 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 52,142 |
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo... | 52,143 |
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2"); ServerManagement.deployTopic("Topic"); ServerManagement.dep... | public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2"); ServerManagement.deployTopic("Topic"); ServerManagement.dep... | 52,144 |
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2"); ServerManagement.deployTopic("Topic"); ServerManagement.dep... | public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2"); ServerManagement.deployTopic("Topic"); ServerManagement.dep... | 52,145 |
public void tearDown() throws Exception { producerConnection.close(); consumerConnection.close(); if (worker1 != null) { worker1.interrupt(); } ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2");... | public void tearDown() throws Exception { producerConnection.close(); consumerConnection.close(); if (worker1 != null) { worker1.interrupt(); } ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2");... | 52,146 |
public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | 52,147 |
public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | 52,148 |
public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | 52,149 |
public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | 52,150 |
public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | 52,151 |
public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | public void testRedel7() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer prod = sess.createProducer(queue); prod.send(sess... | 52,152 |
protected void deliverInternal() throws Throwable { try { // The iterator is used to iterate through the refs in the channel in the case that they // don't match the selectors of any receivers. ListIterator iter = null; MessageReference ref = null; while (... | protected void deliverInternal() throws Throwable { try { // The iterator is used to iterate through the refs in the channel in the case that they // don't match the selectors of any receivers. ListIterator iter = null; MessageReference ref = null; while (... | 52,155 |
public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); //ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); //ServerManagement.deInit(); super.tearDown(); } | 52,156 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.