bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public int getLocationOfTyp_L_PathTable() { return locationOfTyp_L_PathTable; } | public int getLocationOfTyp_L_PathTable() { return locationOfTyp_L_PathTable; } | 13,691 |
public int getLocationOfTyp_M_PathTable() { return locationOfTyp_M_PathTable; } | public int getLocationOfTyp_M_PathTable() { return locationOfTyp_M_PathTable; } | 13,692 |
public int getNumberOfLB() { return numberOfLB; } | public int getNumberOfLB() { return numberOfLB; } | 13,693 |
public int getPathTableSize() { return pathTableSize; } | public int getPathTableSize() { return pathTableSize; } | 13,694 |
public EntryRecord getRootDirectoryEntry() { return rootDirectoryEntry; } | public EntryRecord getRootDirectoryEntry() { return rootDirectoryEntry; } | 13,695 |
public String getStandardIdentifier() { return standardIdentifier; } | public String getStandardIdentifier() { return standardIdentifier; } | 13,696 |
public String getSystemIdentifier() { return systemIdentifier; } | public String getSystemIdentifier() { return systemIdentifier; } | 13,697 |
public int getType() { return type; } | public int getType() { return type; } | 13,698 |
public ISO9660Volume getVolume() { return volume; } | public ISO9660Volume getVolume() { return volume; } | 13,699 |
public String getVolumeIdentifier() { return volumeIdentifier; } | public String getVolumeIdentifier() { return volumeIdentifier; } | 13,700 |
public String getVolumeSetIdentifier() { return volumeSetIdentifier; } | public String getVolumeSetIdentifier() { return volumeSetIdentifier; } | 13,701 |
public int getVolumeSetSize() { return volumeSetSize; } | public int getVolumeSetSize() { return volumeSetSize; } | 13,702 |
public void printOut() { System.out.println("Primary volume information: "); System.out.println(" - Standard Identifier: " + this.getStandardIdentifier()); System.out.println(" - System Identifier: " + this.getSystemIdentifier()); System.out.println(" - Volume Identifier: " + this.getVolumeIdentifier()); System.o... | public void printOut() { System.out.println("Primary volume information: "); System.out.println(" - Standard Identifier: " + this.getStandardIdentifier()); System.out.println(" - System Identifier: " + this.getSystemIdentifier()); System.out.println(" - Volume Identifier: " + this.getVolumeIdentifier()); System.o... | 13,703 |
private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getRowColFromPoint(me.getX(),me.getY()) - (screen.getCols()-1); if (!rubberband.isAreaSelected() && s... | private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getRowColFromPoint(me.getX(),me.getY()) - (screen.getCols()-1); if (!rubberband.isAreaSelected() && s... | 13,704 |
private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getRowColFromPoint(me.getX(),me.getY()) - (screen.getCols()-1); if (!rubberband.isAreaSelected() && s... | private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getRowColFromPoint(me.getX(),me.getY()) - (screen.getCols()-1); if (!rubberband.isAreaSelected() && s... | 13,705 |
public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalSliderUI instance; if (o == null) { instance = new MetalSliderUI(); instances.put(component, instance); } else instance = (Met... | publicstaticComponentUIcreateUI(JComponentcomponent){if(instances==null)instances=newHashMap();Objecto=instances.get(component);MetalSliderUIinstance;if(o==null){instance=newMetalSliderUI(); instances.put(component,instance);}elseinstance=(MetalSliderUI)o;returninstance;} | 13,707 |
EmitterContext(AbstractX86Stream os, X86CompilerHelper helper, VirtualStack vstack, X86RegisterPool pool) { this.os = os; this.helper = helper; this.vstack = vstack; this.pool = pool; } | EmitterContext(AbstractX86Stream os, X86CompilerHelper helper, VirtualStack vstack, X86RegisterPool pool, ItemFactory ifac) { this.os = os; this.helper = helper; this.vstack = vstack; this.pool = pool; } | 13,709 |
X86CompilerHelper getHelper() { return helper; } | final X86CompilerHelper getHelper() { return helper; } | 13,711 |
X86RegisterPool getPool() { return pool; } | final X86RegisterPool getPool() { return pool; } | 13,712 |
AbstractX86Stream getStream() { return os; } | final AbstractX86Stream getStream() { return os; } | 13,713 |
VirtualStack getVStack() { return vstack; } | final VirtualStack getVStack() { return vstack; } | 13,714 |
public void startProduction(ImageConsumer ic) { if (! (consumers.contains(ic))) consumers.addElement(ic); Vector list = (Vector) consumers.clone(); for (int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture(ic); if (animated) ic.imageComplete(ImageConsumer.SINGLE... | public void startProduction(ImageConsumer ic) { if (! (consumers.contains(ic))) consumers.addElement(ic); Vector list = (Vector) consumers.clone(); for (int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture(ic); if (animated) ic.imageComplete(ImageConsumer.SINGLE... | 13,716 |
public static AlreadyBound extract(Any a) { try { return ((AlreadyBoundHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION(); } } | public static AlreadyBound extract(Any a) { try { return ((AlreadyBoundHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION(); bad.initCause(ex); bad.minor = Minor.Any; throw bad; } } | 13,717 |
public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ... | publicvoidaction(SaxDocumentHandlerhandler){//westoppedreadingdatanode,lowercountbyoneDataNodeLevel--;//wemightstillbenestedwithinadatanode//ifso,returnnowtoaccumulatemoredatawithintheDATABLOCKif(DataNodeLevel!=0)return;//nowwearereadytoreadinuntaggeddata(bothdelimited/formmattedstyles)//fromtheDATABLOCK//Note:unfortun... | 13,719 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // for node sets the iteration order for how we will setData // in the datacube (important for delimited and formatted reads). int size = attrs.getLength(); for (int i = 0; i < size; i++) {... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // for node sets the iteration order for how we will setData // in the datacube (important for delimited and formatted reads). int size = attrs.getLength(); for (int i = 0; i < size; i++) {... | 13,720 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | 13,721 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | 13,722 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | 13,723 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // grab parent node name String parentNodeName = getParentNodeName(); // create new object appropriately Parameter newparameter = new Parameter(); newparameter.setXMLAttributes(attrs); // set XM... | 13,724 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // The root node is just a "structure" node, // but is always the first one. XDF.setXMLAttributes(attrs); // set XML attributes from passed list CurrentStructure = XDF; // current working structure... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // The root node is just a "structure" node, // but is always the first one. XDF.setXMLAttributes(attrs); // set XML attributes from passed list setCurrentStructure(XDF); // current working structu... | 13,725 |
private Array appendArrayToArray (Array arrayToAppendTo, Array arrayToAdd) { if (arrayToAppendTo != null) { List origAxisList = arrayToAppendTo.getAxes(); List addAxisList = arrayToAdd.getAxes(); Hashtable correspondingAddAxis = new Hashtable(); Hashtable correspon... | private ArrayInterface appendArrayToArray ( ArrayInterface arrayToAppendTo, ArrayInterface arrayToAdd ) { if (arrayToAppendTo != null) { List origAxisList = arrayToAppendTo.getAxes(); List addAxisList = arrayToAdd.getAxes(); Hashtable correspondingAddAxis = new Hashtable(); ... | 13,726 |
public Array getCurrentArray () { return CurrentArray; } | public ArrayInterface getCurrentArray () { return CurrentArray; } | 13,727 |
public Structure getCurrentStructure () { return CurrentStructure; } | public StructureInterface getCurrentStructure () { return CurrentStructure; } | 13,728 |
private void init () { // set up logging, needed ?? Log.configure("XDFLogConfig"); // assign/init 'globals' (e.g. object fields) XDF = new Structure(); Options = new Hashtable(); startElementHandlerHashtable = new Hashtable(); // start node handler charDataHandlerHashtable... | private void init () { // set up logging, needed ?? Log.configure("XDFLogConfig"); // assign/init 'globals' (e.g. object fields) XDF = new XDF(); Options = new Hashtable(); startElementHandlerHashtable = new Hashtable(); // start node handler charDataHandlerHashtable = new... | 13,729 |
public void setCurrentArray(Array array) { CurrentArray = array; } | private void setCurrentArray(ArrayInterface array) { CurrentArray = array; } | 13,730 |
public void setCurrentDatatypeObject(Object object) { CurrentDatatypeObject = object; } | private void setCurrentDatatypeObject(Object object) { CurrentDatatypeObject = object; } | 13,731 |
public void setCurrentStructure (Structure structure) { CurrentStructure = structure; } | private void setCurrentStructure (StructureInterface structure) { CurrentStructure = structure; } | 13,732 |
public GnuRSAPublicKey(final BigInteger n, final BigInteger e) { // super(n); super(n, e); // // this.e = e; } | public GnuRSAPublicKey(final BigInteger n, final BigInteger e) { // super(n); this(Registry.RAW_ENCODING_ID, n, e); // // this.e = e; } | 13,733 |
public boolean equals(final Object obj) { if (obj == null) { return false; } if (!(obj instanceof RSAPublicKey)) { return false; } final RSAPublicKey that = (RSAPublicKey) obj; // return super.equals(that) && e.equals(that.getPublicExponent()); return super.equal... | publicbooleanequals(finalObjectobj){if(obj==null){returnfalse;}if(!(objinstanceofRSAPublicKey)){returnfalse;}finalRSAPublicKeythat=(RSAPublicKey)obj;//returnsuper.equals(that)&&e.equals(that.getPublicExponent());returnsuper.equals(that)&&getPublicExponent().equals(that.getPublicExponent());} | 13,734 |
public byte[] getEncoded(final int format) { final byte[] result; switch (format) { case IKeyPairCodec.RAW_FORMAT: result = new RSAKeyPairRawCodec().encodePublicKey(this); break; default: throw new IllegalArgumentException("format"); } return result; } | public byte[] getEncoded(final int format) { final byte[] result; switch (format) { case IKeyPairCodec.RAW_FORMAT: result = new RSAKeyPairRawCodec().encodePublicKey(this); break; default: throw new IllegalArgumentException("Unsupported encoding format: " + format); } ... | 13,735 |
public static GnuRSAPublicKey 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 byte... | public static GnuRSAPublicKey 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 byte... | 13,736 |
public static GnuRSAPublicKey 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 byte... | public static GnuRSAPublicKey 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 byte... | 13,737 |
public static GnuRSAPublicKey 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 byte... | public static GnuRSAPublicKey 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 byte... | 13,738 |
public static GnuRSAPublicKey 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 byte... | public static GnuRSAPublicKey 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 byte... | 13,739 |
public long skip(long n) throws IOException { if (n < 0) throw new IllegalArgumentException(); int len = 2048; if (n < len) len = (int) n; byte[] tmp = new byte[len]; return (long) read(tmp); } | public long skip(long n) throws IOException { if (n < 0) throw new IllegalArgumentException(); int len = 2048; if (n < len) len = (int) n; byte[] tmp = new byte[len]; return (long) read(tmp); } | 13,743 |
public void dump (byte[] abyte0) { try { System.out.print("\n Buffer Dump of data from AS400: "); dw.write("\r\n Buffer Dump of data from AS400: ".getBytes()); StringBuffer h = new StringBuffer(); for (int x = 0; x < abyte0.length; x++) { if (x % 16 == 0) { ... | public void dump (byte[] abyte0) { try { log.info("\n Buffer Dump of data from AS400: "); dw.write("\r\n Buffer Dump of data from AS400: ".getBytes()); StringBuffer h = new StringBuffer(); for (int x = 0; x < abyte0.length; x++) { if (x % 16 == 0) { Syste... | 13,744 |
public void dump (byte[] abyte0) { try { System.out.print("\n Buffer Dump of data from AS400: "); dw.write("\r\n Buffer Dump of data from AS400: ".getBytes()); StringBuffer h = new StringBuffer(); for (int x = 0; x < abyte0.length; x++) { if (x % 16 == 0) { ... | public void dump (byte[] abyte0) { try { System.out.print("\n Buffer Dump of data from AS400: "); dw.write("\r\n Buffer Dump of data from AS400: ".getBytes()); StringBuffer h = new StringBuffer(); for (int x = 0; x < abyte0.length; x++) { if (x % 16 == 0) { ... | 13,745 |
private final void loadStream(byte abyte0[], int i) throws IOException { int j = 0; int size = 0; if (saveStream == null) { j = (abyte0[i] & 0xff) << 8 | abyte0[i + 1] & 0xff; size = abyte0.length; } else { size = saveStream.length + abyte0.length; byte[] ... | log.debug("partial stream found"); log.debug("partial stream found"); log.debug("partial stream found"); privatelog.debug("partial stream found"); finallog.debug("partial stream found"); voidlog.debug("partial stream found"); loadStream(bytelog.debug("partial stream found"); abyte0[],log.debug("partial stream found"); ... | 13,746 |
private final void loadStream(byte abyte0[], int i) throws IOException { int j = 0; int size = 0; if (saveStream == null) { j = (abyte0[i] & 0xff) << 8 | abyte0[i + 1] & 0xff; size = abyte0.length; } else { size = saveStream.length + abyte0.length; byte[] ... | log.debug("partial stream saved"); log.debug("partial stream saved"); log.debug("partial stream saved"); privatelog.debug("partial stream saved"); finallog.debug("partial stream saved"); voidlog.debug("partial stream saved"); loadStream(bytelog.debug("partial stream saved"); abyte0[],log.debug("partial stream saved"); ... | 13,747 |
private final void loadStream(byte abyte0[], int i) throws IOException { int j = 0; int size = 0; if (saveStream == null) { j = (abyte0[i] & 0xff) << 8 | abyte0[i + 1] & 0xff; size = abyte0.length; } else { size = saveStream.length + abyte0.length; byte[] ... | private final void loadStream(byte abyte0[], int i) throws IOException { int j = 0; int size = 0; if (saveStream == null) { j = (abyte0[i] & 0xff) << 8 | abyte0[i + 1] & 0xff; size = abyte0.length; } else { size = saveStream.length + abyte0.length; byte[] ... | 13,748 |
public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { System.out.println(" run() " + ioef.getMessage()); } while (!done) { try { ... | public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { log.warn(" run() " + ioef.getMessage()); } while (!done) { try { byte[] a... | 13,749 |
public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { System.out.println(" run() " + ioef.getMessage()); } while (!done) { try { ... | public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { System.out.println(" run() " + ioef.getMessage()); } while (!done) { try { ... | 13,750 |
public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { System.out.println(" run() " + ioef.getMessage()); } while (!done) { try { ... | log.warn(ioe.getMessage()); log.warn(ioe.getMessage()); log.warn(ioe.getMessage()); publiclog.warn(ioe.getMessage()); finallog.warn(ioe.getMessage()); voidlog.warn(ioe.getMessage()); run()log.warn(ioe.getMessage()); {log.warn(ioe.getMessage()); log.warn(ioe.getMessage()); log.warn(ioe.getMessage()); log.warn(ioe.getMes... | 13,751 |
public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { System.out.println(" run() " + ioef.getMessage()); } while (!done) { try { ... | public final void run() { boolean done = false; me = Thread.currentThread(); // load the first response screen try { loadStream(abyte2, 0); } catch (IOException ioef) { System.out.println(" run() " + ioef.getMessage()); } while (!done) { try { ... | 13,752 |
public void run() { Socket socket = null; DataInputStream datainputstream = null; String localFileFull = localFileF; executeCommand("TYPE","I"); try { socket = createPassiveSocket("RETR " + remoteFileF); if(socket != null) { ... | public void run() { Socket socket = null; DataInputStream datainputstream = null; String localFileFull = localFileF; executeCommand("TYPE","I"); try { socket = createPassiveSocket("RETR " + remoteFileF); if(socket != null) { ... | 13,753 |
public StackManagerImpl(X86RegisterPool pool) { this.pool = pool; } | public StackManagerImpl(X86RegisterPool pool) { this.pool = pool; } | 13,754 |
public void writePUSH(int jvmType, Register reg) { final Item item = WordItem.createReg(jvmType, reg); Item.assertCondition(pool.request(reg, item), "request"); push(item); } | public void writePUSH(int jvmType, Register reg) { final Item item = WordItem.createReg(jvmType, reg); Item.assertCondition(pool.request(reg, item), "request"); push(item); } | 13,756 |
public void writePUSH64(int jvmType, Register lsbReg, Register msbReg) { final Item item; switch (jvmType) { case JvmType.LONG: item = LongItem.createReg(lsbReg, msbReg); break; case JvmType.DOUBLE: item = DoubleItem.createReg(lsbReg, msbReg); break; default: throw new IllegalArgumentExceptio... | public void writePUSH64(int jvmType, Register lsbReg, Register msbReg) { final Item item; switch (jvmType) { case JvmType.LONG: item = LongItem.createReg(lsbReg, msbReg); break; case JvmType.DOUBLE: item = DoubleItem.createReg(lsbReg, msbReg); break; default: throw new IllegalArgumentExceptio... | 13,757 |
final AbstractX86StackManager createStackMgr(X86RegisterPool pool) { return new StackManagerImpl(pool); } | final AbstractX86StackManager createStackMgr(X86RegisterPool pool) { return new StackManagerImpl(pool); } | 13,758 |
final void pushAll(TypeStack tstack) { if ((tstack != null) && !tstack.isEmpty()) { final int size = tstack.size(); for (int i = 0; i < size; i++) { final int type = tstack.getType(i); final Item item = VirtualStack.createStack(type); push(item); if (VirtualStack.checkOperandStack) { operandStack.... | final void pushAll(TypeStack tstack) { if ((tstack != null) && !tstack.isEmpty()) { final int size = tstack.size(); for (int i = 0; i < size; i++) { final int type = tstack.getType(i); final Item item = VirtualStack.createStack(type); push(item); if (VirtualStack.checkOperandStack) { operandStack.... | 13,759 |
final void pushAll(TypeStack tstack) { if ((tstack != null) && !tstack.isEmpty()) { final int size = tstack.size(); for (int i = 0; i < size; i++) { final int type = tstack.getType(i); final Item item = VirtualStack.createStack(type); push(item); if (VirtualStack.checkOperandStack) { operandStack.... | final void pushAll(TypeStack tstack) { if ((tstack != null) && !tstack.isEmpty()) { final int size = tstack.size(); for (int i = 0; i < size; i++) { final int type = tstack.getType(i); final Item item = VirtualStack.createStack(type); push(item); if (VirtualStack.checkOperandStack) { operandStack.... | 13,760 |
public String getUIClassID() { return uiClassID; } | public String getUIClassID() { return "ComboBoxUI"; } | 13,762 |
public void setEditable(boolean editable) { if (isEditable != editable) { isEditable = editable; firePropertyChange(EDITABLE_CHANGED_PROPERTY, ! isEditable, isEditable); } } | public void setEditable(boolean editable) { if (isEditable != editable) { isEditable = editable; firePropertyChange("editable", ! isEditable, isEditable); } } | 13,763 |
public void setEditor(ComboBoxEditor newEditor) { if (editor == newEditor) return; if (editor != null) editor.removeActionListener(this); ComboBoxEditor oldEditor = editor; editor = newEditor; if (editor != null) editor.addActionListener(this); firePropertyChange(EDITOR_CHANGED_PROPE... | public void setEditor(ComboBoxEditor newEditor) { if (editor == newEditor) return; if (editor != null) editor.removeActionListener(this); ComboBoxEditor oldEditor = editor; editor = newEditor; if (editor != null) editor.addActionListener(this); firePropertyChange("editor", oldEditor,... | 13,764 |
public void setEnabled(boolean enabled) { boolean oldEnabled = super.isEnabled(); if (enabled != oldEnabled) { super.setEnabled(enabled); firePropertyChange(ENABLED_CHANGED_PROPERTY, oldEnabled, (boolean) enabled); } } | public void setEnabled(boolean enabled) { boolean oldEnabled = super.isEnabled(); if (enabled != oldEnabled) { super.setEnabled(enabled); firePropertyChange(ENABLED_CHANGED_PROPERTY, oldEnabled, (boolean) enabled); } } | 13,765 |
public void setMaximumRowCount(int rowCount) { if (maximumRowCount != rowCount) { int oldMaximumRowCount = maximumRowCount; maximumRowCount = rowCount; firePropertyChange(MAXIMUM_ROW_COUNT_CHANGED_PROPERTY, oldMaximumRowCount, maximumRowCount); } } | public void setMaximumRowCount(int rowCount) { if (maximumRowCount != rowCount) { int oldMaximumRowCount = maximumRowCount; maximumRowCount = rowCount; firePropertyChange(MAXIMUM_ROW_COUNT_CHANGED_PROPERTY, oldMaximumRowCount, maximumRowCount); } } | 13,766 |
public void setModel(ComboBoxModel newDataModel) { // dataModel is null if it this method is called from inside the constructors. if(dataModel != null) { // Prevents unneccessary updates. if (dataModel == newDataModel) return; // Removes itself (as DataListener) from the to-be-replaced model. dat... | public void setModel(ComboBoxModel newDataModel) { // dataModel is null if it this method is called from inside the constructors. if(dataModel != null) { // Prevents unneccessary updates. if (dataModel == newDataModel) return; // Removes itself (as DataListener) from the to-be-replaced model. dat... | 13,767 |
public void setRenderer(ListCellRenderer aRenderer) { if (renderer != aRenderer) { ListCellRenderer oldRenderer = renderer; renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, renderer); } } | public void setRenderer(ListCellRenderer aRenderer) { if (renderer != aRenderer) { ListCellRenderer oldRenderer = renderer; renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, renderer); } } | 13,768 |
public static Throwable systemException(int nr, int address) throws PragmaUninterruptible, PragmaLoadStatics, PragmaPrivilegedAction { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); //Unsafe.die(); Unsafe.debug(nr); Unsafe.debug(address); final String hexAddress = NumberUti... | public static Throwable systemException(int nr, int address) throws PragmaUninterruptible, PragmaLoadStatics, PragmaPrivilegedAction { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); //Unsafe.die(); Unsafe.debug(nr); Unsafe.debug(address); final String hexAddress = NumberUti... | 13,769 |
public static Throwable systemException(int nr, int address) throws PragmaUninterruptible, PragmaLoadStatics, PragmaPrivilegedAction { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); //Unsafe.die(); Unsafe.debug(nr); Unsafe.debug(address); final String hexAddress = NumberUti... | public static Throwable systemException(int nr, int address) throws PragmaUninterruptible, PragmaLoadStatics, PragmaPrivilegedAction { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); //Unsafe.die(); Unsafe.debug(nr); Unsafe.debug(address); final String hexAddress = NumberUti... | 13,770 |
protected AccessibleObject() { } | protected AccessibleObject() { } | 13,771 |
private static final void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new ReflectPermission("suppressAccessChecks")); } } | private static final void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new ReflectPermission("suppressAccessChecks")); } } | 13,772 |
private static final void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new ReflectPermission("suppressAccessChecks")); } } | private static final void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new ReflectPermission("suppressAccessChecks")); } } | 13,773 |
private static final void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new ReflectPermission("suppressAccessChecks")); } } | private static final void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(new ReflectPermission("suppressAccessChecks")); } } | 13,774 |
public boolean isAccessible() { return flag; } | public boolean isAccessible() { return flag; } | 13,775 |
protected void resolve() throws PluginException { final ExtensionPointModel ep = (ExtensionPointModel) getDeclaringPluginDescriptor().getPluginRegistry().getExtensionPoint(point); if (ep == null) { throw new PluginException("Unknown extension-point " + point); } else { ep.add(this); } } | protected void resolve() throws PluginException { final ExtensionPointModel ep = (ExtensionPointModel) getDeclaringPluginDescriptor().getPluginRegistry().getExtensionPoint(point); if (ep == null) { throw new PluginException("Unknown extension-point " + point); } else { ep.add(this); } } | 13,777 |
protected void unresolve() throws PluginException { final ExtensionPointModel ep = (ExtensionPointModel) getDeclaringPluginDescriptor().getPluginRegistry().getExtensionPoint(point); if (ep == null) { throw new PluginException("Unknown extension-point " + point); } else { ep.remove(this); } } | protected void unresolve() throws PluginException { final ExtensionPointModel ep = (ExtensionPointModel) getDeclaringPluginDescriptor().getPluginRegistry().getExtensionPoint(point); if (ep == null) { throw new PluginException("Unknown extension-point " + point); } else { ep.remove(this); } } | 13,778 |
public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | public final void visit_getstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize if needed if (!sf.getDeclaringClass().isInitialized()) { final X86Regis... | 13,779 |
public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) throw new NonReadableChannelException (... | public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) throw new NonReadableChannelException (... | 13,780 |
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { ArrayList axisIds = new ArrayList (); int numberOfAxes = 0; synchronized (parentArray) { List axisList = parentArray.getAxisList(); Iterator iter = axisList.iterator(); while(iter.hasNext()) { ... | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { ArrayList axisIds = new ArrayList (); int numberOfAxes = 0; synchronized (parentArray) { List axisList = parentArray.getAxisList(); Iterator iter = axisList.iterator(); while(iter.hasNext()) { ... | 13,781 |
public int columnAtPoint(Point point) { int x0 = getLocation().x; int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { int width = cols.getColumn(i).getWidth() + (gap == null... | public int columnAtPoint(Point point) { int x0 = getLocation().x; int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { int width = cols.getColumn(i).getWidth() + (gap == null... | 13,783 |
public int columnAtPoint(Point point) { int x0 = getLocation().x; int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { int width = cols.getColumn(i).getWidth() + (gap == null... | } } public} int} columnAtPoint(Point} point)} } {} } } } int} x0} =} getLocation().x;} } } } int} ncols} =} getColumnCount();} } } } Dimension} gap} =} getIntercellSpacing();} } } } TableColumnModel} cols} =} getColumnModel();} } } } int} x} =} point.x;} } } } } } } } for} (int} i} =} 0;} i} <} ncols;} ++i)} } } } } } ... | 13,784 |
public int rowAtPoint(Point point) { int y0 = getLocation().y; int nrows = getRowCount(); Dimension gap = getIntercellSpacing(); int height = getRowHeight() + (gap == null ? 0 : gap.height); int y = point.y; for (int i = 0; i < nrows; ++i) { if (0 <= y && y < height) return... | } } public} int} rowAtPoint(Point} point)} } {} } } } int} y0} =} getLocation().y;} } } } int} nrows} =} getRowCount();} } } } Dimension} gap} =} getIntercellSpacing();} } } } int} height} =} getRowHeight()} +} (gap} ==} null} ?} 0} :} gap.height);} } } } int} y} =} point.y;} } } } } } } } for} (int} i} =} 0;} i} <} nr... | 13,787 |
public void setRowHeight(int r) { if (rowHeight < 1) throw new IllegalArgumentException(); rowHeight = r; revalidate(); repaint(); } | public void setRowHeight(int r) { if (r < 1) throw new IllegalArgumentException(); rowHeight = r; revalidate(); repaint(); } | 13,788 |
private void closeDialog() { Window owner = SwingUtilities.windowForComponent(filechooser); if (owner instanceof JDialog) ((JDialog) owner).dispose(); } | void closeDialog() { Window owner = SwingUtilities.windowForComponent(filechooser); if (owner instanceof JDialog) ((JDialog) owner).dispose(); } | 13,791 |
private void filterEntries() { FileFilter[] list = filechooser.getChoosableFileFilters(); if (filters.getItemCount() > 0) filters.removeAllItems(); int index = -1; String selected = filechooser.getFileFilter().getDescription(); for (int i = 0; i < list.length; i++) { if (selected.equals(list... | void filterEntries() { FileFilter[] list = filechooser.getChoosableFileFilters(); if (filters.getItemCount() > 0) filters.removeAllItems(); int index = -1; String selected = filechooser.getFileFilter().getDescription(); for (int i = 0; i < list.length; i++) { if (selected.equals(list[i].getD... | 13,792 |
private void createFracture(ElementSpec[] data) { BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element child = paragraph.getElement(index); Edit edit = getEditForParagraphAndIndex(paragraph, index); AttributeSet... | private void createFracture(ElementSpec[] data) { BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element child = paragraph.getElement(index); Edit edit = getEditForParagraphAndIndex(paragraph, index); AttributeSet... | 13,793 |
public void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent ev) { if (length == 0) return; this.offset = offset; this.pos = offset; this.endOffset = offset + length; this.length = length; documentEvent = ev; edits... | publicvoidinsert(intoffset,intlength,ElementSpec[]data,DefaultDocumentEventev){if(length==0)return;this.offset=offset;this.pos=offset;this.endOffset=offset+length;this.length=length;documentEvent=ev;edits.removeAllElements();elementStack.removeAllElements();lastFractured=null;fracNotCreated=false;insertUpdate(data);//T... | 13,794 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(pos); Element current = paragraph.getElement(index); int newEndOffset = offset + first.length; ... | 13,795 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = pos + first.length; ... | 13,796 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | privatevoidinsertFirstContentTag(ElementSpec[]data){ElementSpecfirst=data[0];BranchElementparagraph=(BranchElement)elementStack.peek();intindex=paragraph.getElementIndex(offset);Elementcurrent=paragraph.getElement(index);intnewEndOffset=offset+first.length;booleanonlyContent=data.length==1;Editedit=getEditForParagraphA... | 13,797 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | 13,798 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(pos); Element current = paragraph.getElement(index); int newEndOffset = offset + first.length; ... | 13,799 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | 13,800 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | 13,801 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | 13,802 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(pos); Element current = paragraph.getElement(index); int newEndOffset = offset + first.length; ... | 13,803 |
private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | private void insertFirstContentTag(ElementSpec[] data) { ElementSpec first = data[0]; BranchElement paragraph = (BranchElement) elementStack.peek(); int index = paragraph.getElementIndex(offset); Element current = paragraph.getElement(index); int newEndOffset = offset + first.lengt... | 13,804 |
private void insertFracture(ElementSpec tag) { // insert the fracture at offset. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); AttributeSet parentAtts = parent.getAttributes(); Element toFracture = parent.getElement(parentIn... | private void insertFracture(ElementSpec tag) { // insert the fracture at offset. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(pos); AttributeSet parentAtts = parent.getAttributes(); Element toFracture = parent.getElement(parentIndex... | 13,805 |
private void insertFracture(ElementSpec tag) { // insert the fracture at offset. BranchElement parent = (BranchElement) elementStack.peek(); int parentIndex = parent.getElementIndex(offset); AttributeSet parentAtts = parent.getAttributes(); Element toFracture = parent.getElement(parentIn... | privatevoidinsertFracture(ElementSpectag){//insertthefractureatoffset.BranchElementparent=(BranchElement)elementStack.peek();intparentIndex=parent.getElementIndex(offset);AttributeSetparentAtts=parent.getAttributes();ElementtoFracture=parent.getElement(parentIndex);intparSize=parent.getElementCount();Editedit=getEditFo... | 13,806 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.