bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
static UIDefaults getLookAndFeelDefaults() // Returns the default values for this look and feel. { return getLookAndFeel().getDefaults(); }
static UIDefaults getLookAndFeelDefaults() // Returns the default values for this look and feel. { return getLookAndFeel().getDefaults(); }
23,800
static String getString(Object key) // Returns a string from the defaults table. { return (String) getLookAndFeel().getDefaults().get(key); }
static String getString(Object key) // Returns a string from the defaults table. { return (String) getLookAndFeel().getDefaults().get(key); }
23,801
static String getSystemLookAndFeelClassName() // Returns the name of the LookAndFeel class that implements the native systems look and feel if there is one, otherwise the name of the default cross platform LookAndFeel class. { return getCrossPlatformLookAndFeelClassName(); }
static String getSystemLookAndFeelClassName() // Returns the name of the LookAndFeel class that implements the native systems look and feel if there is one, otherwise the name of the default cross platform LookAndFeel class. { return getCrossPlatformLookAndFeelClassName(); }
23,802
public final void redispatchEvent (Component target, AWTEvent e) { e.setSource (target); dispatchEvent (e); }
public final void redispatchEvent (Component target, AWTEvent e) { e.setSource (target); target.dispatchEvent (e); } }
23,804
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
23,805
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
23,806
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
23,807
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; Component[] children = parent.getComponents(); if (isHorizontalI...
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; Component[] children = AWTUtilities.getVisibleChildren(parent); ...
23,808
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; Component[] children = parent.getComponents(); if (isHorizontalI...
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; Component[] children = AWTUtilities.getVisibleChildren(parent); ...
23,809
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { x = insets.left...
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; Component[] children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { ...
23,810
public String getHeaderField(String field) { try { if (!connected) connect(); if (field.equals("content-type")) return guessContentTypeFromName(getJarEntry().getName()); else if (field.equals("content-length")) return Long.toString(getJarEntry().getSize()); else if (field.equals("last-mod...
public String getHeaderField(String field) { try { if (!connected) connect(); if (field.equals("content-type")) return guessContentTypeFromName(getJarEntry().getName()); else if (field.equals("content-length")) return Long.toString(getJarEntry().getSize()); else if (field.equals("last-mod...
23,811
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure); } else { connection = new HTTPConnection(host, port, secure); } retu...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure, getConnectTimeout(), 0); } else { connection = new HTTPConnection(host, port,...
23,812
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure); } else { connection = new HTTPConnection(host, port, secure); } retu...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure); } else { connection = new HTTPConnection(host, port, secure, 0, getConnectTi...
23,813
synchronized HTTPConnection get(String host, int port, boolean secure) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.length() > 0) ? 1000 * Math.max(...
synchronized HTTPConnection get(String host, int port, boolean secure, int connectionTimeout, int timeout) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.len...
23,814
synchronized HTTPConnection get(String host, int port, boolean secure) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.length() > 0) ? 1000 * Math.max(...
synchronized HTTPConnection get(String host, int port, boolean secure) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.length() > 0) ? 1000 * Math.max(...
23,815
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
23,816
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
23,817
public GCManager(DefaultHeapManager heapManager, VmArchitecture arch, VmStatics statics) { this.debug = Vm.getVm().isDebugMode(); this.heapManager = heapManager; this.wb = (DefaultWriteBarrier) heapManager.getWriteBarrier(); this.helper = heapManager.getHelper(); this.m...
public GCManager(DefaultHeapManager heapManager, VmArchitecture arch, VmStatics statics) { this.debug = Vm.getVm().isDebugMode(); this.heapManager = heapManager; this.writeBarrier = (DefaultWriteBarrier) heapManager.getWriteBarrier(); this.helper = heapManager.getHelper(); ...
23,818
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.stopThreadsAtSafePoint(); heapManager.setGcActive(true); ...
23,819
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
23,820
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
23,821
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
23,822
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); wb.resetChanged(); ...
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); if (writeBarrier !=...
23,823
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); wb.resetChanged(); ...
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); wb.resetChanged(); ...
23,824
public void ensureIndexIsVisible(int i) { scrollRectToVisible(getUI().getCellBounds(this, i, i)); }
public void ensureIndexIsVisible(int i) { Rectangle r = getUI().getCellBounds(this, i, i); if (r != null) scrollRectToVisible(r); }
23,825
public String remoteToString() { throw new Error("Not implemented"); }
public String remoteToString() { if (manager!=null) return manager.toString(); else return "null manager"; }
23,826
void setup() throws Exception { setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); setAliasParam(_alias); setKeyPasswordNoPrompt(_password); log.finer("-keypasswd handler will use the following options:"); //$NON-NLS-1$ log.finer(" -alias=" + alias); //$NON-NLS-1$ log.finer(" -n...
void setup() throws Exception { setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); setAliasParam(_alias); setKeyPasswordNoPrompt(_password); log.finer("-keypasswd handler will use the following options:"); //$NON-NLS-1$ log.finer(" -alias=" + alias); //$NON-NLS-1$ log.finer(" -n...
23,828
public DefaultFormatter() { commitsOnValidEdit = true; overwriteMode = true; allowsInvalid = true; valueClass = Object.class; }
public DefaultFormatter() { commitsOnValidEdit = true; overwriteMode = true; allowsInvalid = true; }
23,830
public byte[] engineGenerateSeed(int numBytes) { if (numBytes < 1) { return new byte[0]; } byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
public byte[] engineGenerateSeed(int numBytes) if (numBytes < 1) return new byte[0]; } byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
23,831
public byte[] engineGenerateSeed(int numBytes) { if (numBytes < 1) { return new byte[0]; } byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
public byte[] engineGenerateSeed(int numBytes) { if (numBytes < 1) { return new byte[0]; byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result;
23,832
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); } try { adaptee.nextBytes(bytes, 0, bytes.length); } catch (LimitReachedException ignored) { } }
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); } try { adaptee.nextBytes(bytes, 0, bytes.length); } catch (LimitReachedException ignored) { } }
23,833
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); } try { adaptee.nextBytes(bytes, 0, bytes.length); } catch (LimitReachedException ignored) { } }
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); try { adaptee.nextBytes(bytes, 0, bytes.length); catch (LimitReachedException ignored) {
23,834
public DefaultTableColumnModel() { tableColumns = new Vector(); setSelectionModel(new DefaultListSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; }
public DefaultTableColumnModel() { tableColumns = new Vector(); setSelectionModel(createSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; }
23,835
protected ListSelectionModel createSelectionModel() { return null; // TODO }
protected ListSelectionModel createSelectionModel() { return new DefaultListSelectionModel(); // TODO }
23,837
protected void fireColumnAdded(TableColumnModelEvent value0) { // TODO }
protected void fireColumnAdded(TableColumnModelEvent e) { // TODO }
23,838
protected void fireColumnMoved(TableColumnModelEvent value0) { // TODO }
protected void fireColumnMoved(TableColumnModelEvent e) { // TODO }
23,841
protected void fireColumnRemoved(TableColumnModelEvent value0) { // TODO }
protected void fireColumnRemoved(TableColumnModelEvent e) { // TODO }
23,843
public int getColumnIndex(Object obj) { return tableColumns.indexOf(obj, 0); }
public int getColumnIndex(Object identifier) { return tableColumns.indexOf(obj, 0); }
23,845
public int getColumnIndex(Object obj) { return tableColumns.indexOf(obj, 0); }
public int getColumnIndex(Object obj) { return tableColumns.indexOf(identifier, 0); }
23,846
public EventListener[] getListeners(Class klass) { return listenerList.getListeners(klass); }
public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners(klass); }
23,847
public EventListener[] getListeners(Class klass) { return listenerList.getListeners(klass); }
public EventListener[] getListeners(Class klass) { return listenerList.getListeners(listenerType); }
23,848
public void propertyChange(PropertyChangeEvent value0) { // TODO }
public void propertyChange(PropertyChangeEvent evt) { // TODO }
23,850
public void setColumnSelectionAllowed(boolean a) { columnSelectionAllowed = a; }
public void setColumnSelectionAllowed(boolean flag) { columnSelectionAllowed = a; }
23,854
public void setColumnSelectionAllowed(boolean a) { columnSelectionAllowed = a; }
public void setColumnSelectionAllowed(boolean a) { columnSelectionAllowed = flag; }
23,855
public void valueChanged(ListSelectionEvent value0) { fireColumnSelectionChanged(value0); }
public void valueChanged(ListSelectionEvent e) { fireColumnSelectionChanged(value0); }
23,856
public void valueChanged(ListSelectionEvent value0) { fireColumnSelectionChanged(value0); }
public void valueChanged(ListSelectionEvent value0) { fireColumnSelectionChanged(e); }
23,857
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point vie...
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point vie...
23,858
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point vie...
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point vie...
23,859
public static int simpleWhile(int a0) { int l0 = 0; while (l0 < a0) { l0 += 1; } return l0; }
public static int simpleWhile(int a0) { int l0 = 0; while (l0 < a0) { l0 += 1; } return l0; }
23,861
public static TypeCode type() { ORB orb = Restricted_ORB.Singleton; return orb.create_alias_tc(id(), "Object Id", orb.create_string_tc(0)); }
public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "Object Id", orb.create_string_tc(0)); }
23,862
ActivationGroupDesc getActivationGroupDesc (ActivationGroupID id) throws ActivationException, UnknownGroupException, RemoteException;
ActivationGroupDesc getActivationGroupDesc(ActivationGroupID groupId) throws ActivationException, UnknownGroupException, RemoteException;
23,863
ActivationGroupDesc setActivationGroupDesc (ActivationGroupID id, ActivationGroupDesc desc) throws ActivationException, UnknownGroupException, RemoteException;
ActivationGroupDesc setActivationGroupDesc (ActivationGroupID id, ActivationGroupDesc desc) throws ActivationException, UnknownGroupException, RemoteException;
23,864
public void setLength(long length) throws IOException { if(!canWrite()) throw new ReadOnlyFileSystemException("FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //if length<getLength(), then the file is truncated if(length<getLength()) { long blockNr = length / ...
public void setLength(long length) throws IOException { if(!canWrite()) throw new ReadOnlyFileSystemException("FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //if length<getLength(), then the file is truncated if(length<getLength()) { long blockNr = length / ...
23,865
public void setLength(long length) throws IOException { if(!canWrite()) throw new ReadOnlyFileSystemException("FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //if length<getLength(), then the file is truncated if(length<getLength()) { long blockNr = length / ...
public void setLength(long length) throws IOException { if(!canWrite()) throw new ReadOnlyFileSystemException("FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //if length<getLength(), then the file is truncated if(length<getLength()) { long blockNr = length / ...
23,866
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,867
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,868
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,869
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,870
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,871
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,872
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //throw new IOException("EXT2 implementation is currently readonly"); //a single inode may be represented by more than one Ext2File instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getI...
23,873
public PrivateKey decodePrivateKey(byte[] input) { log.entering(this.getClass().getName(), "decodePrivateKey()", input); if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger version, n, e, d, p, q, dP, dQ, qInv; DERReader der = new DERReader(input); t...
public PrivateKey decodePrivateKey(byte[] input) { log.entering(this.getClass().getName(), "decodePrivateKey()", input); if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger version, n, e, d, p, q, dP, dQ, qInv; DERReader der = new DERReader(input); t...
23,874
public byte[] encodePrivateKey(PrivateKey key) { log.entering(this.getClass().getName(), "encodePrivateKey()", key); if (! (key instanceof GnuRSAPrivateKey)) throw new InvalidParameterException("Wrong key type"); GnuRSAPrivateKey pk = (GnuRSAPrivateKey) key; BigInteger n = pk.getN(); BigInteger e...
public byte[] encodePrivateKey(PrivateKey key) { log.entering(this.getClass().getName(), "encodePrivateKey()", key); if (! (key instanceof GnuRSAPrivateKey)) throw new InvalidParameterException("Wrong key type"); GnuRSAPrivateKey pk = (GnuRSAPrivateKey) key; BigInteger n = pk.getN(); BigInteger e...
23,875
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
23,877
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
23,881
public void addSelectionInterval(int index0, int index1) { if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); ...
public void addSelectionInterval(int index0, int index1) { if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); ...
23,882
public void clearSelection() { int sz = sel.size(); sel.clear(); fireSelectionValueChanged(0, sz, valueIsAdjusting); }
public void clearSelection() { int sz = sel.size(); sel.clear(); fireValueChanged(0, sz, valueIsAdjusting); }
23,883
public void removeSelectionInterval(int index0, int index1) { int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.clear(lo, hi+1); fireSelectionValueChanged(lo, hi, valueIsAdjusting); }
public void removeSelectionInterval(int index0, int index1) { int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.clear(lo, hi+1); fireValueChanged(lo, hi, valueIsAdjusting); }
23,884
public void setLeadSelectionIndex(int leadIndex) { int oldLeadIndex = leadSelectionIndex; leadSelectionIndex = leadIndex; if (anchorSelectionIndex == -1) return; int R1 = Math.min(anchorSelectionIndex, oldLeadIndex); int R2 = Math.max(anchorSelectionIndex, oldLeadIndex); int S1 = Math.min(anch...
public void setLeadSelectionIndex(int leadIndex) { int oldLeadIndex = leadSelectionIndex; leadSelectionIndex = leadIndex; if (anchorSelectionIndex == -1) return; int R1 = Math.min(anchorSelectionIndex, oldLeadIndex); int R2 = Math.max(anchorSelectionIndex, oldLeadIndex); int S1 = Math.min(anch...
23,885
public void setSelectionInterval(int index0, int index1) { sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); fireSelectionValueChanged(lo, hi, valueIsAdjusting); }
public void setSelectionInterval(int index0, int index1) { sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); fireValueChanged(lo, hi, valueIsAdjusting); }
23,886
public boolean matches (Event theEvent) { boolean matches = true; // Loop through filters; all must match // Note that we must allow EVERY filter to evaluate. This way // things like CountFilter will work. ListIterator iter = _filters.listIterator (); while (iter.hasNext ()) { IEventFilter fil...
public boolean matches (Event theEvent) { boolean matches = true; // Loop through filters; all must match // Note that we must allow EVERY filter to evaluate. This way // things like CountFilter will work. Iterator iter = _filters.iterator (); while (iter.hasNext ()) { IEventFilter filter = (I...
23,887
protected int lastTabInRun(int tabCount, int run) { if (tabRuns[run] == 0) return tabCount - 1; else return tabRuns[run] - 1; }
protected int lastTabInRun(int tabCount, int run) { if (tabRuns[run] == 0) return tabCount - 1; else return tabRuns[run] - 1; }
23,888
protected int lastTabInRun(int tabCount, int run) { if (tabRuns[run] == 0) return tabCount - 1; else return tabRuns[run] - 1; }
protected int lastTabInRun(int tabCount, int run) { if (tabRuns[run] == 0) return tabCount - 1; else { int nextRun; if (run == runCount - 1) nextRun = 0; else nextRun = run + 1; if (tabRuns[nextRun] == 0) lastTab = tabCount - 1; else lastTab = tabRuns[nextRun] - 1; } return lastTab; }
23,889
public void dumpData(PrintStream out) { for (int i = 0; i <= MESSAGE_DESCRIPTOR_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtils.hex(mem.getInt(offset + i))); } }
public void dumpData(Logger out) { for (int i = 0; i <= MESSAGE_DESCRIPTOR_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtils.hex(mem.getInt(offset + i))); } }
23,890
public void dumpData(PrintStream out) { for (int i = 0; i <= MESSAGE_DESCRIPTOR_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtils.hex(mem.getInt(offset + i))); } }
public void dumpData(PrintStream out) { for (int i = 0; i <= MESSAGE_DESCRIPTOR_SIZE - 1; i += 4) { out.debug( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtils.hex(mem.getInt(offset + i))); } }
23,891
public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final ClassLoader parent_cl = Thread.currentThread().getContextClassLoader(); JCClassLoader cl = new JCClassLoader(parent_cl, new String[]{"./"}); Class cls = cl.loadClass(ARG_CLASS...
public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final ClassLoader parent_cl = Thread.currentThread().getContextClassLoader(); JCClassLoader cl = new JCClassLoader(parent_cl, new String[]{"./"}); Class<?> cls = cl.loadClass(ARG_CL...
23,892
PageFormat(){ this.paper = new Paper(); this.orientation = PORTRAIT;}
PageFormat(){ this.paper = new Paper(); this.orientation = PORTRAIT;}
23,893
clone(){ try { return(super.clone()); } catch(CloneNotSupportedException e) { return(null); }}
clone(){ try { return(super.clone()); } catch(CloneNotSupportedException e) { return(null); }}
23,894
clone(){ try { return(super.clone()); } catch(CloneNotSupportedException e) { return(null); }}
clone(){ try { return(super.clone()); } catch(CloneNotSupportedException e) { return (null); } }}
23,895
clone(){ try { return(super.clone()); } catch(CloneNotSupportedException e) { return(null); }}
clone(){ try { return(super.clone()); catch(CloneNotSupportedException e) { return(null);
23,896
getHeight(){ return(paper.getHeight());}
getHeight(){ return(paper.getHeight());}
23,897
public double getImageableHeight(){ return(paper.getImageableHeight());}
public double getImageableHeight(){ return(paper.getImageableHeight());}
23,898
getImageableWidth(){ return(paper.getImageableWidth());}
getImageableWidth(){ return(paper.getImageableWidth());}
23,899
getImageableX(){ return(paper.getImageableX());}
getImageableX(){ return(paper.getImageableX());}
23,900
getImageableY(){ return(paper.getImageableY());}
getImageableY(){ return(paper.getImageableY());}
23,901
getMatrix(){ throw new RuntimeException("Not implemented since I don't know what to do");}
getMatrix(){ throw new RuntimeException("Not implemented since I don't know what to do");}
23,902
getPaper(){ return((Paper)paper.clone());}
getPaper(){ return((Paper)paper.clone());}
23,903
getWidth(){ return(paper.getWidth());}
getWidth(){ return(paper.getWidth());}
23,904
setOrientation(int orientation) throws IllegalArgumentException{ if ((orientation != PORTRAIT) && (orientation != LANDSCAPE) && (orientation != REVERSE_LANDSCAPE)) throw new IllegalArgumentException("Bad page orientation value: " + orientation); this.orientation = or...
setOrientation(int orientation) throws IllegalArgumentException{ if ((orientation != PORTRAIT) && (orientation != LANDSCAPE) && (orientation != REVERSE_LANDSCAPE)) throw new IllegalArgumentException("Bad page orientation value: " + orientation); this.orientation = or...
23,905
setPaper(Paper paper){ this.paper = paper;}
setPaper(Paper paper){ this.paper = paper;}
23,906
public final void start() throws PluginException { final SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(PluginSecurityConstants.START_PERM); } if (!started) { if (descriptor.hasCustomPluginClass()) { BootLog.debug("__Starting " + descriptor.get...
public final void start() throws PluginException { final SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(PluginSecurityConstants.START_PERM); } if (!started) { if (descriptor.hasCustomPluginClass()) { BootLog.debug("__Starting " + descriptor.get...
23,907
public final void stop() throws PluginException { final SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(PluginSecurityConstants.STOP_PERM); } if (started) { ((PluginDescriptorModel)descriptor).firePluginStop(); stopPlugin(); started = false; } }
public final void stop() throws PluginException { final SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(PluginSecurityConstants.STOP_PERM); } if (started) { ((PluginDescriptorModel)descriptor).firePluginStop(); stopPlugin(); } }
23,908
public static TypeCode type() { if (typeCode == null) { StructMember[] members = new StructMember[ 2 ]; TypeCode t_id = new aliasTypeCode(new stringTypeCode(TCKind.tk_string), "", "id"); members [ 0 ] = new StructMember("id", t_id, null); members [ 1 ] = new Stru...
public static TypeCode type() { if (typeCode == null) { StructMember[] members = new StructMember[ 2 ]; TypeCode t_id = new AliasTypeCode(new StringTypeCode(TCKind.tk_string), "", "id"); members [ 0 ] = new StructMember("id", t_id, null); members [ 1 ] = new Stru...
23,909
public static TypeCode type() { if (typeCode == null) { StructMember[] members = new StructMember[ 2 ]; TypeCode t_id = new aliasTypeCode(new stringTypeCode(TCKind.tk_string), "", "id"); members [ 0 ] = new StructMember("id", t_id, null); members [ 1 ] = new Stru...
public static TypeCode type() { if (typeCode == null) { StructMember[] members = new StructMember[ 2 ]; TypeCode t_id = new aliasTypeCode(new stringTypeCode(TCKind.tk_string), "", "id"); members [ 0 ] = new StructMember("id", t_id, null); members [ 1 ] = new Stru...
23,910
public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
23,911
public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); w...
public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException { String text = c.getText(); if (offs <= 0 || offs > text.length()) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWord...
23,912
public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); w...
public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs > (c.getText().length() - 1)) throw new BadLocationException("invalid offset specified", offs); BreakIterator wb = BreakIterator.getWordInstance(); wb.setText(text); int la...
23,913
public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs >= c.getText().length()) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException { String text = c.getText(); if (offs < 0 || offs > text.length()) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWord...
23,914
public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs >= c.getText().length()) throw new BadLocationException("invalid offset specified", offs); String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.se...
public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException { if (offs < 0 || offs >= c.getText().length()) throw new BadLocationException("invalid offset specified", offs); BreakIterator wb = BreakIterator.getWordInstance(); wb.setText(text); if (wb.isB...
23,915
public final Class getCategory() { return NumberUpSupported.class; }
public Class getCategory() { return NumberUpSupported.class; }
23,918