bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ...
18,528
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,529
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,530
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,531
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,532
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,533
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,534
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,535
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()...
18,536
abstract void produce(Vector v, FileInputStream is) throws IOException;
public abstract void produce (Vector v, InputStream is) throws IOException;
18,537
protected AccessibleAbstractButton(JComponent c) { super(c); }
protected AccessibleAbstractButton() { super(c); }
18,538
protected AccessibleAbstractButton(JComponent c) { super(c); }
protected AccessibleAbstractButton(JComponent c) { }
18,539
public final Class getCategory() { return JobMessageFromOperator.class; }
public Class getCategory() { return JobMessageFromOperator.class; }
18,540
public final String getName() { return "job-message-from-operator"; }
public String getName() { return "job-message-from-operator"; }
18,541
private void redisplay() { // clear the line if (console != null) console.clearLine((int) console.getCursor().getY()); // display the prompt out.print(prompt()); // display the required history/current line if (historyIndex == -1) currentLine = newestLine; else currentLine = history.getCommand(historyI...
private void redisplay() { // clear the line if (console != null) console.clearLine((int) console.getCursor().getY()); // display the prompt out.print(prompt()); // display the required history/current line if (historyIndex == -1) currentLine = newestLine; else currentLine = history.getCommand(historyI...
18,542
public void autoscroll (Point location);
void autoscroll (Point location);
18,543
public Insets getAutoscrollInsets ();
Insets getAutoscrollInsets ();
18,544
public Object remove(Object key) { return remove((Key) key); }
public Object remove(Object key) { return hintMap.remove((Key) key); }
18,547
public final Class getCategory() { return DocumentName.class; }
public Class getCategory() { return DocumentName.class; }
18,548
public final String getName() { return "document-name"; }
public String getName() { return "document-name"; }
18,549
public void remove(Component comp) { // If we're removing the root pane, use super.remove. Otherwise // pass it on to the content pane instead. if (comp==rootPane) super.remove(comp); else getContentPane().remove(comp); }
public void remove(Component comp) { // If we're removing the root pane, use super.remove. Otherwise // pass it on to the content pane instead. if (comp==rootPane || ! isRootPaneCheckingEnabled()) super.remove(comp); else getContentPane().remove(comp); }
18,550
public BasicToolBarUI() { super(); }
public BasicToolBarUI() { }
18,556
protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
public boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
18,557
protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; }
18,558
public int getOrientation() { return 0; // TODO } // getOrientation()
public int getOrientation() { return this.orientation; // TODO } // getOrientation()
18,559
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa...
18,561
public void paint(Graphics g, JComponent c) { JViewport v = (JViewport)c; Component view = v.getView(); if (view == null) return; Point pos = v.getViewPosition(); Rectangle viewBounds = view.getBounds(); Rectangle portBounds = v.getBounds(); if (viewBounds.width == 0 || viewBo...
public void paint(Graphics g, JComponent c) { JViewport v = (JViewport)c; Component view = v.getView(); if (view == null) return; Point pos = v.getViewPosition(); Rectangle viewBounds = view.getBounds(); Rectangle portBounds = v.getBounds(); if (viewBounds.width == 0 || viewBo...
18,562
public Driver getDriver() { return driver; }
final Driver getDriver() { return driver; }
18,563
public DataBufferUShort(int size) { super(TYPE_USHORT, size); data = new short[size]; }
public DataBufferUShort(int size) { super(TYPE_USHORT, size, 1, 0); bankData = new short[1][]; data = new short[size]; }
18,564
public int[] lookupPixel(int[] src, int[] dst) throws ArrayIndexOutOfBoundsException { if (dst == null) dst = new int[numComponents]; if (data.length == 1) for (int i=0; i < src.length; i++) dst[i] = data[0][src[i] - offset]; else for (int i=0; i < src.length; i++) dst[i] = data[i][src[i] ...
public int[] lookupPixel(int[] src, int[] dst) throws ArrayIndexOutOfBoundsException { if (dst == null) dst = new int[src.length]; if (data.length == 1) for (int i=0; i < src.length; i++) dst[i] = data[0][src[i] - offset]; else for (int i=0; i < src.length; i++) dst[i] = data[i][src[i] - o...
18,566
public static final IPad getInstance(String pad) { if (pad == null) { return null; } pad = pad.trim().toLowerCase(); if (pad.endsWith("padding")) pad = pad.substring(0, pad.length() - "padding".length()); IPad result = null; if (pad.equals(PKCS7_PAD)) { result = new P...
public static final IPad getInstance(String pad) { if (pad == null) { return null; } pad = pad.trim().toLowerCase(); if (pad.endsWith("padding")) pad = pad.substring(0, pad.length() - "padding".length()); IPad result = null; if (pad.equals(PKCS7_PAD) || pad.equals(PKCS5_PAD)) ...
18,570
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
public void setHeaderValue(Object headerValue) { // Variables if (this.headerValue == headerValue) return; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
18,572
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
public void setHeaderValue(Object headerValue) { // Variables Object oldValue; // Get Old Value Object oldValue = this.headerValue; // Set Propeprty this.headerValue = headerValue; // Notify Listeners of change firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
18,573
public Socket accept() throws IOException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkListen(impl.getLocalPort()); Socket socket = new Socket(); try { implAccept(socket); } catch (IOException e) { try { socket.close(); } catch (IOException e2...
public Socket accept() throws IOException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkAccept(impl.getInetAddress().getHostAddress(), impl.getLocalPort()); Socket socket = new Socket(); try { implAccept(socket); } catch (IOException e) { try { s...
18,574
protected MetalDividerLayout() { // Nothing to do here }
public MetalDividerLayout() { // Nothing to do here }
18,576
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...
18,578
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...
18,579
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...
18,580
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...
18,581
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; } ...
18,582
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...
18,583
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...
18,584
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; }
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; }
18,585
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; }
public static Resolver getInstance() { if (res == null) { res = new ResolverImpl(); } return res; }
18,586
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); } }
18,587
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); } }
18,588
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 ...
18,589
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 ...
18,590
void inactiveGroup (ActivationGroupID id, long incarnation) throws UnknownGroupException, RemoteException;
void inactiveGroup (ActivationGroupID groupId, long incarnation) throws UnknownGroupException, RemoteException;
18,592
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; }
18,593
public String toString() { return key + "=" + value; }
public String toString() { return getKey() + "=" + value; }
18,594
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<...
18,595
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<...
18,596
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<...
18,597
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); }
18,598
public boolean hasNext() { checkMod(); return nextEntry != null; }
public boolean hasNext() { return nextEntry != null; }
18,599
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...
18,600
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...
18,601
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...
18,602
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...
18,603
public int getDropAction() { return 0; //return dropAction & ((DropTargetContext) source).getTargetActions(); }
public int getDropAction() { return dropAction & ((DropTargetContext) source).getTargetActions(); //return dropAction & ((DropTargetContext) source).getTargetActions(); }
18,604
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();...
18,605
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();...
18,606
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(...
18,607
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 final KeyboardEvent interpretScancode(int scancode) { final boolean extendedMode = this.extendedMode; if (scancode == XT_EXTENDED) { this.extendedMode = true; return null; } else { this.extendedMode = false; } final boolean released = ((scancode & XT_RELEASE) != 0); final long time = System.currentTimeMillis()...
18,608
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...
18,609
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...
18,610
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...
18,611
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...
18,612
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) { return null; } boolean released = ((scancode & XT_RELEASE) != 0); scancode &= 0x7f; int vk = deriveKeyCode(scancode, (lastScancode == XT_EXTENDED)); // debug output to find new keycodes// System.err.println("[" + (las...
18,613
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())...
18,614
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())...
18,615
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())...
18,616
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); }
18,617
public DefaultComboBoxModel() { // TODO } // DefaultComboBoxModel()
public DefaultComboBoxModel() { // TODO } // DefaultComboBoxModel()
18,618
public void addElement(Object object) { // TODO } // addElement()
public void addElement(Object object) { // TODO } // addElement()
18,619
public Object getElementAt(int index) { return null; // TODO } // getElementAt()
public Object getElementAt(int index) { return null; // TODO } // getElementAt()
18,620
public int getIndexOf(Object object) { return 0; // TODO } // getIndexOf()
public int getIndexOf(Object object) { return 0; // TODO } // getIndexOf()
18,621
public Object getSelectedItem() { return null; // TODO } // getSelectedItem()
public Object getSelectedItem() { return null; // TODO } // getSelectedItem()
18,622
public int getSize() { return 0; // TODO } // getSize()
public int getSize() { return 0; // TODO } // getSize()
18,623
public void insertElementAt(Object object, int index) { // TODO } // insertElementAt()
public void insertElementAt(Object object, int index) { // TODO } // insertElementAt()
18,624
public void removeAllElements() { // TODO } // removeAllElements()
public void removeAllElements() { // TODO } // removeAllElements()
18,625
public void removeElement(Object object) { // TODO } // removeElement()
public void removeElement(Object object) { // TODO } // removeElement()
18,626
public void removeElementAt(int index) { // TODO } // removeElementAt()
public void removeElementAt(int index) { // TODO } // removeElementAt()
18,627
public void setSelectedItem(Object object) { // TODO } // setSelectedItem()
public void setSelectedItem(Object object) { // TODO } // setSelectedItem()
18,628
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...
18,629
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();) { ...
18,630
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)...
18,631
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...
18,632
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...
18,633
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...
18,634
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...
18,635
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); }
18,636
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); } }
18,637
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"); ...
18,638
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")...
18,639
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")...
18,640
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")...
18,641
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 IPublic...
18,642
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...
18,643