bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public abstract void deselect(int index); | public abstract void deselect(int index); | 27,557 |
public abstract int[] getSelectedIndexes(); | public abstract int[] getSelectedIndexes(); | 27,558 |
public abstract void makeVisible(int index); | public abstract void makeVisible(int index); | 27,559 |
public abstract Dimension minimumSize(int s); | public abstract Dimension minimumSize(int s); | 27,560 |
public abstract Dimension preferredSize(int s); | public abstract Dimension preferredSize(int s); | 27,561 |
public abstract void select(int index); | public abstract void select(int index); | 27,562 |
public abstract void setMultipleMode(boolean multi); | public abstract void setMultipleMode(boolean multi); | 27,563 |
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolver == null) { try { // resolver = (ExtendedResolver) Lookup.getDefaultResolver(); if (resolver == null) { resolver = new ExtendedResolver(); Lookup.setDefaultR... | public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException{if (resolver == null){try{//resolver = (ExtendedResolver) Lookup.getDefaultResolver();if (resolver == null){resolver = new ExtendedResolver();Lookup.setDefaultResolver(resolver);}}catch (UnknownHostException e){throw new NetworkExceptio... | 27,564 |
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolver == null) { try { // resolver = (ExtendedResolver) Lookup.getDefaultResolver(); if (resolver == null) { resolver = new ExtendedResolver(); Lookup.setDefaultR... | public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolver == null) { try { // resolver = (ExtendedResolver) Lookup.getDefaultResolver(); if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; resolve... | 27,565 |
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolver == null) { try { // resolver = (ExtendedResolver) Lookup.getDefaultResolver(); if (resolver == null) { resolver = new ExtendedResolver(); Lookup.setDefaultR... | public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolver == null) { try { // resolver = (ExtendedResolver) Lookup.getDefaultResolver(); if (resolver == null) { resolver = new ExtendedResolver(); Lookup.setDefaultR... | 27,566 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) { ProtocolAddress protocolAd... | 27,567 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,568 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,569 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,570 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,571 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,572 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,573 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,574 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; System.out.println("hh0 " + hostname); protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { for (int i = 0; i < protocolAddresses.length; i++) ... | 27,575 |
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { SimpleResolver simpleResolver = (SimpleResolver) resolvers.remove(key); resolver.deleteResolver(simpleResolver); ... | public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { SimpleResolver simpleResolver = (SimpleResolver) resolvers.remove(key); resolver.deleteResolver(simpleResolver); ... | 27,576 |
public IPv4Address(String addrStr) throws IllegalArgumentException { final StringTokenizer tok = new StringTokenizer(addrStr, "."); if (tok.countTokens() != length) { throw new IllegalArgumentException("Not an IPv4 address " + addrStr); } address = new byte[length]; for (int i = 0; i < length; i++) { try { ... | public IPv4Address(String addrStr) throws IllegalArgumentException { final StringTokenizer tok = new StringTokenizer(addrStr, "."); if (tok.countTokens() != length) { throw new IllegalArgumentException("Not an IPv4 address " + addrStr); } address = new byte[length]; for (int i = 0; i < length; i++) { try { ... | 27,577 |
public IPv4Address(String addrStr) throws IllegalArgumentException { final StringTokenizer tok = new StringTokenizer(addrStr, "."); if (tok.countTokens() != length) { throw new IllegalArgumentException("Not an IPv4 address " + addrStr); } address = new byte[length]; for (int i = 0; i < length; i++) { try { ... | public IPv4Address(String addrStr) throws IllegalArgumentException { final StringTokenizer tok = new StringTokenizer(addrStr, "."); if (tok.countTokens() != length) { throw new IllegalArgumentException("Not an IPv4 address " + addrStr); } address = new byte[length]; for (int i = 0; i < length; i++) { try { ... | 27,578 |
public UnknownHostException(String message) { super(message); } | public UnknownHostException() { super(message); } | 27,579 |
public UnknownHostException(String message) { super(message); } | public UnknownHostException(String message) { } | 27,580 |
public Set<K> keySet() { if (keys == null) { // Create a synchronized AbstractSet with custom implementations of // those methods that can be overridden easily and efficiently. Set<K> r = new AbstractSet<K>() { public int size() { return size; ... | public Set<K> keySet() { if (keys == null) { // Create a synchronized AbstractSet with custom implementations of // those methods that can be overridden easily and efficiently. Set<K> r = new AbstractSet<K>() { public int size() { return size; ... | 27,581 |
public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (!(from instanceof DynEnum)) throw new TypeMismatch("Not a DynEnum"); try { set_as_ulong(((DynEnum) from).get_as_ulong()); } catch (InvalidValue e) { TypeMismatch... | public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (!(from instanceof DynEnum)) throw new TypeMismatch("Not a DynEnum"); try { set_as_ulong(((DynEnum) from).get_as_ulong()); } catch (InvalidValue e) { TypeMismatch... | 27,582 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); try { InputStream in = an_any.create_input_stream(); set_as_ulong(in.read_long()); in.close(); } catch (MARSHAL eof) { throw new InvalidValu... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); try { InputStream in = an_any.create_input_stream(); set_as_ulong(in.read_long()); in.close(); } catch (MARSHAL eof) { throw new InvalidValu... | 27,583 |
public void set_as_string(String value) throws InvalidValue { for (int i = 0; i < values.length; i++) { if (values [ i ].equals(value)) { current = i; valueChanged(); return; } } throw new InvalidValue(value); } | public void set_as_string(String value) throws InvalidValue { for (int i = 0; i < values.length; i++) { if (values [ i ].equals(value)) { current = i; valueChanged(); return; } } throw new InvalidValue(value); } | 27,584 |
public void set_as_ulong(int value) throws InvalidValue { if (value < 0 || value >= values.length) throw new InvalidValue(value + " not in [0.." + values.length); else { current = value; valueChanged(); } } | public void set_as_ulong(int value) throws InvalidValue { if (value < 0 || value >= values.length) throw new InvalidValue(value + " not in [0.." + values.length); else { current = value; valueChanged(); } } | 27,585 |
private KeyStroke() { } | private KeyStroke() { } | 27,586 |
protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) { this.keyChar = keyChar; this.keyCode = keyCode; // No need to call extend(), as only trusted code calls this constructor. this.modifiers = modifiers; this.onKeyRelease = onKeyRelease; } | protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) { this.keyChar = keyChar; this.keyCode = keyCode; // No need to call extend(), as only trusted code calls this constructor. this.modifiers = modifiers; this.onKeyRelease = onKeyRelease; } | 27,587 |
protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) { this.keyChar = keyChar; this.keyCode = keyCode; // No need to call extend(), as only trusted code calls this constructor. this.modifiers = modifiers; this.onKeyRelease = onKeyRelease; } | protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) { this.keyChar = keyChar; this.keyCode = keyCode; // No need to call extend(), as only trusted code calls this constructor. this.modifiers = modifiers; this.onKeyRelease = onKeyRelease; } | 27,588 |
public String getName() { return "fidelity"; } | public String getName() { return "ipp-attribute-fidelity"; } | 27,589 |
public int nextInt(int n) { if (n <= 0) throw new IllegalArgumentException("n must be positive"); if ((n & -n) == n) // i.e., n is a power of 2 return (int) ((n * (long) next(31)) >> 31); int bits, val; do { bits = next(31); val = bits % n; } while (bits - val + (n - ... | public int nextInt() { if (n <= 0) throw new IllegalArgumentException("n must be positive"); if ((n & -n) == n) // i.e., n is a power of 2 return (int) ((n * (long) next(31)) >> 31); int bits, val; do { bits = next(31); val = bits % n; } while (bits - val + (n - 1) < ... | 27,590 |
public int nextInt(int n) { if (n <= 0) throw new IllegalArgumentException("n must be positive"); if ((n & -n) == n) // i.e., n is a power of 2 return (int) ((n * (long) next(31)) >> 31); int bits, val; do { bits = next(31); val = bits % n; } while (bits - val + (n - ... | public int nextInt(int n) { if (n <= 0) throw new IllegalArgumentException("n must be positive"); if ((n & -n) == n) // i.e., n is a power of 2 return (int) ((n * (long) next(31)) >> 31); int bits, val; do { bits = next(31); val = bits % n; } while (bits - val + (n - ... | 27,591 |
public NO_RESOURCES(String a_reason, int a_minor, CompletionStatus a_completed) { super(a_reason, a_minor, a_completed); } | public NO_RESOURCES(String message) { super(a_reason, a_minor, a_completed); } | 27,592 |
public NO_RESOURCES(String a_reason, int a_minor, CompletionStatus a_completed) { super(a_reason, a_minor, a_completed); } | public NO_RESOURCES(String a_reason, int a_minor, CompletionStatus a_completed) { super(message, 0, CompletionStatus.COMPLETED_NO); } | 27,593 |
public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | 27,594 |
public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | 27,595 |
public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | 27,596 |
public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | public int countTokens() { int count = 0; int delimiterCount = 0; boolean tokenFound = false; // Set when a non-delimiter is found int tmpPos = pos; // Note for efficiency, we count up the delimiters rather than check // retDelims every time we encounter one. That way, we can // just do the conditional once at... | 27,597 |
public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (cpe.getResolvedObj(), cpe.g... | public static Context getContinuationContext (CannotProceedException cpe) throws NamingException { Hashtable env = cpe.getEnvironment (); if (env != null) env.put (CPE, cpe); // It is really unclear to me if this is right. try { Object obj = getObjectInstance (cpe.getResolvedObj(), cpe.g... | 27,599 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 27,600 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 27,601 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 27,602 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 27,603 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 27,604 |
static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | static Context getURLContext (Object refInfo, Name name, Context nameCtx, String scheme, Hashtable environment) throws NamingException { String prefixes = null; if (environment != null) prefixes = (String) environment.get (Context.URL_PKG_PREFIXES); if (prefixes == null) prefixes =... | 27,605 |
public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (icfb != null) throw new Ill... | public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (icfb != null) throw new Ill... | 27,607 |
public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (icfb != null) throw new Ill... | public static void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (icfb != null) throw new Ill... | 27,608 |
public static void setObjectFactoryBuilder (ObjectFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (ofb != null) throw new IllegalStateExceptio... | public static void setObjectFactoryBuilder (ObjectFactoryBuilder builder) throws NamingException { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkSetFactory (); // Once the builder is installed it cannot be replaced. if (ofb != null) throw new IllegalStateExceptio... | 27,609 |
public NoInitialContextException(String msg) { super(msg); } | public NoInitialContextException() { super(msg); } | 27,610 |
public NoInitialContextException(String msg) { super(msg); } | public NoInitialContextException(String msg) { super(); } | 27,611 |
Context getInitialContext (Hashtable environment) throws NamingException; | Context getInitialContext (Hashtable environment) throws NamingException; | 27,612 |
ObjectFactory createObjectFactory(Object obj, Hashtable environment) throws NamingException; | ObjectFactory createObjectFactory(Object refInfo, Hashtable environment) throws NamingException; | 27,613 |
Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; | Object getObjectInstance (Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception; | 27,614 |
Hashtable getEnvironment () throws NamingException; | Hashtable getEnvironment () throws NamingException; | 27,615 |
public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException { throw new Error("Not implemented");} | public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException { throw new Error("Not implemented");} | 27,616 |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B... | protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B... | 27,617 |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B... | protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B... | 27,618 |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPrivateCrtKeySpec) { RSAPrivateCrtKeySpec spec = (RSAPrivateCrtKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); B... | protectedPrivateKeyengineGeneratePrivate(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofRSAPrivateCrtKeySpec){RSAPrivateCrtKeySpecspec=(RSAPrivateCrtKeySpec)keySpec;BigIntegern=spec.getModulus();BigIntegere=spec.getPublicExponent();BigIntegerd=spec.getPrivateExponent();BigIntegerp=spec.getPrimeP();Big... | 27,619 |
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR... | protectedPublicKeyengineGeneratePublic(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofRSAPublicKeySpec){RSAPublicKeySpecspec=(RSAPublicKeySpec)keySpec;BigIntegern=spec.getModulus();BigIntegere=spec.getPublicExponent();returnnewGnuRSAPublicKey(Registry.X509_ENCODING_ID,n,e);}if(keySpecinstanceofX509Enc... | 27,620 |
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR... | protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR... | 27,621 |
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if (keySpec instanceof RSAPublicKeySpec) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; BigInteger n = spec.getModulus(); BigInteger e = spec.getPublicExponent(); return new GnuR... | protectedPublicKeyengineGeneratePublic(KeySpeckeySpec)throwsInvalidKeySpecException{if(keySpecinstanceofRSAPublicKeySpec){RSAPublicKeySpecspec=(RSAPublicKeySpec)keySpec;BigIntegern=spec.getModulus();BigIntegere=spec.getPublicExponent();returnnewGnuRSAPublicKey(Registry.X509_ENCODING_ID,n,e);}if(keySpecinstanceofX509Enc... | 27,622 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofRSAPublicKey){if(keySpec.isAssignableFrom(RSAPublicKeySpec.class)){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewRSAPublicKeySpec(n,e);}if(keySpec.isA... | 27,623 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | 27,624 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofRSAPublicKey){if(keySpec.isAssignableFrom(RSAPublicKeySpec.class)){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewRSAPublicKeySpec(n,e);}if(keySpec.isA... | 27,625 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofRSAPublicKey){if(keySpec.isAssignableFrom(RSAPublicKeySpec.class)){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewRSAPublicKeySpec(n,e);}if(keySpec.isA... | 27,626 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofRSAPublicKey){if(keySpec.isAssignableFrom(RSAPublicKeySpec.class)){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewRSAPublicKeySpec(n,e);}if(keySpec.isA... | 27,627 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofRSAPublicKey){if(keySpec.isAssignableFrom(RSAPublicKeySpec.class)){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewRSAPublicKeySpec(n,e);}if(keySpec.isA... | 27,628 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protectedKeySpecengineGetKeySpec(Keykey,ClasskeySpec)throwsInvalidKeySpecException{if(keyinstanceofRSAPublicKey){if(keySpec.isAssignableFrom(RSAPublicKeySpec.class)){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewRSAPublicKeySpec(n,e);}if(keySpec.isA... | 27,629 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | 27,630 |
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException { if (key instanceof RSAPublicKey) { if (keySpec.isAssignableFrom(RSAPublicKeySpec.class)) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); Bi... | 27,631 |
protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof GnuRSAPublicKey) || (key instanceof GnuRSAPrivateKey)) return key; if (key instanceof RSAPublicKey) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); BigIntege... | protectedKeyengineTranslateKey(Keykey)throwsInvalidKeyException{if((keyinstanceofGnuRSAPublicKey)||(keyinstanceofGnuRSAPrivateKey))returnkey;if(keyinstanceofRSAPublicKey){RSAPublicKeyrsaKey=(RSAPublicKey)key;BigIntegern=rsaKey.getModulus();BigIntegere=rsaKey.getPublicExponent();returnnewGnuRSAPublicKey(Registry.X509_EN... | 27,632 |
protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof GnuRSAPublicKey) || (key instanceof GnuRSAPrivateKey)) return key; if (key instanceof RSAPublicKey) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); BigIntege... | protected Key engineTranslateKey(Key key) throws InvalidKeyException { if ((key instanceof GnuRSAPublicKey) || (key instanceof GnuRSAPrivateKey)) return key; if (key instanceof RSAPublicKey) { RSAPublicKey rsaKey = (RSAPublicKey) key; BigInteger n = rsaKey.getModulus(); BigIntege... | 27,633 |
public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID ... | public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID ... | 27,634 |
public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID ... | public GnuRSAPrivateKey(int preferredFormat, BigInteger n, BigInteger e, BigInteger d, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.PKCS8_ENCODING_ID ... | 27,635 |
public GnuRSAPublicKey(int preferredFormat, BigInteger n, BigInteger e) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e); } | public GnuRSAPublicKey(final BigInteger n, final BigInteger e) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e); } | 27,636 |
public GnuRSAPublicKey(int preferredFormat, BigInteger n, BigInteger e) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e); } | public GnuRSAPublicKey(int preferredFormat, BigInteger n, BigInteger e) { super(preferredFormat == Registry.ASN1_ENCODING_ID ? Registry.X509_ENCODING_ID : preferredFormat, n, e); } | 27,637 |
public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPublicKeyI... | public PublicKey decodePublicKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger n, e; DERReader der = new DERReader(input); try { DERValue derSPKI = der.read(); checkIsConstructed(derSPKI, "Wrong SubjectPublicKeyI... | 27,638 |
public void removeUpdate(DocumentEvent event) { if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) { int dot = getDot(); setDot(dot - event.getLength()); } else if (policy == NEVER_UPDATE) { i... | public void removeUpdate(DocumentEvent event) { if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) { int dot = getDot(); setDot(dot - event.getLength()); } else if (policy == NEVER_UPDATE) { i... | 27,639 |
public void removeUpdate(DocumentEvent event) { if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) { int dot = getDot(); setDot(dot - event.getLength()); } else if (policy == NEVER_UPDATE) { i... | public void removeUpdate(DocumentEvent event) { if (policy == ALWAYS_UPDATE || (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) { int dot = getDot(); setDot(dot - event.getLength()); } else if (policy == NEVER_UPDATE || (! SwingUtilities... | 27,640 |
public void moveDot(int dot) { if (dot >= 0) { this.dot = dot; handleHighlight(); adjustVisibility(this); appear(); } } | public void moveDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); handleHighlight(); adjustVisibility(this); appear(); } } | 27,641 |
public void setDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); this.mark = dot; handleHighlight(); adjustVisibility(this); appear(); } } | public void setDot(int dot) { if (dot >= 0) { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); this.mark = this.dot; handleHighlight(); adjustVisibility(this); appear(); ... | 27,642 |
public static boolean isWhitespace(char ch) { int attr = readChar(ch); return ((((1 << (attr & TYPE_MASK)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0) && (attr & NO_BREAK_MASK) == 0) || (ch <= '\u001F' && ((... | public static boolean isWhitespace(char ch) { int attr = readChar(ch); return ((((1 << (attr & TYPE_MASK)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0) && (attr & NO_BREAK_MASK) == 0) || (ch <= '\u001F' && ((... | 27,643 |
public static boolean isLetterOrDigit(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << DECIMAL_DIGIT_NUMBER)))... | public static boolean isLetterOrDigit(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << DECIMAL_DIGIT_NUMBER)))... | 27,644 |
public NegativeArraySizeException(String s) { super(s); } | public NegativeArraySizeException(String s) { super(s); } | 27,645 |
public CompoundBorder () { this (null, null); } | public CompoundBorder() { this (null, null); } | 27,646 |
public Border getOutsideBorder () { return outsideBorder; } | public Border getOutsideBorder() { return outsideBorder; } | 27,647 |
public boolean isBorderOpaque () { // While it would be safe to assume true for the opacity of // a null border, this behavior would not be according to // the API specification. Also, it is pathological to have // null borders anyway. if ((insideBorder == null) || (outsideBorder == null)) return... | public boolean isBorderOpaque() { // While it would be safe to assume true for the opacity of // a null border, this behavior would not be according to // the API specification. Also, it is pathological to have // null borders anyway. if ((insideBorder == null) || (outsideBorder == null)) return ... | 27,648 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,649 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,650 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,651 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,652 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,653 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,654 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,655 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,656 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) if (name == null) return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEMD128_H... | 27,657 |
public static IMessageDigest getInstance(String name) { if (name == null) { return null; } name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); } else if (name.equalsIgnoreCase(Registry.RIPEM... | public static IMessageDigest getInstance(String name) { if (name == null) { return null; name = name.trim(); IMessageDigest result = null; if (name.equalsIgnoreCase(Registry.WHIRLPOOL_HASH)) { result = new Whirlpool(); else if (name.equalsIgnoreCase(Registry.RIPEMD128... | 27,658 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.