bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | 29,722 |
public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | 29,723 |
public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | public void engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) throws KeyStoreException { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { keyring = new GnuPrivateKeyring("HMAC-SHA-1",... | 29,724 |
public int engineSize() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return 0; } return keyring.size(); } | public int engineSize() { if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return 0; } return keyring.size(); } | 29,725 |
public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); ke... | public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); ke... | 29,726 |
public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); ke... | public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); ke... | 29,727 |
public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); ke... | public void engineStore(OutputStream out, char[] password) throws IOException { if (!loaded || keyring == null) { throw new IllegalStateException ("not loaded"); } HashMap attr = new HashMap(); attr.put(IKeyring.KEYRING_DATA_OUT, out); attr.put(IKeyring.KEYRING_PASSWORD, password); p... | 29,728 |
public KeyStoreException(String msg) { super(msg); } | public KeyStoreException() { super(msg); } | 29,729 |
public KeyStoreException(String msg) { super(msg); } | public KeyStoreException(String msg) { } | 29,730 |
Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row); | Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row); | 29,731 |
public BufferedImage filter(BufferedImage src, BufferedImage dst) { // TODO: The plan is to create a scanline buffer for intermediate buffers. // For now we just suck it up and create intermediate buffers. if (dst == null && spaces.length == 0) throw new IllegalArgumentException(); // Make sure ... | public final BufferedImage filter(BufferedImage src, BufferedImage dst) { // TODO: The plan is to create a scanline buffer for intermediate buffers. // For now we just suck it up and create intermediate buffers. if (dst == null && spaces.length == 0) throw new IllegalArgumentException(); // Make... | 29,732 |
public Rectangle2D getBounds2D(BufferedImage src) { return src.getRaster().getBounds(); } | public final Rectangle2D getBounds2D(BufferedImage src) { return src.getRaster().getBounds(); } | 29,733 |
public ICC_Profile[] getICC_Profiles() { return profiles; } | public final ICC_Profile[] getICC_Profiles() { return profiles; } | 29,734 |
public Point2D getPoint2D(Point2D src, Point2D dst) { if (dst == null) return (Point2D)src.clone(); dst.setLocation(src); return dst; } | public final Point2D getPoint2D(Point2D src, Point2D dst) { if (dst == null) return (Point2D)src.clone(); dst.setLocation(src); return dst; } | 29,735 |
public RenderingHints getRenderingHints() { return hints; } | public final RenderingHints getRenderingHints() { return hints; } | 29,736 |
public float[] getPixel(int x, int y, float[] fArray) { return sampleModel.getPixel(x-sampleModelTranslateX, y-sampleModelTranslateY, fArray, dataBuffer); } | public int[] getPixel(int x, int y, int[] iArray) { return sampleModel.getPixel(x-sampleModelTranslateX, y-sampleModelTranslateY, fArray, dataBuffer); } | 29,737 |
public float[] getPixel(int x, int y, float[] fArray) { return sampleModel.getPixel(x-sampleModelTranslateX, y-sampleModelTranslateY, fArray, dataBuffer); } | public float[] getPixel(int x, int y, float[] fArray) { return sampleModel.getPixel(x-sampleModelTranslateX, y-sampleModelTranslateY, fArray, dataBuffer); } | 29,738 |
public void setPixel(int x, int y, float[] fArray) { sampleModel.setPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, fArray, dataBuffer); } | public void setPixel(int x, int y, float[] fArray) { sampleModel.setPixel(x - sampleModelTranslateX, y - sampleModelTranslateY, fArray, dataBuffer); } | 29,739 |
public RenderingHints getRenderingHints(); | public RenderingHints getRenderingHints(); | 29,740 |
public final void emitObject(Object obj) throws BuildException, ClassNotFoundException { if (obj == null) { return; } final Class< ? > cls = obj.getClass(); try { testForValidEmit(obj, cls.getName()); } catch (JNodeClassNotFoundException ex) { ... | public final void emitObject(Object obj) throws BuildException, ClassNotFoundException { if (obj == null) { return; } final Class< ? > cls = obj.getClass(); try { testForValidEmit(obj, cls.getName()); } catch (JNodeClassNotFoundException ex) { ... | 29,741 |
public Dimension getPreferredSize(JComponent c) { AbstractButton b = (AbstractButton)c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize (b, defaultTextIconGap + defaultTextShiftOffset); return d; } | public Dimension getPreferredSize(JComponent c) { AbstractButton b = (AbstractButton)c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize (b, defaultTextIconGap + defaultTextShiftOffset); return d; } | 29,742 |
public DEREncodingException (String msg) { super (msg); } | public DEREncodingException() { super (msg); } | 29,743 |
public DEREncodingException (String msg) { super (msg); } | public DEREncodingException (String msg) { super (); } | 29,744 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,745 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,746 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,747 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,748 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,749 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,750 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,751 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,752 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,753 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,754 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,755 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,756 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,757 |
public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | public static TimeZone getTimeZone(String ID) { // First check timezones hash TimeZone tz = (TimeZone)timezones.get(ID); if (tz != null) { if (tz.getID().equals(ID)) return tz; // We always return a timezone with the requested ID. // This is the same behaviour as with JDK1.2. tz = (TimeZone)tz.clone(); ... | 29,758 |
public BasicAttribute (String id, Object value) { this (id, value, false); } | private BasicAttribute () { this (id, value, false); } | 29,759 |
public BasicAttribute (String id, Object value) { this (id, value, false); } | public BasicAttribute (String id, Object value) { } | 29,760 |
public void writeBit(int bit) throws IOException { // FIXME: Implement me. throw new Error("not implemented"); } | public void writeBit(int bit) throws IOException, NotImplementedException { // FIXME: Implement me. throw new Error("not implemented"); } | 29,761 |
public void writeUTF(String data) throws IOException { throw new Error("not implemented"); } | public void writeUTF(String data) throws IOException, NotImplementedException { throw new Error("not implemented"); } | 29,762 |
public static <S extends Enum<S>> S valueOf(Class<S> etype, String s) { if (etype == null || s == null) throw new NullPointerException(); try { return (S) etype.getDeclaredField(s).get(null); } catch (NoSuchFieldException exception) { throw new IllegalArgu... | public static <S extends Enum<S>> S valueOf(Class<S> etype, String s) { if (etype == null || s == null) throw new NullPointerException(); try { Field f = etype.getDeclaredField(s); if (! f.isEnumConstant()) throw new IllegalArgumentException(s); return (S) f.get(null); } ... | 29,765 |
public static long decodeDateTime(int dosDate, int dosTime) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); cal.set(Calendar.DATE, dosDate & 0x1f); cal.set(Calendar.MONTH, (... | public static long decodeDateTime(int dosDate, int dosTime) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); cal.set(Calendar.DATE, dosDate & 0x1f); cal.set(Calendar.MONTH, (... | 29,766 |
public static long decodeDateTime(int dosDate, int dosTime) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); cal.set(Calendar.DATE, dosDate & 0x1f); cal.set(Calendar.MONTH, (... | public static long decodeDateTime(int dosDate, int dosTime) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); cal.set(Calendar.DATE, dosDate & 0x1f); cal.set(Calendar.MONTH, (... | 29,767 |
public static long decodeDateTime(int dosDate, int dosTime) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); cal.set(Calendar.DATE, dosDate & 0x1f); cal.set(Calendar.MONTH, (... | public static long decodeDateTime(int dosDate, int dosTime) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.SECOND, (dosTime & 0x1f) * 2); cal.set(Calendar.MINUTE, (dosTime >> 5) & 0x3f); cal.set(Calendar.HOUR_OF_DAY, dosTime >> 11); cal.set(Calendar.DATE, dosDate & 0x1f); cal.set(Calendar.MONTH, (... | 29,768 |
public static int encodeDate(long javaDateTime) { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(javaDateTime); return 512 * (cal.get(Calendar.YEAR) - 1980) + 32 * ( cal.get(Calendar.MONTH) + 1 ) + cal.get(Calendar.DATE); } | public static int encodeDate(long javaDateTime) { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(javaDateTime); return 512 * (cal.get(Calendar.YEAR) - 1980) + 32 * ( cal.get(Calendar.MONTH) + 1 ) + cal.get(Calendar.DATE); } | 29,769 |
public static int encodeTime(long javaDateTime) { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(javaDateTime); return 2048 * cal.get(Calendar.HOUR_OF_DAY) + 32 * cal.get(Calendar.MINUTE) + cal.get(Calendar.SECOND) / 2; } | public static int encodeTime(long javaDateTime) { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(javaDateTime); return 2048 * cal.get(Calendar.HOUR_OF_DAY) + 32 * cal.get(Calendar.MINUTE) + cal.get(Calendar.SECOND) / 2; } | 29,770 |
public void scrollRectToVisible(Rectangle contentRect) { Component view = getView(); if (view == null) return; Point pos = getViewPosition(); Rectangle viewBounds = getView().getBounds(); Rectangle portBounds = getBounds(); if (isShowing()) getView().validate(); // If... | public void scrollRectToVisible(Rectangle contentRect) { Component view = getView(); if (view == null) return; Point pos = getViewPosition(); Rectangle viewBounds = getView().getBounds(); Rectangle portBounds = getBounds(); if (isShowing()) getView().validate(); // If... | 29,771 |
public void scrollRectToVisible(Rectangle contentRect) { Component view = getView(); if (view == null) return; Point pos = getViewPosition(); Rectangle viewBounds = getView().getBounds(); Rectangle portBounds = getBounds(); if (isShowing()) getView().validate(); // If... | public void scrollRectToVisible(Rectangle contentRect) { Component view = getView(); if (view == null) return; Point pos = getViewPosition(); Rectangle viewBounds = getView().getBounds(); Rectangle portBounds = getBounds(); if (isShowing()) getView().validate(); // If... | 29,772 |
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.KEYCLONE_CMD, true); result.setHeader(Messages.getString("KeyCloneCmd.22")); //$NON-NLS-1$ result.setFooter(Messages.getString("KeyCloneCmd.21")); //$NON-NLS-1$ OptionG... | ParsergetParser(){log.entering(this.getClass().getName(),"getParser");//$NON-NLS-1$Parserresult=newClasspathToolParser(Main.KEYCLONE_CMD,true);result.setHeader(Messages.getString("KeyCloneCmd.22"));//$NON-NLS-1$result.setFooter(Messages.getString("KeyCloneCmd.21"));//$NON-NLS-1$OptionGroupoptions=newOptionGroup(Message... | 29,773 |
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.KEYCLONE_CMD, true); result.setHeader(Messages.getString("KeyCloneCmd.22")); //$NON-NLS-1$ result.setFooter(Messages.getString("KeyCloneCmd.21")); //$NON-NLS-1$ OptionG... | 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");... | 29,774 |
void setup() throws Exception { setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); setAliasParam(_alias); setKeyPasswordNoPrompt(_password); setDestinationAlias(_destAlias); log.finer("-keyclone handler will use the following options:"); //$NON-NLS-1$ log.finer(" -alias=" + alias... | void setup() throws Exception { setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); setAliasParam(_alias); setKeyPasswordNoPrompt(_password); setDestinationAlias(_destAlias); log.finer("-keyclone handler will use the following options:"); //$NON-NLS-1$ log.finer(" -alias=" + alias... | 29,775 |
void start() throws KeyStoreException, NoSuchAlgorithmException, IOException, UnsupportedCallbackException, UnrecoverableKeyException, CertificateException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ if (store.containsAlias(destinationAlias)) throw new SecurityException(Mes... | voidstart()throwsKeyStoreException,NoSuchAlgorithmException,IOException,UnsupportedCallbackException,UnrecoverableKeyException,CertificateException{log.entering(this.getClass().getName(),"start");//$NON-NLS-1$if(store.containsAlias(destinationAlias))thrownewSecurityException(Messages.getString("KeyCloneCmd.23"));//$NON... | 29,776 |
void start() throws KeyStoreException, NoSuchAlgorithmException, IOException, UnsupportedCallbackException, UnrecoverableKeyException, CertificateException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ if (store.containsAlias(destinationAlias)) throw new SecurityException(Mes... | if (Configuration.DEBUG) if (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) KeyStoreException,if (Configuration.DEBUG) NoSuchAlgorithmException,if (Configuration.DEBUG) IOException,if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG... | 29,777 |
public synchronized void add(OptionGroup group) { options.addAll(group.options); // This ensures that the final group always appears at the end // of the options. if (optionGroups.isEmpty()) optionGroups.add(group); else optionGroups.add(optionGroups.size() - 1, group); } | public synchronized void add(Option opt) { options.addAll(group.options); // This ensures that the final group always appears at the end // of the options. if (optionGroups.isEmpty()) optionGroups.add(group); else optionGroups.add(optionGroups.size() - 1, group); } | 29,778 |
public synchronized void add(OptionGroup group) { options.addAll(group.options); // This ensures that the final group always appears at the end // of the options. if (optionGroups.isEmpty()) optionGroups.add(group); else optionGroups.add(optionGroups.size() - 1, group); } | public synchronized void add(OptionGroup group) { options.addAll(group.options); // This ensures that the final group always appears at the end // of the options. if (optionGroups.isEmpty()) optionGroups.add(group); else optionGroups.add(optionGroups.size() - 1, group); } | 29,779 |
protected void setKeyStoreParams(String className, String type, String password, String url) throws IOException, UnsupportedCallbackException, KeyStoreException, NoSuchAlgorithmException, CertificateException { setProviderClassNameParam(className); setKeystoreTypePar... | protected void setKeyStoreParams(String className, String type, String password, String url) throws IOException, UnsupportedCallbackException, KeyStoreException, NoSuchAlgorithmException, CertificateException { setProviderClassNameParam(className); setKeystoreTypePar... | 29,781 |
protected void saveKeyStore() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { saveKeyStore(storePasswordChars); } | protected void saveKeyStore() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { saveKeyStore(storePasswordChars); } | 29,782 |
protected void saveKeyStore() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { saveKeyStore(storePasswordChars); } | protected void saveKeyStore() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { if (Configuration.DEBUG) log.entering(this.getClass().getName(), "saveKeyStore"); URLConnection con = storeURL.openConnection(); con.setDoOutput(true); con.setUseCaches(false); OutputStream o... | 29,783 |
public void dumpData(PrintStream out) { out.println("Intialization Block - 32 bit mode"); for (int i = 0; i <= INIT_BLOCK_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtil... | public void dumpData(PrintStream out) { out.println("Intialization Block - 32 bit mode"); for (int i = 0; i <= INIT_BLOCK_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtil... | 29,784 |
public void dumpData(PrintStream out) { out.println("Intialization Block - 32 bit mode"); for (int i = 0; i <= INIT_BLOCK_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtil... | public void dumpData(PrintStream out) { out.println("Intialization Block - 32 bit mode"); for (int i = 0; i <= INIT_BLOCK_SIZE - 1; i += 4) { out.println( "0x" + NumberUtils.hex( Address.as32bit(mem.getAddress()) + offset + i) + " : 0x" + NumberUtils.hex((byte) i) + " : 0x" + NumberUtil... | 29,785 |
public void dumpData(PrintStream out) { out.println("Receive Ring Descriptors - 32 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); rxDescriptors[i].dumpData(out); } } | public void dumpData(PrintStream out) { out.println("Receive Ring Descriptors - 32 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); rxDescriptors[i].dumpData(out); } } | 29,786 |
public void dumpData(PrintStream out) { out.println("Receive Ring Descriptors - 32 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); rxDescriptors[i].dumpData(out); } } | public void dumpData(PrintStream out) { out.println("Receive Ring Descriptors - 32 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); rxDescriptors[i].dumpData(out); } } | 29,787 |
public void dumpData(PrintStream out) { out.println("Transmit Ring Descriptors - 16 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); txDescriptors[i].dumpData(out); } } | public void dumpData(PrintStream out) { out.println("Transmit Ring Descriptors - 16 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); txDescriptors[i].dumpData(out); } } | 29,788 |
public void dumpData(PrintStream out) { out.println("Transmit Ring Descriptors - 16 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); txDescriptors[i].dumpData(out); } } | public void dumpData(PrintStream out) { out.println("Transmit Ring Descriptors - 16 bit mode"); for (int i = 0; i < length; i++) { out.println("Descriptor " + i); txDescriptors[i].dumpData(out); } } | 29,789 |
public boolean equals(Object o) { if (this == o) return true; BitString that = (BitString) o; // True for cloned instances. if (this.bytes == that.bytes && this.ignoredBits == that.ignoredBits) return true; if (this.ignoredBits == that.ignoredBits) return Arrays.equals(this.bytes, that.... | public boolean equals(Object o) { if (this == o) return true; BitString that = (BitString) o; // True for cloned instances. if (this.bytes == that.bytes && this.ignoredBits == that.ignoredBits) return true; if (this.ignoredBits == that.ignoredBits) return Arrays.equals(this.bytes, that.... | 29,790 |
protected AbstractQueue() { } | protected AbstractQueue() { } | 29,793 |
public boolean add(E value) { if (offer(value)) return true; throw new IllegalStateException(); } | public boolean add(E value) { if (offer(value)) return true; throw new IllegalStateException(); } | 29,794 |
public boolean addAll(Collection<? extends E> c) { if (c == this) throw new IllegalArgumentException(); boolean result = false; for (E val : c) { if (add(val)) result = true; } return result; } | public boolean addAll(Collection<? extends E> c) { if (c == this) throw new IllegalArgumentException(); boolean result = false; for (E val : c) { if (add(val)) result = true; } return result; } | 29,795 |
public void clear() { while (poll() != null) ; } | public void clear() { while (poll() != null) ; } | 29,796 |
public E element() { E result = peek(); if (result == null) throw new NoSuchElementException(); return result; } | public E element() { E result = peek(); if (result == null) throw new NoSuchElementException(); return result; } | 29,797 |
public E remove() { E result = poll(); if (result == null) throw new NoSuchElementException(); return result; } | public E remove() { E result = poll(); if (result == null) throw new NoSuchElementException(); return result; } | 29,798 |
private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | CompletionInfo complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | 29,799 |
private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } completion = new CompletionInfo(); String result = null; try { ... | 29,800 |
private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | 29,801 |
private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | 29,802 |
private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | 29,803 |
private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | private String complete(String partial) { // workaround to set the currentShell to this shell try { ShellUtils.getShellManager().registerShell(this); } catch (NameNotFoundException ex) { } dirty = false; String result = null; try { CommandLine c... | 29,804 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,805 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,806 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,807 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,808 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,809 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,810 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,811 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,812 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,813 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,814 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,815 |
public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | public void keyPressed(KeyboardEvent ke) { // make sure we are ready to intercept the keyboard if (!isActive) return; switch (ke.getKeyCode()) { // intercept the up and down arrow keys case KeyEvent.VK_UP: ke.consume(); if (historyIndex == -1) { ... | 29,816 |
public void list(String[] items) { System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[ i]); dirty = true; } | public void list(String[] items) { System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[ i]); dirty = true; } | 29,817 |
private void redisplay() { // clear the line if (console != null) { console.clearLine(console.getCursorY()); } // display the prompt out.print(currentPrompt); // display the required history/current line if (historyIndex == -1) currentLine = ... | private void redisplay() { // clear the line if (console != null) { console.clearLine(console.getCursorY()); } // display the prompt out.print(currentPrompt); // display the required history/current line if (historyIndex == -1) currentLine = ... | 29,818 |
private void redisplay() { // clear the line if (console != null) { console.clearLine(console.getCursorY()); } // display the prompt out.print(currentPrompt); // display the required history/current line if (historyIndex == -1) currentLine = ... | private void redisplay() { // clear the line if (console != null) { console.clearLine(console.getCursorY()); } // display the prompt out.print(currentPrompt); // display the required history/current line if (historyIndex == -1) currentLine.se... | 29,819 |
private void redisplay() { // clear the line if (console != null) { console.clearLine(console.getCursorY()); } // display the prompt out.print(currentPrompt); // display the required history/current line if (historyIndex == -1) currentLine = ... | private void redisplay() { // clear the line if (console != null) { console.clearLine(console.getCursorY()); } // display the prompt out.print(currentPrompt); // display the required history/current line if (historyIndex == -1) currentLine = ... | 29,820 |
private void refreshCurrentLine() { try { int y = console.getCursorY(); console.clearLine(y); /* * Uncomment this to display cursor position * console.clearLine(y-25); console.setCursor(0, y-1); * err.print("Cursor pos : x = "+currentPrompt... | private void refreshCurrentLine() { try { int y = console.getCursorY(); console.clearLine(y); /* * Uncomment this to display cursor position * console.clearLine(y-25); console.setCursor(0, y-1); * err.print("Cursor pos : x = "+currentPrompt... | 29,821 |
public void run() { // Run commands from the JNode commandline first final String cmdLine = (String) AccessController .doPrivileged(new GetPropertyAction("jnode.cmdline", "")); final StringTokenizer tok = new StringTokenizer(cmdLine); while (tok.hasMoreTokens()) { ... | public void run() { // Run commands from the JNode commandline first final String cmdLine = (String) AccessController .doPrivileged(new GetPropertyAction("jnode.cmdline", "")); final StringTokenizer tok = new StringTokenizer(cmdLine); while (tok.hasMoreTokens()) { ... | 29,822 |
public void run() { // Run commands from the JNode commandline first final String cmdLine = (String) AccessController .doPrivileged(new GetPropertyAction("jnode.cmdline", "")); final StringTokenizer tok = new StringTokenizer(cmdLine); while (tok.hasMoreTokens()) { ... | public void run() { // Run commands from the JNode commandline first final String cmdLine = (String) AccessController .doPrivileged(new GetPropertyAction("jnode.cmdline", "")); final StringTokenizer tok = new StringTokenizer(cmdLine); while (tok.hasMoreTokens()) { ... | 29,823 |
public static int getAlignment(AttributeSet a) { if (a.isDefined(Alignment)) return ((Integer)a.getAttribute(Alignment)).intValue(); else return ALIGN_LEFT; } | public static int getAlignment(AttributeSet a) { if (a.isDefined(Alignment)) return ((Integer)a.getAttribute(Alignment)).intValue(); else return ALIGN_LEFT; } | 29,824 |
public static Color getBackground(AttributeSet a) { if (a.isDefined(Background)) return (Color) a.getAttribute(Background); else return Color.WHITE; } | public static Color getBackground(AttributeSet a) { if (a.isDefined(Background)) return (Color) a.getAttribute(Background); else return Color.WHITE; } | 29,825 |
public static Color getBackground(AttributeSet a) { if (a.isDefined(Background)) return (Color) a.getAttribute(Background); else return Color.WHITE; } | public static Color getBackground(AttributeSet a) { if (a.isDefined(Background)) return (Color) a.getAttribute(Background); else return Color.BLACK; } | 29,826 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.