bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public final void deviceStarted(Device device) { if (device.implementsAPI(FSBlockDeviceAPI.class)) { // add it to the queue of devices to be mounted only if the action // is not already pending devicesAdded++; devicesWaitingToBeMounted.add(device); //log...
public final void deviceStarted(final Device device) { if (device.implementsAPI(FSBlockDeviceAPI.class)) { // add it to the queue of devices to be mounted only if the action // is not already pending devicesAdded++; devicesWaitingToBeMounted.add(device); ...
9,488
public final void deviceStarted(Device device) { if (device.implementsAPI(FSBlockDeviceAPI.class)) { // add it to the queue of devices to be mounted only if the action // is not already pending devicesAdded++; devicesWaitingToBeMounted.add(device); //log...
public final void deviceStarted(Device device) { if (device.implementsAPI(FSBlockDeviceAPI.class)) { // add it to the queue of devices to be mounted only if the action // is not already pending devicesAdded++; devicesWaitingToBeMounted.add(device); //log...
9,489
public void start() throws PluginException { try { devMan = (DeviceManager) InitialNaming.lookup(DeviceManager.NAME); devMan.addListener(this); fileSystemService = (FileSystemService) InitialNaming .lookup(FileSystemService.NAME); asynchronousMou...
public void start() throws PluginException { try { devMan = (DeviceManager) InitialNaming.lookup(DeviceManager.NAME); devMan.addListener(this); fileSystemService = (FileSystemService) InitialNaming .lookup(FileSystemService.NAME); asynchronousMou...
9,490
public void stop() { devMan.removeListener(this); asynchronousMounterThread.stopProcessor(); asynchronousMounterThread = null; }
public void stop() { devMan.removeListener(this); asynchronousMounterThread.stopProcessor(); asynchronousMounterThread = null; }
9,491
public ColorUIResource(Color c) { super(c.getRGB()); }
public ColorUIResource(int r, int g, int b) { super(c.getRGB()); }
9,493
public ColorUIResource(Color c) { super(c.getRGB()); }
public ColorUIResource(Color c) { super(r, g, b); }
9,494
public synchronized <S> S[] toArray(S[] a) { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; }
public synchronized Object[] toArray() { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; }
9,495
public synchronized <S> S[] toArray(S[] a) { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; }
public synchronized <S> S[] toArray(S[] a) { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; }
9,496
public ObjID(int num) { objNum = (long)num; space = new UID((short)0);}
public ObjID(int num) { objNum = (long)num; space = new UID((short)0);}
9,497
public UnicastServerRef(ObjID id, int port, RMIServerSocketFactory ssf) throws RemoteException { super(id); manager = UnicastConnectionManager.getInstance(port, ssf);}
public UnicastServerRef(ObjID id, int port, RMIServerSocketFactory ssf) throws RemoteException { super(id); manager = UnicastConnectionManager.getInstance(port, ssf);}
9,498
protected UnicastRemoteObject(RemoteRef ref) throws RemoteException { super((UnicastServerRef)ref); exportObject(this);}
protected UnicastRemoteObject(RemoteRef ref) throws RemoteException { super((UnicastServerRef)ref); exportObject(this);}
9,499
public NotBoundException(String s) { super(s); }
public NotBoundException() { super(s); }
9,500
public NotBoundException(String s) { super(s); }
public NotBoundException(String s) { }
9,501
public static XMLReader createXMLReader () throws SAXException { String className = null; ClassLoader loader = NewInstance.getClassLoader (); // 1. try the JVM-instance-wide system property try { className = System.getProperty (property); } catch (RuntimeException e) { /* normally fails for applets */ } // 2. ...
public static XMLReader createXMLReader () throws SAXException { String className = null; ClassLoader loader = NewInstance.getClassLoader (); // 1. try the JVM-instance-wide system property try { className = System.getProperty (property); } catch (RuntimeException e) { /* normally fails for applets */ } // 2. ...
9,502
public Throwable getCause() { return containedException; }
public Throwable getCause() { return containedException; }
9,503
public abstract Templates newTemplates (Source stylesheet) throws TransformerConfigurationException;
public abstract Templates newTemplates (Source stylesheet) throws TransformerConfigurationException;
9,504
public TransformerConfigurationException(String msg) { super(msg); } // TransformerConfigurationException()
public TransformerConfigurationException(String msg) { super(msg); } // TransformerConfigurationException()
9,505
public abstract Transformer newTransformer() throws TransformerConfigurationException;
public abstract Transformer newTransformer(Source source) throws TransformerConfigurationException;
9,506
public abstract TransformerHandler newTransformerHandler() throws TransformerConfigurationException;
public abstract TransformerHandler newTransformerHandler(Source src) throws TransformerConfigurationException;
9,507
public abstract XMLFilter newXMLFilter (Source stylesheet) throws TransformerConfigurationException;
public abstract XMLFilter newXMLFilter(Source src) throws TransformerConfigurationException;
9,508
public final Class getCategory() { return QueuedJobCount.class; }
public Class getCategory() { return QueuedJobCount.class; }
9,509
public final String getName() { return "queued-job-count"; }
public String getName() { return "queued-job-count"; }
9,510
public final void set(int year, int month, int date, int hour, int minute) { set(year, month, date); fields[HOUR_OF_DAY] = hour; fields[MINUTE] = minute; isSet[HOUR_OF_DAY] = isSet[MINUTE] = true; isSet[AM_PM] = false; isSet[HOUR] = false; }
public void set(int field, int value) { set(year, month, date); fields[HOUR_OF_DAY] = hour; fields[MINUTE] = minute; isSet[HOUR_OF_DAY] = isSet[MINUTE] = true; isSet[AM_PM] = false; isSet[HOUR] = false; }
9,511
public final void set(int year, int month, int date, int hour, int minute) { set(year, month, date); fields[HOUR_OF_DAY] = hour; fields[MINUTE] = minute; isSet[HOUR_OF_DAY] = isSet[MINUTE] = true; isSet[AM_PM] = false; isSet[HOUR] = false; }
public final void set(int year, int month, int date, int hour, int minute) { set(year, month, date); fields[HOUR_OF_DAY] = hour; fields[MINUTE] = minute; isSet[HOUR_OF_DAY] = isSet[MINUTE] = true; isSet[AM_PM] = false; isSet[HOUR] = false; }
9,512
protected void installDefaults() { divider = createDefaultDivider(); resetLayoutManager(); nonContinuousLayoutDivider = createDefaultNonContinuousLayoutDivider(); splitPane.add(divider, JSplitPane.DIVIDER); // There is no need to add the nonContinuousLayoutDivider UIDefaults defaults = UIManager.ge...
protected void installDefaults() { divider = createDefaultDivider(); resetLayoutManager(); nonContinuousLayoutDivider = createDefaultNonContinuousLayoutDivider(); splitPane.add(divider, JSplitPane.DIVIDER); // There is no need to add the nonContinuousLayoutDivider UIDefaults defaults = UIManager.ge...
9,513
public static void setCurrentKeyboardFocusManager (KeyboardFocusManager m) { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new AWTPermission ("replaceKeyboardFocusManager")); ThreadGroup currentGroup = Thread.currentThread ().getThreadGroup (); KeyboardFocusM...
public static void setCurrentKeyboardFocusManager (KeyboardFocusManager m) { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new AWTPermission ("replaceKeyboardFocusManager")); ThreadGroup currentGroup = Thread.currentThread ().getThreadGroup (); KeyboardFocusM...
9,514
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), false); }
public static AWTKeyStroke getAWTKeyStroke(char keyChar) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), false); }
9,515
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), false); }
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), false); }
9,516
public FocusEvent(Component source, int id, boolean temporary) { this(source, id, temporary, null); }
public FocusEvent(Component source, int id, boolean temporary, Component opposite) { this(source, id, temporary, null); }
9,517
public FocusEvent(Component source, int id, boolean temporary) { this(source, id, temporary, null); }
public FocusEvent(Component source, int id, boolean temporary) { super(source, id); this.temporary = temporary; this.opposite = opposite; }
9,518
public String toString() { return toString(false); }
public String toString(boolean objectInfo) { return toString(false); }
9,519
public String toString() { return toString(false); }
public String toString() { StringBuffer sb = new StringBuffer(super.toString()); Throwable cause = getRootCause(); if (cause != null) { sb.append(" caused by "); sb.append(cause); } Name remaining = getRemainingName(); if (remaining != null) { sb.append(" [remainingName: "); sb.append(remaining); } Object resolve...
9,520
public void addCertificate(java.security.Certificate certificate) throws KeyManagementException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("addIdentityCertificate"); //Check public key of this certificate against the first one //in the vector if...
public void addCertificate(Certificate certificate) throws KeyManagementException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("addIdentityCertificate"); //Check public key of this certificate against the first one //in the vector if (certificates...
9,521
public KeyManagementException(String msg) { super(msg); }
public KeyManagementException() { super(msg); }
9,522
public KeyManagementException(String msg) { super(msg); }
public KeyManagementException(String msg) { }
9,523
public ZipEntry(String name) { if (name == null) throw new NullPointerException(); this.name = name; }
public ZipEntry(String name) { if (name == null) throw new NullPointerException(); this.name = name; }
9,524
public int getColumnCount();
int getColumnCount();
9,525
public TableColumn getColumn(int columnIndex);
TableColumn getColumn(int columnIndex);
9,526
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column);
Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column);
9,527
public int getTotalColumnWidth();
int getTotalColumnWidth();
9,528
public SocketException(String message) { super(message); }
public SocketException() { super(message); }
9,529
public SocketException(String message) { super(message); }
public SocketException(String message) { }
9,530
ClassLoader getCallingClassLoader() { Class[] stack = getClassContext(); /* for (int i = 0; i < stack.length; i++) { if (stack[i] != Security.class && stack[i] != ResourceBundle.class) return stack[i].getClassLoader(); } return null; */ return stack[3].getClassLoader...
ClassLoader getCallingClassLoader() { Class[] stack = getClassContext(); for (int i = 0; i < stack.length; i++) { if (stack[i] != Security.class && stack[i] != ResourceBundle.class) return stack[i].getClassLoader(); } return null; */ return stack[3].getClassLoader()...
9,531
ClassLoader getCallingClassLoader() { Class[] stack = getClassContext(); /* for (int i = 0; i < stack.length; i++) { if (stack[i] != Security.class && stack[i] != ResourceBundle.class) return stack[i].getClassLoader(); } return null; */ return stack[3].getClassLoader...
ClassLoader getCallingClassLoader() { Class[] stack = getClassContext(); /* for (int i = 0; i < stack.length; i++) { if (stack[i] != Security.class && stack[i] != ResourceBundle.class) return stack[i].getClassLoader(); } return null; */ return stack[3].getClassLoader...
9,532
private static final ResourceBundle tryBundle(String localizedName, Locale locale, ClassLoader classloader, ResourceBundle bundle, ...
private static final ResourceBundle tryBundle(String localizedName, Locale locale, ClassLoader classloader, ResourceBundle bundle, ...
9,534
private static final ResourceBundle tryLocalBundle(String baseName, Locale locale, ClassLoader classloader, ResourceBundle bundle, HashMap cache) { ...
private static final ResourceBundle tryLocalBundle(String baseName, Locale locale, ClassLoader classloader, ResourceBundle bundle, HashMap cache) { ...
9,535
public Locale(String language) { this(language, "", ""); }
public Locale(String language, String country, String variant) { this(language, "", ""); }
9,536
public Locale(String language) { this(language, "", ""); }
public Locale(String language) { if (defaultLocale != null) { language = convertLanguage(language).intern(); country = country.toUpperCase().intern(); variant = variant.intern(); } this.language = language; this.country = country; this.variant = variant; hashcode = language.hashCode() ^ country.hashCode() ^ v...
9,537
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { return null; }
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value!=null) super.setText(val...
9,538
public void setSelected(boolean b) { getModel().setSelected(b); }
public void setSelected(boolean b) { getModel().setSelected(b); }
9,539
public DefaultTableModel(int numRows, int numColumns) { // Variables int columnIndex; Vector defaultNames; // Create Column Names defaultNames = new Vector(); for (columnIndex = 0; columnIndex < numColumns; columnIndex++) { defaultNames.addElement(super.getColumnName(columnIndex)); } // for // Setup Data//...
public DefaultTableModel(int numRows, int numColumns) { // Variables int columnIndex; Vector defaultNames; // Create Column Names defaultNames = new Vector(); for (columnIndex = 0; columnIndex < numColumns; columnIndex++) { defaultNames.addElement(super.getColumnName(columnIndex)); } // for // Setup Data//...
9,540
public ListSelectionModel getSelectionModel();
ListSelectionModel getSelectionModel();
9,541
public String getColumnName(int columnIndex);
String getColumnName(int columnIndex);
9,542
public void addColumn(TableColumn column);
void addColumn(TableColumn column);
9,543
public TableColumn(int modelIndex) { this(modelIndex, 75, null, null); } // TableColumn()
public TableColumn(int modelIndex) { this(modelIndex, 75, null, null); } // TableColumn()
9,544
public void removeColumn(TableColumn column);
void removeColumn(TableColumn column);
9,545
public Class getColumnClass(int columnIndex);
Class getColumnClass(int columnIndex);
9,546
public int getColumnMargin();
int getColumnMargin();
9,547
public int getColumnIndex(Object columnIdentifier);
int getColumnIndex(Object columnIdentifier);
9,548
public boolean getColumnSelectionAllowed();
boolean getColumnSelectionAllowed();
9,549
public int getRowCount();
int getRowCount();
9,551
public Object getValueAt(int rowIndex, int columnIndex);
Object getValueAt(int rowIndex, int columnIndex);
9,552
public void addColumnModelListener(TableColumnModelListener listener);
void addColumnModelListener(TableColumnModelListener listener);
9,553
public boolean isCellEditable(int rowIndex, int columnIndex);
boolean isCellEditable(int rowIndex, int columnIndex);
9,554
public void moveColumn(int columnIndex, int newIndex);
void moveColumn(int columnIndex, int newIndex);
9,555
public void addCellEditorListener(CellEditorListener listener);
void addCellEditorListener(CellEditorListener listener);
9,556
public void removeColumnModelListener(TableColumnModelListener listener);
void removeColumnModelListener(TableColumnModelListener listener);
9,557
public void setColumnSelectionAllowed(boolean value);
void setColumnSelectionAllowed(boolean value);
9,558
public void setColumnMargin(int margin);
void setColumnMargin(int margin);
9,559
public void removeTableModelListener(TableModelListener listener);
void removeTableModelListener(TableModelListener listener);
9,560
public void addTableModelListener(TableModelListener listener);
void addTableModelListener(TableModelListener listener);
9,561
public void setValueAt(Object aValue, int rowIndex, int columnIndex);
void setValueAt(Object aValue, int rowIndex, int columnIndex);
9,562
public MultipleComponentProfileHolder(TaggedComponent[] initialValue) { value = initialValue; }
public MultipleComponentProfileHolder() { value = initialValue; }
9,563
public MultipleComponentProfileHolder(TaggedComponent[] initialValue) { value = initialValue; }
public MultipleComponentProfileHolder(TaggedComponent[] initialValue) { }
9,564
Box(int a) { setLayout(new BoxLayout(this, a)); }
Box(int a) { setLayout(new BoxLayout(this, a)); }
9,566
public static Border createEmptyBorder( int top, int left, int bottom, int right) { /* Creates an empty border that takes up no space but which does no drawing, specifying the width of the top, left, bottom, and right sides. Parameters: top - an int specifying the width of the top in pixelsleft - an int...
public static Border createEmptyBorder( int top, int left, int bottom, int right) { /* Creates an empty border that takes up no space but which does no drawing, specifying the width of the top, left, bottom, and right sides. Parameters: top - an int specifying the width of the top in pixelsleft - an int...
9,567
public JComboBox(Object[] value0) { // TODO } // JComboBox()
public JComboBox(ComboBoxModel value0) { // TODO } // JComboBox()
9,568
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
9,569
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
9,570
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(Thread.currentThread().hashCode()); buf.append('@'); buf.appe...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(Thread.currentThread().hashCode()); buf.append('@'); buf.appe...
9,571
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(Thread.currentThread().hashCode()); buf.append('@'); buf.appe...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(Thread.currentThread().hashCode()); buf.append('@'); buf.appe...
9,572
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(Thread.currentThread().hashCode()); buf.append('@'); buf.appe...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(Thread.currentThread().hashCode()); buf.append('@'); buf.appe...
9,573
public Map getHeaderFields() { if (!connected) { try { connect(); } catch (IOException e) { return null; } } Map headers = response.getHeaders(); Map ret = new LinkedHashMap(); ret.put("", Collections.singletonList(getStatu...
public Map getHeaderFields() { if (!connected) { try { connect(); } catch (IOException e) { return null; } } Map headers = response.getHeaders(); Map ret = new LinkedHashMap(); ret.put("", Collections.singletonList(getStatu...
9,574
public Map getHeaderFields() { if (!connected) { try { connect(); } catch (IOException e) { return null; } } Map headers = response.getHeaders(); Map ret = new LinkedHashMap(); ret.put("", Collections.singletonList(getStatu...
public Map getHeaderFields() { if (!connected) { try { connect(); } catch (IOException e) { return null; } } Map headers = response.getHeaders(); Map ret = new LinkedHashMap(); ret.put("", Collections.singletonList(getStatu...
9,575
public int getCodeClass() { return codeClass; }
public int getCodeClass() { return code / 100; }
9,576
public void clearSelection();
void clearSelection();
9,577
public int write(ByteBuffer src) throws IOException;
int write(ByteBuffer src) throws IOException;
9,578
public Component getComponent();
Component getComponent();
9,579
public void setValue(Object value, boolean selected);
void setValue(Object value, boolean selected);
9,580
public MouseHandler(Device fbDevice, Dimension screenSize) { HardwareCursorAPI hwCursor = null; Device pointerDevice = null; PointerAPI pointerAPI = null; try { hwCursor = (HardwareCursorAPI) fbDevice.getAPI(HardwareCursorAPI.class); } catch (ApiNotFoundException ex) { log.info("No hardware-cursor found on de...
public MouseHandler(Device fbDevice, Dimension screenSize) { HardwareCursorAPI hwCursor = null; Device pointerDevice = null; PointerAPI pointerAPI = null; try { hwCursor = (HardwareCursorAPI) fbDevice.getAPI(HardwareCursorAPI.class); } catch (ApiNotFoundException ex) { log.info("No hardware-cursor found on de...
9,581
public abstract Image createImage(byte[] data, int offset, int len);
public abstract Image createImage(String filename);
9,582
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || ! certs.containsAll(cs.certs))) return false; // Next check the location. if (location == null) { return true; } if (cs.locat...
9,583
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
9,584
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
9,585
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
public boolean implies(CodeSource cs) { if (cs == null) return false; // First check the certificate list. if (certs != null && (cs.certs == null || !certs.containsAll(cs.certs))) { return false; } // Next check the location. if (location == null) { return true; } if (cs.lo...
9,586
public boolean equals(Object obj) { if (obj == null || !(obj instanceof URL)) return false; URL uObj = (URL) obj; return handler.equals(this, uObj); }
public boolean equals(Object obj) { if (obj == null || !(obj instanceof URL)) return false; URL uObj = (URL) obj; return handler.equals(this, uObj); }
9,587
public boolean equals(Object obj) { if (obj == null || !(obj instanceof URL)) return false; URL uObj = (URL) obj; return handler.equals(this, uObj); }
public boolean equals(Object obj) { if (obj == null || !(obj instanceof URL)) return false; URL uObj = (URL) obj; return handler.equals(this, uObj); }
9,588
public int hashCode() { if (hashCode != 0) return hashCode; // Use cached value if available. else return handler.hashCode(this); }
public int hashCode() { if (hashCode != 0) return hashCode; // Use cached value if available. else return ph.hashCode(this); }
9,589
public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ...
public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ...
9,590
public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ...
public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ...
9,591