bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void actionPerformed(ActionEvent evt) { try { goBack(); view.repaint(); } catch (Exception ex) { u.p(ex); } }
public void actionPerformed(ActionEvent evt) { try { goBack(); view.repaint(); } catch (Exception ex) { u.p(ex); } }
26,751
public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_line_boxes = !root.panel.view.c.debug_draw_line_boxes; root.panel.view.repaint(); }
public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_boxes = !root.panel.view.c.debug_draw_boxes; root.panel.view.repaint(); }
26,752
public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_inline_boxes = !root.panel.view.c.debug_draw_inline_boxes; root.panel.view.repaint(); }
public void actionPerformed(ActionEvent evt) { root.panel.view.c.debug_draw_line_boxes = !root.panel.view.c.debug_draw_line_boxes; root.panel.view.repaint(); }
26,753
public void actionPerformed(ActionEvent evt) { JFrame frame = new JFrame(); frame.getContentPane().add(new DOMInspector(root.panel.view.doc)); frame.pack(); frame.setSize(250,500); frame.show(); }
public void actionPerformed(ActionEvent evt) { JFrame frame = new JFrame(); frame.getContentPane().add(new DOMInspector(root.panel.view.doc)); frame.pack(); frame.setSize(250,500); frame.show(); }
26,754
public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file)...
public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file)...
26,755
public void actionPerformed(ActionEvent evt) { try { String url_text = url.getText(); loadPage(url_text); view.repaint(); } catch (Exception ex) { u.p(ex); } }
public void actionPerformed(ActionEvent evt) { try { String url_text = url.getText(); loadPage(url_text); view.repaint(); } catch (Exception ex) { u.p(ex); } }
26,756
public void actionPerformed(ActionEvent evt) { try { goForward(); view.repaint(); } catch (Exception ex) { u.p(ex); } }
public void actionPerformed(ActionEvent evt) { try { goBack(); view.repaint(); } catch (Exception ex) { u.p(ex); } }
26,757
public void actionPerformed(ActionEvent evt) { try { reloadPage(); view.repaint(); } catch (Exception ex) { u.p(ex); } }
public void actionPerformed(ActionEvent evt) { try { goForward(); view.repaint(); } catch (Exception ex) { u.p(ex); } }
26,758
public FileDialog(Frame parent, String title, int mode) { super(parent, title, true); setMode(mode); }
public FileDialog(Frame parent, String title, int mode) { super(parent, title, true); setMode(mode); }
26,760
public String getDirectory() { return (dir); }
public String getDirectory() { return (dir); }
26,761
public String getFile() { return (file); }
public String getFile() { return (file); }
26,762
public void setDocument(Document doc, URL url) { this.doc = doc; Element html = (Element)doc.getDocumentElement(); c.css = new CSSBank(); c.setBaseURL(url); try { //c.css.parse(new FileReader("second.css")); Object marker = new DefaultCSSMarker(); ...
public void setDocument(Document doc, URL url) { this.doc = doc; Element html = (Element)doc.getDocumentElement(); c.css = new CSSBank(); c.setBaseURL(url); try { //c.css.parse(new FileReader("second.css")); Object marker = new DefaultCSSMarker(); ...
26,763
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid...
26,765
private void readResolve() throws ObjectStreamException { // FIXME: implement this }
private Object readResolve() throws ObjectStreamException { // FIXME: implement this }
26,766
public void deInit() { try { sess.close(); } catch (Exception e) { log.error("!!!!!!!!!!!!!!!!!!!!!Close failed", e); failed = true; } }
public void deInit() { try { sess.close(); } catch (Throwable e) { log.error("!!!!!!!!!!!!!!!!!!!!!Close failed", e); failed = true; } }
26,768
public void deInit() { try { sess.close(); } catch (Exception e) { log.error("!!!!!!!!!!!!!!!!!!!!!Close failed", e); failed = true; } }
public void deInit() { try { sess.close(); } catch (Exception e) { log.error("Failed to deInit()", e); throwable = e; failed = true; } }
26,769
public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ...
public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ...
26,770
public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ...
public void init() { try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; if (anon) { ...
26,771
public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ...
public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ...
26,772
public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ...
public void run() { try { int count = 0; while (count < numMessages) { Message m = mf.getMessage(sess, msgSize); if (anon) { prod.send(dest, m); ...
26,773
protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss...
protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss...
26,774
protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss...
protected void checkEquivalent(Message m1, Message m2) throws Exception { if (m1 == m2) { fail(); } if (m1 == null || m2 == null) { fail(); } if (!m1.getClass().equals(m2.getClass())) { fail(); } //Attributes from org.jboss...
26,775
protected Map generateFilledMap(boolean useObject) { Map headers = new HashMap(); for (int j = 0; j < 27; j++) { //put some crap in the map int k; if (useObject) { k = j % 11; } else { k = j % 10; } ...
protected Map generateFilledMap(boolean useObject) { Map headers = new HashMap(); for (int j = 0; j < 27; j++) { //put some crap in the map int k; if (useObject) { k = j % 11; } else { k = j % 10; } ...
26,776
protected byte[] randByteArray() { String s = new GUID().toString(); return s.getBytes(); }
protected byte[] randByteArray() { String s = randString(1000); return s.getBytes(); }
26,777
public void tearDown() throws Exception { ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { super.tearDown(); }
26,778
public void setSqlProperties(Properties props) { sqlProperties = new Properties(props); }
public void setSqlProperties(String value) { sqlProperties = new Properties(props); }
26,779
public void setSqlProperties(Properties props) { sqlProperties = new Properties(props); }
public void setSqlProperties(Properties props) { try { ByteArrayInputStream is = new ByteArrayInputStream(value.getBytes()); sqlProperties = new Properties(); sqlProperties.load(is); } catch (IOException shouldnothappen) { } }
26,780
public CoreMessage(Serializable messageID, boolean reliable, long expiration, long timestamp, int priority, Map headers, Serializable payload) { super(messageID, reliable, expiration, ...
public CoreMessage(Serializable messageID, boolean reliable, long expiration, long timestamp, int priority, Map headers, Serializable payload) { super(messageID, reliable, expiration, ...
26,781
public void start() throws Exception { log.debug("starting JDBCPersistenceManager"); initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ds = (DataSource)ic.lookup("java:/DefaultDS"); ic.close(); if (crea...
public void start() throws Exception { log.debug("starting JDBCPersistenceManager"); initSqlProperties(); InitialContext ic = new InitialContext(); mgr = (TransactionManager)ic.lookup("java:/TransactionManager"); ic.close(); if (createTablesOnStartup) { createSchema...
26,782
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createConsumerDelegate".equal...
26,783
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
public SecurityMetadata getSecurityMetadata(boolean isQueue, String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) ...
26,784
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) (isQueue ? queueSecurityConf.get(destName) : topicSecurityConf.get(destName)); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (...
26,785
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
26,786
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
26,787
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
public SecurityMetadata getSecurityMetadata(String destName) { SecurityMetadata m = (SecurityMetadata) securityConf.get(destName); if (m == null) { // No SecurityMetadata was configured for the dest, // Apply the default if (defaultSecurityConfig != null) { ...
26,788
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
26,789
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
26,790
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
26,791
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
26,792
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
26,793
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
26,794
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
26,795
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
26,796
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
26,797
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
protected void notLocal(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPos...
26,798
public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ...
public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr, int ful...
26,800
public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ...
public LocalClusteredQueue(PostOffice office, int nodeId, String name, long id, MessageStore ms, PersistenceManager pm, boolean acceptReliableMessages, boolean recoverable, QueuedExecutor executor, Filter filter, TransactionRepository tr) { ...
26,801
public SimpleReceiver(String name, String state) { this(name, state, null); }
public SimpleReceiver() { this(name, state, null); }
26,802
public SimpleReceiver(String name, String state) { this(name, state, null); }
public SimpleReceiver(String name, String state) { this(ACKING); }
26,803
private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); log.debug("LocatorURI: " + getLocatorURI()); // add the JMS subsy...
private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s + "&socketTimeout=0"); log.debug("LocatorURI: " + getLocatorURI()); ...
26,804
public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (null, cpe.getAltName (), cp...
public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (null, cpe.getAltName (), cp...
26,805
public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor...
public static Context getInitialContext (Hashtable environment) throws NamingException { InitialContextFactory icf = null; if (icfb != null) icf = icfb.createInitialContextFactory(environment); else { String java_naming_factory_initial = null; if (environment != null) java_naming_factor...
26,807
public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ...
public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ...
26,808
public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ...
public static Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable environment) throws Exception { ObjectFactory factory = null; if (ofb != null) factory = ofb.createObjectFactory (refInfo, environment); else { // First see if we have a Reference or ...
26,809
public static Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException { StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, environment, nameCtx); while (tokens.hasMoreTokens ()) { String klassName = tokens.nextToken (); tr...
public static Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException { StringTokenizer tokens = getPlusPath (Context.STATE_FACTORIES, environment, nameCtx); while (tokens.hasMoreTokens ()) { String klassName = tokens.nextToken (); tr...
26,810
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
26,811
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =...
26,812
public Context getInitialContext (Hashtable environment) throws NamingException;
Context getInitialContext (Hashtable environment) throws NamingException;
26,813
public ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException;
ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException;
26,814
public Reference getReference() throws NamingException;
Reference getReference() throws NamingException;
26,815
public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception;
public Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception;
26,816
public Hashtable getEnvironment () throws NamingException;
Hashtable getEnvironment () throws NamingException;
26,817
public Object getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException;
Object getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException;
26,818
public ClientConnectionDelegate(String objectID, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; }
public ClientConnectionDelegate(int objectID, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; }
26,819
public String toString() { return "ConnectionDelegate[" + Util.guidToString(id) + "]"; }
public String toString() { return "ConnectionDelegate[" + id + "]"; }
26,820
protected abstract Client getClient();
protected abstract Client getClient() throws Exception;
26,821
public boolean intersects(CssContext cssCtx, Shape clip) { return intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip)); }
public boolean intersects(CssContext cssCtx, Shape clip) { return intersectsLine(cssCtx, clip) || (isContainsBlockLevelContent() && intersectsInlineBlocks(cssCtx, clip)); }
26,822
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
26,823
public static void generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); ...
public static BlockBox generateAbsolute(LayoutContext c, Content content, LineBox currentLine) { Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); ...
26,824
public static FloatedBlockBox generateFloated( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData...
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurre...
26,826
public static FloatedBlockBox generateFloated( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData...
public static FloatedBlockBox generateFloated( LayoutContext c, Content content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData...
26,827
public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { throw new Error("not implemented"); }
public RenderableImageProducer(RenderableImage image, RenderContext context) { throw new Error("not implemented"); }
26,831
public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { throw new Error("not implemented"); }
public RenderableImageProducer(RenderableImage image, RenderContext context) throws NotImplementedException { this.image = image; this.context = context; }
26,832
public void addConsumer(ImageConsumer consumer) throws NotImplementedException { }
public void addConsumer(ImageConsumer consumer) { }
26,833
public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { return false; }
public boolean isConsumer(ImageConsumer consumer) { return false; }
26,835
public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { return false; }
public boolean isConsumer(ImageConsumer consumer) throws NotImplementedException { synchronized (consumers) { return consumers.contains(consumer); } }
26,836
public void removeConsumer(ImageConsumer consumer) throws NotImplementedException { }
public void removeConsumer(ImageConsumer consumer) { }
26,837
public void setRenderContext(RenderContext context) throws NotImplementedException { }
public void setRenderContext(RenderContext context) { }
26,839
public void startProduction(ImageConsumer consumer) throws NotImplementedException { }
public void startProduction(ImageConsumer consumer) { }
26,841
public boolean wasHoverRestyled(Element e) { boolean isHoverStyled = _tbStyleMap.isHoverStyled(e); XRLog.general("Element "+e+" tested for hover styling "+isHoverStyled); if(_tbStyleMap.isHoverStyled(e)) { _styler.restyleTree(e); return true; } return false; ...
public boolean wasHoverRestyled(Element e) { boolean isHoverStyled = _tbStyleMap.isHoverStyled(e); if(_tbStyleMap.isHoverStyled(e)) { _styler.restyleTree(e); return true; } return false; }
26,843
public java.io.Reader getDefaultStylesheet();
public InputStream getDefaultStylesheet();
26,844
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(new GUID().toString(), true, System.currentTimeMil...
protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(new GUID().toString(), true, System.currentTimeMi...
26,845
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(new GUID().toString(), true, System.currentTimeMil...
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(randInt().intValue(), true, System.currentTimeMill...
26,846
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ...
protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() +...
26,847
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ...
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(randInt().intValue(), true, System.currentTimeMillis() + 1...
26,848
public JBossTextMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ...
public JBossTextMessage(String messageID, boolean reliable, long expiration, long timestamp, int priority, int deliveryCount, Map coreHeaders, Serializable payload, String jmsType, Object correlationID, boolean destinationIsQueue, ...
26,849
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))...
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))...
26,850
public static void main(String[] args) throws Exception { //System.out.println(new URI("images/Stop24.gif")); JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); BrowserStartup bs = new BrowserStartup(); bs.frame = frame; bs...
public static void main(String[] args) throws Exception { //System.out.println(new URI("images/Stop24.gif")); JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); final BrowserStartup bs = new BrowserStartup(); bs.frame = frame; ...
26,852
public void insertStepCell(StepCell stepCell, Map attributes, ParentMap pm, UndoableEdit[] edits) { stepCells.add(stepCell); Utils.checkId(context, stepCell.getDescriptor()); Object[] cells = new Object[]{stepCell}; // Insert into Model insert(cells, attributes, null, pm, edits); recordResults(step...
public void insertStepCell(StepCell stepCell, Map attributes, ParentMap pm, UndoableEdit[] edits) { stepCells.add(stepCell); Utils.checkId(context, stepCell.getDescriptor()); Object[] cells = new Object[1 + stepCell.getChildCount()]; cells[0] = stepCell; Object[] children = stepCell.getChildren().toArray();...
26,854
public Point getLabelPosition(int resultKey) { ResultLayout rl = ((ResultLayout)results.get(new Integer(resultKey))); return rl != null && rl.labelPosition != null ? rl.labelPosition : null; }
public Point2D getLabelPosition(int resultKey) { ResultLayout rl = ((ResultLayout)results.get(new Integer(resultKey))); return rl != null && rl.labelPosition != null ? rl.labelPosition : null; }
26,855
public ResultEdge(ResultDescriptor descriptor, Point labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(attri...
public ResultEdge(ResultDescriptor descriptor, Point2D labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(att...
26,856
public ResultEdge(ResultDescriptor descriptor, Point labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(attri...
public ResultEdge(ResultDescriptor descriptor, Point labelPos) { super(descriptor); setAttributes(new WorkflowAttributeMap(getAttributes())); this.descriptor = descriptor; int arrow = GraphConstants.ARROW_CLASSIC; //GraphConstants.setLabelAlongEdge(attributes, true); GraphConstants.setLineEnd(attri...
26,857
public DefaultGraphCell getFromCell() { return fromCell; }
public WorkflowCell getFromCell() { return fromCell; }
26,858
public void clearSelection() { // Find the selected interval. int from = sel.nextSetBit(0); if (from < 0) return; // Empty selection - nothing to do. int to = from; int i; Up: for (i = from; i>=0; i=sel.nextSetBit(i+1)) to = i; fireValueChanged(from, to, valueIsAdjusting); }
public void clearSelection() { // Find the selected interval. int from = sel.nextSetBit(0); if (from < 0) return; // Empty selection - nothing to do. int to = from; int i; for (i = from; i>=0; i=sel.nextSetBit(i+1)) to = i; fireValueChanged(from, to, valueIsAdjusting); }
26,859
public void setSelectionMode(int a) { selectionMode = a; }
public void setSelectionMode(int mode) { selectionMode = a; }
26,862
public void setSelectionMode(int a) { selectionMode = a; }
public void setSelectionMode(int a) { if (mode < ListSelectionModel.SINGLE_SELECTION || mode > ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) throw new IllegalArgumentException("Unrecognised mode: " + mode); selectionMode = mode; }
26,863
public ListSelectionListener[] getListSelectionListeners() { throw new Error ("not implemented"); }
public ListSelectionListener[] getListSelectionListeners() { return (ListSelectionListener[]) getListeners(ListSelectionListener.class); }
26,864
Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); }
Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); }
26,865
Color getSelectionBackground() { return select_back; }
Color getSelectionBackground() { return select_back; }
26,866
Color getSelectionForeground() { return select_fore; }
Color getSelectionForeground() { return select_fore; }
26,867