bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void test_Simple_TNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer con... | public void test_Simple_TNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer con... | 26,540 |
public void test_Simple_TNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer con... | public void test_Simple_TNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer con... | 26,541 |
public void test_Simple_TNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons ... | public void test_Simple_TNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons ... | 26,542 |
public void test_Simple_TNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceiv... | public void test_Simple_TNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceiv... | 26,543 |
public void test_Simple_TP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = s... | public void test_Simple_TP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = s... | 26,544 |
public void test_Simple_TP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons ... | public void test_Simple_TP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons ... | 26,545 |
public void test_Simple_TP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons ... | public void test_Simple_TP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons ... | 26,546 |
public void test_Simple_TP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = ... | public void test_Simple_TP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = ... | 26,547 |
public void test_Simple_TP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.... | public void test_Simple_TP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.... | 26,548 |
public void test_Simple_TP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... | public void test_Simple_TP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... | 26,549 |
public void test_Simple_TP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... | public void test_Simple_TP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... | 26,550 |
public void test_Simple_TP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... | public void test_Simple_TP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... | 26,551 |
public void test_Simple_TP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... | public void test_Simple_TP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... | 26,552 |
public void test_Simple_TP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... | public void test_Simple_TP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... | 26,553 |
public void test_Simple_XNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.... | public void test_Simple_XNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.... | 26,554 |
public void test_Simple_XNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | public void test_Simple_XNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | 26,555 |
public void test_Simple_XNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | public void test_Simple_XNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | 26,556 |
public void test_Simple_XNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive... | public void test_Simple_XNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive... | 26,557 |
public void test_Simple_XNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsu... | public void test_Simple_XNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsu... | 26,558 |
public void test_Simple_XNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive... | public void test_Simple_XNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive... | 26,559 |
public void test_Simple_XNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRece... | public void test_Simple_XNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRece... | 26,560 |
public void test_Simple_XNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRece... | public void test_Simple_XNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRece... | 26,561 |
public void test_Simple_XNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceiv... | public void test_Simple_XNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceiv... | 26,562 |
public void test_Simple_XNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createCons... | public void test_Simple_XNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createCons... | 26,563 |
public void test_Simple_XP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.c... | public void test_Simple_XP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.c... | 26,564 |
public void test_Simple_XP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessReceiv... | public void test_Simple_XP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessReceiv... | 26,565 |
public void test_Simple_XP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessReceiv... | public void test_Simple_XP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessReceiv... | 26,566 |
public void test_Simple_XP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive.... | public void test_Simple_XP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive.... | 26,567 |
public void test_Simple_XP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsum... | public void test_Simple_XP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsum... | 26,568 |
public void test_Simple_XP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.... | public void test_Simple_XP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.... | 26,569 |
public void test_Simple_XP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | public void test_Simple_XP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | 26,570 |
public void test_Simple_XP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | public void test_Simple_XP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRecei... | 26,571 |
public void test_Simple_XP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive... | public void test_Simple_XP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive... | 26,572 |
public void test_Simple_XP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsu... | public void test_Simple_XP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsu... | 26,573 |
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); //We test with small values for paging params to really stress it final int fullSize = 3000; final int pageSize = 2000; final int downCacheSize = 1000; ... | public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); //We test with small values for paging params to really stress it final int fullSize = 3000; final int pageSize = 1000; final int downCacheSize = 1000; ... | 26,574 |
public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception { super(sess, numMessages); this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } } | public Receiver(Connection conn, Session sess, int numMessages, Destination dest) throws Exception { super(sess, numMessages); this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } } | 26,575 |
public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception { super(sess, numMessages); this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } } | public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception { super(sess, numMessages); this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } } | 26,576 |
abstract protected ConfigFunctionDescriptor getFunction(); | protected abstract ConfigFunctionDescriptor getFunction(); | 26,577 |
abstract protected AbstractDescriptor getParent(); | protected abstract AbstractDescriptor getParent(); | 26,578 |
public ConfigFunctionDescriptor(ConfigFunctionDescriptor other) { type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.pal... | public ConfigFunctionDescriptor(PaletteDescriptor palette) { type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.palette;... | 26,579 |
public ConfigFunctionDescriptor(ConfigFunctionDescriptor other) { type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.pal... | public ConfigFunctionDescriptor(ConfigFunctionDescriptor other) { type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.pal... | 26,580 |
private Color modify(Color color, double dS, double dB) { float[] hsb = Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null); // //decreasing brightness and saturation gives a "shadowier", "blacker" look //0.0 brightness gives black //0.0 saturation gives graysc... | private static Color modify(Color color, double dS, double dB) { float[] hsb = Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null); // //decreasing brightness and saturation gives a "shadowier", "blacker" look //0.0 brightness gives black //0.0 saturation gives... | 26,581 |
protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { BorderPropertySet border = getStyle().getCalculatedStyle().getBorder(cssCtx); RectPropertySet padding = getStyle().getPaddingWidth(cssCtx); float marginLeft = 0; float marginRight = 0; f... | public Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { BorderPropertySet border = getStyle().getCalculatedStyle().getBorder(cssCtx); RectPropertySet padding = getStyle().getPaddingWidth(cssCtx); float marginLeft = 0; float marginRight = 0; floa... | 26,582 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 26,583 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 26,584 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 26,585 |
public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | 26,586 |
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ClientConnectionDelegate delegate = (ClientConnectionDelegate)invocation.invokeNext(); delegate.init(); delegate.setState(new ConnectionState(delegate, delegate.getServerID())); ... | public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ClientConnectionDelegate delegate = (ClientConnectionDelegate)invocation.invokeNext(); delegate.init(); delegate.setState(new ConnectionState(delegate, delegate.getServerID(), delegate.getServerLocator... | 26,587 |
public ConnectionState(ConnectionDelegate delegate, String serverId, String serverLocatorURI) throws Exception { super(null, delegate); if (log.isTraceEnabled()) { log.trace("Creating connection state"); } children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); ... | public ConnectionState(ConnectionDelegate delegate, String serverId, JMSRemotingConnection remotingConnection) throws Exception { super(null, delegate); if (log.isTraceEnabled()) { log.trace("Creating connection state"); } children = new SyncSet(new HashSet(), new WriterPreferenceRe... | 26,588 |
public ConnectionState(ConnectionDelegate delegate, String serverId, String serverLocatorURI) throws Exception { super(null, delegate); if (log.isTraceEnabled()) { log.trace("Creating connection state"); } children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); ... | public ConnectionState(ConnectionDelegate delegate, String serverId, String serverLocatorURI) throws Exception { super(null, delegate); if (log.isTraceEnabled()) { log.trace("Creating connection state"); } children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); ... | 26,589 |
public SessionState(ConnectionState parent, ClientSessionDelegate delegate, boolean transacted, int ackMode, boolean xa) { super(parent, (DelegateSupport)delegate); this.sessionId = delegate.getID(); children = new HashSet(); this.acknowledgeMode = ackMode; ... | public SessionState(ConnectionState parent, ClientSessionDelegate delegate, boolean transacted, int ackMode, boolean xa) { super(parent, (DelegateSupport)delegate); this.sessionId = delegate.getID(); children = new HashSet(); this.acknowledgeMode = ackMode; ... | 26,590 |
public void show() { Rectangle cbBounds = comboBox.getBounds(); // popup should have same width as the comboBox and should be hight anough // to display number of rows equal to 'maximumRowCount' property int popupHeight = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); list.setPreferredSize(... | public void show() { Rectangle cbBounds = comboBox.getBounds(); // popup should have same width as the comboBox and should be hight anough // to display number of rows equal to 'maximumRowCount' property int popupHeight = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); list.setPreferredSize(... | 26,593 |
int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | 26,594 |
void setSelectedIndex(int a) { sel_model.setSelectionInterval(a,a); } | void setSelectedIndex(int a) { sel_model.setSelectionInterval(a,a); } | 26,595 |
public void valueChanged(ListSelectionEvent event); | void valueChanged(ListSelectionEvent event); | 26,596 |
public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | 26,597 |
public void setModel(ListModel model) { ListDataListener l = new ListDataListener() { public void intervalAdded(ListDataEvent e) { repaint(); } public void intervalRemoved(ListDataEvent e) { repaint(); } public void contentsChanged(ListDataEvent e) { repaint(); } }; this.model = mod... | public void setModel(ListModel model) { ListDataListener l = new ListDataListener() { public void intervalAdded(ListDataEvent e) { repaint(); } public void intervalRemoved(ListDataEvent e) { repaint(); } public void contentsChanged(ListDataEvent e) { repaint(); } }; this.model = mod... | 26,598 |
public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | 26,599 |
public ListCellRenderer getCellRenderer() { return render; } | public ListCellRenderer getCellRenderer() { return cellRenderer; } | 26,600 |
void setSelectionMode(int a) { sel_model.setSelectionMode(a); } | void setSelectionMode(int a) { sel_model.setSelectionMode(a); } | 26,601 |
public void popupMenuCanceled(PopupMenuEvent event); | void popupMenuCanceled(PopupMenuEvent event); | 26,602 |
public void popupMenuWillBecomeInvisible(PopupMenuEvent event); | void popupMenuWillBecomeInvisible(PopupMenuEvent event); | 26,603 |
public void popupMenuWillBecomeVisible(PopupMenuEvent event); | void popupMenuWillBecomeVisible(PopupMenuEvent event); | 26,604 |
public void addListSelectionListener (ListSelectionListener listener) { sel_model.addListSelectionListener (listener); } | public void addListSelectionListener (ListSelectionListener listener) { listenerList.add (ListSelectionListener.class, listener); } | 26,605 |
private String buildNested(NestedExpression nestedExpression, StringBuffer sel, List values) { sel.append("SELECT DISTINCT("); sel.append(entryId); sel.append(") FROM "); sel.append(entryTable); for (int i = 0; i < nestedExpression.getExpressionCount(); i++) { Expressio... | private String buildNested(NestedExpression nestedExpression, StringBuffer sel, List values) { sel.append("SELECT DISTINCT("); sel.append(stepEntryId); sel.append(") FROM "); sel.append(entryTable); for (int i = 0; i < nestedExpression.getExpressionCount(); i++) { Expre... | 26,606 |
private String buildNested(NestedExpression nestedExpression, StringBuffer sel, List values) { sel.append("SELECT DISTINCT("); sel.append(entryId); sel.append(") FROM "); sel.append(entryTable); for (int i = 0; i < nestedExpression.getExpressionCount(); i++) { Expressio... | private String buildNested(NestedExpression nestedExpression, StringBuffer sel, List values) { sel.append("SELECT DISTINCT("); sel.append(entryId); sel.append(") FROM "); sel.append(currentTable); if (log.isDebugEnabled()) { log.debug("Thus far, query is: " + sel.toString()); } f... | 26,607 |
private String buildNested(NestedExpression nestedExpression, StringBuffer sel, List values) { sel.append("SELECT DISTINCT("); sel.append(entryId); sel.append(") FROM "); sel.append(entryTable); for (int i = 0; i < nestedExpression.getExpressionCount(); i++) { Expressio... | private String buildNested(NestedExpression nestedExpression, StringBuffer sel, List values) { sel.append("SELECT DISTINCT("); sel.append(entryId); sel.append(") FROM "); sel.append(entryTable); for (int i = 0; i < nestedExpression.getExpressionCount(); i++) { Expressio... | 26,608 |
public List query(WorkflowExpressionQuery query) throws StoreException { Expression expression = query.getExpression(); StringBuffer sel = new StringBuffer(); List values = new ArrayList(); String columnName = null; if (expression.isNested()) { columnName = buildNested(... | public List query(WorkflowExpressionQuery query) throws StoreException { Expression expression = query.getExpression(); StringBuffer sel = new StringBuffer(); List values = new ArrayList(); String columnName = null; if (expression.isNested()) { columnName = buildNested(... | 26,609 |
public List query(WorkflowExpressionQuery query) throws StoreException { Expression expression = query.getExpression(); StringBuffer sel = new StringBuffer(); List values = new ArrayList(); String columnName = null; if (expression.isNested()) { columnName = buildNested(... | public List query(WorkflowExpressionQuery query) throws StoreException { Expression expression = query.getExpression(); StringBuffer sel = new StringBuffer(); List values = new ArrayList(); String columnName = null; if (expression.isNested()) { columnName = buildNested(... | 26,610 |
public List query(WorkflowExpressionQuery query) throws StoreException { Expression expression = query.getExpression(); StringBuffer sel = new StringBuffer(); List values = new ArrayList(); String columnName = null; if (expression.isNested()) { columnName = buildNested(... | public List query(WorkflowExpressionQuery query) throws StoreException { Expression expression = query.getExpression(); StringBuffer sel = new StringBuffer(); List values = new ArrayList(); String columnName = null; if (expression.isNested()) { columnName = buildNested(... | 26,611 |
void setLong(int parameterIndex, long x) throws SQLException; | void setLong(int index, long value) throws SQLException; | 26,613 |
void setInt(int parameterIndex, int x) throws SQLException; | void setInt(int index, int value) throws SQLException; | 26,614 |
public Timestamp(long date) { super(date - (date % 1000)); nanos = (int) (date % 1000) * 1000000; } | public Timestamp(int year, int month, int day, int hour, int minute, int second, int nanos) { super(date - (date % 1000)); nanos = (int) (date % 1000) * 1000000; } | 26,615 |
public Timestamp(long date) { super(date - (date % 1000)); nanos = (int) (date % 1000) * 1000000; } | public Timestamp(long date) { super(date - (date % 1000)); nanos = (int) (date % 1000) * 1000000; } | 26,616 |
void setTimestamp(int parameterIndex, Timestamp x) throws SQLException; | void setTimestamp(int index, Timestamp value) throws SQLException; | 26,617 |
void setNull(int parameterIndex, int sqlType) throws SQLException; | void setNull(int index, int sqlType) throws SQLException; | 26,618 |
void setObject(int parameterIndex, Object x) throws SQLException; | void setObject(int index, Object value, int sqlType, int scale) throws SQLException; | 26,619 |
long getLong(String columnName) throws SQLException; | long getLong(int columnIndex) throws SQLException; | 26,620 |
public static BufferedImage read(InputStream input) throws IOException { return read(new MemoryCacheImageInputStream(input)); } | public static BufferedImage read(ImageInputStream stream) throws IOException { return read(new MemoryCacheImageInputStream(input)); } | 26,621 |
public static BufferedImage read(InputStream input) throws IOException { return read(new MemoryCacheImageInputStream(input)); } | public static BufferedImage read(InputStream input) throws IOException { Iterator providers = getRegistry().getServiceProviders(ImageReaderSpi.class, true); while (providers.hasNext()) { ImageReaderSpi spi = (ImageReaderSpi) providers.next(); if (spi.canDecodeInput(stream)) { ImageReader reader = spi.createRea... | 26,622 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); title.setFont(defaults.getFont("InternalFrame.titleFont")); selectedTextColor = defaults.getColor("InternalFrame.activeTitleForeground"); selectedTitleColor = defaults.getColor("InternalFrame.activeTitleBackgroun... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); title.setFont(defaults.getFont("InternalFrame.titleFont")); selectedTextColor = defaults.getColor("InternalFrame.activeTitleForeground"); selectedTitleColor = defaults.getColor("InternalFrame.activeTitleBackgroun... | 26,623 |
protected void setButtonIcons() { if (closeIcon != null) closeButton.setIcon(closeIcon); if (iconIcon != null) iconButton.setIcon(iconIcon); if (maxIcon != null) maxButton.setIcon(maxIcon); } | protected void setButtonIcons() { if (closeIcon != null && closeButton != null) closeButton.setIcon(closeIcon); if (iconIcon != null) iconButton.setIcon(iconIcon); if (maxIcon != null) maxButton.setIcon(maxIcon); } | 26,625 |
protected void setButtonIcons() { if (closeIcon != null) closeButton.setIcon(closeIcon); if (iconIcon != null) iconButton.setIcon(iconIcon); if (maxIcon != null) maxButton.setIcon(maxIcon); } | protected void setButtonIcons() { if (closeIcon != null) closeButton.setIcon(closeIcon); if (iconIcon != null && iconButton != null) iconButton.setIcon(iconIcon); if (maxIcon != null) maxButton.setIcon(maxIcon); } | 26,626 |
protected void setButtonIcons() { if (closeIcon != null) closeButton.setIcon(closeIcon); if (iconIcon != null) iconButton.setIcon(iconIcon); if (maxIcon != null) maxButton.setIcon(maxIcon); } | protected void setButtonIcons() { if (closeIcon != null) closeButton.setIcon(closeIcon); if (iconIcon != null) iconButton.setIcon(iconIcon); if (maxIcon != null && maxButton != null) maxButton.setIcon(maxIcon); } | 26,627 |
public static Icon createEmptyFrameIcon() { return null; } | public static Icon createEmptyFrameIcon() { return new DummyIcon(); } | 26,628 |
public JLabel() { this("", null, 0); } | public JLabel() { this("", null, 0); } | 26,629 |
public void setHorizontalTextPosition(int textPosition) { // Sets the horizontal position of the label's text, relative to its image. hor_text_pos = textPosition; } | public void setHorizontalTextPosition(int textPosition) { // Sets the horizontal position of the label's text, relative to its image. hor_text_pos = textPosition; } | 26,630 |
public JMenuItem(String text) { this(text, null); } | public JMenuItem() { this(text, null); } | 26,631 |
public JMenuItem(String text) { this(text, null); } | public JMenuItem(String text) { super(); init(null, null); } | 26,632 |
public void startRepaintLoop() { //Uu.sleep(2000); while (true) { //Uu.sleep(1000); // wait for a repaint event ReflowEvent evt = root.queue.waitForNextRepaintEvent(); if (evt == null) { // we're being shutdown return; ... | public void startRepaintLoop() { //Uu.sleep(2000); while (true) { //Uu.sleep(1000); // wait for a repaint event ReflowEvent evt = root.queue.waitForNextRepaintEvent(); if (evt == null) { // we're being shutdown return; ... | 26,633 |
private void end() throws Exception { try { if (Status.STATUS_MARKED_ROLLBACK == tm.getStatus()) { tm.rollback(); } else { tm.commit(); } } finally { if (oldTx != n... | private void end() throws Exception { try { if (Status.STATUS_MARKED_ROLLBACK == tm.getStatus()) { failed = true; tm.rollback(); } else { tm.commit(); } } finally { ... | 26,634 |
public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | 26,635 |
public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | 26,636 |
public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | 26,637 |
public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | 26,638 |
public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | 26,639 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,640 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,641 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,642 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,643 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.