bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void bind(NameComponent name, org.omg.CORBA.Object object) throws AlreadyBound, InvalidName { if (containsKey(name)) { Object x = get(name); // Do not throw an exception if the same object is named by // the same name. if (x.equals(object)) throw new Alr...
public void bind(NameComponent name, org.omg.CORBA.Object object) throws AlreadyBound, InvalidName { if (containsKey(name)) { Object x = get(name); // Do not throw an exception if the same object is named by // the same name. if (x.equals(object)) throw new Alr...
26,925
public AlreadyBound(String why) { super(why); }
public AlreadyBound() { super(why); }
26,927
public AlreadyBound(String why) { super(why); }
public AlreadyBound(String why) { }
26,928
public String getName() { return getName(RFC2253); }
public String getName() { return getName (RFC2253); }
26,929
public boolean equals(Object o) { return ((X500Principal) o).name.equals(name); }
public boolean equals(Object o) { if (!(o instanceof X500Principal)) return false; if (size() != ((X500Principal) o).size()) return false; for (int i = 0; i < size(); i++) { Map m = (Map) components.get (i); for (Iterator it2 = m.entrySet().iterator(); it2.hasNext(); ) { Map.Entry e = (Map.Entry) it2.next(); OID ...
26,930
public X500Principal(String name) { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); }
private X500Principal() { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); }
26,931
public X500Principal(String name) { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); }
public X500Principal(String name) { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); }
26,932
public static final CharBuffer wrap(CharSequence seq) { return wrap(seq, 0, seq.length()); }
public static final CharBuffer wrap(char[] array, int offset, int length) { return wrap(seq, 0, seq.length()); }
26,933
public static final CharBuffer wrap(CharSequence seq) { return wrap(seq, 0, seq.length()); }
public static final CharBuffer wrap(CharSequence seq) { return new CharBufferImpl(array, 0, array.length, offset + length, offset, -1, false); }
26,934
public static synchronized Provider provider () { if (singleton == null) singleton = new Provider (); return singleton; }
public static synchronized Provider provider () { if (singleton == null) singleton = new Provider (); return singleton; }
26,935
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ...
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ...
26,936
public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* Check for any events already on the queue with the same source and ID. */ int i = next_o...
public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* Check for any events already on the queue with the same source and ID. */ int i = next_o...
26,937
public ArrayIndexOutOfBoundsException(String s) { super(s); }
public ArrayIndexOutOfBoundsException() { super(s); }
26,938
public ArrayIndexOutOfBoundsException(String s) { super(s); }
public ArrayIndexOutOfBoundsException(String s) { super(s); }
26,939
public Set getDefaultFocusTraversalKeys(int id) { if (id < FORWARD_TRAVERSAL_KEYS || id > DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentException(); return defaultFocusKeys[id]; }
public Set getDefaultFocusTraversalKeys (int id) { if (id < FORWARD_TRAVERSAL_KEYS || id > DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentException(); return defaultFocusKeys[id]; }
26,940
public Set getDefaultFocusTraversalKeys(int id) { if (id < FORWARD_TRAVERSAL_KEYS || id > DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentException(); return defaultFocusKeys[id]; }
public Set getDefaultFocusTraversalKeys(int id) { if (id < FORWARD_TRAVERSAL_KEYS || id > DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentException (); return defaultFocusKeys[id]; }
26,941
public FocusTraversalPolicy getDefaultFocusTraversalPolicy() { if (defaultPolicy == null) defaultPolicy = new DefaultFocusTraversalPolicy(); return defaultPolicy; }
public FocusTraversalPolicy getDefaultFocusTraversalPolicy () { if (defaultPolicy == null) defaultPolicy = new DefaultFocusTraversalPolicy(); return defaultPolicy; }
26,942
public FocusTraversalPolicy getDefaultFocusTraversalPolicy() { if (defaultPolicy == null) defaultPolicy = new DefaultFocusTraversalPolicy(); return defaultPolicy; }
public FocusTraversalPolicy getDefaultFocusTraversalPolicy() { if (defaultPolicy == null) defaultPolicy = new DefaultFocusTraversalPolicy (); return defaultPolicy; }
26,943
public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); }
public void list() { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); }
26,944
public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); }
public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); }
26,945
public abstract void downFocusCycle(Container cont);
public abstract void downFocusCycle(Container cont);
26,946
public Rectangle intersection(Rectangle r) { Rectangle res = new Rectangle(); intersect(this, r, res); return res; }
public Rectangle intersection(Rectangle r) { Rectangle res = new Rectangle(); intersect(this, r, res); return res; }
26,947
public boolean isEmpty() { return width <= 0 || height <= 0; }
public boolean isEmpty() { return width <= 0 || height <= 0; }
26,948
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
voidstart()throwsException{log.entering(this.getClass().getName(),"start");//$NON-NLS-1$JarFilejarFile=newJarFile(main.getJarFileName());SFHelpersfHelper=newSFHelper(jarFile);sfHelper.startSigning();//1.computethedigestsfor(Enumeratione=jarFile.entries();e.hasMoreElements();){JarEntryje=(JarEntry)e.nextElement();String...
26,949
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
26,950
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
26,951
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
26,952
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
26,953
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
26,954
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen...
if (Configuration.DEBUG) if (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) Exceptionif (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this....
26,955
void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); log.finer("Has...
void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); if (Configurat...
26,956
void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); log.finer("Has...
void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); log.finer("Has...
26,957
public JarOutputStream(OutputStream out, Manifest man) throws IOException { super(out); if (man != null) writeManifest(man); }
public JarOutputStream(OutputStream out) throws IOException { super(out); if (man != null) writeManifest(man); }
26,959
public JarOutputStream(OutputStream out, Manifest man) throws IOException { super(out); if (man != null) writeManifest(man); }
public JarOutputStream(OutputStream out, Manifest man) throws IOException { super(out); if (man != null) writeManifest(man); }
26,960
void writeSF(JarOutputStream jar) throws IOException { if (this.state != FINISHED) throw new IllegalStateException(Messages.getString("SFHelper.1")); //$NON-NLS-1$ ByteArrayOutputStream baos = new ByteArrayOutputStream(); JarUtils.writeSFManifest(sfMainAttributes, sfEntries, baos); sfBytes = baos.to...
void writeSF(JarOutputStream jar) throws IOException { if (this.state != FINISHED) throw new IllegalStateException(Messages.getString("SFHelper.1")); //$NON-NLS-1$ ByteArrayOutputStream baos = new ByteArrayOutputStream(); JarUtils.writeSFManifest(sfMainAttributes, sfEntries, baos); sfBytes = baos.to...
26,961
void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ log...
void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ if ...
26,962
void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ log...
void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ log...
26,963
final void checkForUnderflow(int length) { if (remaining() < length) throw new BufferUnderflowException(); }
final void checkForUnderflow() { if (remaining() < length) throw new BufferUnderflowException(); }
26,965
final void checkForUnderflow(int length) { if (remaining() < length) throw new BufferUnderflowException(); }
final void checkForUnderflow(int length) { if (!hasRemaining()) throw new BufferUnderflowException(); }
26,966
final void checkForOverflow(int length) { if (remaining() < length) throw new BufferOverflowException(); }
final void checkForOverflow() { if (remaining() < length) throw new BufferOverflowException(); }
26,967
final void checkForOverflow(int length) { if (remaining() < length) throw new BufferOverflowException(); }
final void checkForOverflow(int length) { if (!hasRemaining()) throw new BufferOverflowException(); }
26,968
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6...
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6...
26,969
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return getKeyStroke(keyCode, modifiers, false); } // getKeyStroke()
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return getKeyStroke(keyCode, modifiers, false); } // getKeyStroke()
26,970
public final int hashCode() { return qName.hashCode(); }
public final int hashCode() { if (hashCode == -1) { StringBuffer buf = new StringBuffer(); buf.append('{'); buf.append(namespaceURI); buf.append('}'); buf.append(localPart); hashCode = buf.toString().hashCode(); } return hashCode; }
26,971
public abstract boolean avoidingGui();
public abstract boolean avoidingGui();
26,972
public abstract void dontUseGui();
public abstract void dontUseGui();
26,973
public abstract boolean needsGui();
public abstract boolean needsGui();
26,974
public abstract void okToUseGui();
public abstract void okToUseGui();
26,975
public JMenuItem() { this(null, null); }
public JMenuItem() { super(null, null); }
26,976
public void insert(Component component, int index) { super.add(component, index); }
public void insert(Action action, int index) { super.add(component, index); }
26,977
public void insert(Component component, int index) { super.add(component, index); }
public void insert(Component component, int index) { JMenuItem item = new JMenuItem(action); this.insert(item, index); }
26,978
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJMenuItem(this); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJMenuItem(this); return accessibleContext; }
26,979
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO }
privatevoidwriteObject(ObjectOutputStreamstream)throwsIOException{ //TODO}
26,981
public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); } ...
public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); } ...
26,982
protected void createDefaultTheme() { if (theme == null) setCurrentTheme(new DefaultMetalTheme()); }
protected void createDefaultTheme() { if (theme == null) setCurrentTheme(new OceanTheme()); }
26,983
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get...
26,984
public DERValue(int tag, Object value) { this(tag, 0, value, null); }
public DERValue(int tag, int length, Object value, byte[] encoded) { this(tag, 0, value, null); }
26,986
public DERValue(int tag, Object value) { this(tag, 0, value, null); }
public DERValue(int tag, Object value) { tagClass = tag & 0xC0; this.tag = tag & 0x1F; constructed = (tag & CONSTRUCTED) == CONSTRUCTED; this.length = length; this.value = value; if (encoded != null) this.encoded = (byte[]) encoded.clone(); }
26,987
public synchronized String substring(int beginIndex, int endIndex) { int len = endIndex - beginIndex; if (beginIndex < 0 || endIndex > count || endIndex < beginIndex) throw new StringIndexOutOfBoundsException(); if (len == 0) return ""; // Don't copy unless substring is smaller than 1/4 of the ...
public String substring(int beginIndex) { int len = endIndex - beginIndex; if (beginIndex < 0 || endIndex > count || endIndex < beginIndex) throw new StringIndexOutOfBoundsException(); if (len == 0) return ""; // Don't copy unless substring is smaller than 1/4 of the buffer. boolean share_bu...
26,988
public synchronized String substring(int beginIndex, int endIndex) { int len = endIndex - beginIndex; if (beginIndex < 0 || endIndex > count || endIndex < beginIndex) throw new StringIndexOutOfBoundsException(); if (len == 0) return ""; // Don't copy unless substring is smaller than 1/4 of the ...
public synchronized String substring(int beginIndex, int endIndex) { int len = endIndex - beginIndex; if (beginIndex < 0 || endIndex > count || endIndex < beginIndex) throw new StringIndexOutOfBoundsException(); if (len == 0) return ""; // Don't copy unless substring is smaller than 1/4 of the ...
26,989
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
public MenuElement[] getSelectedPath() { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
26,990
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selectedPath.size()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
26,991
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selection.get (i); return path; }
public MenuElement[] getSelectedPath () { MenuElement[] path = new MenuElement[selection.size ()]; for (int i = 0; i < path.length; i++) path[i] = (MenuElement) selectedPath.get(i); return path; }
26,992
public static long currentTimeMillis() { return VMSystem.currentTimeMillis(); }
public static long currentTimeMillis() { return VMSystem.currentTimeMillis(); }
26,993
public synchronized static void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
public static synchronized void setSecurityManager(SecurityManager sm) { // Implementation note: the field lives in Runtime because of bootstrap // initialization issues. This method is synchronized so that no other // thread changes it to null before this thread makes the change. if (Runtime.securityMan...
26,994
static InputStream makeStandardInputStream() { return new ByteArrayInputStream(new byte[0]); }
static InputStream makeStandardInputStream() { return new ByteArrayInputStream(new byte[0]); }
26,995
public void exit(int status) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkExit(status); if (runShutdownHooks()) halt(status); // Someone else already called runShutdownHooks(). // Make sure we are not/no longer in the shutdownHooks set. // And wait ti...
public void exit(int status) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkExit(status); if (runShutdownHooks()) halt(status); // Someone else already called runShutdownHooks(). // Make sure we are not/no longer in the shutdownHooks set. // And...
26,996
public void load(String filename) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(filename); if (loadLib(filename) == 0) throw new UnsatisfiedLinkError("Could not load library " + filename); }
public void load(String filename) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkLink(filename); if (loadLib(filename) == 0) throw new UnsatisfiedLinkError("Could not load library " + filename); }
26,998
public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename...
public void loadLibrary(String libname) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (...
26,999
public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename...
public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename...
27,000
public static void runFinalizersOnExit(boolean finalizeOnExit) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkExit(0); VMRuntime.runFinalizersOnExit(finalizeOnExit); }
public static void runFinalizersOnExit(boolean finalizeOnExit) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkExit(0); VMRuntime.runFinalizersOnExit(finalizeOnExit); }
27,001
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", Integer.valueOf(cert.getLength())); this.encoded = cert.getEncoded();...
27,002
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,003
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,004
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,005
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,006
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,007
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,008
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ...
27,009
public BeepAction() { super(beepAction); }
public BeepAction() { super(beepAction); }
27,011
public BeepAction() { super(beepAction); }
public BeepAction() { super(beepAction); }
27,012
public void actionPerformed(ActionEvent event) { Toolkit.getDefaultToolkit().beep(); }
public void actionPerformed(ActionEvent event) { Toolkit.getDefaultToolkit().beep(); }
27,013
public void actionPerformed(ActionEvent event) { Toolkit.getDefaultToolkit().beep(); }
public void actionPerformed(ActionEvent event) { Toolkit.getDefaultToolkit().beep(); }
27,014
public void actionPerformed(ActionEvent event) { getTextComponent(event).copy(); }
public void actionPerformed(ActionEvent event) { getTextComponent(event).copy(); }
27,015
public CutAction() { super(cutAction); }
public CutAction() { super(cutAction); }
27,016
public CutAction() { super(cutAction); }
public CutAction() { super(cutAction); }
27,017
public void actionPerformed(ActionEvent event) { getTextComponent(event).cut(); }
public void actionPerformed(ActionEvent event) { getTextComponent(event).cut(); }
27,018
public void actionPerformed(ActionEvent event) { getTextComponent(event).cut(); }
public void actionPerformed(ActionEvent event) { getTextComponent(event).cut(); }
27,019
public DefaultKeyTypedAction() { super(defaultKeyTypedAction); }
public DefaultKeyTypedAction() { super(defaultKeyTypedAction); }
27,020
public DefaultKeyTypedAction() { super(defaultKeyTypedAction); }
public DefaultKeyTypedAction() { super(defaultKeyTypedAction); }
27,021
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
27,022
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
27,023
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent...
27,024
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\n"); }
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\n"); }
27,025
public InsertContentAction() { super(insertContentAction); }
public InsertContentAction() { super(insertContentAction); }
27,026
public InsertContentAction() { super(insertContentAction); }
public InsertContentAction() { super(insertContentAction); }
27,027
public void actionPerformed(ActionEvent event) { // FIXME: Figure out what this Action is supposed to do. Obviously text // that is entered by the user is inserted through DefaultKeyTypedAction. }
public void actionPerformed(ActionEvent event) { // FIXME: Figure out what this Action is supposed to do. Obviously text // that is entered by the user is inserted through DefaultKeyTypedAction. }
27,028
public InsertTabAction() { super(insertTabAction); }
public InsertTabAction() { super(insertTabAction); }
27,029
public InsertTabAction() { super(insertTabAction); }
public InsertTabAction() { super(insertTabAction); }
27,030
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); }
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); }
27,031