bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public boolean containsCertPath(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof CertPathEntry) { return true; } } return false; }
public boolean containsCertPath(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof CertPathEntry) { return true; } } return false; }
36,907
public boolean containsCertPath(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof CertPathEntry) { return true; } } return false; }
public boolean containsCertPath(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof CertPathEntry) { return true; } } return false; }
36,908
public boolean containsCertPath(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof CertPathEntry) { return true; } } return false; }
public boolean containsCertPath(String alias) { if (!containsAlias(alias)) { log.exiting(this.getClass().getName(), "containsCertPath", Boolean.valueOf(result)); return result; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof Cer...
36,909
public boolean containsPrivateKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PasswordAuthenticatedEntry) { return true; } } retu...
public boolean containsPrivateKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PasswordAuthenticatedEntry) { return true; } } retu...
36,910
public boolean containsPrivateKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PasswordAuthenticatedEntry) { return true; } } retu...
public boolean containsPrivateKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PasswordAuthenticatedEntry) { return true; } } retu...
36,911
public boolean containsPrivateKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PasswordAuthenticatedEntry) { return true; } } retu...
public boolean containsPrivateKey(String alias) { if (!containsAlias(alias)) { log.exiting(this.getClass().getName(), "containsPrivateKey", Boolean.valueOf(result)); return result; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof...
36,912
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
36,913
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
36,914
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
36,915
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { return false; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof PublicKeyEntry) { return true; } } return false; }
public boolean containsPublicKey(String alias) { if (!containsAlias(alias)) { log.exiting(this.getClass().getName(), "containsPublicKey", Boolean.valueOf(result)); return result; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { if (it.next() instanceof P...
36,916
public Certificate[] getCertPath(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof CertPathEntry) { return ((CertPathEntry) e...
public Certificate[] getCertPath(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof CertPathEntry) { return ((CertPathEntry) e...
36,917
public Certificate[] getCertPath(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof CertPathEntry) { return ((CertPathEntry) e...
public Certificate[] getCertPath(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof CertPathEntry) { result = ((CertPathEntry)...
36,918
public Certificate[] getCertPath(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof CertPathEntry) { return ((CertPathEntry) e...
public Certificate[] getCertPath(String alias) { if (!containsAlias(alias)) { log.exiting(this.getClass().getName(), "getCertPath", result); return result; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanc...
36,919
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { log.entering(this.getClass().getName(), "getPrivateKey", new Object[] { alias, String.valueOf(password) }); Key result = null; if (containsAlias(alias)) { return null; } List l = get(alias); Pas...
36,920
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
36,921
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = get(alias).iterator(); it.hasNext...
36,922
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
36,923
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
36,924
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
36,925
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
36,926
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
36,927
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { return null; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncryptedEntry e2 = null; for (Iterator it = l.iterator(); it.hasNext();) ...
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { if (!containsAlias(alias)) { } } log.exiting(this.getClass().getName(), "getPrivateKey", result); return result; } List l = get(alias); PasswordAuthenticatedEntry e1 = null; PasswordEncrypted...
36,928
public PublicKey getPublicKey(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PublicKeyEntry) { return ((PublicKeyEntry) e)...
public PublicKey getPublicKey(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PublicKeyEntry) { return ((PublicKeyEntry) e)...
36,929
public PublicKey getPublicKey(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PublicKeyEntry) { return ((PublicKeyEntry) e)...
public PublicKey getPublicKey(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PublicKeyEntry) { result = ((PublicKeyEntry) ...
36,930
public PublicKey getPublicKey(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PublicKeyEntry) { return ((PublicKeyEntry) e)...
public PublicKey getPublicKey(String alias) { if (!containsAlias(alias)) { log.exiting(this.getClass().getName(), "getPublicKey", result); return result; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceo...
36,931
protected void load(InputStream in, char[] password) throws IOException { if (in.read() != USAGE) { throw new MalformedKeyringException("incompatible keyring usage"); } if (in.read() != PasswordAuthenticatedEntry.TYPE) { throw new MalformedKeyringException( ...
protected void load(InputStream in, char[] password) throws IOException if (in.read() != USAGE) throw new MalformedKeyringException("incompatible keyring usage"); } if (in.read() != PasswordAuthenticatedEntry.TYPE) throw new MalformedKeyringException( ...
36,932
protected void load(InputStream in, char[] password) throws IOException { if (in.read() != USAGE) { throw new MalformedKeyringException("incompatible keyring usage"); } if (in.read() != PasswordAuthenticatedEntry.TYPE) { throw new MalformedKeyringException( ...
protected void load(InputStream in, char[] password) throws IOException { if (in.read() != USAGE) { throw new MalformedKeyringException("incompatible keyring usage"); if (in.read() != PasswordAuthenticatedEntry.TYPE) { throw new MalformedKeyringException( ...
36,933
protected void load(InputStream in, char[] password) throws IOException { if (in.read() != USAGE) { throw new MalformedKeyringException("incompatible keyring usage"); } if (in.read() != PasswordAuthenticatedEntry.TYPE) { throw new MalformedKeyringException( ...
protected void load(InputStream in, char[] password) throws IOException { if (in.read() != USAGE) { throw new MalformedKeyringException("incompatible keyring usage"); } if (in.read() != PasswordAuthenticatedEntry.TYPE) { throw new MalformedKeyringException( ...
36,934
public void putCertPath(String alias, Certificate[] path) { if (containsCertPath(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new CertPathEntry(path, new Date(), p)); }
public void putCertPath(String alias, Certificate[] path) { log.entering(this.getClass().getName(), "putCertPath", new Object[] { alias, path }); if (! containsCertPath(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new CertPathEntry(path, new ...
36,935
public void putCertPath(String alias, Certificate[] path) { if (containsCertPath(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new CertPathEntry(path, new Date(), p)); }
public void putCertPath(String alias, Certificate[] path) { if (containsCertPath(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new CertPathEntry(path, new Date(), p)); }
36,936
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
public void putPrivateKey(String alias, Key key, char[] password) { log.entering(this.getClass().getName(), "putPrivateKey", new Object[] { alias, key, String.valueOf(password) }); if (! containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.p...
36,938
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
36,939
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
36,940
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
36,941
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
public void putPrivateKey(String alias, Key key, char[] password) { if (containsPrivateKey(alias)) { return; } alias = fixAlias(alias); Properties p = new Properties(); p.put("alias", alias); PrivateKeyEntry pke = new PrivateKeyEntry(key, new Date(), p); PasswordEncryptedEntry enc ...
36,942
public void putPublicKey(String alias, PublicKey key) { if (containsPublicKey(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new PublicKeyEntry(key, new Date(), p)); }
public void putPublicKey(String alias, PublicKey key) { log.entering(this.getClass().getName(), "putPublicKey", new Object[] { alias, key }); if (! containsPublicKey(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new PublicKeyEntry(key, new Dat...
36,944
public void putPublicKey(String alias, PublicKey key) { if (containsPublicKey(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new PublicKeyEntry(key, new Date(), p)); }
public void putPublicKey(String alias, PublicKey key) { if (containsPublicKey(alias)) { return; } Properties p = new Properties(); p.put("alias", fixAlias(alias)); add(new PublicKeyEntry(key, new Date(), p)); }
36,945
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_long); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_long); }
36,948
private ConfigManager() { configs = new ArrayList(); iterators = new HashMap(); initLog4j(); }
private ConfigManager() { configs = new HashMap(); iterators = new HashMap(); initLog4j(); }
36,949
public void addConfig(TestConfig config) { configs.add(config); }
public void addConfig(TestConfig config) { List cfgs = (List) configs.get(config.getClass()); if(cfgs == null) { cfgs = new ArrayList(); configs.put(config.getClass(), cfgs); } cfgs.add(config); }
36,950
public Font getFont (String name, Map attrs) { return new Font (name, attrs); }
public Font getFont (String name, Map attrs) { Font f = null; try { Constructor fontConstructor = Font.class.getDeclaredConstructor (new Class[] { String.class, Map.class }); AccessController.doPrivileged (new SetAccessibleAction(fontConstructor)); f = (Font) fontConstructor.newInstance(new Object[] { name, a...
36,951
public final Class getCategory() { return Copies.class; }
public Class getCategory() { return Copies.class; }
36,952
public final String getName() { return "copies"; }
public String getName() { return "copies"; }
36,953
public BeanContextChild getBeanContextProxy();
public BeanContextChild getBeanContextProxy();
36,955
private void executeLineTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); LineTable lt = VMVirtualMach...
private void executeLineTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ClassReferenceTypeId refId = (ClassReferenceTypeId) idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); ...
36,956
private void executeLineTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); LineTable lt = VMVirtualMach...
private void executeLineTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); LineTable lt = VMVirtualMach...
36,957
private void executeVariableTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); VariableTable vt = VMVir...
private void executeVariableTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ClassReferenceTypeId refId = (ClassReferenceTypeId) idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject();...
36,958
private void executeVariableTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); VariableTable vt = VMVir...
private void executeVariableTable(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); ObjectId oid = idMan.readObjectId(bb); Method method = (Method) oid.getObject(); VariableTable vt = VMVir...
36,959
public void write(DataOutputStream os) throws IOException { os.writeLong(start); os.writeLong(end); os.writeInt(lines); for (int i = 0; i < lines; i++) { os.writeLong(lineCI[i]); os.writeInt(lineNum[i]); } }
public void write(DataOutputStream os) throws IOException { os.writeLong(start); os.writeLong(end); os.writeInt(lines); for (int i = 0; i < lines; i++) { os.writeLong(lineCI[i]); os.writeInt(lineNum[i]); } }
36,960
private void formatForOutput(String str, StringBuffer buffer, boolean key) { if (key) { buffer.setLength(0); buffer.ensureCapacity(str.length()); } else buffer.ensureCapacity(buffer.length() + str.length()); boolean head = true; int size = str.length(); for (int i = 0; i <...
private void formatForOutput(String str, StringBuilder buffer, boolean key) { if (key) { buffer.setLength(0); buffer.ensureCapacity(str.length()); } else buffer.ensureCapacity(buffer.length() + str.length()); boolean head = true; int size = str.length(); for (int i = 0; i ...
36,961
public void store(OutputStream out, String header) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. PrintWriter writer = new PrintWriter(new OutputStreamWriter(out, "ISO-8859-1")); if (header != null) writer.println("#" + header); writer.println ("#" + Calen...
public void store(OutputStream out, String header) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. PrintWriter writer = new PrintWriter(new OutputStreamWriter(out, "ISO-8859-1")); if (header != null) writer.println("#" + header); writer.println ("#" + Calen...
36,962
public DragSourceContext (DragSourceContextPeer peer, DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) throws NotImplementedException { if (peer == null || trig...
public DragSourceContext (DragSourceContextPeer peer, DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) { if (peer == null || trigger == null) throw new Nul...
36,963
public DragSourceContext (DragSourceContextPeer peer, DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) throws NotImplementedException { if (peer == null || trig...
public DragSourceContext (DragSourceContextPeer peer, DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) throws NotImplementedException { if (peer == null || trig...
36,964
public DragSourceContext (DragSourceContextPeer peer, DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) throws NotImplementedException { if (peer == null || trig...
public DragSourceContext (DragSourceContextPeer peer, DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) throws NotImplementedException { if (peer == null || trig...
36,965
public void dragDropEnd(DragSourceDropEvent e) throws NotImplementedException { }
public void dragDropEnd(DragSourceDropEvent e) { }
36,966
public void dragEnter(DragSourceDragEvent e) throws NotImplementedException { }
public void dragEnter(DragSourceDragEvent e) { }
36,968
public void dragExit(DragSourceEvent e) throws NotImplementedException { }
public void dragExit(DragSourceEvent e) { }
36,970
public void dragMouseMoved(DragSourceDragEvent e) throws NotImplementedException { }
public void dragMouseMoved(DragSourceDragEvent e) { }
36,972
public void dragOver(DragSourceDragEvent e) throws NotImplementedException { }
public void dragOver(DragSourceDragEvent e) { }
36,974
public void dropActionChanged(DragSourceDragEvent e) throws NotImplementedException { }
public void dropActionChanged(DragSourceDragEvent e) { }
36,976
public int getSourceActions() { return trigger.getSourceAsDragGestureRecognizer ().getSourceActions (); }
public int getSourceActions() { if (sourceActions == 0) sourceActions = trigger.getSourceAsDragGestureRecognizer().getSourceActions(); return sourceActions; }
36,978
public void setCursor (Cursor cursor) throws NotImplementedException { this.cursor = cursor; // FIXME: Check if we need to do more here }
public void setCursor (Cursor cursor) throws NotImplementedException { this.cursor = cursor; // FIXME: Check if we need to do more here }
36,979
public void setCursor (Cursor cursor) throws NotImplementedException { this.cursor = cursor; // FIXME: Check if we need to do more here }
peer.setCursor(cursor); peer.setCursor(cursor); publicpeer.setCursor(cursor); voidpeer.setCursor(cursor); setCursorpeer.setCursor(cursor); (Cursorpeer.setCursor(cursor); cursor)peer.setCursor(cursor); peer.setCursor(cursor); peer.setCursor(cursor); peer.setCursor(cursor); throwspeer.setCursor(cursor); NotImplementedExc...
36,980
public void transferablesFlavorsChanged() throws NotImplementedException { }
public void transferablesFlavorsChanged() { }
36,981
public void getChars(int where, int len, Segment txt) throws BadLocationException { txt.array = new char[len]; System.arraycopy(buf.toString().toCharArray(), where, txt.array, 0, len); txt.count = len; txt.offset = 0; }
public void getChars(int where, int len, Segment txt) throws BadLocationException { txt.array = new char[len]; System.arraycopy(buf.toString().toCharArray(), where, txt.array, 0, len); txt.count = len; txt.offset = 0; }
36,985
public void getChars(int where, int len, Segment txt) throws BadLocationException { txt.array = new char[len]; System.arraycopy(buf.toString().toCharArray(), where, txt.array, 0, len); txt.count = len; txt.offset = 0; }
public void getChars(int where, int len, Segment txt) throws BadLocationException { txt.array = new char[len]; System.arraycopy(buf.toString().toCharArray(), where, txt.array, 0, len); txt.count = len; txt.offset = 0; }
36,986
public UndoableEdit insertString(int where, String str) throws BadLocationException { buf.insert(where, str); return null; }
public UndoableEdit insertString(int where, String str) throws BadLocationException { buf.insert(where, str); return null; }
36,987
public UndoableEdit remove(int where, int nitems) throws BadLocationException { buf.delete(where, where + nitems); return null; }
public UndoableEdit remove(int where, int nitems) throws BadLocationException { buf.delete(where, where + nitems); return null; }
36,988
public PrivateKey decodePrivateKey(byte[] 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); try { DERValue derPKI = der.read(); DerUtil.checkIsCons...
public PrivateKey decodePrivateKey(byte[] 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); try { DERValue derPKI = der.read(); DerUtil.checkIsCons...
36,989
public void updateUI() { MenuItemUI mi = ((MenuItemUI) UIManager.getUI(this)); setUI(mi); invalidate(); }
public void updateUI() { MenuItemUI mi = ((MenuItemUI) UIManager.getUI(this)); setUI(mi); invalidate(); }
36,991
public void read(long fileOffset, byte[] dest, int off, int len){ refresh(); byte[] readdata; readdata = data.toString().getBytes(); for (long i=0 ; i < len ; i++ ) { int doff = new Long(off+i).intValue(); int foff = new Long(fileOffset+i).intValue(); dest[doff] = readdata[foff]; } }
public void read(long fileOffset, byte[] dest, int off, int len){ refresh(); byte[] readdata; readdata = data.toString().getBytes(); for (long i=0 ; i < len ; i++ ) { int doff = new Long(off+i).intValue(); int foff = new Long(fileOffset+i).intValue(); dest[doff] = readdata[foff]; } }
36,992
public void read(long fileOffset, byte[] dest, int off, int len){ refresh(); byte[] readdata; readdata = data.toString().getBytes(); for (long i=0 ; i < len ; i++ ) { int doff = new Long(off+i).intValue(); int foff = new Long(fileOffset+i).intValue(); dest[doff] = readdata[foff]; } }
public void read(long fileOffset, byte[] dest, int off, int len){ refresh(); byte[] readdata; readdata = data.toString().getBytes(); for (long i=0 ; i < len ; i++ ) { int doff = new Long(off+i).intValue(); int foff = new Long(fileOffset+i).intValue(); dest[doff] = readdata[foff]; } }
36,993
public void read(long fileOffset, byte[] dest, int off, int len){ refresh(); byte[] readdata; readdata = data.toString().getBytes(); for (long i=0 ; i < len ; i++ ) { int doff = new Long(off+i).intValue(); int foff = new Long(fileOffset+i).intValue(); dest[doff] = readdata[foff]; } }
public void read(long fileOffset, byte[] dest, int off, int len){ refresh(); byte[] readdata; readdata = data.toString().getBytes(); for (long i=0 ; i < len ; i++ ) { int doff = new Long(off+i).intValue(); int foff = new Long(fileOffset+i).intValue(); dest[doff] = readdata[foff]; } }
36,994
public Dimension preferredLayoutSize(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; Dimension viewportSize = viewport.getPreferredSize(); int width = viewportSize.width; ...
public Dimension preferredLayoutSize(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; Dimension viewportSize = viewport.getPreferredSize(); int width = viewportSize.width; ...
36,995
public Dimension preferredLayoutSize(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; Dimension viewportSize = viewport.getPreferredSize(); int width = viewportSize.width; ...
public Dimension preferredLayoutSize(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; Dimension viewportSize = viewport.getPreferredSize(); int width = viewportSize.width; ...
36,996
public byte[] getEncoded() { return getEncoded(IKeyPairCodec.RAW_FORMAT); }
public byte[] getEncoded() { return getEncoded(defaultFormat); }
36,997
public final byte[] doFinal(byte[] input) throws IllegalStateException, IllegalBlockSizeException, BadPaddingException { return doFinal(input, 0, input.length); }
public final byte[] doFinal() throws IllegalStateException, IllegalBlockSizeException, BadPaddingException { return doFinal(input, 0, input.length); }
36,998
public final byte[] doFinal(byte[] input) throws IllegalStateException, IllegalBlockSizeException, BadPaddingException { return doFinal(input, 0, input.length); }
public final byte[] doFinal(byte[] input) throws IllegalStateException, IllegalBlockSizeException, BadPaddingException { return doFinal(new byte[0], 0, 0); }
36,999
protected Context getDefaultInitCtx () throws NamingException { if (! gotDefault) { defaultInitCtx = NamingManager.getInitialContext (myProps); gotDefault = true; } return defaultInitCtx; }
protected Context getDefaultInitCtx() throws NamingException { if (! gotDefault) { defaultInitCtx = NamingManager.getInitialContext (myProps); gotDefault = true; } return defaultInitCtx; }
37,000
protected Context getDefaultInitCtx () throws NamingException { if (! gotDefault) { defaultInitCtx = NamingManager.getInitialContext (myProps); gotDefault = true; } return defaultInitCtx; }
protected Context getDefaultInitCtx () throws NamingException { if (! gotDefault) { defaultInitCtx = NamingManager.getInitialContext (myProps); gotDefault = true; } return defaultInitCtx; }
37,001
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,002
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,003
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,004
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,005
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,006
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,007
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,008
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,009
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,010
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,011
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,012
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,013
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
protected void init (Hashtable environment) throws NamingException { // FIXME: Is this enough? final String[] properties = { Context.DNS_URL, Context.INITIAL_CONTEXT_FACTORY, Context.OBJECT_FACTORIES, Context.PROVIDER_URL, Context.STATE_FACTORIES, Context.URL_PKG_PREFIXES, }...
37,014
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
static void merge (Hashtable primary, Hashtable additional) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compar...
37,015
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
private static void merge (Hashtable h1, Hashtable h2) { Enumeration en = additional.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.com...
37,016
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (en.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
37,017
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
37,018
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
37,019
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
private static void merge (Hashtable h1, Hashtable h2) { Enumeration e2 = h2.keys(); while (e2.hasMoreElements()) { String key2 = (String) e2.nextElement(); Object value1 = h1.get(key2); if (value1 == null) h1.put(key2, h2.get(key2)); else if (key2.compareTo(colon_list[0]) == 0 || key2.compareTo(c...
37,020
Object addToEnvironment (String propName, Object propVal) throws NamingException;
Object addToEnvironment (String propName, Object propVal) throws NamingException;
37,021