bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected InetAddress getInetAddress() { return address; } | protected InetAddress getInetAddress() { return address; } | 29,618 |
protected MetalDividerLayout() { // Nothing to do here } | public MetalDividerLayout() { // Nothing to do here } | 29,620 |
public void send(IOR ior) { try { Socket socket = new Socket(ior.Internet.host, ior.Internet.port); OutputStream socketOutput = socket.getOutputStream(); write(socketOutput); socketOutput.close(); socket.close(); } catch (IOException ex) { throw new MARS... | public void send(IOR ior) { try { Socket socket = new Socket(ior.Internet.host, ior.Internet.port); OutputStream socketOutput = socket.getOutputStream(); write(socketOutput); socketOutput.close(); socket.close(); } catch (IOException ex) { MARSHAL t = ne... | 29,622 |
private ResolverImpl() { } | private ResolverImpl() { } | 29,623 |
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso... | public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso... | 29,624 |
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso... | public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso... | 29,625 |
public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso... | public static void addDnsServer(ProtocolAddress _dnsserver) throws NetworkException { if (resolvers == null) { resolvers = new Hashtable(); } if (resolver == null) { try { if (resolver == null) { String[] server = new String[]{_dnsserver.toString()}; reso... | 29,626 |
public String[] getByAddress(ProtocolAddress address) throws UnknownHostException { return new String[0]; //To change body of implemented methods use Options | File Templates. } | public String[] getByAddress(ProtocolAddress address) throws UnknownHostException { return new String[0]; //To change body of implemented methods use Options | File Templates. } | 29,627 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | 29,628 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } if (protocolAddresses != null) { return protocolAddresses; } ... | 29,629 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | 29,630 |
public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | public ProtocolAddress[] getByName(String hostname) throws UnknownHostException { ProtocolAddress[] protocolAddresses = null; protocolAddresses = getFromHostsFile(hostname); if (protocolAddresses != null) { return protocolAddresses; } Lookup lookup = null; Lookup.setDefaultResolver(resolver... | 29,631 |
private ProtocolAddress[] getFromHostsFile(String _hostname) { // this should check for changes of the host file return (ProtocolAddress[]) hosts.get(_hostname); } | private ProtocolAddress[] getFromHostsFile(String _hostname) { // this should check for changes of the host file return (ProtocolAddress[]) hosts.get(_hostname); } | 29,632 |
private ProtocolAddress[] getFromHostsFile(String _hostname) { // this should check for changes of the host file return (ProtocolAddress[]) hosts.get(_hostname); } | private ProtocolAddress[] getFromHostsFile(String _hostname) { // this should check for changes of the host file return (ProtocolAddress[]) hosts.get(_hostname); } | 29,633 |
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; } | public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; } | 29,634 |
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; } | public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; } | 29,635 |
public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } } | public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } } | 29,636 |
public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } } | public static void printDnsServers() { if (resolvers == null) { return; } Iterator iterator = resolvers.keySet().iterator(); String dnsServer; while (iterator.hasNext()) { dnsServer = (String) iterator.next(); System.out.println(dnsServer); } } | 29,637 |
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ... | public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ... | 29,638 |
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ... | public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ... | 29,639 |
public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ... | public static void removeDnsServer(ProtocolAddress _dnsserver) { if (resolver == null) { return; } String key = _dnsserver.toString(); if (resolvers.containsKey(key)) { org.xbill.DNS.Resolver resolv = (org.xbill.DNS.Resolver) resolvers.remove(key); if (resolver.getResolvers().length ... | 29,640 |
void inactiveGroup (ActivationGroupID id, long incarnation) throws UnknownGroupException, RemoteException; | void inactiveGroup (ActivationGroupID groupId, long incarnation) throws UnknownGroupException, RemoteException; | 29,642 |
public AbstractAction(String name) { this(name, null); // TODO: default icon?? } | public AbstractAction() { this(name, null); // TODO: default icon?? } | 29,643 |
public AbstractAction(String name) { this(name, null); // TODO: default icon?? } | public AbstractAction(String name) { this(""); // TODO: default icon?? } | 29,644 |
public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); } | public static String getEncodingOfClass(String type, boolean descriptor) { return getEncodingOfClass(clazz.getName(), true); } | 29,645 |
public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); } | public static String getEncodingOfClass(Class clazz) { if (! descriptor || type.charAt(0) == '[') return type.replace('.', '/'); if (type.equals("boolean")) return "Z"; if (type.equals("byte")) return "B"; if (type.equals("short")) return "S"; if (type.equals("char")) return "C"; if (type.equals("int")) return "I... | 29,646 |
public boolean equals(Object o) { if (o instanceof Map.Entry) { Map.Entry e = (Map.Entry) o; return key.equals(e.getKey()) && WeakHashMap.equals(value, e.getValue()); } return false; } | public boolean equals(Object o) { if (o instanceof Map.Entry) { Map.Entry e = (Map.Entry) o; return WeakHashMap.equals(getKey(), e.getKey()) && WeakHashMap.equals(value, e.getValue()); } return false; } | 29,647 |
public String toString() { return key + "=" + value; } | public String toString() { return getKey() + "=" + value; } | 29,648 |
public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<... | public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<... | 29,649 |
public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<... | public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<... | 29,650 |
public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<... | public Iterator iterator() { return new Iterator() { /** * The entry that was returned by the last * <code>next()</code> call. This is also the entry whose * bucket should be removed by the <code>remove</code> call. <br> * * It is null, if the <code>next<... | 29,651 |
private void checkMod() { // This method will get inlined. cleanQueue(); if (knownMod != modCount) throw new ConcurrentModificationException(); } | private void checkMod() { // This method will get inlined. cleanQueue(); if (knownMod != modCount) throw new ConcurrentModificationException(knownMod + " != " + modCount); } | 29,652 |
public boolean hasNext() { checkMod(); return nextEntry != null; } | public boolean hasNext() { return nextEntry != null; } | 29,653 |
private WeakBucket.WeakEntry internalGet(Object key) { if (key == null) key = NULL_KEY; int slot = hash(key); WeakBucket bucket = buckets[slot]; while (bucket != null) { WeakBucket.WeakEntry entry = bucket.getEntry(); if (entry != null && key.equals(entry.key)) return ent... | private WeakBucket.WeakEntry internalGet(Object key) { if (key == null) key = NULL_KEY; int slot = hash(key); WeakBucket bucket = buckets[slot]; while (bucket != null) { WeakBucket.WeakEntry entry = bucket.getEntry(); if (entry != null && equals(key, entry.key)) return en... | 29,654 |
void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t... | void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t... | 29,655 |
void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t... | void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t... | 29,656 |
void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t... | void internalRemove(WeakBucket bucket) { int slot = bucket.slot; if (slot == -1) // This bucket was already removed. return; // Mark the bucket as removed. This is necessary, since the // bucket may be enqueued later by the garbage collection, and // internalRemove will be called a second t... | 29,657 |
public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (from instanceof DynValue) { DynValue other = (DynValue) from; if (other.is_null()) set_to_null(); else { set_to_value(); try ... | public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (from instanceof DynValue) { DynValue other = (DynValue) from; if (other.is_null()) set_to_null(); else { set_to_value(); try ... | 29,658 |
public TCKind current_member_kind() throws TypeMismatch, InvalidValue { if (isNull) throw new TypeMismatch(ISNULL); else return super.current_member_kind(); } | public TCKind current_member_kind() throws TypeMismatch, InvalidValue { if (isNull) throw new TypeMismatch(ISNULL); else return super.current_member_kind(); } | 29,659 |
public String current_member_name() throws TypeMismatch, InvalidValue { if (isNull) throw new TypeMismatch(ISNULL); else return super.current_member_name(); } | public String current_member_name() throws TypeMismatch, InvalidValue { if (isNull) throw new TypeMismatch(ISNULL); else return super.current_member_name(); } | 29,660 |
protected DynAny focused() throws InvalidValue, TypeMismatch { if (isNull) throw new TypeMismatch(ISNULL); else return super.focused(); } | protected DynAny focused() throws InvalidValue, TypeMismatch { if (isNull) throw new TypeMismatch(ISNULL); else return super.focused(); } | 29,661 |
public NameValuePair[] get_members() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); else return super.gnu_get_members(); } | public NameValuePair[] get_members() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); else return super.gnu_get_members(); } | 29,662 |
public NameDynAnyPair[] get_members_as_dyn_any() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); return super.gnu_get_members_as_dyn_any(); } | public NameDynAnyPair[] get_members_as_dyn_any() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); return super.gnu_get_members_as_dyn_any(); } | 29,663 |
public Serializable get_val() throws TypeMismatch, InvalidValue { return to_any().extract_Value(); } | public Serializable get_val() throws TypeMismatch, InvalidValue { return to_any().extract_Value(); } | 29,664 |
public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); // Initialise fields. The array of fields also includes all inherited // fields. try { array = new DynAny[ final_type.member... | public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); // Initialise fields. The array of fields also includes all inherited // fields. try { array = new DynAny[ final_type.member... | 29,665 |
public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); // Initialise fields. The array of fields also includes all inherited // fields. try { array = new DynAny[ final_type.member... | public gnuDynValue(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) { super(oType, aType, aFactory, anOrb); // Initialise fields. The array of fields also includes all inherited // fields. try { array = new DynAny[ final_type.member... | 29,666 |
public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch { Any a = to_any(); a.insert_Value(a_x); from_any(a); valueChanged(); } | public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch { Any a = to_any(); a.insert_Value(a_x); from_any(a); valueChanged(); } | 29,667 |
public int getDropAction() { return 0; //return dropAction & ((DropTargetContext) source).getTargetActions(); } | public int getDropAction() { return dropAction & ((DropTargetContext) source).getTargetActions(); //return dropAction & ((DropTargetContext) source).getTargetActions(); } | 29,668 |
protected synchronized void startDevice() throws DriverException { this.channel = getChannel(); this.kbInterpreter = createKeyboardInterpreter(); final Device dev = getDevice(); final String id = dev.getId(); this.daemon = new KeyboardDaemon(id + "-daemon"); daemon.start();... | protected synchronized void startDevice() throws DriverException { this.channel = getChannel(); this.kbInterpreter = createKeyboardInterpreter(); final Device dev = getDevice(); final String id = dev.getId(); this.daemon = new KeyboardDaemon(id + "-daemon"); daemon.start();... | 29,669 |
protected synchronized void startDevice() throws DriverException { this.channel = getChannel(); this.kbInterpreter = createKeyboardInterpreter(); final Device dev = getDevice(); final String id = dev.getId(); this.daemon = new KeyboardDaemon(id + "-daemon"); daemon.start();... | protected synchronized void startDevice() throws DriverException { this.channel = getChannel(); this.kbInterpreter = createKeyboardInterpreter(); final Device dev = getDevice(); final String id = dev.getId(); this.daemon = new KeyboardDaemon(id + "-daemon"); daemon.start();... | 29,670 |
protected synchronized void stopDevice() throws DriverException { final Device dev = getDevice(); dev.unregisterAPI(KeyboardAPI.class); dev.unregisterAPI(SystemTriggerAPI.class); KeyboardDaemon daemon = this.daemon; if (System.in == kis) { System.setIn(null); } ... | protected synchronized void stopDevice() throws DriverException { final Device dev = getDevice(); dev.unregisterAPI(KeyboardAPI.class); dev.unregisterAPI(SystemTriggerAPI.class); KeyboardDaemon daemon = this.daemon; if (System.in == kis) { AccessController.doPrivileged(... | 29,671 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,672 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,673 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,674 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,675 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,676 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,677 |
public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | public KeyboardEvent interpretScancode(int scancode) { if (scancode == XT_EXTENDED) { lastScancode = scancode; return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// Syste... | 29,678 |
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | 29,679 |
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | 29,680 |
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | 29,681 |
public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | public static KeyboardInterpreter getDefaultKeyboardInterpreter() { try { ResourceBundle rb = null; String defaultCountry = null; String defaultRegion = null; try { rb = ResourceBundle.getBundle("org.jnode.driver.input.KeyboardLayout", Locale.getDefault(), Thread.currentThread().getContextClassLoader())... | 29,682 |
public static void setIn(InputStream in) { SecurityManager sm = Runtime.securityManager; // Be thread-safe. if (sm != null) sm.checkPermission(new RuntimePermission("setIO")); VMSystem.setIn(in); } | public static void setIn(InputStream in) { SecurityManager sm = SecurityManager.current; // Be thread-safe. if (sm != null) sm.checkPermission(new RuntimePermission("setIO")); VMSystem.setIn(in); } | 29,683 |
public DefaultComboBoxModel() { // TODO } // DefaultComboBoxModel() | public DefaultComboBoxModel() { // TODO } // DefaultComboBoxModel() | 29,684 |
public void addElement(Object object) { // TODO } // addElement() | public void addElement(Object object) { // TODO } // addElement() | 29,685 |
public Object getElementAt(int index) { return null; // TODO } // getElementAt() | public Object getElementAt(int index) { return null; // TODO } // getElementAt() | 29,686 |
public int getIndexOf(Object object) { return 0; // TODO } // getIndexOf() | public int getIndexOf(Object object) { return 0; // TODO } // getIndexOf() | 29,687 |
public Object getSelectedItem() { return null; // TODO } // getSelectedItem() | public Object getSelectedItem() { return null; // TODO } // getSelectedItem() | 29,688 |
public int getSize() { return 0; // TODO } // getSize() | public int getSize() { return 0; // TODO } // getSize() | 29,689 |
public void insertElementAt(Object object, int index) { // TODO } // insertElementAt() | public void insertElementAt(Object object, int index) { // TODO } // insertElementAt() | 29,690 |
public void removeAllElements() { // TODO } // removeAllElements() | public void removeAllElements() { // TODO } // removeAllElements() | 29,691 |
public void removeElement(Object object) { // TODO } // removeElement() | public void removeElement(Object object) { // TODO } // removeElement() | 29,692 |
public void removeElementAt(int index) { // TODO } // removeElementAt() | public void removeElementAt(int index) { // TODO } // removeElementAt() | 29,693 |
public void setSelectedItem(Object object) { // TODO } // setSelectedItem() | public void setSelectedItem(Object object) { // TODO } // setSelectedItem() | 29,694 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | 29,695 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { Set aliases = new HashSet(); for (Enumeration e = privateKR.aliases(); e.hasMoreElements();) { ... | 29,696 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { String alias = (String) e.nextElement(); if (alias != null)... | 29,697 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } for (Enumeration e = publ... | 29,698 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | 29,699 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | 29,700 |
public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | public Enumeration engineAliases() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return new Enumeration() { public boolean hasMoreElements() { return false; } public Object nextElement... | 29,701 |
public boolean engineContainsAlias(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } return keyring.containsAlias(alias); } | public boolean engineContainsAlias(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } return keyring.containsAlias(alias); } | 29,702 |
public void engineDeleteEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring != null) { keyring.remove(alias); } } | public void engineDeleteEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring != null) { keyring.remove(alias); } } | 29,703 |
public Certificate engineGetCertificate(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring"); ... | public Certificate engineGetCertificate(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring"); ... | 29,704 |
public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | 29,705 |
public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | 29,706 |
public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | 29,707 |
public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPublicKeyring)) { throw new IllegalStateException("not a public keyring")... | public String engineGetCertificateAlias(Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { log.exiting(this.getClass().getName(), "engineGetCertificateAlias", result); return result; } if (!(keyring instanceof IPubli... | 29,708 |
public Certificate[] engineGetCertificateChain(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalStateException("not a private keyr... | public Certificate[] engineGetCertificateChain(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalStateException("not a private keyr... | 29,709 |
public Date engineGetCreationDate(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } List entries = keyring.get(alias); if (entries.size() == 0) { return null; } for (Iterator it = en... | public Date engineGetCreationDate(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } List entries = keyring.get(alias); if (entries.size() == 0) { return null; } for (Iterator it = en... | 29,710 |
public Key engineGetKey(String alias, char[] password) throws UnrecoverableKeyException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalSt... | public Key engineGetKey(String alias, char[] password) throws UnrecoverableKeyException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalSt... | 29,711 |
public Key engineGetKey(String alias, char[] password) throws UnrecoverableKeyException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalSt... | public Key engineGetKey(String alias, char[] password) throws UnrecoverableKeyException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalSt... | 29,712 |
public Key engineGetKey(String alias, char[] password) throws UnrecoverableKeyException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalSt... | public Key engineGetKey(String alias, char[] password) throws UnrecoverableKeyException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return null; } if (!(keyring instanceof IPrivateKeyring)) { throw new IllegalSt... | 29,713 |
public boolean engineIsCertificateEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPublicKeyring)) { return false; } return ((IPublicKeyring) keyring).... | public boolean engineIsCertificateEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPublicKeyring)) { return false; } return ((IPublicKeyring) keyring).... | 29,714 |
public boolean engineIsKeyEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPrivateKeyring)) { return false; } return ((IPrivateKeyring) keyring).contai... | public boolean engineIsKeyEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPrivateKeyring)) { return false; } return ((IPrivateKeyring) keyring).contai... | 29,715 |
public boolean engineIsKeyEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPrivateKeyring)) { return false; } return ((IPrivateKeyring) keyring).contai... | public boolean engineIsKeyEntry(String alias) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPrivateKeyring)) { return false; } return ((IPrivateKeyring) keyring).contai... | 29,716 |
public void engineLoad(InputStream in, char[] password) throws IOException { if (in != null) { if (!in.markSupported()) { in = new BufferedInputStream(in); } in.mark(5); for (int i = 0; i < 4; i++) if (in.read() != Registry.GKR_MAGIC[i]) t... | public void engineLoad(InputStream in, char[] password) throws IOException { log.entering(this.getClass().getName(), "engineLoad", String.valueOf(password)); if (in != null) { log.entering(this.getClass().getName(), "engineLoad", String.valueOf(password)); if (!in.markSupported()) { log.enter... | 29,717 |
public void engineLoad(InputStream in, char[] password) throws IOException { if (in != null) { if (!in.markSupported()) { in = new BufferedInputStream(in); } in.mark(5); for (int i = 0; i < 4; i++) if (in.read() != Registry.GKR_MAGIC[i]) t... | public void engineLoad(InputStream in, char[] password) throws IOException { if (in != null) { if (!in.markSupported()) { in = new BufferedInputStream(in); } in.mark(5); for (int i = 0; i < 4; i++) if (in.read() != Registry.GKR_MAGIC[i]) t... | 29,718 |
public void engineSetCertificateEntry(String alias, Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPublicKeyring("HMAC-SHA-1", 20); } if (!(keyring instanceof IPublicKeyring)) { throw ... | public void engineSetCertificateEntry(String alias, Certificate cert) { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPublicKeyring("HMAC-SHA-1", 20); } if (!(keyring instanceof IPublicKeyring)) { throw ... | 29,720 |
public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | 29,721 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.