bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | 29,166 |
public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | 29,167 |
public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | 29,168 |
public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | 29,169 |
public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | public boolean implies(Permission perm) { final SocketPermission that; //System.out.println("implies"); // First make sure we are the right object type if (perm instanceof SocketPermission) { that = (SocketPermission) perm; } else { return false; } ... | 29,170 |
public PermissionCollection newPermissionCollection() { return new SocketPermissionCollection(); } | public PermissionCollection newPermissionCollection() { return new SocketPermissionCollection(); } | 29,171 |
protected Object clone () throws CloneNotSupportedException { throw new InternalError ("not implemented"); } | protected Object clone () throws CloneNotSupportedException { AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); newFormatter.textField = null; return newFormatter; } | 29,172 |
protected Action[] getActions () { return textField.getActions(); } | protected Action[] getActions () { return null; } | 29,173 |
protected DocumentFilter getDocumentFilter () { throw new InternalError ("not implemented"); } | protected DocumentFilter getDocumentFilter () { return null; } | 29,174 |
protected NavigationFilter getNavigationFilter () { return textField.getNavigationFilter(); } | protected NavigationFilter getNavigationFilter () { return null; } | 29,175 |
public void commitEdit () throws ParseException { throw new InternalError ("not implemented"); } | public void commitEdit () throws ParseException { if (formatter == null) return; Object oldValue = this.value; this.value = formatter.stringToValue(getText());; editValid = true; firePropertyChange("value", oldValue, this.value); } | 29,178 |
public AbstractFormatter getFormatter () { if (formatterFactory == null) return null; return formatterFactory.getFormatter(this); } | public AbstractFormatter getFormatter () { if (formatterFactory == null) return null; return formatterFactory.getFormatter(this); } | 29,180 |
protected void processFocusEvent (FocusEvent evt) { // it's safe to simply call super for now, until it gets clear // what this method is supposed to do // throw new InternalError ("not implemented"); super.processFocusEvent(evt); } | protected void processFocusEvent (FocusEvent evt) { // it's safe to simply call super for now, until it gets clear // what this method is supposed to do // throw new InternalError ("not implemented"); super.processFocusEvent(evt); } | 29,181 |
protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; setFormatterFactory(new FormatterFactoryWrapper(formatter)); firePro... | protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; setFormatterFactory(new FormatterFactoryWrapper(formatter)); firePro... | 29,184 |
protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; setFormatterFactory(new FormatterFactoryWrapper(formatter)); firePro... | protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; setFormatterFactory(new FormatterFactoryWrapper(formatter)); firePro... | 29,185 |
protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; setFormatterFactory(new FormatterFactoryWrapper(formatter)); firePro... | protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; if (formatterFactory != null) oldFormatter = formatterFactory.getFormatter(this); if (oldFormatter == formatter) return; firePropertyChange("formatter", oldFormatter, formatter); } | 29,186 |
public void setValue (Object newValue) { if (value == newValue) return; // format value AbstractFormatter formatter = createFormatter(newValue); try { setText(formatter.valueToString(newValue)); } catch (ParseException ex) { // TODO: what should we do with this? ... | public void setValue (Object newValue) { if (value == newValue) return; // format value AbstractFormatter formatter = createFormatter(newValue); try { setText(formatter.valueToString(newValue)); } catch (ParseException ex) { // TODO: what should we do with this? ... | 29,188 |
public InternationalFormatter(Format format) { this(); setFormat(format); } | public InternationalFormatter() { this(); setFormat(format); } | 29,190 |
public InternationalFormatter(Format format) { this(); setFormat(format); } | public InternationalFormatter(Format format) { this(); setFormat(format); } | 29,191 |
public BasicPermission(String name) { super(name); // This routine used to check for illegal wildcards, but no such // requirement exists in the specification and Sun's runtime // doesn't appear to do it. if ("".equals(name)) throw new IllegalArgumentException("Empty name"); } | public BasicPermission(String name) { super(name); // This routine used to check for illegal wildcards, but no such // requirement exists in the specification and Sun's runtime // doesn't appear to do it. if (name.equals("")) throw new IllegalArgumentException("Empty name"); } | 29,192 |
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { if (... | public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { if (... | 29,193 |
public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { if (... | public static synchronized Class getProxyClass(ClassLoader loader, Class[] interfaces) { interfaces = (Class[]) interfaces.clone(); ProxyType pt = new ProxyType(loader, interfaces); Class clazz = (Class) proxyClasses.get(pt); if (clazz == null) { if (... | 29,194 |
DataFlavor(String mimeType) throws ClassNotFoundException{ this(mimeType, null);} | DataFlavor(String mimeType) throws ClassNotFoundException{ this(mimeType, null);} | 29,195 |
DataFlavor(String mimeType) throws ClassNotFoundException{ this(mimeType, null);} | DataFlavor(String mimeType) throws ClassNotFoundException{ this(mimeType, null);} | 29,196 |
public boolean canEncode (CharSequence cs) { CharBuffer cb; if (cs instanceof CharBuffer) cb = ((CharBuffer) cs).duplicate (); else cb = CharBuffer.wrap (cs); return canEncode (cb); } | public boolean canEncode (char c) { CharBuffer cb; if (cs instanceof CharBuffer) cb = ((CharBuffer) cs).duplicate (); else cb = CharBuffer.wrap (cs); return canEncode (cb); } | 29,197 |
public boolean canEncode (CharSequence cs) { CharBuffer cb; if (cs instanceof CharBuffer) cb = ((CharBuffer) cs).duplicate (); else cb = CharBuffer.wrap (cs); return canEncode (cb); } | public boolean canEncode (CharSequence cs) { CharBuffer cb; if (cs instanceof CharBuffer) cb = ((CharBuffer) cs).duplicate (); else cb = CharBuffer.wrap (cs); return canEncode (cb); } | 29,198 |
public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); } | public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); } | 29,199 |
public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); } | public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); } | 29,200 |
public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (name, listener); } | public void addPropertyChangeListener (String name, PropertyChangeListener listener) { if (listener == null) return; if (changeSupport == null) changeSupport = new PropertyChangeSupport (this); changeSupport.addPropertyChangeListener (listener); } | 29,201 |
public BoxView(Element element, int axis) { super(element); myAxis = axis; xLayoutValid = false; yLayoutValid = false; // Initialize the cache arrays. spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0; } | public BoxView(Element element, int axis) { super(element); myAxis = axis; xLayoutValid = false; yLayoutValid = false; // Initialize the cache arrays. spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0; } | 29,202 |
public BoxView(Element element, int axis) { super(element); myAxis = axis; xLayoutValid = false; yLayoutValid = false; // Initialize the cache arrays. spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0; } | public BoxView(Element element, int axis) { super(element); myAxis = axis; xLayoutValid = false; yLayoutValid = false; // Initialize the cache arrays. spansX = new int[0]; spansY = new int[0]; offsetsX = new int[0]; offsetsY = new int[0]; width = 0; height = 0; } | 29,203 |
public float getAlignment(int axis) { if (axis == myAxis) return 0.5F; else return baselineRequirements(axis, null).alignment; } | public float getAlignment(int axis) { if (axis == myAxis) align = 0.5F; else return baselineRequirements(axis, null).alignment; } | 29,204 |
public float getAlignment(int axis) { if (axis == myAxis) return 0.5F; else return baselineRequirements(axis, null).alignment; } | public float getAlignment(int axis) { if (axis == myAxis) return 0.5F; else { if (! isLayoutValid(axis)) requirements[axis] = calculateMinorAxisRequirements(axis, requirements[axis]); align = requirements[axis].alignment; } return align; } | 29,205 |
public float getPreferredSpan(int axis) { SizeRequirements sr = new SizeRequirements(); int pref = baselineRequirements(axis, sr).preferred; return (float) pref; } | public float getPreferredSpan(int axis) { SizeRequirements sr = new SizeRequirements(); int pref = baselineRequirements(axis, sr).preferred; return (float) pref; } | 29,206 |
public void setName(String name) { this.name = name; } | public void setName(String name) { this.name = name; } | 29,207 |
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | 29,208 |
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | 29,209 |
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | 29,210 |
public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | public int getLeafCount() { // Variables Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants e = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } ... | 29,211 |
public Object[] getUserObjectPath() { // Variables TreeNode[] path; Object[] object; int size; int index; // Get Path for Tree Nodes path = getPath(); // Construct Object Path object = new Object[path.length]; for (index = 0; index < path.length; index++) { object[index] = ((DefaultMutableTreeNode) pat... | public Object[] getUserObjectPath() { // Variables TreeNode[] path; Object[] object; int size; int index; // Get Path for Tree Nodes path = getPath(); // Construct Object Path object = new Object[path.length]; for (index = 0; index < path.length; index++) { object[index] = ((DefaultMutableTreeNode) pat... | 29,212 |
public static void growTree(DefaultMutableTreeNode root) { // Variables int size; int index; DefaultMutableTreeNode node; DefaultMutableTreeNode current; current = root; index = 0;// while (current != root) { do {// if (random.nextInt(3) < 2) { if (random.nextBoolean()) { node = new DefaultMu... | public static void growTree(DefaultMutableTreeNode root) { // Variables int size; int index; DefaultMutableTreeNode node; DefaultMutableTreeNode current; current = root; index = 0;// while (current != root) { do {// if (random.nextInt(3) < 2) { if (random.nextBoolean()) { node = new DefaultMu... | 29,213 |
public boolean isNodeChild(TreeNode node) { // Variables TreeNode current; int index; // Sanity Check if (node == null) { return false; } // if // Process Path current = node; while (current != null) { if (current == this) { return true; } // if current = current.getParent(); } // while // Node... | public boolean isNodeChild(TreeNode node) { // Variables TreeNode current; int index; // Sanity Check if (node == null) { return false; } // if // Process Path current = node; while (current != null) { if (current == this) { return true; } // if current = current.getParent(); } // while // Node... | 29,214 |
public boolean isNodeSibling(TreeNode node) { // Variables int index; // Check for null if (node == null) { return false; } // if // Check if nodes share a parent if (node.getParent() == getParent() && getParent() != null) { return true; } // if // Nodes are not siblings return false; } // isNodeSiblin... | public boolean isNodeSibling(TreeNode node) { // Variables int index; // Check for null if (node == null) { return false; } // if // Check if nodes share a parent if (node.getParent() == getParent() && getParent() != null) { return true; } // if // Nodes are not siblings return false; } // isNodeSiblin... | 29,215 |
public SampleModel createCompatibleSampleModel(int w, int h) { return new ComponentSampleModel(dataType, w, h, pixelStride, scanlineStride, bankIndices, bandOffsets); } | public SampleModel createCompatibleSampleModel(int w, int h) { return new ComponentSampleModel(dataType, w, h, pixelStride, scanlineStride, bankIndices, bandOffsets); } | 29,216 |
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp... | public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp... | 29,217 |
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp... | public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp... | 29,218 |
public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp... | public SampleModel createSubsetSampleModel(int[] bands) { int numBands = bands.length; int[] bankIndices = new int[numBands]; int[] bandOffsets = new int[numBands]; for (int b = 0; b < numBands; b++) { bankIndices[b] = this.bankIndices[bands[b]]; bandOffsets[b] = this.bandOffsets[bands[b]]; } return new Comp... | 29,219 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(... | 29,220 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,221 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,222 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,223 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,224 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,225 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,226 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,227 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,228 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | 29,229 |
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note that all implementation class nam... | publicGnu(){super("GNU",1.0,"GNUproviderv1.0implementingSHA-1,MD5,DSA,RSA,X.509CertificatesandCRLs,PKIXcertificatepathvalidators,Collectioncertstores");AccessController.doPrivileged(newPrivilegedAction(){publicObjectrun(){//Notethatallimplementationclassnamesarereferencedbyusing//Class.getName().Thatwaywhenwestaticlyli... | 29,230 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,231 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,232 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,233 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,234 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,235 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,236 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,237 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,238 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 29,239 |
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | publicObjectrun(){//Notethatallimplementationclassnamesarereferencedbyusing//Class.getName().ThatwaywhenwestaticlylinktheGnuprovider//weautomaticallygetalltheimplementationclasses.//Signatureput("Signature.SHA1withDSA",gnu.java.security.provider.DSASignature.class.getName());put("Alg.Alias.Signature.DSS","SHA1withDSA")... | 29,240 |
public static Byte valueOf(String s) { return new Byte(parseByte(s, 10)); } | public static Byte valueOf(String s, int radix) { return new Byte(parseByte(s, 10)); } | 29,241 |
public static Byte valueOf(String s) { return new Byte(parseByte(s, 10)); } | public static Byte valueOf(String s) { return new Byte(parseByte(s, radix)); } | 29,242 |
protected LogManager() { if (logManager != null) throw new IllegalStateException("there can be only one LogManager; use LogManager.getLogManager()"); logManager = this; loggers = new java.util.HashMap(); rootLogger = new Logger("", null); rootLogger.setLevel(Level.INFO); addLogger(rootLogger);... | protected LogManager() { if (logManager != null) throw new IllegalStateException("there can be only one LogManager; use LogManager.getLogManager()"); logManager = this; loggers = new java.util.HashMap(); rootLogger = new Logger("", null); rootLogger.setLevel(Level.INFO); addLogger(rootLogger);... | 29,243 |
public synchronized boolean addLogger(Logger logger) { /* To developers thinking about to remove the 'synchronized' * declaration from this method: Please read the comment * in java.util.logging.Logger.getLogger(String, String) * and make sure that whatever you change wrt. synchronization * does n... | public synchronized boolean addLogger(Logger logger) { /* To developers thinking about to remove the 'synchronized' * declaration from this method: Please read the comment * in java.util.logging.Logger.getLogger(String, String) * and make sure that whatever you change wrt. synchronization * does n... | 29,244 |
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc... | private static final Object createInstance(String className, Class type, String property) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance... | 29,245 |
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc... | static final Object createInstance(String className, Class ofClass) { Class klass = null; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch... | 29,246 |
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc... | static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc... | 29,247 |
static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc... | static final Object createInstance(String className, Class ofClass) { Class klass; if ((className == null) || (className.length() == 0)) return null; try { klass = Class.forName(className); if (! ofClass.isAssignableFrom(klass)) return null; return klass.newInstance(); } catch (Exc... | 29,248 |
private synchronized Logger findAncestor(Logger child) { String childName = child.getName(); int childNameLength = childName.length(); Logger best = rootLogger; int bestNameLength = 0; Logger cand; String candName; int candNameLength; if (child == rootLogger) return null; ... | private synchronized Logger findAncestor(Logger child) { String childName = child.getName(); int childNameLength = childName.length(); Logger best = Logger.root; int bestNameLength = 0; Logger cand; String candName; int candNameLength; if (child == rootLogger) return null; ... | 29,249 |
private synchronized Logger findAncestor(Logger child) { String childName = child.getName(); int childNameLength = childName.length(); Logger best = rootLogger; int bestNameLength = 0; Logger cand; String candName; int candNameLength; if (child == rootLogger) return null; ... | private synchronized Logger findAncestor(Logger child) { String childName = child.getName(); int childNameLength = childName.length(); Logger best = rootLogger; int bestNameLength = 0; Logger cand; String candName; int candNameLength; if (child == Logger.root) return null; ... | 29,250 |
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl... | static final Class getClassProperty(String propertyName, Class defaultValue) { String propertyValue = logManager.getProperty(propertyName); try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (using... | 29,251 |
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl... | static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl... | 29,252 |
static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl... | static final Class getClassProperty(String propertyName, Class defaultValue) { Class usingClass = null; try { String propertyValue = logManager.getProperty(propertyName); if (propertyValue != null) usingClass = Class.forName(propertyValue); if (usingClass != null) return usingCl... | 29,253 |
static final Object getInstanceProperty(String propertyName, Class ofClass, Class defaultClass) { Class klass = getClassProperty(propertyName, defaultClass); if (klass == null) return null; try { Object obj = klass.newInstance(); if (ofClass.isInstance(obj)) return obj; } catch... | static final Object getInstanceProperty(String propertyName, Class ofClass, Class defaultClass) { Class klass = getClassProperty(propertyName, defaultClass); if (klass == null) return null; try { Object obj = klass.newInstance(); if (ofClass.isInstance(obj)) return obj; } catch... | 29,255 |
public static LogManager getLogManager() { return logManager; } | public static synchronized LogManager getLogManager() { return logManager; } | 29,257 |
private static LogManager makeLogManager() { String managerClassName; LogManager manager; managerClassName = System.getProperty("java.util.logging.manager"); manager = (LogManager) createInstance(managerClassName, LogManager.class); if (manager != null) return manager; if (managerClassNa... | private static LogManager makeLogManager() { String managerClassName; LogManager manager; managerClassName = System.getProperty("java.util.logging.manager"); manager = (LogManager) createInstance(managerClassName, LogManager.class); if (manager != null) return manager; if (managerClassNa... | 29,259 |
public synchronized void reset() throws SecurityException { /* Throw a SecurityException if the caller does not have the * permission to control the logging infrastructure. */ checkAccess(); properties = new Properties(); Iterator iter = loggers.values().iterator(); while (iter.hasNext()) {... | public synchronized void reset() throws SecurityException { /* Throw a SecurityException if the caller does not have the * permission to control the logging infrastructure. */ checkAccess(); properties = new Properties(); Iterator iter = loggers.values().iterator(); while (iter.hasNext()) {... | 29,260 |
public synchronized void reset() throws SecurityException { /* Throw a SecurityException if the caller does not have the * permission to control the logging infrastructure. */ checkAccess(); properties = new Properties(); Iterator iter = loggers.values().iterator(); while (iter.hasNext()) {... | public synchronized void reset() throws SecurityException { /* Throw a SecurityException if the caller does not have the * permission to control the logging infrastructure. */ checkAccess(); properties = new Properties(); Iterator iter = loggers.values().iterator(); while (iter.hasNext()) {... | 29,261 |
public void read(cdrInput in) { service_context = ServiceContext.readSequence(in); request_id = in.read_ulong(); reply_status = in.read_ulong(); in.setCodeSet(cxCodeSet.find(service_context)); } | public void read(AbstractCdrInput in) { service_context = ServiceContext.readSequence(in); request_id = in.read_ulong(); reply_status = in.read_ulong(); in.setCodeSet(cxCodeSet.find(service_context)); } | 29,262 |
public void read(cdrInput in) { service_context = ServiceContext.readSequence(in); request_id = in.read_ulong(); reply_status = in.read_ulong(); in.setCodeSet(cxCodeSet.find(service_context)); } | public void read(cdrInput in) { service_context = ServiceContext.readSequence(in); request_id = in.read_ulong(); reply_status = in.read_ulong(); in.setCodeSet(CodeSetServiceContext.find(service_context)); } | 29,263 |
public void write(cdrOutput out) { ServiceContext.writeSequence(out, service_context); out.write_ulong(request_id); out.write_ulong(reply_status); out.setCodeSet(cxCodeSet.find(service_context)); } | public void write(AbstractCdrOutput out) { ServiceContext.writeSequence(out, service_context); out.write_ulong(request_id); out.write_ulong(reply_status); out.setCodeSet(cxCodeSet.find(service_context)); } | 29,264 |
public void write(cdrOutput out) { ServiceContext.writeSequence(out, service_context); out.write_ulong(request_id); out.write_ulong(reply_status); out.setCodeSet(cxCodeSet.find(service_context)); } | public void write(cdrOutput out) { ServiceContext.writeSequence(out, service_context); out.write_ulong(request_id); out.write_ulong(reply_status); out.setCodeSet(CodeSetServiceContext.find(service_context)); } | 29,265 |
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :... | public String getStatusString() { switch (reply_status) { case NO_EXCEPTION: return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default : ... | 29,266 |
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :... | public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION: return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default : ... | 29,267 |
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :... | public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION: return "system exception"; case LOCATION_FORWARD : return "moved"; default : ... | 29,268 |
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :... | public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD: return "moved"; default : ... | 29,269 |
public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default :... | public String getStatusString() { switch (reply_status) { case NO_EXCEPTION : return "ok"; case USER_EXCEPTION : return "user exception"; case SYSTEM_EXCEPTION : return "system exception"; case LOCATION_FORWARD : return "moved"; default: ... | 29,270 |
protected byte[] getResult() { return new byte[] { (byte) (h0 >>> 56), (byte) (h0 >>> 48), (byte) (h0 >>> 40), (byte) (h0 >>> 32), (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 56), (byte... | protected byte[] getResult() { return new byte[] { (byte) (h0 >>> 56), (byte) (h0 >>> 48), (byte) (h0 >>> 40), (byte) (h0 >>> 32), (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 56), (byte... | 29,271 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | protected byte[] padBuffer() { int n = (int)(count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | 29,272 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_SIZE);intpadding=(n<112)?(112-n):(240-n);byte[]result=newbyte[padding+16];//paddingisalwaysbinary1followedbybinary0sresult[0]=(byte)0x80;//savenumberofbits,castingthelongtoanarrayof8bytes//TODO:FIXOnly~35bitsof128bitcounterusablethiswaylongbits=count<<3;padding+=8;resul... | 29,273 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_SIZE);intpadding=(n<112)?(112-n):(240-n);byte[]result=newbyte[padding+16];//paddingisalwaysbinary1followedbybinary0sresult[0]=(byte)0x80;//savenumberofbits,castingthelongtoanarrayof8bytes//TODO:FIXOnly~35bitsof128bitcounterusablethiswaylongbits=count<<3;padding+=8;resul... | 29,274 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | 29,275 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.