bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public String getActions() { final StringBuffer sb = new StringBuffer(); boolean comma = false; if ((mask & CONNECT) != 0) { sb.append("connect"); comma = true; } if ((mask & LISTEN) != 0) { if (comma) sb.append(','); sb.append("listen")...
public String getActions() { final StringBuffer sb = new StringBuffer(); boolean comma = false; if ((mask & CONNECT) != 0) { sb.append("connect"); comma = true; } if ((mask & LISTEN) != 0) { if (comma) sb.append(','); sb.append("listen")...
18,304
public String getActions() { final StringBuffer sb = new StringBuffer(); boolean comma = false; if ((mask & CONNECT) != 0) { sb.append("connect"); comma = true; } if ((mask & LISTEN) != 0) { if (comma) sb.append(','); sb.append("listen")...
public String getActions() { final StringBuffer sb = new StringBuffer(); boolean comma = false; if ((mask & CONNECT) != 0) { sb.append("connect"); comma = true; } if ((mask & LISTEN) != 0) { if (comma) sb.append(','); sb.append("listen")...
18,305
public String getActions() { final StringBuffer sb = new StringBuffer(); boolean comma = false; if ((mask & CONNECT) != 0) { sb.append("connect"); comma = true; } if ((mask & LISTEN) != 0) { if (comma) sb.append(','); sb.append("listen")...
public String getActions() { final StringBuffer sb = new StringBuffer(); boolean comma = false; if ((mask & CONNECT) != 0) { sb.append("connect"); comma = true; } if ((mask & LISTEN) != 0) { if (comma) sb.append(','); sb.append("listen")...
18,306
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; } ...
18,307
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; } ...
18,308
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; } ...
18,309
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; } ...
18,310
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; } ...
18,311
public PermissionCollection newPermissionCollection() { return new SocketPermissionCollection(); }
public PermissionCollection newPermissionCollection() { return new SocketPermissionCollection(); }
18,312
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; }
18,313
protected Action[] getActions () { return textField.getActions(); }
protected Action[] getActions () { return null; }
18,314
protected DocumentFilter getDocumentFilter () { throw new InternalError ("not implemented"); }
protected DocumentFilter getDocumentFilter () { return null; }
18,315
protected NavigationFilter getNavigationFilter () { return textField.getNavigationFilter(); }
protected NavigationFilter getNavigationFilter () { return null; }
18,316
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); }
18,319
public AbstractFormatter getFormatter () { if (formatterFactory == null) return null; return formatterFactory.getFormatter(this); }
public AbstractFormatter getFormatter () { if (formatterFactory == null) return null; return formatterFactory.getFormatter(this); }
18,320
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...
18,322
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...
18,323
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); }
18,324
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? ...
18,326
public InternationalFormatter(Format format) { this(); setFormat(format); }
public InternationalFormatter() { this(); setFormat(format); }
18,328
public InternationalFormatter(Format format) { this(); setFormat(format); }
public InternationalFormatter(Format format) { this(); setFormat(format); }
18,329
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"); }
18,330
DataFlavor(String mimeType) throws ClassNotFoundException{ this(mimeType, null);}
DataFlavor(){ this(mimeType, null);}
18,331
DataFlavor(String mimeType) throws ClassNotFoundException{ this(mimeType, null);}
DataFlavor(String mimeType) throws ClassNotFoundException{ mimeType = null; representationClass = null; humanPresentableName = null;}
18,332
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); }
18,333
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); }
18,334
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); }
18,335
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); }
18,336
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; }
18,337
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; }
18,338
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; }
18,339
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; }
18,340
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; }
18,341
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 enum; 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++; ...
18,342
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 enum = depthFirstEnumeration(); // Process Nodes count = 0; while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; ...
18,343
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++; } ...
18,344
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++; } ...
18,345
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 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) path[index]).g...
18,346
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 index; DefaultMutableTreeNode node; DefaultMutableTreeNode current; current = root; index = 0;// while (current != root) { do {// if (random.nextInt(3) < 2) { if (random.nextBoolean()) { node = new DefaultMutableTreeNode(...
18,347
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; // 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 not located...
18,348
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 // 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; } // isNodeSibling()
18,349
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(...
18,350
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...
18,351
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...
18,352
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...
18,353
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...
18,354
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...
18,355
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...
18,356
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...
18,357
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...
18,358
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...
18,359
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...
18,360
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...
18,361
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...
18,362
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...
18,363
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...
18,364
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...
18,365
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...
18,366
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...
18,367
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...
18,368
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)); }
18,369
public static Byte valueOf(String s) { return new Byte(parseByte(s, 10)); }
public static Byte valueOf(String s) { return new Byte(parseByte(s, radix)); }
18,370
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);...
18,371
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...
18,372
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...
18,373
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...
18,374
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...
18,375
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...
18,376
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; ...
18,377
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; ...
18,378
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...
18,379
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...
18,380
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...
18,381
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...
18,383
public static LogManager getLogManager() { return logManager; }
public static synchronized LogManager getLogManager() { return logManager; }
18,385
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...
18,387
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()) {...
18,388
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()) {...
18,389
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)); }
18,390
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)); }
18,391
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)); }
18,392
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)); }
18,393
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
private static synchronized final long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
18,394
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
18,395
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ...
18,396
public void update(byte b) { // compute number of bytes still unhashed; ie. present in buffer int i = (int) (count % blockSize); count++; buffer[i] = b; if (i == (blockSize - 1)) { transform(buffer, 0); } }
public void update(byte b) // compute number of bytes still unhashed; ie. present in buffer int i = (int) (count % blockSize); count++; buffer[i] = b; if (i == (blockSize - 1)) transform(buffer, 0); } }
18,397
public void update(byte b) { // compute number of bytes still unhashed; ie. present in buffer int i = (int) (count % blockSize); count++; buffer[i] = b; if (i == (blockSize - 1)) { transform(buffer, 0); } }
public void update(byte b) { // compute number of bytes still unhashed; ie. present in buffer int i = (int) (count % blockSize); count++; buffer[i] = b; if (i == (blockSize - 1)) { transform(buffer, 0);
18,398
public void menuSelectionChanged(boolean changed) { // if this menu selection is true, then activate this menu and // display popup associated with this menu setSelected(changed); }
public void menuSelectionChanged(boolean changed) { // if this menu selection is true, then activate this menu and // display popup associated with this menu setSelectedHelper(changed, isEnabled(), true); }
18,399
public void setSelected(boolean selected) { // If menu is selected and enabled, activates the menu and // displays associated popup. if (selected && isEnabled()) { super.setArmed(true); super.setSelected(true); // FIXME: The reference implementation behaves different here. When // calling setSelec...
public void setSelected(boolean selected) { // If menu is selected and enabled, activates the menu and // displays associated popup. if (selected && isEnabled()) { super.setArmed(true); super.setSelected(true); // FIXME: The reference implementation behaves different here. When // calling setSelec...
18,400
public BERReader(InputStream in) { super(in); }
public BERReader(byte[] in) { super(in); }
18,401
public BEREncodingException (String msg) { super (msg); }
public BEREncodingException() { super (msg); }
18,402
public BEREncodingException (String msg) { super (msg); }
public BEREncodingException (String msg) { super (); }
18,403
public static String dumpString(byte[] data, String m) { return (data == null) ? "null\n" : dumpString(data, 0, data.length, m); }
public static String dumpString(byte[] data, String m) { if (data == null) { return m + "null\n"; } StringBuffer sb = new StringBuffer(length * 3); if (length > 32) { sb.append(m).append("Hexadecimal dump of ").append(length).append( " bytes...\n"); } int end = offset + length; String s; int l = Integer.toString...
18,404
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,405
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,406
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,407
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,408
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,409
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,410
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); if (DEBUG) debug("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("m...
18,411