bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected String paramString() { return null; // TODO } // paramString()
protected String paramString() { return null; // TODO } // paramString()
30,136
public void setEchoChar(char echo) { this.echoChar = echo; // TODO } // setEchoChar()
public void setEchoChar(char echo) { this.echoChar = echo; // TODO } // setEchoChar()
30,137
public void setEchoChar(char echo) { this.echoChar = echo; // TODO } // setEchoChar()
public void setEchoChar(char echo) { this.echoChar = echo; // TODO } // setEchoChar()
30,138
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject()
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject()
30,139
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject()
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject()
30,140
public static byte getDirectionality(char ch) { // The result will correctly be signed. return (byte) (direction[readChar(ch) >> 7] >> 2); }
public static byte getDirectionality(char ch) { // The result will correctly be signed. return getDirectionality((int)ch); }
30,141
public void setResolution(BDFParser.Dimension resolution) { this.resolution = resolution; }
public void setResolution(BDFParser.Dimension resolution) { this.resolution = resolution; }
30,142
public BDFParser(java.io.Reader stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new BDFParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 7; i++) jj_la1[i] = -1; }
public BDFParser(java.io.InputStream stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new BDFParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 7; i++) jj_la1[i] = -1; }
30,143
PropertyDescriptor(String name) { setName(name); }
PropertyDescriptor(String name) { setName(name); }
30,144
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private Class checkMethods(Method readMethod, Method writeMethod) throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (pro...
30,145
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
30,146
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
30,147
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
30,148
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
30,149
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
30,150
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
30,151
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new In...
private void checkMethods() throws IntrospectionException { if (getMethod != null) { if (getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); this.propertyType = getMethod.getReturnType(); if (propertyType == Void.TYPE) { throw new Intr...
30,152
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,153
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,154
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,155
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,156
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,157
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,158
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,159
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,160
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,161
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,162
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,163
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
private void findMethods(Class beanClass, String getMethodName1, String getMethodName2, String setMethodName) throws IntrospectionException { try { // Try the first get method name if (getMethodName1 != null) { try { getMethod = beanClass.getMethod(getMethodName1, new Class[0]); } catch (N...
30,164
public Class getPropertyEditorClass() { return propertyEditorClass; }
public Class getPropertyEditorClass() { return propertyEditorClass; }
30,165
public Class getPropertyType() { return propertyType; }
public Class getPropertyType() { return propertyType; }
30,166
public Method getReadMethod() { return getMethod; }
public Method getReadMethod() { return getMethod; }
30,167
public Method getWriteMethod() { return setMethod; }
public Method getWriteMethod() { return setMethod; }
30,168
public boolean isBound() { return bound; }
public boolean isBound() { return bound; }
30,169
public boolean isConstrained() { return constrained; }
public boolean isConstrained() { return constrained; }
30,170
public void setBound(boolean bound) { this.bound = bound; }
public void setBound(boolean bound) { this.bound = bound; }
30,171
public void setConstrained(boolean constrained) { this.constrained = constrained; }
public void setConstrained(boolean constrained) { this.constrained = constrained; }
30,172
public void setPropertyEditorClass(Class propertyEditorClass) { this.propertyEditorClass = propertyEditorClass; }
public void setPropertyEditorClass(Class propertyEditorClass) { this.propertyEditorClass = propertyEditorClass; }
30,173
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"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
30,174
public Dimension getPreferredScrollableViewportSize() { Dimension retVal = getPreferredSize(); if (getLayoutOrientation() == VERTICAL) { if (fixedCellHeight != -1) { if (fixedCellWidth != -1) { int size = getModel().getSize(); retVal = new ...
public Dimension getPreferredScrollableViewportSize() { Dimension retVal = getPreferredSize(); if (getLayoutOrientation() == VERTICAL) { if (fixedCellHeight != -1) { if (fixedCellWidth != -1) { int size = getModel().getSize(); retVal = new ...
30,177
public Dimension getPreferredScrollableViewportSize() { Dimension retVal = getPreferredSize(); if (getLayoutOrientation() == VERTICAL) { if (fixedCellHeight != -1) { if (fixedCellWidth != -1) { int size = getModel().getSize(); retVal = new ...
public Dimension getPreferredScrollableViewportSize() { Dimension retVal = getPreferredSize(); if (getLayoutOrientation() == VERTICAL) { if (fixedCellHeight != -1) { if (fixedCellWidth != -1) { int size = getModel().getSize(); retVal = new ...
30,178
public Dimension getPreferredScrollableViewportSize() { Dimension retVal = getPreferredSize(); if (getLayoutOrientation() == VERTICAL) { if (fixedCellHeight != -1) { if (fixedCellWidth != -1) { int size = getModel().getSize(); retVal = new ...
public Dimension getPreferredScrollableViewportSize() { Dimension retVal = getPreferredSize(); if (getLayoutOrientation() == VERTICAL) { if (fixedCellHeight != -1) { if (fixedCellWidth != -1) { int size = getModel().getSize(); retVal = new ...
30,179
public RowView(Element el) { super(el); }
RowView(Element el) { super(el); }
30,180
public RowView(Element el) { super(el); }
public RowView(Element el) { super(el, X_AXIS); }
30,181
public TableView(Element el) { super(el); }
public TableView(Element el) { super(el, Y_AXIS); totalColumnRequirements = new SizeRequirements(); tmpRect = new Rectangle(); }
30,182
protected StyleSheet getStyleSheet() { Document d = getElement().getDocument(); if (d instanceof HTMLDocument) return ((HTMLDocument) d).getStyleSheet(); else return null; }
protected StyleSheet getStyleSheet() { Document d = getElement().getDocument(); if (d instanceof HTMLDocument) return ((HTMLDocument) d).getStyleSheet(); else return null; }
30,183
public static NameComponent[] extract(Any a) { try { return ((NameHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("Name expected"); } }
public static NameComponent[] extract(Any a) { try { return ((NameHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("Name expected"); bad.initCause(ex); throw bad; } }
30,184
final synchronized IRQResource claimResources(ResourceOwner owner, int irq) throws DriverException { try { final ResourceManager rm; try { rm = (ResourceManager) InitialNaming.lookup(ResourceManager.NAME); } catch (NameNotFoundException ex) { throw new DriverException("Cannot find ResourceManager: ", ex);...
final synchronized IRQResource claimResources(ResourceOwner owner, int irq) throws DriverException { try { final ResourceManager rm; try { rm = (ResourceManager) InitialNaming.lookup(ResourceManager.NAME); } catch (NameNotFoundException ex) { throw new DriverException("Cannot find ResourceManager: ", ex);...
30,185
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelectedText(g, , , , ); } ...
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelectedText(g, , , , ); } ...
30,196
public abstract void setResizable(boolean resizable);
public abstract void setResizable(boolean resizable);
30,197
public abstract void setTitle(String title);
public abstract void setTitle(String title);
30,198
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPrivateKey)) { return false; } DSAPrivateKey that = (DSAPrivateKey) obj; return super.equals(that) && x.equals(that.getX()); }
public boolean equals(Object obj) if (obj == null) return false; } if (!(obj instanceof DSAPrivateKey)) return false; } DSAPrivateKey that = (DSAPrivateKey) obj; return super.equals(that) && x.equals(that.getX()); }
30,199
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPrivateKey)) { return false; } DSAPrivateKey that = (DSAPrivateKey) obj; return super.equals(that) && x.equals(that.getX()); }
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPrivateKey)) { return false; } DSAPrivateKey that = (DSAPrivateKey) obj; return super.equals(that) && x.equals(that.getX()); }
30,200
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPrivateKey)) { return false; } DSAPrivateKey that = (DSAPrivateKey) obj; return super.equals(that) && x.equals(that.getX()); }
public boolean equals(Object obj) { if (obj == null) { return false; if (!(obj instanceof DSAPrivateKey)) { return false; DSAPrivateKey that = (DSAPrivateKey) obj; return super.equals(that) && x.equals(that.getX()); }
30,201
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("x=0x").append(DEBUG ? x.toString(16) : "**...*").appen...
public String toString() { if (str == null) { String ls = (String) AccessController.doPrivileged (new GetPropertyAction("line.separator")); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("x=0x").append(DEBUG ...
30,202
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("x=0x").append(DEBUG ? x.toString(16) : "**...*").appen...
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("x=0x").append(DEBUG ? x.toString(16) : "**...*").appen...
30,203
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("x=0x").append(DEBUG ? x.toString(16) : "**...*").appen...
publicStringtoString(){if(str==null){Stringls=SystemProperties.getProperty("line.separator");str=newStringBuilder(this.getClass().getName()).append("(").append(super.toString()).append(",").append(ls).append("x=0x").append(DEBUG?x.toString(16):"**...*").append(ls).append(")").toString();}returnstr;}
30,204
public static DSSPrivateKey valueOf(byte[] k) { // try RAW codec if (k[0] == Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]) try { return (DSSPrivateKey) new DSSKeyPairRawCodec().decodePrivateKey(k); } catch (IllegalArgumentException ignored) { } // try PKCS#8 codec return (...
publicstaticDSSPrivateKeyvalueOf(byte[]k){//tryRAWcodecif(k[0]==Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0])try{return(DSSPrivateKey)newDSSKeyPairRawCodec().decodePrivateKey(k);}catch(IllegalArgumentExceptionignored){}//tryPKCS#8codecreturn(DSSPrivateKey)newDSSKeyPairPKCS8Codec().decodePrivateKey(k);}
30,205
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { if (documentFilter != null) documentFilter.insertString(getBypass(), offset, text, attributes); else insertStringImpl(offset, text, attributes); }
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { if (text == null || text.length() == 0) return; if (documentFilter == null) insertStringImpl(offset, text, attributes); else documentFilter.insertString(getBypass(), offset, text, attributes); els...
30,206
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { if (documentFilter != null) documentFilter.insertString(getBypass(), offset, text, attributes); else insertStringImpl(offset, text, attributes); }
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { if (documentFilter != null) documentFilter.insertString(getBypass(), offset, text, attributes); else insertStringImpl(offset, text, attributes); }
30,207
public void remove(int offset, int length) throws BadLocationException { if (documentFilter != null) documentFilter.remove(getBypass(), offset, length); else removeImpl(offset, length); }
public void remove(int offset, int length) throws BadLocationException { if (documentFilter == null) removeImpl(offset, length); else documentFilter.remove(getBypass(), offset, length); else removeImpl(offset, length); }
30,208
public void remove(int offset, int length) throws BadLocationException { if (documentFilter != null) documentFilter.remove(getBypass(), offset, length); else removeImpl(offset, length); }
public void remove(int offset, int length) throws BadLocationException { if (documentFilter != null) documentFilter.remove(getBypass(), offset, length); else removeImpl(offset, length); }
30,209
public void replace(int offset, int length, String text, AttributeSet attributes) throws BadLocationException { if (documentFilter != null) documentFilter.replace(getBypass(), offset, length, text, attributes); else replaceImpl(offset, length, text, attributes); }
public void replace(int offset, int length, String text, AttributeSet attributes) throws BadLocationException { if (length == 0 && (text == null || text.length() == 0)) return; if (documentFilter == null) { remove(offset, length); insertString(offset, text, attributes); } else documentFilte...
30,211
public void replace(int offset, int length, String text, AttributeSet attributes) throws BadLocationException { if (documentFilter != null) documentFilter.replace(getBypass(), offset, length, text, attributes); else replaceImpl(offset, length, text, attributes); }
public void replace(int offset, int length, String text, AttributeSet attributes) throws BadLocationException { if (documentFilter != null) documentFilter.replace(getBypass(), offset, length, text, attributes); else replaceImpl(offset, length, text, attributes); }
30,212
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalLabelUI(); return instance; }
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalLabelUI(); return instance; }
30,213
public Signature(String signature, AbstractVmClassLoader loader) throws ClassNotFoundException { this.signature = signature; this.parts = split(signature.toCharArray(), loader); }
public Signature(String signature, AbstractVmClassLoader loader) throws ClassNotFoundException { this.signature = signature; this.parts = split(signature.toCharArray(), loader); }
30,217
private VmType[] split(char[] signature, AbstractVmClassLoader loader) throws ClassNotFoundException { ArrayList list = new ArrayList(); int ofs = 0; final int len = signature.length; if (signature[ofs] == '(') { ofs++; } while (ofs < len) { int start = ofs; char ch = signature[ofs++]; VmType vmClass; ...
private VmType[] split(char[] signature, AbstractVmClassLoader loader) throws ClassNotFoundException { ArrayList list = new ArrayList(); int ofs = 0; final int len = signature.length; if (signature[ofs] == '(') { ofs++; } while (ofs < len) { int start = ofs; char ch = signature[ofs++]; VmType vmClass; ...
30,218
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c);
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c);
30,220
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (...
publicvoidpopupMenuWillBecomeInvisible(PopupMenuEventevent){//removelistenerthatlistenstocomponenteventsfired//bythetop-levelwindowthatthispopupbelongsto.Componentinvoker=popupMenu.getInvoker();ComponentrootContainer=SwingUtilities.getRoot(invoker);if(rootContainer!=null){rootContainer.removeComponentListener(topWindow...
30,221
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (...
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (ro...
30,222
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (...
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (...
30,223
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (...
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); Component rootContainer = SwingUtilities.getRoot(invoker); if (...
30,224
public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv...
public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv...
30,225
public static String getClassAnnotation (Class cl) { RMIClassLoaderSpi spi = getProviderInstance(); if (spi == null) spi = getDefaultProviderInstance(); return spi.getClassAnnotation(cl); }
public static String getClassAnnotation(Class cl) { RMIClassLoaderSpi spi = getProviderInstance(); if (spi == null) spi = getDefaultProviderInstance(); return spi.getClassAnnotation(cl); }
30,226
public static Class loadClass (String name) throws MalformedURLException, ClassNotFoundException { return loadClass ("", name); }
public static Class loadClass(String name) throws MalformedURLException, ClassNotFoundException { return loadClass ("", name); }
30,227
public static Class loadClass (String name) throws MalformedURLException, ClassNotFoundException { return loadClass ("", name); }
public static Class loadClass (String name) throws MalformedURLException, ClassNotFoundException { return loadClass("", name); }
30,228
public void update(Observable observable, Object arg);
public void update(Observable observable, Object arg);
30,230
public short[] getData(int bank) { return bankData[bank]; }
public short[] getData() { return bankData[bank]; }
30,231
public short[] getData(int bank) { return bankData[bank]; }
public short[] getData(int bank) { return bankData[bank]; }
30,232
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { int count = getViewCount(); for (int i = 0; i < count; i++) { View child = getView(i); forwardUpdateToView(child, ev, shape, vf); } }
protected void forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent ev, Shape shape, ViewFactory vf) { int count = getViewCount(); if (count > 0) { View child = getView(i); forwardUpdateToView(child, ev, shape, vf); } }
30,233
public float getMaximumSpan(int axis) { if (getResizeWeight(axis) <= 0) return getPreferredSpan(axis); return Integer.MAX_VALUE; }
public float getMaximumSpan(int axis) { if (getResizeWeight(axis) <= 0) return getPreferredSpan(axis); return Integer.MAX_VALUE; }
30,235
public float getMinimumSpan(int axis) { if (getResizeWeight(axis) <= 0) return getPreferredSpan(axis); return Integer.MAX_VALUE; }
public float getMinimumSpan(int axis) { if (getResizeWeight(axis) <= 0) return getPreferredSpan(axis); return Integer.MAX_VALUE; }
30,236
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPairGene...
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, Integer.valueOf(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPair...
30,237
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPairGene...
public void initialize(int keysize, SecureRandom random) HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPairGenerato...
30,238
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPairGene...
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); attributes.put(RSAKeyPairGenera...
30,239
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPairGene...
public void initialize(int keysize, SecureRandom random) { HashMap attributes = new HashMap(); attributes.put(RSAKeyPairGenerator.MODULUS_LENGTH, new Integer(keysize)); if (random != null) { attributes.put(RSAKeyPairGenerator.SOURCE_OF_RANDOMNESS, random); } attributes.put(RSAKeyPairGene...
30,240
public static Throwable systemException(int nr, int address) throws PragmaUninterruptible, PragmaLoadStatics, PragmaPrivilegedAction { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); //Unsafe.die(); //Unsafe.debug(nr); Unsafe.debug(address); final String hexAddress = NumberU...
public static Throwable systemException(int nr, int address) throws PragmaUninterruptible, PragmaLoadStatics, PragmaPrivilegedAction { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); //Unsafe.die(); //Unsafe.debug(nr); Unsafe.debug(address); final String hexAddress = NumberU...
30,241
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,242
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,243
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,244
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,245
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,246
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,247
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,248
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,249
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
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: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr...
30,250
public static JDialog createDialog(Component component, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener) { Component parent = findParent(component); if (parent == null) ...
public static JDialog createDialog(Component component, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener) { Component parent = findParent(component); if (parent == null) ...
30,251
public static JDialog createDialog(Component component, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener) { Component parent = findParent(component); if (parent == null) ...
public static JDialog createDialog(Component component, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener) { Component parent = findParent(component); if (parent == null) ...
30,252
protected synchronized void computeTime() { int millisInDay = 0; int era = fields[ERA]; int year = fields[YEAR]; int month = fields[MONTH]; int day = fields[DAY_OF_MONTH]; int minute = fields[MINUTE]; int second = fields[SECOND]; int millis = fields[MILLISECOND]; int[] month_days = { 31, 28, ...
protected synchronized void computeTime() { int millisInDay = 0; int era = fields[ERA]; int year = fields[YEAR]; int month = fields[MONTH]; int day = fields[DAY_OF_MONTH]; int minute = fields[MINUTE]; int second = fields[SECOND]; int millis = fields[MILLISECOND]; int[] month_days = { 31, 28, ...
30,253
protected FileDescriptor getFileDescriptor() { return fd; }
protected FileDescriptor getFileDescriptor() { return fd; }
30,254