bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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; } } | 2,338 |
UTF_16BE () { super ("UTF-16BE", null); } | UTF_16BE () { super ("UTF-16BE", null); } | 2,339 |
public VirtualMachineError(String s) { super(s); } | public VirtualMachineError(String s) { super(s); } | 2,340 |
public ThreadNameArgument(String name, String description) { super(name, description); } | public ThreadNameArgument(String name, String description) { super(name, description); } | 2,341 |
public ImageIcon(URL url) { this(url, null); } | public ImageIcon() { this(url, null); } | 2,346 |
public ImageIcon(URL url) { this(url, null); } | public ImageIcon(URL url) { this(url, null); } | 2,347 |
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... | 2,349 |
public FieldGroup () { super(); // use superclass constructor init(); // my init } | public FieldGroup () { super(); // use superclass constructor init(); // my init } | 2,350 |
public FieldGroup addFieldGroup (FieldGroup group) { //add the group to the groupOwnedHash addMemberObject((Object) group); return group; } | public FieldGroup addFieldGroup (FieldGroup group) { //add the group to the groupOwnedHash addMemberObject((Object) group); return group; } | 2,351 |
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; } | 2,352 |
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; } | 2,353 |
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); } | 2,354 |
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); } | 2,355 |
public Value () { init(); } | public Value (String strValue) { init(); } | 2,356 |
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); } | 2,358 |
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[]) ... | 2,359 |
public static void printStackTrace (Exception e) { e.printStackTrace((PrintStream) output); } | public static void printStackTrace (Exception e) { e.printStackTrace((PrintStream) output); } | 2,360 |
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... | 2,361 |
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... | 2,362 |
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... | 2,363 |
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... | 2,364 |
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... | 2,365 |
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; } | 2,366 |
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... | 2,367 |
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... | 2,368 |
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) ... | 2,369 |
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... | 2,370 |
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... | 2,371 |
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... | 2,372 |
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... | 2,373 |
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... | 2,374 |
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... | 2,375 |
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... | 2,376 |
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... | 2,377 |
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... | 2,378 |
public boolean getValueIsAdjusting() { return valueIsAdjusting; } | public boolean getValueIsAdjusting() { return selectionModel.getValueIsAdjusting(); } | 2,379 |
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... | 2,380 |
public void setValueIsAdjusting(boolean isAdjusting) { valueIsAdjusting = isAdjusting; } | public void setValueIsAdjusting(boolean isAdjusting) { selectionModel.setValueIsAdjusting(isAdjusting); } | 2,382 |
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(); } | 2,383 |
public int getFirstIndex() { return firstIndex; } // getFirstIndex() | public int getFirstIndex() { return firstIndex; } // getFirstIndex() | 2,385 |
public int getFirstIndex() { return firstIndex; } // getFirstIndex() | public int getFirstIndex() { return firstIndex; } // getFirstIndex() | 2,386 |
public int getLastIndex() { return lastIndex; } // getLastIndex() | public int getLastIndex() { return lastIndex; } // getLastIndex() | 2,387 |
public int getLastIndex() { return lastIndex; } // getLastIndex() | public int getLastIndex() { return lastIndex; } // getLastIndex() | 2,388 |
public ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting) { super(source); this.firstIndex = firstIndex; this.lastIndex = lastIndex; this.isAdjusting = isAdjusting; } // ListSelectionEvent() | public ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting) { super(source); this.firstIndex = firstIndex; this.lastIndex = lastIndex; this.isAdjusting = isAdjusting; } // ListSelectionEvent() | 2,389 |
public ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting) { super(source); this.firstIndex = firstIndex; this.lastIndex = lastIndex; this.isAdjusting = isAdjusting; } // ListSelectionEvent() | public ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting) { super(source); this.firstIndex = firstIndex; this.lastIndex = lastIndex; this.isAdjusting = isAdjusting; } // ListSelectionEvent() | 2,390 |
public AnyHolder(Any initial_value) { value = initial_value; } | public AnyHolder() { value = initial_value; } | 2,391 |
public AnyHolder(Any initial_value) { value = initial_value; } | public AnyHolder(Any initial_value) { } | 2,392 |
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... | 2,394 |
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 } | 2,395 |
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 } | 2,396 |
public void close() throws IOException { in.close(); } | public synchronized void close() throws IOException { in.close(); } | 2,397 |
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(... | 2,399 |
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()); } | 2,400 |
public void setAlignment(int alignment) { //TODO implement it } | public void setAlignment(int alignment) { //TODO implement it } | 2,401 |
public void setText(String text) { ((JLabel)jComponent).setText(text); } | public void setText(String text) { ((JLabel)jComponent).setText(text); } | 2,402 |
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()... | 2,403 |
public String getProperty(String key) { return ""; } | public String getProperty(String key) { return ""; } | 2,404 |
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; } | 2,405 |
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 ... | 2,406 |
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 ... | 2,407 |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent ) { boolean niceOutput = sPrettyXDFOutput; String myIndent; if (indent!=null) myIndent = indent; else ... | 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) ... | 2,408 |
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 ... | 2,409 |
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(); ... | 2,411 |
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... | 2,412 |
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... | 2,413 |
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... | 2,414 |
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... | privateif (blockObjects == null) { emittedClassNames.add(obj.getClass().getName()); } finalif (blockObjects == null) { emittedClassNames.add(obj.getClass().getName()); } voidif (blockObjects == null) { emittedClassNames.add(obj.getClass().getName()); } emitObjects(NativeStreamif (blockObjects == null) { emittedC... | 2,415 |
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... | 2,416 |
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... | 2,417 |
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... | 2,419 |
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... | 2,420 |
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... | 2,421 |
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... | 2,422 |
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... | 2,423 |
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... | 2,424 |
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) 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... | 2,425 |
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)); e... | 2,427 |
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; } | 2,428 |
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; } | 2,429 |
public FileFilter() { // TODO } // FileFilter() | public FileFilter() { // TODO } // FileFilter() | 2,432 |
public PluginException(String message, Throwable cause) { super(message, cause); } | public PluginException(String message, Throwable cause) { super(message, cause); } | 2,433 |
public GetPropertyAction(String key, String defaultValue) { this.key = key; this.defaultValue = defaultValue; } | public GetPropertyAction(String key, String defaultValue) { this.key = key; this.defaultValue = defaultValue; } | 2,434 |
public String getUIClassID() { return uiClassID; } | public String getUIClassID() { return "MenuItemUI"; } | 2,435 |
protected String paramString() { return "JMenuItem"; } | protected String paramString() { return super.paramString(); } | 2,436 |
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(exitStack); } | 2,438 |
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(exitStack); } | 2,439 |
final void pushOuterMethodStack(VirtualStack vstack) { vstack.pushAll(outerMethodStack); } | final void pushOuterMethodStack(VirtualStack vstack) { vstack.pushAll(outerMethodStack); } | 2,440 |
static boolean isWordsBigEndian() { return (Vm.getVm().getArch().getByteOrder() == ByteOrder.BIG_ENDIAN); } | static boolean isWordsBigEndian() { return (Vm.getVm().getArch().getByteOrder() == ByteOrder.BIG_ENDIAN); } | 2,441 |
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); } | 2,442 |
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); } | 2,443 |
void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | void dispatchEventImpl (AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | 2,444 |
void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id)) processEvent(e); } | 2,445 |
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... | 2,446 |
public static ItemListener remove(ItemListener l, ItemListener oldl) { return (ItemListener) removeInternal(l, oldl); } | protected EventListener remove(EventListener oldl) { return (ItemListener) removeInternal(l, oldl); } | 2,447 |
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 AWTEventMultica... | 2,448 |
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... | 2,449 |
public static void warn(String msg) { log(WARN, System.out, msg, null); } | public static void warn(String msg) { log(WARN, System.out, msg, null); } | 2,450 |
public MenuElement[] getPath() { return path; } // getPath() | public MenuElement[] getPath() { return path; } // getPath() | 2,454 |
public MenuElement[] getPath() { return path; } // getPath() | public MenuElement[] getPath() { return path; } // getPath() | 2,455 |
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... | 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... | 2,456 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.