rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
super(toolkit, label, new JLabel()); final JLabel jLabel = (JLabel)jComponent; this.label = label; | super(toolkit, label, new SwingLabel(label)); final JLabel jLabel = (JLabel) jComponent; | public SwingLabelPeer(SwingToolkit toolkit, Label label) { super(toolkit, label, new JLabel()); final JLabel jLabel = (JLabel)jComponent; this.label = label; SwingToolkit.add(label, jLabel); SwingToolkit.copyAwtProperties(label, jLabel); setText(label.getText()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cb141050fd84afdb6e8ef6f8cc3ed4e90608d848/SwingLabelPeer.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/SwingLabelPeer.java |
public void setAlignment(int alignment) { //TODO implement it } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cb141050fd84afdb6e8ef6f8cc3ed4e90608d848/SwingLabelPeer.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/SwingLabelPeer.java | ||
((JLabel)jComponent).setText(text); } | ((JLabel) jComponent).setText(text); } | public void setText(String text) { ((JLabel)jComponent).setText(text); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cb141050fd84afdb6e8ef6f8cc3ed4e90608d848/SwingLabelPeer.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/SwingLabelPeer.java |
File directory2 = new File(GlobalConfigure.instance().getProperty( | File directory2 = new File(GlobalConfigure.getInstance().getProperty( | private static boolean checkScripts() { File directory = new File("scripts"); File directory2 = new File(GlobalConfigure.instance().getProperty( "emulator.settingsDirectory") + "scripts"); return directory.isDirectory() || directory2.isDirectory(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/Macronizer.java/buggy/tn5250j/src/org/tn5250j/tools/Macronizer.java |
public String getProperty(String key) { return ""; | public String getProperty(String key, String def) { return def; | public String getProperty(String key) { return ""; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
public Array setParentArray(Array parentArray) { | protected Array setParentArray(Array parentArray) { | public Array setParentArray(Array parentArray) { Log.debug("in XMLDataIOStyle, setParentArray()"); this.parentArray = parentArray; return parentArray; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5ccaa0a39fcc8791fa01673a52183b2075616638/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, String noChildObjectNodeName | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5ccaa0a39fcc8791fa01673a52183b2075616638/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
Hashtable xmlInfo = getXMLInfo(); | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5ccaa0a39fcc8791fa01673a52183b2075616638/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java | |
synchronized(attribHash) { String attrib; if ( (attrib=getEncoding()) !=null) writeOut(outputstream, " encoding=" + attrib); if ( (attrib=getEndian()) !=null) writeOut(outputstream, " endian=" + attrib); if ( (attrib=getReadId()) !=null) writeOut(outputstream, " readId=" + attrib); if ( (attrib=getReadIdRef()) !=null) ... | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5ccaa0a39fcc8791fa01673a52183b2075616638/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java | |
ArrayList attribs = (ArrayList) xmlInfo.get("attribList"); synchronized(attribs) { int stop = attribs.size(); for (int i = 0; i < stop; i++) { Hashtable item = (Hashtable) attribs.get(i); writeOut(outputstream, " "+ item.get("name") + "=\"" + item.get("value") + "\""); } | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5ccaa0a39fcc8791fa01673a52183b2075616638/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java | |
public DesktopIconUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DesktopIconUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/DesktopIconUI.java | ||
part0 = new MappedBlockDeviceSupport(device, pte.getStartLba() | part0 = new MappedFSBlockDeviceSupport(device, pte.getStartLba() | protected void formatDevice(Device device) throws IOException { /* Format the MBR & partitiontable */ GrubBootSector mbr = (GrubBootSector) (createFormatter() .getBootSector()); mbr.getPartition(0).clear(); mbr.getPartition(1).clear(); mbr.getPartition(2).clear(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/af3e25629c7bca20276f004befd3b45af9fa6102/BootDiskBuilder.java/buggy/builder/src/builder/org/jnode/build/BootDiskBuilder.java |
int unresolved = 0; | int unresolvedFound = 0; | private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
unresolved++; | unresolvedFound++; | private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | ||
if (blockObjects == null) { emittedClassNames.add(obj.getClass().getName()); } | private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | |
if (unresolved == lastUnresolved) { if ((unresolved == 0) || (blockObjects != null)) { | if (unresolvedFound == lastUnresolved) { if (unresolvedFound == 0) { | private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
lastUnresolved = unresolved; | lastUnresolved = unresolvedFound; | private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
if (blockObjects == null) { log("Emitted classes: " + emittedClassNames); } | private final void emitObjects(NativeStream os, VmArchitecture arch, Set blockObjects) throws BuildException { log("Emitting objects", Project.MSG_DEBUG); PrintWriter debugOut = null; try { if (debug) { debugOut = new PrintWriter(new FileWriter(debugFile)); } final ObjectEmitter emitter = new ObjectEmitter... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | |
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | ||
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | ||
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | ||
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | ||
/* Set the bootclasses */ VmType bootClasses[] = clsMgr.prepareAfterBootstrap(); os.getObjectRef(bootClasses); emitObjects(os, arch, blockedObjects); | public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | |
printLabels(os, bootClasses); | printLabels(os, bootClasses, clsMgr.getStatics()); | public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
protected final void printLabels(NativeStream os, VmType[] bootClasses) throws BuildException, UnresolvedObjectRefException { | protected final void printLabels(NativeStream os, VmType[] bootClasses, VmStatics statics) throws BuildException, UnresolvedObjectRefException { | protected final void printLabels(NativeStream os, VmType[] bootClasses) throws BuildException, UnresolvedObjectRefException { try { int unresolvedCount = 0; final PrintWriter w = new PrintWriter(new FileWriter(listFile)); // Print a list of boot classes. for (int i = 0; i < bootClasses.length; i++) { final... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
final int[] table = (int[]) statics.getTable(); for (int i = 0; i < table.length; i++) { w.print(NumberUtils.hex((VmArray.DATA_OFFSET + i) << 2)); w.print(":"); w.print(NumberUtils.hex(statics.getType(i), 2)); w.print("\t"); w.print(NumberUtils.hex(table[i])); w.println(); } | protected final void printLabels(NativeStream os, VmType[] bootClasses) throws BuildException, UnresolvedObjectRefException { try { int unresolvedCount = 0; final PrintWriter w = new PrintWriter(new FileWriter(listFile)); // Print a list of boot classes. for (int i = 0; i < bootClasses.length; i++) { final... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c51b2252b587e401cd3a2b2e553206263541af7/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java | |
sesProps.put(SESSION_NAME,sessionName); | if(sessionName == null) sesProps.put(SESSION_TERM_NAME,sesProps.getProperty(SESSION_HOST)); else sesProps.put(SESSION_TERM_NAME,sessionName); | public Session openSession(Properties sesProps, String configurationResource , String sessionName) {// throws TN5250jException { sesProps.put(SESSION_NAME,sessionName); if (configurationResource == null) conf... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bc7e11ab017c3feeba41d87e99dba276258b7c41/SessionManager.java/buggy/tn5250j/src/org/tn5250j/SessionManager.java |
public Session item (String sessionName) { | public Session item (int index) { | public Session item (String sessionName) { Session s = null; int x = 0; while (x < sessions.size()) { s = (Session)sessions.get(x); if (s.getSessionName().equals(sessionName)) return s; x++; } return null; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Sessions.java/buggy/tn5250j/src/org/tn5250j/Sessions.java |
Session s = null; int x = 0; while (x < sessions.size()) { s = (Session)sessions.get(x); if (s.getSessionName().equals(sessionName)) return s; x++; } return null; | return (Session)sessions.get(index); | public Session item (String sessionName) { Session s = null; int x = 0; while (x < sessions.size()) { s = (Session)sessions.get(x); if (s.getSessionName().equals(sessionName)) return s; x++; } return null; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Sessions.java/buggy/tn5250j/src/org/tn5250j/Sessions.java |
log.debug("Removing session: "+session.getSessionName()); | protected void removeSession(Session session) { if (session != null) { if (session.isConnected()) session.disconnect(); sessions.remove(session); --count; } } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Sessions.java/buggy/tn5250j/src/org/tn5250j/Sessions.java | |
log.debug("adding Session: "+newSession.getSessionName()); | protected void addSession(Session newSession) { sessions.add(newSession); if (newSession.isSendKeepAlive() && heartBeater == null) { heartBeater = new Timer(15000,this);// heartBeater = new Timer(3000,this); heartBeater.start(); } ++count; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/Sessions.java/buggy/tn5250j/src/org/tn5250j/Sessions.java | |
} | } | public FileFilter() { // TODO } // FileFilter() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/FileFilter.java/clean/core/src/classpath/javax/javax/swing/filechooser/FileFilter.java |
public PluginException(String message, Throwable cause) { super(message, cause); | public PluginException() { super(); | public PluginException(String message, Throwable cause) { super(message, cause); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/PluginException.java/buggy/core/src/core/org/jnode/plugin/PluginException.java |
public GetPropertyAction(String key, String defaultValue) { this.key = key; this.defaultValue = defaultValue; } | public GetPropertyAction() { } | public GetPropertyAction(String key, String defaultValue) { this.key = key; this.defaultValue = defaultValue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/GetPropertyAction.java/buggy/core/src/classpath/gnu/gnu/java/security/action/GetPropertyAction.java |
return uiClassID; | return "MenuItemUI"; | public String getUIClassID() { return uiClassID; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JMenuItem.java |
return "JMenuItem"; | return super.paramString(); | protected String paramString() { return "JMenuItem"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JMenuItem.java |
if (typeCode == null) typeCode = ORB.init().get_primitive_tc(TCKind.tk_objref); | public static TypeCode type() { return typeCode; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/ObjectHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/ObjectHelper.java | |
final void pushExitStack(VirtualStack vstack) { | final void pushExitStack(ItemFactory ifac, VirtualStack vstack) { | final void pushExitStack(VirtualStack vstack) { vstack.reset(); //vstack.pushAll(outerMethodStack); vstack.pushAll(exitStack); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/InlinedMethodInfo.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/InlinedMethodInfo.java |
vstack.pushAll(exitStack); | vstack.pushAll(ifac, exitStack); | final void pushExitStack(VirtualStack vstack) { vstack.reset(); //vstack.pushAll(outerMethodStack); vstack.pushAll(exitStack); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/InlinedMethodInfo.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/InlinedMethodInfo.java |
final void pushOuterMethodStack(VirtualStack vstack) { vstack.pushAll(outerMethodStack); | final void pushOuterMethodStack(ItemFactory ifac, VirtualStack vstack) { vstack.pushAll(ifac, outerMethodStack); | final void pushOuterMethodStack(VirtualStack vstack) { vstack.pushAll(outerMethodStack); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/InlinedMethodInfo.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/InlinedMethodInfo.java |
return (Vm.getVm().getArch().getByteOrder() == ByteOrder.BIG_ENDIAN); } | return (Vm.getVm().getArch().getByteOrder() == ByteOrder.BIG_ENDIAN); } | static boolean isWordsBigEndian() { return (Vm.getVm().getArch().getByteOrder() == ByteOrder.BIG_ENDIAN); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/VMSystem.java/buggy/core/src/classpath/vm/java/lang/VMSystem.java |
public static ItemListener add(ItemListener a, ItemListener b) | public static ComponentListener add(ComponentListener a, ComponentListener b) | public static ItemListener add(ItemListener a, ItemListener b) { return (ItemListener) addInternal(a, b); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
return (ItemListener) addInternal(a, b); | return (ComponentListener) addInternal(a, b); | public static ItemListener add(ItemListener a, ItemListener b) { return (ItemListener) addInternal(a, b); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
void dispatchEventImpl(AWTEvent e) | void dispatchEventImpl (AWTEvent e) | void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
processEvent(e); } | { if (! Thread.holdsLock(e)) { switch (e.id) { case WindowEvent.WINDOW_GAINED_FOCUS: case WindowEvent.WINDOW_LOST_FOCUS: case KeyEvent.KEY_PRESSED: case KeyEvent.KEY_RELEASED: case KeyEvent.KEY_TYPED: case FocusEvent.FOCUS_GAINED: case FocusEvent.FOCUS_LOST: if (KeyboardFocusManager .getCurrentKeyboardFocusManager(... | void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
param.append(width).append("x").append(height).append("+").append(x) .append("+").append(y); | param.append(x).append(",").append(y).append(",").append(width) .append("x").append(height); | protected String paramString() { StringBuffer param = new StringBuffer(); String name = getName(); if (name != null) param.append(name).append(","); param.append(width).append("x").append(height).append("+").append(x) .append("+").append(y); if (! isValid()) param.append(",invalid"); if (! isVis... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
public static ItemListener remove(ItemListener l, ItemListener oldl) | protected EventListener remove(EventListener oldl) | public static ItemListener remove(ItemListener l, ItemListener oldl) { return (ItemListener) removeInternal(l, oldl); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
return (ItemListener) removeInternal(l, oldl); | if (a == oldl) return b; if (b == oldl) return a; if (a instanceof AWTEventMulticaster) { EventListener newa = ((AWTEventMulticaster) a).remove(oldl); if (newa != a) return new AWTEventMulticaster(newa, b); } if (b instanceof AWTEventMulticaster) { EventListener newb = ((AWTEventMulticaster) b).remove(oldl); if (newb... | public static ItemListener remove(ItemListener l, ItemListener oldl) { return (ItemListener) removeInternal(l, oldl); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
os.set32(fldOffset, 0); | switch (jnodeField.getTypeSize()) { case 1: os.set8(fldOffset, 0); break; case 2: os.set16(fldOffset, 0); break; case 4: os.set32(fldOffset, 0); break; default: throw new BuildException("Invalid typesize in: " + jnodeField); } | private void storeObject(int offset, Class<?> cls, Object obj, VmClassType<?> vmType) throws BuildException, ClassNotFoundException, JNodeClassNotFoundException { final Class< ? > sCls = cls.getSuperclass(); if (sCls != null) { final VmClassType< ? > vmSuperType = (VmC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/80df95cc80ef8fa987be9fc287573294617c2722/ObjectEmitter.java/buggy/builder/src/builder/org/jnode/build/ObjectEmitter.java |
public static void warn(String msg) { log(WARN, System.out, msg, null); | public static void warn(String msg, Throwable ex) { log(WARN, System.out, msg, ex); | public static void warn(String msg) { log(WARN, System.out, msg, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/BootLog.java/buggy/core/src/core/org/jnode/system/BootLog.java |
setOpaque(true); | public JRootPane() { setLayout(createRootLayout()); getGlassPane(); getLayeredPane(); getContentPane(); updateUI(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49ad2f4c3e74f0a8e99b839c938a312898850fa0/JRootPane.java/buggy/core/src/classpath/javax/javax/swing/JRootPane.java | |
setLayout(null); | public JLayeredPane() { layers = new TreeMap (); componentToLayer = new Hashtable (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JLayeredPane.java/buggy/core/src/classpath/javax/javax/swing/JLayeredPane.java | |
if (!((JMenu)c).isTopLevelMenu()) { JMenuItem menuItem = new JMenuItem(((JMenu)c).getText(), ((JMenu)c).getIcon()); return menuItem.getMaximumSize(); } | public Dimension getMaximumSize(JComponent c) { return c.getPreferredSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuUI.java | |
public MenuElement[] getPath() { | public MenuElement[] getPath() { | public MenuElement[] getPath() { return path; } // getPath() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/MenuDragMouseEvent.java/buggy/core/src/classpath/javax/javax/swing/event/MenuDragMouseEvent.java |
} | } | public MenuElement[] getPath() { return path; } // getPath() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/MenuDragMouseEvent.java/buggy/core/src/classpath/javax/javax/swing/event/MenuDragMouseEvent.java |
public void processMouseEvent(MouseEvent event) { Component source = ((Component) event.getSource()); // In the case of drag event, event.getSource() returns component // where drag event originated. However menu element processing this // event should be the one over which mouse is currently locate... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MenuSelectionManager.java/buggy/core/src/classpath/javax/javax/swing/MenuSelectionManager.java | ||
for (int i = 0; i < subComponents.length; i++) { subComponents[i].processMouseEvent(event, path, manager); } | for (int i = 0; i < subComponents.length; i++) { subComponents[i].processMouseEvent(event, path, manager); } | public void processMouseEvent(MouseEvent event) { Component source = ((Component) event.getSource()); // In the case of drag event, event.getSource() returns component // where drag event originated. However menu element processing this // event should be the one over which mouse is currently locate... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MenuSelectionManager.java/buggy/core/src/classpath/javax/javax/swing/MenuSelectionManager.java |
return super.clone(); | BaseMac result = (BaseMac) super.clone(); if (this.underlyingHash != null) result.underlyingHash = (IMessageDigest) this.underlyingHash.clone(); return result; | public Object clone() throws CloneNotSupportedException { return super.clone(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/BaseMac.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/mac/BaseMac.java |
cfc = JOptionPane.showConfirmDialog(null, | cfc = JOptionPane.showConfirmDialog(null, | private void checkLegacy() { // we check if the sessions file already exists in the directory // if it does exist we are working with an old install so we // need to set the settings directory to the users directory // SESSIONS is declared as a string, so we just can use the keyword here. if... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
JOptionPane.showMessageDialog(null, | JOptionPane.showMessageDialog(null, | private void checkLegacy() { // we check if the sessions file already exists in the directory // if it does exist we are working with an old install so we // need to set the settings directory to the users directory // SESSIONS is declared as a string, so we just can use the keyword here. if... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
String dest = System.getProperty("user.home") + | String dest = System.getProperty("user.home") + | private void copyConfigs(String sesFile) { /** Copy the config-files to the user's home-dir */ String srcFile = System.getProperty("user.dir") + File.separator + sesFile; String dest = System.getProperty("user.home") + File.separator + ".tn5250j" + File.separator + sesFile; File rmvFil... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
private void copyConfigs(String sesFile) { /** Copy the config-files to the user's home-dir */ String srcFile = System.getProperty("user.dir") + File.separator + sesFile; String dest = System.getProperty("user.home") + File.separator + ".tn5250j" + File.separator + sesFile; File rmvFil... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java | ||
again = new FileInputStream(settingsDirectory() + settingsFile); settings.load(again); | again = new FileInputStream(settingsDirectory() + settingsFile); settings.load(again); | private void loadSettings() { FileInputStream in = null; FileInputStream again = null; settings = new Properties(); // here we will check for a system property is provided first. if (System.getProperties().containsKey("emulator.settingsDirectory")) { settings.setProperty("emul... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
log.info(" Information Message: " + fnfea.getMessage() + ". The file " + settingsFile | log.info(" Information Message: " + fnfea.getMessage() + ". The file " + settingsFile | private void loadSettings() { FileInputStream in = null; FileInputStream again = null; settings = new Properties(); // here we will check for a system property is provided first. if (System.getProperties().containsKey("emulator.settingsDirectory")) { settings.setProperty("emul... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
log.warn("IO Exception accessing File " | log.warn("IO Exception accessing File " | private void loadSettings() { FileInputStream in = null; FileInputStream again = null; settings = new Properties(); // here we will check for a system property is provided first. if (System.getProperties().containsKey("emulator.settingsDirectory")) { settings.setProperty("emul... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
log.warn("Security Exception for file " | log.warn("Security Exception for file " | private void loadSettings() { FileInputStream in = null; FileInputStream again = null; settings = new Properties(); // here we will check for a system property is provided first. if (System.getProperties().containsKey("emulator.settingsDirectory")) { settings.setProperty("emul... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
log.warn("IO Exception accessing File " | log.warn("IO Exception accessing File " | private void loadSettings() { FileInputStream in = null; FileInputStream again = null; settings = new Properties(); // here we will check for a system property is provided first. if (System.getProperties().containsKey("emulator.settingsDirectory")) { settings.setProperty("emul... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
log.warn("Security Exception for file " | log.warn("Security Exception for file " | private void loadSettings() { FileInputStream in = null; FileInputStream again = null; settings = new Properties(); // here we will check for a system property is provided first. if (System.getProperties().containsKey("emulator.settingsDirectory")) { settings.setProperty("emul... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d176b045eb10d934c5b8bbe4ce787a7bbc5a271e/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
public Number evaluate (Number value) { | public double evaluate (double value) { | public Number evaluate (Number value) { //NOT IMPLEMENTED YET return (Number) new Integer("0"); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/e25b84d67a689617dfbe6abe8721bea988092c49/Conversion.java/clean/src/gov/nasa/gsfc/adc/xdf/Conversion.java |
return (Number) new Integer("0"); | return value; | public Number evaluate (Number value) { //NOT IMPLEMENTED YET return (Number) new Integer("0"); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/e25b84d67a689617dfbe6abe8721bea988092c49/Conversion.java/clean/src/gov/nasa/gsfc/adc/xdf/Conversion.java |
resetAttributes(); | super.init(); | protected void init() { resetAttributes(); classXDFNodeName = "conversion"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,COMPONENTLIST_XML_ATTRIBUTE_NAME); attribHash.put(COMPONENTLIST_XML_ATTRIBUTE_NAME, new Attribute(Colle... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/e25b84d67a689617dfbe6abe8721bea988092c49/Conversion.java/clean/src/gov/nasa/gsfc/adc/xdf/Conversion.java |
writeOut(outputstream, " encoding=" + attrib); | writeOut(outputstream, " encoding=\"" + attrib+"\""); | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString,... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cfc979506173c9992eb017a311496fa1c0337ddf/XMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
writeOut(outputstream, " endian=" + attrib); | writeOut(outputstream, " endian=\"" + attrib + "\""); | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString,... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cfc979506173c9992eb017a311496fa1c0337ddf/XMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
writeOut(outputstream, " readId=" + attrib); | writeOut(outputstream, " readId=\"" + attrib + "\""); | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString,... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cfc979506173c9992eb017a311496fa1c0337ddf/XMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
writeOut(outputstream, " readIdRef=" + attrib); | writeOut(outputstream, " readIdRef=\"" + attrib + "\""); | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString,... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/cfc979506173c9992eb017a311496fa1c0337ddf/XMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
public GnuRSAPrivateKey(final BigInteger p, final BigInteger q, final BigInteger e, final BigInteger d) | public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d) | public GnuRSAPrivateKey(final BigInteger p, final BigInteger q, final BigInteger e, final BigInteger d) { // super(p.multiply(q)); super(p.multiply(q), e); this.p = p; this.q = q; // this.e = e; this.d = d; // the exponents dP and dQ are positive integers less ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
super(p.multiply(q), e); this.p = p; this.q = q; this.d = d; dP = e.modInverse(p.subtract(BigInteger.ONE)); dQ = e.modInverse(q.subtract(BigInteger.ONE)); qInv = q.modInverse(p); | this(Registry.RAW_ENCODING_ID, p, q, e, d); | public GnuRSAPrivateKey(final BigInteger p, final BigInteger q, final BigInteger e, final BigInteger d) { // super(p.multiply(q)); super(p.multiply(q), e); this.p = p; this.q = q; // this.e = e; this.d = d; // the exponents dP and dQ are positive integers less ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
public byte[] getEncoded(final int format) | public byte[] getEncoded(int format) | public byte[] getEncoded(final int format) { final byte[] result; switch (format) { case IKeyPairCodec.RAW_FORMAT: result = new RSAKeyPairRawCodec().encodePrivateKey(this); break; default: throw new IllegalArgumentException("format"); } return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
throw new IllegalArgumentException("format"); | throw new IllegalArgumentException("Unsupported encoding format: " + format); | public byte[] getEncoded(final int format) { final byte[] result; switch (format) { case IKeyPairCodec.RAW_FORMAT: result = new RSAKeyPairRawCodec().encodePrivateKey(this); break; default: throw new IllegalArgumentException("format"); } return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
public static GnuRSAPrivateKey valueOf(final 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 byt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java | ||
final IKeyPairCodec codec = new RSAKeyPairRawCodec(); return (GnuRSAPrivateKey) codec.decodePrivateKey(k); | return (GnuRSAPrivateKey) new RSAKeyPairRawCodec().decodePrivateKey(k); | public static GnuRSAPrivateKey valueOf(final 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 byt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
else | catch (IllegalArgumentException ignored) | public static GnuRSAPrivateKey valueOf(final 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 byt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
throw new IllegalArgumentException("magic"); | public static GnuRSAPrivateKey valueOf(final 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 byt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java | |
return (GnuRSAPrivateKey) new RSAKeyPairPKCS8Codec().decodePrivateKey(k); | public static GnuRSAPrivateKey valueOf(final 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 byt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java | |
return "JCheckBoxMenuItem"; | return super.paramString(); | protected String paramString() { return "JCheckBoxMenuItem"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JCheckBoxMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JCheckBoxMenuItem.java |
Color colorBg, Session ses) { | Color colorBg, boolean toDefaultPrinter, Session ses) { | public PrinterThread (ScreenChar[] sc, Font font, int cols, int rows, Color colorBg, Session ses) { setPriority(1); session = ses; screen = new ScreenChar[sc.length]; int len = sc.length; for (int x = 0; x < len; x++) { screen[x] = new ScreenChar(sc[x].s); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bc7e11ab017c3feeba41d87e99dba276258b7c41/PrinterThread.java/clean/tn5250j/src/org/tn5250j/PrinterThread.java |
toDefault = toDefaultPrinter; | public PrinterThread (ScreenChar[] sc, Font font, int cols, int rows, Color colorBg, Session ses) { setPriority(1); session = ses; screen = new ScreenChar[sc.length]; int len = sc.length; for (int x = 0; x < len; x++) { screen[x] = new ScreenChar(sc[x].s); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bc7e11ab017c3feeba41d87e99dba276258b7c41/PrinterThread.java/clean/tn5250j/src/org/tn5250j/PrinterThread.java | |
public void run () { //--- Create a printerJob object PrinterJob printJob = PrinterJob.getPrinterJob (); printJob.setJobName("tn5250j"); //--- Set the printable class to this one since we //--- are implementing the Printable interface printJob.setPrintable (this); //--- Show a prin... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/bc7e11ab017c3feeba41d87e99dba276258b7c41/PrinterThread.java/clean/tn5250j/src/org/tn5250j/PrinterThread.java | ||
public IndexOutOfBoundsException(String s) { super(s); | public IndexOutOfBoundsException() { | public IndexOutOfBoundsException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/IndexOutOfBoundsException.java/buggy/core/src/classpath/java/java/lang/IndexOutOfBoundsException.java |
public NumberFormatException() { super(); | public NumberFormatException() { | public NumberFormatException() { super(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/NumberFormatException.java/buggy/core/src/classpath/java/java/lang/NumberFormatException.java |
super(); | public ArithmeticException() { super(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ArithmeticException.java/buggy/core/src/classpath/java/java/lang/ArithmeticException.java | |
verifyMonitor(); | public void visit_monitorenter() { inline(entryPoints.getMonitorEnterMethod()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/OptimizingBytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/compiler/OptimizingBytecodeVisitor.java | |
verifyMonitor(); | public void visit_monitorexit() { inline(entryPoints.getMonitorExitMethod()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/OptimizingBytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/compiler/OptimizingBytecodeVisitor.java | |
if (callee.isSynchronized()) { System.out.println("Method '" + currentMethod.getFullName() + "' calls synchronized method: " + callee.getFullName()); } | protected final void verifyInvoke(VmConstMethodRef methodRef) { if (currentKernelSpace) { // May only call methods with kernelspace pragma. methodRef.resolve(currentMethod.getDeclaringClass().getLoader()); final VmMethod callee = methodRef.getResolvedVmMethod(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/VerifyingCompilerBytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/compiler/VerifyingCompilerBytecodeVisitor.java | |
Log.errorln("EXPONENT WIDTH:"+wsize+" Precision:"+esize); | private void generateFormatPattern ( ) { StringBuffer leftpattern = new StringBuffer(); StringBuffer rightpattern = new StringBuffer(); StringBuffer etemplate = new StringBuffer(); // precision is the size of the exponent excluding 'E' int esize = getPrecision().intValue(); // width including ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/822267f48dd4260e32a397fbafc6a556726c1529/ExponentialDataFormat.java/buggy/src/gov/nasa/gsfc/adc/xdf/ExponentialDataFormat.java | |
goto_XY(pos); isInField(lastPos); | if (gui.rubberband.isAreaSelected()) { gui.rubberband.reset(); gui.repaint(); } else { goto_XY(pos); isInField(lastPos); } | public void moveCursor (MouseEvent e) { if(!keyboardLocked) { int pos = getPosFromView(e.getX(),e.getY());// System.out.println((getRow(pos)) + "," + (getCol(pos)));// System.out.println(e.getX() + "," + e.getY()+ "," + fmWidth+ "," + fmHeight); if (pos < 0) return ; ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6df9beff359d58308f77418bf46d7eb474d031a7/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
protected void paintComponent2(Graphics2D g2) { if (bi == null) { paintComponent3(g2); } Rectangle r = g2.getClipBounds(); if (r == null) { paintComponent3((Graphics)g2); return; } g2.setColor(colorBg);// System.out.println("PaintComponent " + r); g2.fi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6df9beff359d58308f77418bf46d7eb474d031a7/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | ||
gui.rubberband.reset(); gui.repaint(); | protected final Vector sumThem(boolean which) { StringBuffer s = new StringBuffer(); getBoundingArea(workR); gui.rubberband.reset(); gui.repaint();// System.out.println("Summing"); // obtain the decimal format for parsing DecimalFormat df = (DecimalFormat)NumberFormat.ge... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6df9beff359d58308f77418bf46d7eb474d031a7/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java | |
protected synchronized void updateImage(int x, int y , int width, int height) { if (gg2d == null) { //System.out.println("was null"); gg2d = (Graphics2D)gui.getGraphics(); } // check for selected area and erase it before updating screen if (gui.rubberband != null && gui.rubberb... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6df9beff359d58308f77418bf46d7eb474d031a7/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.