bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void paint(RenderingContext c, int originX, int originY) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } if ((isRootLayer() && ! isPositionsFinalized()) || getMaster().getStyle().isFixed()) { updateAllAbsoluteLocations(originX, ori... | public void paint(RenderingContext c, int originX, int originY) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } if ((isRootLayer() && ! isPositionsFinalized()) || getMaster().getStyle().isFixed()) { updateAllAbsoluteLocations(originX, ori... | 44,154 |
public int getType() { return JBossObjectMessage.TYPE; } | public byte getType() { return JBossObjectMessage.TYPE; } | 44,155 |
void acknowledge(String messageID, Transaction tx) { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); if (d.getReference().getMessageID().equals... | synchronized void acknowledge(String messageID, Transaction tx) { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); if (d.getReference().getMessa... | 44,156 |
private synchronized void grabMessage() { ready = true; channel.deliver(this); } | private synchronized void grabMessage() { ready = true; channel.deliver(this); } | 44,157 |
public javax.jms.Message receive(long timeout) throws JMSException { if (log.isTraceEnabled()) { log.trace("receive invoked on client, grabbing a message from core"); } grabMessage(); // we return null, the message will arrive asynchronously later return null; } | public javax.jms.Message receive(long timeout) throws JMSException { if (log.isTraceEnabled()) { log.trace("receive invoked on client, grabbing a message from core"); } grabMessage(); // we return null, the message will arrive asynchronously later return null; } | 44,158 |
public void requestMessages() { if (channel == null) { log.error("No channel, cannot request messages"); return; } log.info("receiver explicitely requesting message from the channel"); channel.deliver(true); } | public void requestMessages() { if (channel == null) { log.error("No channel, cannot request messages"); return; } log.trace("receiver explicitely requesting message from the channel"); channel.deliver(true); } | 44,159 |
void sendMessage(Message m) throws JMSException { //The JMSDestination header must already have been set for each message JBossDestination jmsDestination = (JBossDestination)m.getJMSDestination(); if (jmsDestination == null) { throw new IllegalStateException("JMSDestination header not s... | void sendMessage(Message m) throws JMSException { //The JMSDestination header must already have been set for each message JBossDestination jmsDestination = (JBossDestination)m.getJMSDestination(); if (jmsDestination == null) { throw new IllegalStateException("JMSDestination header not s... | 44,162 |
void acknowledge(String messageID) { try { Delivery d = (Delivery)deliveries.get(messageID); d.acknowledge(); deliveries.remove(messageID); //FIXME //Previously message references were not being removed from the message store after the //message ha... | void acknowledge(String messageID) { try { Delivery d = (Delivery)deliveries.get(messageID); d.acknowledge(); deliveries.remove(messageID); //FIXME //Previously message references were not being removed from the message store after the //message ha... | 44,163 |
private static void paintInline(Context c, InlineBox inline, int lx, int ly, LineBox line) { if(InlineLayout.isReplaced(inline.node)) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y+(line.baseline-inline.height)); Layout layout ... | private static void paintInline(Context c, InlineBox inline, int lx, int ly, LineBox line) { if(InlineLayout.isReplaced(inline.node)) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y+(line.baseline-inline.height)); Layout layout ... | 44,164 |
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | 44,166 |
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | 44,167 |
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | 44,168 |
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setChildrenExceedBounds(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | 44,169 |
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =... | public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =... | 44,170 |
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =... | public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =... | 44,171 |
public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =... | public static void layoutContent(Context c, Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); while (contentIterator.hasNext()) { Object o =... | 44,172 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 44,173 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 44,174 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 44,175 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 44,176 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 44,177 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 44,178 |
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | 44,179 |
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | 44,180 |
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | 44,181 |
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getPersistentBFC() != null) { c.pushBFC(box.getBlockFormattingContext()); }... | 44,182 |
public static void paintBlockContext(Context c, Box box, boolean restyle) { //if (box.getBlockFormattingContext() != null) c.pushBFC(box.getBlockFormattingContext()); c.translate(box.x, box.y); if (box.getBlockFormattingContext() != null) { c.pushBFC(box.getBlockFormattingContext());... | c.getGraphics().translate(-box.x, -box.y); c.getGraphics().translate(-box.x, -box.y); c.getGraphics().translate(-box.x, -box.y); c.getGraphics().translate(-box.x, -box.y); publicc.getGraphics().translate(-box.x, -box.y); staticc.getGraphics().translate(-box.x, -box.y); voidc.getGraphics().translate(-box.x, -box.y... | 44,183 |
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... | 44,184 |
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... | 44,185 |
public void columnMarginChanged(ChangeEvent event); | public void columnMarginChanged(ChangeEvent event); | 44,186 |
public void columnSelectionChanged(ListSelectionEvent event); | public void columnSelectionChanged(ListSelectionEvent event); | 44,187 |
public DefaultTableColumnModel() { tableColumns = new Vector(); setSelectionModel(createSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; } | public DefaultTableColumnModel() { tableColumns = new Vector(); selectionModel = createSelectionModel(); selectionModel.addListSelectionListener(this); columnMargin = 1; columnSelectionAllowed = false; } | 44,188 |
public JTableHeader(TableColumnModel cm) { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table... | public JTableHeader() { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table = null; updateT... | 44,189 |
public JTableHeader(TableColumnModel cm) { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table... | public JTableHeader(TableColumnModel cm) { accessibleContext = new AccessibleJTableHeader(); columnModel = cm == null ? createDefaultColumnModel() : cm; draggedColumn = null; draggedDistance = 0; opaque = true; reorderingAllowed = true; resizingAllowed = true; resizingColumn = null; table... | 44,190 |
void setColumnSelectionAllowed(boolean value); | void setColumnSelectionAllowed(boolean value); | 44,191 |
public void tableChanged(TableModelEvent event); | public void tableChanged(TableModelEvent event); | 44,192 |
private TransactionWrapper() throws Exception { oldTx = mgr.suspend(); mgr.begin(); } | private TransactionWrapper() throws Exception { oldTx = mgr.suspend(); mgr.begin(); } | 44,193 |
public void add(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { ... | public void add(Serializable channelID, Delivery d) throws Exception { if (log.isTraceEnabled()) { log.trace("Adding delivery " + d + " to channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { ... | 44,194 |
protected void addTXRecord(Connection conn, Transaction tx) throws Exception { PreparedStatement ps = null; try { ps = conn.prepareStatement("INSERT INTO TRANSACTION (TRANSACTIONID) values(?)"); ps.setString(1, String.valueOf(tx.getID())); ps.executeUpdate(); } fina... | protected void addTXRecord(Connection conn, Transaction tx) throws Exception { PreparedStatement ps = null; try { String sql = "INSERT INTO TRANSACTION (TRANSACTIONID) values(?)"; ps = conn.prepareStatement(sql); ps.setString(1, String.valueOf(tx.getID())); ps.executeUpdate()... | 44,195 |
protected void addTXRecord(Connection conn, Transaction tx) throws Exception { PreparedStatement ps = null; try { ps = conn.prepareStatement("INSERT INTO TRANSACTION (TRANSACTIONID) values(?)"); ps.setString(1, String.valueOf(tx.getID())); ps.executeUpdate(); } fina... | protected void addTXRecord(Connection conn, Transaction tx) throws Exception { PreparedStatement ps = null; try { ps = conn.prepareStatement("INSERT INTO TRANSACTION (TRANSACTIONID) values(?)"); ps.setString(1, String.valueOf(tx.getID())); int rows = ps.executeUpdate(); if ... | 44,196 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 44,197 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | publicvoidcommitTx(Transactiontx)throwsException{if(log.isTraceEnabled()){log.trace("Committingtransaction:"+tx.getID());}Connectionconn=null;PreparedStatementps=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();Stringsql="DELETEFROMDELIVERYWHERESTATE='-'ANDTRANSACTIONID=?";ps=conn.prepare... | 44,198 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | 44,199 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | 44,200 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | if (log.isTraceEnabled()) { log.trace(JDBCUtil.statementToString(sql, null, String.valueOf(tx.getID())) + " updated " + rows + " row(s)"); } if (log.isTraceEnabled()) { log.trace(JDBCUtil.statementToString(sql, null, String.valueOf(tx.getID())) + " updated " + rows + " row(s)"); } if (log.isTraceEnabled()) { log.t... | 44,201 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Committing transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConn... | 44,202 |
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(); ... | publicListdeliveries(SerializablechannelID)throwsException{if(log.isTraceEnabled()){log.trace("listingdeliveriesforchannel:"+channelID);}Connectionconn=null;PreparedStatementps=null;ResultSetrs=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();Listresult=newArrayList();Stringsql="SELECTMES... | 44,203 |
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(); ... | 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(); ... | 44,204 |
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(); ... | 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(); ... | 44,205 |
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(); ... | 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(); ... | 44,206 |
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()... | publicListmessages(SerializablechannelID)throwsException{if(log.isTraceEnabled()){log.trace("Gettingmessagereferencesforchannel"+channelID);}Connectionconn=null;PreparedStatementps=null;ResultSetrs=null;TransactionWrapperwrap=newTransactionWrapper();try{Listresult=newArrayList();conn=ds.getConnection();Stringsql="SELEC... | 44,207 |
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()... | 44,208 |
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()... | 44,209 |
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()... | 44,210 |
public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID + (tx == null ? " non-transactionally" : " on transaction: " + tx));} Connection conn = null; Prepa... | 44,211 |
public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | publicbooleanremove(SerializablechannelID,Deliveryd,Transactiontx)throwsException{if(log.isTraceEnabled()){log.trace("Removingdelivery"+d+"fromchannel:"+channelID);}Connectionconn=null;PreparedStatementps=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();insertTx(conn,tx);intupdated;String... | 44,212 |
public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | publicbooleanremove(SerializablechannelID,Deliveryd,Transactiontx)throwsException{if(log.isTraceEnabled()){log.trace("Removingdelivery"+d+"fromchannel:"+channelID);}Connectionconn=null;PreparedStatementps=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();insertTx(conn,tx);intupdated;String... | 44,213 |
public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | 44,214 |
public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | 44,215 |
public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | public boolean remove(Serializable channelID, Delivery d, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing delivery " + d + " from channel: " + channelID);} Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Tr... | 44,216 |
public void removeAllMessageData(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing all message data for channel: " + channelID); } Connection conn = null; PreparedStatement ps1 = null; PreparedStatement ps2 = null; TransactionWrapper wrap = ne... | publicvoidremoveAllMessageData(SerializablechannelID)throwsException{if(log.isTraceEnabled()){log.trace("Removingallmessagedataforchannel:"+channelID);}Connectionconn=null;PreparedStatementps1=null;PreparedStatementps2=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();finalStringsql1="DELE... | 44,217 |
public void removeAllMessageData(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("Removing all message data for channel: " + channelID); } Connection conn = null; PreparedStatement ps1 = null; PreparedStatement ps2 = null; TransactionWrapper wrap = ne... | publicvoidremoveAllMessageData(SerializablechannelID)throwsException{if(log.isTraceEnabled()){log.trace("Removingallmessagedataforchannel:"+channelID);}Connectionconn=null;PreparedStatementps1=null;PreparedStatementps2=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();finalStringsql1="DELE... | 44,218 |
protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement("DELETE FROM TRANSACTION WHERE TRANSACTIONID = ?"); ps.setString(1, String.valueOf(tx.getID())); ps.executeUpdate(); } ... | protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException { PreparedStatement ps = null; try { String sql = "DELETE FROM TRANSACTION WHERE TRANSACTIONID = ?"; ps = conn.prepareStatement(sql); ps.setString(1, String.valueOf(tx.getID())); ps.executeUpd... | 44,219 |
protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement("DELETE FROM TRANSACTION WHERE TRANSACTIONID = ?"); ps.setString(1, String.valueOf(tx.getID())); ps.executeUpdate(); } ... | protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement("DELETE FROM TRANSACTION WHERE TRANSACTIONID = ?"); ps.setString(1, String.valueOf(tx.getID())); int rows = ps.executeUpdate(); ... | 44,220 |
public Message retrieve(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; conn = ds.getConnection(); String s... | public Message retrieve(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; conn = ds.getConnection(); String s... | 44,221 |
public Message retrieve(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; conn = ds.getConnection(); String s... | public Message retrieve(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; conn = ds.getConnection(); String s... | 44,222 |
public Message retrieve(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; conn = ds.getConnection(); String s... | if (log.isTraceEnabled()) { log.trace(JDBCUtil.statementToString(sql, messageID) + " selected " + count + " row(s)"); } if (log.isTraceEnabled()) { log.trace(JDBCUtil.statementToString(sql, messageID) + " selected " + count + " row(s)"); } if (log.isTraceEnabled()) { log.trace(JDBCUtil.statementToString(sql, messa... | 44,223 |
public Message retrieve(Serializable messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { Message m = null; conn = ds.getConnection(); String s... | publicMessageretrieve(SerializablemessageID)throwsException{Connectionconn=null;PreparedStatementps=null;ResultSetrs=null;TransactionWrapperwrap=newTransactionWrapper();try{Messagem=null;conn=ds.getConnection();Stringsql="SELECT"+"MESSAGEID,"+"RELIABLE,"+"EXPIRATION,"+"TIMESTAMP,"+"COREHEADERS,"+"PAYLOAD,"+"TYPE,"+"JMS... | 44,224 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | publicvoidrollbackTx(Transactiontx)throwsException{if(log.isTraceEnabled()){log.trace("Rollingbacktransaction:"+tx.getID());}Connectionconn=null;PreparedStatementps=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();Stringsql="DELETEFROMMESSAGE_REFERENCEWHERETRANSACTIONID=?ANDSTATE='+'";ps=... | 44,225 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | 44,226 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | 44,227 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | 44,228 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("Rolling back transaction:" + tx.getID()); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.get... | publicvoidrollbackTx(Transactiontx)throwsException{if(log.isTraceEnabled()){log.trace("Rollingbacktransaction:"+tx.getID());}Connectionconn=null;PreparedStatementps=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();Stringsql="DELETEFROMMESSAGE_REFERENCEWHERETRANSACTIONID=?ANDSTATE='+'";ps=... | 44,229 |
public void start() throws Exception { InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); Connection conn = null; String sql = null; TransactionWrapper tx = n... | public void start() throws Exception { InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); Connection conn = null; String sql = null; TransactionWrapper tx = n... | 44,230 |
public void start() throws Exception { InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); Connection conn = null; String sql = null; TransactionWrapper tx = n... | ic.close(); ic.close(); ic.close(); publicic.close(); voidic.close(); start()ic.close(); throwsic.close(); Exceptionic.close(); ic.close(); ic.close(); {ic.close(); ic.close(); ic.close(); ic.close(); ic.close(); ic.close(); InitialContextic.close(); icic.close(); =ic.close(); newic.close(); Initial... | 44,231 |
public void start() throws Exception { InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); Connection conn = null; String sql = null; TransactionWrapper tx = n... | publicvoidstart()throwsException{InitialContextic=newInitialContext();mgr=(TransactionManager)ic.lookup("java:/TransactionManager");ds=(DataSource)ic.lookup("java:/DefaultDS");Connectionconn=null;Stringsql=null;TransactionWrappertx=newTransactionWrapper();try{conn=ds.getConnection();try{if(log.isTraceEnabled()){log.tra... | 44,232 |
public void start() throws Exception { InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); Connection conn = null; String sql = null; TransactionWrapper tx = n... | public void start() throws Exception { InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); Connection conn = null; String sql = null; TransactionWrapper tx = ne... | 44,233 |
public void store(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); String sql = "INSERT INTO MESSAGE VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ... | publicvoidstore(Messagem)throwsException{Connectionconn=null;PreparedStatementps=null;TransactionWrapperwrap=newTransactionWrapper();try{conn=ds.getConnection();Stringsql="INSERTINTOMESSAGEVALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";ps=conn.prepareStatement(sql);ps.setString(1,(String)m.getMessageID());ps.setBoolean(2,m.isR... | 44,234 |
public void store(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); String sql = "INSERT INTO MESSAGE VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ... | public void store(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); String sql = "INSERT INTO MESSAGE VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ... | 44,235 |
public void store(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); String sql = "INSERT INTO MESSAGE VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ... | public void store(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); String sql = "INSERT INTO MESSAGE VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ... | 44,236 |
Object getObject(String columnName) throws SQLException; | Object getObject(String columnName) throws SQLException; | 44,237 |
void setBoolean(int parameterIndex, boolean x) throws SQLException; | void setBoolean(int parameterIndex, boolean x) throws SQLException; | 44,238 |
public ServerProducerDelegate(String id, Receiver destination, Destination jmsDestination, ServerSessionDelegate parent) { this.id = id; this.destination = destination; this.jmsDestination = jmsDestination; sessionEndpoint = parent; } | public ServerProducerDelegate(String id, Receiver destination, Destination jmsDestination, ServerSessionDelegate parent) { this.id = id; this.jmsDestination = jmsDestination; sessionEndpoint = parent; } | 44,239 |
public void send(Message m) { if (log.isTraceEnabled()) { log.trace("sending message " + m + " to the core"); } try { // TODO JMS1.1 specs 3.4.3. If the client can live without a messageID, do not set a new messageID on the message m.setJMSMessageID(generateMessageID()); m.se... | public void send(Message m) { if (log.isTraceEnabled()) { log.trace("sending message " + m + " to the core"); } try { // TODO JMS1.1 specs 3.4.3. If the client can live without a messageID, do not set a new messageID on the message m.setJMSMessageID(generateMessageID()); m.se... | 44,240 |
private boolean canReadDestination(Connection conn, Destination dest) throws Exception { Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess.createConsumer(dest); return true; } catch (JMSSecurityException e) { log.trace("Can't read d... | privatebooleancanReadDestination(Connectionconn,Destinationdest)throwsException{Sessionsess=conn.createSession(false,Session.AUTO_ACKNOWLEDGE);try{sess.createConsumer(dest);returntrue;}catch(JMSSecurityExceptione){log.trace("Can'treaddestination");returnfalse;}} | 44,241 |
private boolean canReadDestination(Connection conn, Destination dest) throws Exception { Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess.createConsumer(dest); return true; } catch (JMSSecurityException e) { log.trace("Can't read d... | private boolean canReadDestination(Connection conn, Destination dest) throws Exception { Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); try { MessageConsumer cons = sess.createConsumer(dest); return true; } catch (JMSSecurityException e) { ... | 44,242 |
public static boolean isNumber(int cssPrimitiveType) { switch ( cssPrimitiveType ) { // fall thru on all these // relative length or size case CSSPrimitiveValue.CSS_EMS: case CSSPrimitiveValue.CSS_EXS: case CSSPrimitiveValue.CSS_PERCENTAGE: ... | public static boolean isNumber(int cssPrimitiveType) { switch ( cssPrimitiveType ) { // fall thru on all these // relative length or size case CSSPrimitiveValue.CSS_EMS: case CSSPrimitiveValue.CSS_EXS: case CSSPrimitiveValue.CSS_PERCENTAGE: ... | 44,245 |
public String toString() { return "DistributedQueue[" + getChannelID() + "]"; } | public String toString() { return "DistributedQueue[" + getChannelID() + ":" + Util.guidToString((String)peer.getID()) + "]"; } | 44,246 |
public synchronized void leave() throws DistributedException { if(!joined) { return; } super.join(); // do the generic stuff first // unregister my pipe output rpcServer.unregister(pipeID); rpcServer.unregister(queue.getDestinationID(), this); joined = false; } | public synchronized void leave() throws DistributedException { if(!joined) { return; } super.leave(); // do the generic stuff first // unregister my pipe output rpcServer.unregister(pipeID); rpcServer.unregister(queue.getDestinationID(), this); joined = false; } | 44,248 |
public int getViewIndex(int pos, Position.Bias b) { return -1; } | public int getViewIndex(float x, float y, Shape allocation) { return -1; } | 44,250 |
public Object handleSetExceptionListener(Invocation invocation) throws Throwable { justCreated = false; MethodInvocation mi = (MethodInvocation)invocation; exceptionListener = (ExceptionListener)mi.getArguments()[0]; Client client = (Client)invocation.getMetaData(M... | public Object handleSetExceptionListener(Invocation invocation) throws Throwable { justCreated = false; MethodInvocation mi = (MethodInvocation)invocation; exceptionListener = (ExceptionListener)mi.getArguments()[0]; Client client = getState(invocation).getClient()... | 44,251 |
public Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height) { return getInteriorRectangle (c, this, x, y, width, height); } | public Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height) { return getInteriorRectangle(c, this, x, y, width, height); } | 44,252 |
public File getDefaultIvyUserDir() { if (_defaultUserDir==null) { setDefaultIvyUserDir(new File(System.getProperty("user.home"), ".ivy")); Message.verbose("no default ivy user dir defined: set to "+_defaultUserDir); } return _defaultUserDir; } | public File getDefaultIvyUserDir() { if (_defaultUserDir==null) { setDefaultIvyUserDir(new File(System.getProperty("user.home"), ".ivy")); Message.verbose("no default ivy user dir defined: set to "+_defaultUserDir); } return _defaultUserDir; } | 44,253 |
public Collection getResolvedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_selectedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (... | public Collection getResolvedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_selectedRevs.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (... | 44,255 |
public Collection getResolvedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_selectedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (... | public Collection getResolvedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_selectedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (... | 44,256 |
public void markEvicted(EvictionData evictionData) { _evicted.put(evictionData.getRootModuleConf(), evictionData); if (!_rootModuleConfs.keySet().contains(evictionData.getRootModuleConf())) { _rootModuleConfs.put(evictionData.getRootModuleConf(), null); } // bug 105: u... | public void markEvicted(EvictionData evictionData) { _evicted.put(evictionData.getRootModuleConf(), evictionData); if (!_rootModuleConfs.keySet().contains(evictionData.getRootModuleConf())) { _rootModuleConfs.put(evictionData.getRootModuleConf(), null); } // bug 105: u... | 44,257 |
public Collection getEvictedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_evictedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (It... | public Collection getEvictedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_evictedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (It... | 44,258 |
public Collection getEvictedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_evictedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (It... | public Collection getEvictedRevisions(ModuleId mid, String rootModuleConf) { Collection resolved = (Collection)_evictedDeps.get(new ModuleIdConf(mid, rootModuleConf)); if (resolved == null) { return new HashSet(); } else { Collection ret = new HashSet(); for (It... | 44,259 |
public String[] getRequiredConfigurations() { Collection required = new ArrayList(_confsToFetch.size() + _fetchedConfigurations.size()); required.addAll(_fetchedConfigurations); required.addAll(_confsToFetch); return (String[])required.toArray(new String[required.size()]); } | public String[] getRequiredConfigurations() { Collection required = new ArrayList(_confsToFetch.size() + _fetchedConfigurations.size()); required.addAll(_fetchedConfigurations); required.addAll(_confsToFetch); return (String[])required.toArray(new String[required.size()]); } | 44,260 |
public void parse(URL configuration) throws ParseException, IOException { // put every type definition from ivy to configurator Map typeDefs = _ivy.getTypeDefs(); for (Iterator iter = typeDefs.keySet().iterator(); iter.hasNext();) { String name = (String) iter.next(); _con... | public void parse(URL configuration) throws ParseException, IOException { // put every type definition from ivy to configurator Map typeDefs = _ivy.getTypeDefs(); for (Iterator iter = typeDefs.keySet().iterator(); iter.hasNext();) { String name = (String) iter.next(); _con... | 44,261 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.