bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
void writeStruct(Struct x) throws SQLException; | void writeStruct(Struct x) throws SQLException; | 47,352 |
void writeTime(Time x) throws SQLException; | void writeTime(Time x) throws SQLException; | 47,353 |
void writeTimestamp(Timestamp x) throws SQLException; | void writeTimestamp(Timestamp x) throws SQLException; | 47,354 |
void writeURL(URL x) throws SQLException; | void writeURL(URL x) throws SQLException; | 47,355 |
protected void setUp() throws Exception { super.setUp(); if (nodeCount < 1) { throw new Exception("Node count not defined! Initalize nodeCount in the test's setUp()"); } ic = new Context[nodeCount]; queue = new Queue[nodeCount]; topic = new Topic[nodeCount]; for(int ... | protected void setUp() throws Exception { super.setUp(); if (nodeCount < 1) { throw new Exception("Node count not defined! Initalize nodeCount in the test's setUp()"); } ic = new Context[nodeCount]; queue = new Queue[nodeCount]; topic = new Topic[nodeCount]; for(int ... | 47,356 |
void remove() throws JMSException { if (trace) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); try { ... | void remove() throws JMSException { if (trace) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); try { ... | 47,358 |
void remove() throws JMSException { if (trace) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); try { ... | void remove() throws JMSException { if (trace) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); try { ... | 47,359 |
public void setBounds(int x, int y, int width, int height) { if (swingComponent != null) swingComponent.getJComponent().setBounds(x, y, width, height); } | public void setBounds(int x, int y, int width, int height) { if (swingComponent != null) swingComponent.getJComponent().setBounds(x, y, width, height); } | 47,363 |
public void run() { test(0, 5); test(-1481821192, 1); } | public void run() { test(0, 5); test(-1481821192, 1); } | 47,364 |
public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; Transa... | public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, boolean noLocal) throws JMSException { try { Connection conn = null; PreparedStatement ps = nul... | 47,365 |
public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; Transa... | public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; Transa... | 47,366 |
public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; Transa... | public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; Transa... | 47,367 |
public DurableSubscription getDurableSubscription(String clientID, String subscriptionName) throws JMSException { //Look in memory first DurableSubscription sub = super.getDurableSubscription(clientID, subscriptionName); if (sub != null) { return sub; } try { ... | public DurableSubscription getDurableSubscription(String clientID, String subscriptionName) throws JMSException { //Look in memory first DurableSubscription sub = super.getDurableSubscription(clientID, subscriptionName); if (sub != null) { return sub; } try { ... | 47,368 |
public Set loadDurableSubscriptionsForTopic(String topicName) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection... | public Set loadDurableSubscriptionsForTopic(String topicName) throws JMSException { try { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection... | 47,369 |
public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSExcepti... | public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, boolean noLocal) ... | 47,370 |
public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSExcepti... | public DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSExcepti... | 47,371 |
public MessageFormat(String pattern) { this(pattern, Locale.getDefault()); } | private MessageFormat () { this(pattern, Locale.getDefault()); } | 47,372 |
public MessageFormat(String pattern) { this(pattern, Locale.getDefault()); } | public MessageFormat(String pattern) { } | 47,373 |
public final StringBuffer format (Object objectArray, StringBuffer appendBuf, FieldPosition fpos) { return format ((Object[])objectArray, appendBuf, fpos); } | public final StringBuffer format (Object objectArray, StringBuffer appendBuf, FieldPosition fpos) { return format ((Object[])objectArray, appendBuf, fpos); } | 47,374 |
public final StringBuffer format (Object objectArray, StringBuffer appendBuf, FieldPosition fpos) { return format ((Object[])objectArray, appendBuf, fpos); } | public final StringBuffer format (Object objectArray, StringBuffer appendBuf, FieldPosition fpos) { MessageFormat mf = new MessageFormat (pattern); StringBuffer sb = new StringBuffer (); FieldPosition fp = new FieldPosition (NumberFormat.INTEGER_FIELD); return mf.formatInternal(arguments, sb, fp, null).toS... | 47,375 |
public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(store, passwd); } | public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(store, passwd); } | 47,376 |
public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(store, passwd); } | public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(params); } | 47,377 |
public final void init(KeyStore store) throws KeyStoreException { tmfSpi.engineInit(store); } | public final void init(ManagerFactoryParameters params) throws InvalidAlgorithmParameterException { tmfSpi.engineInit(store); } | 47,378 |
public final void init(KeyStore store) throws KeyStoreException { tmfSpi.engineInit(store); } | public final void init(KeyStore store) throws KeyStoreException { tmfSpi.engineInit(params); } | 47,379 |
public static void load(InputStream is) throws FactoryException { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); DocumentBuilder db = null; try { db = dbf.newDocumentBuilder(); } catch... | publicstaticvoidload(InputStreamis)throwsFactoryException{try{DocumentBuilderFactorydbf=DocumentBuilderFactory.newInstance();dbf.setNamespaceAware(true);DocumentBuilderdb=null;try{db=dbf.newDocumentBuilder();}catch(ParserConfigurationExceptione){log.fatal("Couldnotloadconfigfile",e);}Documentdoc=db.parse(is);Elementroo... | 47,380 |
public void tearDown() throws Exception { conn.close(); ServerManagement.undeployQueue("Queue"); ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { conn.close(); ServerManagement.undeployQueue("Queue"); super.tearDown(); } | 47,381 |
public JTextComponent() { repaintListener = new DocumentListener() { public void changedUpdate(DocumentEvent ev) { repaint(); } public void insertUpdate(DocumentEvent ev) { repaint(); } public void removeUpdate(DocumentEvent ev) { repaint(); } }; Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); ... | public JTextComponent() { repaintListener = new DocumentListener() { public void changedUpdate(DocumentEvent ev) { repaint(); } public void insertUpdate(DocumentEvent ev) { repaint(); } public void removeUpdate(DocumentEvent ev) { repaint(); } }; Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); ... | 47,382 |
public void setDocument(Document newDoc) { Document oldDoc = doc; doc = newDoc; // setup document listener if (oldDoc != null) oldDoc.removeDocumentListener(repaintListener); if (newDoc != null) newDoc.addDocumentListener(repaintListener); firePropertyChange("document", oldDoc, newDoc); r... | public void setDocument(Document newDoc) { Document oldDoc = doc; doc = newDoc; // setup document listener if (oldDoc != null) oldDoc.removeDocumentListener(repaintListener); if (newDoc != null) newDoc.addDocumentListener(repaintListener); firePropertyChange("document", oldDoc, newDoc); r... | 47,383 |
public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.println("<workflow>"); Iterator iter = metaAttributes.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); XMLUtil.printIndent(out, inde... | public void writeXML(PrintWriter out, int indent) { XMLUtil.printIndent(out, indent++); out.println("<workflow>"); Iterator iter = metaAttributes.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); XMLUtil.printIndent(out, inde... | 47,384 |
public HibernateStep(HibernateStep step) { this.actionId = step.getActionId(); this.caller = step.getCaller(); this.finishDate = step.getFinishDate(); this.dueDate = step.getDueDate(); this.startDate = step.getStartDate(); this.id = step.getId(); this.owner = step.ge... | public HibernateStep(HibernateStep step) { this.actionId = step.getActionId(); this.caller = step.getCaller(); this.finishDate = step.getFinishDate(); this.dueDate = step.getDueDate(); this.startDate = step.getStartDate(); this.id = step.getId(); this.owner = step.ge... | 47,385 |
ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionID) throws JMSException; | ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionID) throws JMSException; | 47,386 |
public void run() { RepaintManager rm = RepaintManager.globalManager; setLive(false); rm.validateInvalidComponents(); rm.paintDirtyRegions(); } | public void run() { ThreadGroup threadGroup = Thread.currentThread().getThreadGroup(); RepaintManager rm = (RepaintManager) currentRepaintManagers.get(threadGroup); setLive(false); rm.validateInvalidComponents(); rm.paintDirtyRegions(); } | 47,387 |
public static RepaintManager currentManager(Component component) { if (globalManager == null) globalManager = new RepaintManager(); return globalManager; } | public static RepaintManager currentManager(Component component) { if (globalManager == null) globalManager = new RepaintManager(); return globalManager; } | 47,388 |
public static void setCurrentManager(RepaintManager manager) { globalManager = manager; } | public static void setCurrentManager(RepaintManager manager) { if (currentRepaintManagers == null) currentRepaintManagers = new HashMap(); ThreadGroup threadGroup = Thread.currentThread().getThreadGroup(); currentRepaintManagers.put(threadGroup, manager); } | 47,389 |
public Icon getDefaultIcon() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); return defaults.getIcon(getPropertyPrefix() + "icon"); } | public Icon getDefaultIcon() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); return defaults.getIcon(getPropertyPrefix() + "icon"); } | 47,390 |
protected void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY) { Color savedColor = g.getColor(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); g.setColor(defaults.getColor("Label.disabledForeground")); int mnemIndex = l.getDisplayedMnem... | protected void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY) { Color savedColor = g.getColor(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); g.setColor(defaults.getColor("Label.disabledForeground")); int mnemIndex = l.getDisplayedMnem... | 47,391 |
public static ComponentUI createUI(final JComponent c) { return new BasicLabelUI(); } | public static ComponentUI createUI(final JComponent c) { return new BasicLabelUI(); } | 47,392 |
public void tearDown() throws Exception { ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { super.tearDown(); } | 47,393 |
private String applyTypeRule(String rule, String type, String ruleType, Matcher m) { String res = rule == null ? "$"+ruleType+"0" : rule; for (int i = 0; i < TYPES.length; i++) { if (TYPES[i].equals(type)) { res = res.replaceAll("[^\\\\]\\$"+type, "\\$"); ... | private String applyTypeRule(String rule, String type, String ruleType, Matcher m) { String res = rule == null ? "$"+ruleType+"0" : rule; for (int i = 0; i < TYPES.length; i++) { if (TYPES[i].equals(type)) { res = res.replaceAll("([^\\\\])\\$"+type, "$1\\$... | 47,394 |
private String applyTypeRule(String rule, String type, String ruleType, Matcher m) { String res = rule == null ? "$"+ruleType+"0" : rule; for (int i = 0; i < TYPES.length; i++) { if (TYPES[i].equals(type)) { res = res.replaceAll("[^\\\\]\\$"+type, "\\$"); ... | private String applyTypeRule(String rule, String type, String ruleType, Matcher m) { String res = rule == null ? "$"+ruleType+"0" : rule; for (int i = 0; i < TYPES.length; i++) { if (TYPES[i].equals(type)) { res = res.replaceAll("[^\\\\]\\$"+type, "\\$"); ... | 47,395 |
public Matcher appendReplacement (StringBuffer sb, String replacement) throws IllegalStateException { assertMatchOp(); sb.append(input.subSequence(appendPosition, match.getStartIndex()).toString()); sb.append(match.substituteInto(replacement)); appendPosition = match.getEndIndex(); return this; ... | public Matcher appendReplacement (StringBuffer sb, String replacement) throws IllegalStateException { assertMatchOp(); sb.append(input.subSequence(appendPosition, match.getStartIndex()).toString()); sb.append(RE.getReplacement(replacement, match, RE.REG_REPLACE_USE_BACKSLASHESCAPE)); appendPosition... | 47,396 |
public void tearDown() throws Exception { super.tearDown(); initialContext.close(); ServerManagement.stop(); } | public void tearDown() throws Exception { super.tearDown(); initialContext.close(); } | 47,398 |
public void tearDown() throws Exception { producerConnection.close(); consumerConnection.close(); if (worker1 != null) { worker1.interrupt(); } ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2");... | public void tearDown() throws Exception { producerConnection.close(); consumerConnection.close(); if (worker1 != null) { worker1.interrupt(); } ServerManagement.undeployTopic("Topic"); ServerManagement.undeployQueue("Queue"); ServerManagement.undeployQueue("Queue2");... | 47,399 |
public void testRemotingInternals() throws Exception { if (ServerManagement.isRemote()) return; Connector serverConnector = ServerManagement.getConnector(); ServerInvoker serverInvoker = serverConnector.getServerInvoker(); JMSServerInvocationHandler invocationHandler = (JMSServ... | public void testRemotingInternals() throws Exception { if (ServerManagement.isRemote()) return; Connector serverConnector = ServerManagement.getConnector(); ServerInvoker serverInvoker = serverConnector.getServerInvoker(); JMSServerInvocationHandler invocationHandler = (JMSServ... | 47,400 |
public void testRemotingInternals() throws Exception { if (ServerManagement.isRemote()) return; Connector serverConnector = ServerManagement.getConnector(); ServerInvoker serverInvoker = serverConnector.getServerInvoker(); JMSServerInvocationHandler invocationHandler = (JMSServ... | public void testRemotingInternals() throws Exception { if (ServerManagement.isRemote()) return; Connector serverConnector = ServerManagement.getConnector(); ServerInvoker serverInvoker = serverConnector.getServerInvoker(); JMSServerInvocationHandler invocationHandler = (JMSServ... | 47,401 |
public void testRemotingInternals() throws Exception { if (ServerManagement.isRemote()) return; Connector serverConnector = ServerManagement.getConnector(); ServerInvoker serverInvoker = serverConnector.getServerInvoker(); JMSServerInvocationHandler invocationHandler = (JMSServ... | public void testRemotingInternals() throws Exception { if (ServerManagement.isRemote()) return; Connector serverConnector = ServerManagement.getConnector(); ServerInvoker serverInvoker = serverConnector.getServerInvoker(); JMSServerInvocationHandler invocationHandler = (JMSServ... | 47,402 |
protected void ensureResolved(boolean haltOnFailure) { ensureMessageInitialised(); Object reference = getProject().getReference("ivy.resolved.descriptor"); if (reference == null) { Message.verbose("no resolved descriptor found: launching default resolve"); IvyResolve resol... | protected void ensureResolved(boolean haltOnFailure, String org, String module) { ensureMessageInitialised(); Object reference = getProject().getReference("ivy.resolved.descriptor"); if (reference == null) { Message.verbose("no resolved descriptor found: launching default resolve"); ... | 47,403 |
private static BorderPropertySet getBorderProperty(CalculatedStyle style, CssContext ctx) { if (style._border == null) { String key = BorderPropertySet.deriveKey(style); style._border = (BorderPropertySet) _cachedRects.get(key); ... | private static BorderPropertySet getBorderProperty(CalculatedStyle style, CssContext ctx) { if (style._border == null) { String key = BorderPropertySet.deriveKey(style); style._border = (BorderPropertySet) getCachedRect(key); ... | 47,405 |
private static BorderPropertySet getBorderProperty(CalculatedStyle style, CssContext ctx) { if (style._border == null) { String key = BorderPropertySet.deriveKey(style); style._border = (BorderPropertySet) _cachedRects.get(key); ... | private static BorderPropertySet getBorderProperty(CalculatedStyle style, CssContext ctx) { if (style._border == null) { String key = BorderPropertySet.deriveKey(style); style._border = (BorderPropertySet) _cachedRects.get(key); ... | 47,406 |
private static RectPropertySet getMarginProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | private static RectPropertySet getMarginProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | 47,407 |
private static RectPropertySet getMarginProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | private static RectPropertySet getMarginProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | 47,408 |
private static RectPropertySet getPaddingProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | private static RectPropertySet getPaddingProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | 47,409 |
private static RectPropertySet getPaddingProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | private static RectPropertySet getPaddingProperty(CalculatedStyle style, CSSName shorthandProp, CSSName[] sides, float parentWidth, ... | 47,410 |
public void addNamingListener(Name target, int scope, NamingListener l) throws NamingException; | void addNamingListener (Name target, int scope, NamingListener l) throws NamingException; | 47,411 |
public void removeNamingListener(NamingListener l) throws NamingException; | public void removeNamingListener(NamingListener l) throws NamingException; | 47,412 |
public boolean targetMustExist() throws NamingException; | public boolean targetMustExist() throws NamingException; | 47,413 |
public int checkImage(Image image, int width, int height, ImageObserver observer) { // TODO Auto-generated method stub return 0; } | public int checkImage(Image image, int width, int height, ImageObserver observer) { // TODO Auto-generated method stub return 0; } | 47,415 |
public Image createImage(byte[] data, int offset, int len) { if (len >= 4 && data[offset + 0] == 'G' && data[offset + 1] == 'I' && data[offset + 2] == 'F' && data[offset + 3] == '8') { try { return createImage(new GIFDecoder(new ByteArrayInputStream( data, offset, len))); } catch (LinkageError err) { ... | public Image createImage(byte[] data, int offset, int len) { if (len >= 4 && data[offset + 0] == 'G' && data[offset + 1] == 'I' && data[offset + 2] == 'F' && data[offset + 3] == '8') { try { return createImage(new GIFDecoder(new ByteArrayInputStream( data, offset, len))); } catch (LinkageError err) { ... | 47,416 |
public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | 47,417 |
public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | 47,418 |
public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | 47,419 |
public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | public Image getImage(final String filename) { log.debug("getImage(" + filename + ")"); return (Image) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image =... | 47,420 |
public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image = getImage(new URL("file:" + new File(userDir, filename))); return image != null ? image : getImage(new URL("file:" + new File(filename).getAbsol... | public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image = getImage(new URL("file:" + new File(userDir, filename))); return image != null ? image : getImage(new URL("file:" + new File(filename).getAbsol... | 47,421 |
public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image = getImage(new URL("file:" + new File(userDir, filename))); return image != null ? image : getImage(new URL("file:" + new File(filename).getAbsol... | public Object run() { try { final String userDir = (String) AccessController .doPrivileged(new GetPropertyAction("user.dir")); Image image = getImage(new URL("file:" + new File(userDir, filename))); return image != null ? image : getImage(new URL("file:" + new File(filename).getAbsol... | 47,422 |
public Object run() { try { final URLConnection conn = url.openConnection(); final String type = conn.getContentType(); if ("image/gif".equals(type) || url.getFile().toLowerCase().endsWith(".gif")) { try { return createImage(new GIFDecoder(conn .getInputStream(), true)); ... | public Object run() { try { final URLConnection conn = url.openConnection(); final String type = conn.getContentType(); if ("image/gif".equals(type) || url.getFile().toLowerCase().endsWith(".gif")) { try { return createImage(new GIFDecoder(conn .getInputStream(), true)); ... | 47,423 |
public boolean prepareImage(Image image, int width, int height, ImageObserver observer) { // TODO Auto-generated method stub return false; } | public boolean prepareImage(Image image, int width, int height, ImageObserver observer) { // TODO Auto-generated method stub return false; } | 47,424 |
public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); } | public JNodeImage(ImageProducer producer) { this.initProducer = producer; this.colorModel = ColorModel.getRGBdefault(); } | 47,425 |
public void testAddReceiver_1() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | public void testAddReceiver_1() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | 47,426 |
public void testAddReceiver_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | public void testAddReceiver_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | 47,427 |
public void testAddReceiver_3() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | public void testAddReceiver_3() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); as... | 47,428 |
public void testAddReceiver_4() throws Exception { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | public void testAddReceiver_4() throws Exception { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | 47,429 |
public void testAddReceiver_5() throws Exception { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | public void testAddReceiver_5() throws Exception { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | 47,430 |
public void testAddReceiver_6() throws Throwable { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | public void testAddReceiver_6() throws Throwable { if (!channel.isRecoverable()) { // we test only recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.isConnected()); asser... | 47,431 |
public void testJGroupsChannelNotConnected() throws Exception { Peer peer = (Peer)channel; assertTrue(jchannel.isConnected()); jchannel.close(); try { peer.join(); fail("should throw DistributedException"); } catch(DistributedException e) { //OK ... | public void testJGroupsChannelNotConnected() throws Exception { assertTrue(jchannel.isConnected()); jchannel.close(); try { peer.join(); fail("should throw DistributedException"); } catch(DistributedException e) { //OK } } | 47,432 |
public void testJGroupsChannelNotConnected() throws Exception { Peer peer = (Peer)channel; assertTrue(jchannel.isConnected()); jchannel.close(); try { peer.join(); fail("should throw DistributedException"); } catch(DistributedException e) { //OK ... | public void testJGroupsChannelNotConnected() throws Exception { Peer peer = (Peer)channel; assertTrue(jchannel.isConnected()); jchannel.close(); try { ((DistributedChannel)channel).join(); fail("should throw DistributedException"); } catch(DistributedException e) ... | 47,433 |
public void testNonRecoverableDistributedChannel_1() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.is... | public void testNonRecoverableDistributedChannel_1() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.is... | 47,434 |
public void testNonRecoverableDistributedChannel_10() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that don't accept reliable messages re... | public void testNonRecoverableDistributedChannel_10() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that don't accept reliable messages re... | 47,436 |
public void testNonRecoverableDistributedChannel_12() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return; ... | public void testNonRecoverableDistributedChannel_12() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return; ... | 47,437 |
public void testNonRecoverableDistributedChannel_12_mixed() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages re... | public void testNonRecoverableDistributedChannel_12_mixed() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages re... | 47,438 |
public void testNonRecoverableDistributedChannel_13() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_13() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,439 |
public void testNonRecoverableDistributedChannel_14() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_14() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,440 |
public void testNonRecoverableDistributedChannel_15() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_15() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,441 |
public void testNonRecoverableDistributedChannel_16() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_16() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,442 |
public void testNonRecoverableDistributedChannel_16_mixed() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jcha... | public void testNonRecoverableDistributedChannel_16_mixed() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jcha... | 47,443 |
public void testNonRecoverableDistributedChannel_17() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_17() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,444 |
public void testNonRecoverableDistributedChannel_18() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_18() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,445 |
public void testNonRecoverableDistributedChannel_19_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | public void testNonRecoverableDistributedChannel_19_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | 47,446 |
public void testNonRecoverableDistributedChannel_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.is... | public void testNonRecoverableDistributedChannel_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.is... | 47,447 |
public void testNonRecoverableDistributedChannel_20_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | public void testNonRecoverableDistributedChannel_20_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | 47,448 |
public void testNonRecoverableDistributedChannel_21() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_21() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,449 |
public void testNonRecoverableDistributedChannel_22() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_22() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,450 |
public void testNonRecoverableDistributedChannel_23_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | public void testNonRecoverableDistributedChannel_23_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | 47,451 |
public void testNonRecoverableDistributedChannel_24_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | public void testNonRecoverableDistributedChannel_24_2() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages return... | 47,452 |
public void testNonRecoverableDistributedChannel_24_2_mixed() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages ... | public void testNonRecoverableDistributedChannel_24_2_mixed() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } if (!channel.acceptReliableMessages()) { // we test channels that accept reliable messages ... | 47,453 |
public void testNonRecoverableDistributedChannel_25() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_25() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,454 |
public void testNonRecoverableDistributedChannel_26() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_26() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,455 |
public void testNonRecoverableDistributedChannel_28() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_28() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,456 |
public void testNonRecoverableDistributedChannel_28_race() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchan... | public void testNonRecoverableDistributedChannel_28_race() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchan... | 47,457 |
public void testNonRecoverableDistributedChannel_29() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_29() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,458 |
public void testNonRecoverableDistributedChannel_30() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | public void testNonRecoverableDistributedChannel_30() throws Throwable { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } jchannel2.connect("testGroup"); // allow the group time to form Thread.sleep(1000); assertTrue(jchannel.i... | 47,459 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.