bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,255
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,256
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,257
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,258
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,259
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,260
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,261
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,262
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,263
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,264
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,265
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,266
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,267
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,268
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,269
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,270
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
private void findMethods(Class beanClass, String getMethodName, String setMethodName, String getIndexName, String setIndexName) throws IntrospectionException { try { if (getIndexName != null) { try { Class[] getArgs = new Class[1]; getArgs[0] = java.lang.Integer.TYPE; getIndex = beanClass.getMethod(...
30,271
private void patchNext (Recognizer theNext, Hashtable table) { // backpointers must not be repatched or followed if ((flags & F_LOOPNEXT) != 0) return; // XXX this table "shouldn't" be needed, right? // but some choice nodes looped if it isn't there. if (table != null && table.get (this) != null) ...
private void patchNext (Recognizer theNext, Hashtable table) { // backpointers must not be repatched or followed if ((flags & F_LOOPNEXT) != 0) return; // XXX this table "shouldn't" be needed, right? // but some choice nodes looped if it isn't there. if (table != null && table.get (this) != null) ...
30,272
public static boolean isUnicodeIdentifierStart(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << LETTER_NUMBER)...
public static boolean isUnicodeIdentifierStart(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << LETTER_NUMBER)...
30,273
public static boolean isUnicodeIdentifierPart(char ch) { int category = getType(ch); return ((1 << category) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) ...
public static boolean isUnicodeIdentifierPart(char ch) { int category = getType(ch); return ((1 << category) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) ...
30,274
public Element getCharacterElement(int position) { Element element = getDefaultRootElement(); while (! element.isLeaf()) { int index = element.getElementIndex(position); element = element.getElement(index); } return element; }
public Element getCharacterElement(int position) { Element element = getDefaultRootElement(); while (!element.isLeaf()) { int index = element.getElementIndex(position); element = element.getElement(index); } return element; }
30,275
public Dimension getMinimumSize(JComponent c) { JScrollPane p = (JScrollPane ) c; ScrollPaneLayout sl = (ScrollPaneLayout) p.getLayout(); return sl.minimumLayoutSize(c); }
public Dimension getMinimumSize(JComponent c) { JScrollPane p = (JScrollPane) c; ScrollPaneLayout sl = (ScrollPaneLayout) p.getLayout(); return sl.minimumLayoutSize(c); }
30,276
public void uninstallUI(final JComponent c) { super.uninstallUI(c); this.uninstallDefaults((JScrollPane)c); uninstallListeners((JScrollPane) c); installKeyboardActions((JScrollPane) c); }
public void uninstallUI(final JComponent c) { super.uninstallUI(c); this.uninstallDefaults((JScrollPane) c); uninstallListeners((JScrollPane) c); installKeyboardActions((JScrollPane) c); }
30,277
public int getWheelRotation() { return wheelRotation; }
public int getWheelRotation() { return wheelRotation; }
30,278
public Dimension getExtentSize() { if (extentSize == null) return getPreferredSize(); else return extentSize; }
public Dimension getExtentSize() { if (extentSize == null) return toViewCoordinates(getSize()); else return extentSize; }
30,279
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
30,280
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
30,281
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
30,282
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
public BlockReservation findFreeBlocks(int group, long threshold) throws IOException{ GroupDescriptor gdesc = groupDescriptors[group]; //see if it's worth to check the block group at all if( gdesc.getFreeBlocksCount() < threshold) return new BlockReservation(false, -1, -1, gdesc.getFreeBlocksCount()); /* Retur...
30,283
protected INodeReservation findFreeINode(int blockGroup) throws IOException{ GroupDescriptor gdesc = groupDescriptors[blockGroup]; if(gdesc.getFreeInodesCount()> 0) { byte[] bitmap = getBlock( gdesc.getInodeBitmap() ); synchronized(bitmap) { INodeReservation result = INodeBitmap.findFreeINode(bitmap); ...
protected INodeReservation findFreeINode(int blockGroup) throws IOException{ GroupDescriptor gdesc = groupDescriptors[blockGroup]; if(gdesc.getFreeInodesCount()> 0) { byte[] bitmap = getBlock( gdesc.getInodeBitmap() ); synchronized(bitmap) { INodeReservation result = INodeBitmap.findFreeINode(bitmap); ...
30,284
protected INodeReservation findFreeINode(int blockGroup) throws IOException{ GroupDescriptor gdesc = groupDescriptors[blockGroup]; if(gdesc.getFreeInodesCount()> 0) { byte[] bitmap = getBlock( gdesc.getInodeBitmap() ); synchronized(bitmap) { INodeReservation result = INodeBitmap.findFreeINode(bitmap); ...
protected INodeReservation findFreeINode(int blockGroup) throws IOException{ GroupDescriptor gdesc = groupDescriptors[blockGroup]; if(gdesc.getFreeInodesCount()> 0) { byte[] bitmap = getBlock( gdesc.getInodeBitmap() ); synchronized(bitmap) { INodeReservation result = INodeBitmap.findFreeINode(bitmap); ...
30,285
protected INodeReservation findFreeINode(int blockGroup) throws IOException{ GroupDescriptor gdesc = groupDescriptors[blockGroup]; if(gdesc.getFreeInodesCount()> 0) { byte[] bitmap = getBlock( gdesc.getInodeBitmap() ); synchronized(bitmap) { INodeReservation result = INodeBitmap.findFreeINode(bitmap); ...
protected INodeReservation findFreeINode(int blockGroup) throws IOException{ GroupDescriptor gdesc = groupDescriptors[blockGroup]; if(gdesc.getFreeInodesCount()> 0) { byte[] bitmap = getBlock( gdesc.getInodeBitmap() ); synchronized(bitmap) { INodeReservation result = INodeBitmap.findFreeINode(bitmap); ...
30,286
public void freeBlock(long blockNr) throws FileSystemException, IOException{ if(blockNr<0 || blockNr>=superblock.getBlocksCount()) throw new FileSystemException("Attempt to free nonexisting block ("+blockNr+")"); int group = translateToGroup(blockNr); int index = translateToIndex(blockNr); GroupDescriptor gde...
public void freeBlock(long blockNr) throws FileSystemException, IOException{ if(blockNr<0 || blockNr>=superblock.getBlocksCount()) throw new FileSystemException("Attempt to free nonexisting block ("+blockNr+")"); int group = translateToGroup(blockNr); int index = translateToIndex(blockNr); GroupDescriptor gde...
30,287
public INode getINode(int iNodeNr) throws IOException, FileSystemException{ if((iNodeNr<1)||(iNodeNr>superblock.getINodesCount())) throw new FileSystemException("INode number ("+iNodeNr+") out of range (0-"+superblock.getINodesCount()+")"); Integer key=new Integer(iNodeNr); //log.debug("iNodeCache size: "+in...
publiclog.debug("iNodeCache size: "+inodeCache.size()); INodelog.debug("iNodeCache size: "+inodeCache.size()); getINode(intlog.debug("iNodeCache size: "+inodeCache.size()); iNodeNr)log.debug("iNodeCache size: "+inodeCache.size()); throwslog.debug("iNodeCache size: "+inodeCache.size()); IOException,log.debug("iNodeCach...
30,288
public BlockReservation testAndSetBlock(long blockNr) throws IOException{ if(blockNr<superblock.getFirstDataBlock() || blockNr>=superblock.getBlocksCount()) return new BlockReservation(false, -1, -1); int group = translateToGroup(blockNr); int index = translateToIndex(blockNr); /* Return false if the block is no...
public BlockReservation testAndSetBlock(long blockNr) throws IOException{ if(blockNr<superblock.getFirstDataBlock() || blockNr>=superblock.getBlocksCount()) return new BlockReservation(false, -1, -1); int group = translateToGroup(blockNr); int index = translateToIndex(blockNr); /* Return false if the block is no...
30,289
public BlockReservation testAndSetBlock(long blockNr) throws IOException{ if(blockNr<superblock.getFirstDataBlock() || blockNr>=superblock.getBlocksCount()) return new BlockReservation(false, -1, -1); int group = translateToGroup(blockNr); int index = translateToIndex(blockNr); /* Return false if the block is no...
public BlockReservation testAndSetBlock(long blockNr) throws IOException{ if(blockNr<superblock.getFirstDataBlock() || blockNr>=superblock.getBlocksCount()) return new BlockReservation(false, -1, -1); int group = translateToGroup(blockNr); int index = translateToIndex(blockNr); /* Return false if the block is no...
30,290
public BlockCache(int initialCapacity, float loadFactor) { super(initialCapacity, loadFactor, true); cacheListeners = new Vector(); }
public BlockCache(int initialCapacity, float loadFactor) { super(initialCapacity, loadFactor, true); cacheListeners = new Vector(); }
30,291
protected long getINodeNr() { return desc.getINodeNr(); }
protected long getINodeNr() { return desc.getINodeNr(); }
30,293
public VmClassType( String name, VmNormalClass superClass, AbstractVmClassLoader loader, boolean primitive, int typeSize) { super(name, superClass, loader, primitive, typeSize); }
public VmClassType( String name, VmNormalClass superClass, AbstractVmClassLoader loader, boolean primitive, int typeSize) { super(name, superClass, loader, primitive, typeSize); }
30,294
private void startTimer() { timer.schedule(task = new TimerTask() { Calendar calendar = new GregorianCalendar(); public void run() { calendar.setTimeInMillis(System.currentTimeMillis()); int h = calendar.get(Calendar.HOUR_OF_DAY); ...
private void startTimer() { timer.schedule(task = new TimerTask() { Calendar calendar = new GregorianCalendar(); public void run() { calendar.setTimeInMillis(System.currentTimeMillis()); int h = calendar.get(Calendar.HOUR_OF_DAY); ...
30,295
public void run() { calendar.setTimeInMillis(System.currentTimeMillis()); int h = calendar.get(Calendar.HOUR_OF_DAY); int m = calendar.get(Calendar.MINUTE); setText((h < 10 ? "0" : "") + h + ":" + (m < 10 ? "0" : "") + m); ...
public void run() { calendar.setTimeInMillis(System.currentTimeMillis()); int h = calendar.get(Calendar.HOUR_OF_DAY); int m = calendar.get(Calendar.MINUTE); setText((h < 10 ? "0" : "") + h + ":" + (m < 10 ? "0" : "") + m); ...
30,296
public Timer(boolean daemon) { this(daemon, Thread.NORM_PRIORITY); }
public Timer() { this(daemon, Thread.NORM_PRIORITY); }
30,297
public Timer(boolean daemon) { this(daemon, Thread.NORM_PRIORITY); }
public Timer(boolean daemon) { this(false); }
30,298
public RESyntax(RESyntax other) { bits = (BitSet) other.bits.clone(); }
public RESyntax(RESyntax other) { bits = (BitSet) other.bits.clone(); }
30,299
public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); }
public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); }
30,300
protected byte[] getSelfSignedCertificate(X500DistinguishedName distinguishedName, PublicKey publicKey, PrivateKey privateKey) throws IOException, SignatureException, InvalidKeyException { log.entering(this.getClass().getNa...
protectedbyte[]getSelfSignedCertificate(X500DistinguishedNamedistinguishedName,PublicKeypublicKey,PrivateKeyprivateKey)throwsIOException,SignatureException,InvalidKeyException{log.entering(this.getClass().getName(),"getSelfSignedCertificate",//$NON-NLS-1$newObject[]{distinguishedName,publicKey,privateKey});byte[]versio...
30,301
protected byte[] getSelfSignedCertificate(X500DistinguishedName distinguishedName, PublicKey publicKey, PrivateKey privateKey) throws IOException, SignatureException, InvalidKeyException { log.entering(this.getClass().getNa...
if (Configuration.DEBUG) if (Configuration.DEBUG) protectedif (Configuration.DEBUG) byte[]if (Configuration.DEBUG) getSelfSignedCertificate(X500DistinguishedNameif (Configuration.DEBUG) distinguishedName,if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuratio...
30,302
String[] processArgs(String[] args) { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ Parser cmdOptionsParser = getParser(); String[] result = cmdOptionsParser.parse(args); log.exiting(this.getClass().getName(), "processArgs", result); //$NON-NLS-1$ return result; }
String[]processArgs(String[]args){log.entering(this.getClass().getName(),"processArgs",args);//$NON-NLS-1$ParsercmdOptionsParser=getParser();String[]result=cmdOptionsParser.parse(args);log.exiting(this.getClass().getName(),"processArgs",result);//$NON-NLS-1$returnresult;}
30,303
String[] processArgs(String[] args) { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ Parser cmdOptionsParser = getParser(); String[] result = cmdOptionsParser.parse(args); log.exiting(this.getClass().getName(), "processArgs", result); //$NON-NLS-1$ return result; }
if (Configuration.DEBUG) if (Configuration.DEBUG) String[]if (Configuration.DEBUG) processArgs(String[]if (Configuration.DEBUG) args)if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this.getClass().getName...
30,304
protected void setKeystorePasswordParam(String password) throws IOException, UnsupportedCallbackException { if (password != null) storePasswordChars = password.toCharArray(); else // ask the user to provide one { String prompt = Messages.getString("Command.24"); //$NON-NLS-1$ Passw...
private void setKeystorePasswordParam(String password) throws IOException, UnsupportedCallbackException { if (password != null) storePasswordChars = password.toCharArray(); else // ask the user to provide one { String prompt = Messages.getString("Command.24"); //$NON-NLS-1$ Passwor...
30,305
protected void setKeystoreTypeParam(String type) { log.finest("setKeystoreTypeParam(" + type + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (type == null || type.trim().length() == 0) storeType = KeyStore.getDefaultType(); else storeType = type.trim(); }
private void setKeystoreTypeParam(String type) { log.finest("setKeystoreTypeParam(" + type + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (type == null || type.trim().length() == 0) storeType = KeyStore.getDefaultType(); else storeType = type.trim(); }
30,306
protected void setKeystoreTypeParam(String type) { log.finest("setKeystoreTypeParam(" + type + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (type == null || type.trim().length() == 0) storeType = KeyStore.getDefaultType(); else storeType = type.trim(); }
protected void setKeystoreTypeParam(String type) { if (Configuration.DEBUG) log.fine("setKeystoreTypeParam(" + type + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (type == null || type.trim().length() == 0) storeType = KeyStore.getDefaultType(); else storeType = type.trim(); }
30,307
protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S...
private void setKeystoreURLParam(boolean createIfNotFound, String url, String password) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || ...
30,308
protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S...
protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { if (Configuration.DEBUG) log.fine("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length(...
30,309
protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S...
if (createIfNotFound) if (createIfNotFound) protected if (createIfNotFound) void if (createIfNotFound) setKeystoreURLParam(String if (createIfNotFound) url) if (createIfNotFound) throws if (createIfNotFound) IOException, if (createIfNotFound) if (createIfNotFound) if (createIfNotFound) if (createIfNotFound) if (c...
30,310
protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S...
} } protected} void} setKeystoreURLParam(String} url)} throws} IOException,} } } } } } KeyStoreException,} UnsupportedCallbackException,} NoSuchAlgorithmException,} } } } } } CertificateException} } {} } } } log.finest("setKeystoreURLParam("} +} url} +} ")");} //$NON-NLS-1$} //$NON-NLS-2$} } } } if} (url} ==} null} ||}...
30,311
protected void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(cla...
private void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(class...
30,313
protected void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(cla...
protected void setProviderClassNameParam(String className) { if (Configuration.DEBUG) log.fine("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = Provi...
30,314
protected void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(cla...
} } protected} void} setProviderClassNameParam(String} className)} } {} } } } log.finest("setProviderClassNameParam("} +} className} +} ")");} //$NON-NLS-1$} //$NON-NLS-2$} } } } if} (className} !=} null} &&} className.trim().length()} >} 0)} } } } } } {} } } } } } } } className} =} className.trim();} } } } } } } } Sec...
30,315
void teardown() { log.entering(this.getClass().getName(), "teardown"); //$NON-NLS-1$ if (storeStream != null) try { storeStream.close(); } catch (IOException ignored) { log.fine("Exception while closing key store URL stream. Ignored: " //$NON-NLS-1$ ...
voidteardown(){log.entering(this.getClass().getName(),"teardown");//$NON-NLS-1$if(storeStream!=null)try{storeStream.close();}catch(IOExceptionignored){log.fine("ExceptionwhileclosingkeystoreURLstream.Ignored:"//$NON-NLS-1$+ignored);}if(outStream!=null){try{outStream.flush();}catch(IOExceptionignored){}if(!systemOut)try...
30,316
public void addShutdownHook(Thread hook) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); if (hook.isAlive() || hook.getThreadGroup() == null) throw new IllegalArgumentException("The hook thread " + hook + " must...
public void addShutdownHook(Thread hook) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); if (hook.isAlive() || hook.getThreadGroup() == null) throw new IllegalArgumentException("The hook thread " + hook ...
30,318
public boolean removeShutdownHook(Thread hook) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); synchronized (libpath) { if (exitSequence != null) throw new IllegalStateException(); if (shu...
public boolean removeShutdownHook(Thread hook) { SecurityManager sm = SecurityManager.current; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); synchronized (libpath) { if (exitSequence != null) throw new IllegalStateException(); ...
30,320
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); }
public synchronized void parse(String[] inArgs, FileArgumentCallback files) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.to...
30,321
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); }
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); }
30,322
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); }
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { args = inArgs; for (currentIndex = 0; currentIndex < args.length; ++currentIndex) { if (args[currentIndex].length()...
30,323
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); }
public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); }
30,324
public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d) { this(Registry.RAW_ENCODING_ID, p, q, e, d); }
public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d) { this(Registry.RAW_ENCODING_ID, p, q, e, d); }
30,325
public boolean equals(final Object obj) { if (obj == null) { return false; } if (obj instanceof RSAPrivateKey) { final RSAPrivateKey that = (RSAPrivateKey) obj; return super.equals(that) && d.equals(that.getPrivateExponent()); } if (obj instanceof RSAPrivateCrtKey) ...
public boolean equals(final Object obj) if (obj == null) return false; } if (obj instanceof RSAPrivateKey) final RSAPrivateKey that = (RSAPrivateKey) obj; return super.equals(that) && d.equals(that.getPrivateExponent()); } if (obj instanceof RSAPrivateCrtKey) ...
30,326
public boolean equals(final Object obj) { if (obj == null) { return false; } if (obj instanceof RSAPrivateKey) { final RSAPrivateKey that = (RSAPrivateKey) obj; return super.equals(that) && d.equals(that.getPrivateExponent()); } if (obj instanceof RSAPrivateCrtKey) ...
public boolean equals(final Object obj) { if (obj == null) { return false; if (obj instanceof RSAPrivateKey) { final RSAPrivateKey that = (RSAPrivateKey) obj; return super.equals(that) && d.equals(that.getPrivateExponent()); if (obj instanceof RSAPrivateCrtKey) ...
30,327
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("d=0x").append(DEBUG ? d.toString(16) : "**...*...
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("d=0x").appen...
30,328
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("d=0x").append(DEBUG ? d.toString(16) : "**...*...
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("d=0x").append(DEBUG ? d.toString(16) : "**...*...
30,329
public static GnuRSAPrivateKey valueOf(final byte[] k) { // try RAW codec if (k[0] == Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]) try { return (GnuRSAPrivateKey) new RSAKeyPairRawCodec().decodePrivateKey(k); } catch (IllegalArgumentException ignored) { } // try PKCS#8 codec...
publicstaticGnuRSAPrivateKeyvalueOf(finalbyte[]k){//tryRAWcodecif(k[0]==Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0])try{return(GnuRSAPrivateKey)newRSAKeyPairRawCodec().decodePrivateKey(k);}catch(IllegalArgumentExceptionignored){}//tryPKCS#8codecreturn(GnuRSAPrivateKey)newRSAKeyPairPKCS8Codec().decodePrivateKey(k);}
30,330
public final Class getCategory() { return PagesPerMinute.class; }
public Class getCategory() { return PagesPerMinute.class; }
30,331
public final String getName() { return "pages-per-minute"; }
public String getName() { return "pages-per-minute"; }
30,332
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { // Just return when no text to insert was given. if (text == null || text.length() == 0) return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), Doc...
publicvoidinsertString(intoffset,Stringtext,AttributeSetattributes)throwsBadLocationException{//Justreturnwhennotexttoinsertwasgiven.if(text==null||text.length()==0)return;DefaultDocumentEventevent=newDefaultDocumentEvent(offset,text.length(), DocumentEvent.EventType.INSERT);writeLock();UndoableEditundo=content.inser...
30,333
TableTextField() { setBorder(null); }
TableTextField() { setBorder(BorderFactory.createLineBorder(getGridColor(), 2)); }
30,335
public void scrollRectToVisible(Rectangle r) { // In private class we known that the rectangle data will not be // reused and we need not to clone it. r.translate(getX(), getY()); super.scrollRectToVisible(r); }
public void scrollRectToVisible(Rectangle r) { // In private class we known that the rectangle data will not be // reused and we need not to clone it. r.translate(getX(), getY()); super.scrollRectToVisible(r); }
30,336
private void moveToCellBeingEdited(Component component) { Rectangle r = getCellRect(editingRow, editingColumn, true); // Place the text field so that it would not touch the table // border. // TODO Figure out while 5 and which constant should here be. int xOffset = 5; r.x+=xOffset; r...
private void moveToCellBeingEdited(Component component) { Rectangle r = getCellRect(editingRow, editingColumn, true); // Place the text field so that it would not touch the table // border. // TODO Figure out while 5 and which constant should here be. int xOffset = 5; r.x+=xOffset; r...
30,337
public void updateUI() { setUI((TableUI) UIManager.getUI(this)); revalidate(); repaint(); }
public void updateUI() { setUI((TableUI) UIManager.getUI(this)); revalidate(); repaint(); }
30,338
private IntItem(int kind, Register reg, int value, int local) { super(kind, reg, local); this.value = value; }
private IntItem(int kind, Register reg, int value, int local) { super(kind, reg, local); this.value = value; }
30,339
static IntItem createConst(int value) { return new IntItem(Kind.CONSTANT, null, value, 0); }
static IntItem createConst(int value) { return new IntItem(Kind.CONSTANT, null, value, 0); }
30,340
static IntItem createFPUStack() { return new IntItem(Kind.FPUSTACK, null, 0, 0); }
static IntItem createFPUStack() { return new IntItem(Kind.FPUSTACK, null, 0, 0); }
30,341
static IntItem createLocal(int offsetToFP) { return new IntItem(Kind.LOCAL, null, 0, offsetToFP); }
static IntItem createLocal(int offsetToFP) { return new IntItem(Kind.LOCAL, null, 0, offsetToFP); }
30,342
static IntItem createReg(Register reg) { return new IntItem(Kind.REGISTER, reg, 0, 0); }
static IntItem createReg(Register reg) { return new IntItem(Kind.REGISTER, reg, 0, 0); }
30,343
static IntItem createStack() { return new IntItem(Kind.STACK, null, 0, 0); }
static IntItem createStack() { return new IntItem(Kind.STACK, null, 0, 0); }
30,344
int getType() { return JvmType.INT; }
int getType() { return JvmType.INT; }
30,345
int getValue() { assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return value; }
int getValue() { assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return value; }
30,346
protected void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register reg) { if (value != 0) { os.writeMOV_Const(reg, value); } else { os.writeXOR(reg, reg); } }
protected void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register reg) { if (value != 0) { os.writeMOV_Const(reg, value); } else { os.writeXOR(reg, reg); } }
30,347
protected void popFromFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFISTP32(reg, disp); }
protected void popFromFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFISTP32(reg, disp); }
30,348
protected void pushConstant(EmitterContext ec, AbstractX86Stream os) { os.writePUSH(value); }
protected void pushConstant(EmitterContext ec, AbstractX86Stream os) { os.writePUSH(value); }
30,349
protected void pushToFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFILD32(reg, disp); }
protected void pushToFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFILD32(reg, disp); }
30,350
protected WordItem(int kind, Register reg, int local) { super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); }
protected WordItem(int kind, Register reg, int local) { super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); }
30,351
protected abstract void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register reg);
protected abstract void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register reg);
30,352
protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp);
protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp);
30,353
protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp);
protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp);
30,354
static Applet createApplet(AppletTag tag) { Applet applet = null; try { ClassLoader loader = getClassLoader(tag.prependCodeBase(""), tag.getArchives()); String code = tag.getCode(); if (code.endsWith(".class")) code = code.substring(...
static Applet createApplet(AppletTag tag) { Applet applet = null; try { ClassLoader loader = getClassLoader(tag.prependCodeBase(""), tag.getArchives()); String code = tag.getCode(); if (code.endsWith(".class")) code = code.substring(...
30,355
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages...
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader(Messages.getString("Main.Usage")); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages.getString ...
30,356
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages...
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup(Messages.getString("Main.AppletTagOptions")); attributeGroup.add(new Optio...
30,357
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages...
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages...
30,358
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages...
public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages...
30,359