bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); if(trace) { log.trace("got " + res + " on return"); } ClientCo...
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnecti...
31,067
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); if(trace) { log.trace("got " + res + " on return"); } ClientCo...
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); if(trace) { log.trace("got " + res + " on return"); } ClientCo...
31,068
public void expandToPageBottom(LayoutContext c) { PageBox page = c.getRootLayer().getLastPage(c, this); int delta = page.getBottom() - (getAbsY() + this.height); this.height += delta; if (page == c.getRootLayer().getLastPage()) { c.getRootLayer().addPage(c); } }
public void expandToPageBottom(LayoutContext c) { PageBox page = c.getRootLayer().getLastPage(c, this); int delta = page.getBottom() - (getAbsY() + getStyle().getMarginBorderPadding(c, CalculatedStyle.TOP) + this.height); this.height += delta; if (page == c.getRootLayer().getLastPage()) ...
31,069
private void doRelayout(ReflowEvent evt) throws InterruptedException { // if layout is already in progress //if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if (root.layout_context != null) { root.layout_context.stopRendering(); ...
private void doRelayout(ReflowEvent evt) throws InterruptedException { // if layout is already in progress //if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if (root.layout_context != null) { root.layout_context.stopRendering(); ...
31,070
private void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
private void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
31,071
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } CoreDurableSubscription sub...
31,072
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } NodeList args = regist...
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } List args = XMLUtil.ge...
31,073
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } NodeList args = regist...
protected void init(Element register) { this.type = register.getAttribute("type"); this.variableName = register.getAttribute("variable-name"); try { setId(Integer.parseInt(register.getAttribute("id"))); } catch (NumberFormatException e) { } NodeList args = regist...
31,074
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
31,075
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
31,076
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.getArguments(); JMSInvocationHandler h...
31,077
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
31,078
public SwingPcTextScreen() { super(SCREEN_WIDTH, SCREEN_HEIGHT); buffer = new char[SCREEN_WIDTH * SCREEN_HEIGHT]; AccessController.doPrivileged(new PrivilegedAction() { public Object run() { screen = new SwingPcScreen(); for (int i = 0; i < buffer.length...
public SwingPcTextScreen() { super(SCREEN_WIDTH, SCREEN_HEIGHT); buffer = new char[SCREEN_WIDTH * SCREEN_HEIGHT]; AccessController.doPrivileged(new PrivilegedAction() { public Object run() { screen = new SwingPcScreen(); for (int i = 0; i < buffer.length...
31,079
public Object run() { screen = new SwingPcScreen(); for (int i = 0; i < buffer.length; i ++) { buffer[i] = ' '; } /* for (String s : GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()) ...
public Object run() { screen = new SwingPcScreen(); for (int i = 0; i < buffer.length; i ++) { buffer[i] = ' '; } /* for (String s : GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()) ...
31,080
public void sync() { screen.repaint(); }
public void sync() { SwingUtilities.invokeLater(repaintCmd); }
31,081
TransactionId(String nodeId, long txId) { this.nodeId = nodeId; this.txId = txId; calculateHash(); }
TransactionId(String nodeId, long txId) { this.nodeId = nodeId; this.txId = txId; calculateHash(); }
31,082
private void calculateHash() { hash = 17; hash = 37 * hash + (int)(txId ^ (txId >>> 32)); hash = 37 * hash + nodeId.hashCode(); }
private void calculateHash() { hash = 17; hash = 37 * hash + (int)(txId ^ (txId >>> 32)); hash = 37 * hash + nodeId; }
31,083
public boolean equals(Object other) { if (other == this) { return true; } if (!(other instanceof TransactionId)) { return false; } TransactionId tother = (TransactionId)other; return tother.txId == this.txId && tother.nodeId.equals(this.node...
public boolean equals(Object other) { if (other == this) { return true; } if (!(other instanceof TransactionId)) { return false; } TransactionId tother = (TransactionId)other; return tother.txId == this.txId && tother.nodeId == this.nodeId; ...
31,084
public void read(DataInputStream in) throws Exception { nodeId = in.readUTF(); txId = in.readLong(); hash = in.readInt(); }
public void read(DataInputStream in) throws Exception { nodeId = in.readInt(); txId = in.readLong(); hash = in.readInt(); }
31,086
public void read(DataInputStream in) throws Exception { nodeId = in.readUTF(); txId = in.readLong(); hash = in.readInt(); }
public void read(DataInputStream in) throws Exception { nodeId = in.readUTF(); txId = in.readLong(); }
31,087
public void write(DataOutputStream out) throws Exception { out.writeUTF(nodeId); out.writeLong(txId); out.writeInt(hash); }
public void write(DataOutputStream out) throws Exception { out.writeInt(nodeId); out.writeLong(txId); out.writeInt(hash); }
31,088
public void write(DataOutputStream out) throws Exception { out.writeUTF(nodeId); out.writeLong(txId); out.writeInt(hash); }
public void write(DataOutputStream out) throws Exception { out.writeUTF(nodeId); out.writeLong(txId); }
31,089
public void paintChildren(Context c, Box box) { //u.p("Layout.paintChildren(): " + box); //u.p("child count = " + box.getChildCount()); for (int i = 0; i < box.getChildCount(); i++) { Box child = (Box) box.getChild(i); //u.p("child = " + child); Renderer rendere...
public void paintChildren(Context c, Box box) { //u.p("Layout.paintChildren(): " + box); //u.p("child count = " + box.getChildCount()); for (int i = 0; i < box.getChildCount(); i++) { Box child = (Box) box.getChild(i); //u.p("child = " + child); Renderer rendere...
31,090
public BigInteger getY();
BigInteger getY();
31,091
public void validate(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Validator sessionBean = null; try { EJBHome home = (EJBHome) PortableRemoteObject.narrow(new InitialContext().lookup(ejb...
public void validate(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Validator sessionBean = null; try { EJBLocalHome home = (EJBLocalHome) PortableRemoteObject.narrow(new InitialContext()....
31,094
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossObjectMessage m = new JBossObjectMessage(new GUID().toString(), true, System.currentTim...
protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossObjectMessage m = new JBossObjectMessage(new GUID().toString(), true, System.currentTi...
31,095
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossObjectMessage m = new JBossObjectMessage(new GUID().toString(), true, System.currentTim...
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossObjectMessage m = new JBossObjectMessage(randInt().intValue(), true, System.currentTime...
31,096
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe...
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe...
31,097
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe...
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe...
31,098
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading...
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading...
31,099
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading...
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading...
31,100
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading...
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading...
31,101
public static FSDerivedValue newDerivedValue(CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, S...
public static FSDerivedValue newDerivedValue(CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, S...
31,102
public static FSDerivedValue newDerivedValue(CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, S...
public static FSDerivedValue newDerivedValue(CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, S...
31,103
public InheritedLength() {}
private InheritedLength() {}
31,104
public LengthValue(CalculatedStyle style, CSSName name, short cssSACUnitType, String cssText, String cssStringValue) { super(style, name, cssSACUnitType, cssText, cssStringValue); pullLengthValueParts(name); }
public LengthValue(CalculatedStyle style, CSSName name, short cssSACUnitType, String cssText, String cssStringValue) { super(style, name, cssSACUnitType, cssText, cssStringValue); pullLengthValueParts(name); }
31,105
RemoteQueueStub(String nodeId, String name, long id, boolean recoverable, PersistenceManager pm, Filter filter) { this.nodeId = nodeId; this.name = name; this.id = id; this.recoverable = recoverable; this.pm = pm; this.filter = filter; }
RemoteQueueStub(int nodeId, String name, long id, boolean recoverable, PersistenceManager pm, Filter filter) { this.nodeId = nodeId; this.name = name; this.id = id; this.recoverable = recoverable; this.pm = pm; this.filter = filter; }
31,106
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
31,107
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
31,108
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
31,109
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable...
31,110
public void readExternal(ObjectInput in) throws IOException { try { super.readExternal(in); content = (ArrayList) in.readObject(); position = in.readInt(); offset = in.readInt(); size = in.readInt(); deserialised = true; } catch (ClassNotFoundExce...
public void readExternal(ObjectInput in) throws IOException { try { super.readExternal(in); content = (ArrayList) in.readObject(); position = in.readInt(); offset = in.readInt(); size = in.readInt(); } catch (ClassNotFoundException e) { ...
31,111
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh...
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, PropertySet ps) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().itera...
31,113
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh...
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Hashtable env = null; Iterator iter = args.entrySet().iterator(); while (iter.hasNext()) { ...
31,114
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh...
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); RegisterRemote sessionBean; Hashtable env = null; Iterator iter = args.entrySet().iterator(); wh...
31,115
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject...
31,116
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JBossObjectInputStream ois = (JBossObject...
31,117
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Graphics g = progressBar.getGraphics(); Insets insets = c.getInsets(); FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = ...
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Insets insets = c.getInsets(); FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = fm.getHeight(); g.dispose(); if (...
31,119
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Graphics g = progressBar.getGraphics(); Insets insets = c.getInsets(); FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = ...
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Graphics g = progressBar.getGraphics(); Insets insets = c.getInsets(); FontMetrics fm = g.getFontMetrics(c.getFont()); int textW = fm.stringWidth(progressBar.getString()); int textH = ...
31,120
public double getPercentComplete() { return 0.0; // TODO } // getPercentComplete()
public double getPercentComplete() { return 0.0; // TODO } // getPercentComplete()
31,121
public String getString() { return null; // TODO } // getString()
public String getString() { return null; // TODO } // getString()
31,122
public int getMaximum() { return 0; // TODO } // getMaximum()
public int getMaximum() { return 0; // TODO } // getMaximum()
31,123
public int getMinimum() { return 0; // TODO } // getMinimum()
public int getMinimum() { return 0; // TODO } // getMinimum()
31,124
public int getValue() { return 0; // TODO } // getValue()
public int getValue() { return 0; // TODO } // getValue()
31,125
public boolean isStringPainted() { return false; // TODO } // isStringPainted()
public boolean isStringPainted() { return false; // TODO } // isStringPainted()
31,126
public void removeChangeListener(ChangeListener valulistener) { // TODO } // removeChangeListener()
public void removeChangeListener(ChangeListener valulistener) { // TODO } // removeChangeListener()
31,127
protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh...
protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh...
31,128
protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh...
protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh...
31,129
protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh...
protected void init(Element join) { try { setId(Integer.parseInt(join.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid join id value " + join.getAttribute("id")); } // get conditions Element conditions = XMLUtil.getCh...
31,130
public ClientConnectionDelegate(String objectID, InvokerLocator locator, String serverID, Version serverVersion) { super(objectID, locator); this.serverID = serverID; this.serverVersion = serverVersion; }
public ClientConnectionDelegate(String objectID, String serverLocatorURI, String serverID, Version serverVersion) { super(objectID, locator); this.serverID = serverID; this.serverVersion = serverVersion; }
31,131
public ClientConnectionDelegate(String objectID, InvokerLocator locator, String serverID, Version serverVersion) { super(objectID, locator); this.serverID = serverID; this.serverVersion = serverVersion; }
public ClientConnectionDelegate(String objectID, InvokerLocator locator, String serverID, Version serverVersion) { super(objectID); this.serverID = serverID; this.serverVersion = serverVersion; }
31,132
int getPriority();
byte getPriority();
31,134
void setPriority(int priority);
void setPriority(byte priority);
31,135
public void setLabelFor(Component c) { // Set the component this is labelling. }
public void setLabelFor(Component c) { // Set the component this is labelling. }
31,136
public void calcLayout() { u.p("bad calc layout called!"); /* calcLayout( this.getGraphics() ); this.setOpaque( false ); */ }
public void calcLayout() { u.p("bad calc layout called!"); /* calcLayout( this.getGraphics() ); this.setOpaque( false ); */ }
31,137
public void paintComponent( Graphics g ) { //g.setColor(Color.blue); //g.drawLine(0,0,50,50); //u.p("paint() size = " + this.getSize()); //u.p("viewport size = " + this.viewport.getSize()); //u.p("w/o scroll = " + this.viewport.getViewportBorderBounds()); if ( anti_aliased ...
public void paintComponent( Graphics g ) { //g.setColor(Color.blue); //g.drawLine(0,0,50,50); //u.p("paint() size = " + this.getSize()); //u.p("viewport size = " + this.viewport.getSize()); //u.p("w/o scroll = " + this.viewport.getViewportBorderBounds()); if ( anti_aliased ...
31,138
public void run() { // Is there anything to deliver? // This is ok outside lock - is volatile. if (clientConsumerFull) { if (trace) { log.trace(this + " client consumer full, do nothing"); } return; } List list = null; ...
public void run() { // Is there anything to deliver? // This is ok outside lock - is volatile. if (clientConsumerFull) { if (trace) { log.trace(this + " client consumer full, do nothing"); } return; } List list = null; ...
31,140
protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);...
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
31,143
protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);...
protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);...
31,144
protected void completeEntry(long id, Collection currentSteps) throws StoreException { getPersistence().setEntryState(id, WorkflowEntry.COMPLETED); Iterator i = new ArrayList(currentSteps).iterator(); while (i.hasNext()) { Step step = (Step) i.next(); getPersistence().move...
protected void completeEntry(ActionDescriptor action, long id, Collection currentSteps) throws StoreException { getPersistence().setEntryState(id, WorkflowEntry.COMPLETED); Iterator i = new ArrayList(currentSteps).iterator(); while (i.hasNext()) { Step step = (Step) i.next(); ...
31,145
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); cache.clear(); Step step = getCurrentSt...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); cache.clear(); Step step = getCurrentSt...
31,147
public void testSimpleFailover() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.close(); conn = cf.createConnection(); conn.start(); // create a producer/consumer on node 1 // make sure we're connecting to node 1 ...
public void testSimpleFailover() throws Exception { Connection conn = null; try { conn = cf.createConnection(); conn.close(); conn = cf.createConnection(); conn.start(); // create a producer/consumer on node 1 // make sure we're connecting to node 1 ...
31,149
public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace(...
public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace(...
31,151
protected void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); setupDestinations(); final String defaultSecurityConfig = "<security><role name=\"def\" read=\"true\" write=\"true\" create=\"true\"/></security>"; oldDefaultConfig = ServerManagemen...
protected void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); setupDestinations(); final String defaultSecurityConfig = "<security><role name=\"def\" read=\"true\" write=\"true\" create=\"true\"/></security>"; oldDefaultConfig = ServerManagemen...
31,153
protected void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); setupDestinations(); final String defaultSecurityConfig = "<security><role name=\"def\" read=\"true\" write=\"true\" create=\"true\"/></security>"; oldDefaultConfig = ServerManagemen...
protected void setUp() throws Exception { super.setUp(); ServerManagement.init("all"); setupDestinations(); final String defaultSecurityConfig = "<security><role name=\"def\" read=\"true\" write=\"true\" create=\"true\"/></security>"; oldDefaultConfig = ServerManagemen...
31,154
protected void tearDown() throws Exception { log.info("========== Stop test: " + getName()); ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTo...
protected void tearDown() throws Exception { log.info("========== Stop test: " + getName()); ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTo...
31,155
BCSChild() { }
BCSChild(Object targetChild, Object peer) { }
31,156
BCSIterator() { }
BCSIterator(Iterator child) { }
31,158
public boolean hasNext () throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean hasNext () { throw new Error ("Not implemented"); }
31,160
public boolean hasNext () throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean hasNext () throws NotImplementedException { return child.hasNext(); }
31,161
public Object next () throws NotImplementedException { throw new Error ("Not implemented"); }
public Object next () { throw new Error ("Not implemented"); }
31,162
public Object next () throws NotImplementedException { throw new Error ("Not implemented"); }
public Object next () throws NotImplementedException { return child.next(); }
31,163
public boolean add (Object targetChild) { if (targetChild == null) throw new IllegalArgumentException(); if (children.containsKey(targetChild)) return false; // FIXME: The second argument is surely wrong. children.put(targetChild, targetChild); return true; }
public boolean add (Object targetChild) { if (targetChild == null) throw new IllegalArgumentException(); BCSChild child; synchronized (children) { if (children.containsKey(targetChild) || ! validatePendingAdd(targetChild)) return false; // FIXME: The second argument is surely wrong. children.pu...
31,164
public boolean add (Object targetChild) { if (targetChild == null) throw new IllegalArgumentException(); if (children.containsKey(targetChild)) return false; // FIXME: The second argument is surely wrong. children.put(targetChild, targetChild); return true; }
public boolean add (Object targetChild) { if (targetChild == null) throw new IllegalArgumentException(); if (children.containsKey(targetChild)) return false; // FIXME: The second argument is surely wrong. child = createBCSChild(targetChild, beanContextChildPeer); children.put(targetChild, child...
31,165
protected Iterator bcsChildren () throws NotImplementedException { throw new Error ("Not implemented"); }
protected Iterator bcsChildren () { throw new Error ("Not implemented"); }
31,167
protected Iterator bcsChildren () throws NotImplementedException { throw new Error ("Not implemented"); }
protected Iterator bcsChildren () throws NotImplementedException { synchronized (children) { return new BCSIterator(children.values().iterator()); } }
31,168
protected void childJustAddedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); }
protected void childJustAddedHook (Object child, BeanContextSupport.BCSChild bcsc) { throw new Error ("Not implemented"); }
31,169
protected void childJustAddedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); }
protected void childJustAddedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { }
31,170
protected void childJustRemovedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); }
protected void childJustRemovedHook (Object child, BeanContextSupport.BCSChild bcsc) { throw new Error ("Not implemented"); }
31,171
protected void childJustRemovedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { throw new Error ("Not implemented"); }
protected void childJustRemovedHook (Object child, BeanContextSupport.BCSChild bcsc) throws NotImplementedException { }
31,172
protected static final boolean classEquals (Class first, Class second) throws NotImplementedException { throw new Error ("Not implemented"); }
protected static final boolean classEquals (Class first, Class second) { throw new Error ("Not implemented"); }
31,173
protected static final boolean classEquals (Class first, Class second) throws NotImplementedException { throw new Error ("Not implemented"); }
protected static final boolean classEquals (Class first, Class second) throws NotImplementedException { return (first == second || first.getName().equals(second.getName())); }
31,174
public boolean contains (Object o) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean contains (Object o) { throw new Error ("Not implemented"); }
31,175
public boolean contains (Object o) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean contains (Object o) throws NotImplementedException { synchronized (children) { return children.containsKey(o); } }
31,176
public boolean containsAll (Collection c) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean containsAll (Collection c) { throw new Error ("Not implemented"); }
31,177
public boolean containsAll (Collection c) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean containsAll (Collection c) throws NotImplementedException { synchronized (children) { Iterator it = c.iterator(); while (it.hasNext()) if (! children.containsKey(it.next())) return false; } return true; }
31,178
public boolean containsKey (Object o) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean containsKey (Object o) { throw new Error ("Not implemented"); }
31,179
public boolean containsKey (Object o) throws NotImplementedException { throw new Error ("Not implemented"); }
public boolean containsKey (Object o) throws NotImplementedException { synchronized (children) { return children.containsKey(o); } }
31,180
protected final Object[] copyChildren () throws NotImplementedException { throw new Error ("Not implemented"); }
protected final Object[] copyChildren () { throw new Error ("Not implemented"); }
31,181
protected final Object[] copyChildren () throws NotImplementedException { throw new Error ("Not implemented"); }
protected final Object[] copyChildren () throws NotImplementedException { synchronized (children) { return children.keySet().toArray(); } }
31,182