bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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... | 42,195 |
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... | 42,196 |
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 ... | 42,197 |
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... | 42,198 |
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... | 42,199 |
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 ... | 42,200 |
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 ... | 42,201 |
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 = ... | 42,202 |
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.... | 42,203 |
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 = ... | 42,204 |
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... | 42,205 |
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... | 42,206 |
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 =... | 42,207 |
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... | 42,208 |
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.... | 42,209 |
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... | 42,210 |
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... | 42,211 |
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... | 42,212 |
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... | 42,213 |
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... | 42,214 |
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... | 42,215 |
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... | 42,216 |
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... | 42,217 |
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... | 42,218 |
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... | 42,219 |
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... | 42,220 |
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... | 42,221 |
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.... | 42,222 |
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... | 42,223 |
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.... | 42,224 |
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... | 42,225 |
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... | 42,226 |
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... | 42,227 |
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... | 42,228 |
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; ... | 42,229 |
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); } } | 42,230 |
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); } } | 42,231 |
abstract protected ConfigFunctionDescriptor getFunction(); | abstract protected ConfigFunctionDescriptor getFunction(); | 42,232 |
abstract protected AbstractDescriptor getParent(); | abstract protected AbstractDescriptor getParent(); | 42,233 |
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;... | 42,234 |
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... | 42,235 |
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... | 42,236 |
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... | 42,237 |
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... | 42,238 |
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... | 42,239 |
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... | publicstaticintgetBaselineOffset(CssContextc,LineBoxcurr_line,InlineBoxnew_inline,TextRenderertr,Graphics2Dg2,BlockFormattingContextbfc){intlineHeight;intascent;intdescent;intleading;//intxheight;intbaselineOffset;if(new_inlineinstanceofInlineTextBox){//shouldbethemetricsofthefont,actuallyisthemetricsofthetextLineMetri... | 42,240 |
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... | 42,241 |
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... | 42,242 |
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... | 42,243 |
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... | 42,244 |
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()); ... | 42,245 |
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; ... | 42,246 |
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(... | 42,249 |
int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | 42,250 |
void setSelectedIndex(int a) { sel_model.setSelectionInterval(a,a); } | void setSelectedIndex(int a) { sel_model.setSelectionInterval(a,a); } | 42,251 |
public void valueChanged(ListSelectionEvent event); | public void valueChanged(ListSelectionEvent event); | 42,252 |
public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | 42,253 |
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... | 42,254 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | 42,255 |
public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | 42,256 |
public ListCellRenderer getCellRenderer() { return render; } | public ListCellRenderer getCellRenderer() { return render; } | 42,257 |
void setSelectionMode(int a) { sel_model.setSelectionMode(a); } | void setSelectionMode(int a) { sel_model.setSelectionMode(a); } | 42,258 |
public void popupMenuCanceled(PopupMenuEvent event); | public void popupMenuCanceled(PopupMenuEvent event); | 42,259 |
public void popupMenuWillBecomeInvisible(PopupMenuEvent event); | public void popupMenuWillBecomeInvisible(PopupMenuEvent event); | 42,260 |
public void popupMenuWillBecomeVisible(PopupMenuEvent event); | public void popupMenuWillBecomeVisible(PopupMenuEvent event); | 42,261 |
public void addListSelectionListener (ListSelectionListener listener) { sel_model.addListSelectionListener (listener); } | public void addListSelectionListener(ListSelectionListener listener) { sel_model.addListSelectionListener (listener); } | 42,262 |
public void addListSelectionListener (ListSelectionListener listener) { sel_model.addListSelectionListener (listener); } | public void addListSelectionListener (ListSelectionListener listener) { listenerList.add (ListSelectionListener.class, listener); } | 42,263 |
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++) { Ex... | 42,264 |
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()); } ... | 42,265 |
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++) { Exp... | 42,266 |
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... | 42,267 |
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(... | 42,268 |
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(... | 42,269 |
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(... | 42,270 |
void setLong(int parameterIndex, long x) throws SQLException; | void setLong(int parameterIndex, long x) throws SQLException; | 42,272 |
void setInt(int parameterIndex, int x) throws SQLException; | void setInt(int parameterIndex, int x) throws SQLException; | 42,273 |
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; } | 42,274 |
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; } | 42,275 |
void setTimestamp(int parameterIndex, Timestamp x) throws SQLException; | void setTimestamp(int index, Timestamp value) throws SQLException; | 42,276 |
void setNull(int parameterIndex, int sqlType) throws SQLException; | void setNull(int parameterIndex, int sqlType) throws SQLException; | 42,277 |
void setObject(int parameterIndex, Object x) throws SQLException; | void setObject(int parameterIndex, Object x) throws SQLException; | 42,278 |
long getLong(String columnName) throws SQLException; | long getLong(String columnName) throws SQLException; | 42,279 |
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)); } | 42,280 |
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... | 42,281 |
public SearchResult(String name, Object obj, Attributes attrs) { super(name, obj); this.attrs = attrs; } | public SearchResult(String name, Object obj, Attributes attrs) { super(name, obj); this.attrs = attrs; } | 42,282 |
public Attributes getAttributes() { return attrs; } | public Attributes getAttributes() { return attrs; } | 42,283 |
public void setAttributes(Attributes attrs) { this.attrs = attrs; } | public void setAttributes(Attributes attrs) { this.attrs = attrs; } | 42,284 |
public String toString() { return super.toString() + ":" + attrs.toString(); } | public String toString() { return super.toString() + ":" + attrs.toString(); } | 42,285 |
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... | 42,286 |
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); } | 42,288 |
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); } | 42,289 |
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); } | 42,290 |
public static Icon createEmptyFrameIcon() { return null; } | public static Icon createEmptyFrameIcon() { return new DummyIcon(); } | 42,291 |
public JLabel() { this("", null, 0); } | public JLabel() { this("", null, 0); } | 42,292 |
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; } | 42,293 |
public JMenuItem(String text) { this(text, null); } | public JMenuItem() { this(text, null); } | 42,294 |
public JMenuItem(String text) { this(text, null); } | public JMenuItem(String text) { super(); init(null, null); } | 42,295 |
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; ... | 42,296 |
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 { ... | 42,297 |
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); }... | 42,298 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.