bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,831 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,832 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,833 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,834 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,835 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,836 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,837 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 43,838 |
public void createWorkflow(String name) { WorkflowConfig config = new WorkflowConfig("file", null); config.descriptor = DescriptorFactory.getFactory().createWorkflowDescriptor(); config.descriptor.setName(name); ActionDescriptor initialAction = DescriptorFactory.getFactory().createActionDescriptor(); ... | public void createWorkflow(String name) { WorkflowConfig config = new WorkflowConfig(null, "file", null); config.descriptor = DescriptorFactory.getFactory().createWorkflowDescriptor(); config.descriptor.setName(name); ActionDescriptor initialAction = DescriptorFactory.getFactory().createActionDescriptor(... | 43,841 |
public void importDescriptor(String name, InputStream is) { WorkflowConfig config = new WorkflowConfig("file", name + ".xml"); try { File file = new File(workflowsXML.getParentFile(), name+".xml"); config.url = file.toURL(); config.lastModified = file.lastModified(); workflows.put(name, ... | public void importDescriptor(String name, InputStream is) { WorkflowConfig config = new WorkflowConfig(null, "file", name + ".xml"); try { File file = new File(workflowsXML.getParentFile(), name+".xml"); config.url = file.toURL(); config.lastModified = file.lastModified(); workflows.put(... | 43,842 |
public WorkflowConfig(String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.lastModified(); ... | public WorkflowConfig(String basedir, String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.l... | 43,843 |
public WorkflowConfig(String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.lastModified(); ... | public WorkflowConfig(String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.lastModified(); ... | 43,844 |
public WorkflowDescriptor createWorkflowDescriptor() { return new WorkflowDescriptor(); } | public WorkflowDescriptor createWorkflowDescriptor() { return new WorkflowDescriptor(); } | 43,845 |
public WorkflowDescriptor getWorkflow(String name, boolean validate) throws FactoryException { WorkflowConfig c = (WorkflowConfig) workflows.get(name); if (c == null) { throw new FactoryException("Unknown workflow name \"" + name + "\""); } if (c.descriptor != null) { ... | public WorkflowDescriptor getWorkflow(String name, boolean validate) throws FactoryException { WorkflowConfig c = (WorkflowConfig) workflows.get(name); if (c == null) { throw new FactoryException("Unknown workflow name \"" + name + '\"'); } if (c.descriptor != null) { ... | 43,846 |
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | 43,847 |
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | 43,848 |
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | 43,849 |
public void testPaging() throws Exception { Queue p = new Queue(0, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); CoreMessage m = null; m = CoreMessageFactory.createCoreMessage(0); p.handle(null, ms.reference(m), null); m = CoreMessageFactory.createCoreMessage(1); p.han... | public void testPaging() throws Exception { Queue p = new Queue(0, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); CoreMessage m = null; m = CoreMessageFactory.createCoreMessage(0); p.handle(null, ms.reference(m), null); m = CoreMessageFactory.createCoreMessage(1); p.handle(nu... | 43,850 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,853 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,854 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,855 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,856 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,857 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,858 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,859 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,860 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,861 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 43,862 |
public static boolean isAbsoluteOrFixed(CascadedStyle style) { IdentValue position = style.getIdent(CSSName.POSITION); return position != null && (position == IdentValue.ABSOLUTE || position == IdentValue.FIXED); } | public static boolean isAbsoluteOrFixed(CalculatedStyle style) { IdentValue position = style.getIdent(CSSName.POSITION); return position != null && (position == IdentValue.ABSOLUTE || position == IdentValue.FIXED); } | 43,863 |
public static boolean isBlockLevel(CascadedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && (display == IdentValue.BLOCK || display == IdentValue.LIST_ITEM || display == IdentValue.TABLE); } | public static boolean isBlockLevel(CalculatedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && (display == IdentValue.BLOCK || display == IdentValue.LIST_ITEM || display == IdentValue.TABLE); ... | 43,864 |
public static boolean isFloated(CascadedStyle style) { if (style == null) { return false; } IdentValue floatVal = style.getIdent(CSSName.FLOAT); return floatVal != null && (floatVal == IdentValue.LEFT || floatVal == IdentValue.RIGHT); } | public static boolean isFloated(CalculatedStyle style) { if (style == null) { return false; } IdentValue floatVal = style.getIdent(CSSName.FLOAT); return floatVal != null && (floatVal == IdentValue.LEFT || floatVal == IdentValue.RIGHT); } | 43,865 |
public static boolean isHidden(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.NONE; } | public static boolean isHidden(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.NONE; } | 43,866 |
public static boolean isInlineBlock(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.INLINE_BLOCK; } | public static boolean isInlineBlock(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.INLINE_BLOCK; } | 43,867 |
public static boolean isListItem(CascadedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.LIST_ITEM; } | public static boolean isListItem(CalculatedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.LIST_ITEM; } | 43,868 |
public static boolean isRunIn(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.RUN_IN; } | public static boolean isRunIn(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.RUN_IN; } | 43,869 |
public static boolean isTable(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.TABLE; } | public static boolean isTable(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.TABLE; } | 43,870 |
public static boolean isTableDescendant(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); if (display == null) return false; if (display == IdentValue.TABLE) return false; if (display.toString().startsWith("table")) return true; return false; } | public static boolean isTableDescendant(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); if (display == null) return false; if (display == IdentValue.TABLE) return false; if (display.toString().startsWith("table")) return true; return false; } | 43,871 |
public static boolean mayHaveFirstLetter(CascadedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != nu... | public static boolean mayHaveFirstLetter(CalculatedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != n... | 43,872 |
public static boolean mayHaveFirstLine(CascadedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null... | public static boolean mayHaveFirstLine(CalculatedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != nul... | 43,873 |
private void configureURLHandler() { URLHandlerDispatcher dispatcher = new URLHandlerDispatcher(); dispatcher.setDownloader("http", URLHandlerRegistry.getHttp(getRealm(), getHost(), getUsername(), getPasswd())); URLHandlerRegistry.setDefault(dispatcher); } | private void configureURLHandler() { URLHandlerDispatcher dispatcher = new URLHandlerDispatcher(); URLHandler httpHandler = URLHandlerRegistry.getHttp(getRealm(), getHost(), getUsername(), getPasswd()); dispatcher.setDownloader("http", httpHandler); dispatcher.setDownloader("https", httpHandler); ... | 43,875 |
public JViewport createViewport() { return new JViewport(); } | public JViewport createViewport() { return new JViewport(); } | 43,876 |
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "ScrollPaneUI"; } | public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "ScrollPaneUI"; } | 43,877 |
public void setViewport(JViewport v) { if (viewport != null) remove(viewport); viewport = v; add(v); revalidate(); repaint(); } | public void setViewport(JViewport v) { if (viewport != null) remove(viewport); viewport = v; add(v); revalidate(); repaint(); } | 43,878 |
public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } if (view != null) { getViewport().setView(view); } } | public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } if (view != null) { getViewport().setView(view); } } | 43,879 |
public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } if (view != null) { getViewport().setView(view); } } | public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } if (view != null) { getViewport().setView(view); } } | 43,880 |
public void updateUI() { ScrollPaneUI b = (ScrollPaneUI)UIManager.getUI(this); setUI(b); } | public void updateUI() { ScrollPaneUI b = (ScrollPaneUI)UIManager.getUI(this); setUI(b); } | 43,881 |
JViewport() { setOpaque(true); updateUI(); } | JViewport() { setOpaque(true); updateUI(); } | 43,882 |
public void layout(Graphics2D g2, Dimension dim) { this.dim = dim; panel.setSize(dim); panel.doActualLayout(g2); } | public void layout(Graphics2D g2, Dimension dim) { this.dim = dim; if (dim != null) { panel.setSize(dim); } panel.doActualLayout(g2); } | 43,883 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 43,884 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | 43,885 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | 43,886 |
public abstract ImageReader createReaderInstance(Object extension) throws IOException; | public abstract ImageReader createReaderInstance(Object extension) throws IOException; | 43,887 |
public abstract ImageWriter createWriterInstance(Object extension) throws IOException; | public abstract ImageWriter createWriterInstance(Object extension) throws IOException; | 43,888 |
public void setInput(Object in) { setInput(in, false, false); } | public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata) { setInput(in, false, false); } | 43,889 |
public void setInput(Object in) { setInput(in, false, false); } | public void setInput(Object in) { Class[] okClasses = originatingProvider.getInputTypes(); if (okClasses == null) { if (!(input instanceof ImageInputStream)) throw new IllegalArgumentException(); } else { boolean classOk = false; for (int i = 0; i < okClasses.length; ++i) if (okClasses[i].isInstance(input)) class... | 43,890 |
public IIOImage (RenderedImage image, List thumbnails, IIOMetadata metadata) { if (image == null) throw new IllegalArgumentException ("image may not be null"); this.image = image; this.thumbnails = thumbnails; this.metadata = metadata; } | public IIOImage (Raster raster, List thumbnails, IIOMetadata metadata) { if (image == null) throw new IllegalArgumentException ("image may not be null"); this.image = image; this.thumbnails = thumbnails; this.metadata = metadata; } | 43,891 |
public IIOImage (RenderedImage image, List thumbnails, IIOMetadata metadata) { if (image == null) throw new IllegalArgumentException ("image may not be null"); this.image = image; this.thumbnails = thumbnails; this.metadata = metadata; } | public IIOImage (RenderedImage image, List thumbnails, IIOMetadata metadata) { if (image == null) throw new IllegalArgumentException ("image may not be null"); this.image = image; this.thumbnails = thumbnails; this.metadata = metadata; } | 43,892 |
public IIOImage (RenderedImage image, List thumbnails, IIOMetadata metadata) { if (image == null) throw new IllegalArgumentException ("image may not be null"); this.image = image; this.thumbnails = thumbnails; this.metadata = metadata; } | public IIOImage (RenderedImage image, List thumbnails, IIOMetadata metadata) { if (image == null) throw new IllegalArgumentException ("image may not be null"); this.raster = raster; this.thumbnails = thumbnails; this.metadata = metadata; } | 43,893 |
public void run() { try { while (count < numMessages) { Message m = sess.createMessage(); m.setStringProperty("PROD_NAME", prodName); m.setIntProperty("MSG_NUMBER", count); prod.send(m); // log.info("sent: " + prodName + ":" + count +"... | publicvoidrun(){try{while(count<numMessages){Messagem=sess.createMessage();m.setStringProperty("PROD_NAME",prodName);m.setIntProperty("MSG_NUMBER",count);prod.send(m);//log.info("sent:"+prodName+":"+count+"id:"+m.getJMSMessageID());count++;}}catch(Exceptione){log.error("Failedtosendmessage",e);failed=true;}} | 43,894 |
public PermissionCollection getPermissions(CodeSource codesource) { final Permissions perms = new Permissions(); perms.add(allPermission); return perms; } | public PermissionCollection getPermissions(CodeSource codesource) { final Permissions perms = new Permissions(); perms.add(allPermission); return perms; } | 43,895 |
public void refresh() { // Nothing. } | public void refresh() { // Nothing. } | 43,896 |
public void bind(Name name, Object obj, Attributes attrs) throws NamingException; | public void bind(Name name, Object obj, Attributes attrs) throws NamingException; | 43,897 |
public DirContext createSubcontext(Name name, Attributes attrs) throws NamingException; | public DirContext createSubcontext(Name name, Attributes attrs) throws NamingException; | 43,898 |
public Attributes getAttributes (String name) throws NamingException; | public Attributes getAttributes (String name) throws NamingException; | 43,899 |
public DirContext getSchema(Name name) throws NamingException; | public DirContext getSchema(Name name) throws NamingException; | 43,900 |
public DirContext getSchemaClassDefinition(Name name) throws NamingException; | public DirContext getSchemaClassDefinition(Name name) throws NamingException; | 43,901 |
public void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException; | public void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException; | 43,902 |
public void rebind(Name name, Object obj, Attributes attrs) throws NamingException; | public void rebind(Name name, Object obj, Attributes attrs) throws NamingException; | 43,903 |
public NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException; | public NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException; | 43,904 |
public final int getLineNr() { if (isInterpreted()) { final VmByteCode bc = sfMethod.getBytecode(); if (bc != null) { return bc.getLineNr(sfPc - 1); } else { return -1; } } else { final VmCompiledCode cc = sfMethod.getCompiledCode(); if ((cc != null) && (sfInstructionPointer != null)) { return c... | public final int getLineNr() { if (isInterpreted()) { final VmByteCode bc = sfMethod.getBytecode(); if (bc != null) { return bc.getLineNr(sfPc - 1); } else { return -1; } } else { final VmCompiledCode cc = sfMethod.getCompiledCode(); if ((cc != null) && (sfInstructionPointer != null)) { return c... | 43,905 |
protected final boolean isInterpreted() { return (sfMagic == MAGIC_INTERPRETED); } | protected final boolean isInterpreted() { return (sfMagic == MAGIC_INTERPRETED); } | 43,906 |
final int getMagic(Address sf) { return Unsafe.getInt(sf, getMagicOffset(sf)) & VmStackFrame.MAGIC_MASK; } | final int getMagic(Address sf) { return Unsafe.getInt(sf, getMagicOffset(sf)) & VmStackFrame.MAGIC_MASK; } | 43,907 |
public final VmCompiledCode getCompiledCode() { return compiledCode; } | public final VmCompiledCode getCompiledCode() { return compiledCode; } | 43,908 |
InetAddress() { System.out.println("CLASS: InetAddress: InetAddress()"); } | InetAddress() { System.out.println("CLASS: InetAddress.InetAddress()"); } | 43,910 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | 43,911 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | 43,912 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | 43,913 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | 43,914 |
public byte[] getAddress() { System.out.println("CLASS: InetAddress: getAddress()"); return address; } | public byte[] getAddress() { System.out.println("CLASS: InetAddress: getAddress()"); return address; } | 43,915 |
public static InetAddress getAllByName(String host)[] throws UnknownHostException { System.out.println("CLASS: InetAddress: getAllByName("+host+")[]"); if (host == null || host.length() == 0) { throw new UnknownHostException(host == null ? "Null string" : host); } /* check if host is IP address */ byte[] ... | public static InetAddress getAllByName(String host)[] throws UnknownHostException { System.out.println("CLASS: InetAddress: getAllByName("+host+")[]"); if (host == null || host.length() == 0) { throw new UnknownHostException(host == null ? "Null string" : host); } /* check if host is IP address */ byte[] ... | 43,916 |
public static InetAddress getByName(String host) throws UnknownHostException { System.out.println("CLASS: InetAddress: getByName("+host+")"); if ( (host == null) || (host.length() == 0) ) { return loopbackHost; } else { byte[] addr = pton(host); if (addr != null) { return new InetAddress(null, addr); ... | public static InetAddress getByName(String host) throws UnknownHostException { System.out.println("CLASS: InetAddress: getByName("+host+")"); if ( (host == null) || (host.length() == 0) ) { return loopbackHost; } else { byte[] addr = pton(host); if (addr != null) { return new InetAddress(null, addr); ... | 43,917 |
public String getHostAddress() { int len = address.length; /* allocate room for result */ /* defined in <netinet/in.h> INET6_ADDRSTRLEN = 46 */ StringBuffer addrBuffer = new StringBuffer(46); System.out.println("CLASS: InetAddress: getHostAddress()"); /* We have an IPv6 address. * Return full address for n... | public String getHostAddress() { int len = address.length; /* allocate room for result */ /* defined in <netinet/in.h> INET6_ADDRSTRLEN = 46 */ StringBuffer addrBuffer = new StringBuffer(46); System.out.println("CLASS: InetAddress: getHostAddress()"); /* We have an IPv6 address. * Return full address for n... | 43,918 |
public String getHostName() { System.out.println("CLASS: InetAddress: getHostName()"); if (hostName == null) { try { hostName = getHostByAddress(address); } catch (UnknownHostException he) { hostName = getHostAddress(); } } return hostName; } | public String getHostName() { System.out.println("CLASS: InetAddress: getHostName()"); if (hostName == null) { try { hostName = getHostByAddress(address); } catch (UnknownHostException he) { hostName = getHostAddress(); } } return hostName; } | 43,919 |
public static InetAddress getLocalHost() throws UnknownHostException { System.out.println("CLASS: InetAddress: getLocalHost()"); SecurityManager s = System.getSecurityManager(); /* need to check if they are allowed to to do this */ if (localHost == null) { String host = getLocalHostName(); if (s != null) ... | public static InetAddress getLocalHost() throws UnknownHostException { System.out.println("CLASS: InetAddress: getLocalHost()"); SecurityManager s = System.getSecurityManager(); /* need to check if they are allowed to to do this */ if (localHost == null) { String host = getLocalHostName(); if (s != null) ... | 43,920 |
public int hashCode() { System.out.println("CLASS: InetAddress: hashCode()"); int hash = 0; int i = 0; int len = address.length; if (len == 16) { /* only want the last 4 bytes of IPv6 address */ i = len - 4; } for ( ; i < len; i++) hash = (hash << 8) | (address[i] & 0xFF); return hash; } | public int hashCode() { System.out.println("CLASS: InetAddress: hashCode()"); int hash = 0; int i = 0; int len = address.length; if (len == 16) { /* only want the last 4 bytes of IPv6 address */ i = len - 4; } for ( ; i < len; i++) hash = (hash << 8) | (address[i] & 0xFF); return hash; } | 43,921 |
public boolean isMulticastAddress() { System.out.println("CLASS: InetAddress: isMulticastAddress()"); int len = address.length; /* IPv4 address check for class D address */ if (len == 4) return ((address[0] & 0xF0) == 0xE0); /* IPv6 address check */ if (len == 16) return (address[0] == (byte) 0xFF); /... | public boolean isMulticastAddress() { System.out.println("CLASS: InetAddress: isMulticastAddress()"); int len = address.length; /* IPv4 address check for class D address */ if (len == 4) return ((address[0] & 0xF0) == 0xE0); /* IPv6 address check */ if (len == 16) return (address[0] == (byte) 0xFF); /... | 43,922 |
public String toString() { System.out.println("CLASS: InetAddress: toString()"); return getHostName() + "/" + getHostAddress(); } | public String toString() { System.out.println("CLASS: InetAddress: toString()"); return getHostName() + "/" + getHostAddress(); } | 43,923 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 43,924 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 43,925 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 43,926 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 43,927 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 43,928 |
private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | 43,929 |
private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | 43,930 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | 43,931 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | 43,932 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | 43,933 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | 43,934 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | 43,935 |
public static void postChildrenLayout(Context c, Box block) { c.getBlockFormattingContext().doFinalAdjustments(); c.popBFC(); } | public static void postChildrenLayout(Context c) { c.getBlockFormattingContext().doFinalAdjustments(); c.popBFC(); } | 43,936 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.