rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
void setSelectionInterval(int index0, int index1); | void setSelectionInterval(int anchor, int lead); | void setSelectionInterval(int index0, int index1); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/ListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/ListSelectionModel.java |
void setSelectionMode(int a); | void setSelectionMode(int mode); | void setSelectionMode(int a); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/ListSelectionModel.java/clean/core/src/classpath/javax/javax/swing/ListSelectionModel.java |
protected void resolve() throws PluginException { | protected void resolve(PluginRegistryModel registry) throws PluginException { | protected void resolve() throws PluginException { for (int i = 0; i < libraries.length; i++) { libraries[i].resolve(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/RuntimeModel.java/clean/core/src/core/org/jnode/plugin/model/RuntimeModel.java |
libraries[i].resolve(); | libraries[i].resolve(registry); | protected void resolve() throws PluginException { for (int i = 0; i < libraries.length; i++) { libraries[i].resolve(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/RuntimeModel.java/clean/core/src/core/org/jnode/plugin/model/RuntimeModel.java |
protected void unresolve() throws PluginException { | protected void unresolve(PluginRegistryModel registry) throws PluginException { | protected void unresolve() throws PluginException { for (int i = 0; i < libraries.length; i++) { libraries[i].unresolve(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/RuntimeModel.java/clean/core/src/core/org/jnode/plugin/model/RuntimeModel.java |
libraries[i].unresolve(); | libraries[i].unresolve(registry); | protected void unresolve() throws PluginException { for (int i = 0; i < libraries.length; i++) { libraries[i].unresolve(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/RuntimeModel.java/clean/core/src/core/org/jnode/plugin/model/RuntimeModel.java |
return false; | return all; | private boolean evaluateImpl(Node context, int pos, int len) { Object left = lhs.evaluate(context, pos, len); Object right = rhs.evaluate(context, pos, len); /* * If both objects to be compared are node-sets, then the comparison * will be true if and only if there is a node in the first node-set and... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e81465c8dc08fe3c0a055c4bb1c2588e37b39c25/EqualityExpr.java/clean/core/src/classpath/gnu/gnu/xml/xpath/EqualityExpr.java |
AxisInterface axis0 = (AxisInterface) CurrentArray.getAxisList().get(0); AxisInterface axis1 = (AxisInterface) CurrentArray.getAxisList().get(1); | public void action () { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) return; // now we... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.errorln("Location:["+myLocator.getAxisLocation(axis0)+","+myLocator.getAxisLocation(axis1)+"]"); | public void action () { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) return; // now we... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.errorln("FOR Start handler not implemented yet."); | for (int i = 0; i < attrs.getLength(); i++) { String name = attrs.getName(i); if (name.equals("axisIdRef") ) { AxisReadOrder.add(AxisObj.get(attrs.getValue(i))); } else Log.warnln("Warning: got weird attribute:"+name+" on for node"); } | public void action (AttributeList attrs) { Log.errorln("FOR Start handler not implemented yet."); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
AxisReadOrder = new ArrayList(); | public void action (AttributeList attrs) { // save these for later, when we know what kind of dataIOstyle we got DataIOStyleAttribs = attrs; // clear out the format command object array // (its used by Formatted reads only, but this is reasonable // spot to do this)... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
ArrayList axisList = (ArrayList) CurrentArray.getAxisList(); Axis lastAxisObject = (Axis) axisList.get(axisList.size()-1); | Axis lastAxisObject = (Axis) CurrentArray.getAxisList().get(CurrentArray.getAxisList().size()-1); | public void action (AttributeList attrs) { // grab parent node name String gParentNodeName = getGrandParentNodeName(); // create new object appropriately Unit newunit = new Unit(); newunit.setXMLAttributes(attrs); // determine where this goes and then inse... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
String delimiter = (String) CurrentValueListParameter.get("delimiter"); String repeatable = (String) CurrentValueListParameter.get("repeatable"); | public void action (char buf [], int offset, int len) { String valueListString = new String (buf, offset, len); // get the last axis List axisList = (List) CurrentArray.getAxisList(); Axis lastAxisObject = (Axis) axisList.get(axisList.size()-1); // split up string int... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
CurrentValueListParameter.put("isDelimitedCase", "true"); | public void action (char buf [], int offset, int len) { String valueListString = new String (buf, offset, len); // get the last axis List axisList = (List) CurrentArray.getAxisList(); Axis lastAxisObject = (Axis) axisList.get(axisList.size()-1); // split up string int... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
CurrentValueListParameter = new Hashtable(); | public void action (AttributeList attrs) { // 1. grab parent node name String parentNodeName = getParentNodeName(); // 2. try to determine values from attributes (e.g. algorithm method) ArrayList values = getValueListNodeValues(attrs); // 3. IT could be that no ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
ArrayList values = getValueListNodeValues(attrs); | for (int i = 0; i < attrs.getLength(); i++) { if (attrs.getValue(i) != null) CurrentValueListParameter.put(attrs.getName(i), attrs.getValue(i)); } CurrentValueListParameter.put("isDelimitedCase", "false"); | public void action (AttributeList attrs) { // 1. grab parent node name String parentNodeName = getParentNodeName(); // 2. try to determine values from attributes (e.g. algorithm method) ArrayList values = getValueListNodeValues(attrs); // 3. IT could be that no ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
if(values.size() > 0 ) { ArrayList valueObjList = new ArrayList(); if( parentNodeName.equals(XDFNodeName.AXIS) ) { List axisList = (List) CurrentArray.getAxisList(); Axis lastAxisObject = (Axis) axisList.get(axisList.size()-1); Iterator iter = values.iterator(); while (iter.hasNext()) { String valuePCDATA = (S... | public void action (AttributeList attrs) { // 1. grab parent node name String parentNodeName = getParentNodeName(); // 2. try to determine values from attributes (e.g. algorithm method) ArrayList values = getValueListNodeValues(attrs); // 3. IT could be that no ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.errorln("setData:["+thisString+"]["+dataLocator.getAxisLocation(FastestAxis)+"]"); | private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat ) { // Note that we dont treat binary data at all try { Log.erro... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
private ArrayList getValueListNodeValues (AttributeList attrs) { | private ArrayList getValueListNodeValues () { | private ArrayList getValueListNodeValues (AttributeList attrs) { ArrayList values = new ArrayList(); // parameters for the algorithm int size = DefaultValueListSize; int start = DefaultValueListStart; int step = DefaultValueListStep; // Capture any overridding Valuelist attribu... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
int size = DefaultValueListSize; int start = DefaultValueListStart; int step = DefaultValueListStep; for (int i = 0; i < attrs.getLength(); i++) { String name = attrs.getName(i); if ( name.equals("size") ) { Integer tmp = new Integer (attrs.getValue(i)); size = tmp.intValue(); } else if ( name.equals("step")) { In... | int size = Integer.valueOf((String) CurrentValueListParameter.get("size")).intValue(); int start = Integer.valueOf((String) CurrentValueListParameter.get("start")).intValue(); int step = Integer.valueOf((String) CurrentValueListParameter.get("step")).intValue(); | private ArrayList getValueListNodeValues (AttributeList attrs) { ArrayList values = new ArrayList(); // parameters for the algorithm int size = DefaultValueListSize; int start = DefaultValueListStart; int step = DefaultValueListStep; // Capture any overridding Valuelist attribu... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
endElementHandlerHashtable.put(XDFNodeName.VALUELIST, new valueListEndElementHandlerFunc()); | private void initEndHandlerHashtable () { endElementHandlerHashtable.put(XDFNodeName.DATA, new dataEndElementHandlerFunc()); endElementHandlerHashtable.put(XDFNodeName.FIELDGROUP, new fieldGroupEndElementHandlerFunc()); endElementHandlerHashtable.put(XDFNodeName.NOTES, new notesEndElementHandlerFu... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/7042e9fdb436dcb2d51bc0e24c9c0b5ef4038471/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
protected ViewListener() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | ||
boolean changed = (x != getX()) || (y != getY()) || (w != getWidth()) || (h != getHeight()); | public void reshape(int x, int y, int w, int h) { boolean changed = (x != getX()) || (y != getY()) || (w != getWidth()) || (h != getHeight()); if (w != getWidth() || h != getHeight()) sizeChanged = true; super.reshape(x, y, w, h); if (changed) { damaged = true; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | |
if (changed) | if (sizeChanged) | public void reshape(int x, int y, int w, int h) { boolean changed = (x != getX()) || (y != getY()) || (w != getWidth()) || (h != getHeight()); if (w != getWidth() || h != getHeight()) sizeChanged = true; super.reshape(x, y, w, h); if (changed) { damaged = true; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java |
if (isShowing()) getView().validate(); | public void scrollRectToVisible(Rectangle contentRect) { Point pos = getViewPosition(); Rectangle viewBounds = getView().getBounds(); Rectangle portBounds = getBounds(); // FIXME: should validate the view if it is not valid, however // this may cause excessive validation when the containment //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | |
if (contentRect.height > portBounds.height || contentRect.width > portBounds.width) { setViewPosition(new Point(contentRect.x, contentRect.y)); return; } if (contentRect.y < -viewBounds.y) setViewPosition(new Point(pos.x, contentRect.y)); else if (contentRect.y + contentRect.height > -viewBounds.y + portBounds.heigh... | if (contentRect.y + contentRect.height + viewBounds.y > portBounds.height) pos.y = contentRect.y + contentRect.height - viewBounds.height; if (contentRect.y + viewBounds.y < 0) pos.y = contentRect.y; if (contentRect.x + contentRect.width + viewBounds.x > portBounds.width) pos.x = contentRect.x + contentRect.width... | public void scrollRectToVisible(Rectangle contentRect) { Point pos = getViewPosition(); Rectangle viewBounds = getView().getBounds(); Rectangle portBounds = getBounds(); // FIXME: should validate the view if it is not valid, however // this may cause excessive validation when the containment //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java |
while (getComponentCount() > 0) { | public void setView(Component v) { while (getComponentCount() > 0) { if (viewListener != null) getView().removeComponentListener(viewListener); //remove(0); } if (v != null) { if (viewListener == null) viewListener = createViewListener(); v.addCompon... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | |
} | public void setView(Component v) { while (getComponentCount() > 0) { if (viewListener != null) getView().removeComponentListener(viewListener); //remove(0); } if (v != null) { if (viewListener == null) viewListener = createViewListener(); v.addCompon... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | |
repaint(); | public void setView(Component v) { while (getComponentCount() > 0) { if (viewListener != null) getView().removeComponentListener(viewListener); //remove(0); } if (v != null) { if (viewListener == null) viewListener = createViewListener(); v.addCompon... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | |
super(p, q, g); this.y = y; | this(Registry.RAW_ENCODING_ID, p, q, g, y); | public DSSPublicKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y) { super(p, q, g); this.y = y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java |
throw new IllegalArgumentException("format"); | throw new IllegalArgumentException("Unsupported encoding format: " + format); | public byte[] getEncoded(int format) { byte[] result; switch (format) { case IKeyPairCodec.RAW_FORMAT: result = new DSSKeyPairRawCodec().encodePublicKey(this); break; default: throw new IllegalArgumentException("format"); } return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java |
public static DSSPublicKey valueOf(byte[] k) { // check magic... // we should parse here enough bytes to know which codec to use, and // direct the byte array to the appropriate codec. since we only have one // codec, we could have immediately tried it; nevertheless since testing // one byte is cheap... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java | ||
IKeyPairCodec codec = new DSSKeyPairRawCodec(); return (DSSPublicKey) codec.decodePublicKey(k); | return (DSSPublicKey) new DSSKeyPairRawCodec().decodePublicKey(k); | public static DSSPublicKey valueOf(byte[] k) { // check magic... // we should parse here enough bytes to know which codec to use, and // direct the byte array to the appropriate codec. since we only have one // codec, we could have immediately tried it; nevertheless since testing // one byte is cheap... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java |
else | catch (IllegalArgumentException ignored) | public static DSSPublicKey valueOf(byte[] k) { // check magic... // we should parse here enough bytes to know which codec to use, and // direct the byte array to the appropriate codec. since we only have one // codec, we could have immediately tried it; nevertheless since testing // one byte is cheap... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java |
throw new IllegalArgumentException("magic"); | public static DSSPublicKey valueOf(byte[] k) { // check magic... // we should parse here enough bytes to know which codec to use, and // direct the byte array to the appropriate codec. since we only have one // codec, we could have immediately tried it; nevertheless since testing // one byte is cheap... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java | |
return (DSSPublicKey) new DSSKeyPairX509Codec().decodePublicKey(k); | public static DSSPublicKey valueOf(byte[] k) { // check magic... // we should parse here enough bytes to know which codec to use, and // direct the byte array to the appropriate codec. since we only have one // codec, we could have immediately tried it; nevertheless since testing // one byte is cheap... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/DSSPublicKey.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSPublicKey.java | |
keys.setKey( 29,new Key(KeyEvent.VK_CONTROL )); | keys.setKey(29, new Key((char) 0, KeyEvent.VK_CONTROL)); | protected void initKeys(Keys keys) { Key key; keys.setKey( 1,new Key(KeyEvent.VK_ESCAPE)); keys.setKey( 2,new Key('1' ,KeyEvent.VK_1,'+' ,KeyEvent.VK_ADD ,'' ,KeyEvent.VK_UNDEFINED)); keys.setKey( 3,new Key('2' ,KeyEvent.VK_2,'"' ,KeyEvent.VK_QUOTEDBL ,'@' ,KeyEvent.VK_AT)); keys.setK... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/316f0ce1c74f95b1e1bb7c1780fbd90cd0f892c6/KeyboardInterpreter_CH_fr.java/buggy/core/src/driver/org/jnode/driver/input/l10n/KeyboardInterpreter_CH_fr.java |
Variable var = (Variable) sources.get(0); return var.simplify(); | return first.simplify(); | public Operand simplify() { int n = sources.size(); if (n == 1) { Variable var = (Variable) sources.get(0); return var.simplify(); } else { Variable first = (Variable) sources.get(0); // We can't use var.simplify() here because the result might // be a constant, which complicates code generation. // sou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/73a8acca7b333d0ca17760b5347d2ca2b416eede/PhiOperand.java/clean/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java |
Variable first = (Variable) sources.get(0); | public Operand simplify() { int n = sources.size(); if (n == 1) { Variable var = (Variable) sources.get(0); return var.simplify(); } else { Variable first = (Variable) sources.get(0); // We can't use var.simplify() here because the result might // be a constant, which complicates code generation. // sou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/73a8acca7b333d0ca17760b5347d2ca2b416eede/PhiOperand.java/clean/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java | |
assignQuad.setLHS(first); | public Operand simplify() { int n = sources.size(); if (n == 1) { Variable var = (Variable) sources.get(0); return var.simplify(); } else { Variable first = (Variable) sources.get(0); // We can't use var.simplify() here because the result might // be a constant, which complicates code generation. // sou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/73a8acca7b333d0ca17760b5347d2ca2b416eede/PhiOperand.java/clean/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java | |
IRBasicBlock block = assignQuad.getBasicBlock().getLastPredecessor(); first.setLastUseAddress(block.getEndPC()-1); | if (assignQuad != null) { assignQuad.setLHS(first); IRBasicBlock block = assignQuad.getBasicBlock().getLastPredecessor(); first.setLastUseAddress(block.getEndPC()-1); } else { } | public Operand simplify() { int n = sources.size(); if (n == 1) { Variable var = (Variable) sources.get(0); return var.simplify(); } else { Variable first = (Variable) sources.get(0); // We can't use var.simplify() here because the result might // be a constant, which complicates code generation. // sou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/73a8acca7b333d0ca17760b5347d2ca2b416eede/PhiOperand.java/clean/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java |
textComp.addCaretListener(this); | JTextComponent.this.addCaretListener(this); caretDot = getCaretPosition(); | public AccessibleJTextComponent() { super(); textComp.addCaretListener(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public void caretUpdate(CaretEvent e) throws NotImplementedException { // TODO: fire appropriate event. dot = e.getDot(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
dot = e.getDot(); | int dot = e.getDot(); int mark = e.getMark(); if (caretDot != dot) { firePropertyChange(ACCESSIBLE_CARET_PROPERTY, new Integer(caretDot), new Integer(dot)); caretDot = dot; } if (mark != dot) { firePropertyChange(ACCESSIBLE_SELECTION_PROPERTY, null, getSelectedText()); } | public void caretUpdate(CaretEvent e) throws NotImplementedException { // TODO: fire appropriate event. dot = e.getDot(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public void changedUpdate(DocumentEvent e) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
firePropertyChange(ACCESSIBLE_TEXT_PROPERTY, null, new Integer(e.getOffset())); | public void changedUpdate(DocumentEvent e) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
textComp.select(start, end); textComp.cut(); | JTextComponent.this.select(start, end); JTextComponent.this.cut(); | public void cut(int start, int end) { textComp.select(start, end); textComp.cut(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public boolean doAccessibleAction(int i) throws NotImplementedException { return false; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return false; | boolean ret = false; Action[] actions = getActions(); if (i >= 0 && i < actions.length) { ActionEvent ev = new ActionEvent(JTextComponent.this, ActionEvent.ACTION_PERFORMED, null); actions[i].actionPerformed(ev); ret = true; } return ret; | public boolean doAccessibleAction(int i) throws NotImplementedException { return false; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public int getAccessibleActionCount() throws NotImplementedException { return 0; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return 0; | return getActions().length; | public int getAccessibleActionCount() throws NotImplementedException { return 0; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public String getAccessibleActionDescription(int i) throws NotImplementedException { // TODO: Not implemented fully return super.getAccessibleDescription(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return super.getAccessibleDescription(); | String desc = null; Action[] actions = getActions(); if (i >= 0 && i < actions.length) desc = (String) actions[i].getValue(Action.NAME); return desc; | public String getAccessibleActionDescription(int i) throws NotImplementedException { // TODO: Not implemented fully return super.getAccessibleDescription(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { AccessibleStateSet state = super.getAccessibleStateSet(); // TODO: Figure out what state must be added here to the super's state. return state; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
if (isEditable()) state.add(AccessibleState.EDITABLE); | public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { AccessibleStateSet state = super.getAccessibleStateSet(); // TODO: Figure out what state must be added here to the super's state. return state; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
throws NotImplementedException | public String getAfterIndex(int part, int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return null; | return getAtIndexImpl(part, index, 1); | public String getAfterIndex(int part, int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public String getAtIndex(int part, int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return null; | return getAtIndexImpl(part, index, 0); | public String getAtIndex(int part, int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public String getBeforeIndex(int part, int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return null; | return getAtIndexImpl(part, index, -1); | public String getBeforeIndex(int part, int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
dot = textComp.getCaretPosition(); return dot; | return JTextComponent.this.getCaretPosition(); | public int getCaretPosition() { dot = textComp.getCaretPosition(); return dot; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
return textComp.getText().length(); | return JTextComponent.this.getText().length(); | public int getCharCount() { return textComp.getText().length(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public AttributeSet getCharacterAttribute(int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return null; | AttributeSet atts; if (doc instanceof AbstractDocument) ((AbstractDocument) doc).readLock(); try { Element el = doc.getDefaultRootElement(); while (! el.isLeaf()) { int i = el.getElementIndex(index); el = el.getElement(i); } atts = el.getAttributes(); } finally { if (doc instanceof AbstractDocument) ((AbstractDocument)... | public AttributeSet getCharacterAttribute(int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public Rectangle getCharacterBounds(int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return null; | Rectangle bounds = null; if (index >= 0 && index < doc.getLength() - 1) { if (doc instanceof AbstractDocument) ((AbstractDocument) doc).readLock(); try { TextUI ui = getUI(); if (ui != null) { Rectangle rect = new Rectangle(); Insets insets = getInsets(); rect.x = insets.left; rect.y = insets.top; rect.width = getWi... | public Rectangle getCharacterBounds(int index) throws NotImplementedException { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public int getIndexAtPoint(Point p) throws NotImplementedException { return 0; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
return 0; | return viewToModel(p); | public int getIndexAtPoint(Point p) throws NotImplementedException { return 0; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
return textComp.getSelectedText(); | return JTextComponent.this.getSelectedText(); | public String getSelectedText() { return textComp.getSelectedText(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
if (getSelectedText() == null || (textComp.getText().equals(""))) return 0; return textComp.getSelectionEnd(); | return JTextComponent.this.getSelectionEnd(); | public int getSelectionEnd() { if (getSelectedText() == null || (textComp.getText().equals(""))) return 0; return textComp.getSelectionEnd(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
if (getSelectedText() == null || (textComp.getText().equals(""))) | if (getSelectedText() == null || (JTextComponent.this.getText().equals(""))) | public int getSelectionStart() { if (getSelectedText() == null || (textComp.getText().equals(""))) return 0; return textComp.getSelectionStart(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
return textComp.getSelectionStart(); | return JTextComponent.this.getSelectionStart(); | public int getSelectionStart() { if (getSelectedText() == null || (textComp.getText().equals(""))) return 0; return textComp.getSelectionStart(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
return textComp.getText(start, end - start); | return JTextComponent.this.getText(start, end - start); | public String getTextRange(int start, int end) { try { return textComp.getText(start, end - start); } catch (BadLocationException ble) { return ""; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public void insertTextAtIndex(int index, String s) throws NotImplementedException { replaceText(index, index, s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
replaceText(index, index, s); | try { doc.insertString(index, s, null); } catch (BadLocationException ex) { ex.printStackTrace(); } | public void insertTextAtIndex(int index, String s) throws NotImplementedException { replaceText(index, index, s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public void insertUpdate(DocumentEvent e) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
firePropertyChange(ACCESSIBLE_TEXT_PROPERTY, null, new Integer(e.getOffset())); | public void insertUpdate(DocumentEvent e) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
textComp.setCaretPosition(start); textComp.paste(); | JTextComponent.this.setCaretPosition(start); JTextComponent.this.paste(); | public void paste(int start) { textComp.setCaretPosition(start); textComp.paste(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public void removeUpdate(DocumentEvent e) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
firePropertyChange(ACCESSIBLE_TEXT_PROPERTY, null, new Integer(e.getOffset())); | public void removeUpdate(DocumentEvent e) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
textComp.select(start, end); textComp.replaceSelection(s); | JTextComponent.this.select(start, end); JTextComponent.this.replaceSelection(s); | public void replaceText(int start, int end, String s) { textComp.select(start, end); textComp.replaceSelection(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
textComp.select(start, end); | JTextComponent.this.select(start, end); | public void selectText(int start, int end) { textComp.select(start, end); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
throws NotImplementedException | public void setAttributes(int start, int end, AttributeSet s) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
if (doc instanceof StyledDocument) { StyledDocument sdoc = (StyledDocument) doc; sdoc.setCharacterAttributes(start, end - start, s, true); } | public void setAttributes(int start, int end, AttributeSet s) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
throws NotImplementedException | public void setTextContents(String s) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
setText(s); | public void setTextContents(String s) throws NotImplementedException { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
if (getParent() instanceof JViewport) return getParent().getWidth() > getPreferredSize().width; | boolean res = false;; Container c = getParent(); if (c instanceof JViewport) res = ((JViewport) c).getExtentSize().width > getPreferredSize().width; | public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return getParent().getWidth() > getPreferredSize().width; return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
return false; | return res; | public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return getParent().getWidth() > getPreferredSize().width; return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
} finally { if (oldDoc instanceof AbstractDocument) ((AbstractDocument) oldDoc).readUnlock(); } | public void setDocument(Document newDoc) { Document oldDoc = doc; doc = newDoc; firePropertyChange("document", oldDoc, newDoc); revalidate(); repaint(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
public void reset() { spoolName.setEnabled(false); spoolName.setText(""); //select.setSelected(false); all.setSelected(true); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9d37884a41d03e0f09109f25894f74c9df2e594b/SpoolNameTabPanel.java/buggy/tn5250j/src/org/tn5250j/spoolfile/SpoolNameTabPanel.java | ||
screen52.setCursorOff(); | screen52.setCursorActive(false); | public final void hostPrint(int aid) { if (screen52.isStatusErrorCode()) { screen52.restoreErrorLine(); screen52.setStatus(screen52.STATUS_ERROR_CODE,screen52.STATUS_VALUE_OFF,null); } screen52.setCursorOff(); screen52.setStatus(screen52.STATUS_SYSTEM,screen52.STATUS_VALUE_ON,null... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
private void parseIncoming() { boolean controlChars = false; byte control0; byte control1; boolean done = false; boolean error = false; try { while (bk.hasNext() && !done) { byte b = bk.getNextByte(); switch (b) { case 0: case 1:... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java | ||
screen52.setCursorOff(); | screen52.setCursorActive(false); | private final void readImmediate(int readType) { if (screen52.isStatusErrorCode()) { screen52.restoreErrorLine(); screen52.setStatus(screen52.STATUS_ERROR_CODE,screen52.STATUS_VALUE_OFF,null); } if (!enhanced) { screen52.setCursorOff(); } screen52.setStatus(screen5... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
screen52.setCursorOff(); | screen52.setCursorActive(false); | public void run () { while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = false; continue; } // lets play nicel... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
screen52.setCursorOn(); | screen52.setCursorActive(true); | public void run () { while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = false; continue; } // lets play nicel... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
screen52.setCursorOn(); | screen52.setCursorActive(true); | public void run () { while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = false; continue; } // lets play nicel... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
screen52.setCursorOn(); | screen52.setCursorActive(true); | public void run () { while (keepTrucking) { try { bk = (Stream5250)dsq.get(); } catch (InterruptedException ie) { System.out.println(" vt thread interrupted and stopping "); keepTrucking = false; continue; } // lets play nicel... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
screen52.setCursorOff(); | screen52.setCursorActive(false); | public final boolean sendAidKey(int aid) { if (screen52.isStatusErrorCode()) { screen52.restoreErrorLine(); screen52.setStatus(screen52.STATUS_ERROR_CODE,screen52.STATUS_VALUE_OFF,null); } if (!enhanced) { screen52.setCursorOff(); } screen52.setStatus(screen52.STAT... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/be319bbdd8024ad2c91541f2e005828a779a5afe/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java |
Item(int kind, int offsetToFP) { assertCondition(kind > 0, "Invalid kind"); this.kind = kind; this.offsetToFP = offsetToFP; | protected Item(ItemFactory factory) { this.factory = factory; if (true) { final Vm vm = Vm.getVm(); final String name = getClass().getName(); final Counter cnt = vm.getCounter(name); cnt.inc(); } | Item(int kind, int offsetToFP) { assertCondition(kind > 0, "Invalid kind"); this.kind = kind; this.offsetToFP = offsetToFP; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/Item.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/Item.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.