bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
void connect(Stub self, javax.rmi.ORB orb) throws RemoteException; | void connect(Stub self, ORB orb) throws RemoteException; | 1,208 |
getSubType(){ int idx = mimeType.indexOf("/"); if (idx == -1) return(""); String subtype = mimeType.substring(idx + 1); idx = subtype.indexOf(" "); if (idx == -1) return(subtype); else return(subtype.substring(0, idx));} | getSubType(){ int idx = mimeType.indexOf("/"); if (idx == -1) return(""); String subtype = mimeType.substring(idx + 1); idx = subtype.indexOf(" "); if (idx == -1) return(subtype); else return(subtype.substring(0, idx));} | 1,210 |
getSubType(){ int idx = mimeType.indexOf("/"); if (idx == -1) return(""); String subtype = mimeType.substring(idx + 1); idx = subtype.indexOf(" "); if (idx == -1) return(subtype); else return(subtype.substring(0, idx));} | getSubType(){ int idx = mimeType.indexOf("/"); if (idx == -1) return(""); String subtype = mimeType.substring(idx + 1); idx = subtype.indexOf(" "); if (idx == -1) return(subtype); else return(subtype.substring(0, idx));} | 1,211 |
getSubType(){ int idx = mimeType.indexOf("/"); if (idx == -1) return(""); String subtype = mimeType.substring(idx + 1); idx = subtype.indexOf(" "); if (idx == -1) return(subtype); else return(subtype.substring(0, idx));} | getSubType(){ int idx = mimeType.indexOf("/"); if (idx == -1) return(""); String subtype = mimeType.substring(idx + 1); idx = subtype.indexOf(" "); if (idx == -1) return(subtype); else return mimeType.substring(start + 1, end);} | 1,212 |
isMimeTypeEqual(String mimeType){ // FIXME: Need to handle default attributes and parameters return(this.mimeType.equals(mimeType));} | isMimeTypeEqual(String mimeType){ // FIXME: Need to handle default attributes and parameters i = mimeType.indexOf(";"); if (i != -1) mimeType = mimeType.substring(0, i); return mime.equals(mimeType);} | 1,214 |
isRepresentationClassRemote(){ // FIXME: Implement throw new RuntimeException("Not implemented");} | isRepresentationClassRemote(){ // FIXME: Implement return Remote.class.isAssignableFrom (representationClass);} | 1,215 |
toString(){ return("DataFlavor[representationClass=" + representationClass.getName() + ",mimeType=" + mimeType + "humanPresentableName=" + humanPresentableName);} | toString(){ return("DataFlavor[representationClass=" + representationClass.getName() + ",mimeType=" + mimeType + "humanPresentableName=" + humanPresentableName);} | 1,216 |
public File createFileObject(String path) { return new File(path); } | public File createFileObject(File dir, String filename) { return new File(path); } | 1,217 |
public File createFileObject(String path) { return new File(path); } | public File createFileObject(String path) { return new File(dir, filename); } | 1,218 |
public String getDescription(File value0) { return null; // TODO } // getDescription() | public String getDescription(File value0) { return null; // TODO } // getDescription() | 1,219 |
public Icon getIcon(File value0) { return null; // TODO } // getIcon() | public Icon getIcon(File value0) { return null; // TODO } // getIcon() | 1,220 |
public String getTypeDescription(File value0) { return null; // TODO } // getTypeDescription() | public String getTypeDescription(File value0) { return null; // TODO } // getTypeDescription() | 1,221 |
private static double scale(double x, int n) { if (x == 0 || x == Double.NEGATIVE_INFINITY || !(x < Double.POSITIVE_INFINITY) || n == 0) return x; long bits = Double.doubleToLongBits(x); int exp = (int) (bits >> 52) & 0x7ff; if (exp == 0) // Subnormal x. { x *= TWO_54; exp = ((int) (Double.doubleToLongBits... | private static double scale(double x, int n) { if (x == 0 || x == Double.NEGATIVE_INFINITY || !(x < Double.POSITIVE_INFINITY) || n == 0) return x; long bits = Double.doubleToLongBits(x); int exp = (int) (bits >> 52) & 0x7ff; if (exp == 0) // Subnormal x. { x *= TWO_54; exp = ((int) (Double.doubleToLongBits... | 1,223 |
public static double toDegrees(double rads) { return rads * (180 / PI); } | public static double toDegrees(double rads) { return rads * (180 / PI); } | 1,224 |
public static double toRadians(double degrees) { return degrees * (PI / 180); } | public static double toRadians(double degrees) { return degrees * (PI / 180); } | 1,225 |
getCursorType(){ return(getCursor().getType());} | getCursorType(){ return(getCursor().getType());} | 1,226 |
remove(MenuComponent menu){ menuBar.remove(menu);} | remove(MenuComponent menu){ menuBar.remove(menu);} | 1,227 |
setCursor(int type){ setCursor(new Cursor(type));} | setCursor(int type){ setCursor(new Cursor(type));} | 1,228 |
setMenuBar(MenuBar menuBar){ if (peer != null) { if (this.menuBar != null) this.menuBar.removeNotify(); if (menuBar != null) menuBar.addNotify(); invalidateTree (); ((FramePeer) peer).setMenuBar(menuBar); } this.menuBar = menuBar;} | setMenuBar(MenuBar menuBar){ if (peer != null) { if (this.menuBar != null) this.menuBar.removeNotify(); if (menuBar != null) menuBar.addNotify(); invalidateTree (); ((FramePeer) peer).setMenuBar(menuBar); } this.menuBar = menuBar;} | 1,229 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) ((FramePeer) peer).setResizable(resizable);} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) ((FramePeer) peer).setResizable(resizable);} | 1,230 |
public static CompletionStatus from_int(int completion) { try { return states [ completion ]; } catch (ArrayIndexOutOfBoundsException ex) { throw new BAD_OPERATION("Invalid completion status " + completion); } } | public static CompletionStatus from_int(int completion) { try { return states [ completion ]; } catch (ArrayIndexOutOfBoundsException ex) { BAD_OPERATION bad = new BAD_OPERATION("Invalid completion status " + completion); bad.minor = Minor.Enumeration; throw bad; } } | 1,231 |
UTF_16BE () { super ("UTF-16BE", null); } | UTF_16BE () { super ("UTF-16BE", new String[] { "UTF16BE", "x-utf-16be", "ibm-1200", "ibm-1201", "ibm-5297", "ibm-13488", "ibm-17584", "windows-1201", "cp1200", "cp1201", "UTF16_BigEndian", "UnicodeBigUnmarked" }); } | 1,232 |
public VirtualMachineError(String s) { super(s); } | public VirtualMachineError(String s) { super(s); } | 1,233 |
public ThreadNameArgument(String name, String description) { super(name, description); } | public ThreadNameArgument(String name, String description) { super(name, description); } | 1,234 |
public ImageIcon(URL url) { this(url, null); } | public ImageIcon() { this(url, null); } | 1,236 |
public ImageIcon(URL url) { this(url, null); } | public ImageIcon(URL url) { this(url, null); } | 1,237 |
public AxisInterface addAxis(AxisInterface axis) { if (axis instanceof FieldAxis) { setFieldAxis((FieldAxis) axis); } else if (canAddAxisObjToArray((Axis) axis)) { //check if the axis can be added getDataCube().incrementDimension((Axis) axis); //increment the DataCube di... | public AxisInterface addAxis(AxisInterface axis) { if (axis instanceof FieldAxis) { setFieldAxis((FieldAxis) axis); } else if (canAddAxisObjToArray((Axis) axis)) { //check if the axis can be added //increment the DataCube dimension by 1 getAxes().add((Axis) ax... | 1,239 |
public Field addField (Field field) { if (field == null) { Log.warn("in FieldAxis.addField(),Field passed in is null"); return null; } getFieldList().add(field); length++; return field; } | public Field addField (Field field) { if (field == null) { Log.warn("in FieldAxis.addField(),Field passed in is null"); return null; } getFieldList().add(field); length++; return field; } | 1,240 |
public Note addNote(Note n) { if (n == null) { Log.warn("in Field.addNote(), the Note passed in is null"); return null; } getNoteList().add(n); return n; } | public Note addNote(Note n) { if (n == null) { Log.warn("in Field.addNote(), the Note passed in is null"); return null; } getNoteList().add(n); return n; } | 1,241 |
public void setAxisTag(String tag, String axisId) { if (tag == null || axisId== null) { Log.error("Missing information: need tag AND axisId for addAxisTag. Ignoring request. returning null"); return; } //insert in hash table, return tag value tagHash.put(axisId, tag); } | public void setAxisTag(String tag, String axisId) { if (tag == null || axisId== null) { Log.error("Missing information: need tag AND axisId for addAxisTag. Ignoring request. returning null"); return; } //insert in hash table, return tag value tagHash.put(axisId, tag); } | 1,242 |
public Unit addUnit(Unit unit) { if (unit == null) { Log.warn("in Array.addUnit(), the Unit passed in is null"); return null; } Units u = getUnits(); if (u == null) { u = new Units(); setUnits(u); } return u.addUnit(unit); } | public Unit addUnit(Unit unit) { if (unit == null) { Log.warn("in Array.addUnit(), the Unit passed in is null"); return null; } Units u = getUnits(); if (u == null) { u = new Units(); setUnits(u); } return u.addUnit(unit); } | 1,243 |
public Value () { init(); } | public Value (String strValue) { init(); } | 1,244 |
public void setData (Locator locator, String strValue ) throws SetDataException { getDataCube().setData(locator, strValue); } | public void setData (Locator locator, String strValue ) throws SetDataException { getDataCube().setData(locator, strValue); } | 1,246 |
public void setData (Locator locator, String strValue ) throws SetDataException { getDataCube().setData(locator, strValue); } | public void setData (Locator locator, String strValue ) throws SetDataException { if (dataObj.getClass().isArray()) { if (dataObj instanceof int[] ) this.setData (locator, (int[])dataObj); else if (dataObj instanceof long[]) this.setData (locator, (long[])dataObj); else if (dataObj instanceof float[]) ... | 1,247 |
public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | public int getNextMatch(String prefix, int startIndex, Position.Bias direction) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'start... | 1,248 |
public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | 1,249 |
public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | 1,250 |
public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | 1,251 |
public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | 1,252 |
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; } | public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; } | 1,253 |
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; } | public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { if (orientation == VERTICAL) return visibleRect.height * direction; else { Point p = new Point(visibleRect.x, visibleRect.y - visibleRect.height); int newFirst = lo... | 1,254 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { int unit = -1; if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new Point(visib... | 1,255 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { int row = getFirstVisibleIndex(); if (row == -1) unit = 0; else if (direction > 0) ... | 1,256 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,257 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,258 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,259 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,260 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,261 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,262 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,263 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,264 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { ListUI lui = this.getUI(); if (orientation == SwingConstants.VERTICAL) { if (direction > 0) { // Scrolling down Point bottomLeft = new... | 1,265 |
public boolean getValueIsAdjusting() { return valueIsAdjusting; } | public boolean getValueIsAdjusting() { return selectionModel.getValueIsAdjusting(); } | 1,266 |
private void init(ListModel m) { if (m == null) throw new IllegalArgumentException("Null model not permitted."); dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 7; cellRenderer = n... | private void init(ListModel m) { if (m == null) throw new IllegalArgumentException("Null model not permitted."); dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 7; cellRenderer = n... | 1,267 |
public void setValueIsAdjusting(boolean isAdjusting) { valueIsAdjusting = isAdjusting; } | public void setValueIsAdjusting(boolean isAdjusting) { selectionModel.setValueIsAdjusting(isAdjusting); } | 1,269 |
public void setVisibleRowCount(int vc) { visibleRowCount = vc; revalidate(); repaint(); } | public void setVisibleRowCount(int vc) { if (visibleRowCount != vc) { int oldValue = visibleRowCount; visibleRowCount = Math.max(vc, 0); firePropertyChange("visibleRowCount", oldValue, vc); revalidate(); repaint(); } | 1,270 |
public AnyHolder(Any initial_value) { value = initial_value; } | public AnyHolder() { value = initial_value; } | 1,272 |
public AnyHolder(Any initial_value) { value = initial_value; } | public AnyHolder(Any initial_value) { } | 1,273 |
private void readHeader() throws IOException { /* 1. Check the two magic bytes */ CRC32 headCRC = new CRC32(); int magic = in.read(); if (magic < 0) { eos = true; return; } int magic2 = in.read(); if ((magic + (magic2 << 8)) != GZIP_MAGIC) throw new IOException("Error in GZIP h... | private void readHeader() throws IOException { /* 1. Check the two magic bytes */ CRC32 headCRC = new CRC32(); int magic = in.read(); if (magic < 0) { eos = true; return; } int magic2 = in.read(); if ((magic + (magic2 << 8)) != GZIP_MAGIC) throw new IOException("Error in GZIP h... | 1,275 |
public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); this.inf = inf; this.len = 0; if (size <= 0) throw new IllegalArgumentException("size <= 0"); buf = new byte[size]; //Create the buffer } | public InflaterInputStream(InputStream in) { super(in); this.inf = inf; this.len = 0; if (size <= 0) throw new IllegalArgumentException("size <= 0"); buf = new byte[size]; //Create the buffer } | 1,276 |
public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); this.inf = inf; this.len = 0; if (size <= 0) throw new IllegalArgumentException("size <= 0"); buf = new byte[size]; //Create the buffer } | public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); this.inf = inf; this.len = 0; if (size <= 0) throw new IllegalArgumentException("size <= 0"); buf = new byte[size]; //Create the buffer } | 1,277 |
public void close() throws IOException { in.close(); } | public synchronized void close() throws IOException { in.close(); } | 1,278 |
public int read(byte[] b, int off, int len) throws IOException { for (;;) { int count; try { count = inf.inflate(b, off, len); } catch (DataFormatException dfe) { throw new ZipException(dfe.getMessage()); } if (count > 0) return count; if (inf.needsDictionary()) throw new ZipException(... | public int read(byte[] b, int off, int len) throws IOException { for (;;) { int count; try { count = inf.inflate(b, off, len); } catch (DataFormatException dfe) { throw new ZipException(dfe.getMessage()); } if (count > 0) return count; if (inf.needsDictionary()) throw new ZipException(... | 1,280 |
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()); } | 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()); } | 1,281 |
private static boolean checkScripts() { File directory = new File("scripts"); File directory2 = new File(GlobalConfigure.instance().getProperty( "emulator.settingsDirectory") + "scripts"); return directory.isDirectory() || directory2.isDirectory(); ... | private static boolean checkScripts() { File directory = new File("scripts"); File directory2 = new File(GlobalConfigure.getInstance().getProperty( "emulator.settingsDirectory") + "scripts"); return directory.isDirectory() || directory2.isDirectory()... | 1,282 |
public String getProperty(String key) { return ""; } | public String getProperty(String key) { return ""; } | 1,283 |
public Array setParentArray(Array parentArray) { Log.debug("in XMLDataIOStyle, setParentArray()"); this.parentArray = parentArray; return parentArray; } | protected Array setParentArray(Array parentArray) { Log.debug("in XMLDataIOStyle, setParentArray()"); this.parentArray = parentArray; return parentArray; } | 1,284 |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 1,285 |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 1,286 |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 1,288 |
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(); ... | 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(); ... | 1,289 |
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... | 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... | 1,290 |
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... | 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... | 1,291 |
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... | 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... | 1,293 |
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... | 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... | 1,294 |
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... | 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... | 1,296 |
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... | 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... | 1,297 |
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... | protected final void printLabels(NativeStream os, VmType[] bootClasses, VmStatics statics) 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.leng... | 1,298 |
public Session openSession(Properties sesProps, String configurationResource , String sessionName) {// throws TN5250jException { sesProps.put(SESSION_NAME,sessionName); if (configurationResource == null) conf... | public Session openSession(Properties sesProps, String configurationResource , String sessionName) {// throws TN5250jException { if(sessionName == null) sesProps.put(SESSION_TERM_NAME,sesProps.getProperty(SESSION_HOST)); ... | 1,300 |
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; } | public Session item (int index) { 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; } | 1,301 |
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; } | 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; } | 1,302 |
public PluginException(String message, Throwable cause) { super(message, cause); } | public PluginException(String message, Throwable cause) { super(message, cause); } | 1,305 |
public GetPropertyAction(String key, String defaultValue) { this.key = key; this.defaultValue = defaultValue; } | public GetPropertyAction(String key, String defaultValue) { this.key = key; this.defaultValue = defaultValue; } | 1,306 |
public String getUIClassID() { return uiClassID; } | public String getUIClassID() { return "MenuItemUI"; } | 1,307 |
protected String paramString() { return "JMenuItem"; } | protected String paramString() { return super.paramString(); } | 1,308 |
final void pushExitStack(VirtualStack vstack) { vstack.reset(); //vstack.pushAll(outerMethodStack); vstack.pushAll(exitStack); } | final void pushExitStack(ItemFactory ifac, VirtualStack vstack) { vstack.reset(); //vstack.pushAll(outerMethodStack); vstack.pushAll(exitStack); } | 1,310 |
final void pushExitStack(VirtualStack vstack) { vstack.reset(); //vstack.pushAll(outerMethodStack); vstack.pushAll(exitStack); } | final void pushExitStack(VirtualStack vstack) { vstack.reset(); //vstack.pushAll(outerMethodStack); vstack.pushAll(ifac, exitStack); } | 1,311 |
final void pushOuterMethodStack(VirtualStack vstack) { vstack.pushAll(outerMethodStack); } | final void pushOuterMethodStack(VirtualStack vstack) { vstack.pushAll(outerMethodStack); } | 1,312 |
public static ItemListener add(ItemListener a, ItemListener b) { return (ItemListener) addInternal(a, b); } | public static ComponentListener add(ComponentListener a, ComponentListener b) { return (ItemListener) addInternal(a, b); } | 1,313 |
public static ItemListener add(ItemListener a, ItemListener b) { return (ItemListener) addInternal(a, b); } | public static ItemListener add(ItemListener a, ItemListener b) { return (ComponentListener) addInternal(a, b); } | 1,314 |
void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | 1,315 |
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... | 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... | 1,316 |
public static ItemListener remove(ItemListener l, ItemListener oldl) { return (ItemListener) removeInternal(l, oldl); } | protected EventListener remove(EventListener oldl) { return (ItemListener) removeInternal(l, oldl); } | 1,317 |
public static ItemListener remove(ItemListener l, ItemListener oldl) { return (ItemListener) removeInternal(l, oldl); } | public static ItemListener remove(ItemListener l, ItemListener 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 AWTEventMulticas... | 1,318 |
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... | 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... | 1,319 |
public static void warn(String msg) { log(WARN, System.out, msg, null); } | public static void warn(String msg) { log(WARN, System.out, msg, null); } | 1,320 |
public Object clone() throws CloneNotSupportedException { return super.clone(); } | public Object clone() throws CloneNotSupportedException { BaseMac result = (BaseMac) super.clone(); if (this.underlyingHash != null) result.underlyingHash = (IMessageDigest) this.underlyingHash.clone(); return result; } | 1,324 |
public Number evaluate (Number value) { //NOT IMPLEMENTED YET return (Number) new Integer("0"); } | public double evaluate (double value) { //NOT IMPLEMENTED YET return (Number) new Integer("0"); } | 1,325 |
public Number evaluate (Number value) { //NOT IMPLEMENTED YET return (Number) new Integer("0"); } | public Number evaluate (Number value) { //NOT IMPLEMENTED YET return value; } | 1,326 |
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... | protected void init() { super.init(); 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(Collection... | 1,327 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.