bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | 16,852 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(QName name, Object value, int type) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 16,853 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(String name, Object value, boolean global) { switch (type) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 16,854 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 16,855 |
void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 16,856 |
void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | void initTopLevelVariables(Node context) throws TransformerException { current = context; List topLevel = new ArrayList(variables); Collections.sort(topLevel); for (Iterator i = topLevel.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, ... | 16,857 |
void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.type); ... | 16,858 |
public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | public StreamSerializer() { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getProperty("line.separator"); namespa... | 16,860 |
public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | 16,861 |
public byte[] getEncoded() { return name.getEncoded(); } | public byte[] getEncoded() { if (encoded == null) encodeDer(); return (byte[]) encoded.clone(); } | 16,862 |
Monitor(VmThread owner, int lockCount, Object object) { this.owner = owner; this.lockCount = lockCount; if (lockCount < 1) { throw new IllegalArgumentException("LockCount must be >= 1"); } this.object = object; this.mutex = new ProcessorLock(); this.enterQ... | Monitor(VmThread owner, int lockCount, Object object) { this.owner = owner; this.lockCount = lockCount; if (lockCount < 1) { throw new IllegalArgumentException("LockCount must be >= 1"); } this.object = object; this.mutex = new ProcessorLock(); this.enterQ... | 16,864 |
public static TimeZone getDefault() { return defaultZone; } | public static TimeZone getDefault() { return defaultZone; } | 16,866 |
public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | 16,867 |
public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | 16,868 |
public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | public GregorianCalendar() { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | 16,869 |
public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | 16,870 |
public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | private void schedule(TimerTask task, long time, long period, boolean fixed) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | 16,871 |
public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | 16,872 |
public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | public InflaterInputStream(InputStream in) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not be negative"); this.i... | 16,874 |
public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | 16,875 |
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | 16,876 |
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | 16,877 |
private static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | 16,879 |
public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(msg, null); } } | public static void _assert(boolean value) { if (!value) { assertionFailed(msg, null); } } | 16,880 |
public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(msg, null); } } | public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(null, null); } } | 16,881 |
public Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | 16,882 |
public Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | 16,883 |
public void releaseService(BeanContextServices services, Object requestor, Object service); | void releaseService(BeanContextServices services, Object requestor, Object service); | 16,884 |
public void serviceRevoked(BeanContextServiceRevokedEvent event); | void serviceRevoked(BeanContextServiceRevokedEvent event); | 16,885 |
public void addBeanContextServicesListener(BeanContextServicesListener listener); | void addBeanContextServicesListener (BeanContextServicesListener listener); | 16,886 |
public boolean addService(Class serviceClass, BeanContextServiceProvider provider); | boolean addService (Class serviceClass, BeanContextServiceProvider provider); | 16,887 |
public Iterator getCurrentServiceClasses(); | Iterator getCurrentServiceClasses (); | 16,888 |
public Iterator getCurrentServiceSelectors(Class serviceClass); | Iterator getCurrentServiceSelectors (Class serviceClass); | 16,889 |
public Object getService(BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener); | Object getService (BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener) throws TooManyListenersException; | 16,890 |
public boolean hasService(Class serviceClass); | boolean hasService (Class serviceClass); | 16,891 |
public void releaseService(BeanContextChild requestorChild, Object requestor, Object service); | void releaseService (BeanContextChild requestorChild, Object requestor, Object service); | 16,892 |
public void removeBeanContextServicesListener(BeanContextServicesListener listener); | void removeBeanContextServicesListener (BeanContextServicesListener listener); | 16,893 |
public void revokeService(Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | void revokeService (Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | 16,894 |
public Enumeration<V> elements() { return new Enumerator<V>(VALUES); } | public Enumeration<V> elements() { return new ValueEnumerator(); } | 16,895 |
public void setDelay(int delay) { interval = delay; } | public void setDelay(int d) { interval = delay; } | 16,898 |
public void setDelay(int delay) { interval = delay; } | public void setDelay(int delay) { delay = d; } | 16,899 |
public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | public DefaultTableModel() { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector tmp = new Vector(numColumns... | 16,900 |
public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | 16,901 |
public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | public JTableHeader() { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | 16,903 |
public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | 16,904 |
protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | public boolean requestFocusInWindow () { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { synchroni... | 16,905 |
protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 16,906 |
protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 16,907 |
public DefaultCellEditor(JTextField textfield) { editorComponent = textfield; clickCountToStart = 2; } // DefaultCellEditor() | public DefaultCellEditor(JTextField textfield) { editorComponent = textfield; clickCountToStart = 3; } // DefaultCellEditor() | 16,908 |
public FatDirEntry(AbstractDirectory dir, String name, String ext) { super(dir); this.parent = dir; this.name = name; this.ext = ext; this.flags = F_ARCHIVE; this.lastModified = System.currentTimeMillis(); this._dirty = false; } | public FatDirEntry(AbstractDirectory dir, String name, String ext) { super(dir); this.parent = dir; this.name = name; this.ext = ext; this.flags = F_ARCHIVE; this.lastModified = System.currentTimeMillis(); this._dirty = false; } | 16,909 |
Dialog(Frame parent){ this(parent, "", false);} | Dialog(Frame parent){ this(parent, "", false);} | 16,910 |
addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | 16,911 |
dispose (){ if (blocked) { notifyAll (); } super.dispose();} | dispose (){ if (blocked) { notifyAll (); } super.dispose();} | 16,912 |
hide (){ if (blocked) { notifyAll (); } super.hide();} | hide (){ if (blocked) { notifyAll (); } super.hide();} | 16,913 |
isModal(){ return(modal);} | isModal(){ return(modal);} | 16,914 |
paramString(){ return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString());} | paramString(){ return ("title+" + title + ",modal=" + modal + ",resizable=" + resizable + "," + super.paramString());} | 16,915 |
setModal(boolean modal){ this.modal = modal;} | setModal(boolean modal){ this.modal = modal;} | 16,916 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | 16,917 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable(resizable); } }} | 16,918 |
setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); }} | setResizable(boolean resizable){ this.resizable = resizable; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setResizable (resizable); | 16,919 |
show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | show(){ super.show(); if (isModal()) { // If already shown (and blocked) just return if (blocked) return; /* If show is called in the dispatch thread for a modal dialog it will block so we must run another thread so the events keep being dispatched.*/ if (EventQueue.isDispatchThread ... | 16,920 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | Window() { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the window. SecurityManager s = System.getSecurity... | 16,921 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { visible = false; focusCycleRoot = true; setLayout(new BorderLayout()); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReferenc... | 16,922 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { this (); addWindowFocusListener (new WindowAdapter () { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text vis... | 16,923 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | 16,924 |
public abstract void setResizable(boolean resizeable); | void setResizable (boolean resizeable); | 16,925 |
public abstract void setTitle(String title); | void setTitle (String title); | 16,926 |
public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g... | public void show() { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. synchronized (getTreeLock()) { Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).g... | 16,927 |
protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); /* The order is important here, we must get the prev lock first, or deadlock could occur as callers usually get here following prev's next pointer, and thus obtain prev's lock before trying to... | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); /* The order is important here, we must get the prev lock first, or deadlock could occur as callers usually get here following prev's next pointer, and thus obtain prev's lock before trying to... | 16,928 |
public void bind(NameComponent name, org.omg.CORBA.Object object) throws AlreadyBound, InvalidName { if (containsKey(name)) { Object x = get(name); // Do not throw an exception if the same object is named by // the same name. if (x.equals(object)) throw new Alr... | public void bind(NameComponent name, org.omg.CORBA.Object object) throws AlreadyBound, InvalidName { if (containsKey(name)) { Object x = get(name); // Do not throw an exception if the same object is named by // the same name. if (x.equals(object)) throw new Alr... | 16,929 |
public AlreadyBound(String why) { super(why); } | public AlreadyBound() { super(why); } | 16,931 |
public AlreadyBound(String why) { super(why); } | public AlreadyBound(String why) { } | 16,932 |
public boolean equals(Object o) { return ((X500Principal) o).name.equals(name); } | public boolean equals(Object o) { if (!(o instanceof X500Principal)) return false; if (size() != ((X500Principal) o).size()) return false; for (int i = 0; i < size(); i++) { Map m = (Map) components.get (i); for (Iterator it2 = m.entrySet().iterator(); it2.hasNext(); ) { Map.Entry e = (Map.Entry) it2.next(); OID ... | 16,933 |
public X500Principal(String name) { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); } | private X500Principal() { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); } | 16,934 |
public X500Principal(String name) { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); } | public X500Principal(String name) { if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name); } | 16,935 |
public static final CharBuffer wrap(CharSequence seq) { return wrap(seq, 0, seq.length()); } | public static final CharBuffer wrap(char[] array, int offset, int length) { return wrap(seq, 0, seq.length()); } | 16,936 |
public static final CharBuffer wrap(CharSequence seq) { return wrap(seq, 0, seq.length()); } | public static final CharBuffer wrap(CharSequence seq) { return new CharBufferImpl(array, 0, array.length, offset + length, offset, -1, false); } | 16,937 |
public static synchronized Provider provider () { if (singleton == null) singleton = new Provider (); return singleton; } | public static synchronized Provider provider () { if (singleton == null) singleton = new Provider (); return singleton; } | 16,938 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 16,939 |
public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* Check for any events already on the queue with the same source and ID. */ int i = next_o... | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* Check for any events already on the queue with the same source and ID. */ int i = next_o... | 16,940 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | 16,941 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | 16,942 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | 16,943 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | 16,944 |
void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | void start() throws Exception { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ JarFile jarFile = new JarFile(main.getJarFileName()); SFHelper sfHelper = new SFHelper(jarFile); sfHelper.startSigning(); // 1. compute the digests for (Enumeration e = jarFile.entries(); e.hasMoreElemen... | 16,945 |
void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); log.finer("Has... | void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); if (Configurat... | 16,947 |
void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); log.finer("Has... | void updateEntry(JarEntry entry) throws IOException { if (this.state != STARTED) throw new IllegalStateException(Messages.getString("SFHelper.10")); //$NON-NLS-1$ String name = entry.getName(); InputStream jeis = jar.getInputStream(entry); String hash = util.hashStream(jeis); log.finer("Has... | 16,948 |
public JarOutputStream(OutputStream out, Manifest man) throws IOException { super(out); if (man != null) writeManifest(man); } | public JarOutputStream(OutputStream out) throws IOException { super(out); if (man != null) writeManifest(man); } | 16,950 |
public JarOutputStream(OutputStream out, Manifest man) throws IOException { super(out); if (man != null) writeManifest(man); } | public JarOutputStream(OutputStream out, Manifest man) throws IOException { super(out); if (man != null) writeManifest(man); } | 16,951 |
void writeSF(JarOutputStream jar) throws IOException { if (this.state != FINISHED) throw new IllegalStateException(Messages.getString("SFHelper.1")); //$NON-NLS-1$ ByteArrayOutputStream baos = new ByteArrayOutputStream(); JarUtils.writeSFManifest(sfMainAttributes, sfEntries, baos); sfBytes = baos.to... | void writeSF(JarOutputStream jar) throws IOException { if (this.state != FINISHED) throw new IllegalStateException(Messages.getString("SFHelper.1")); //$NON-NLS-1$ ByteArrayOutputStream baos = new ByteArrayOutputStream(); JarUtils.writeSFManifest(sfMainAttributes, sfEntries, baos); sfBytes = baos.to... | 16,952 |
void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ log... | void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ if ... | 16,953 |
void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ log... | void writeDSA(JarOutputStream jar, PrivateKey signerKey, Certificate[] certificates, boolean internalSF) throws IOException, CertificateEncodingException, CRLException { if (this.state != SF_GENERATED) throw new IllegalStateException(Messages.getString("SFHelper.4")); //$NON-NLS-1$ log... | 16,954 |
final void checkForUnderflow(int length) { if (remaining() < length) throw new BufferUnderflowException(); } | final void checkForUnderflow() { if (remaining() < length) throw new BufferUnderflowException(); } | 16,956 |
final void checkForUnderflow(int length) { if (remaining() < length) throw new BufferUnderflowException(); } | final void checkForUnderflow(int length) { if (!hasRemaining()) throw new BufferUnderflowException(); } | 16,957 |
final void checkForOverflow(int length) { if (remaining() < length) throw new BufferOverflowException(); } | final void checkForOverflow() { if (remaining() < length) throw new BufferOverflowException(); } | 16,958 |
final void checkForOverflow(int length) { if (remaining() < length) throw new BufferOverflowException(); } | final void checkForOverflow(int length) { if (!hasRemaining()) throw new BufferOverflowException(); } | 16,959 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | 16,960 |
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return getKeyStroke(keyCode, modifiers, false); } // getKeyStroke() | public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return getKeyStroke(keyCode, modifiers, false); } // getKeyStroke() | 16,961 |
public final int hashCode() { return qName.hashCode(); } | public final int hashCode() { if (hashCode == -1) { StringBuffer buf = new StringBuffer(); buf.append('{'); buf.append(namespaceURI); buf.append('}'); buf.append(localPart); hashCode = buf.toString().hashCode(); } return hashCode; } | 16,962 |
public abstract boolean avoidingGui(); | boolean avoidingGui(); | 16,963 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.