bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private static IKeyPairGenerator makeInstance (String clazz) { try { Class c = Class.forName (clazz); Constructor ctor = c.getConstructor (new Class[0]); return (IKeyPairGenerator) ctor.newInstance (new Object[0]); } catch (Exception x) { throw new IllegalArgumentExce...
private static IKeyPairGenerator makeInstance (String clazz) { try { Class c = Class.forName (clazz); Constructor ctor = c.getConstructor (new Class[0]); return (IKeyPairGenerator) ctor.newInstance (new Object[0]); } catch (Exception x) { throw new IllegalArgumentExce...
40,916
public void updateUI() { setUI((SplitPaneUI) UIManager.getUI(this)); invalidate(); repaint(); }
public void updateUI() { setUI((SplitPaneUI) UIManager.getUI(this)); invalidate(); repaint(); }
40,917
public synchronized void setFullScreenWindow(Window w) { if (full_screen != null) ; // XXX Restore the previous window to normal mode. full_screen = w; // XXX If w != null, make it full-screen. throw new Error("not implemented"); }
public synchronized void setFullScreenWindow(Window w) { if (full_screen != null) { full_screen.setBounds(fullScreenOldBounds); } full_screen = null; if (w != null) { fullScreenOldBounds = w.getBounds(); // XXX Restore the previous window to normal mode. full_screen = w{ full_screen.setBounds(fullScree...
40,918
public synchronized void setFullScreenWindow(Window w) { if (full_screen != null) ; // XXX Restore the previous window to normal mode. full_screen = w; // XXX If w != null, make it full-screen. throw new Error("not implemented"); }
public synchronized void setFullScreenWindow(Window w) { if (full_screen != null) ; // XXX Restore the previous window to normal mode. full_screen = w; // XXX If w != null, make it full-screen. DisplayMode dMode = getDisplayMode(); full_screen.setBounds(0, 0, dMode.getWidth(), dMode.getHeight()); ful...
40,919
public AccessibleRelationSet getAccessibleRelationSet() { return null; }
public AccessibleRelationSet getAccessibleRelationSet() { return new AccessibleRelationSet(); }
40,921
ReadOnly(Object owner, RawData address, int capacity, int limit, int position) { super(owner, address, capacity, limit, position); }
ReadOnly(Object owner, RawData address, int capacity, int limit, int position) { super(owner, address, capacity, limit, position); }
40,922
public void paint(Graphics g, Shape a) { // FIXME: Implement the above specified behaviour. super.paint(g, a); }
if (a != null) { Rectangle r = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); painter.paint(g, r.x, r.y, r.width, r.height, this); } if (a != null) { Rectangle r = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); painter.paint(g, r.x, r.y, r.width, r.height, this); } publicif (a != null) { Rectangle r =...
40,923
protected void setPropertiesFromAttributes() { // FIXME: Implement this. }
super.setPropertiesFromAttributes(); AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) setJustification(StyleConstants.ALIGN_LEFT); else if (align.equals("right")) setJustification(StyleConstants.ALIGN_R...
40,924
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160; ...
40,926
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,927
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,928
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,929
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
publicBigInteger[]generateParameters(){intcounter,offset;BigIntegerSEED,alpha,U,q,OFFSET,SEED_PLUS_OFFSET,W,X,p,c,g;byte[]a,u;byte[]kb=newbyte[20];//tohold160bitsofrandomness//LetL-1=n*160+b,wherebandnareintegersand0<=b<160.intb=(L-1)%160;intn=(L-1-b)/160;BigInteger[]V=newBigInteger[n+1];algorithm:while(true){step1:whi...
40,930
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,931
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160; ...
40,932
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,933
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,934
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,935
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160; ...
40,936
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,937
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
publicBigInteger[]generateParameters(){intcounter,offset;BigIntegerSEED,alpha,U,q,OFFSET,SEED_PLUS_OFFSET,W,X,p,c,g;byte[]a,u;byte[]kb=newbyte[20];//tohold160bitsofrandomness//LetL-1=n*160+b,wherebandnareintegersand0<=b<160.intb=(L-1)%160;intn=(L-1-b)/160;BigInteger[]V=newBigInteger[n+1];algorithm:while(true){step1:whi...
40,938
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,939
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
public BigInteger[] generateParameters() { int counter, offset; BigInteger SEED, alpha, U, q, OFFSET, SEED_PLUS_OFFSET, W, X, p, c, g; byte[] a, u; byte[] kb = new byte[20]; // to hold 160 bits of randomness // Let L-1 = n*160 + b, where b and n are integers and 0 <= b < 160. int b = (L - 1) % 160;...
40,940
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else getDefaultPRNG().nextBytes(buffer); }
private void nextRandomBytes(byte[] buffer) if (rnd != null) rnd.nextBytes(buffer); } else getDefaultPRNG().nextBytes(buffer); }
40,941
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else getDefaultPRNG().nextBytes(buffer); }
private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); else getDefaultPRNG().nextBytes(buffer); }
40,942
public DataBufferInt(int size) { super(TYPE_INT, size); data = new int[size]; }
public DataBufferInt(int size) { super(TYPE_INT, size); data = new int[size]; }
40,943
StandaloneAppletWindow(AppletTag tag, List appletWindows) { appletWindows.add(this); applet = Main.createApplet(tag); if (contexts.get(tag.codebase) == null) contexts.put(tag.codebase, new StandaloneAppletContext(appletWindows)); setLayout(new BorderLayout()); add(applet, BorderLayout.CENTER); ...
StandaloneAppletWindow(AppletTag tag, List appletWindows) { appletWindows.add(this); applet = Main.createApplet(tag); if (contexts.get(tag.codebase) == null) contexts.put(tag.codebase, new StandaloneAppletContext(appletWindows)); setLayout(new BorderLayout()); add(applet, BorderLayout.CENTER); ...
40,945
void printTags() { if (verbose) { System.out.println("parsed applet tags:"); for (int i = 0; i < appletTags.size(); i++) { AppletTag tag = (AppletTag) appletTags.get(i); System.out.println(" tag " + i + ":"); System.out.println(tag); } } ...
void printTags() { if (verbose) { System.out.println (Messages.getString("StandaloneAppletViewer.ParsedAppletTags")); for (int i = 0; i < appletTags.size(); i++) { AppletTag tag = (AppletTag) appletTags.get(i); System.out.println(" tag " + i + ":"); Sys...
40,946
void printTags() { if (verbose) { System.out.println("parsed applet tags:"); for (int i = 0; i < appletTags.size(); i++) { AppletTag tag = (AppletTag) appletTags.get(i); System.out.println(" tag " + i + ":"); System.out.println(tag); } } ...
void printTags() { if (verbose) { System.out.println("parsed applet tags:"); for (int i = 0; i < appletTags.size(); i++) { AppletTag tag = (AppletTag) appletTags.get(i); System.out.println (" " + Messages.getString("StandaloneAppletViewer.Tag") + " " + i + ":"); ...
40,947
public BufferedImage filter (BufferedImage src, BufferedImage dst) { if (dst == src) throw new IllegalArgumentException ("src image cannot be the same as the dst image"); // If the destination image is null, then BufferedImage is // created with ColorModel of the source image if (dst ...
public final BufferedImage filter (BufferedImage src, BufferedImage dst) { if (dst == src) throw new IllegalArgumentException ("src image cannot be the same as the dst image"); // If the destination image is null, then BufferedImage is // created with ColorModel of the source image if...
40,948
public Rectangle2D getBounds2D (BufferedImage src) { return getBounds2D (src.getRaster()); }
public final Rectangle2D getBounds2D (BufferedImage src) { return getBounds2D (src.getRaster()); }
40,949
public int getInterpolationType () { if(hints.containsValue (RenderingHints.VALUE_INTERPOLATION_BILINEAR)) return TYPE_BILINEAR; else return TYPE_NEAREST_NEIGHBOR; }
public final int getInterpolationType () { if(hints.containsValue (RenderingHints.VALUE_INTERPOLATION_BILINEAR)) return TYPE_BILINEAR; else return TYPE_NEAREST_NEIGHBOR; }
40,950
public RenderingHints getRenderingHints () { return hints; }
public final RenderingHints getRenderingHints () { return hints; }
40,951
public AffineTransform getTransform () { return transform; }
public final AffineTransform getTransform () { return transform; }
40,952
public static Writer newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap) throws NotImplementedException { // FIXME: implement java.nio.channels.Channel.newWriter(WritableByteChannel, CharsetEncoder, int) throw new Error("not implemented"); }
public static Writer newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap) { // FIXME: implement java.nio.channels.Channel.newWriter(WritableByteChannel, CharsetEncoder, int) throw new Error("not implemented"); }
40,954
public static Writer newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap) throws NotImplementedException { // FIXME: implement java.nio.channels.Channel.newWriter(WritableByteChannel, CharsetEncoder, int) throw new Error("not implemented"); }
public static Writer newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap) throws NotImplementedException { // FIXME: implement java.nio.channels.Channel.newWriter(WritableByteChannel, CharsetEncoder, int) throw new Error("not implemented"); }
40,955
protected AccessibleContainerHandler(AccessibleJComponent component) {}
protected AccessibleContainerHandler(AccessibleJComponent component) {}
40,956
protected AccessibleFocusHandler(AccessibleJComponent component){}
protected AccessibleFocusHandler(AccessibleJComponent component){}
40,957
public static int getNumericValue(char ch) { // Treat numValue as signed. return (short) numValue[readChar(ch) >> 7]; }
public static int getNumericValue(char ch) { // Treat numValue as signed. return (short) numValue[0][readCodePoint((int)ch) >> 7]; }
40,958
public static boolean isDefined(char ch) { return getType(ch) != UNASSIGNED; }
public static boolean isDefined(char ch) { return isDefined((int)ch); }
40,959
public static boolean isIdentifierIgnorable(char ch) { return (ch <= '\u009F' && (ch < '\t' || ch >= '\u007F' || (ch <= '\u001B' && ch >= '\u000E'))) || getType(ch) == FORMAT; }
public static boolean isIdentifierIgnorable(char ch) { return (ch <= '\u009F' && (ch < '\t' || ch >= '\u007F' || (ch <= '\u001B' && ch >= '\u000E'))) || getType(ch) == FORMAT; }
40,960
public static boolean isMirrored(char ch) { return (readChar(ch) & MIRROR_MASK) != 0; }
public static boolean isMirrored(char ch) { return (readCodePoint((int)ch) & MIRROR_MASK) != 0; }
40,961
public static boolean isSpaceChar(char ch) { return ((1 << getType(ch)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0; }
public static boolean isSpaceChar(char ch) { return ((1 << getType(ch)) & ((1 << SPACE_SEPARATOR) | (1 << LINE_SEPARATOR) | (1 << PARAGRAPH_SEPARATOR))) != 0; }
40,962
public static boolean isTitleCase(char ch) { return getType(ch) == TITLECASE_LETTER; }
public static boolean isTitleCase(char ch) { return isTitleCase((int)ch); }
40,963
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.LIST_CMD, true); result.setHeader(Messages.getString("ListCmd.20")); //$NON-NLS-1$ result.setFooter(Messages.getString("ListCmd.19")); //$NON-NLS-1$ OptionGroup options...
ParsergetParser(){log.entering(this.getClass().getName(),"getParser");//$NON-NLS-1$Parserresult=newClasspathToolParser(Main.LIST_CMD,true);result.setHeader(Messages.getString("ListCmd.20"));//$NON-NLS-1$result.setFooter(Messages.getString("ListCmd.19"));//$NON-NLS-1$OptionGroupoptions=newOptionGroup(Messages.getString(...
40,964
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.LIST_CMD, true); result.setHeader(Messages.getString("ListCmd.20")); //$NON-NLS-1$ result.setFooter(Messages.getString("ListCmd.19")); //$NON-NLS-1$ OptionGroup options...
if (Configuration.DEBUG) if (Configuration.DEBUG) Parserif (Configuration.DEBUG) getParser()if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this.getClass().getName(),if (Configuration.DEBUG) "getParser");...
40,965
private void list1Alias(String anAlias, PrintWriter writer) throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "list1Alias", anAlias); //$NON-NLS-1$ writer.println(); writer.println(Messages.getFormattedString("ListCmd.30", anAlias)); //$NON-NL...
privatevoidlist1Alias(StringanAlias,PrintWriterwriter)throwsKeyStoreException,CertificateEncodingException,IOException{log.entering(this.getClass().getName(),"list1Alias",anAlias);//$NON-NLS-1$writer.println();writer.println(Messages.getFormattedString("ListCmd.30",anAlias));//$NON-NLS-1$writer.println(Messages.getForm...
40,966
private void list1Alias(String anAlias, PrintWriter writer) throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "list1Alias", anAlias); //$NON-NLS-1$ writer.println(); writer.println(Messages.getFormattedString("ListCmd.30", anAlias)); //$NON-NL...
private void list1Alias(String anAlias, PrintWriter writer) throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "list1Alias", anAlias); //$NON-NLS-1$ writer.println(); writer.println(Messages.getFormattedString("ListCmd.30", anAlias)); //$NON-NL...
40,967
void setup() throws Exception { setOutputStreamParam(null); // use stdout setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); all = _alias == null; if (! all) setAliasParam(_alias); if (verbose & rfc) { log.warning("Both -v and -rfc options were found on the command l...
void setup() throws Exception { setOutputStreamParam(null); // use stdout setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); all = _alias == null; if (! all) setAliasParam(_alias); if (verbose & rfc) { if (Configuration.DEBUG) log.fine("Both -v and -rfc options were ...
40,969
void setup() throws Exception { setOutputStreamParam(null); // use stdout setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); all = _alias == null; if (! all) setAliasParam(_alias); if (verbose & rfc) { log.warning("Both -v and -rfc options were found on the command l...
void setup() throws Exception { setOutputStreamParam(null); // use stdout setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); all = _alias == null; if (! all) setAliasParam(_alias); if (verbose & rfc) { log.warning("Both -v and -rfc options were found on the command l...
40,970
void start() throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ PrintWriter writer = new PrintWriter(outStream, true); writer.println(Messages.getFormattedString("ListCmd.21", store.getType())); //$NON-NLS-1$ writer.p...
voidstart()throwsKeyStoreException,CertificateEncodingException,IOException{log.entering(this.getClass().getName(),"start");//$NON-NLS-1$PrintWriterwriter=newPrintWriter(outStream,true);writer.println(Messages.getFormattedString("ListCmd.21",store.getType()));//$NON-NLS-1$writer.println(Messages.getFormattedString("Lis...
40,971
void start() throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ PrintWriter writer = new PrintWriter(outStream, true); writer.println(Messages.getFormattedString("ListCmd.21", store.getType())); //$NON-NLS-1$ writer.p...
void start() throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ PrintWriter writer = new PrintWriter(outStream, true); writer.println(Messages.getFormattedString("ListCmd.21", store.getType())); //$NON-NLS-1$ writer.p...
40,972
void start() throws KeyStoreException, CertificateEncodingException, IOException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ PrintWriter writer = new PrintWriter(outStream, true); writer.println(Messages.getFormattedString("ListCmd.21", store.getType())); //$NON-NLS-1$ writer.p...
if (Configuration.DEBUG) if (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) KeyStoreException,if (Configuration.DEBUG) CertificateEncodingException,if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Co...
40,973
public KeyPair generate() { if (p == null) { BigInteger[] params = new RFC2631(m, l, rnd).generateParameters(); seed = params[RFC2631.DH_PARAMS_SEED]; counter = params[RFC2631.DH_PARAMS_COUNTER]; q = params[RFC2631.DH_PARAMS_Q]; p = params[RFC2631.DH_PARAMS_P]; j = p...
public KeyPair generate() { if (p == null) { BigInteger[] params = new RFC2631(m, l, rnd).generateParameters(); seed = params[RFC2631.DH_PARAMS_SEED]; counter = params[RFC2631.DH_PARAMS_COUNTER]; q = params[RFC2631.DH_PARAMS_Q]; p = params[RFC2631.DH_PARAMS_P]; j = p...
40,974
private Decoder (Charset cs) { super (cs, 1.0f, 1.0f); }
Decoder (Charset cs) { super (cs, 1.0f, 1.0f); }
40,976
private Encoder (Charset cs) { // According to // http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html // On average, English takes slightly over one unit per code point. // Most Latin-script languages take about 1.1 bytes. Greek, Russian, // Arabic and...
Encoder (Charset cs) { // According to // http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html // On average, English takes slightly over one unit per code point. // Most Latin-script languages take about 1.1 bytes. Greek, Russian, // Arabic and Hebrew ...
40,977
public static Object get(Object key) { return getLookAndFeel().getDefaults().get(key); }
public static Object get(Object key) { return getLookAndFeel().getDefaults().get(key); }
40,978
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return aux_installed; }
public static LookAndFeel[] getAuxiliaryLookAndFeels() { return aux_installed; }
40,979
void fireSelectionValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) { ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener listeners[] = getListSelectionListeners(); for (int i = 0; i < listeners.length; ++i) { listeners...
protected void fireSelectionValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) { ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting); ListSelectionListener listeners[] = getListSelectionListeners(); for (int i = 0; i < listeners.length; ++i) { ...
40,980
void init() { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 8; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new DefaultListModel()); ...
void init() { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 8; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new DefaultListModel()); ...
40,981
public void setCellRenderer(ListCellRenderer cr) { ListCellRenderer old = cellRenderer; cellRenderer = cr; firePropertyChange(CELL_RENDERER_PROPERTY_CHANGED, old, cr); revalidate(); repaint(); }
public void setCellRenderer(ListCellRenderer renderer) { ListCellRenderer old = cellRenderer; cellRenderer = cr; firePropertyChange(CELL_RENDERER_PROPERTY_CHANGED, old, cr); revalidate(); repaint(); }
40,982
public void setCellRenderer(ListCellRenderer cr) { ListCellRenderer old = cellRenderer; cellRenderer = cr; firePropertyChange(CELL_RENDERER_PROPERTY_CHANGED, old, cr); revalidate(); repaint(); }
public void setCellRenderer(ListCellRenderer cr) { ListCellRenderer old = cellRenderer; cellRenderer = cr; firePropertyChange(CELL_RENDERER_PROPERTY_CHANGED, old, cr); revalidate(); repaint(); }
40,983
public void setModel(ListModel m) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); revalidate(); repaint(); }
public void setModel(ListModel model) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); revalidate(); repaint(); }
40,984
public void setModel(ListModel m) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); revalidate(); repaint(); }
public void setModel(ListModel m) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); revalidate(); repaint(); }
40,985
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
public void setSelectionModel(ListSelectionModel model) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTI...
40,986
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
40,987
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_M...
public void setSelectionModel(ListSelectionModel l) { ListSelectionModel old = selectionModel; if (old != null) old.removeListSelectionListener(listListener); selectionModel = l; if (selectionModel != null) selectionModel.addListSelectionListener(listListener); firePropertyChange(SELECTION_...
40,988
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He...
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in, boolean mayHaveBody) throws IOException { long cont...
40,989
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He...
private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He...
40,990
Response readResponse(InputStream in) throws IOException { String line; int len; // Read response status line LineInputStream lis = new LineInputStream(in); line = lis.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.start...
Response readResponse(InputStream in) throws IOException { String line; int len; // Read response status line LineInputStream lis = new LineInputStream(in); line = lis.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.start...
40,991
public Rectangle getHeaderRect(int column) { Rectangle r = getTable().getCellRect(-1, column, true); r.height = getHeight(); return r; }
public Rectangle getHeaderRect(int column) { Rectangle r = getTable().getCellRect(-1, column, false); r.height = getHeight(); return r; }
40,992
public FTPFSDirectory(FTPFileSystem fileSystem, FTPFile ftpFile) { super(fileSystem, ftpFile); }
FTPFSDirectory(FTPFileSystem fileSystem, FTPFile ftpFile) { super(fileSystem, ftpFile); }
40,994
protected int getViewIndexAtPosition(int pos) { int index = -1; for (int i = 0; i < children.length; i++) { if (children[i].getStartOffset() >= pos && children[i].getEndOffset() < pos) { index = i; break; } } return index; }
protected int getViewIndexAtPosition(int pos) { int index = -1; for (int i = 0; i < children.length; i++) { if (children[i].getStartOffset() >= pos && children[i].getEndOffset() < pos) { index = i; break; } } return index; }
40,998
public static TypeCode type() { ORB orb = Restricted_ORB.Singleton; return orb.create_alias_tc(id(), "Identifier", orb.create_string_tc(0)); }
public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "Identifier", orb.create_string_tc(0)); }
40,999
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context LinkedList values = new LinkedList(); // set the parameters ...
41,001
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
41,002
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // push the parameter context stylesheet.bindings.push(false); // set the parameters ...
41,003
public void columnAdded (TableColumnModelEvent event) { throw new Error ("Not implemented"); }
public void columnAdded (TableColumnModelEvent event) { revalidate(); repaint(); }
41,004
public void columnMarginChanged (ChangeEvent event) { throw new Error ("Not implemented"); }
public void columnMarginChanged (ChangeEvent event) { revalidate(); repaint(); }
41,005
public void columnMoved (TableColumnModelEvent event) { throw new Error ("Not implemented"); }
public void columnMoved (TableColumnModelEvent event) { revalidate(); repaint(); }
41,006
public void columnRemoved (TableColumnModelEvent event) { throw new Error ("Not implemented"); }
public void columnRemoved (TableColumnModelEvent event) { revalidate(); repaint(); }
41,007
public void columnSelectionChanged (ListSelectionEvent event) { throw new Error ("Not implemented"); }
public void columnSelectionChanged (ListSelectionEvent event) { repaint(); }
41,008
public void editingCanceled (ChangeEvent event) { throw new Error ("Not implemented"); }
public void editingCanceled (ChangeEvent event) { repaint(); }
41,009
public void editingStopped (ChangeEvent event) { throw new Error ("Not implemented"); }
public void editingStopped (ChangeEvent event) { repaint(); }
41,010
public TableColumnModel getColumnModel () { return columnModel; }
public TableColumnModel getColumnModel() { return columnModel; }
41,011
public boolean getColumnSelectionAllowed() { return columnModel.getColumnSelectionAllowed(); }
public boolean getColumnSelectionAllowed() { return getColumnModel().getColumnSelectionAllowed(); }
41,012
public TableCellRenderer getDefaultRenderer(Class columnClass) { // FIXME: return null; }
public TableCellRenderer getDefaultRenderer(Class columnClass) { // FIXME: if (defaultRenderersByColumnClass.containsKey(columnClass)) return (TableCellRenderer) defaultRenderersByColumnClass.get(columnClass); else { TableCellRenderer r = new DefaultTableCellRenderer(); defaultRenderersByColumnClass.put(columnC...
41,013
public Dimension getPreferredScrollableViewportSize () { throw new Error ("Not implemented"); }
public Dimension getPreferredScrollableViewportSize() { throw new Error ("Not implemented"); }
41,014
public Dimension getPreferredScrollableViewportSize () { throw new Error ("Not implemented"); }
public Dimension getPreferredScrollableViewportSize () { return preferredScrollableViewportSize; }
41,015
public int getScrollableBlockIncrement (Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
41,016
public int getScrollableBlockIncrement (Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
public int getScrollableBlockIncrement (Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return visibleRect.height * direction; else return visibleRect.width * direction; }
41,017
public boolean getScrollableTracksViewportHeight () { throw new Error ("Not implemented"); }
public boolean getScrollableTracksViewportHeight() { throw new Error ("Not implemented"); }
41,018
public boolean getScrollableTracksViewportHeight () { throw new Error ("Not implemented"); }
public boolean getScrollableTracksViewportHeight () { return false; }
41,019
public boolean getScrollableTracksViewportWidth () { throw new Error ("Not implemented"); }
public boolean getScrollableTracksViewportWidth() { throw new Error ("Not implemented"); }
41,020
public boolean getScrollableTracksViewportWidth () { throw new Error ("Not implemented"); }
public boolean getScrollableTracksViewportWidth () { if (autoResizeMode == AUTO_RESIZE_OFF) return false; else return true; }
41,021
public int getScrollableUnitIncrement (Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
41,022
public int getScrollableUnitIncrement (Rectangle visibleRect, int orientation, int direction) { throw new Error ("Not implemented"); }
public int getScrollableUnitIncrement (Rectangle visibleRect, int orientation, int direction) { if (orientation == SwingConstants.VERTICAL) return rowHeight; else { int sum = 0; for (int i = 0; i < getColumnCount(); ++i) sum += columnModel.getColumn(0).getWidth(); return getColumnCount() == 0 ? 10 : sum / get...
41,023
public ListSelectionModel getSelectionModel () { if (! rowSelectionAllowed) return null; return selectionModel; }
public ListSelectionModel getSelectionModel() { if (! rowSelectionAllowed) return null; return selectionModel; }
41,024
public void setAutoResizeMode(int mode) { autoResizeMode = mode; }
public void setAutoResizeMode(int a) { autoResizeMode = mode; }
41,025
public void setAutoResizeMode(int mode) { autoResizeMode = mode; }
public void setAutoResizeMode(int mode) { autoResizeMode = a; revalidate(); repaint(); }
41,026