rem
stringlengths 0
477k
| add
stringlengths 0
313k
| context
stringlengths 6
599k
| meta
stringlengths 141
403
|
---|---|---|---|
{ JPanel p = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.anchor = GridBagConstraints.EAST; c.ipadx = txtWidth/2; gridbag.setConstraints(zoomField, c); p.add(zoomField); p.setAlignmentX(LEFT_ALIGNMENT); return p; } | { JPanel p = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.anchor = GridBagConstraints.EAST; c.ipadx = txtWidth/2; gridbag.setConstraints(zoomField, c); p.add(zoomField); p.setAlignmentX(LEFT_ALIGNMENT); return p; } | private JPanel buildTextPanel() { JPanel p = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); c.gridx = 0; c.gridy = 0; c.anchor = GridBagConstraints.EAST; c.ipadx = txtWidth/2; gridbag.setConstraints(zoomField, c); p.add(zoomField); p.setAlignmentX(LEFT_ALIGNMENT); return p; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c61e383c3ea1df4e7b870a5e40d70e12c9ce01f4/ZoomBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/zooming/ZoomBar.java |
private void buildToolBar() { setFloatable(false); putClientProperty("JToolBar.isRollover", Boolean.TRUE); add(zoomOut); add(zoomIn); add(zoomFit); add(buildTextPanel()); } | private JToolBar buildToolBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(zoomOut); bar.add(zoomIn); bar.add(zoomFit); bar.add(buildTextPanel()); return bar; } | private void buildToolBar() { setFloatable(false); putClientProperty("JToolBar.isRollover", Boolean.TRUE); add(zoomOut); add(zoomIn); add(zoomFit); add(buildTextPanel()); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c61e383c3ea1df4e7b870a5e40d70e12c9ce01f4/ZoomBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/zooming/ZoomBar.java |
{ FontMetrics metrics = getFontMetrics(getFont()); txtWidth = MAX_LETTER.length()*metrics.charWidth('m'); } | { FontMetrics metrics = getFontMetrics(getFont()); txtWidth = MAX_LETTER.length()*metrics.charWidth('m'); } | private void initTxtWidth() { FontMetrics metrics = getFontMetrics(getFont()); txtWidth = MAX_LETTER.length()*metrics.charWidth('m'); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c61e383c3ea1df4e7b870a5e40d70e12c9ce01f4/ZoomBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/zooming/ZoomBar.java |
{ | { | private void initZoomComponents(double magFactor) { //buttons String s = ""+(int)(magFactor*100)+"%"; IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); zoomOut = new JButton(im.getIcon(IconManager.ZOOMOUT)); zoomOut.setToolTipText( UIUtilities.formatToolTipText("Zoom out.")); zoomFit = new JButton(im.getIcon(IconManager.ZOOMFIT)); zoomFit.setToolTipText( UIUtilities.formatToolTipText("Reset.")); zoomField = new JTextField(s, MAX_LETTER.length()); zoomField.setForeground(Viewer.STEELBLUE); zoomField.setToolTipText( UIUtilities.formatToolTipText("zooming percentage.")); //Set the separator of tbContainer. tbContainer.setSeparator( UIUtilities.toolBarSeparator(zoomIn, zoomInIcon)); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c61e383c3ea1df4e7b870a5e40d70e12c9ce01f4/ZoomBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/zooming/ZoomBar.java |
IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); zoomOut = new JButton(im.getIcon(IconManager.ZOOMOUT)); zoomOut.setToolTipText( UIUtilities.formatToolTipText("Zoom out.")); zoomFit = new JButton(im.getIcon(IconManager.ZOOMFIT)); zoomFit.setToolTipText( UIUtilities.formatToolTipText("Reset.")); zoomField = new JTextField(s, MAX_LETTER.length()); zoomField.setForeground(Viewer.STEELBLUE); zoomField.setToolTipText( UIUtilities.formatToolTipText("zooming percentage.")); tbContainer.setSeparator( UIUtilities.toolBarSeparator(zoomIn, zoomInIcon)); } | IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); zoomOut = new JButton(im.getIcon(IconManager.ZOOMOUT)); zoomOut.setToolTipText( UIUtilities.formatToolTipText("Zoom out.")); zoomFit = new JButton(im.getIcon(IconManager.ZOOMFIT)); zoomFit.setToolTipText( UIUtilities.formatToolTipText("Reset.")); zoomField = new JTextField(s, MAX_LETTER.length()); zoomField.setForeground(Viewer.STEELBLUE); zoomField.setToolTipText( UIUtilities.formatToolTipText("zooming percentage.")); } | private void initZoomComponents(double magFactor) { //buttons String s = ""+(int)(magFactor*100)+"%"; IconManager im = IconManager.getInstance(registry); Icon zoomInIcon = im.getIcon(IconManager.ZOOMIN); zoomIn = new JButton(zoomInIcon); zoomIn.setToolTipText( UIUtilities.formatToolTipText("Zoom in.")); zoomOut = new JButton(im.getIcon(IconManager.ZOOMOUT)); zoomOut.setToolTipText( UIUtilities.formatToolTipText("Zoom out.")); zoomFit = new JButton(im.getIcon(IconManager.ZOOMFIT)); zoomFit.setToolTipText( UIUtilities.formatToolTipText("Reset.")); zoomField = new JTextField(s, MAX_LETTER.length()); zoomField.setForeground(Viewer.STEELBLUE); zoomField.setToolTipText( UIUtilities.formatToolTipText("zooming percentage.")); //Set the separator of tbContainer. tbContainer.setSeparator( UIUtilities.toolBarSeparator(zoomIn, zoomInIcon)); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c61e383c3ea1df4e7b870a5e40d70e12c9ce01f4/ZoomBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/zooming/ZoomBar.java |
return args[0] == this ? this : newInstance(getMetaClass(), args); | if(args[0] == this) { return this; } RubyException ret = (RubyException)rbClone(); ret.initialize(args); return ret; | public RubyException exception(IRubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : return args[0] == this ? this : newInstance(getMetaClass(), args); default : throw getRuntime().newArgumentError("Wrong argument count"); } } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/8d31263748c5d68a8c9468b1518474ad90da8276/RubyException.java/buggy/src/org/jruby/RubyException.java |
public RGBBuffer(int sizeX1, int sizeX2) { this.sizeX1 = sizeX1; this.sizeX2 = sizeX2; bands = new byte[3][]; for (int i = 0; i < 3; ++i) bands[i] = new byte[sizeX1*sizeX2]; } | protected RGBBuffer() {} | public RGBBuffer(int sizeX1, int sizeX2) { this.sizeX1 = sizeX1; this.sizeX2 = sizeX2; bands = new byte[3][]; for (int i = 0; i < 3; ++i) bands[i] = new byte[sizeX1*sizeX2]; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/64e6d912272b039f986c1a36d1ca930cc5578578/RGBBuffer.java/clean/components/common/src/omeis/providers/re/RGBBuffer.java |
public Integer getAnnotationCount() | public Long getAnnotationCount() | public Integer getAnnotationCount() { if (annotationCount == null) annotationCount = getCount(Dataset.ANNOTATIONS); return annotationCount; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5cf7600e57b91582faffc324a3d36ec6215ff803/DatasetData.java/clean/components/client/src/pojos/DatasetData.java |
new Integer(annotationCount.intValue()-1); | new Long(annotationCount.longValue()-1); | public void setAnnotations(Set newValue) { Set currentValue = getAnnotations(); SetMutator m = new SetMutator(currentValue, newValue); while (m.moreDeletions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextDeletion().asDatasetAnnotation()); annotationCount = annotationCount == null ? null : new Integer(annotationCount.intValue()-1); } while (m.moreAdditions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextAddition().asDatasetAnnotation()); annotationCount = annotationCount == null ? null : new Integer(annotationCount.intValue()+1); } annotations = m.result(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5cf7600e57b91582faffc324a3d36ec6215ff803/DatasetData.java/clean/components/client/src/pojos/DatasetData.java |
new Integer(annotationCount.intValue()+1); | new Long(annotationCount.longValue()+1); | public void setAnnotations(Set newValue) { Set currentValue = getAnnotations(); SetMutator m = new SetMutator(currentValue, newValue); while (m.moreDeletions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextDeletion().asDatasetAnnotation()); annotationCount = annotationCount == null ? null : new Integer(annotationCount.intValue()-1); } while (m.moreAdditions()) { setDirty(true); asDataset().removeDatasetAnnotation( m.nextAddition().asDatasetAnnotation()); annotationCount = annotationCount == null ? null : new Integer(annotationCount.intValue()+1); } annotations = m.result(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5cf7600e57b91582faffc324a3d36ec6215ff803/DatasetData.java/clean/components/client/src/pojos/DatasetData.java |
array.setRubyClass((RubyClass) recv); | array.setInternalClass((RubyClass) recv); | public static RubyArray create(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime(), args); array.setRubyClass((RubyClass) recv); return array; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyArray.java/clean/org/jruby/RubyArray.java |
array.setRubyClass((RubyClass) recv); | array.setInternalClass((RubyClass) recv); | public static RubyArray newInstance(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime()); array.setRubyClass((RubyClass) recv); array.callInit(args); return array; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyArray.java/clean/org/jruby/RubyArray.java |
RubyArray result = newArray(input.getRuby()); | RubyArray result = newArray(input.getRuntime()); | public static RubyArray unmarshalFrom(UnmarshalStream input) throws java.io.IOException { RubyArray result = newArray(input.getRuby()); int size = input.unmarshalInt(); for (int i = 0; i < size; i++) { result.append(input.unmarshalObject()); } return result; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyArray.java/clean/org/jruby/RubyArray.java |
this(type, null, null, null); } | this(type, null, null, null); } | protected Node(int type) { this(type, null, null, null); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
public void accept(NodeVisitor iVisitor) { | public void accept(NodeVisitor iVisitor) { | public void accept(NodeVisitor iVisitor) { } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
} | } | public void accept(NodeVisitor iVisitor) { } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); | Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); | public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); | if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); | public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
copy.setTable(newTable); } | copy.setTable(newTable); } | public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return copy; } | return copy; } | public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode()); if (getTable() != null) { List newTable = new ArrayList(getTable().size()); newTable.addAll(getTable()); copy.setTable(newTable); } return copy; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
ruby.getRuntime().getErrorStream().println(file+":"+line+" Unsupported feature, node class is" + this.getClass()); throw new UnsupportedOperationException(); } | ruby.getRuntime().getErrorStream().println(file + ":" + line + " Unsupported feature, node class is" + this.getClass()); throw new UnsupportedOperationException(); } | public RubyObject eval(Ruby ruby, RubyObject self) { ruby.getRuntime().getErrorStream().println(file+":"+line+" Unsupported feature, node class is" + this.getClass()); throw new UnsupportedOperationException(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u3; } | return (String) u3; } | public String getAId() { return (String)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u2 == null ? 0 : ((Integer)u2).intValue(); } | return u2 == null ? 0 : ((Integer) u2).intValue(); } | public int getALength() { return u2 == null ? 0 : ((Integer)u2).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u2 == null ? 0 : ((Integer)u2).intValue(); } | return u2 == null ? 0 : ((Integer) u2).intValue(); } | public int getArgsCount() { return u2 == null ? 0 : ((Integer)u2).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getArgsNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getBeginNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u2; } | return (Node) u2; } | public Node getBodyNode() { return (Node)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u2 == null ? 0 : ((Integer)u2).intValue(); } | return u2 == null ? 0 : ((Integer) u2).intValue(); } | public int getCFlag() { return u2 == null ? 0 : ((Integer)u2).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (RubyObject)u3; } | return (RubyObject) u3; } | public RubyObject getCValue() { return (RubyObject)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Callback)u1; } | return (Callback) u1; } | public Callback getCallbackMethod() { return (Callback)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u1; } | return (String) u1; } | public String getClassNameId() { return (String)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (RubyObject)u1; } | return (RubyObject) u1; } | public RubyObject getClassValue() { return (RubyObject)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getConditionNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u3 == null ? 0 : ((Integer)u3).intValue(); } | return u3 == null ? 0 : ((Integer) u3).intValue(); } | public int getCount() { return u3 == null ? 0 : ((Integer)u3).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getDefnNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getElseNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u2; } | return (Node) u2; } | public Node getEndNode() { return (Node)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getEnsureNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (RubyGlobalEntry)u3; } | return (RubyGlobalEntry) u3; } | public RubyGlobalEntry getEntry() { return (RubyGlobalEntry)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return file; } | return file; } | public String getFile() { return file; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getFirstNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getFrmlNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getHeadNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u2; } | return (Node) u2; } | public Node getIBodyNode() { return (Node)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getIterNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return line; } | return line; } | public int getLine() { return line; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (RubyObject)u1; } | return (RubyObject) u1; } | public RubyObject getLiteral() { return (RubyObject)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u2; } | return (String) u2; } | public String getMId() { return (String)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u1; } | return (String) u1; } | public String getModlId() { return (String)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u2; } | return (String) u2; } | public String getNewId() { return (String)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getNextNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u1 == null ? 0 : ((Integer)u1).intValue(); } | return u1 == null ? 0 : ((Integer) u1).intValue(); } | public int getNoex() { return u1 == null ? 0 : ((Integer)u1).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u2 == null ? 0 : ((Integer)u2).intValue(); } | return u2 == null ? 0 : ((Integer) u2).intValue(); } | public int getNth() { return u2 == null ? 0 : ((Integer)u2).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u1; } | return (String) u1; } | public String getOldId() { return (String)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getOptNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (RubyObject)u3; } | return (RubyObject) u3; } | public RubyObject getOrigin() { return (RubyObject)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getRecvNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (CRefNode)u2; } | return (CRefNode) u2; } | public CRefNode getRefValue() { return (CRefNode)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u2; } | return (Node) u2; } | public Node getResqNode() { return (Node)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u2 == null ? 0 : ((Integer)u2).intValue(); } | return u2 == null ? 0 : ((Integer) u2).intValue(); } | public int getRest() { return u2 == null ? 0 : ((Integer)u2).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u2; } | return (Node) u2; } | public Node getSecondNode() { return (Node)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return u3 == null ? 0 : ((Integer)u3).intValue(); } | return u3 == null ? 0 : ((Integer) u3).intValue(); } | public int getState() { return u3 == null ? 0 : ((Integer)u3).intValue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getSttsNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u3; } | return (Node) u3; } | public Node getSuperNode() { return (Node)u3; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (RubyObject)u2; } | return (RubyObject) u2; } | public RubyObject getTValue() { return (RubyObject)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (List)u1; } | return (List) u1; } | public List getTable() { return (List)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u1; } | return (String) u1; } | public String getTagId() { return (String)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return type; } | return type; } | public int getType() { return type; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (String)u1; } | return (String) u1; } | public String getVId() { return (String)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u2; } | return (Node) u2; } | public Node getValueNode() { return (Node)u2; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return (Node)u1; } | return (Node) u1; } | public Node getVarNode() { return (Node)u1; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u3 = newAid; } | u3 = newAid; } | public void setAId(String newAid) { u3 = newAid; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u2 = new Integer(alength); } | u2 = new Integer(alength); } | public void setALength(int alength) { u2 = new Integer(alength); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u3 = newArgsNode; } | u3 = newArgsNode; } | public void setArgsNode(Node newArgsNode) { u3 = newArgsNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u1 = newBeginNode; } | u1 = newBeginNode; } | public void setBeginNode(Node newBeginNode) { u1 = newBeginNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u2 = cflag == 0 ? null : new Integer(cflag); } | u2 = cflag == 0 ? null : new Integer(cflag); } | public void setCFlag(int cflag) { u2 = cflag == 0 ? null : new Integer(cflag); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u1 = newClassValue; } | u1 = newClassValue; } | public void setClassValue(RubyObject newClassValue) { u1 = newClassValue; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u3 = newCount == 0 ? null : new Integer(newCount); } | u3 = newCount == 0 ? null : new Integer(newCount); } | public void setCount(int newCount) { u3 = newCount == 0 ? null : new Integer(newCount); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u2 = newEndNode; } | u2 = newEndNode; } | public void setEndNode(Node newEndNode) { u2 = newEndNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
this.file = file; } | this.file = file; } | public void setFile(String file) { this.file = file; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u1 = headNode; } | u1 = headNode; } | public void setHeadNode(Node headNode) { u1 = headNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u3 = newIterNode; } | u3 = newIterNode; } | public void setIterNode(Node newIterNode) { u3 = newIterNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
this.line = line; } | this.line = line; } | public void setLine(int line) { this.line = line; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u1 = newLiteral; } | u1 = newLiteral; } | public void setLiteral(RubyObject newLiteral) { u1 = newLiteral; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u3 = nextNode; } | u3 = nextNode; } | public void setNextNode(Node nextNode) { u3 = nextNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u1 = newNoex == 0 ? null : new Integer(newNoex); } | u1 = newNoex == 0 ? null : new Integer(newNoex); } | public void setNoex(int newNoex) { u1 = newNoex == 0 ? null : new Integer(newNoex); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u2 = newNth == 0 ? null : new Integer(newNth); } | u2 = newNth == 0 ? null : new Integer(newNth); } | public void setNth(int newNth) { u2 = newNth == 0 ? null : new Integer(newNth); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u2 = newRefValue; } | u2 = newRefValue; } | public void setRefValue(CRefNode newRefValue) { u2 = newRefValue; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u1 = newTable; } | u1 = newTable; } | public void setTable(List newTable) { u1 = newTable; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
u2 = newValueNode; } | u2 = newValueNode; } | public void setValueNode(Node newValueNode) { u2 = newValueNode; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
if (io == null) return "null"; else return io.toString(); } | if (io == null) return "null"; else return io.toString(); } | protected String stringOrNull(Object io) { if (io == null) return "null"; else return io.toString(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java |
return JavaObject.wrap(getRuntime(), cause); | return getRuntime().getModule("JavaUtilities").callMethod(getRuntime().getCurrentContext(), "wrap", JavaObject.wrap(getRuntime(), cause)); | public IRubyObject cause() { return JavaObject.wrap(getRuntime(), cause); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f5308c71bb6aebeec97981ce3cb34e636a1c531b/NativeException.java/clean/src/org/jruby/NativeException.java |
bookmarkButton.setToolTipText("View Bookmarks"); | bookmarkButton.setToolTipText(Res.getString("title.view.bookmarks")); | public void initialize() { final SwingWorker bookmarkThreadWorker = new SwingWorker() { public Object construct() { // Register own provider for simpler implementation. PrivateDataManager.addPrivateDataProvider("storage", "storage:bookmarks", new Bookmarks.Provider()); PrivateDataManager manager = new PrivateDataManager(SparkManager.getConnection()); Bookmarks bookmarks = null; try { bookmarks = (Bookmarks)manager.getPrivateData("storage", "storage:bookmarks"); } catch (XMPPException e) { Log.error(e); } return bookmarks; } public void finished() { final Bookmarks bookmarks = (Bookmarks)get(); final JPopupMenu popup = new JPopupMenu(); if (bookmarks != null) { // Add to status bar final JPanel commandPanel = SparkManager.getWorkspace().getStatusBar().getCommandPanel(); final RolloverButton bookmarkButton = new RolloverButton(SparkRes.getImageIcon(SparkRes.BOOKMARK_ICON)); bookmarkButton.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent mouseEvent) { popup.show(bookmarkButton, mouseEvent.getX(), mouseEvent.getY()); } }); bookmarkButton.setToolTipText("View Bookmarks"); commandPanel.add(bookmarkButton); SparkManager.getWorkspace().getStatusBar().invalidate(); SparkManager.getWorkspace().getStatusBar().validate(); SparkManager.getWorkspace().getStatusBar().repaint(); Collection bookmarkedConferences = bookmarks.getBookmarkedConferences(); final Collection bookmarkedLinks = bookmarks.getBookmarkedURLS(); final Iterator bookmarkLinks = bookmarkedLinks.iterator(); while (bookmarkLinks.hasNext()) { final BookmarkedURL link = (BookmarkedURL)bookmarkLinks.next(); Action urlAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { try { BrowserLauncher.openURL(link.getURL()); } catch (IOException e) { Log.error(e); } } }; urlAction.putValue(Action.NAME, link.getName()); urlAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.LINK_16x16)); popup.add(urlAction); } final Iterator bookmarkConferences = bookmarkedConferences.iterator(); while (bookmarkConferences.hasNext()) { final BookmarkedConference conferences = (BookmarkedConference)bookmarkConferences.next(); Action conferenceAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { SwingWorker worker = new SwingWorker() { public Object construct() { try { Thread.sleep(10); } catch (InterruptedException e1) { Log.error(e1); } return "ok"; } public void finished() { ConferenceUtils.autoJoinConferenceRoom(conferences.getName(), conferences.getJid(), conferences.getPassword()); } }; worker.start(); } }; conferenceAction.putValue(Action.NAME, conferences.getName()); conferenceAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.CONFERENCE_IMAGE_16x16)); popup.add(conferenceAction); } } } }; bookmarkThreadWorker.start(); } | 52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/ede843505c046d47bba853e049191aedc32bd2fe/BookmarkPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/bookmarks/BookmarkPlugin.java |
bookmarkButton.setToolTipText("View Bookmarks"); | bookmarkButton.setToolTipText(Res.getString("title.view.bookmarks")); | public void finished() { final Bookmarks bookmarks = (Bookmarks)get(); final JPopupMenu popup = new JPopupMenu(); if (bookmarks != null) { // Add to status bar final JPanel commandPanel = SparkManager.getWorkspace().getStatusBar().getCommandPanel(); final RolloverButton bookmarkButton = new RolloverButton(SparkRes.getImageIcon(SparkRes.BOOKMARK_ICON)); bookmarkButton.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent mouseEvent) { popup.show(bookmarkButton, mouseEvent.getX(), mouseEvent.getY()); } }); bookmarkButton.setToolTipText("View Bookmarks"); commandPanel.add(bookmarkButton); SparkManager.getWorkspace().getStatusBar().invalidate(); SparkManager.getWorkspace().getStatusBar().validate(); SparkManager.getWorkspace().getStatusBar().repaint(); Collection bookmarkedConferences = bookmarks.getBookmarkedConferences(); final Collection bookmarkedLinks = bookmarks.getBookmarkedURLS(); final Iterator bookmarkLinks = bookmarkedLinks.iterator(); while (bookmarkLinks.hasNext()) { final BookmarkedURL link = (BookmarkedURL)bookmarkLinks.next(); Action urlAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { try { BrowserLauncher.openURL(link.getURL()); } catch (IOException e) { Log.error(e); } } }; urlAction.putValue(Action.NAME, link.getName()); urlAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.LINK_16x16)); popup.add(urlAction); } final Iterator bookmarkConferences = bookmarkedConferences.iterator(); while (bookmarkConferences.hasNext()) { final BookmarkedConference conferences = (BookmarkedConference)bookmarkConferences.next(); Action conferenceAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { SwingWorker worker = new SwingWorker() { public Object construct() { try { Thread.sleep(10); } catch (InterruptedException e1) { Log.error(e1); } return "ok"; } public void finished() { ConferenceUtils.autoJoinConferenceRoom(conferences.getName(), conferences.getJid(), conferences.getPassword()); } }; worker.start(); } }; conferenceAction.putValue(Action.NAME, conferences.getName()); conferenceAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.CONFERENCE_IMAGE_16x16)); popup.add(conferenceAction); } } } | 52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/ede843505c046d47bba853e049191aedc32bd2fe/BookmarkPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/bookmarks/BookmarkPlugin.java |
int r = x; | int r; | public int transform(int x) { int r = x; if (psCtx.IsConstant()) r = transformConstant(x); else r = transformNonConstant(x); return r; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1af109c95da3a7c178aa582fbdc0a6c825b00e8c/PlaneSlicingMap.java/buggy/SRC/org/openmicroscopy/shoola/env/rnd/codomain/PlaneSlicingMap.java |
for (int i = 0; i < existingMenus.length; i++) { | for (int i = 0; i < existingMenus.length; i++) | public void addToMenuBar(JMenu[] menus, boolean before) { JMenuBar bar = getJMenuBar(); if (before) { JMenu[] existingMenus = new JMenu[bar.getMenuCount()]; for (int i = 0; i < existingMenus.length; i++) { existingMenus[i] = bar.getMenu(i); } bar.removeAll(); for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } for (int i = 0; i < existingMenus.length; i++) { bar.add(existingMenus[i]); } } else { for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bbd964029121f2811ba2b7cf47a392087032888c/TaskBarView.java/clean/SRC/org/openmicroscopy/shoola/env/ui/TaskBarView.java |
} | public void addToMenuBar(JMenu[] menus, boolean before) { JMenuBar bar = getJMenuBar(); if (before) { JMenu[] existingMenus = new JMenu[bar.getMenuCount()]; for (int i = 0; i < existingMenus.length; i++) { existingMenus[i] = bar.getMenu(i); } bar.removeAll(); for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } for (int i = 0; i < existingMenus.length; i++) { bar.add(existingMenus[i]); } } else { for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bbd964029121f2811ba2b7cf47a392087032888c/TaskBarView.java/clean/SRC/org/openmicroscopy/shoola/env/ui/TaskBarView.java |
|
for (int j = 0; j < menus.length; j++) { | for (int j = 0; j < menus.length; j++) | public void addToMenuBar(JMenu[] menus, boolean before) { JMenuBar bar = getJMenuBar(); if (before) { JMenu[] existingMenus = new JMenu[bar.getMenuCount()]; for (int i = 0; i < existingMenus.length; i++) { existingMenus[i] = bar.getMenu(i); } bar.removeAll(); for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } for (int i = 0; i < existingMenus.length; i++) { bar.add(existingMenus[i]); } } else { for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bbd964029121f2811ba2b7cf47a392087032888c/TaskBarView.java/clean/SRC/org/openmicroscopy/shoola/env/ui/TaskBarView.java |
} for (int i = 0; i < existingMenus.length; i++) { | for (int i = 0; i < existingMenus.length; i++) | public void addToMenuBar(JMenu[] menus, boolean before) { JMenuBar bar = getJMenuBar(); if (before) { JMenu[] existingMenus = new JMenu[bar.getMenuCount()]; for (int i = 0; i < existingMenus.length; i++) { existingMenus[i] = bar.getMenu(i); } bar.removeAll(); for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } for (int i = 0; i < existingMenus.length; i++) { bar.add(existingMenus[i]); } } else { for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bbd964029121f2811ba2b7cf47a392087032888c/TaskBarView.java/clean/SRC/org/openmicroscopy/shoola/env/ui/TaskBarView.java |
} | public void addToMenuBar(JMenu[] menus, boolean before) { JMenuBar bar = getJMenuBar(); if (before) { JMenu[] existingMenus = new JMenu[bar.getMenuCount()]; for (int i = 0; i < existingMenus.length; i++) { existingMenus[i] = bar.getMenu(i); } bar.removeAll(); for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } for (int i = 0; i < existingMenus.length; i++) { bar.add(existingMenus[i]); } } else { for (int j = 0; j < menus.length; j++) { bar.add(menus[j]); } } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bbd964029121f2811ba2b7cf47a392087032888c/TaskBarView.java/clean/SRC/org/openmicroscopy/shoola/env/ui/TaskBarView.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.