bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void nonXARecovery(boolean guid, boolean storeXid) throws Exception { JDBCTransactionLog tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager()); tl.setTxIdGuid(guid); Properties props; if (guid) { props = getConfigTablesForGUID(); tl.set...
protected void nonXARecovery(boolean guid, boolean storeXid) throws Exception { JDBCTransactionLog tl = new JDBCTransactionLog(sc.getDataSource(), sc.getTransactionManager()); tl.setTxIdGuid(guid); Properties props; if (guid) { props = getConfigTablesForGUID(); tl.set...
49,732
public CoreMessage(Serializable messageID, boolean reliable, long expiration, long timestamp, int priority, Map headers, Serializable payload) { super(messageID, reliable, expiration, ...
public CoreMessage(Serializable messageID, boolean reliable, long expiration, long timestamp, byte priority, Map headers, Serializable payload) { super(messageID, reliable, expiration,...
49,733
public MessageReference reference(Message m) { MessageReference ref = super.reference(m); if (log.isTraceEnabled()) { log.trace(this + " referencing " + m); } if (m.isReliable()) { try { storeMessage(m); } catch (Exception e) { ...
public MessageReference reference(Message m) { MessageReference ref = super.reference(m); if (trace) { log.trace(this + " referencing " + m); } if (m.isReliable()) { try { storeMessage(m); } catch (Exception e) { log.e...
49,734
public MessageReference reference(Message m) { MessageReference ref = super.reference(m); if (log.isTraceEnabled()) { log.trace(this + " referencing " + m); } if (m.isReliable()) { try { storeMessage(m); } catch (Exception e) { ...
public MessageReference reference(Message m) { MessageReference ref = super.reference(m); if (log.isTraceEnabled()) { log.trace(this + " referencing " + m); } if (m.isReliable()) { try { storeMessage(m); } catch (Exception e) { ...
49,735
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,736
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,737
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,738
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,739
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,740
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,741
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
public void storeMessage(Message m) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); String id = (String)m.getMessageID(); try { conn = ds.getConnection(); // get the reference count from the da...
49,742
public Message retrieveMessage(String messageId) throws Exception { Message m = super.retrieveMessage(messageId); if (m == null) { m = getMessage(messageId); if (m != null) { super.addMessage(m); if (log.isTraceEnabled()) { log...
public Message retrieveMessage(String messageId) throws Exception { Message m = super.retrieveMessage(messageId); if (m == null) { m = getMessage(messageId); if (m != null) { super.addMessage(m); if (trace) { log.trace("Retreiv...
49,743
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
49,744
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
49,745
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
49,746
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
public boolean removeMessage(String messageID) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); // get the reference count from the database ps = conn.prepare...
49,747
public String toString() { StringBuffer sb = new StringBuffer("ClusteredConnFactoryDelegate["); sb.append(id).append("]["); if (delegates == null) { sb.append("-]"); } else { for(int i = 0; i < delegates.length; i++) { sb.append(delegates[i].get...
public String toString() { StringBuffer sb = new StringBuffer("ClusteredConnectionFactoryDelegate["); sb.append(id).append("]["); if (delegates == null) { sb.append("-]"); } else { for(int i = 0; i < delegates.length; i++) { sb.append(delegates[...
49,748
public StylesheetInfo[] getStylesheetLinks(org.w3c.dom.Document doc) { List list = new ArrayList(); //get the processing-instructions (actually for XmlDocuments) //type and href are required to be set try { org.w3c.dom.NodeList nl = XPathAPI.selectNodeList(doc.getDocumentEleme...
public StylesheetInfo[] getStylesheetLinks(org.w3c.dom.Document doc) { List list = new ArrayList(); //get the processing-instructions (actually for XmlDocuments) //type and href are required to be set try { org.w3c.dom.NodeList nl = XPathAPI.selectNodeList(doc.getDocumentEleme...
49,749
public StylesheetInfo[] getStylesheetLinks(org.w3c.dom.Document doc) { List list = new ArrayList(); //get the processing-instructions (actually for XmlDocuments) //type and href are required to be set try { org.w3c.dom.NodeList nl = XPathAPI.selectNodeList(doc.getDocumentEleme...
public StylesheetInfo[] getStylesheetLinks(org.w3c.dom.Document doc) { List list = new ArrayList(); //get the processing-instructions (actually for XmlDocuments) //type and href are required to be set try { org.w3c.dom.NodeList nl = XPathAPI.selectNodeList(doc.getDocumentEleme...
49,750
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
49,751
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, p[i]); } catch ...
49,752
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
49,753
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
49,754
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
public static final KeyGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] provs = Security.getProviders(); String msg = algorithm; for (int i = 0; i < provs.length; i++) { try { return getInstance(algorithm, provs[i]); } ca...
49,755
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,756
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,757
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,758
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,759
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,760
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,761
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
protected void initComponents() { String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu"; String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref"; JTabbedPane tabbedPane = new JTabbedPane(); //FormLayout layout = new FormLayout("2dlu, max(30dlu;pref), 2dlu, pref:grow, 4dlu", ...
49,762
protected void updateView() { JoinDescriptor descriptor = (JoinDescriptor)getDescriptor(); conditionsModel.setList(descriptor.getConditions()); connector.setSource(descriptor); // if (cell.getJoinDescriptor().getResult() != null) { // List list = new ArrayList(); // list.add(cell.getJoinDescri...
protected void updateView() { JoinDescriptor descriptor = (JoinDescriptor)getDescriptor(); conditionsModel.setList(descriptor.getConditions()); connector.setSource(descriptor); // if (cell.getJoinDescriptor().getResult() != null) { // List list = new ArrayList(); // list.add(cell.getJoinDescri...
49,763
public int[] getAvailableActions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } if (entry.getState() != Workfl...
public int[] getAvailableActions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } if (entry.getState() != Workfl...
49,764
private void modify() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { modify(i); } }
private void modify() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { modify(i); } }
49,765
private void postmodify() { int[] rows = post.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postmodify(i); } }
private void postmodify() { int[] rows = post.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postmodify(i); } }
49,766
private void postremove() { int[] rows = post.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postModel.remove(i); } }
private void postremove() { int[] rows = post.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postModel.remove(i); } }
49,767
private void premodify() { int[] rows = pre.getSelectedRows(); for(int i = 0; i < rows.length; i++) { premodify(i); } }
private void premodify() { int[] rows = pre.getSelectedRows(); for(int i = 0; i < rows.length; i++) { premodify(i); } }
49,768
private void preremove() { int[] rows = pre.getSelectedRows(); for(int i = 0; i < rows.length; i++) { preModel.remove(i); } }
private void preremove() { int[] rows = pre.getSelectedRows(); for(int i = 0; i < rows.length; i++) { preModel.remove(i); } }
49,769
private void remove() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { conditionsModel.remove(i); } }
private void remove() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { conditionsModel.remove(i); } }
49,770
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ...
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ...
49,771
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append...
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (content == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append(" (" +...
49,772
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append...
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append...
49,773
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append...
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append...
49,774
public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurityManager().authenticate(username, password); // see if there is ...
public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { log.debug("creating a new connection for user " + username); // authenticate the user serverPeer.getSecurityManager().authenticate(username, password); // see if there is ...
49,775
public IdBlock getIdBlock(int size) throws JMSException { try { return serverPeer.getMessageIdManager().getIdBlock(size); } catch (Exception e) { throw new JBossJMSException("Failed to get id block", e); } }
public IdBlock getIdBlock(int size) throws JMSException { try { return serverPeer.getMessageIdManager().getIdBlock(size); } catch (Exception e) { throw new MessagingJMSException("Failed to get id block", e); } }
49,776
public void mouseExited( MouseEvent evt ) { InlineBox ib = findInlineBox(evt); restyle(ib); }
public void mouseExited( MouseEvent evt ) { InlineBox ib = findInlineBox(evt); }
49,778
private void restyle(InlineBox ib) { // if moved out of the old block then unstyle it if(prev != null && prev != ib) { Layout lt = LayoutFactory.getLayout(prev.getRealElement()); if(lt instanceof InlineLayout) { ((InlineLayout)lt).restyleNormal(panel.getContext(), ...
private void restyle(InlineBox ib) { // if moved out of the old block then unstyle it /* if(prev != null && prev != ib) { Layout lt = LayoutFactory.getLayout(prev.getRealElement()); if(lt instanceof InlineLayout) { ((InlineLayout)lt).restyleNormal(panel.getContext(...
49,779
private void restyle(InlineBox ib) { // if moved out of the old block then unstyle it if(prev != null && prev != ib) { Layout lt = LayoutFactory.getLayout(prev.getRealElement()); if(lt instanceof InlineLayout) { ((InlineLayout)lt).restyleNormal(panel.getContext(), ...
private void restyle(InlineBox ib) { // if moved out of the old block then unstyle it if(prev != null && prev != ib) { Layout lt = LayoutFactory.getLayout(prev.getRealElement()); if(lt instanceof InlineLayout) { ((InlineLayout)lt).restyleNormal(panel.getContext(), ...
49,780
public void test1() throws Throwable { Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor(), null); Message[] msgs = new Message[150]; Mes...
public void test1() throws Throwable { Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor(), null); Message[] msgs = new Message[150]; Mes...
49,782
public synchronized void acknowledge(Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace(this + " acknowledging delivery in tx:" + tx); } // deals with the race condition when acknowledgment arrives before the delivery // is returned back to the sending delivery observer ...
public synchronized void acknowledge(Transaction tx) throws Throwable { if (trace) { log.trace(this + " acknowledging delivery in tx:" + tx); } // deals with the race condition when acknowledgment arrives before the delivery // is returned back to the sending delivery observer obser...
49,783
public synchronized void acknowledge(Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace(this + " acknowledging delivery in tx:" + tx); } // deals with the race condition when acknowledgment arrives before the delivery // is returned back to the sending delivery observer ...
public synchronized void acknowledge(Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace(this + " acknowledging delivery in tx:" + tx); } // deals with the race condition when acknowledgment arrives before the delivery // is returned back to the sending delivery observer ...
49,784
public synchronized void cancel() throws Throwable { if (log.isTraceEnabled()) { log.trace(this + " cancelling delivery"); } // deals with the race condition when cancellation arrives before the delivery // is returned back to the sending delivery observer observer.cancel(this); ...
public synchronized void cancel() throws Throwable { if (trace) { log.trace(this + " cancelling delivery"); } // deals with the race condition when cancellation arrives before the delivery // is returned back to the sending delivery observer observer.cancel(this); cancelled = t...
49,785
public JBossXAResource(ResourceManager rm, SessionDelegate session, SessionState sessionState) { trace = log.isTraceEnabled(); this.rm = rm; this.session = session; this.sessionState = sessionState; }
public JBossXAResource(ResourceManager rm, SessionDelegate session, SessionState sessionState) { trace = log.isTraceEnabled(); this.rm = rm; this.session = session; this.sessionState = sessionState; }
49,786
public JBossXAResource(ResourceManager rm, SessionDelegate session, SessionState sessionState) { trace = log.isTraceEnabled(); this.rm = rm; this.session = session; this.sessionState = sessionState; }
public JBossXAResource(ResourceManager rm, SessionDelegate session, SessionState sessionState) { trace = log.isTraceEnabled(); this.rm = rm; this.session = session; this.sessionState = sessionState; }
49,787
public void commit(Xid xid, boolean onePhase) throws XAException { if (trace) log.trace("Commit xid=" + xid + ", onePhase=" + onePhase + " " + this); rm.commit(xid, onePhase); }
public void commit(Xid xid, boolean onePhase) throws XAException { if (log.isTraceEnabled()) { log.trace("Commit xid=" + xid + ", onePhase=" + onePhase + " " + this); rm.commit(xid, onePhase); }
49,788
public void commit(Xid xid, boolean onePhase) throws XAException { if (trace) log.trace("Commit xid=" + xid + ", onePhase=" + onePhase + " " + this); rm.commit(xid, onePhase); }
public void commit(Xid xid, boolean onePhase) throws XAException { if (trace) log.trace("Commit xid=" + xid + ", onePhase=" + onePhase + " " + this); rm.commit(xid, onePhase, connection); }
49,789
public void end(Xid xid, int flags) throws XAException { if (trace) log.trace("End xid=" + xid + ", flags=" + flags + " " +this); synchronized (this) { switch (flags) { case TMSUSPEND : unsetCurrentTransactionId(xid); rm.suspendTx(xid); ...
public void end(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) { log.trace("End xid=" + xid + ", flags=" + flags + " " +this); synchronized (this) { switch (flags) { case TMSUSPEND : unsetCurrentTransactionId(xid); rm...
49,790
public void forget(Xid xid) throws XAException { if (trace) log.trace("Forget xid=" + xid + " " + this); }
public void forget(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Forget xid=" + xid + " " + this); }
49,792
public int prepare(Xid xid) throws XAException { if (log.isTraceEnabled()) log.trace("Prepare xid=" + xid + " " + this); return rm.prepare(xid); }
public int prepare(Xid xid) throws XAException { if (log.isTraceEnabled()) log.trace("Prepare xid=" + xid + " " + this); return rm.prepare(xid, connection); }
49,795
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) log.trace("Rollback xid=" + xid + " " + this); rm.rollback(xid); try { String asfConsumerID = sessionState.getAsfConsumerID(); session.cancelDeliveries(asfConsumerID); } cat...
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) log.trace("Rollback xid=" + xid + " " + this); rm.rollback(xid); try { String asfConsumerID = sessionState.getAsfConsumerID(); session.cancelDeliveries(asfConsumerID); } cat...
49,797
private void setCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Setting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); this.currentTxID = xid; }
private void setCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Setting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); this.currentTxID = xid; }
49,799
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (sessionState.getCurrentTxId() != null) { if (flags == TMNOFLAGS && this.currentTxID instance...
49,800
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && sessionState.getCurrentTxId() instance...
49,801
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
49,802
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
49,803
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
49,804
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s...
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s...
49,805
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s...
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s...
49,806
private void check(Invocation inv, Destination dest, CheckType checkType, ServerConnectionEndpoint conn) throws JMSSecurityException { JBossDestination jbDest = (JBossDestination)dest; SecurityManager securityManager = conn.getServerPeer().getSecurityManager(); ...
private void check(Invocation inv, Destination dest, CheckType checkType, ServerConnectionEndpoint conn) throws JMSSecurityException { JBossDestination jbDest = (JBossDestination)dest; SecurityManager securityManager = conn.getServerPeer().getSecurityManager(); ...
49,807
private void check(Invocation inv, Destination dest, CheckType checkType, ServerConnectionEndpoint conn) throws JMSSecurityException { JBossDestination jbDest = (JBossDestination)dest; SecurityManager securityManager = conn.getServerPeer().getSecurityManager(); ...
private void check(Invocation inv, Destination dest, CheckType checkType, ServerConnectionEndpoint conn) throws JMSSecurityException { JBossDestination jbDest = (JBossDestination)dest; SecurityManager securityManager = conn.getServerPeer().getSecurityManager(); ...
49,808
public Object handleCreateBrowserDelegate(Invocation invocation) throws Throwable { //read permission required on the destination MethodInvocation mi = (MethodInvocation)invocation; Destination dest = (Destination)mi.getArguments()[0]; SessionAdvised del = (SessionAdvised)invo...
public Object handleCreateBrowserDelegate(Invocation invocation) throws Throwable { //read permission required on the destination MethodInvocation mi = (MethodInvocation)invocation; Destination dest = (Destination)mi.getArguments()[0]; SessionAdvised del = (SessionAdvised)invo...
49,809
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; //read permission required on the destination Destination dest = (Destination)mi.getArguments()[0]; SessionAdvised del = (SessionAdvised)invocatio...
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; //read permission required on the destination Destination dest = (Destination)mi.getArguments()[0]; SessionAdvised del = (SessionAdvised)invocatio...
49,810
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; //read permission required on the destination Destination dest = (Destination)mi.getArguments()[0]; SessionAdvised del = (SessionAdvised)invocatio...
public Object handleCreateConsumerDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; //read permission required on the destination Destination dest = (Destination)mi.getArguments()[0]; SessionAdvised del = (SessionAdvised)invocatio...
49,811
public Object handleCreateProducerDelegate(Invocation invocation) throws Throwable { //write permission required on the destination //Null represents an anonymous producer - the destination //for this is specified at send time MethodInvocation mi = (MethodInvocation)invocation; ...
public Object handleCreateProducerDelegate(Invocation invocation) throws Throwable { //write permission required on the destination //Null represents an anonymous producer - the destination //for this is specified at send time MethodInvocation mi = (MethodInvocation)invocation; ...
49,812
public Object handleSend(Invocation invocation) throws Throwable { //anonymous producer //if destination is not null then write permissions required MethodInvocation mi = (MethodInvocation)invocation; Destination dest = (Destination)mi.getArguments()[0]; ProducerAdv...
public Object handleSend(Invocation invocation) throws Throwable { //anonymous producer //if destination is not null then write permissions required MethodInvocation mi = (MethodInvocation)invocation; Destination dest = (Destination)mi.getArguments()[0]; ProducerAdv...
49,813
public void setup(Map attributes) { Map macAttrib = new HashMap(); macAttrib.put(HMac.USE_WITH_PKCS5_V2, Boolean.TRUE); byte[] s = (byte[]) attributes.get(IPBE.SALT); if (s == null) { if (salt == null) { throw new IllegalArgumentException("no salt specified"); } /...
public void setup(Map attributes) { Map macAttrib = new HashMap(); macAttrib.put(HMac.USE_WITH_PKCS5_V2, Boolean.TRUE); byte[] s = (byte[]) attributes.get(IPBE.SALT); if (s == null) { if (salt == null) { throw new IllegalArgumentException("no salt specified"); } /...
49,814
public void setup(Map attributes) { Map macAttrib = new HashMap(); macAttrib.put(HMac.USE_WITH_PKCS5_V2, Boolean.TRUE); byte[] s = (byte[]) attributes.get(IPBE.SALT); if (s == null) { if (salt == null) { throw new IllegalArgumentException("no salt specified"); } /...
public void setup(Map attributes) { Map macAttrib = new HashMap(); macAttrib.put(HMac.USE_WITH_PKCS5_V2, Boolean.TRUE); byte[] s = (byte[]) attributes.get(IPBE.SALT); if (s == null) { if (salt == null) { throw new IllegalArgumentException("no salt specified"); } /...
49,815
public void setup(Map attributes) { Map macAttrib = new HashMap(); macAttrib.put(HMac.USE_WITH_PKCS5_V2, Boolean.TRUE); byte[] s = (byte[]) attributes.get(IPBE.SALT); if (s == null) { if (salt == null) { throw new IllegalArgumentException("no salt specified"); } /...
public void setup(Map attributes) { Map macAttrib = new HashMap(); macAttrib.put(HMac.USE_WITH_PKCS5_V2, Boolean.TRUE); byte[] s = (byte[]) attributes.get(IPBE.SALT); if (s == null) { if (salt == null) { throw new IllegalArgumentException("no salt specified"); } /...
49,816
public void goBack() throws Exception { root.history.goPrevious(); view.setDocument(root.history.getCurrentDocument(), root.history.getCurrentURL()); //root.history.dumpHistory(); updateButtons(); }
publicvoidgoBack()throwsException{root.history.goPrevious();view.setDocument(root.history.getCurrentDocument(),root.history.getCurrentURL());//root.history.dumpHistory();updateButtons();}
49,817
public void loadPage(Document doc, URL url) throws Exception { view.setDocument(doc, url); view.addDocumentListener(this); root.history.goNewDocument(doc); updateButtons(); }
public void loadPage(Document doc, URL url) throws Exception { view.setDocument(doc, url); view.addDocumentListener(this); root.history.goNewDocument(doc); updateButtons(); }
49,818
public void loadPage(Document doc, URL url) throws Exception { view.setDocument(doc, url); view.addDocumentListener(this); root.history.goNewDocument(doc); updateButtons(); }
public void loadPage(Document doc, URL url) throws Exception { view.setDocument(doc, url); view.addDocumentListener(this); root.history.goNewDocument(doc, url); updateButtons(); }
49,819
public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, LineBox curr_line) { //Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c.set...
public static InlineBox generateFloatedBlockInlineBox(Context c, Content content, int avail, LineBox curr_line) { //Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c.set...
49,820
public void start() throws Exception { try { readConfigurationFile(); configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails be...
public void start() throws Exception { try { readConfigurationFile(); configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails be...
49,821
public TableCellRenderer getCellRenderer(int row, int column) { TableCellRenderer renderer = columnModel.getColumn(column).getCellRenderer(); if (renderer == null) renderer = getDefaultRenderer(dataModel.getColumnClass(column)); return renderer; }
publicTableCellRenderergetCellRenderer(introw,intcolumn){TableCellRendererrenderer=columnModel.getColumn(column).getCellRenderer();if(renderer==null)renderer=getDefaultRenderer(dataModel.getColumnClass(column));returnrenderer;}
49,822
public TableCellRenderer getCellRenderer(int row, int column) { TableCellRenderer renderer = columnModel.getColumn(column).getCellRenderer(); if (renderer == null) renderer = getDefaultRenderer(dataModel.getColumnClass(column)); return renderer; }
public TableCellRenderer getCellRenderer(int row, int column) { TableCellRenderer renderer = columnModel.getColumn(column).getCellRenderer(); if (renderer == null) renderer = getDefaultRenderer(getColumnClass(column)); return renderer; }
49,823
public Class getColumnClass(int column) { return dataModel.getColumnClass(column); }
public Class getColumnClass(int column) { return getModel().getColumnClass(column); }
49,824
public Layout getLayout(Context c, Node elem ) { // we have to do the inputs manually since they don't depend on // the element name if ( elem.getNodeType() == elem.ELEMENT_NODE ) { if ( elem.getNodeName().equals( "input" ) ) { Element el = (Element)elem; ...
u.p("yo! got here w/ " + elem); u.p("yo! got here w/ " + elem); u.p("yo! got here w/ " + elem); u.p("yo! got here w/ " + elem); publicu.p("yo! got here w/ " + elem); Layoutu.p("yo! got here w/ " + elem); getLayout(Contextu.p("yo! got here w/ " + elem); c,u.p("yo! got here w/ " + elem); Nodeu.p("yo! got here w/ " + elem...
49,825
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getA...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getA...
49,826
public void tearDown() throws Exception { super.tearDown(); //ServerManagement.deInit(); }
public void tearDown() throws Exception { super.tearDown(); //ServerManagement.deInit(); }
49,827
String getNodeId();
String getNodeId();
49,828
public TypeCode create_recursive_sequence_tc(int bound, int offset) { RecordTypeCode r = new RecordTypeCode(TCKind.tk_struct); for (int i = 0; i < offset; i++) r.add(new StructMember()); TypeCode recurs = new PrimitiveTypeCode(TCKind.tk_sequence); r.add(new StructMember("", recurs, null)); return...
public TypeCode create_recursive_sequence_tc(int bound, int offset) { RecordTypeCode r = new RecordTypeCode(TCKind.tk_struct); for (int i = 0; i < offset; i++) r.add(new StructMember()); TypeCode recurs = new PrimitiveTypeCode(TCKind.tk_sequence); r.add(new StructMember("", recurs, null)); return...
49,829
public Context get_default_context() { return new gnuContext("", null); }
public Context get_default_context() { return new gnuContext("", null); }
49,830
public int getAcknowledgeMode();
public int getAcknowledgeMode();
49,831
public MessageListener getMessageListener();
public MessageListener getMessageListener();
49,832
public boolean getTransacted();
public boolean getTransacted();
49,833
public void setAcknowledgeMode(int ackMode);
public void setAcknowledgeMode(int ackMode);
49,834
public void setMessageListener(MessageListener listener);
public void setMessageListener(MessageListener listener);
49,835
public void setTransacted(boolean transacted);
public void setTransacted(boolean transacted);
49,836
public void internalFrameActivated(InternalFrameEvent event);
public void internalFrameActivated(InternalFrameEvent event);
49,837
public void internalFrameClosed(InternalFrameEvent event);
public void internalFrameClosed(InternalFrameEvent event);
49,838