bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public int getVisibleRowCount() { return visibles; } | public int getVisibleRowCount() { return visibleRowCount; } | 26,868 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | 26,869 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | 26,870 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0,0,255); select_fore = new Color(255,255,255); updateUI(); } | 26,871 |
public void removeListSelectionListener (ListSelectionListener listener) { sel_model.removeListSelectionListener (listener); } | public void removeListSelectionListener (ListSelectionListener listener) { listenerList.remove(ListSelectionListener.class, listener); } | 26,872 |
public void setListData(final Object[] listData) { class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }; setModel (new AL()); } | public void setListData(final Object[] listData) { class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }; setModel (new AL()); } | 26,873 |
public FixedHeightLayoutCache() throws NotImplementedException { // TODO } | public FixedHeightLayoutCache() { // TODO } | 26,875 |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | 26,876 |
public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { return null; // TODO } | public Rectangle getBounds(TreePath value0, Rectangle value1) throws NotImplementedException { Rectangle dim = getNodeDimensions(last, r.row, r.depth, r.isExpanded, rect); r.bounds = dim; } return r.bounds; } // TODO } | 26,877 |
public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } | 26,878 |
public boolean getExpandedState(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean getExpandedState(TreePath value0) throws NotImplementedException { return expanded.contains(path.getLastPathComponent()); // TODO } | 26,879 |
public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | 26,880 |
public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { return null; // TODO } | public TreePath getPathClosestTo(int value0, int value1) throws NotImplementedException { if (dirty) update(); int row = y / rowHeight; if (row < 0) row = 0; if (row > getRowCount()) row = getRowCount() - 1; if (row < 0) return null; Object node = row2node.get(new Integer(row)); NodeRecord nr = (NodeRecord) no... | 26,881 |
public TreePath getPathForRow(int row) throws NotImplementedException { //TODO return null; } | public TreePath getPathForRow(int row) { //TODO return null; } | 26,882 |
public int getRowCount() throws NotImplementedException { return 0; // TODO } | public int getRowCount() { return 0; // TODO } | 26,885 |
public int getRowCount() throws NotImplementedException { return 0; // TODO } | public int getRowCount() throws NotImplementedException { if (dirty) update(); return row2node.size(); // TODO } | 26,886 |
public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } | public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } | 26,887 |
public int getRowForPath(TreePath value0) throws NotImplementedException { return 0; } | public int getRowForPath(TreePath value0) throws NotImplementedException { if (dirty) update(); NodeRecord r = (NodeRecord) nodes.get(path.getLastPathComponent()); if (r == null) return - 1; else return r.row; } | 26,888 |
public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } | public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } | 26,889 |
public int getVisibleChildCount(TreePath value0) throws NotImplementedException { return 0; // TODO } | public int getVisibleChildCount(TreePath value0) throws NotImplementedException { if (isExpanded(path)) return 0; else return treeModel.getChildCount(path.getLastPathComponent()); // TODO } | 26,890 |
public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } | public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } | 26,891 |
public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { return null; // TODO } | public Enumeration getVisiblePathsFrom(TreePath value0) throws NotImplementedException { if (dirty) update(); Vector p = new Vector(parentPath.getPathCount()); Object node; NodeRecord nr; for (int i = 0; i < parentPath.getPathCount(); i++) { node = parentPath.getPathComponent(i); nr = (NodeRecord) nodes.get(node)... | 26,892 |
public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } | public void invalidatePathBounds(TreePath value0) throws NotImplementedException { // TODO } | 26,893 |
public void invalidateSizes() throws NotImplementedException { // TODO } | public void invalidateSizes() { // TODO } | 26,894 |
public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | public boolean isExpanded(TreePath value0) throws NotImplementedException { return false; // TODO } | 26,896 |
public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } | public void setExpandedState(TreePath value0, boolean value1) throws NotImplementedException { // TODO } | 26,897 |
public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeNodesChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | 26,899 |
public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeNodesInserted(TreeModelEvent value0) throws NotImplementedException { // TODO } | 26,901 |
public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeNodesRemoved(TreeModelEvent value0) throws NotImplementedException { // TODO } | 26,903 |
public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | public void treeStructureChanged(TreeModelEvent value0) throws NotImplementedException { // TODO } | 26,905 |
public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); queue.dispatchEvent(evt); } catch (Throwable x) { System.err.println("Exception during event dispatch:"); x.printStackTrace(System.err); } } } | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); queue.dispatchEvent(evt); } catch (InterruptedException ie) { return; } catch (Throwable x) { System.err.println("Exception during event dispatch:"); x.printStackTrace(System.err); } } } | 26,907 |
public void initializeStyles(EmptyStyle c) { styleStack = new Stack(); styleStack.push(c); } | public void initializeStyles(CalculatedStyle c) { styleStack = new Stack(); styleStack.push(c); } | 26,908 |
private Configuration() { startupLogRecords = new ArrayList(); try { // read logging level from System properties String val = null; try { val = System.getProperty("show-config"); } catch (Exception ex) { System.out.println("err... | private Configuration() { startupLogRecords = new ArrayList(); try { // read logging level from System properties String val = null; try { val = System.getProperty("show-config"); } catch (Exception ex) { System.out.println("err... | 26,909 |
private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... | private void loadOverrideProperties(String overrideFileName) { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine(... | 26,910 |
private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... | private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... | 26,911 |
private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { fine("Found local config ove... | private void loadOverrideProperties() { try { String overrideName = System.getProperty("user.home") + File.separator + ".flyingsaucer" + File.separator + "local.xhtmlrenderer.conf"; File f = new File(overrideName); if (f.exists()) { info("Found config override ... | 26,912 |
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 26,915 |
public void testBrowse() throws Exception { log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessa... | public void testBrowse() throws Exception { log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessa... | 26,916 |
public void testBrowse() throws Exception { log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessa... | public void testBrowse() throws Exception { log.trace("Starting testBrowse()"); Connection conn = cf.createConnection(); Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer mp = sess.createProducer(queue); final int numMessa... | 26,917 |
public VmLocalVariable(char startPC, char length, String name, String signature, char index) { this.startPC = startPC; this.length = length; this.name = name; this.signature = signature; this.index = index; } | public VmLocalVariable(char startPC, char length, char nameIndex, char descriptorIndex, char index) { this.startPC = startPC; this.length = length; this.name = name; this.signature = signature; this.index = index; } | 26,918 |
public VmLocalVariable(char startPC, char length, String name, String signature, char index) { this.startPC = startPC; this.length = length; this.name = name; this.signature = signature; this.index = index; } | public VmLocalVariable(char startPC, char length, String name, String signature, char index) { this.startPC = startPC; this.length = length; this.name = name; this.signature = signature; this.index = index; } | 26,919 |
public String getName() { return this.name; } | public String getName() { return this.name; } | 26,920 |
public Class getCategory() { return JobStateReason.class; } | public final Class getCategory() { return JobStateReason.class; } | 26,921 |
public String getName() { return "job-state-reason"; } | public final String getName() { return "job-state-reason"; } | 26,922 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { requestType = in.readInt(); xid = (Xid)in.readObject(); txInfo = (TxState)in.readObject(); } | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { requestType = in.readInt(); xid = (Xid)in.readObject(); state = (TxState)in.readObject(); } | 26,923 |
public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(requestType); out.writeObject(xid); out.writeObject(txInfo); } | public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(requestType); out.writeObject(xid); out.writeObject(state); } | 26,924 |
public Point getPerimeterPoint(Point source, Point p) { // Compute relative bounds Rectangle r = getBounds(); int x = r.x; int y = r.y; int a = (r.width + 1) / 2; int b = (r.height + 1) / 2; // Get center int xCenter = (int) (x + a); int yCenter = (int) (y + b); // Compute angle int dx = p.x - xCenter; int... | public Point getPerimeterPoint(Point source, Point p) { // Compute relative bounds Rectangle r = getBounds(); int x = r.x; int y = r.y; int a = (r.width + 1) / 2; int b = (r.height + 1) / 2; // Get center int xCenter = (int) (x + a); int yCenter = (int) (y + b); // Compute angle int dx = p.x - xCenter; int... | 26,925 |
public MessageHolder(Message msg, PagingMessageStore ms) { this.msg = msg; this.ms = ms; } | public MessageHolder(Message msg, SimpleMessageStore ms) { this.msg = msg; this.ms = ms; } | 26,927 |
public SimpleMessageReference(MessageHolder holder, MessageStore ms) { this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), ... | public SimpleMessageReference() { this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), holder.getMessage().getPrio... | 26,928 |
public SimpleMessageReference(MessageHolder holder, MessageStore ms) { this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), ... | public SimpleMessageReference(MessageHolder holder, MessageStore ms) { this(holder.getMessage().getMessageID(), holder.getMessage().isReliable(), holder.getMessage().getExpiration(), holder.getMessage().getTimestamp(), holder.getMessage().getHeaders(), holder.getMessage().isRedelivered(), ... | 26,929 |
public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | 26,930 |
public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1.clone(eContext)); vstack.pushItem(v1.clone(eContext)); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack hel... | 26,931 |
public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | public final void visit_dup() { //TODO: port to orp-style os.log("dup"); vstack.push(eContext); Item v1 = vstack.popItem(); vstack.pushItem(v1); vstack.pushItem(v1); os.writeMOV(INTSIZE, T0, SP, 0); // Value1, leave on stack helper.writePUSH(T0); } | 26,932 |
public final void visit_ifeq(int address) { visit_ifxx(address, X86Constants.JE); // JE } | public final void visit_ifeq(int address) { visit_ifxx(Item.INT, address, X86Constants.JE); // JE } | 26,933 |
public final void visit_ifge(int address) { visit_ifxx(address, X86Constants.JGE); // JGE } | public final void visit_ifge(int address) { visit_ifxx(Item.INT, address, X86Constants.JGE); // JGE } | 26,934 |
public final void visit_ifgt(int address) { visit_ifxx(address, X86Constants.JG); // JG } | public final void visit_ifgt(int address) { visit_ifxx(Item.INT, address, X86Constants.JG); // JG } | 26,935 |
public final void visit_ifle(int address) { visit_ifxx(address, X86Constants.JLE); // JLE } | public final void visit_ifle(int address) { visit_ifxx(Item.INT, address, X86Constants.JLE); // JLE } | 26,936 |
public final void visit_iflt(int address) { visit_ifxx(address, X86Constants.JL); // JL } | public final void visit_iflt(int address) { visit_ifxx(Item.INT, address, X86Constants.JL); // JL } | 26,937 |
public final void visit_ifne(int address) { visit_ifxx(address, X86Constants.JNE); // JNE } | public final void visit_ifne(int address) { visit_ifxx(Item.INT, address, X86Constants.JNE); // JNE } | 26,938 |
public final void visit_ifnonnull(int address) { visit_ifxx(address, X86Constants.JNE); } | public final void visit_ifnonnull(int address) { visit_ifxx(Item.REFERENCE, address, X86Constants.JNE); } | 26,939 |
public final void visit_ifnull(int address) { visit_ifxx(address, X86Constants.JE); } | public final void visit_ifnull(int address) { visit_ifxx(Item.REFERENCE, address, X86Constants.JE); } | 26,940 |
private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... | private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.ge... | 26,941 |
private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... | private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... | 26,942 |
private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... | private void visit_ifxx(int address, int jccOpcode) { //IMPROVE: Constant case / Local case RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister(); os.writeTEST(r, r); //TODO: shall I flush the stack before a jump? os.writeJCC(helper.getInstrLabe... | 26,943 |
public final void visit_ishl() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... | public final void visit_ishl() { IntItem shift = vstack.popInt(); if (shift.getKind() != Item.CONSTANT) { requestRegister(ECX, shift); shift.loadTo(eContext, ECX); } IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v =... | 26,944 |
public final void visit_ishl() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... | public final void visit_ishl() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.getValue(); ... | 26,945 |
public final void visit_ishr() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... | public final void visit_ishr() { IntItem shift = vstack.popInt(); if (shift.getKind() != Item.CONSTANT) { requestRegister(ECX, shift); shift.loadTo(eContext, ECX); } IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v =... | 26,946 |
public final void visit_ishr() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { ... | public final void visit_ishr() { IntItem shift = vstack.popInt(); requestRegister(ECX, shift); IntItem value = vstack.popInt(); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.getValue(); ... | 26,947 |
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer res = INT; break; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERE... | 26,948 |
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float res = FLOAT; break; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERE... | 26,949 |
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array res = REFERENCE; br... | 26,950 |
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | 26,951 |
static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | static int SignatureToType(char type) { switch (type) { case 'Z' : // Boolean case 'B' : // Byte case 'C' : // Character case 'S' : // Short case 'I' : // Integer return INT; case 'F' : // Float return FLOAT; case 'L' : // Object case ';' : // Object case '[' : // Array return REFERENCE; ... | 26,952 |
Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | Item popItem() { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | 26,954 |
Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | Item popItem(int type) { if (tos == 0) pushStack(Item.UNKNOWN); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | 26,955 |
Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | Item popItem(int type) { if (tos == 0) pushStack(type); tos--; Item i = stack[tos]; stack[tos] =null; if (i.getType() != type) throw new VerifyError(); return i; } | 26,956 |
public Object addToEnvironment (String propName, Object propVal) throws NamingException; | Object addToEnvironment (String propName, Object propVal) throws NamingException; | 26,957 |
public void bind (Name name, Object obj) throws NamingException; | void bind (Name name, Object obj) throws NamingException; | 26,958 |
public void close () throws NamingException; | void close () throws NamingException; | 26,959 |
public Name composeName (Name name, Name prefix) throws NamingException; | Name composeName (Name name, Name prefix) throws NamingException; | 26,960 |
public Context createSubcontext (Name name) throws NamingException; | Context createSubcontext (Name name) throws NamingException; | 26,961 |
public void destroySubcontext (Name name) throws NamingException; | void destroySubcontext (Name name) throws NamingException; | 26,962 |
public String getNameInNamespace () throws NamingException; | String getNameInNamespace () throws NamingException; | 26,963 |
public NameParser getNameParser (Name name) throws NamingException; | NameParser getNameParser (Name name) throws NamingException; | 26,964 |
public NamingEnumeration list (Name name) throws NamingException; | NamingEnumeration list (Name name) throws NamingException; | 26,965 |
public NamingEnumeration listBindings (Name name) throws NamingException; | NamingEnumeration listBindings (Name name) throws NamingException; | 26,966 |
public Object lookupLink (Name name) throws NamingException; | Object lookupLink (Name name) throws NamingException; | 26,967 |
public Object removeFromEnvironment (String propName) throws NamingException; | Object removeFromEnvironment (String propName) throws NamingException; | 26,968 |
public void rename (Name oldName, Name newName) throws NamingException; | void rename (Name oldName, Name newName) throws NamingException; | 26,969 |
public CSSStyleDeclaration findRule(Element elem, String property, boolean inherit) { // loop through the styles in reverse order for(int s=styles.size()-1; s>=0; s--) { JStyle style = (JStyle)styles.get(s); // loop through each selector for the style for(int i=0; i<st... | public CSSStyleDeclaration findRule(Element elem, String property, boolean inherit) { // loop through the styles in reverse order for(int s=styles.size()-1; s>=0; s--) { JStyle style = (JStyle)styles.get(s); // loop through each selector for the style for(int i=0; i<st... | 26,970 |
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ... | public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ... | 26,971 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 26,972 |
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } // look-up destination DestinationManagerImpl dm = serverPeer.getDestinationManager(); if (jmsDest... | public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } // look-up destination DestinationManagerImpl dm = serverPeer.getDestinationManager(); if (jmsDest... | 26,973 |
public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } | public Subscription(Topic topic, String selector, boolean noLocal, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } | 26,974 |
public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, ms, null); } | public Subscription(Topic topic, String selector, MessageStoreDelegate ms) { this("sub" + new GUID().toString(), topic, selector, noLocal, ms, null); } | 26,975 |
protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { if (trace) { log.trace("creating consume... | protected ServerConsumerEndpoint(int id, Channel channel, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal, JBossDestination dest) throws InvalidSelectorException { if (trace) { log.... | 26,976 |
public void run() { if (trace) { log.trace("running connection consumer"); } try { List mesList = new ArrayList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); }... | public void run() { if (trace) { log.trace("running connection consumer"); } try { List mesList = new ArrayList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); }... | 26,980 |
public void testUnsubscribeDurableSubscription() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("ConnectionFactory"); Topic topic = (Topic)ic.lookup("/topic/Topic"); Connection conn = cf.createConnection(); conn.setClientID("ak47"); Session s = conn.createSession(fa... | public void testUnsubscribeDurableSubscription() throws Exception { ConnectionFactory cf = (ConnectionFactory)ic.lookup("ConnectionFactory"); Topic topic = (Topic)ic.lookup("/topic/Topic"); Connection conn = cf.createConnection(); conn.setClientID("ak47"); Session s = conn.createSession(fa... | 26,981 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JBossObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputS... | 26,983 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JMSObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputStr... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { //Sanity check if (!(in instanceof JMSObjectInputStream)) { throw new IllegalStateException("InputStream must be an JBossObjectInputStream"); } JMSObjectInputStream ois = (JMSObjectInputS... | 26,984 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.