bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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.... | 48,103 |
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.... | 48,104 |
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.... | 48,105 |
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.... | 48,106 |
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... | 48,107 |
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()) ... | 48,108 |
public void sync() { screen.repaint(); } | public void sync() { SwingUtilities.invokeLater(repaintCmd); } | 48,109 |
TransactionId(String nodeId, long txId) { this.nodeId = nodeId; this.txId = txId; calculateHash(); } | TransactionId(String nodeId, long txId) { this.nodeId = nodeId; this.txId = txId; calculateHash(); } | 48,110 |
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; } | 48,111 |
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; ... | 48,112 |
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(); } | 48,114 |
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(); } | 48,115 |
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); } | 48,116 |
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); } | 48,117 |
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... | 48,118 |
public BigInteger getY(); | public BigInteger getY(); | 48,119 |
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().... | 48,122 |
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... | 48,123 |
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... | 48,124 |
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... | 48,125 |
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... | 48,126 |
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... | 48,127 |
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... | 48,128 |
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... | 48,129 |
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... | 48,130 |
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... | 48,131 |
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... | 48,132 |
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... | 48,133 |
public InheritedLength() {} | public InheritedLength() {} | 48,134 |
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); } | 48,135 |
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; } | 48,136 |
public String getNodeId() { return nodeId; } | public int getNodeId() { return nodeId; } | 48,137 |
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... | 48,138 |
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... | 48,139 |
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... | 48,140 |
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... | 48,141 |
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) { ... | 48,142 |
public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); if (a != null) addAttributes(a); } | public SimpleAttributeSet() { tab = new Hashtable(); if (a != null) addAttributes(a); } | 48,144 |
public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); if (a != null) addAttributes(a); } | public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); if (a != null) addAttributes(a); } | 48,145 |
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... | 48,146 |
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()) { ... | 48,147 |
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... | 48,148 |
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... | 48,149 |
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... | 48,150 |
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... | 48,151 |
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... | 48,152 |
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... | 48,153 |
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... | 48,154 |
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... | 48,155 |
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... | 48,156 |
public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JBossObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JBossObjectOutputStream"); } JBossObjectOutputStream oos = (JBossObjectOutputStre... | public void write(Object obj, OutputStream out) throws IOException { //Sanity check if (!(out instanceof JBossObjectOutputStream)) { throw new IllegalStateException("OutputStream must be an JBossObjectOutputStream"); } JBossObjectOutputStream oos = (JBossObjectOutputStre... | 48,158 |
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 (pr... | 48,159 |
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 = ... | 48,160 |
public ProgressBarUI() { // TODO } // ProgressBarUI() | public ProgressBarUI() { // TODO } // ProgressBarUI() | 48,161 |
public double getPercentComplete() { return 0.0; // TODO } // getPercentComplete() | public double getPercentComplete() { return 0.0; // TODO } // getPercentComplete() | 48,162 |
public int getOrientation() { return 0; // TODO } // getOrientation() | public int getOrientation() { return 0; // TODO } // getOrientation() | 48,163 |
public String getString() { return null; // TODO } // getString() | public String getString() { return null; // TODO } // getString() | 48,164 |
public void addChangeListener(ChangeListener listener) { // TODO } // addChangeListener() | public void addChangeListener(ChangeListener listener) { // TODO } // addChangeListener() | 48,165 |
public boolean isBorderPainted() { return false; // TODO } // isBorderPainted() | public boolean isBorderPainted() { return false; // TODO } // isBorderPainted() | 48,166 |
public int getMaximum() { return 0; // TODO } // getMaximum() | public int getMaximum() { return 0; // TODO } // getMaximum() | 48,167 |
public int getMinimum() { return 0; // TODO } // getMinimum() | public int getMinimum() { return 0; // TODO } // getMinimum() | 48,168 |
public int getValue() { return 0; // TODO } // getValue() | public int getValue() { return 0; // TODO } // getValue() | 48,169 |
public boolean isStringPainted() { return false; // TODO } // isStringPainted() | public boolean isStringPainted() { return false; // TODO } // isStringPainted() | 48,170 |
public void removeChangeListener(ChangeListener valulistener) { // TODO } // removeChangeListener() | public void removeChangeListener(ChangeListener valulistener) { // TODO } // removeChangeListener() | 48,171 |
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... | 48,173 |
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... | 48,174 |
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... | 48,175 |
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; } | 48,176 |
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; } | 48,177 |
int getPriority(); | int getPriority(); | 48,179 |
void setPriority(int priority); | void setPriority(int priority); | 48,180 |
public void setLabelFor(Component c) { // Set the component this is labelling. } | public void setLabelFor(Component c) { // Set the component this is labelling. } | 48,181 |
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 ); */ } | 48,182 |
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 ) { ( (Graphics2D)g ).setRend... | 48,183 |
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 ... | 48,184 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protectedvoidstartLayout(Graphicsg){//u.p("calcLayout()");this.removeAll();//u.p("this=");//u.dump_stack();if(g==null){//u.p("badfirstgraphics");return;}//u.p("layout");//u.p("size="+this.getSize());//u.dump_stack();if(doc==null){return;}Elementhtml=(Element)doc.getDocumentElement();Elementbody=x.child(html,"body");bod... | 48,185 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) {//u.p("calcLayout()");this.removeAll();//u.p("this = ");//u.dump_stack();if ( g == null ) {//u.p("bad first graphics");return;}//u.p("layout");//u.p("size = " + this.getSize());//u.dump_stack();if ( doc == null ) {return;}Element html = (Element)doc.getDocumentElement();Element b... | 48,186 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protectedvoidstartLayout(Graphicsg){//u.p("calcLayout()");this.removeAll();//u.p("this=");//u.dump_stack();if(g==null){//u.p("badfirstgraphics");return;}//u.p("layout");//u.p("size="+this.getSize());//u.dump_stack();if(doc==null){return;}Elementhtml=(Element)doc.getDocumentElement();Elementbody=x.child(html,"body");bod... | 48,187 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) {//u.p("bad first graphics");return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u.dump_stack(); if ( doc == null ) {return; } Element html = (Element)doc.getDo... | 48,188 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) {//u.p("calcLayout()");this.removeAll();//u.p("this = ");//u.dump_stack();if ( g == null ) {//u.p("bad first graphics");return;}//u.p("layout");//u.p("size = " + this.getSize());//u.dump_stack();if ( doc == null ) {return;}Element html = (Element)doc.getDocumentElement();Element b... | 48,189 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u.dump_stack(); if ( doc == null ) { return... | 48,190 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protectedvoidstartLayout(Graphicsg){//u.p("calcLayout()");this.removeAll();//u.p("this=");//u.dump_stack();if(g==null){//u.p("badfirstgraphics");return;}//u.p("layout");//u.p("size="+this.getSize());//u.dump_stack();if(doc==null){return;}Elementhtml=(Element)doc.getDocumentElement();Elementbody=x.child(html,"body");bod... | 48,191 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) {//u.p("bad first graphics");return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u.dump_stack(); if ( doc == null ) {return; } Element html = (Element)doc.getDo... | 48,192 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) {//u.p("calcLayout()");this.removeAll();//u.p("this = ");//u.dump_stack();if ( g == null ) {//u.p("bad first graphics");return;}//u.p("layout");//u.p("size = " + this.getSize());//u.dump_stack();if ( doc == null ) {return;}Element html = (Element)doc.getDocumentElement();Element b... | 48,193 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | int view_height = this.enclosingScrollPane.getViewport().getHeight(); if(intrinsic_size.getHeight() < view_height) { if(body_box != null) { body_box.height = view_height; } } int view_height = this.enclosingScrollPane.getViewport().getHeight(); if(intrinsic_size.getHeight() < view_height) { if(body_box != null) { ... | 48,194 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protectedvoidstartLayout(Graphicsg){//u.p("calcLayout()");this.removeAll();//u.p("this=");//u.dump_stack();if(g==null){//u.p("badfirstgraphics");return;}//u.p("layout");//u.p("size="+this.getSize());//u.dump_stack();if(doc==null){return;}Elementhtml=(Element)doc.getDocumentElement();Elementbody=x.child(html,"body");bod... | 48,195 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) {//u.p("calcLayout()");this.removeAll();//u.p("this = ");//u.dump_stack();if ( g == null ) {//u.p("bad first graphics");return;}//u.p("layout");//u.p("size = " + this.getSize());//u.dump_stack();if ( doc == null ) {return;}Element html = (Element)doc.getDocumentElement();Element b... | 48,196 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) {//u.p("calcLayout()");this.removeAll();//u.p("this = ");//u.dump_stack();if ( g == null ) {//u.p("bad first graphics");return;}//u.p("layout");//u.p("size = " + this.getSize());//u.dump_stack();if ( doc == null ) {return;}Element html = (Element)doc.getDocumentElement();Element b... | 48,197 |
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u... | 48,198 |
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; ... | 48,199 |
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... | 48,202 |
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);... | 48,203 |
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(); ... | 48,204 |
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... | 48,206 |
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 ... | 48,208 |
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(... | 48,210 |
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... | 48,212 |
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... | 48,213 |
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... | 48,214 |
BCSChild() { } | BCSChild(Object targetChild, Object peer) { } | 48,215 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.