bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public ErrorHandler getErrorHandler() { return errorHandler; }
public ErrorHandler getErrorHandler() { return errorHandler; }
14,473
public static final SchemaFactory newInstance(String schemaLanguage) { // TODO throw new IllegalArgumentException(schemaLanguage); }
if (XMLConstants.W3C_XML_SCHEMA_NS_URI.equals(schemaLanguage)) return new gnu.xml.validation.xmlschema.XMLSchemaSchemaFactory(); if (XMLConstants.RELAXNG_NS_URI.equals(schemaLanguage)) return new gnu.xml.validation.relaxng.RELAXNGSchemaFactory(); if (XMLConstants.W3C_XML_SCHEMA_NS_URI.equals(schemaLanguage)) return new...
14,474
public void setErrorHandler(ErrorHandler errorHandler) { this.errorHandler = errorHandler; }
public void setErrorHandler(ErrorHandler errorHandler) { this.errorHandler = errorHandler; }
14,475
public StreamSource(File file) { setSystemId (file); }
public StreamSource(File file) { setSystemId (file); }
14,476
public LinkedHashSet(Collection<? extends T> c) { super(c); }
public LinkedHashSet() { super(c); }
14,477
public LinkedHashSet(Collection<? extends T> c) { super(c); }
public LinkedHashSet(Collection<? extends T> c) { super(); }
14,478
public LinkedHashMap(int initialCapacity, float loadFactor) { super(initialCapacity, loadFactor); accessOrder = false; }
public LinkedHashMap() { super(initialCapacity, loadFactor); accessOrder = false; }
14,479
public LinkedHashMap(int initialCapacity, float loadFactor) { super(initialCapacity, loadFactor); accessOrder = false; }
public LinkedHashMap(int initialCapacity, float loadFactor) { super(); accessOrder = false; }
14,480
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; }
14,481
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret; }
14,482
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; }
14,483
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret; }
14,484
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,485
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,486
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,487
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,488
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,489
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,490
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,491
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { String value = ""; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); if (children != null) ...
14,492
final void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (stylesheet.terminated) { return; } if (Thread.currentThread().isInterrupted()) { // Try to hea...
final void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException if (stylesheet.terminated) return; } if (Thread.currentThread().isInterrupted()) // Try to head off ...
14,493
final void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (stylesheet.terminated) { return; } if (Thread.currentThread().isInterrupted()) { // Try to hea...
final void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (stylesheet.terminated) { return; if (Thread.currentThread().isInterrupted()) { // Try to head ...
14,494
public static String stringValue(Node node) { return stringValue(node, false); }
public static String stringValue(Collection nodeSet) { return stringValue(node, false); }
14,495
public static String stringValue(Node node) { return stringValue(node, false); }
public static String stringValue(Node node) { StringBuffer buf = new StringBuffer(); for (Iterator i = nodeSet.iterator(); i.hasNext(); ) { buf.append(stringValue((Node) i.next())); } return buf.toString(); }
14,496
public RuntimeException(String s) { super(s); }
public RuntimeException(String s) { super(s); }
14,497
public NodeReader(InputStream is, PreferencesFactory factory) { this(new InputStreamReader(is), factory); }
public NodeReader(InputStream is, PreferencesFactory factory) { this(new InputStreamReader(is), factory); }
14,498
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } }
public void remove(int index) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } }
14,501
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } }
public void remove(Component comp) { synchronized (getTreeLock ()) { Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); r.removeNotify(); System.arraycopy(component, index + 1, component, in...
14,502
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } }
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } }
14,503
public Point(int x, int y) { this.x = x; this.y = y; }
public Point() { this.x = x; this.y = y; }
14,505
public Point(int x, int y) { this.x = x; this.y = y; }
public Point(int x, int y) { this.x = x; this.y = y; }
14,506
private Security() { }
private Security() { }
14,507
public static int addProvider(Provider provider) { return insertProviderAt(provider, providers.size() + 1); }
public static int addProvider(Provider provider) { return insertProviderAt(provider, providers.size() + 1); }
14,508
public static String getAlgorithmProperty(String algName, String propName) { /* TODO: Figure out what this actually does */ return null; }
public static String getAlgorithmProperty(String algName, String propName) { /* TODO: Figure out what this actually does */ return null; }
14,509
public static String getProperty(String key) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getProperty." + key); return secprops.getProperty(key); }
public static String getProperty(String key) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getProperty." + key); return secprops.getProperty(key); }
14,510
public static String getProperty(String key) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getProperty." + key); return secprops.getProperty(key); }
public static String getProperty(String key) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getProperty." + key); return secprops.getProperty(key); }
14,511
public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; }
public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; }
14,512
public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; }
public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; }
14,513
public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; }
public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName().equals(name)) return p; } return null; }
14,514
public static Provider[] getProviders() { Provider array[] = new Provider[ providers.size()]; providers.copyInto(array); return array; }
public static Provider[] getProviders() { Provider array[] = new Provider[ providers.size()]; providers.copyInto(array); return array; }
14,515
public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i...
public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i...
14,516
public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i...
public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i...
14,517
public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i...
public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i...
14,518
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,519
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int ...
14,520
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,521
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int ...
14,522
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,523
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,524
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,525
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,526
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int...
14,527
public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers....
public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers....
14,529
public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers....
public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers....
14,530
public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers....
public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers....
14,531
public static void setProperty(String key, String datnum) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setProperty." + key); secprops.put(key, datnum); }
public static void setProperty(String key, String datnum) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setProperty." + key); secprops.put(key, datnum); }
14,532
public static void setProperty(String key, String datnum) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setProperty." + key); secprops.put(key, datnum); }
public static void setProperty(String key, String datnum) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setProperty." + key); secprops.put(key, datnum); }
14,533
public String getProperty(String key) { return getProperty(key, null); }
public String getProperty(String key) { Properties prop = this; do { String value = (String) prop.get(key); if (value != null) return value; prop = prop.defaults; } while (prop != null); return null; }
14,534
public InvalidParameterException(String msg) { super(msg); }
public InvalidParameterException() { super(msg); }
14,535
public InvalidParameterException(String msg) { super(msg); }
public InvalidParameterException(String msg) { }
14,536
public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ...
public Object[] toArray() { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) { tr...
14,537
public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ...
public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ...
14,538
public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ...
public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ...
14,539
public final InputStream openStream() throws IOException { return openConnection().getInputStream(); }
public InputStream openStream() throws IOException { return openConnection().getInputStream(); }
14,540
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ...
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); S...
14,541
public synchronized T remove(int index) { checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; ...
public boolean remove(Object o) { checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; return...
14,543
public synchronized T remove(int index) { checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; ...
public synchronized T remove(int index) { checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; ...
14,544
public static Socket get_socket(Object key) { if (true) return null; synchronized (sockets) { Socket s = (Socket) sockets.get(key); if (s == null) return null; // Ensure that the socket is fully reusable. else if (not_reusable(s)) { sockets.remove(key); ret...
public static Socket get_socket(Object key) { if (true) return null; synchronized (sockets) { Socket s = (Socket) sockets.get(key); if (s == null) return null; // Ensure that the socket is fully reusable. else if (not_reusable(s)) { sockets.remove(key); ret...
14,545
public static Socket get_socket(Object key) { if (true) return null; synchronized (sockets) { Socket s = (Socket) sockets.get(key); if (s == null) return null; // Ensure that the socket is fully reusable. else if (not_reusable(s)) { sockets.remove(key); ret...
public static Socket get_socket(Object key) { if (true) return null; synchronized (sockets) { Socket s = (Socket) sockets.get(key); if (s == null) return null; // Ensure that the socket is fully reusable. else if (not_reusable(s)) { sockets.remove(key); ret...
14,546
public static void classCastFailed(Object object) { if (object == null) { throw new ClassCastException("Object is null"); } else { throw new ClassCastException(object.getClass().getName()); } }
public static void classCastFailed(Object object) { if (object == null) { throw new ClassCastException("Object is null"); } else { throw new ClassCastException(object.getClass().getName()); } }
14,547
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmType getPrimitiveArrayClass(char type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ret...
14,548
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 'Z': return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
14,549
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 'B': return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
14,550
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 'C': return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
14,551
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 'S': return ShortArrayClass; case 10: ...
14,552
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 'I': ...
14,553
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
14,554
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
14,555
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ...
14,556
public final VmArrayClass getArrayClass() { return getArrayClass(null); }
public final VmArrayClass getArrayClass() { return getArrayClass(null); }
14,557
public ClassCastException(String s) { super(s); }
public ClassCastException() { super(s); }
14,558
public ClassCastException(String s) { super(s); }
public ClassCastException(String s) { }
14,559
public NoClassDefFoundError(String s) { super(s); }
public NoClassDefFoundError(String s) { super(s); }
14,560
public final VmField getField(VmConstFieldRef fieldRef) { return getField(fieldRef.getName(), fieldRef.getSignature()); }
public final VmField getField(VmConstFieldRef fieldRef) { return getField(fieldRef.getName(), fieldRef.getSignature()); }
14,561
public ArrayIndexOutOfBoundsException(String s) { super(s); }
public ArrayIndexOutOfBoundsException() { super(s); }
14,562
public ArrayIndexOutOfBoundsException(String s) { super(s); }
public ArrayIndexOutOfBoundsException(String s) { super(s); }
14,563
public ArithmeticException(String s) { super(s); }
public ArithmeticException(String s) { super(s); }
14,564
public AbstractMethodError(String s) { super(s); }
public AbstractMethodError(String s) { super(s); }
14,565
CopyOfNode(TemplateNode children, TemplateNode next, Expr select) { super(children, next); this.select = select; }
CopyOfNode(Expr select) { super(children, next); this.select = select; }
14,566
CopyOfNode(TemplateNode children, TemplateNode next, Expr select) { super(children, next); this.select = select; }
CopyOfNode(TemplateNode children, TemplateNode next, Expr select) { this.select = select; }
14,567
TemplateNode clone(Stylesheet stylesheet) { return new CopyOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet)); }
TemplateNode clone(Stylesheet stylesheet) { return new CopyOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet)); }
14,568
public abstract Object evaluate(Node context, int pos, int len);
public abstract Object evaluate(Node context, int pos, int len);
14,569
public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
public static <T extends Comparable<? super T>> void sort(List<T> l) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
14,570
public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
14,571
public static MessageDigest getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} } throw new NoSuchAlgorithmEx...
public static MessageDigest getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } throw new NoSuchAlgorithm...
14,572
public String getName() { return vmMethod.getName(); }
public String getName() { return vmMethod.getName(); }
14,573
public Class[] getParameterTypes() { if (parameterTypes == null) { int cnt = vmMethod.getNoArguments(); ArrayList<Class> list = new ArrayList<Class>(cnt); for (int i = 0; i < cnt; i++) { list.add(vmMethod.getArgumentType(i).asClass()); } parameterTypes = list; } return (Class[])parameterTypes.toArray(n...
public Class[] getParameterTypes() { if (parameterTypes == null) { int cnt = vmMethod.getNoArguments(); ArrayList<Class> list = new ArrayList<Class>(cnt); for (int i = 0; i < cnt; i++) { list.add(vmMethod.getArgumentType(i).asClass()); } parameterTypes = list; } return (Class[])parameterTypes.toArray(n...
14,574
public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); }
public static String getEncodingOfClass(String type, boolean descriptor) { return getEncodingOfClass(clazz.getName(), true); }
14,575
public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); }
public static String getEncodingOfClass(Class clazz) { if (! descriptor || type.charAt(0) == '[') return type.replace('.', '/'); if (type.equals("boolean")) return "Z"; if (type.equals("byte")) return "B"; if (type.equals("short")) return "S"; if (type.equals("char")) return "C"; if (type.equals("int")) return "I...
14,576
public Class getReturnType() { return vmMethod.getReturnType().asClass(); }
public Class getReturnType() { return vmMethod.getReturnType().asClass(); }
14,577