rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
public DataSetIterator( DataSet ds ) throws IllegalArgumentException, ChartException
public DataSetIterator( Double[] dda )
public DataSetIterator( DataSet ds ) throws IllegalArgumentException, ChartException { Object oContent = ds.getValues( ); if ( ds instanceof NumberDataSet ) { iDataType = IConstants.NUMERICAL; if ( oContent instanceof Collection ) { iContentType = IConstants.COLLECTION; co = (Collection) oContent; } else if ( oContent instanceof double[] ) { iContentType = IConstants.PRIMITIVE_ARRAY; da = (double[]) oContent; } else if ( oContent instanceof Double[] ) { iContentType = IConstants.NON_PRIMITIVE_ARRAY; dda = (Double[]) oContent; } else if ( oContent instanceof Number ) { iContentType = IConstants.PRIMITIVE_ARRAY; da = new double[]{ ( (Number) oContent ).doubleValue( ) }; } } else if ( ds instanceof DateTimeDataSet ) { iDataType = IConstants.DATE_TIME; if ( oContent instanceof Collection ) { iContentType = IConstants.COLLECTION; co = (Collection) oContent; } else if ( oContent instanceof long[] ) { iContentType = IConstants.PRIMITIVE_ARRAY; la = (long[]) oContent; cReused = Calendar.getInstance( ); } else if ( oContent instanceof Calendar[] ) { iContentType = IConstants.NON_PRIMITIVE_ARRAY; ca = (Calendar[]) oContent; } updateDateTimeValues( ); } else if ( ds instanceof TextDataSet ) { iDataType = IConstants.TEXT; if ( oContent instanceof Collection ) { iContentType = IConstants.COLLECTION; co = (Collection) oContent; } else if ( oContent instanceof String[] ) { iContentType = IConstants.NON_PRIMITIVE_ARRAY; sa = (String[]) oContent; } } else if ( ds instanceof StockDataSet ) { iDataType = IConstants.OTHER; if ( oContent instanceof Collection ) { iContentType = IConstants.COLLECTION; co = (Collection) oContent; } else if ( oContent instanceof Object[] ) { iContentType = IConstants.NON_PRIMITIVE_ARRAY; oa = (Object[]) oContent; } iDataType = IConstants.UNDEFINED; } if ( iContentType == IConstants.UNDEFINED ) { throw new IllegalArgumentException( MessageFormat.format( ResourceBundle.getBundle( Messages.ENGINE, Locale.getDefault( ) // LOCALE? ) .getString( "exception.process.content.dataset" ), //$NON-NLS-1$ new Object[]{ oContent, ds } ) ); } if ( co != null ) { it = co.iterator( ); } iRowCount = getRowCountInternal( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ae8909f5c697c610266e491d0af9a02eed14e2e4/DataSetIterator.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/DataSetIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14065, 3198, 12, 14065, 3780, 262, 1216, 2754, 16, 1082, 202, 7984, 503, 202, 95, 202, 202, 921, 320, 1350, 273, 3780, 18, 588, 1972, 12, 11272, 202, 202, 430, 261, 3780, 1276, 3588, 13676, 262, 202, 202, 95, 1082, 202, 77, 6273, 273, 467, 2918, 18, 6069, 654, 10109, 31, 1082, 202, 430, 261, 320, 1350, 1276, 2200, 262, 1082, 202, 95, 9506, 202, 77, 8046, 273, 467, 2918, 18, 25964, 31, 9506, 202, 2894, 273, 261, 2532, 13, 320, 1350, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 320, 1350, 1276, 1645, 8526, 262, 1082, 202, 95, 9506, 202, 77, 8046, 273, 467, 2918, 18, 7698, 6068, 5354, 67, 8552, 31, 9506, 202, 2414, 273, 261, 9056, 63, 5717, 320, 1350, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 320, 1350, 1276, 3698, 8526, 262, 1082, 202, 95, 9506, 202, 77, 8046, 273, 467, 2918, 18, 3993, 67, 7698, 6068, 5354, 67, 8552, 31, 9506, 202, 449, 69, 273, 261, 5265, 63, 5717, 320, 1350, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 320, 1350, 1276, 3588, 262, 1082, 202, 95, 9506, 202, 77, 8046, 273, 467, 2918, 18, 7698, 6068, 5354, 67, 8552, 31, 9506, 202, 2414, 273, 394, 1645, 63, 7073, 6862, 202, 12, 261, 1854, 13, 320, 1350, 262, 18, 9056, 620, 12, 262, 9506, 202, 20451, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 3780, 1276, 3716, 13676, 262, 202, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14065, 3198, 12, 14065, 3780, 262, 1216, 2754, 16, 1082, 202, 7984, 503, 202, 95, 202, 202, 921, 320, 1350, 273, 3780, 18, 588, 1972, 12, 11272, 202, 202, 430, 261, 3780, 1276, 3588, 13676, 262, 202, 202, 95, 1082, 202, 77, 6273, 273, 467, 2918, 18, 6069, 654, 10109, 31, 1082, 202, 430, 261, 320, 1350, 1276, 2200, 262, 1082, 202, 95, 9506, 202, 77, 8046, 273, 467, 2918, 18, 25964, 31, 9506, 202, 2894, 273, 261, 2532, 13, 320, 1350, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 320, 1350, 1276, 1645, 8526, 262, 1082, 202, 95, 9506, 202, 77, 8046, 273, 467, 2918, 18, 7698, 6068, 5354, 67, 8552, 31, 9506, 202, 2 ]
ASTNode lastChild = last == null ? null : last.getTreeNext(); final ASTNode prevElement = TreeUtil.prevLeaf(first); final ASTNode nextElement = findElementAfter(last == null ? parent : last, false); final ArrayList<PsiElement> dirtyElements = new ArrayList<PsiElement>(); if (nextElement != null) { saveIndents(nextElement, dirtyElements); } try { boolean adjustWSBefore = containLineBreaks(first, lastChild); if (!mustKeepFirstIndent(prevElement, parent)) { adjustWSBefore = true; } parent.removeRange(first, lastChild); if (!adjustWSBefore && parent.getTextLength() == 0 && prevElement != null && isWS(prevElement) && !prevElement.textContains('\n')) { adjustWSBefore = true; } final PsiFile file = parent.getPsi().getContainingFile(); final CodeStyleSettings.IndentOptions options = CodeStyleSettingsManager.getSettings(file.getProject()) .getIndentOptions(file.getFileType()); if (nextElement != null) { adjustSpacePositions(nextElement, prevElement, options); if (prevElement != null) { FormatterUtil.join(prevElement, TreeUtil.nextLeaf(prevElement)); } if (adjustWSBefore) { adjustWhiteSpaceBefore(nextElement, true, true, true, false); } } else { final ASTNode fileNode = SourceTreeToPsiMap.psiElementToTree(parent.getPsi().getContainingFile()); ASTNode lastLeaf = TreeUtil.findLastLeaf(fileNode); if (isWS(lastLeaf)) { delete(lastLeaf); } } } finally { clearIndentInfo(dirtyElements);
if (Formatter.getInstance().isActive()) { parent.removeRange(first, findLastChild(last)); } else { removeChildrenAndAdjustWhiteSpaces(first, last, parent);
public static void removeChildren(CompositeElement parent, ASTNode first, ASTNode last) { checkAllWhiteSpaces(parent); ASTNode lastChild = last == null ? null : last.getTreeNext(); final ASTNode prevElement = TreeUtil.prevLeaf(first); final ASTNode nextElement = findElementAfter(last == null ? parent : last, false); final ArrayList<PsiElement> dirtyElements = new ArrayList<PsiElement>(); if (nextElement != null) { saveIndents(nextElement, dirtyElements); } try { boolean adjustWSBefore = containLineBreaks(first, lastChild); if (!mustKeepFirstIndent(prevElement, parent)) { adjustWSBefore = true; } parent.removeRange(first, lastChild); if (!adjustWSBefore && parent.getTextLength() == 0 && prevElement != null && isWS(prevElement) && !prevElement.textContains('\n')) { adjustWSBefore = true; } final PsiFile file = parent.getPsi().getContainingFile(); final CodeStyleSettings.IndentOptions options = CodeStyleSettingsManager.getSettings(file.getProject()) .getIndentOptions(file.getFileType()); if (nextElement != null) { adjustSpacePositions(nextElement, prevElement, options); if (prevElement != null) { FormatterUtil.join(prevElement, TreeUtil.nextLeaf(prevElement)); } if (adjustWSBefore) { adjustWhiteSpaceBefore(nextElement, true, true, true, false); } } else { final ASTNode fileNode = SourceTreeToPsiMap.psiElementToTree(parent.getPsi().getContainingFile()); ASTNode lastLeaf = TreeUtil.findLastLeaf(fileNode); if (isWS(lastLeaf)) { delete(lastLeaf); } } } finally { clearIndentInfo(dirtyElements); } checkAllWhiteSpaces(parent); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/7a52f4da42ba88dd7975588bd16a0bb46effc9d2/CodeEditUtil.java/buggy/source/com/intellij/psi/impl/source/codeStyle/CodeEditUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1206, 4212, 12, 9400, 1046, 982, 16, 9183, 907, 1122, 16, 9183, 907, 1142, 13, 288, 565, 866, 1595, 13407, 12077, 12, 2938, 1769, 565, 9183, 907, 30006, 273, 1142, 422, 446, 692, 446, 294, 1142, 18, 588, 2471, 2134, 5621, 565, 727, 9183, 907, 2807, 1046, 273, 4902, 1304, 18, 10001, 9858, 12, 3645, 1769, 565, 727, 9183, 907, 14512, 273, 1104, 1046, 4436, 12, 2722, 422, 446, 692, 982, 294, 1142, 16, 629, 1769, 565, 727, 2407, 32, 52, 7722, 1046, 34, 9603, 3471, 273, 394, 2407, 32, 52, 7722, 1046, 34, 5621, 565, 309, 261, 4285, 1046, 480, 446, 13, 288, 5411, 1923, 3866, 4877, 12, 4285, 1046, 16, 9603, 3471, 1769, 565, 289, 565, 775, 288, 1377, 1250, 5765, 2651, 4649, 273, 912, 1670, 26806, 12, 3645, 16, 30006, 1769, 1377, 309, 16051, 11926, 11523, 3759, 7790, 12, 10001, 1046, 16, 982, 3719, 288, 3639, 5765, 2651, 4649, 273, 638, 31, 1377, 289, 1377, 982, 18, 4479, 2655, 12, 3645, 16, 30006, 1769, 1377, 309, 16051, 13362, 2651, 4649, 597, 982, 18, 588, 1528, 1782, 1435, 422, 374, 597, 2807, 1046, 480, 446, 597, 353, 2651, 12, 10001, 1046, 13, 597, 401, 10001, 1046, 18, 955, 10846, 2668, 64, 82, 26112, 288, 3639, 5765, 2651, 4649, 273, 638, 31, 1377, 289, 1377, 727, 453, 7722, 812, 585, 273, 982, 18, 588, 52, 7722, 7675, 588, 24344, 812, 5621, 1377, 727, 3356, 2885, 2628, 18, 7790, 1320, 702, 273, 3356, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1206, 4212, 12, 9400, 1046, 982, 16, 9183, 907, 1122, 16, 9183, 907, 1142, 13, 288, 565, 866, 1595, 13407, 12077, 12, 2938, 1769, 565, 9183, 907, 30006, 273, 1142, 422, 446, 692, 446, 294, 1142, 18, 588, 2471, 2134, 5621, 565, 727, 9183, 907, 2807, 1046, 273, 4902, 1304, 18, 10001, 9858, 12, 3645, 1769, 565, 727, 9183, 907, 14512, 273, 1104, 1046, 4436, 12, 2722, 422, 446, 692, 982, 294, 1142, 16, 629, 1769, 565, 727, 2407, 32, 52, 7722, 1046, 34, 9603, 3471, 273, 394, 2407, 32, 52, 7722, 1046, 34, 5621, 565, 309, 261, 4285, 1046, 480, 446, 13, 288, 5411, 1923, 3866, 4877, 12, 4285, 1046, 16, 9603, 3471, 1769, 2 ]
File[] files = new File[fileNames.length];
File[] files = new File[fileNames.length];
protected File[] getFiles(String[] fileNames) { File[] files = new File[fileNames.length]; for (int i = 0; i < fileNames.length; i++) { files[i] = new File(fileNames[i]); } return files; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/48cbfd568805d8302ff76e177e1533df1b92a834/CopyFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1387, 8526, 18262, 12, 780, 8526, 27375, 13, 288, 3639, 1387, 8526, 1390, 273, 394, 1387, 63, 768, 1557, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 27375, 18, 2469, 31, 277, 27245, 288, 5411, 1390, 63, 77, 65, 273, 394, 1387, 12, 768, 1557, 63, 77, 19226, 3639, 289, 3639, 327, 1390, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1387, 8526, 18262, 12, 780, 8526, 27375, 13, 288, 3639, 1387, 8526, 1390, 273, 394, 1387, 63, 768, 1557, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 27375, 18, 2469, 31, 277, 27245, 288, 5411, 1390, 63, 77, 65, 273, 394, 1387, 12, 768, 1557, 63, 77, 19226, 3639, 289, 3639, 327, 1390, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
db.requestFocus();
debugGui.requestFocus();
public void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); if (cmd.equals("Cancel")) { setVisible(false); value = null; } else if (cmd.equals("Select")) { if (list.getSelectedIndex() < 0) { return; } try { value = (String)list.getSelectedValue(); } catch (ArrayIndexOutOfBoundsException exc) { return; } setVisible(false); ScriptItem item = (ScriptItem)functionNames.get(value); if (item != null) { SourceInfo si = item.getSourceInfo(); String url = si.getUrl(); int lineNumber = item.getFirstLine(); FileWindow w = db.getFileWindow(url); if (w == null) { CreateFileWindow.action(db, si, lineNumber).run(); w = db.getFileWindow(url); w.setPosition(-1); } int start = w.getPosition(lineNumber-1); int end = w.getPosition(lineNumber)-1; w.textArea.select(start); w.textArea.setCaretPosition(start); w.textArea.moveCaretPosition(end); try { w.show(); db.requestFocus(); w.requestFocus(); w.textArea.requestFocus(); } catch (Exception exc) { } } } }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/7ceadc8e69bfcf427fd421373c750f8de120f15c/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 261, 4172, 18, 14963, 2932, 6691, 6, 3719, 288, 5411, 16697, 12, 5743, 1769, 5411, 460, 273, 446, 31, 3639, 289, 469, 309, 261, 4172, 18, 14963, 2932, 3391, 6, 3719, 288, 5411, 309, 261, 1098, 18, 588, 7416, 1016, 1435, 411, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 775, 288, 7734, 460, 273, 261, 780, 13, 1098, 18, 588, 7416, 620, 5621, 5411, 289, 1044, 261, 1076, 30548, 3533, 13, 288, 7734, 327, 31, 5411, 289, 5411, 16697, 12, 5743, 1769, 5411, 7739, 1180, 761, 273, 261, 3651, 1180, 13, 915, 1557, 18, 588, 12, 1132, 1769, 5411, 309, 261, 1726, 480, 446, 13, 288, 7734, 4998, 966, 7533, 273, 761, 18, 588, 1830, 966, 5621, 7734, 514, 880, 273, 7533, 18, 588, 1489, 5621, 7734, 509, 13629, 273, 761, 18, 588, 3759, 1670, 5621, 7734, 1387, 3829, 341, 273, 1319, 18, 29925, 3829, 12, 718, 1769, 7734, 309, 261, 91, 422, 446, 13, 288, 10792, 1788, 812, 3829, 18, 1128, 12, 1966, 16, 7533, 16, 13629, 2934, 2681, 5621, 10792, 341, 273, 1319, 18, 29925, 3829, 12, 718, 1769, 10792, 341, 18, 542, 2555, 19236, 21, 1769, 7734, 289, 7734, 509, 787, 273, 341, 18, 588, 2555, 12, 1369, 1854, 17, 21, 1769, 7734, 509, 679, 273, 341, 18, 588, 2555, 12, 1369, 1854, 24950, 21, 31, 7734, 341, 18, 955, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 309, 261, 4172, 18, 14963, 2932, 6691, 6, 3719, 288, 5411, 16697, 12, 5743, 1769, 5411, 460, 273, 446, 31, 3639, 289, 469, 309, 261, 4172, 18, 14963, 2932, 3391, 6, 3719, 288, 5411, 309, 261, 1098, 18, 588, 7416, 1016, 1435, 411, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 775, 288, 7734, 460, 273, 261, 780, 13, 1098, 18, 588, 7416, 620, 5621, 5411, 289, 1044, 261, 1076, 30548, 3533, 13, 288, 7734, 327, 31, 5411, 289, 5411, 16697, 12, 5743, 1769, 5411, 7739, 1180, 761, 273, 261, 3651, 1180, 13, 915, 1557, 18, 588, 2 ]
temp_end_name ="TEMP"+i;
temp_end_name ="C"+temp_end_name+i;
public void transform () { Table temp_end = new Table(); ArrayList unwanted = new ArrayList(); Table converted_ref = null; boolean single = false; for (int i=0; i<getUnits().length; i++){ TransformationUnit unit = getUnits()[i]; Table temp_start = new Table(); String temp_end_name; if(unit.single){ single=true; temp_end_name ="TEMP"+i; unit.transform(temp_start,temp_end_name); converted_ref=unit.temp_end; unit.temp_end.setName(temp_end_name); unit.temp_end_name=temp_end_name; continue; } if (i == 0){ temp_start = start_table; } else {temp_start=temp_end;} boolean final_table = false; temp_end_name ="TEMP"+i; if (single == true){ temp_start = start_table; unit.ref_table=converted_ref; unit.cardinality="n1"; single=false; } //unit.temp_start.key=unit.ref_table.key; unit.transform(temp_start, temp_end_name); if (i== getUnits().length-1){ unit.temp_end.setName(final_table_name); final_table=true; } else { unit.temp_end.setName(temp_end_name); } if (unit.is_extension){ unit.temp_start.key=unit.extension_key; } if (unit.has_extension){ unit.temp_start.extension=unit.central_extension; } unit.temp_end.final_table=final_table; unit.temp_end.temp_name=temp_end_name; temp_end=unit.temp_end; units.set(i,unit); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/974d9a0953dd2fb50dad07d79ae27c7e6d430ccd/Transformation.java/clean/src/java/org/ensembl/mart/builder/Transformation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2510, 1832, 288, 9506, 202, 1388, 1906, 67, 409, 273, 394, 3555, 5621, 202, 202, 19558, 30264, 273, 394, 2407, 5621, 3639, 3555, 5970, 67, 1734, 273, 446, 31, 202, 202, 6494, 2202, 273, 629, 31, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 588, 7537, 7675, 2469, 31, 277, 27245, 95, 25083, 202, 15292, 2802, 2836, 273, 336, 7537, 1435, 63, 77, 15533, 1082, 202, 1388, 1906, 67, 1937, 273, 394, 3555, 5621, 1082, 202, 780, 1906, 67, 409, 67, 529, 31, 25083, 202, 430, 12, 4873, 18, 7526, 15329, 9506, 202, 7526, 33, 3767, 31, 9506, 202, 5814, 67, 409, 67, 529, 273, 6, 10258, 6, 15, 77, 31, 9506, 202, 4873, 18, 6547, 12, 5814, 67, 1937, 16, 5814, 67, 409, 67, 529, 1769, 9506, 202, 6283, 329, 67, 1734, 33, 4873, 18, 5814, 67, 409, 31, 9506, 202, 4873, 18, 5814, 67, 409, 18, 542, 461, 12, 5814, 67, 409, 67, 529, 1769, 9506, 202, 4873, 18, 5814, 67, 409, 67, 529, 33, 5814, 67, 409, 67, 529, 31, 9506, 202, 17143, 31, 1082, 202, 97, 6862, 6862, 202, 430, 261, 77, 422, 374, 15329, 9506, 202, 5814, 67, 1937, 273, 787, 67, 2121, 31, 9506, 202, 97, 469, 225, 288, 5814, 67, 1937, 33, 5814, 67, 409, 31, 97, 6862, 6862, 202, 6494, 727, 67, 2121, 273, 629, 31, 1082, 202, 5814, 67, 409, 67, 529, 273, 6, 10258, 6, 15, 77, 31, 6862, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2510, 1832, 288, 9506, 202, 1388, 1906, 67, 409, 273, 394, 3555, 5621, 202, 202, 19558, 30264, 273, 394, 2407, 5621, 3639, 3555, 5970, 67, 1734, 273, 446, 31, 202, 202, 6494, 2202, 273, 629, 31, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 588, 7537, 7675, 2469, 31, 277, 27245, 95, 25083, 202, 15292, 2802, 2836, 273, 336, 7537, 1435, 63, 77, 15533, 1082, 202, 1388, 1906, 67, 1937, 273, 394, 3555, 5621, 1082, 202, 780, 1906, 67, 409, 67, 529, 31, 25083, 202, 430, 12, 4873, 18, 7526, 15329, 9506, 202, 7526, 33, 3767, 31, 9506, 202, 5814, 67, 409, 67, 529, 273, 6, 10258, 6, 15, 77, 31, 9506, 2 ]
protected AbstractID3v2FrameBody readBody(String identifier, RandomAccessFile file, int frameSize)
protected AbstractID3v2FrameBody readBody(String identifier, ByteBuffer byteBuffer, int frameSize)
protected AbstractID3v2FrameBody readBody(String identifier, RandomAccessFile file, int frameSize) throws InvalidFrameException, IOException { /* Use reflection to map id to frame body, which makes things much easier * to keep things up to date,although slight performance hit. */ logger.finest("Creating framebody:start"); AbstractID3v2FrameBody frameBody = null; try { Class c = Class.forName("org.jaudiotagger.tag.id3.framebody.FrameBody" + identifier); Class[] constructorParameterTypes = {((Class) Class.forName("java.io.RandomAccessFile")), Integer.TYPE }; Object[] constructorParameterValues = {file, new Integer(frameSize) }; Constructor construct = c.getConstructor(constructorParameterTypes); frameBody = (AbstractID3v2FrameBody) (construct.newInstance(constructorParameterValues)); } //No class defind for this frame type,use FrameUnsupported catch (ClassNotFoundException cex) { logger.info("Identifier not recognised:" + identifier + " using FrameBodyUnsupported"); frameBody = new FrameBodyUnsupported(file, frameSize); } //An error has occurred during frame instantiation find out real exception and then throw frame away if invalid catch (InvocationTargetException ite) { ite.getCause().printStackTrace(); logger.severe("invocation target exception:"+ite.getCause().getMessage()); throw new InvalidFrameException(ite.getCause().getMessage()); } //No Method should not happen catch (NoSuchMethodException sme) { logger.severe("no such method:"+sme.getMessage()); throw new RuntimeException(sme.getMessage()); } //Instantiate Interfrace/Abstract should not happen catch (InstantiationException ie) { logger.severe("instantiation exception:"+ie.getMessage()); throw new RuntimeException(ie.getMessage()); } //Private Constructor shouild not happen catch (IllegalAccessException iae) { logger.severe("illegal access exception :"+iae.getMessage()); throw new RuntimeException(iae.getMessage()); } logger.finest("Created framebody:end" + frameBody.getIdentifier()); return frameBody; }
40452 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40452/8e6062659057068b4b85fb7b41c567e179db6f7c/AbstractID3v2Frame.java/buggy/src/org/jaudiotagger/tag/id3/AbstractID3v2Frame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4115, 734, 23, 90, 22, 3219, 2250, 855, 2250, 12, 780, 2756, 16, 7400, 21734, 16, 509, 2623, 1225, 13, 3639, 1216, 1962, 3219, 503, 16, 1860, 565, 288, 3639, 1748, 2672, 5463, 358, 852, 612, 358, 2623, 1417, 16, 1492, 7297, 9198, 9816, 15857, 540, 380, 358, 3455, 9198, 731, 358, 1509, 16, 4162, 4966, 20049, 9239, 6800, 18, 540, 1195, 3639, 1194, 18, 926, 395, 2932, 11092, 2623, 3432, 30, 1937, 8863, 3639, 4115, 734, 23, 90, 22, 3219, 2250, 2623, 2250, 273, 446, 31, 3639, 775, 3639, 288, 5411, 1659, 276, 273, 1659, 18, 1884, 461, 2932, 3341, 18, 12333, 1100, 77, 352, 7594, 18, 2692, 18, 350, 23, 18, 3789, 3432, 18, 3219, 2250, 6, 397, 2756, 1769, 5411, 1659, 8526, 3885, 1662, 2016, 273, 7734, 288, 12443, 797, 13, 1659, 18, 1884, 461, 2932, 6290, 18, 1594, 18, 8529, 26933, 7923, 3631, 2144, 18, 2399, 7734, 289, 31, 5411, 1033, 8526, 3885, 1662, 1972, 273, 7734, 288, 768, 16, 394, 2144, 12, 3789, 1225, 13, 7734, 289, 31, 5411, 11417, 4872, 273, 276, 18, 588, 6293, 12, 12316, 1662, 2016, 1769, 5411, 2623, 2250, 273, 261, 7469, 734, 23, 90, 22, 3219, 2250, 13, 261, 10062, 18, 2704, 1442, 12, 12316, 1662, 1972, 10019, 3639, 289, 3639, 368, 2279, 667, 1652, 728, 364, 333, 2623, 618, 16, 1202, 8058, 8544, 3639, 1044, 261, 797, 3990, 276, 338, 13, 3639, 288, 5411, 1194, 18, 1376, 2932, 3004, 486, 14603, 5918, 2773, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4115, 734, 23, 90, 22, 3219, 2250, 855, 2250, 12, 780, 2756, 16, 7400, 21734, 16, 509, 2623, 1225, 13, 3639, 1216, 1962, 3219, 503, 16, 1860, 565, 288, 3639, 1748, 2672, 5463, 358, 852, 612, 358, 2623, 1417, 16, 1492, 7297, 9198, 9816, 15857, 540, 380, 358, 3455, 9198, 731, 358, 1509, 16, 4162, 4966, 20049, 9239, 6800, 18, 540, 1195, 3639, 1194, 18, 926, 395, 2932, 11092, 2623, 3432, 30, 1937, 8863, 3639, 4115, 734, 23, 90, 22, 3219, 2250, 2623, 2250, 273, 446, 31, 3639, 775, 3639, 288, 5411, 1659, 276, 273, 1659, 18, 1884, 461, 2932, 3341, 18, 12333, 1100, 77, 352, 7594, 18, 2692, 18, 350, 23, 18, 3789, 3432, 18, 3219, 2 ]
new OutputStreamWriter( new FileOutputStream(logFileName), logXmlEncoding));
new OutputStreamWriter(new FileOutputStream(logFileName), logXmlEncoding));
protected void writeLogFile(Element logElement) throws CruiseControlException { BufferedWriter logWriter = null; try { debug("Writing log file [" + logFileName + "]"); XMLOutputter outputter = null; if (logXmlEncoding == null) { outputter = new XMLOutputter(" ", true); logWriter = new BufferedWriter( new OutputStreamWriter( new FileOutputStream(logFileName))); } else { outputter = new XMLOutputter(" ", true, logXmlEncoding); logWriter = new BufferedWriter( new OutputStreamWriter( new FileOutputStream(logFileName), logXmlEncoding)); } outputter.output(new Document(logElement), logWriter); logWriter = null; } catch (IOException e) { throw new CruiseControlException(e); } finally { logWriter = null; } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/fd158509e4f6aa010e583ca0516756a1c2532047/Project.java/buggy/main/src/net/sourceforge/cruisecontrol/Project.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 19103, 12, 1046, 613, 1046, 13, 3639, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 22490, 613, 2289, 273, 446, 31, 3639, 775, 288, 5411, 1198, 2932, 18835, 613, 585, 8247, 397, 613, 4771, 397, 9870, 1769, 5411, 3167, 1447, 387, 876, 387, 273, 446, 31, 5411, 309, 261, 1330, 4432, 4705, 422, 446, 13, 288, 7734, 876, 387, 273, 394, 3167, 1447, 387, 2932, 282, 3104, 638, 1769, 7734, 613, 2289, 273, 10792, 394, 22490, 12, 13491, 394, 24248, 12, 18701, 394, 12942, 12, 1330, 4771, 3719, 1769, 5411, 289, 469, 288, 7734, 876, 387, 273, 394, 3167, 1447, 387, 2932, 282, 3104, 638, 16, 613, 4432, 4705, 1769, 7734, 613, 2289, 273, 10792, 394, 22490, 12, 13491, 394, 24248, 12, 18701, 394, 12942, 12, 1330, 4771, 3631, 18701, 613, 4432, 4705, 10019, 5411, 289, 5411, 876, 387, 18, 2844, 12, 2704, 4319, 12, 1330, 1046, 3631, 613, 2289, 1769, 5411, 613, 2289, 273, 446, 31, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 604, 394, 385, 8653, 784, 3367, 503, 12, 73, 1769, 3639, 289, 3095, 288, 5411, 613, 2289, 273, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 19103, 12, 1046, 613, 1046, 13, 3639, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 22490, 613, 2289, 273, 446, 31, 3639, 775, 288, 5411, 1198, 2932, 18835, 613, 585, 8247, 397, 613, 4771, 397, 9870, 1769, 5411, 3167, 1447, 387, 876, 387, 273, 446, 31, 5411, 309, 261, 1330, 4432, 4705, 422, 446, 13, 288, 7734, 876, 387, 273, 394, 3167, 1447, 387, 2932, 282, 3104, 638, 1769, 7734, 613, 2289, 273, 10792, 394, 22490, 12, 13491, 394, 24248, 12, 18701, 394, 12942, 12, 1330, 4771, 3719, 1769, 5411, 289, 469, 288, 7734, 876, 387, 273, 394, 3167, 1447, 387, 2932, 282, 3104, 638, 16, 613, 4432, 4705, 1769, 7734, 613, 2289, 273, 10792, 2 ]
public static boolean isAssignable(Class cls, Class toClass) { if (toClass == null) {
public static boolean isAssignable(Class[] classArray, Class[] toClassArray) { if (ArrayUtils.isSameLength(classArray, toClassArray) == false) {
public static boolean isAssignable(Class cls, Class toClass) { if (toClass == null) { return false; } // have to check for null, as isAssignableFrom doesn't if (cls == null) { return !(toClass.isPrimitive()); } if (cls.equals(toClass)) { return true; } if (cls.isPrimitive()) { if (toClass.isPrimitive() == false) { return false; } if (Integer.TYPE.equals(cls)) { return Long.TYPE.equals(toClass) || Float.TYPE.equals(toClass) || Double.TYPE.equals(toClass); } if (Long.TYPE.equals(cls)) { return Float.TYPE.equals(toClass) || Double.TYPE.equals(toClass); } if (Boolean.TYPE.equals(cls)) { return false; } if (Double.TYPE.equals(cls)) { return false; } if (Float.TYPE.equals(cls)) { return Double.TYPE.equals(toClass); } if (Character.TYPE.equals(cls)) { return Integer.TYPE.equals(toClass) || Long.TYPE.equals(toClass) || Float.TYPE.equals(toClass) || Double.TYPE.equals(toClass); } if (Short.TYPE.equals(cls)) { return Integer.TYPE.equals(toClass) || Long.TYPE.equals(toClass) || Float.TYPE.equals(toClass) || Double.TYPE.equals(toClass); } if (Byte.TYPE.equals(cls)) { return Short.TYPE.equals(toClass) || Integer.TYPE.equals(toClass) || Long.TYPE.equals(toClass) || Float.TYPE.equals(toClass) || Double.TYPE.equals(toClass); } // should never get here return false; } return toClass.isAssignableFrom(cls); }
7060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7060/0eeb7c904c84d44bab0101d568e22bfa8177c34c/ClassUtils.java/buggy/src/java/org/apache/commons/lang/ClassUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 8540, 12, 797, 2028, 16, 1659, 358, 797, 13, 288, 3639, 309, 261, 869, 797, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 368, 1240, 358, 866, 364, 446, 16, 487, 8917, 3302, 1404, 3639, 309, 261, 6429, 422, 446, 13, 288, 5411, 327, 401, 12, 869, 797, 18, 291, 9840, 10663, 3639, 289, 3639, 309, 261, 6429, 18, 14963, 12, 869, 797, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 309, 261, 6429, 18, 291, 9840, 10756, 288, 5411, 309, 261, 869, 797, 18, 291, 9840, 1435, 422, 629, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 4522, 18, 2399, 18, 14963, 12, 6429, 3719, 288, 7734, 327, 3407, 18, 2399, 18, 14963, 12, 869, 797, 13, 10792, 747, 5450, 18, 2399, 18, 14963, 12, 869, 797, 13, 10792, 747, 3698, 18, 2399, 18, 14963, 12, 869, 797, 1769, 5411, 289, 5411, 309, 261, 3708, 18, 2399, 18, 14963, 12, 6429, 3719, 288, 7734, 327, 5450, 18, 2399, 18, 14963, 12, 869, 797, 13, 10792, 747, 3698, 18, 2399, 18, 14963, 12, 869, 797, 1769, 5411, 289, 5411, 309, 261, 5507, 18, 2399, 18, 14963, 12, 6429, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 5265, 18, 2399, 18, 14963, 12, 6429, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 4723, 18, 2399, 18, 14963, 12, 6429, 3719, 288, 7734, 327, 3698, 18, 2399, 18, 14963, 12, 869, 797, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 8540, 12, 797, 2028, 16, 1659, 358, 797, 13, 288, 3639, 309, 261, 869, 797, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 368, 1240, 358, 866, 364, 446, 16, 487, 8917, 3302, 1404, 3639, 309, 261, 6429, 422, 446, 13, 288, 5411, 327, 401, 12, 869, 797, 18, 291, 9840, 10663, 3639, 289, 3639, 309, 261, 6429, 18, 14963, 12, 869, 797, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 309, 261, 6429, 18, 291, 9840, 10756, 288, 5411, 309, 261, 869, 797, 18, 291, 9840, 1435, 422, 629, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 4522, 18, 2399, 18, 14963, 12, 6429, 3719, 288, 7734, 2 ]
if ( !isEditModeEnabled()) {
if (!isEditModeEnabled()) {
public void eraseTargetFeedback(Request request) { if ( !isEditModeEnabled()) { return; } super.eraseTargetFeedback(request); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/ConnectionEditPart.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editparts/ConnectionEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22038, 2326, 15888, 12, 691, 590, 13, 288, 202, 202, 430, 261, 401, 291, 4666, 2309, 1526, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 9565, 18, 264, 448, 2326, 15888, 12, 2293, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public String onPrepareStatement(String sql) { // start StringBuilder sb = new StringBuilder(); String[] first = sql.split("\\sfrom\\s"); sb.append(first[0]); if (first.length == 1) { return sb.toString(); } else if (first.length == 2) { // from sb.append("\n from "); String[] second = first[1].split("\\swhere\\s"); sb.append(second[0]); if (second.length == 1) { return sb.toString(); } else if (second.length == 2) { // where sb.append("\n where "); sb.append(second[1]); return sb.toString(); } } throw new InternalException("Assumptions about the number of " + "\"froms\" and \"wheres\" in sql query failed. "); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/eb1076fdd0ffc70d64cfdf60fab495fd57a62014/OmeroInterceptor.java/clean/components/server/src/ome/tools/hibernate/OmeroInterceptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 265, 7543, 3406, 12, 780, 4669, 15329, 202, 202, 759, 1937, 202, 202, 780, 20460, 70, 33, 2704, 21253, 5621, 202, 202, 780, 8526, 3645, 33, 4669, 18, 4939, 2932, 1695, 87, 2080, 1695, 87, 8863, 202, 202, 18366, 18, 6923, 12, 3645, 63, 20, 19226, 202, 202, 430, 12, 3645, 18, 2469, 631, 21, 13, 202, 202, 95, 1082, 202, 6154, 70, 18, 10492, 5621, 202, 202, 97, 202, 202, 12107, 430, 12, 3645, 18, 2469, 631, 22, 13, 202, 202, 95, 1082, 202, 759, 2080, 1082, 202, 18366, 18, 6923, 31458, 82, 2080, 8863, 6862, 6862, 202, 780, 8526, 8538, 33, 3645, 63, 21, 8009, 4939, 2932, 1695, 87, 6051, 1695, 87, 8863, 1082, 202, 18366, 18, 6923, 12, 8538, 63, 20, 19226, 1082, 202, 430, 12, 8538, 18, 2469, 631, 21, 13, 1082, 202, 95, 9506, 202, 6154, 70, 18, 10492, 5621, 1082, 202, 97, 1082, 202, 12107, 430, 12, 8538, 18, 2469, 631, 22, 13, 1082, 202, 95, 9506, 202, 759, 6051, 9506, 202, 18366, 18, 6923, 31458, 82, 6051, 8863, 9506, 202, 18366, 18, 6923, 12, 8538, 63, 21, 19226, 9506, 202, 6154, 70, 18, 10492, 5621, 1082, 202, 97, 202, 202, 97, 9506, 202, 12849, 2704, 3061, 503, 2932, 2610, 379, 573, 21071, 15991, 1226, 792, 6, 15, 6862, 202, 6, 2412, 2080, 87, 2412, 464, 2412, 91, 27629, 2412, 2679, 1217, 2271, 7307, 1199, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 265, 7543, 3406, 12, 780, 4669, 15329, 202, 202, 759, 1937, 202, 202, 780, 20460, 70, 33, 2704, 21253, 5621, 202, 202, 780, 8526, 3645, 33, 4669, 18, 4939, 2932, 1695, 87, 2080, 1695, 87, 8863, 202, 202, 18366, 18, 6923, 12, 3645, 63, 20, 19226, 202, 202, 430, 12, 3645, 18, 2469, 631, 21, 13, 202, 202, 95, 1082, 202, 6154, 70, 18, 10492, 5621, 202, 202, 97, 202, 202, 12107, 430, 12, 3645, 18, 2469, 631, 22, 13, 202, 202, 95, 1082, 202, 759, 2080, 1082, 202, 18366, 18, 6923, 31458, 82, 2080, 8863, 6862, 6862, 202, 780, 8526, 8538, 33, 3645, 63, 21, 8009, 4939, 2932, 1695, 87, 6051, 1695, 87, 8863, 2 ]
buffer.append("
buffer.append("
private void writeHeader(OutputStream writer, String fileName){ writeBOM(writer); Calendar c = Calendar.getInstance(); StringBuffer buffer =new StringBuffer(); buffer.append("// ***************************************************************************" + LINESEP); buffer.append("// *" + LINESEP); buffer.append("// * Copyright (C) "+c.get(Calendar.YEAR) +" International Business Machines" + LINESEP); buffer.append("// * Corporation and others. All Rights Reserved."+LINESEP); buffer.append("// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java" + LINESEP); // buffer.append("// * Date & Time: " + c.get(Calendar.YEAR) + "/" + (c.get(Calendar.MONTH)+1) + "/" + c.get(Calendar.DAY_OF_MONTH) + " " + c.get(Calendar.HOUR_OF_DAY) + COLON + c.get(Calendar.MINUTE)+ LINESEP);// String ver = LDMLUtilities.getCVSVersion(fileName);// if(ver==null) {// ver = "";// } else {// ver = " v" + ver;// } buffer.append("// * Source File: " + fileName + LINESEP); buffer.append("// *" + LINESEP); buffer.append("// ***************************************************************************" + LINESEP); writeLine(writer, buffer.toString()); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/90d357a7612a0fee1860528005a32007392efc2a/LDML2ICUConverter.java/clean/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1864, 12, 4632, 2633, 16, 514, 3968, 15329, 3639, 1045, 38, 1872, 12, 6299, 1769, 3639, 5542, 276, 273, 5542, 18, 588, 1442, 5621, 3639, 6674, 1613, 273, 2704, 6674, 5621, 3639, 1613, 18, 6923, 2932, 759, 19756, 1644, 636, 6, 397, 14340, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 6, 397, 14340, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 25417, 261, 39, 13, 13773, 71, 18, 588, 12, 7335, 18, 15137, 13, 397, 6, 31048, 8371, 21759, 490, 10635, 6, 397, 14340, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 9557, 11390, 471, 10654, 18, 225, 4826, 534, 10730, 16237, 1199, 15, 5997, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 13288, 30, 532, 18, 10827, 18, 335, 89, 18, 5206, 18, 6738, 18, 830, 3069, 18, 12069, 1495, 22, 2871, 57, 5072, 18, 6290, 6, 397, 14340, 28610, 1769, 4202, 368, 1613, 18, 6923, 2932, 759, 380, 2167, 473, 2647, 30, 315, 397, 276, 18, 588, 12, 7335, 18, 15137, 13, 397, 4016, 397, 261, 71, 18, 588, 12, 7335, 18, 13942, 27921, 21, 13, 397, 4016, 397, 276, 18, 588, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 13, 397, 315, 315, 397, 276, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 13, 397, 27856, 397, 276, 18, 588, 12, 7335, 18, 30090, 27921, 14340, 28610, 1769, 759, 540, 514, 1924, 273, 28083, 1495, 11864, 18, 588, 39, 14640, 1444, 12, 17812, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1864, 12, 4632, 2633, 16, 514, 3968, 15329, 3639, 1045, 38, 1872, 12, 6299, 1769, 3639, 5542, 276, 273, 5542, 18, 588, 1442, 5621, 3639, 6674, 1613, 273, 2704, 6674, 5621, 3639, 1613, 18, 6923, 2932, 759, 19756, 1644, 636, 6, 397, 14340, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 6, 397, 14340, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 25417, 261, 39, 13, 13773, 71, 18, 588, 12, 7335, 18, 15137, 13, 397, 6, 31048, 8371, 21759, 490, 10635, 6, 397, 14340, 28610, 1769, 3639, 1613, 18, 6923, 2932, 759, 380, 9557, 11390, 471, 10654, 18, 225, 4826, 534, 10730, 16237, 1199, 15, 5997, 28610, 1769, 3639, 1613, 18, 6923, 2 ]
throw runtime.newLoadError("No such file to load -- " + file);
throw runtime.newLoadError("no such file to load -- " + file);
public void smartLoad(String file) { Library library = null; String loadName = file; // nothing yet, try suffixes for (int i = 0; i < suffixes.length; i++) { library = findLibrary(file + suffixes[i]); if (library != null) { loadName = file + suffixes[i]; break; } } if(library == null) { library = findLibrary(file); if(library != null) { loadName = file; } } library = tryLoadExtension(library,file); if (library == null) { throw runtime.newLoadError("No such file to load -- " + file); } try { loadedFeaturesInternal.add(file); loadedFeatures.add(runtime.newString(loadName)); library.load(runtime); } catch (IOException e) { loadedFeaturesInternal.remove(file); loadedFeatures.remove(runtime.newString(loadName)); throw runtime.newLoadError("IO error -- " + file); } }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/fe11f82bc6236dc6746a228a50d4bac6d467618e/LoadService.java/clean/src/org/jruby/runtime/load/LoadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13706, 2563, 12, 780, 585, 13, 288, 3639, 18694, 5313, 273, 446, 31, 3639, 514, 1262, 461, 273, 585, 31, 7734, 368, 5083, 4671, 16, 775, 18333, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 18333, 18, 2469, 31, 277, 27245, 288, 5411, 5313, 273, 1104, 9313, 12, 768, 397, 18333, 63, 77, 19226, 5411, 309, 261, 12083, 480, 446, 13, 288, 7734, 1262, 461, 273, 585, 397, 18333, 63, 77, 15533, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 309, 12, 12083, 422, 446, 13, 288, 5411, 5313, 273, 1104, 9313, 12, 768, 1769, 5411, 309, 12, 12083, 480, 446, 13, 288, 7734, 1262, 461, 273, 585, 31, 5411, 289, 3639, 289, 3639, 5313, 273, 775, 2563, 3625, 12, 12083, 16, 768, 1769, 3639, 309, 261, 12083, 422, 446, 13, 288, 5411, 604, 3099, 18, 2704, 2563, 668, 2932, 2135, 4123, 585, 358, 1262, 1493, 315, 397, 585, 1769, 3639, 289, 3639, 775, 288, 5411, 4203, 8696, 3061, 18, 1289, 12, 768, 1769, 5411, 4203, 8696, 18, 1289, 12, 9448, 18, 2704, 780, 12, 945, 461, 10019, 5411, 5313, 18, 945, 12, 9448, 1769, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 4203, 8696, 3061, 18, 4479, 12, 768, 1769, 5411, 4203, 8696, 18, 4479, 12, 9448, 18, 2704, 780, 12, 945, 461, 10019, 5411, 604, 3099, 18, 2704, 2563, 668, 2932, 4294, 555, 1493, 315, 397, 585, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13706, 2563, 12, 780, 585, 13, 288, 3639, 18694, 5313, 273, 446, 31, 3639, 514, 1262, 461, 273, 585, 31, 7734, 368, 5083, 4671, 16, 775, 18333, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 18333, 18, 2469, 31, 277, 27245, 288, 5411, 5313, 273, 1104, 9313, 12, 768, 397, 18333, 63, 77, 19226, 5411, 309, 261, 12083, 480, 446, 13, 288, 7734, 1262, 461, 273, 585, 397, 18333, 63, 77, 15533, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 309, 12, 12083, 422, 446, 13, 288, 5411, 5313, 273, 1104, 9313, 12, 768, 1769, 5411, 309, 12, 12083, 480, 446, 13, 288, 7734, 1262, 461, 273, 585, 31, 5411, 289, 3639, 289, 3639, 2 ]
fsBackup = formatspecifier;
public FormatSpecifierDialog(Shell shellParent, FormatSpecifier formatspecifier, String sTitle) { super(); if (formatspecifier == null) { this.formatspecifier = AttributeFactory.eINSTANCE.createNumberFormatSpecifier(); fsBackup = (FormatSpecifier) EcoreUtil.copy(this.formatspecifier); } else { this.formatspecifier = (FormatSpecifier) EcoreUtil.copy(formatspecifier); fsBackup = formatspecifier; } shell = new Shell(shellParent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL); GridLayout gridLayout = new GridLayout(); gridLayout.numColumns = 2; shell.setLayout(new FillLayout()); placeComponents(); shell.setText("Format Specifier - " + sTitle); shell.pack(); UIHelper.centerOnScreen(shell); shell.layout(); shell.open(); while (!shell.isDisposed()) { if (!shell.getDisplay().readAndDispatch()) { shell.getDisplay().sleep(); } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7793e94b4d7fab5891f226c6c937e37d85bebad8/FormatSpecifierDialog.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4077, 21416, 6353, 12, 13220, 5972, 3054, 16, 4077, 21416, 740, 2793, 1251, 16, 514, 272, 4247, 13, 565, 288, 3639, 2240, 5621, 3639, 309, 261, 2139, 2793, 1251, 422, 446, 13, 3639, 288, 5411, 333, 18, 2139, 2793, 1251, 273, 3601, 1733, 18, 73, 13341, 18, 2640, 1854, 1630, 21416, 5621, 5411, 2662, 6248, 273, 261, 1630, 21416, 13, 512, 3644, 1304, 18, 3530, 12, 2211, 18, 2139, 2793, 1251, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 333, 18, 2139, 2793, 1251, 273, 261, 1630, 21416, 13, 512, 3644, 1304, 18, 3530, 12, 2139, 2793, 1251, 1769, 10402, 289, 3639, 5972, 273, 394, 19433, 12, 10304, 3054, 16, 348, 8588, 18, 2565, 18683, 67, 6566, 49, 571, 348, 8588, 18, 862, 4574, 571, 348, 8588, 18, 25039, 67, 6720, 1013, 1769, 3639, 7145, 3744, 3068, 3744, 273, 394, 7145, 3744, 5621, 3639, 3068, 3744, 18, 2107, 3380, 273, 576, 31, 3639, 5972, 18, 542, 3744, 12, 2704, 14192, 3744, 10663, 3639, 3166, 7171, 5621, 3639, 5972, 18, 542, 1528, 2932, 1630, 4185, 1251, 300, 315, 397, 272, 4247, 1769, 3639, 5972, 18, 2920, 5621, 3639, 6484, 2276, 18, 5693, 1398, 7956, 12, 10304, 1769, 3639, 5972, 18, 6741, 5621, 3639, 5972, 18, 3190, 5621, 3639, 1323, 16051, 10304, 18, 291, 1669, 7423, 10756, 3639, 288, 5411, 309, 16051, 10304, 18, 588, 4236, 7675, 896, 1876, 5325, 10756, 5411, 288, 7734, 5972, 18, 588, 4236, 7675, 19607, 5621, 5411, 289, 3639, 289, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4077, 21416, 6353, 12, 13220, 5972, 3054, 16, 4077, 21416, 740, 2793, 1251, 16, 514, 272, 4247, 13, 565, 288, 3639, 2240, 5621, 3639, 309, 261, 2139, 2793, 1251, 422, 446, 13, 3639, 288, 5411, 333, 18, 2139, 2793, 1251, 273, 3601, 1733, 18, 73, 13341, 18, 2640, 1854, 1630, 21416, 5621, 5411, 2662, 6248, 273, 261, 1630, 21416, 13, 512, 3644, 1304, 18, 3530, 12, 2211, 18, 2139, 2793, 1251, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 333, 18, 2139, 2793, 1251, 273, 261, 1630, 21416, 13, 512, 3644, 1304, 18, 3530, 12, 2139, 2793, 1251, 1769, 10402, 289, 3639, 5972, 273, 394, 19433, 12, 10304, 3054, 16, 348, 8588, 18, 2565, 18683, 67, 6566, 2 ]
ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject());
ruby.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject());
public void visitForNode(ForNode iVisited) { ruby.getBlock().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self.toRubyObject()); ruby.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // XXX ruby.getBlock().flags &= ~RubyBlock.BLOCK_D_SCOPE; Block tmpBlock = ArgsUtil.beginCallArgs(ruby); IRubyObject recv = eval(iVisited.getIterNode()); ArgsUtil.endCallArgs(ruby, tmpBlock); ruby.setSourceFile(file); ruby.setSourceLine(line); result = recv.getInternalClass().call(recv.toRubyObject(), "each", null, 0); return; } catch (RetryException rExcptn) { } } } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); } catch (BreakJump bExcptn) { result = ruby.getNil(); } finally { ruby.getIterStack().pop(); ruby.getBlock().pop(); } }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/8db42974495981011f558bcce15e2dfc28681a76/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 31058, 12, 31058, 277, 30019, 13, 288, 3639, 22155, 18, 588, 1768, 2624, 7675, 6206, 12, 77, 30019, 18, 588, 1537, 907, 9334, 394, 18176, 1305, 12, 77, 30019, 18, 588, 2250, 907, 1435, 3631, 365, 18, 869, 54, 10340, 921, 10663, 3639, 22155, 18, 588, 2360, 2624, 7675, 6206, 12, 2360, 18, 11844, 67, 3670, 1769, 3639, 775, 288, 5411, 1323, 261, 3767, 13, 288, 7734, 775, 288, 10792, 514, 585, 273, 22155, 18, 588, 31150, 5621, 10792, 509, 980, 273, 22155, 18, 588, 1830, 1670, 5621, 10792, 368, 11329, 22155, 18, 588, 1768, 7675, 7133, 12058, 4871, 54, 10340, 1768, 18, 11403, 67, 40, 67, 19444, 31, 10792, 3914, 1853, 1768, 273, 6634, 1304, 18, 10086, 1477, 2615, 12, 27768, 1769, 10792, 15908, 10340, 921, 10665, 273, 5302, 12, 77, 30019, 18, 588, 2360, 907, 10663, 10792, 6634, 1304, 18, 409, 1477, 2615, 12, 27768, 16, 1853, 1768, 1769, 10792, 22155, 18, 542, 31150, 12, 768, 1769, 10792, 22155, 18, 542, 1830, 1670, 12, 1369, 1769, 10792, 563, 273, 10665, 18, 588, 3061, 797, 7675, 1991, 12, 18334, 18, 869, 54, 10340, 921, 9334, 315, 13798, 3113, 446, 16, 374, 1769, 10792, 327, 31, 7734, 289, 1044, 261, 7539, 503, 436, 29924, 337, 82, 13, 288, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 990, 503, 436, 29924, 337, 82, 13, 288, 5411, 563, 273, 436, 29924, 337, 82, 18, 588, 19092, 5621, 3639, 289, 1044, 261, 7634, 26743, 324, 29924, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 31058, 12, 31058, 277, 30019, 13, 288, 3639, 22155, 18, 588, 1768, 2624, 7675, 6206, 12, 77, 30019, 18, 588, 1537, 907, 9334, 394, 18176, 1305, 12, 77, 30019, 18, 588, 2250, 907, 1435, 3631, 365, 18, 869, 54, 10340, 921, 10663, 3639, 22155, 18, 588, 2360, 2624, 7675, 6206, 12, 2360, 18, 11844, 67, 3670, 1769, 3639, 775, 288, 5411, 1323, 261, 3767, 13, 288, 7734, 775, 288, 10792, 514, 585, 273, 22155, 18, 588, 31150, 5621, 10792, 509, 980, 273, 22155, 18, 588, 1830, 1670, 5621, 10792, 368, 11329, 22155, 18, 588, 1768, 7675, 7133, 12058, 4871, 54, 10340, 1768, 18, 11403, 67, 40, 67, 19444, 31, 10792, 3914, 1853, 1768, 273, 6634, 2 ]
}
}
private void loadInnerPageIfPossible(final String srcAttribute) { if( srcAttribute.length() != 0 ) { URL url = null; try { url = getPage().getFullyQualifiedUrl(srcAttribute); } catch( final MalformedURLException e ) { getLog().error("Bad url in src attribute of " + getTagName() + ": url=["+srcAttribute+"]", e); } try { getPage().getWebClient().getPage(enclosedWindow_, new WebRequestSettings(url)); } catch (final FailingHttpStatusCodeException e){ // do nothing } catch( final IOException e ) { getLog().error("IOException when getting content for " + getTagName() + ": url=["+url.toExternalForm()+"]", e); } } }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/c602d6915fe48c87f864c84196b346afe16003bd/BaseFrame.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/BaseFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 2857, 1964, 2047, 13576, 12, 6385, 514, 1705, 1499, 13, 288, 3639, 309, 12, 1705, 1499, 18, 2469, 1435, 480, 374, 262, 288, 5411, 1976, 880, 273, 446, 31, 5411, 775, 288, 7734, 880, 273, 8957, 7675, 588, 16999, 8708, 1489, 12, 4816, 1499, 1769, 5411, 289, 5411, 1044, 12, 727, 20710, 425, 262, 288, 7734, 9189, 7675, 1636, 2932, 6434, 880, 316, 1705, 1566, 434, 315, 397, 336, 8520, 1435, 397, 6398, 880, 33, 9614, 15, 4816, 1499, 9078, 65, 3113, 425, 1769, 5411, 289, 9079, 775, 288, 7734, 8957, 7675, 588, 4079, 1227, 7675, 588, 1964, 12, 1331, 13783, 3829, 67, 16, 394, 2999, 691, 2628, 12, 718, 10019, 5411, 289, 5411, 1044, 261, 6385, 8911, 310, 2940, 14041, 503, 425, 15329, 7734, 368, 741, 5083, 5411, 289, 5411, 1044, 12, 727, 1860, 425, 262, 288, 7734, 9189, 7675, 1636, 2932, 14106, 1347, 8742, 913, 364, 315, 397, 336, 8520, 1435, 7682, 397, 6398, 880, 33, 9614, 15, 718, 18, 869, 6841, 1204, 1435, 9078, 65, 3113, 425, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 12, 4816, 1499, 1769, 5411, 289, 5411, 1044, 12, 727, 20710, 425, 262, 288, 7734, 9189, 7675, 1636, 2932, 6434, 880, 316, 1705, 1566, 434, 315, 397, 336, 8520, 1435, 397, 6398, 880, 33, 9614, 15, 4816, 1499, 9078, 65, 3113, 425, 1769, 5411, 289, 9079, 775, 288, 7734, 8957, 7675, 588, 4079, 1227, 7675, 588, 1964, 12, 1331, 13783, 3829, 67, 16, 394, 2999, 691, 2628, 12, 718, 10019, 5411, 289, 5411, 1044, 2 ]
public String getFileListFunction() { // if mode is "listonly", only the list will be shown boolean listonly = "listonly".equals(getSettings().getExplorerMode()); // if mode is "projectview", all changed files in that project will be shown boolean projectView = "projectview".equals(getSettings().getExplorerMode()); // if mode is "vfslinks", the vfs links to a target file will be shown boolean vfslinkView = "vfslink".equals(getSettings().getExplorerMode()); String currentFolder = getSettings().getExplorerFolder(); if (vfslinkView) { boolean found = true; try { getCms().readFileHeader(currentFolder); } catch (CmsException e) { // file was not readable found = false; } if (found) { // file / folder exists and is readable currentFolder = "vfslink:" + currentFolder; } else { // show the root folder in case of an error and reset the state currentFolder = "/"; vfslinkView = false; } } long check = getCms().getFileSystemFolderChanges(); boolean newTreePlease = getSettings().getExplorerChecksum() != check; // get the currentFolder Id CmsUUID currentFolderId = CmsUUID.getNullUUID(); if (! vfslinkView) { try { currentFolderId = (getCms().readFolder(currentFolder)).getId(); } catch (CmsException e) { // we use the null UUID } } // start creating content StringBuffer content = new StringBuffer(2048); content.append("function initialize() {\n"); if (listonly) { content.append("top.openfolderMethod='openthisfolderflat';\n"); } else { content.append("top.openfolderMethod='openthisfolder';\n"); } if (projectView || vfslinkView) { content.append("top.projectView=true;\n"); } else { content.append("top.projectView=false;\n"); } // show kontext if (getSettings().getExplorerContext()) { content.append("top.showKon=true;\n"); } else { content.append("top.showKon=false;\n"); } // the flaturl if (getSettings().getExplorerFlaturl() != null) { content.append("top.flaturl='"); content.append(getSettings().getExplorerFlaturl()); content.append("';\n"); } else if (!listonly) { content.append("top.flaturl='';\n"); } // the help_url content.append("top.head.helpUrl='explorer/index.html';\n"); // the project content.append("top.setProject("); content.append(getSettings().getProject()); content.append(");\n"); // the onlineProject content.append("top.setOnlineProject("); content.append(I_CmsConstants.C_PROJECT_ONLINE_ID); content.append(");\n"); // set the checksum for the tree content.append("top.setChecksum("); content.append(check); content.append(");\n"); // set the writeAccess for the current Folder boolean writeAccess = true; if (! vfslinkView) { try { CmsFolder test = getCms().readFolder(currentFolder); writeAccess = test.getProjectId() == getSettings().getProject(); } catch (CmsException e) { writeAccess = false; } } content.append("top.enableNewButton("); content.append(writeAccess); content.append(");\n"); // the folder content.append("top.setDirectory(\""); content.append(currentFolderId.hashCode()); content.append("\",\""); content.append(currentFolder); content.append("\");\n"); content.append("top.rD();\n\n"); // now check which filelist colums we want to show int preferences = getDefaultPreferences(); boolean showTitle = (preferences & I_CmsWpConstants.C_FILELIST_TITLE) > 0; boolean showPermissions = (preferences & I_CmsWpConstants.C_FILELIST_PERMISSIONS) > 0; boolean showSize = (preferences & I_CmsWpConstants.C_FILELIST_SIZE) > 0; boolean showDateLastModified = (preferences & I_CmsWpConstants.C_FILELIST_DATE_LASTMODIFIED) > 0; boolean showUserWhoLastModified = (preferences & I_CmsWpConstants.C_FILELIST_USER_LASTMODIFIED) > 0; boolean showDateCreated = (preferences & I_CmsWpConstants.C_FILELIST_DATE_CREATED) > 0; boolean showUserWhoCreated = (preferences & I_CmsWpConstants.C_FILELIST_USER_CREATED) > 0; // now get the entries for the filelist Vector resources = getRessources(getSettings().getExplorerMode(), getSettings().getExplorerFolder()); // if a folder contains to much entrys we split them to pages of C_ENTRYS_PER_PAGE length int startat = 0; int stopat = resources.size(); int selectedPage = 1; int numberOfPages = 0; int maxEntrys = C_ENTRYS_PER_PAGE; if (!(listonly || projectView || vfslinkView)) { selectedPage = getSettings().getExplorerPage(); if (stopat > maxEntrys) { // we have to splitt numberOfPages = (stopat / maxEntrys) + 1; if (selectedPage > numberOfPages) { // the user has changed the folder and then selected a page for the old folder selectedPage = 1; } startat = (selectedPage - 1) * maxEntrys; if ((startat + maxEntrys) < stopat) { stopat = startat + maxEntrys; } } } for (int i = startat; i < stopat; i++) { CmsResource res = (CmsResource)resources.elementAt(i); CmsLock lock = getCms().getLock(res); String path = getCms().readAbsolutePath(res); content.append("top.aF("); // position 1: name content.append("\""); content.append(res.getResourceName()); content.append("\","); // position 2: path if (projectView || vfslinkView) { content.append("\""); // TODO: Check this (won't work with new repository) content.append(path); content.append("\","); } else { //is taken from top.setDirectory content.append("\"\","); } // position 3: title if (showTitle) { String title = ""; try { title = getCms().readProperty(getCms().readAbsolutePath(res), I_CmsConstants.C_PROPERTY_TITLE); } catch (CmsException e) { } if (title == null) { title = ""; } content.append("\""); if (title != null) content.append(Encoder.escapeHtml(title)); content.append("\","); } else { content.append("\"\","); } // position 4: type content.append(res.getType()); content.append(","); // position 5: link type content.append(res.isHardLink() ? 0 : 1); content.append(","); // position 6: size if (res.isFolder() || (!showSize)) { content.append("\"\","); } else { content.append(res.getLength()); content.append(","); } // position 7: state content.append(res.getState()); content.append(","); // position 8: project //int projectId = lock.isNullLock() ? res.getProjectId() : lock.getProjectId(); int projectId = lock.isNullLock() ? getCms().getRequestContext().currentProject().getId() : lock.getProjectId(); content.append(projectId); content.append(","); // position 9: date of last modification if (showDateLastModified) { content.append("\""); content.append(getSettings().getMessages().getDateTime(res.getDateLastModified())); content.append("\","); } else { content.append("\"\","); } // position 10: user who last modified the resource if (showUserWhoLastModified) { content.append("\""); try { content.append(getCms().readUser(res.getUserLastModified()).getName()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } else { content.append("\"\","); } // position 11: date of creation if (showDateCreated) { content.append("\""); content.append(getSettings().getMessages().getDateTime(res.getDateCreated())); content.append("\","); } else { content.append("\"\","); } // position 12 : user who created the resource if (showUserWhoCreated) { content.append("\""); try { content.append(getCms().readUser(res.getUserCreated()).getName()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } else { content.append("\"\","); } // position 13: permissions if (showPermissions) { content.append("\""); try { content.append(getCms().getPermissions(getCms().readAbsolutePath(res)).getPermissionString()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } else { content.append("\"\","); } // position 14: locked by if (lock.isNullLock()) { content.append("\"\","); } else { content.append("\""); try { //content.append(getCms().lockedBy(res).getName()); content.append(getCms().readUser(lock.getUserId()).getName()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } //int lockedInProject = lock.isNullLock() ? res.getProjectId() : lock.getProjectId(); int lockedInProject = lock.isNullLock() ? getCms().getRequestContext().currentProject().getId() : lock.getProjectId(); String lockedInProjectName = ""; try { lockedInProjectName = getCms().readProject(lockedInProject).getName(); } catch (CmsException exc) { // ignore the exception - this is an old project so ignore it } // position 15: name of project where resource belongs to content.append("\""); content.append(lockedInProjectName); content.append("\","); // position 16: id of project where resource belongs to content.append(lockedInProject); content.append(");\n"); } // now the tree, only if changed if (newTreePlease && (!(listonly || vfslinkView))) { content.append("\ntop.rT();\n"); List tree = null; try { tree = getCms().getFolderTree(); } catch (CmsException e) { tree = new Vector(); } int startAt = 1; CmsUUID parentId = CmsUUID.getNullUUID(); boolean grey = false; if (CmsProject.isOnlineProject(getSettings().getProject())) { // all easy: we are in the onlineProject CmsFolder rootFolder = (CmsFolder)tree.get(0); content.append("top.aC(\""); content.append(rootFolder.getId().hashCode()); content.append("\", "); content.append("\""); content.append(getSettings().getMessages().key("title.rootfolder")); content.append("\", \""); content.append(rootFolder.getParentId().hashCode()); content.append("\", false);\n"); for (int i = startAt; i < tree.size(); i++) { CmsFolder folder = (CmsFolder)tree.get(i); content.append("top.aC(\""); // id content.append(folder.getId().hashCode()); content.append("\", "); // name content.append("\""); content.append(folder.getResourceName()); content.append("\", \""); // parentId content.append(folder.getParentId().hashCode()); content.append("\", false);\n"); } } else { // offline Project Hashtable idMixer = new Hashtable(); CmsFolder rootFolder = (CmsFolder)tree.get(0); String folderToIgnore = null; if (! CmsProject.isOnlineProject(rootFolder.getProjectId())) { //startAt = 2; grey = false; /* CmsFolder folder = (CmsFolder)tree.get(1); CmsUUID id = rootFolder.getId(); idMixer.put(folder, id); */ } else { grey = true; } content.append("top.aC(\""); content.append(rootFolder.getId().hashCode()); content.append("\", "); content.append("\""); content.append(getSettings().getMessages().key("title.rootfolder")); content.append("\", \""); content.append(rootFolder.getParentId().hashCode()); content.append("\", "); content.append(grey); content.append(");\n"); for (int i = startAt; i < tree.size(); i++) { CmsFolder folder = (CmsFolder)tree.get(i); if ((folder.getState() == I_CmsConstants.C_STATE_DELETED) || (getCms().readAbsolutePath(folder).equals(folderToIgnore))) { // if the folder is deleted - ignore it and the following online res folderToIgnore = getCms().readAbsolutePath(folder); } else { if (! CmsProject.isOnlineProject(folder.getProjectId())) { grey = false; parentId = folder.getParentId(); try { // the next res is the same res in the online-project: ignore it! if (getCms().readAbsolutePath(folder).equals(getCms().readAbsolutePath((CmsFolder)tree.get(i + 1)))) { i++; idMixer.put(tree.get(i), folder.getId()); } } catch (IndexOutOfBoundsException exc) { // ignore the exception, this was the last resource } } else { grey = true; parentId = folder.getParentId(); if (idMixer.containsKey(parentId)) { parentId = (CmsUUID) idMixer.get(parentId); } } content.append("top.aC(\""); // id content.append(folder.getId().hashCode()); content.append("\", "); // name content.append("\""); content.append(folder.getResourceName()); content.append("\", \""); // parentId content.append(parentId.hashCode()); content.append("\", "); content.append(grey); content.append(");\n"); } } } } if (listonly || projectView) { // only show the filelist content.append("top.dUL(document);\n"); } else { // update all frames content.append("top.dU(document,"); content.append(numberOfPages); content.append(","); content.append(selectedPage); content.append("); \n"); } content.append("}\n"); return content.toString(); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/008b108d0d073c21517bc13c99df468417369491/CmsExplorer.java/buggy/src/org/opencms/workplace/CmsExplorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6034, 682, 2083, 1435, 288, 7734, 368, 309, 1965, 353, 315, 1098, 3700, 3113, 1338, 326, 666, 903, 506, 12188, 3639, 1250, 666, 3700, 273, 315, 1098, 3700, 9654, 14963, 12, 588, 2628, 7675, 588, 20938, 2309, 10663, 540, 368, 309, 1965, 353, 315, 4406, 1945, 3113, 777, 3550, 1390, 316, 716, 1984, 903, 506, 12188, 3639, 1250, 1984, 1767, 273, 315, 4406, 1945, 9654, 14963, 12, 588, 2628, 7675, 588, 20938, 2309, 10663, 3639, 368, 309, 1965, 353, 315, 90, 2556, 7135, 3113, 326, 20682, 4716, 358, 279, 1018, 585, 903, 506, 12188, 3639, 1250, 20682, 1232, 1767, 273, 315, 90, 2556, 1232, 9654, 14963, 12, 588, 2628, 7675, 588, 20938, 2309, 10663, 7734, 514, 783, 3899, 273, 18283, 7675, 588, 20938, 3899, 5621, 3639, 309, 261, 90, 2556, 1232, 1767, 13, 288, 13491, 1250, 1392, 273, 638, 31, 5411, 775, 288, 7734, 14413, 7675, 896, 812, 1864, 12, 2972, 3899, 1769, 5411, 289, 1044, 261, 4747, 503, 425, 13, 288, 7734, 368, 585, 1703, 486, 7471, 7734, 1392, 273, 629, 31, 5411, 289, 5411, 309, 261, 7015, 13, 288, 7734, 368, 585, 342, 3009, 1704, 471, 353, 7471, 7734, 783, 3899, 273, 315, 90, 2556, 1232, 2773, 397, 783, 3899, 31, 5411, 289, 469, 288, 7734, 368, 2405, 326, 1365, 3009, 316, 648, 434, 392, 555, 471, 2715, 326, 919, 7734, 783, 3899, 273, 4016, 31, 7734, 20682, 1232, 1767, 273, 629, 31, 5411, 289, 5375, 289, 7734, 1525, 866, 273, 14413, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6034, 682, 2083, 1435, 288, 7734, 368, 309, 1965, 353, 315, 1098, 3700, 3113, 1338, 326, 666, 903, 506, 12188, 3639, 1250, 666, 3700, 273, 315, 1098, 3700, 9654, 14963, 12, 588, 2628, 7675, 588, 20938, 2309, 10663, 540, 368, 309, 1965, 353, 315, 4406, 1945, 3113, 777, 3550, 1390, 316, 716, 1984, 903, 506, 12188, 3639, 1250, 1984, 1767, 273, 315, 4406, 1945, 9654, 14963, 12, 588, 2628, 7675, 588, 20938, 2309, 10663, 3639, 368, 309, 1965, 353, 315, 90, 2556, 7135, 3113, 326, 20682, 4716, 358, 279, 1018, 585, 903, 506, 12188, 3639, 1250, 20682, 1232, 1767, 273, 315, 90, 2556, 1232, 9654, 14963, 12, 588, 2628, 7675, 588, 20938, 2309, 10663, 7734, 514, 2 ]
this.scope = scope;
this.scope = helper.getScope( ); this.helper = helper;
public JSResultSetRow( ExprManager exprManager, IResultIterator odiResult, Scriptable scope ) { this.exprManager = exprManager; this.odiResult = odiResult; this.currRowIndex = -1; this.valueCacheMap = new HashMap( ); this.scope = scope; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/bc30645dcde6329911aefabdae3765e33bd95d0e/JSResultSetRow.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSResultSetRow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6756, 13198, 1999, 12, 8074, 1318, 3065, 1318, 16, 467, 1253, 3198, 320, 3211, 1253, 16, 1082, 202, 3651, 429, 2146, 262, 202, 95, 202, 202, 2211, 18, 8638, 1318, 273, 3065, 1318, 31, 202, 202, 2211, 18, 369, 77, 1253, 273, 320, 3211, 1253, 31, 202, 202, 2211, 18, 17016, 21769, 273, 300, 21, 31, 202, 202, 2211, 18, 1132, 1649, 863, 273, 394, 4317, 12, 11272, 202, 202, 2211, 18, 4887, 273, 2146, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 202, 202, 2211, 18, 17016, 21769, 273, 300, 21, 31, 202, 202, 2211, 18, 1132, 1649, 863, 273, 394, 4317, 12, 11272, 202, 202, 2211, 18, 4887, 273, 2146, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
store_queries_[0] = new DMDServiceQuery(); store_queries_[0].setMIMEType("audio/x-mp3"); store_queries_[0].setIOMethod("File"); store_queries_[0].setIOMode(DMDHandler.ALL_IO);
store_offers_[0] = new DMDServiceOffer(CLASS_NAME, "audio/x-mp3", null, "File", DMDHandler.ALL_IO);
public DinomedaProvider() { store_queries_ = new DMDServiceQuery[STORES]; store_queries_[0] = new DMDServiceQuery(); store_queries_[0].setMIMEType("audio/x-mp3"); store_queries_[0].setIOMethod("File"); store_queries_[0].setIOMode(DMDHandler.ALL_IO); store_queries_[1] = new DMDServiceQuery(); store_queries_[1].setMIMEType("application/x-pdf"); store_queries_[1].setIOMethod("File"); store_queries_[1].setIOMode(DMDHandler.ALL_IO); store_queries_[2] = new DMDServiceQuery(); store_queries_[2].setMIMEType("image/png"); store_queries_[2].setIOMethod("File"); store_queries_[2].setIOMode(DMDHandler.ALL_IO); store_queries_[3] = new DMDServiceQuery(); store_queries_[3].setMIMEType("text/html"); store_queries_[3].setIOMethod("File"); store_queries_[3].setIOMode(DMDHandler.ALL_IO); mapper_queries_ = new DMDServiceQuery[MAPPERS]; mapper_queries_[0] = new DMDServiceQuery(); mapper_queries_[0].setMIMEType("audio/x-mp3"); mapper_queries_[0].setNameMapping("Dinomeda"); mapper_queries_[1] = new DMDServiceQuery(); mapper_queries_[1].setMIMEType("application/x-pdf"); mapper_queries_[1].setNameMapping("Dinomeda"); mapper_queries_[2] = new DMDServiceQuery(); mapper_queries_[2].setMIMEType("image/png"); mapper_queries_[2].setNameMapping("Dinomeda"); mapper_queries_[3] = new DMDServiceQuery(); mapper_queries_[3].setMIMEType("text/html"); mapper_queries_[3].setNameMapping("Dinomeda"); }
10978 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10978/6adbdd9f27a670b125d33c9530877d38b3588c46/DinomedaProvider.java/clean/dinomeda/src/org/dinopolis/utils/metadata/dinomeda/DinomedaProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 463, 267, 362, 329, 69, 2249, 1435, 225, 288, 565, 1707, 67, 13748, 67, 273, 394, 463, 6188, 1179, 1138, 63, 31487, 7031, 15533, 3639, 1707, 67, 13748, 67, 63, 20, 65, 273, 394, 463, 6188, 1179, 1138, 5621, 565, 1707, 67, 13748, 67, 63, 20, 8009, 542, 18178, 559, 2932, 11509, 19, 92, 17, 1291, 23, 8863, 565, 1707, 67, 13748, 67, 63, 20, 8009, 542, 4294, 1305, 2932, 812, 8863, 565, 1707, 67, 13748, 67, 63, 20, 8009, 542, 45, 1872, 390, 12, 40, 6188, 1503, 18, 4685, 67, 4294, 1769, 5411, 1707, 67, 13748, 67, 63, 21, 65, 273, 394, 463, 6188, 1179, 1138, 5621, 565, 1707, 67, 13748, 67, 63, 21, 8009, 542, 18178, 559, 2932, 3685, 19, 92, 17, 7699, 8863, 565, 1707, 67, 13748, 67, 63, 21, 8009, 542, 4294, 1305, 2932, 812, 8863, 565, 1707, 67, 13748, 67, 63, 21, 8009, 542, 45, 1872, 390, 12, 40, 6188, 1503, 18, 4685, 67, 4294, 1769, 565, 1707, 67, 13748, 67, 63, 22, 65, 273, 394, 463, 6188, 1179, 1138, 5621, 565, 1707, 67, 13748, 67, 63, 22, 8009, 542, 18178, 559, 2932, 2730, 19, 6446, 8863, 565, 1707, 67, 13748, 67, 63, 22, 8009, 542, 4294, 1305, 2932, 812, 8863, 565, 1707, 67, 13748, 67, 63, 22, 8009, 542, 45, 1872, 390, 12, 40, 6188, 1503, 18, 4685, 67, 4294, 1769, 565, 1707, 67, 13748, 67, 63, 23, 65, 273, 394, 463, 6188, 1179, 1138, 5621, 565, 1707, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 463, 267, 362, 329, 69, 2249, 1435, 225, 288, 565, 1707, 67, 13748, 67, 273, 394, 463, 6188, 1179, 1138, 63, 31487, 7031, 15533, 3639, 1707, 67, 13748, 67, 63, 20, 65, 273, 394, 463, 6188, 1179, 1138, 5621, 565, 1707, 67, 13748, 67, 63, 20, 8009, 542, 18178, 559, 2932, 11509, 19, 92, 17, 1291, 23, 8863, 565, 1707, 67, 13748, 67, 63, 20, 8009, 542, 4294, 1305, 2932, 812, 8863, 565, 1707, 67, 13748, 67, 63, 20, 8009, 542, 45, 1872, 390, 12, 40, 6188, 1503, 18, 4685, 67, 4294, 1769, 5411, 1707, 67, 13748, 67, 63, 21, 65, 273, 394, 463, 6188, 1179, 1138, 5621, 565, 1707, 67, 13748, 67, 63, 21, 8009, 542, 2 ]
" [pc: 0, pc: 13] local: args index: 0 type: java/lang/String[]\n" +
" [pc: 0, pc: 13] local: args index: 0 type: java.lang.String[]\n" +
public void test013() { String source = "public class A {\n" + " public static void main(String[] args) {\n" + " boolean b = false;\n" + " if (false\n" + " || !b) { \n" + " System.out.println();\n" + " }\n" + " }\n" + "}"; String expectedOutput = " /* Method descriptor #15 ([Ljava/lang/String;)V */\n" + " public static void main(String[] args);\n" + " /* Stack: 1, Locals: 2 */\n" + " Code attribute:\n" + " 0 iconst_0\n" + " 1 istore_1\n" + " 2 iload_1\n" + " 3 ifne 12\n" + " 6 getstatic #21 <Field java.lang.System#out java.io.PrintStream>\n" + " 9 invokevirtual #26 <Method java.io.PrintStream#println() void>\n" + " 12 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 3]\n" + " [pc: 2, line: 5]\n" + " [pc: 6, line: 6]\n" + " [pc: 12, line: 8]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 13] local: args index: 0 type: java/lang/String[]\n" + " [pc: 2, pc: 13] local: b index: 1 type: boolean\n"; checkClassFile("A", source, expectedOutput); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/9ba8652d2cebf2117416af5e39a70e172556117b/ClassFileReaderTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1611, 23, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 432, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1082, 202, 6, 202, 202, 6494, 324, 273, 629, 9747, 82, 6, 397, 1082, 202, 6, 202, 202, 430, 261, 5743, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 747, 401, 70, 13, 288, 565, 202, 64, 82, 6, 397, 1082, 202, 6, 1082, 565, 202, 3163, 18, 659, 18, 8222, 5621, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 289, 64, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 1532, 31, 202, 202, 780, 2665, 1447, 273, 1082, 202, 6, 225, 1748, 225, 2985, 4950, 225, 468, 3600, 23265, 21159, 19, 4936, 19, 780, 30943, 58, 1195, 64, 82, 6, 397, 1875, 202, 6, 225, 1071, 760, 918, 2774, 12, 780, 8526, 833, 20472, 82, 6, 397, 1875, 202, 6, 565, 1748, 7283, 30, 404, 16, 2851, 1031, 30, 576, 1195, 64, 82, 6, 397, 1875, 202, 6, 565, 3356, 1566, 5581, 82, 6, 397, 1875, 202, 6, 4202, 374, 225, 4126, 334, 67, 20, 64, 82, 6, 397, 1875, 202, 6, 4202, 404, 225, 277, 2233, 67, 21, 64, 82, 6, 397, 1875, 202, 6, 4202, 576, 225, 277, 945, 67, 21, 64, 82, 6, 397, 1875, 202, 6, 4202, 890, 225, 309, 4644, 2593, 64, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1611, 23, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 432, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1082, 202, 6, 202, 202, 6494, 324, 273, 629, 9747, 82, 6, 397, 1082, 202, 6, 202, 202, 430, 261, 5743, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 747, 401, 70, 13, 288, 565, 202, 64, 82, 6, 397, 1082, 202, 6, 1082, 565, 202, 3163, 18, 659, 18, 8222, 5621, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 289, 64, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 2 ]
stateImage[slot] = inactive[which[slot]];
stateImage[slot] = inactive[which[slot]];
private void setState(int slot, int newState, boolean updateAfter) { //if (inactive == null) return; state[slot] = newState; switch (newState) { case INACTIVE: stateImage[slot] = inactive[which[slot]]; break; case ACTIVE: stateImage[slot] = active[which[slot]]; break; case ROLLOVER: stateImage[slot] = rollover[which[slot]]; message(title[which[slot]]); break; } if (updateAfter) repaint(); // changed for swing from update(); }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/800b63ae0b47a6e0154949678e9b0acedc631880/PdeEditorButtons.java/clean/app/PdeEditorButtons.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 12947, 12, 474, 4694, 16, 509, 15907, 16, 1250, 1089, 4436, 13, 288, 565, 368, 430, 261, 27366, 422, 446, 13, 327, 31, 565, 919, 63, 14194, 65, 273, 15907, 31, 565, 1620, 261, 2704, 1119, 13, 288, 565, 648, 2120, 13301, 30, 1377, 919, 2040, 63, 14194, 65, 273, 16838, 63, 12784, 63, 14194, 13563, 31, 4202, 898, 31, 565, 648, 21135, 30, 4202, 919, 2040, 63, 14194, 65, 273, 2695, 63, 12784, 63, 14194, 13563, 31, 4202, 898, 31, 565, 648, 534, 1741, 1502, 2204, 30, 4202, 919, 2040, 63, 14194, 65, 273, 10643, 21896, 63, 12784, 63, 14194, 13563, 31, 4202, 883, 12, 2649, 63, 12784, 63, 14194, 13563, 1769, 1377, 898, 31, 565, 289, 565, 309, 261, 2725, 4436, 13, 24962, 5621, 368, 3550, 364, 9028, 628, 1089, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 12947, 12, 474, 4694, 16, 509, 15907, 16, 1250, 1089, 4436, 13, 288, 565, 368, 430, 261, 27366, 422, 446, 13, 327, 31, 565, 919, 63, 14194, 65, 273, 15907, 31, 565, 1620, 261, 2704, 1119, 13, 288, 565, 648, 2120, 13301, 30, 1377, 919, 2040, 63, 14194, 65, 273, 16838, 63, 12784, 63, 14194, 13563, 31, 4202, 898, 31, 565, 648, 21135, 30, 4202, 919, 2040, 63, 14194, 65, 273, 2695, 63, 12784, 63, 14194, 13563, 31, 4202, 898, 31, 565, 648, 534, 1741, 1502, 2204, 30, 4202, 919, 2040, 63, 14194, 65, 273, 10643, 21896, 63, 12784, 63, 14194, 13563, 31, 4202, 883, 12, 2649, 63, 12784, 63, 14194, 13563, 1769, 1377, 898, 31, 2 ]
fBuiltInTypes.put(LONG, longDV);
types.put(LONG, longDV);
void createBuiltInTypes() { // all schema simple type names final String ANYSIMPLETYPE = "anySimpleType"; final String ANYURI = "anyURI"; final String BASE64BINARY = "base64Binary"; final String BOOLEAN = "boolean"; final String BYTE = "byte"; final String DATE = "date"; final String DATETIME = "dateTime"; final String DAY = "gDay"; final String DECIMAL = "decimal"; final String DOUBLE = "double"; final String DURATION = "duration"; final String ENTITY = "ENTITY"; final String ENTITIES = "ENTITIES"; final String FLOAT = "float"; final String HEXBINARY = "hexBinary"; final String ID = "ID"; final String IDREF = "IDREF"; final String IDREFS = "IDREFS"; final String INT = "int"; final String INTEGER = "integer"; final String LONG = "long"; final String NAME = "Name"; final String NEGATIVEINTEGER = "negativeInteger"; final String MONTH = "gMonth"; final String MONTHDAY = "gMonthDay"; final String NCNAME = "NCName"; final String NMTOKEN = "NMTOKEN"; final String NMTOKENS = "NMTOKENS"; final String LANGUAGE = "language"; final String NONNEGATIVEINTEGER= "nonNegativeInteger"; final String NONPOSITIVEINTEGER= "nonPositiveInteger"; final String NORMALIZEDSTRING = "normalizedString"; final String NOTATION = "NOTATION"; final String POSITIVEINTEGER = "positiveInteger"; final String QNAME = "QName"; final String SHORT = "short"; final String STRING = "string"; final String TIME = "time"; final String TOKEN = "token"; final String UNSIGNEDBYTE = "unsignedByte"; final String UNSIGNEDINT = "unsignedInt"; final String UNSIGNEDLONG = "unsignedLong"; final String UNSIGNEDSHORT = "unsignedShort"; final String YEAR = "gYear"; final String YEARMONTH = "gYearMonth"; final XSFacets facets = new XSFacets(); fBuiltInTypes = new Hashtable(); //REVISIT: passing "anyType" here. XSSimpleTypeDecl anySimpleType = XSSimpleTypeDecl.fAnySimpleType; fBuiltInTypes.put(ANYSIMPLETYPE, anySimpleType); XSSimpleTypeDecl stringDV = new XSSimpleTypeDecl(anySimpleType, STRING, XSSimpleTypeDecl.DV_STRING, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false ); fBuiltInTypes.put(STRING, stringDV); fBuiltInTypes.put(BOOLEAN, new XSSimpleTypeDecl(anySimpleType, STRING, XSSimpleTypeDecl.DV_BOOLEAN, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_FINITE, false)); XSSimpleTypeDecl decimalDV = new XSSimpleTypeDecl(anySimpleType, DECIMAL, XSSimpleTypeDecl.DV_DECIMAL, XSSimpleType.ORDERED_TOTAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, true); fBuiltInTypes.put(DECIMAL, decimalDV); fBuiltInTypes.put(ANYURI, new XSSimpleTypeDecl(anySimpleType, ANYURI, XSSimpleTypeDecl.DV_ANYURI, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(BASE64BINARY, new XSSimpleTypeDecl(anySimpleType, BASE64BINARY, XSSimpleTypeDecl.DV_BASE64BINARY, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DURATION, new XSSimpleTypeDecl(anySimpleType, DURATION, XSSimpleTypeDecl.DV_DURATION, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DATETIME, new XSSimpleTypeDecl(anySimpleType, DATETIME, XSSimpleTypeDecl.DV_DATETIME, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(TIME, new XSSimpleTypeDecl(anySimpleType, TIME, XSSimpleTypeDecl.DV_TIME, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DATE, new XSSimpleTypeDecl(anySimpleType, DATE, XSSimpleTypeDecl.DV_DATE, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(YEARMONTH, new XSSimpleTypeDecl(anySimpleType, YEARMONTH, XSSimpleTypeDecl.DV_GYEARMONTH, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(YEAR, new XSSimpleTypeDecl(anySimpleType, YEAR, XSSimpleTypeDecl.DV_GYEAR, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(MONTHDAY, new XSSimpleTypeDecl(anySimpleType, MONTHDAY, XSSimpleTypeDecl.DV_GMONTHDAY, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DAY, new XSSimpleTypeDecl(anySimpleType, DAY, XSSimpleTypeDecl.DV_GDAY, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(MONTH, new XSSimpleTypeDecl(anySimpleType, MONTH, XSSimpleTypeDecl.DV_GMONTH, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); facets.fractionDigits = 0; XSSimpleTypeDecl integerDV = new XSSimpleTypeDecl(decimalDV, INTEGER, URI_SCHEMAFORSCHEMA, (short)0); integerDV.applyFacets1(facets , XSSimpleType.FACET_FRACTIONDIGITS, (short)0); fBuiltInTypes.put(INTEGER, integerDV); facets.maxInclusive = "0"; XSSimpleTypeDecl nonPositiveDV = new XSSimpleTypeDecl(integerDV, NONPOSITIVEINTEGER, URI_SCHEMAFORSCHEMA, (short)0); nonPositiveDV.applyFacets1(facets , XSSimpleType.FACET_MAXINCLUSIVE, (short)0); fBuiltInTypes.put(NONPOSITIVEINTEGER, nonPositiveDV); facets.maxInclusive = "-1"; XSSimpleTypeDecl negativeDV = new XSSimpleTypeDecl(integerDV, NEGATIVEINTEGER, URI_SCHEMAFORSCHEMA, (short)0); negativeDV.applyFacets1(facets , XSSimpleType.FACET_MAXINCLUSIVE, (short)0); fBuiltInTypes.put(NEGATIVEINTEGER, negativeDV); facets.maxInclusive = "9223372036854775807"; facets.minInclusive = "-9223372036854775808"; XSSimpleTypeDecl longDV = new XSSimpleTypeDecl(integerDV, LONG, URI_SCHEMAFORSCHEMA, (short)0); longDV.applyFacets1(facets , (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(LONG, longDV); facets.maxInclusive = "2147483647"; facets.minInclusive = "-2147483648"; XSSimpleTypeDecl intDV = new XSSimpleTypeDecl(longDV, INT, URI_SCHEMAFORSCHEMA, (short)0); intDV.applyFacets1(facets, (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(INT, intDV); facets.maxInclusive = "32767"; facets.minInclusive = "-32768"; XSSimpleTypeDecl shortDV = new XSSimpleTypeDecl(intDV, SHORT , URI_SCHEMAFORSCHEMA, (short)0); shortDV.applyFacets1(facets, (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(SHORT, shortDV); facets.maxInclusive = "127"; facets.minInclusive = "-128"; XSSimpleTypeDecl byteDV = new XSSimpleTypeDecl(shortDV, BYTE , URI_SCHEMAFORSCHEMA, (short)0); byteDV.applyFacets1(facets, (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(BYTE, byteDV); facets.minInclusive = "0" ; XSSimpleTypeDecl nonNegativeDV = new XSSimpleTypeDecl(integerDV, NONNEGATIVEINTEGER , URI_SCHEMAFORSCHEMA, (short)0); nonNegativeDV.applyFacets1(facets, XSSimpleType.FACET_MININCLUSIVE, (short)0 ); fBuiltInTypes.put(NONNEGATIVEINTEGER, nonNegativeDV); facets.maxInclusive = "18446744073709551615" ; XSSimpleTypeDecl unsignedLongDV = new XSSimpleTypeDecl(nonNegativeDV, UNSIGNEDLONG , URI_SCHEMAFORSCHEMA, (short)0); unsignedLongDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDLONG, unsignedLongDV); facets.maxInclusive = "4294967295" ; XSSimpleTypeDecl unsignedIntDV = new XSSimpleTypeDecl(unsignedLongDV, UNSIGNEDINT , URI_SCHEMAFORSCHEMA, (short)0); unsignedIntDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDINT, unsignedIntDV); facets.maxInclusive = "65535" ; XSSimpleTypeDecl unsignedShortDV = new XSSimpleTypeDecl(unsignedIntDV, UNSIGNEDSHORT , URI_SCHEMAFORSCHEMA, (short)0); unsignedShortDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDSHORT, unsignedShortDV); facets.maxInclusive = "255" ; XSSimpleTypeDecl unsignedByteDV = new XSSimpleTypeDecl(unsignedShortDV, UNSIGNEDBYTE , URI_SCHEMAFORSCHEMA, (short)0); unsignedByteDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDBYTE, unsignedByteDV); facets.minInclusive = "1" ; XSSimpleTypeDecl positiveIntegerDV = new XSSimpleTypeDecl(nonNegativeDV, POSITIVEINTEGER , URI_SCHEMAFORSCHEMA, (short)0); positiveIntegerDV.applyFacets1(facets, XSSimpleType.FACET_MININCLUSIVE, (short)0 ); fBuiltInTypes.put(POSITIVEINTEGER, positiveIntegerDV); fBuiltInTypes.put(FLOAT, new XSSimpleTypeDecl(anySimpleType, FLOAT, XSSimpleTypeDecl.DV_FLOAT, XSSimpleType.ORDERED_TOTAL, true, XSSimpleType.CARDINALITY_FINITE, true)); fBuiltInTypes.put(DOUBLE, new XSSimpleTypeDecl(anySimpleType, DOUBLE, XSSimpleTypeDecl.DV_DOUBLE, XSSimpleType.ORDERED_TOTAL, true, XSSimpleType.CARDINALITY_FINITE, true)); fBuiltInTypes.put(HEXBINARY, new XSSimpleTypeDecl(anySimpleType, HEXBINARY, XSSimpleTypeDecl.DV_HEXBINARY, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(NOTATION, new XSSimpleTypeDecl(anySimpleType, NOTATION, XSSimpleTypeDecl.DV_NOTATION, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); facets.whiteSpace = XSSimpleType.WS_REPLACE; XSSimpleTypeDecl normalizedDV = new XSSimpleTypeDecl(stringDV, NORMALIZEDSTRING , URI_SCHEMAFORSCHEMA, (short)0); normalizedDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0 ); fBuiltInTypes.put(NORMALIZEDSTRING, normalizedDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl tokenDV = new XSSimpleTypeDecl(normalizedDV, TOKEN , URI_SCHEMAFORSCHEMA, (short)0); tokenDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0 ); fBuiltInTypes.put(TOKEN, tokenDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; facets.pattern = "([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]+)(-[a-zA-Z]+)*"; XSSimpleTypeDecl languageDV = new XSSimpleTypeDecl(tokenDV, LANGUAGE , URI_SCHEMAFORSCHEMA, (short)0); languageDV.applyFacets1(facets, (short)(XSSimpleType.FACET_WHITESPACE | XSSimpleType.FACET_PATTERN) ,(short)0); fBuiltInTypes.put(LANGUAGE, languageDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl nameDV = new XSSimpleTypeDecl(tokenDV, NAME , URI_SCHEMAFORSCHEMA, (short)0); nameDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0, XSSimpleTypeDecl.SPECIAL_TOKEN_NAME); fBuiltInTypes.put(NAME, nameDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl ncnameDV = new XSSimpleTypeDecl(nameDV, NCNAME , URI_SCHEMAFORSCHEMA, (short)0) ; ncnameDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0, XSSimpleTypeDecl.SPECIAL_TOKEN_NCNAME); fBuiltInTypes.put(NCNAME, ncnameDV); fBuiltInTypes.put(QNAME, new XSSimpleTypeDecl(anySimpleType, QNAME, XSSimpleTypeDecl.DV_QNAME, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(ID, new XSSimpleTypeDecl(ncnameDV, ID, XSSimpleTypeDecl.DV_ID, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false )); XSSimpleTypeDecl idrefDV = new XSSimpleTypeDecl(ncnameDV, IDREF , XSSimpleTypeDecl.DV_IDREF, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false); fBuiltInTypes.put(IDREF, idrefDV); facets.minLength = 1; XSSimpleTypeDecl tempDV = new XSSimpleTypeDecl(null, URI_SCHEMAFORSCHEMA, (short)0, idrefDV); XSSimpleTypeDecl idrefsDV = new XSSimpleTypeDecl(tempDV, IDREFS, URI_SCHEMAFORSCHEMA, (short)0); idrefsDV.applyFacets1(facets, XSSimpleType.FACET_MINLENGTH, (short)0); fBuiltInTypes.put(IDREFS, idrefsDV); XSSimpleTypeDecl entityDV = new XSSimpleTypeDecl(ncnameDV, ENTITY , XSSimpleTypeDecl.DV_ENTITY, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false); fBuiltInTypes.put(ENTITY, entityDV); facets.minLength = 1; tempDV = new XSSimpleTypeDecl(null, URI_SCHEMAFORSCHEMA, (short)0, entityDV); XSSimpleTypeDecl entitiesDV = new XSSimpleTypeDecl(tempDV, ENTITIES, URI_SCHEMAFORSCHEMA, (short)0); entitiesDV.applyFacets1(facets, XSSimpleType.FACET_MINLENGTH, (short)0); fBuiltInTypes.put(ENTITIES, entitiesDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl nmtokenDV = new XSSimpleTypeDecl(tokenDV, NMTOKEN, URI_SCHEMAFORSCHEMA, (short)0); nmtokenDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0, XSSimpleTypeDecl.SPECIAL_TOKEN_NMTOKEN); fBuiltInTypes.put(NMTOKEN, nmtokenDV); facets.minLength = 1; tempDV = new XSSimpleTypeDecl(null, URI_SCHEMAFORSCHEMA, (short)0, nmtokenDV); XSSimpleTypeDecl nmtokensDV = new XSSimpleTypeDecl(tempDV, NMTOKENS, URI_SCHEMAFORSCHEMA, (short)0); nmtokensDV.applyFacets1(facets, XSSimpleType.FACET_MINLENGTH, (short)0); fBuiltInTypes.put(NMTOKENS, nmtokensDV); }//createBuiltInTypes()
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/8878baf15277284e47b284a45edff4668430692e/SchemaDVFactoryImpl.java/clean/src/org/apache/xerces/impl/dv/xs/SchemaDVFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 752, 16409, 382, 2016, 1435, 288, 3639, 368, 777, 1963, 4143, 618, 1257, 3639, 727, 514, 16743, 31669, 900, 2399, 377, 273, 315, 2273, 5784, 559, 14432, 3639, 727, 514, 16743, 3098, 5411, 273, 315, 2273, 3098, 14432, 3639, 727, 514, 10250, 1105, 16813, 1377, 273, 315, 1969, 1105, 5905, 14432, 3639, 727, 514, 18993, 6647, 273, 315, 6494, 14432, 3639, 727, 514, 20660, 2868, 273, 315, 7229, 14432, 3639, 727, 514, 11457, 2868, 273, 315, 712, 14432, 3639, 727, 514, 31337, 1850, 273, 315, 712, 950, 14432, 3639, 727, 514, 11579, 9079, 273, 315, 75, 4245, 14432, 3639, 727, 514, 25429, 6647, 273, 315, 12586, 14432, 3639, 727, 514, 14918, 5411, 273, 315, 9056, 14432, 3639, 727, 514, 31794, 1850, 273, 315, 8760, 14432, 3639, 727, 514, 17020, 5411, 273, 315, 11101, 14432, 3639, 727, 514, 8348, 25673, 1850, 273, 315, 2222, 25673, 14432, 3639, 727, 514, 15483, 2398, 273, 315, 5659, 14432, 3639, 727, 514, 23971, 16813, 540, 273, 315, 7118, 5905, 14432, 3639, 727, 514, 1599, 7734, 273, 315, 734, 14432, 3639, 727, 514, 1599, 10771, 2398, 273, 315, 734, 10771, 14432, 3639, 727, 514, 1599, 862, 4931, 5411, 273, 315, 734, 862, 4931, 14432, 3639, 727, 514, 6137, 9079, 273, 315, 474, 14432, 3639, 727, 514, 16481, 6647, 273, 315, 7745, 14432, 3639, 727, 514, 14011, 2868, 273, 315, 5748, 14432, 3639, 727, 514, 6048, 2868, 273, 315, 461, 14432, 3639, 727, 514, 27586, 14217, 282, 273, 315, 13258, 4522, 14432, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 752, 16409, 382, 2016, 1435, 288, 3639, 368, 777, 1963, 4143, 618, 1257, 3639, 727, 514, 16743, 31669, 900, 2399, 377, 273, 315, 2273, 5784, 559, 14432, 3639, 727, 514, 16743, 3098, 5411, 273, 315, 2273, 3098, 14432, 3639, 727, 514, 10250, 1105, 16813, 1377, 273, 315, 1969, 1105, 5905, 14432, 3639, 727, 514, 18993, 6647, 273, 315, 6494, 14432, 3639, 727, 514, 20660, 2868, 273, 315, 7229, 14432, 3639, 727, 514, 11457, 2868, 273, 315, 712, 14432, 3639, 727, 514, 31337, 1850, 273, 315, 712, 950, 14432, 3639, 727, 514, 11579, 9079, 273, 315, 75, 4245, 14432, 3639, 727, 514, 25429, 6647, 273, 315, 12586, 14432, 3639, 727, 514, 14918, 5411, 273, 315, 9056, 14432, 3639, 2 ]
public er.bugtracker.Component component() { return (er.bugtracker.Component)storedValueForKey("component");
public Component component() { return (Component)storedValueForKey("component");
public er.bugtracker.Component component() { return (er.bugtracker.Component)storedValueForKey("component"); }
17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/e2f6d086a1ca4f9bae07e93767b99fcb6f6fa2ac/_TestItem.java/clean/Common/Applications/BugTracker/Frameworks/BTBusinessLogic/Sources/er/bugtracker/_TestItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6445, 18, 925, 16543, 18, 1841, 1794, 1435, 288, 3639, 327, 261, 264, 18, 925, 16543, 18, 1841, 13, 22601, 620, 19759, 2932, 4652, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6445, 18, 925, 16543, 18, 1841, 1794, 1435, 288, 3639, 327, 261, 264, 18, 925, 16543, 18, 1841, 13, 22601, 620, 19759, 2932, 4652, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (disableIO) { Session.this.disableIO(); }
public void receiveRPY(Message message) { try { if (disableIO) { Session.this.disableIO(); } Element topElement = processMessage(message); // is this RPY a <greeting> String elementName = topElement.getTagName(); if (elementName == null) { throw new BEEPException(ERR_MALFORMED_XML_MSG); // is this RPY a <profile> } else if (elementName.equals("profile")) { try { String uri = topElement.getAttribute("uri"); if (uri == null) { throw new BEEPException("Malformed profile"); } String encoding = topElement.getAttribute("encoding"); if (encoding == null) { encoding = Constants.ENCODING_NONE; } // see if there is data and then turn it into a message Node dataNode = topElement.getFirstChild(); String data = null; if (dataNode != null) { data = dataNode.getNodeValue(); if (data.length() > MAX_PCDATA_SIZE) { throw new BEEPException("Element's PCDATA " + "exceeds the " + "maximum size"); } } channel.setEncoding(encoding); channel.setProfile(uri); channel.setStartData(data); // set the state channel.setState(Channel.STATE_OK); channels.put(channel.getNumberAsString(), channel); /** * @todo something with data */ // release the block waiting for the channel // to start or close synchronized (this) { this.notify(); } // I'm not sure why this is being done. if (TuningProfile.isTuningProfile(uri)) { Log.logEntry(Log.SEV_DEBUG, CORE, "Disabling this I/O thread"); Session.this.disableIO(); } } catch (Exception x) { throw new BEEPException(x.getMessage()); } } else { throw new BEEPException(ERR_UNKNOWN_OPERATION_ELEMENT_MSG); } } catch (BEEPException e) { terminate("Problem with RPY: " + e.getMessage()); } }
11902 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11902/ec0bb015b8710a43b12a0230262e65a59578ad13/Session.java/clean/src/org/beepcore/beep/core/Session.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 6798, 54, 16235, 12, 1079, 883, 13, 3639, 288, 5411, 775, 288, 7734, 309, 261, 8394, 4294, 13, 288, 10792, 3877, 18, 2211, 18, 8394, 4294, 5621, 7734, 289, 7734, 3010, 1760, 1046, 273, 1207, 1079, 12, 2150, 1769, 7734, 368, 353, 333, 534, 16235, 279, 411, 75, 9015, 310, 34, 7734, 514, 14453, 273, 1760, 1046, 18, 588, 8520, 5621, 7734, 309, 261, 2956, 461, 422, 446, 13, 288, 10792, 604, 394, 605, 9383, 52, 503, 12, 9712, 67, 49, 1013, 7473, 25773, 67, 4201, 67, 11210, 1769, 10792, 368, 353, 333, 534, 16235, 279, 411, 5040, 34, 7734, 289, 469, 309, 261, 2956, 461, 18, 14963, 2932, 5040, 6, 3719, 288, 10792, 775, 288, 13491, 514, 2003, 273, 1760, 1046, 18, 588, 1499, 2932, 1650, 8863, 13491, 309, 261, 1650, 422, 446, 13, 288, 18701, 604, 394, 605, 9383, 52, 503, 2932, 18695, 3042, 8863, 13491, 289, 13491, 514, 2688, 273, 18701, 1760, 1046, 18, 588, 1499, 2932, 5999, 8863, 13491, 309, 261, 5999, 422, 446, 13, 288, 18701, 2688, 273, 5245, 18, 14672, 67, 9826, 31, 13491, 289, 13491, 368, 2621, 309, 1915, 353, 501, 471, 1508, 7005, 518, 1368, 279, 883, 13491, 2029, 501, 907, 273, 1760, 1046, 18, 588, 3759, 1763, 5621, 13491, 514, 501, 273, 446, 31, 13491, 309, 261, 892, 907, 480, 446, 13, 288, 18701, 501, 273, 501, 907, 18, 588, 907, 620, 5621, 18701, 309, 261, 892, 18, 2469, 1435, 405, 4552, 67, 3513, 4883, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 6798, 54, 16235, 12, 1079, 883, 13, 3639, 288, 5411, 775, 288, 7734, 309, 261, 8394, 4294, 13, 288, 10792, 3877, 18, 2211, 18, 8394, 4294, 5621, 7734, 289, 7734, 3010, 1760, 1046, 273, 1207, 1079, 12, 2150, 1769, 7734, 368, 353, 333, 534, 16235, 279, 411, 75, 9015, 310, 34, 7734, 514, 14453, 273, 1760, 1046, 18, 588, 8520, 5621, 7734, 309, 261, 2956, 461, 422, 446, 13, 288, 10792, 604, 394, 605, 9383, 52, 503, 12, 9712, 67, 49, 1013, 7473, 25773, 67, 4201, 67, 11210, 1769, 10792, 368, 353, 333, 534, 16235, 279, 411, 5040, 34, 7734, 289, 469, 309, 261, 2956, 461, 18, 14963, 2932, 5040, 6, 3719, 288, 10792, 775, 288, 2 ]
event.text = "";
event.text = "";
void doBackspace() { Event event = new Event();event.text = ""; if (selection.x != selection.y) { event.start = selection.x; event.end = selection.y; sendKeyEvent(event); } else if (caretOffset > 0) { int line = content.getLineAtOffset(caretOffset); int lineOffset = content.getOffsetAtLine(line); if (caretOffset == lineOffset) { lineOffset = content.getOffsetAtLine(line - 1); event.start = lineOffset + content.getLine(line - 1).length(); event.end = caretOffset; } else { event.start = caretOffset - 1; event.end = caretOffset; } sendKeyEvent(event); }}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/aade523ef1dc5fd1c84ac8f836346b4b6063d6ae/StyledText.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 741, 2711, 2981, 1435, 288, 202, 1133, 871, 273, 394, 2587, 5621, 2575, 18, 955, 273, 1408, 31, 202, 430, 261, 10705, 18, 92, 480, 4421, 18, 93, 13, 288, 202, 202, 2575, 18, 1937, 273, 4421, 18, 92, 31, 202, 202, 2575, 18, 409, 273, 4421, 18, 93, 31, 202, 202, 4661, 653, 1133, 12, 2575, 1769, 202, 97, 202, 12107, 202, 430, 261, 71, 20731, 2335, 405, 374, 13, 288, 202, 202, 474, 980, 273, 913, 18, 588, 1670, 861, 2335, 12, 71, 20731, 2335, 1769, 202, 202, 474, 980, 2335, 273, 913, 18, 588, 2335, 861, 1670, 12, 1369, 1769, 25083, 202, 430, 261, 71, 20731, 2335, 422, 980, 2335, 13, 288, 1082, 202, 1369, 2335, 273, 913, 18, 588, 2335, 861, 1670, 12, 1369, 300, 404, 1769, 1082, 202, 2575, 18, 1937, 273, 980, 2335, 397, 913, 18, 588, 1670, 12, 1369, 300, 404, 2934, 2469, 5621, 1082, 202, 2575, 18, 409, 273, 21683, 2335, 31, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 2575, 18, 1937, 273, 21683, 2335, 300, 404, 31, 1082, 202, 2575, 18, 409, 273, 21683, 2335, 31, 202, 202, 97, 202, 202, 4661, 653, 1133, 12, 2575, 1769, 202, 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705, 18, 92, 480, 4421, 18, 93, 13, 288, 202, 202, 2575, 18, 1937, 273, 4421, 18, 92, 31, 202, 202, 2575, 18, 409, 273, 4421, 18, 93, 31, 202, 202, 4661, 653, 1133, 12, 2575, 1769, 202, 97, 202, 12107, 202, 430, 261, 71, 20731, 2335, 405, 374, 13, 288, 202, 202, 474, 980, 273, 913, 18, 588, 1670, 861, 2335, 12, 71, 20731, 2335, 1769, 202, 202, 474, 980, 2335, 273, 913, 18, 588, 2335, 861, 1670, 12, 1369, 1769, 25083, 202, 430, 261, 71, 20731, 2335, 422, 980, 2335, 13, 288, 1082, 202, 1369, 2 ]
if (type == Node.PRE_INC || type == Node.POST_INC) {
if ((incrDecrMask & Node.DECR_FLAG) == 0) {
public static Object elemIncrDecr(Object obj, Object index, Scriptable scope, int type) { Object value = getElem(obj, index, scope); if (value == Undefined.instance) return value; boolean post = (type == Node.POST_INC || type == Node.POST_DEC); double number; if (value instanceof Number) { number = ((Number)value).doubleValue(); } else { number = toNumber(value); if (post) { // convert result to number value = new Double(number); } } if (type == Node.PRE_INC || type == Node.POST_INC) { ++number; } else { --number; } Number result = new Double(number); setElem(obj, index, result, scope); if (post) { return value; } else { return result; } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/7bdde7c0fc43a86feb9c8ba45689d5c166af147d/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3659, 382, 3353, 1799, 86, 12, 921, 1081, 16, 1033, 770, 16, 4766, 1377, 22780, 2146, 16, 509, 618, 13, 565, 288, 3639, 1033, 460, 273, 4774, 3269, 12, 2603, 16, 770, 16, 2146, 1769, 3639, 309, 261, 1132, 422, 22243, 18, 1336, 13, 5411, 327, 460, 31, 3639, 1250, 1603, 273, 261, 723, 422, 2029, 18, 3798, 67, 23213, 747, 618, 422, 2029, 18, 3798, 67, 1639, 39, 1769, 3639, 1645, 1300, 31, 3639, 309, 261, 1132, 1276, 3588, 13, 288, 5411, 1300, 273, 14015, 1854, 13, 1132, 2934, 9056, 620, 5621, 3639, 289, 469, 288, 5411, 1300, 273, 358, 1854, 12, 1132, 1769, 5411, 309, 261, 2767, 13, 288, 7734, 368, 1765, 563, 358, 1300, 7734, 460, 273, 394, 3698, 12, 2696, 1769, 5411, 289, 3639, 289, 3639, 309, 14015, 267, 3353, 1799, 86, 5796, 473, 2029, 18, 1639, 5093, 67, 9651, 13, 422, 374, 13, 288, 5411, 965, 2696, 31, 3639, 289, 469, 288, 5411, 1493, 2696, 31, 3639, 289, 3639, 3588, 563, 273, 394, 3698, 12, 2696, 1769, 3639, 444, 7498, 12, 2603, 16, 770, 16, 563, 16, 2146, 1769, 3639, 309, 261, 2767, 13, 288, 5411, 327, 460, 31, 3639, 289, 469, 288, 5411, 327, 563, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3659, 382, 3353, 1799, 86, 12, 921, 1081, 16, 1033, 770, 16, 4766, 1377, 22780, 2146, 16, 509, 618, 13, 565, 288, 3639, 1033, 460, 273, 4774, 3269, 12, 2603, 16, 770, 16, 2146, 1769, 3639, 309, 261, 1132, 422, 22243, 18, 1336, 13, 5411, 327, 460, 31, 3639, 1250, 1603, 273, 261, 723, 422, 2029, 18, 3798, 67, 23213, 747, 618, 422, 2029, 18, 3798, 67, 1639, 39, 1769, 3639, 1645, 1300, 31, 3639, 309, 261, 1132, 1276, 3588, 13, 288, 5411, 1300, 273, 14015, 1854, 13, 1132, 2934, 9056, 620, 5621, 3639, 289, 469, 288, 5411, 1300, 273, 358, 1854, 12, 1132, 1769, 5411, 309, 261, 2767, 13, 288, 7734, 368, 1765, 563, 2 ]
fail("should throw UnsupportedEncodingException");
fail("should throw SecurityException");
public void test_ConstructorLjava_lang_StringLjava_lang_String() throws IOException { Formatter f = null; try { f = new Formatter((String) null, Charset.defaultCharset().name()); fail("should throw NullPointerException"); } catch (NullPointerException e1) { // expected } try { f = new Formatter("notexist", null); fail("should throw NullPointerException"); } catch (NullPointerException e2) { // expected } f = new Formatter("notexist", Charset.defaultCharset().name()); assertEquals(f.locale(), Locale.getDefault()); f.close(); try { f = new Formatter("notexist", "ISO 1111-1"); fail("should throw UnsupportedEncodingException"); } catch (UnsupportedEncodingException e1) { // expected } f = new Formatter(fileWithContent.getPath(), "UTF-16BE"); assertEquals(0, fileWithContent.length()); f.close(); try { f = new Formatter(readOnly.getPath(), "UTF-16BE"); fail("should throw FileNotFoundException"); } catch (FileNotFoundException e) { // expected } SecurityManager oldsm = System.getSecurityManager(); try { System.setSecurityManager(new MockSecurityManager()); f = new Formatter(secret.getPath(), "UTF-16BE"); fail("should throw UnsupportedEncodingException"); } catch (SecurityException se) { // expected } finally { System.setSecurityManager(oldsm); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/237eac70f2970bc83ef1674f1b8a991f130e72ab/FormatterTest.java/clean/modules/luni/src/test/java/tests/api/java/util/FormatterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 6293, 21159, 67, 4936, 67, 780, 21159, 67, 4936, 67, 780, 1435, 1082, 202, 15069, 1860, 288, 202, 202, 5074, 284, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 74, 273, 394, 14924, 12443, 780, 13, 446, 16, 12080, 18, 1886, 9652, 7675, 529, 10663, 1082, 202, 6870, 2932, 13139, 604, 10108, 8863, 202, 202, 97, 1044, 261, 2041, 9992, 425, 21, 13, 288, 1082, 202, 759, 2665, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 74, 273, 394, 14924, 2932, 902, 7398, 3113, 446, 1769, 1082, 202, 6870, 2932, 13139, 604, 10108, 8863, 202, 202, 97, 1044, 261, 2041, 9992, 425, 22, 13, 288, 1082, 202, 759, 2665, 202, 202, 97, 202, 202, 74, 273, 394, 14924, 2932, 902, 7398, 3113, 12080, 18, 1886, 9652, 7675, 529, 10663, 202, 202, 11231, 8867, 12, 74, 18, 6339, 9334, 6458, 18, 588, 1868, 10663, 202, 202, 74, 18, 4412, 5621, 202, 202, 698, 288, 1082, 202, 74, 273, 394, 14924, 2932, 902, 7398, 3113, 315, 12609, 16344, 21, 17, 21, 8863, 1082, 202, 6870, 2932, 13139, 604, 15367, 8863, 202, 202, 97, 1044, 261, 8544, 13836, 425, 21, 13, 288, 1082, 202, 759, 2665, 202, 202, 97, 202, 202, 74, 273, 394, 14924, 12, 768, 1190, 1350, 18, 588, 743, 9334, 315, 5159, 17, 2313, 5948, 8863, 202, 202, 11231, 8867, 12, 20, 16, 585, 1190, 1350, 18, 2469, 10663, 202, 202, 74, 18, 4412, 5621, 202, 202, 698, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 6293, 21159, 67, 4936, 67, 780, 21159, 67, 4936, 67, 780, 1435, 1082, 202, 15069, 1860, 288, 202, 202, 5074, 284, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 74, 273, 394, 14924, 12443, 780, 13, 446, 16, 12080, 18, 1886, 9652, 7675, 529, 10663, 1082, 202, 6870, 2932, 13139, 604, 10108, 8863, 202, 202, 97, 1044, 261, 2041, 9992, 425, 21, 13, 288, 1082, 202, 759, 2665, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 74, 273, 394, 14924, 2932, 902, 7398, 3113, 446, 1769, 1082, 202, 6870, 2932, 13139, 604, 10108, 8863, 202, 202, 97, 1044, 261, 2041, 9992, 425, 22, 13, 288, 1082, 202, 759, 2665, 202, 202, 2 ]
myBuffer[myPos] = (byte) b;
myBuffer[myPos] = b;
private void unread(int b) throws IOException { myPos++; if (myPos >= myBuffer.length) throw new IOException("Push back buffer is full"); myBuffer[myPos] = (byte) b; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0efdfaf75b9b2d2471dd76eb7cd89c140ab8231d/LineReader.java/clean/util/src/com/intellij/util/text/LineReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 19541, 12, 474, 324, 13, 1216, 1860, 288, 565, 3399, 1616, 9904, 31, 565, 309, 261, 4811, 1616, 1545, 3399, 1892, 18, 2469, 13, 1377, 604, 394, 1860, 2932, 7621, 1473, 1613, 353, 1983, 8863, 565, 3399, 1892, 63, 4811, 1616, 65, 273, 324, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 19541, 12, 474, 324, 13, 1216, 1860, 288, 565, 3399, 1616, 9904, 31, 565, 309, 261, 4811, 1616, 1545, 3399, 1892, 18, 2469, 13, 1377, 604, 394, 1860, 2932, 7621, 1473, 1613, 353, 1983, 8863, 565, 3399, 1892, 63, 4811, 1616, 65, 273, 324, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (TreeUtil.skipElementsBack(child, ElementType.WHITE_SPACE_OR_COMMENT_BIT_SET) == null) { return ChildRole.PRECEDING_COMMENT; } else { return ChildRole.NONE; }
return ChildRole.NONE;
public int getChildRole(ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == JavaTokenType.DOC_COMMENT || i == JavaDocElementType.DOC_COMMENT) { return getChildRole(child, ChildRole.DOC_COMMENT); } else if (i == JavaTokenType.C_STYLE_COMMENT || i == JavaTokenType.END_OF_LINE_COMMENT) { if (TreeUtil.skipElementsBack(child, ElementType.WHITE_SPACE_OR_COMMENT_BIT_SET) == null) { return ChildRole.PRECEDING_COMMENT; } else { return ChildRole.NONE; } } else if (i == JavaElementType.MODIFIER_LIST) { return ChildRole.MODIFIER_LIST; } else if (i == JavaElementType.TYPE) { return getChildRole(child, ChildRole.TYPE); } else if (i == JavaTokenType.IDENTIFIER) { return getChildRole(child, ChildRole.NAME); } else if (i == JavaTokenType.EQ) { return getChildRole(child, ChildRole.INITIALIZER_EQ); } else if (i == JavaTokenType.SEMICOLON) { return getChildRole(child, ChildRole.CLOSING_SEMICOLON); } else { if (ElementType.EXPRESSION_BIT_SET.isInSet(child.getElementType())) { return ChildRole.INITIALIZER; } return ChildRole.NONE; } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/984ae8c4e331e8880490078c1eb957c430b9337a/FieldElement.java/clean/source/com/intellij/psi/impl/source/tree/java/FieldElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 8154, 2996, 12, 9053, 907, 1151, 13, 288, 565, 2018, 18, 11231, 5510, 12, 3624, 18, 588, 2471, 3054, 1435, 422, 333, 1769, 565, 467, 17481, 277, 273, 1151, 18, 588, 17481, 5621, 565, 309, 261, 77, 422, 5110, 28675, 18, 19693, 67, 12200, 747, 277, 422, 5110, 1759, 17481, 18, 19693, 67, 12200, 13, 288, 1377, 327, 8154, 2996, 12, 3624, 16, 7451, 2996, 18, 19693, 67, 12200, 1769, 565, 289, 565, 469, 309, 261, 77, 422, 5110, 28675, 18, 39, 67, 15066, 67, 12200, 747, 277, 422, 5110, 28675, 18, 4415, 67, 3932, 67, 5997, 67, 12200, 13, 288, 1377, 309, 261, 2471, 1304, 18, 7457, 3471, 2711, 12, 3624, 16, 3010, 559, 18, 16861, 67, 6616, 67, 916, 67, 12200, 67, 15650, 67, 4043, 13, 422, 446, 13, 288, 3639, 327, 7451, 2996, 18, 3670, 23552, 1360, 67, 12200, 31, 1377, 289, 1377, 469, 288, 3639, 327, 7451, 2996, 18, 9826, 31, 1377, 289, 565, 289, 565, 469, 309, 261, 77, 422, 5110, 17481, 18, 6720, 10591, 67, 7085, 13, 288, 1377, 327, 7451, 2996, 18, 6720, 10591, 67, 7085, 31, 565, 289, 565, 469, 309, 261, 77, 422, 5110, 17481, 18, 2399, 13, 288, 1377, 327, 8154, 2996, 12, 3624, 16, 7451, 2996, 18, 2399, 1769, 565, 289, 565, 469, 309, 261, 77, 422, 5110, 28675, 18, 16606, 13, 288, 1377, 327, 8154, 2996, 12, 3624, 16, 7451, 2996, 18, 1985, 1769, 565, 289, 565, 469, 309, 261, 77, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 8154, 2996, 12, 9053, 907, 1151, 13, 288, 565, 2018, 18, 11231, 5510, 12, 3624, 18, 588, 2471, 3054, 1435, 422, 333, 1769, 565, 467, 17481, 277, 273, 1151, 18, 588, 17481, 5621, 565, 309, 261, 77, 422, 5110, 28675, 18, 19693, 67, 12200, 747, 277, 422, 5110, 1759, 17481, 18, 19693, 67, 12200, 13, 288, 1377, 327, 8154, 2996, 12, 3624, 16, 7451, 2996, 18, 19693, 67, 12200, 1769, 565, 289, 565, 469, 309, 261, 77, 422, 5110, 28675, 18, 39, 67, 15066, 67, 12200, 747, 277, 422, 5110, 28675, 18, 4415, 67, 3932, 67, 5997, 67, 12200, 13, 288, 1377, 309, 261, 2471, 1304, 18, 7457, 3471, 2711, 12, 3624, 16, 3010, 559, 18, 2 ]
RubyString newString = newString(getValue()); return newString.swapcase_bang();
RubyString newString = newString(getValue()); IRubyObject swappedString = newString.swapcase_bang(); if (swappedString.isNil() == true) { return newString; } return (RubyString) swappedString;
public RubyString swapcase() { RubyString newString = newString(getValue()); return newString.swapcase_bang(); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/4e8afef0dba3b66a390c9ba70b997174b975fc0e/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 7720, 3593, 1435, 288, 202, 202, 54, 10340, 780, 394, 780, 273, 394, 780, 12, 24805, 10663, 202, 202, 2463, 394, 780, 18, 22270, 3593, 67, 70, 539, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 7720, 3593, 1435, 288, 202, 202, 54, 10340, 780, 394, 780, 273, 394, 780, 12, 24805, 10663, 202, 202, 2463, 394, 780, 18, 22270, 3593, 67, 70, 539, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{ selectionMode = mode; }
{ selectionMode = mode; }
public void setSelectionMode(int mode) { selectionMode = mode; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/363fe84fd732aa8ca3562fb0734fe48ee20c2c65/DefaultTreeSelectionModel.java/buggy/libraries/javalib/javax/swing/tree/DefaultTreeSelectionModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 6233, 2309, 12, 474, 1965, 13, 225, 288, 565, 4421, 2309, 273, 1965, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 6233, 2309, 12, 474, 1965, 13, 225, 288, 565, 4421, 2309, 273, 1965, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Logger.error(this, "Unknown: "+state);
Logger.error(this, "Unknown: "+state, new Exception("debug"));
public void onSuccess(ClientPutState state) { Logger.minor(this, "onSuccess("+state+")"); synchronized(this) { if(finished) return; if(state == sfi) { Logger.minor(this, "Splitfile insert succeeded"); splitInsertSuccess = true; } else if(state == metadataPutter) { Logger.minor(this, "Metadata insert succeeded"); metaInsertSuccess = true; } else { Logger.error(this, "Unknown: "+state); } if(splitInsertSuccess && metaInsertSuccess) { Logger.minor(this, "Both succeeded"); finished = true; } else return; } cb.onSuccess(this); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/21208e342489c2a0c49f6715dd86892930851371/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 20613, 12, 1227, 6426, 1119, 919, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 265, 4510, 2932, 15, 2019, 9078, 2225, 1769, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 430, 12, 13527, 13, 327, 31, 9506, 202, 430, 12, 2019, 422, 9033, 77, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 5521, 768, 2243, 15784, 8863, 6862, 202, 4939, 4600, 4510, 273, 638, 31, 9506, 202, 97, 469, 309, 12, 2019, 422, 1982, 6426, 387, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 2277, 2243, 15784, 8863, 6862, 202, 3901, 4600, 4510, 273, 638, 31, 9506, 202, 97, 469, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4874, 30, 13773, 2019, 1769, 9506, 202, 97, 9506, 202, 430, 12, 4939, 4600, 4510, 597, 2191, 4600, 4510, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 20240, 15784, 8863, 6862, 202, 13527, 273, 638, 31, 9506, 202, 97, 9506, 202, 12107, 327, 31, 1082, 202, 97, 1082, 202, 7358, 18, 265, 4510, 12, 2211, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 20613, 12, 1227, 6426, 1119, 919, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 265, 4510, 2932, 15, 2019, 9078, 2225, 1769, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 430, 12, 13527, 13, 327, 31, 9506, 202, 430, 12, 2019, 422, 9033, 77, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 5521, 768, 2243, 15784, 8863, 6862, 202, 4939, 4600, 4510, 273, 638, 31, 9506, 202, 97, 469, 309, 12, 2019, 422, 1982, 6426, 387, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 2277, 2243, 15784, 8863, 6862, 202, 3901, 4600, 4510, 273, 638, 31, 9506, 202, 97, 469, 288, 6862, 202, 3328, 18, 2 ]
if ((-32768 <= inlinedValue) && (inlinedValue <= 32767)) { this.sipush(inlinedValue); return; } this.ldc(inlinedValue);
public void generateInlinedValue(int inlinedValue) { switch (inlinedValue) { case -1 : this.iconst_m1(); break; case 0 : this.iconst_0(); break; case 1 : this.iconst_1(); break; case 2 : this.iconst_2(); break; case 3 : this.iconst_3(); break; case 4 : this.iconst_4(); break; case 5 : this.iconst_5(); break; default : if ((-128 <= inlinedValue) && (inlinedValue <= 127)) { this.bipush((byte) inlinedValue); return; } if ((-32768 <= inlinedValue) && (inlinedValue <= 32767)) { this.sipush(inlinedValue); return; } this.ldc(inlinedValue); }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/48c062bdb9d6c67e0ab7ada621b2e78159b00da7/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 2103, 382, 22316, 620, 12, 474, 316, 22316, 620, 13, 288, 202, 9610, 261, 267, 22316, 620, 13, 288, 202, 202, 3593, 300, 21, 294, 1082, 202, 2211, 18, 3950, 334, 67, 81, 21, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 374, 294, 1082, 202, 2211, 18, 3950, 334, 67, 20, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 404, 294, 1082, 202, 2211, 18, 3950, 334, 67, 21, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 576, 294, 1082, 202, 2211, 18, 3950, 334, 67, 22, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 890, 294, 1082, 202, 2211, 18, 3950, 334, 67, 23, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 1059, 294, 1082, 202, 2211, 18, 3950, 334, 67, 24, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 1381, 294, 1082, 202, 2211, 18, 3950, 334, 67, 25, 5621, 1082, 202, 8820, 31, 202, 202, 1886, 294, 1082, 202, 430, 14015, 17, 10392, 1648, 316, 22316, 620, 13, 597, 261, 267, 22316, 620, 1648, 12331, 3719, 288, 9506, 202, 2211, 18, 70, 625, 1218, 12443, 7229, 13, 316, 22316, 620, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 430, 14015, 17, 1578, 6669, 28, 1648, 316, 22316, 620, 13, 597, 261, 267, 22316, 620, 1648, 29317, 27, 3719, 288, 9506, 202, 2211, 18, 28477, 1218, 12, 267, 22316, 620, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 2211, 18, 1236, 71, 12, 267, 22316, 620, 1769, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 2103, 382, 22316, 620, 12, 474, 316, 22316, 620, 13, 288, 202, 9610, 261, 267, 22316, 620, 13, 288, 202, 202, 3593, 300, 21, 294, 1082, 202, 2211, 18, 3950, 334, 67, 81, 21, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 374, 294, 1082, 202, 2211, 18, 3950, 334, 67, 20, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 404, 294, 1082, 202, 2211, 18, 3950, 334, 67, 21, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 576, 294, 1082, 202, 2211, 18, 3950, 334, 67, 22, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 890, 294, 1082, 202, 2211, 18, 3950, 334, 67, 23, 5621, 1082, 202, 8820, 31, 202, 202, 3593, 1059, 294, 1082, 2 ]
public BugReport getBug(int id) throws IOException, MalformedURLException, LoginException { BufferedReader in = null; try { // create a new input stream for getting the bug String url = bugzillaUrl + "/show_bug.cgi?id=" + id; // allow the use to only see the operations that they can do to a bug if they have // their user name and password in the preferences if(BugzillaPreferencePage.getUserName() != null && !BugzillaPreferencePage.getUserName().equals("") && BugzillaPreferencePage.getPassword() != null && !BugzillaPreferencePage.getPassword().equals("")) { /* * The UnsupportedEncodingException exception for * URLEncoder.encode() should not be thrown, since every * implementation of the Java platform is required to support * the standard charset "UTF-8" */ url += "&GoAheadAndLogIn=1&Bugzilla_login=" + URLEncoder.encode(BugzillaPreferencePage.getUserName(), "UTF-8") + "&Bugzilla_password=" + URLEncoder.encode(BugzillaPreferencePage.getPassword(), "UTF-8"); } URL bugUrl = new URL(url); URLConnection cntx = BugzillaPlugin.getDefault().getUrlConnection(bugUrl); if(cntx != null){ InputStream input = cntx.getInputStream(); if(input != null) { in = new BufferedReader(new InputStreamReader(input)); // get the actual bug fron the server and return it BugReport bug = BugParser.parseBug(in, id, BugzillaPlugin.getDefault().getServerName(), BugzillaPlugin.getDefault().isServerCompatability218(), BugzillaPreferencePage.getUserName(), BugzillaPreferencePage.getPassword()); return bug; } } // TODO handle the error return null; } catch (MalformedURLException e) { throw e; } catch (IOException e) { throw e; } catch(LoginException e) { throw e; } catch(Exception e) { // throw an exception if there is a problem reading the bug from the server// e.printStackTrace();// throw new IOException(e.getMessage()); BugzillaPlugin.log(new Status( IStatus.ERROR, IBugzillaConstants.PLUGIN_ID, IStatus.ERROR, "Problem getting report", e)); return null; } finally { try { if(in != null) in.close(); } catch(IOException e) { BugzillaPlugin.log(new Status(IStatus.ERROR, IBugzillaConstants.PLUGIN_ID,IStatus.ERROR,"Problem closing the stream", e)); } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/de4b42dba8b1b8b770b413f9f9d24bdc30fccd38/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 4820, 2882, 637, 12, 474, 612, 13, 1216, 1860, 16, 20710, 16, 11744, 503, 202, 95, 202, 202, 17947, 2514, 316, 273, 446, 31, 202, 202, 698, 288, 25083, 202, 759, 752, 279, 394, 810, 1407, 364, 8742, 326, 7934, 25083, 202, 780, 880, 273, 7934, 15990, 1489, 397, 2206, 4500, 67, 925, 18, 19062, 35, 350, 1546, 397, 612, 31, 9506, 202, 759, 1699, 326, 999, 358, 1338, 2621, 326, 5295, 716, 2898, 848, 741, 358, 279, 7934, 309, 2898, 1240, 1082, 202, 759, 3675, 729, 508, 471, 2201, 316, 326, 12750, 1082, 202, 430, 12, 19865, 15990, 9624, 1964, 18, 588, 15296, 1435, 480, 446, 597, 401, 19865, 15990, 9624, 1964, 18, 588, 15296, 7675, 14963, 2932, 7923, 597, 16907, 15990, 9624, 1964, 18, 588, 3913, 1435, 480, 446, 597, 401, 19865, 15990, 9624, 1964, 18, 588, 3913, 7675, 14963, 2932, 6, 3719, 1082, 202, 95, 9506, 202, 20308, 6862, 380, 1021, 15367, 1520, 364, 6862, 380, 1976, 7204, 18, 3015, 1435, 1410, 486, 506, 6718, 16, 3241, 3614, 6862, 380, 4471, 434, 326, 5110, 4072, 353, 1931, 358, 2865, 6862, 380, 326, 4529, 4856, 315, 5159, 17, 28, 6, 6862, 1195, 9506, 202, 718, 1011, 7830, 5741, 24250, 1876, 1343, 382, 33, 21, 10, 19865, 15990, 67, 5819, 1546, 397, 1976, 7204, 18, 3015, 12, 19865, 15990, 9624, 1964, 18, 588, 15296, 9334, 315, 5159, 17, 28, 7923, 397, 7830, 19865, 15990, 67, 3664, 1546, 397, 1976, 7204, 18, 3015, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 4820, 2882, 637, 12, 474, 612, 13, 1216, 1860, 16, 20710, 16, 11744, 503, 202, 95, 202, 202, 17947, 2514, 316, 273, 446, 31, 202, 202, 698, 288, 25083, 202, 759, 752, 279, 394, 810, 1407, 364, 8742, 326, 7934, 25083, 202, 780, 880, 273, 7934, 15990, 1489, 397, 2206, 4500, 67, 925, 18, 19062, 35, 350, 1546, 397, 612, 31, 9506, 202, 759, 1699, 326, 999, 358, 1338, 2621, 326, 5295, 716, 2898, 848, 741, 358, 279, 7934, 309, 2898, 1240, 1082, 202, 759, 3675, 729, 508, 471, 2201, 316, 326, 12750, 1082, 202, 430, 12, 19865, 15990, 9624, 1964, 18, 588, 15296, 1435, 480, 446, 597, 401, 19865, 15990, 9624, 1964, 18, 588, 2 ]
else
} else {
double classifyFoldCV(Instances fold, int [] fs) throws Exception { int i; int ruleCount = 0; int numFold = fold.numInstances(); int numCl = m_theInstances.classAttribute().numValues(); double [][] class_distribs = new double [numFold][numCl]; double [] instA = new double [fs.length]; double [] normDist; hashKey thekey; double acc = 0.0; int classI = m_theInstances.classIndex(); Instance inst; if (m_classIsNominal) normDist = new double [numCl]; else normDist = new double [2]; // first *remove* instances for (i=0;i<numFold;i++) { inst = fold.instance(i); for (int j=0;j<fs.length;j++) if (fs[j] == classI) instA[j] = Double.MAX_VALUE; // missing for the class else if (inst.isMissing(fs[j])) instA[j] = Double.MAX_VALUE; else instA[j] = inst.value(fs[j]); thekey = new hashKey(instA); if ((class_distribs[i] = (double [])m_entries.get(thekey)) == null) { System.out.println("Shouldnt get here!"); System.exit(1); } else { if (m_classIsNominal) class_distribs[i][(int)inst.classValue()] -= inst.weight(); else { class_distribs[i][0] -= (inst.classValue() * inst.weight()); class_distribs[i][1] -= inst.weight(); } ruleCount++; } } // now classify instances for (i=0;i<numFold;i++) { inst = fold.instance(i); System.arraycopy(class_distribs[i],0,normDist,0,normDist.length); if (m_classIsNominal) { boolean ok = false; for (int j=0;j<normDist.length;j++) if (!Utils.eq(normDist[j],0.0)) { ok = true; break; } if (ok) { Utils.normalize(normDist); if (Utils.maxIndex(normDist) == inst.classValue()) acc += inst.weight(); } else if (inst.classValue() == m_majority) acc += inst.weight(); } else { if (Utils.eq(normDist[1],0.0)) acc += ((inst.weight() * (m_majority - inst.classValue())) * (inst.weight() * (m_majority - inst.classValue()))); else { double t = (normDist[0] / normDist[1]); acc += ((inst.weight() * (t - inst.classValue())) * (inst.weight() * (t - inst.classValue()))); } } } // now re-insert instances for (i=0;i<numFold;i++) { inst = fold.instance(i); if (m_classIsNominal) { class_distribs[i][(int)inst.classValue()] += inst.weight(); } else { class_distribs[i][0] += (inst.classValue() * inst.weight()); class_distribs[i][1] += inst.weight(); } } return acc; }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/5a67514c4d5c4fc3fa7a8c909b19b0a2e5c0c206/DecisionTable.java/buggy/trunk/weka/classifiers/DecisionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1645, 19974, 15592, 22007, 12, 5361, 11590, 16, 509, 5378, 2662, 13, 1216, 1185, 225, 288, 565, 509, 277, 31, 565, 509, 1720, 1380, 273, 374, 31, 565, 509, 818, 15592, 273, 11590, 18, 2107, 5361, 5621, 565, 509, 818, 2009, 273, 312, 67, 5787, 5361, 18, 1106, 1499, 7675, 2107, 1972, 5621, 565, 1645, 5378, 8526, 667, 67, 2251, 665, 87, 273, 394, 1645, 306, 2107, 15592, 6362, 2107, 2009, 15533, 565, 1645, 5378, 1804, 37, 273, 394, 1645, 306, 2556, 18, 2469, 15533, 565, 1645, 5378, 4651, 5133, 31, 565, 29623, 326, 856, 31, 565, 1645, 4078, 273, 374, 18, 20, 31, 565, 509, 667, 45, 273, 312, 67, 5787, 5361, 18, 1106, 1016, 5621, 565, 5180, 1804, 31, 565, 309, 261, 81, 67, 1106, 2520, 26685, 1490, 13, 1377, 4651, 5133, 273, 394, 1645, 306, 2107, 2009, 15533, 565, 289, 469, 288, 1377, 4651, 5133, 273, 394, 1645, 306, 22, 15533, 565, 368, 1122, 380, 4479, 14, 3884, 565, 364, 261, 77, 33, 20, 31, 77, 32, 2107, 15592, 31, 77, 27245, 565, 288, 1377, 1804, 273, 11590, 18, 1336, 12, 77, 1769, 1377, 364, 261, 474, 525, 33, 20, 31, 78, 32, 2556, 18, 2469, 31, 78, 27245, 202, 430, 261, 2556, 63, 78, 65, 422, 667, 45, 13, 202, 225, 1804, 37, 63, 78, 65, 273, 3698, 18, 6694, 67, 4051, 31, 368, 3315, 364, 326, 667, 202, 97, 469, 288, 309, 261, 8591, 18, 291, 4841, 12, 2556, 63, 78, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1645, 19974, 15592, 22007, 12, 5361, 11590, 16, 509, 5378, 2662, 13, 1216, 1185, 225, 288, 565, 509, 277, 31, 565, 509, 1720, 1380, 273, 374, 31, 565, 509, 818, 15592, 273, 11590, 18, 2107, 5361, 5621, 565, 509, 818, 2009, 273, 312, 67, 5787, 5361, 18, 1106, 1499, 7675, 2107, 1972, 5621, 565, 1645, 5378, 8526, 667, 67, 2251, 665, 87, 273, 394, 1645, 306, 2107, 15592, 6362, 2107, 2009, 15533, 565, 1645, 5378, 1804, 37, 273, 394, 1645, 306, 2556, 18, 2469, 15533, 565, 1645, 5378, 4651, 5133, 31, 565, 29623, 326, 856, 31, 565, 1645, 4078, 273, 374, 18, 20, 31, 565, 509, 667, 45, 273, 312, 67, 5787, 5361, 18, 1106, 1016, 5621, 565, 2 ]
break;
continue Loop;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: for (;;) { try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); int pcNew = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcNew >= 0) { // Has catch block doCatch = true; } } if (pcNew < 0) { pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcNew < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // Notify instruction observer if necessary // and point pc and pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = pcNew; continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); javaException = new JavaScriptException(value, idata.itsSourceFile, sourceLine); exceptionPC = pc - 1; if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getJavaCatchPC(iCode); continue Loop; } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); stack[stackTop--] = null; continue Loop; } pc += 2; break; } case Token.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 1 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } int newPC; Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; newPC = getJavaCatchPC(iCode); } else { // Normal return from GOSUB newPC = (int)sDbl[LOCAL_SHFT + slot]; } pcPrevBranch = pc = newPC; continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; break; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; break; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; break; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; break; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; break; } case Token.BINDNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case Token.SETNAME : { String name = strings[getIndex(iCode, pc)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); break; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); break; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); break; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; break; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; break; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; break; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case Icode_TYPEOFNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case Icode_NAME_AND_THIS : { String name = strings[getIndex(iCode, pc)]; boolean skipGetThis = (0 != iCode[pc + 2]); stackTop = do_nameAndThis(stack, stackTop, scope, name, skipGetThis); pc += 3; break; } case Token.STRING : stack[++stackTop] = strings[getIndex(iCode, pc)]; pc += 2; break; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; break; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; break; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; break; case Token.NAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case Icode_NAMEINC : case Icode_NAMEDEC : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, name, op == Icode_NAMEINC); pc += 2; break; } case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; break; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case Token.NULL : stack[++stackTop] = null; break; case Token.THIS : stack[++stackTop] = thisObj; break; case Token.THISFN : stack[++stackTop] = fnOrScript; break; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; break; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; break; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; break; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; break; case Token.CATCH_SCOPE : { String name = strings[getIndex(iCode, pc)]; stack[stackTop] = ScriptRuntime.newCatchScope(name, stack[stackTop]); pc += 2; break; } case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; break; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; break; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); break; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; break; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; break; } case Icode_SCOPE : stack[++stackTop] = scope; break; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; break; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; break; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; break; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; break; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } // end of interpreter switch } } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } javaException = ex; exceptionPC = pc; pc = getJavaCatchPC(iCode); continue Loop; } } cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/34e9dc56b7553f450b9015c8f4135584139686cf/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
app.start();
stub.startApplet();
public void run() { app.start(); }
45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/3ea62068168d1d5e148e98e6c40ca7f4f9a004b0/KJASAppletStub.java/clean/khtml/java/org/kde/kjas/server/KJASAppletStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 7168, 18, 1937, 23696, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 7168, 18, 1937, 23696, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return ((flags & (ABORT | ALLBITS)) == 0);
} return (flags & (ALLBITS | ABORT | ERROR)) == 0;
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { int rate = -1; if ((flags & (FRAMEBITS | ALLBITS)) != 0) { rate = 0; } else if ((flags & SOMEBITS) != 0) { rate = 10; } if (rate > 0) { repaint(10, x, y, w, h); } return ((flags & (ABORT | ALLBITS)) == 0); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Component.java/clean/core/src/classpath/java/java/awt/Component.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1316, 1891, 12, 2040, 3774, 16, 509, 2943, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 509, 366, 13, 288, 202, 202, 474, 4993, 273, 300, 21, 31, 202, 202, 430, 14015, 7133, 473, 261, 15072, 25171, 571, 8061, 25171, 3719, 480, 374, 13, 288, 1082, 202, 5141, 273, 374, 31, 202, 202, 97, 469, 309, 14015, 7133, 473, 7460, 958, 25171, 13, 480, 374, 13, 288, 1082, 202, 5141, 273, 1728, 31, 202, 202, 97, 202, 202, 430, 261, 5141, 405, 374, 13, 288, 1082, 202, 14462, 1598, 12, 2163, 16, 619, 16, 677, 16, 341, 16, 366,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1316, 1891, 12, 2040, 3774, 16, 509, 2943, 16, 509, 619, 16, 509, 677, 16, 509, 341, 16, 509, 366, 13, 288, 202, 202, 474, 4993, 273, 300, 21, 31, 202, 202, 430, 14015, 7133, 473, 261, 15072, 25171, 571, 8061, 25171, 3719, 480, 374, 13, 288, 1082, 202, 5141, 273, 374, 31, 202, 202, 97, 469, 309, 14015, 7133, 473, 7460, 958, 25171, 13, 480, 374, 13, 288, 1082, 202, 5141, 273, 1728, 31, 202, 202, 97, 202, 202, 430, 261, 5141, 405, 374, 13, 288, 1082, 202, 14462, 1598, 12, 2163, 16, 619, 16, 677, 16, 341, 16, 366, 1769, 202, 202, 97, 202, 202, 2463, 14015, 7133, 473, 261, 2090, 3871, 571, 2 ]
return "Preference\tname="+name+" value="+value;
return "Preference["+name+"\t"+value + "]\t";
public String toString() { return "Preference\tname="+name+" value="+value; }
51914 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51914/88e385691e6268c3a24bfd1b5f36507e51f49aaa/Preference.java/buggy/ecologylab/services/messages/Preference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 202, 95, 202, 202, 2463, 315, 9624, 64, 88, 529, 1546, 15, 529, 9078, 460, 1546, 15, 1132, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 202, 95, 202, 202, 2463, 315, 9624, 64, 88, 529, 1546, 15, 529, 9078, 460, 1546, 15, 1132, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private ImageCanvas(Composite coParent) { super(coParent, SWT.NONE); addPaintListener(this); rSize = new Rectangle(0, 0, img.getImageData().width, img.getImageData().height); }
private ImageCanvas( Composite coParent ) { super( coParent, SWT.NONE ); addPaintListener( this ); rSize = new Rectangle( 0, 0, img.getImageData( ).width, img.getImageData( ).height ); }
private ImageCanvas(Composite coParent) { super(coParent, SWT.NONE); addPaintListener(this); rSize = new Rectangle(0, 0, img.getImageData().width, img.getImageData().height); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7bbb5f8e436400ad036f258e77dafe9d7604aff3/MessageComposite.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/composites/MessageComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 3421, 12971, 12, 9400, 1825, 3054, 13, 3639, 288, 5411, 2240, 12, 2894, 3054, 16, 348, 8588, 18, 9826, 1769, 5411, 527, 12699, 2223, 12, 2211, 1769, 5411, 436, 1225, 273, 394, 13264, 12, 20, 16, 374, 16, 3774, 18, 588, 2040, 751, 7675, 2819, 16, 3774, 18, 588, 2040, 751, 7675, 4210, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 3421, 12971, 12, 9400, 1825, 3054, 13, 3639, 288, 5411, 2240, 12, 2894, 3054, 16, 348, 8588, 18, 9826, 1769, 5411, 527, 12699, 2223, 12, 2211, 1769, 5411, 436, 1225, 273, 394, 13264, 12, 20, 16, 374, 16, 3774, 18, 588, 2040, 751, 7675, 2819, 16, 3774, 18, 588, 2040, 751, 7675, 4210, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void expandEntityRef (Node node, Node parent, Node reference){
protected final void expandEntityRef (Node node, Node parent, Node reference){
protected void expandEntityRef (Node node, Node parent, Node reference){ Node kid, next; for (kid = node.getFirstChild(); kid != null; kid = next) { next = kid.getNextSibling(); if (node.getNodeType() == Node.TEXT_NODE) { expandEntityRef(kid, parent, reference); } else { parent.insertBefore(kid, reference); } } }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/d0a84b89431225b6b219791f080fd746010eb728/DOMNormalizer.java/clean/src/org/apache/xerces/dom/DOMNormalizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 4542, 1943, 1957, 261, 907, 756, 16, 2029, 982, 16, 2029, 2114, 15329, 3639, 2029, 17395, 16, 1024, 31, 3639, 364, 261, 79, 350, 273, 756, 18, 588, 3759, 1763, 5621, 17395, 480, 446, 31, 17395, 273, 1024, 13, 288, 5411, 1024, 273, 17395, 18, 588, 2134, 10291, 5621, 5411, 309, 261, 2159, 18, 588, 15101, 1435, 422, 2029, 18, 5151, 67, 8744, 13, 288, 7734, 4542, 1943, 1957, 12, 79, 350, 16, 982, 16, 2114, 1769, 5411, 289, 469, 288, 7734, 982, 18, 6387, 4649, 12, 79, 350, 16, 2114, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 13, 288, 5411, 1024, 273, 17395, 18, 588, 2134, 10291, 5621, 5411, 309, 261, 2159, 18, 588, 15101, 1435, 422, 2029, 18, 5151, 67, 8744, 13, 288, 7734, 4542, 1943, 1957, 12, 79, 350, 16, 982, 16, 2114, 1769, 5411, 289, 469, 288, 7734, 982, 18, 6387, 4649, 12, 79, 350, 16, 2114, 1769, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MappedByteBuffer region;
MappedByteBuffer region = null;
public byte[] getRegion(Integer arg0, Long arg1) { errorIfNotLoaded(); MappedByteBuffer region; try { region = buffer.getRegion(arg0, arg1); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Unimplemented exception."); } return bufferAsByteArrayWithExceptionIfNull( region ); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/65a3b02bf58c957397c6c8ccacffb5f328940fc9/RawPixelsBean.java/clean/components/server/src/ome/services/RawPixelsBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 24289, 12, 4522, 1501, 20, 16, 3407, 1501, 21, 13, 565, 288, 3639, 555, 10288, 8835, 5621, 7734, 22806, 12242, 3020, 273, 446, 31, 3639, 775, 3639, 288, 5411, 3020, 273, 1613, 18, 588, 5165, 12, 3175, 20, 16, 1501, 21, 1769, 3639, 289, 1044, 261, 14106, 425, 13, 3639, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 604, 394, 3235, 2932, 984, 21099, 1520, 1199, 1769, 3639, 289, 3639, 327, 1613, 1463, 8826, 1190, 503, 2047, 2041, 12, 3020, 11272, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 24289, 12, 4522, 1501, 20, 16, 3407, 1501, 21, 13, 565, 288, 3639, 555, 10288, 8835, 5621, 7734, 22806, 12242, 3020, 273, 446, 31, 3639, 775, 3639, 288, 5411, 3020, 273, 1613, 18, 588, 5165, 12, 3175, 20, 16, 1501, 21, 1769, 3639, 289, 1044, 261, 14106, 425, 13, 3639, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 604, 394, 3235, 2932, 984, 21099, 1520, 1199, 1769, 3639, 289, 3639, 327, 1613, 1463, 8826, 1190, 503, 2047, 2041, 12, 3020, 11272, 377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
partService.addPartListener(selectionService);
public WWinPartService(IWorkbenchWindow window) { selectionService = new WindowSelectionService(window); partService.addPartListener(selectionService); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/84b7a0b5d51aa090cec82d1595fe66b1b8986bef/WWinPartService.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinPartService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 678, 18049, 1988, 1179, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 3639, 4421, 1179, 273, 394, 6076, 6233, 1179, 12, 5668, 1769, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 678, 18049, 1988, 1179, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 3639, 4421, 1179, 273, 394, 6076, 6233, 1179, 12, 5668, 1769, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Element getElement(Element elem, String path) { List elems = getElements(elem, path); if (elems.size() == 0) return null; else return (Element) elems.get(0); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/Util.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3845, 1046, 21336, 12, 1046, 10037, 16, 780, 803, 15329, 202, 202, 682, 292, 7424, 33, 588, 3471, 12, 10037, 16, 803, 1769, 202, 202, 430, 12, 292, 7424, 18, 1467, 1435, 631, 20, 13, 1082, 202, 2463, 2011, 31, 202, 202, 12107, 1082, 202, 2463, 12, 1046, 13, 292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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3845, 1046, 21336, 12, 1046, 10037, 16, 780, 803, 15329, 202, 202, 682, 292, 7424, 33, 588, 3471, 12, 10037, 16, 803, 1769, 202, 202, 430, 12, 292, 7424, 18, 1467, 1435, 631, 20, 13, 1082, 202, 2463, 2011, 31, 202, 202, 12107, 1082, 202, 2463, 12, 1046, 13, 292, 7424, 18, 588, 12, 20, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.formatter.lastLocalDeclarationSourceStart = -1;
void redoAlignment(AlignmentException e){ if (e.relativeDepth > 0) { // if exception targets a distinct context e.relativeDepth--; // record fact that current context got traversed this.currentAlignment = this.currentAlignment.enclosing; // pop currentLocation throw e; // rethrow } // reset scribe/scanner to restart at this given location this.resetAt(this.currentAlignment.location); this.scanner.resetTo(this.currentAlignment.location.inputOffset, this.scanner.eofPosition); // clean alignment chunkKind so it will think it is a new chunk again this.currentAlignment.chunkKind = 0; this.formatter.lastLocalDeclarationSourceStart = -1; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/61d2e9bd09460e9985288e8ef72cfc838f3c761c/Scribe.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 24524, 11535, 12, 11535, 503, 425, 15329, 202, 202, 430, 261, 73, 18, 11626, 6148, 405, 374, 13, 288, 368, 309, 1520, 5774, 279, 10217, 819, 1082, 202, 73, 18, 11626, 6148, 413, 31, 368, 1409, 5410, 716, 783, 819, 2363, 29062, 1082, 202, 2211, 18, 2972, 11535, 273, 333, 18, 2972, 11535, 18, 1331, 10910, 31, 368, 1843, 783, 2735, 1082, 202, 12849, 425, 31, 368, 22225, 202, 202, 97, 3196, 202, 759, 2715, 888, 1902, 19, 26842, 358, 7870, 622, 333, 864, 2117, 202, 202, 2211, 18, 6208, 861, 12, 2211, 18, 2972, 11535, 18, 3562, 1769, 202, 202, 2211, 18, 26842, 18, 6208, 774, 12, 2211, 18, 2972, 11535, 18, 3562, 18, 2630, 2335, 16, 333, 18, 26842, 18, 9339, 2555, 1769, 202, 202, 759, 2721, 8710, 2441, 5677, 1427, 518, 903, 15507, 518, 353, 279, 394, 2441, 3382, 202, 202, 2211, 18, 2972, 11535, 18, 6551, 5677, 273, 374, 31, 202, 202, 2211, 18, 12354, 18, 2722, 2042, 6094, 1830, 1685, 273, 300, 21, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 24524, 11535, 12, 11535, 503, 425, 15329, 202, 202, 430, 261, 73, 18, 11626, 6148, 405, 374, 13, 288, 368, 309, 1520, 5774, 279, 10217, 819, 1082, 202, 73, 18, 11626, 6148, 413, 31, 368, 1409, 5410, 716, 783, 819, 2363, 29062, 1082, 202, 2211, 18, 2972, 11535, 273, 333, 18, 2972, 11535, 18, 1331, 10910, 31, 368, 1843, 783, 2735, 1082, 202, 12849, 425, 31, 368, 22225, 202, 202, 97, 3196, 202, 759, 2715, 888, 1902, 19, 26842, 358, 7870, 622, 333, 864, 2117, 202, 202, 2211, 18, 6208, 861, 12, 2211, 18, 2972, 11535, 18, 3562, 1769, 202, 202, 2211, 18, 26842, 18, 6208, 774, 12, 2211, 18, 2972, 11535, 18, 3562, 18, 2630, 2 ]
fOwnReaders.addElement(reader);
fReaderStack.push(reader);
public String setupCurrentEntity(String name, XMLInputSource xmlInputSource, boolean literal, boolean isExternal) throws IOException, XNIException { // get information final String publicId = xmlInputSource.getPublicId(); String literalSystemId = xmlInputSource.getSystemId(); String baseSystemId = xmlInputSource.getBaseSystemId(); String encoding = xmlInputSource.getEncoding(); Boolean isBigEndian = null; boolean declaredEncoding = false; // create reader InputStream stream = null; Reader reader = xmlInputSource.getCharacterStream(); // First chance checking strict URI String expandedSystemId = expandSystemId(literalSystemId, baseSystemId, fStrictURI); if (baseSystemId == null) { baseSystemId = expandedSystemId; } if (reader == null) { stream = xmlInputSource.getByteStream(); if(stream != null && encoding != null) declaredEncoding = true; if (stream == null) { URL location = new URL(expandedSystemId); URLConnection connect = location.openConnection(); stream = connect.getInputStream(); // REVISIT: If the URLConnection has external encoding // information, we should be reading it here. It's located // in the charset parameter of Content-Type. -- mrglavas if (connect instanceof HttpURLConnection) { String redirect = connect.getURL().toString(); // E43: Check if the URL was redirected, and then // update literal and expanded system IDs if needed. if (!redirect.equals(expandedSystemId)) { literalSystemId = redirect; expandedSystemId = redirect; } } } // wrap this stream in RewindableInputStream stream = new RewindableInputStream(stream); // perform auto-detect of encoding if necessary if (encoding == null) { // read first four bytes and determine encoding final byte[] b4 = new byte[4]; int count = 0; for (; count<4; count++ ) { b4[count] = (byte)stream.read(); } if (count == 4) { Object [] encodingDesc = getEncodingName(b4, count); encoding = (String)(encodingDesc[0]); isBigEndian = (Boolean)(encodingDesc[1]); stream.reset(); int offset = 0; // Special case UTF-8 files with BOM created by Microsoft // tools. It's more efficient to consume the BOM than make // the reader perform extra checks. -Ac if (count > 2 && encoding.equals("UTF-8")) { int b0 = b4[0] & 0xFF; int b1 = b4[1] & 0xFF; int b2 = b4[2] & 0xFF; if (b0 == 0xEF && b1 == 0xBB && b2 == 0xBF) { // ignore first three bytes... stream.skip(3); } } reader = createReader(stream, encoding, isBigEndian); } else { reader = createReader(stream, encoding, isBigEndian); } } // use specified encoding else { encoding = encoding.toUpperCase(Locale.ENGLISH); // If encoding is UTF-8, consume BOM if one is present. if (encoding.equals("UTF-8")) { final int[] b3 = new int[3]; int count = 0; for (; count < 3; ++count) { b3[count] = stream.read(); if (b3[count] == -1) break; } if (count == 3) { if (b3[0] != 0xEF || b3[1] != 0xBB || b3[2] != 0xBF) { // First three bytes are not BOM, so reset. stream.reset(); } } else { stream.reset(); } } // If encoding is UCS-4, we still need to read the first four bytes // in order to discover the byte order. else if (encoding.equals("ISO-10646-UCS-4")) { final int[] b4 = new int[4]; int count = 0; for (; count < 4; ++count) { b4[count] = stream.read(); if (b4[count] == -1) break; } stream.reset(); // Ignore unusual octet order for now. if (count == 4) { // UCS-4, big endian (1234) if (b4[0] == 0x00 && b4[1] == 0x00 && b4[2] == 0x00 && b4[3] == 0x3C) { isBigEndian = Boolean.TRUE; } // UCS-4, little endian (1234) else if (b4[0] == 0x3C && b4[1] == 0x00 && b4[2] == 0x00 && b4[3] == 0x00) { isBigEndian = Boolean.FALSE; } } } // If encoding is UCS-2, we still need to read the first four bytes // in order to discover the byte order. else if (encoding.equals("ISO-10646-UCS-2")) { final int[] b4 = new int[4]; int count = 0; for (; count < 4; ++count) { b4[count] = stream.read(); if (b4[count] == -1) break; } stream.reset(); if (count == 4) { // UCS-2, big endian if (b4[0] == 0x00 && b4[1] == 0x3C && b4[2] == 0x00 && b4[3] == 0x3F) { isBigEndian = Boolean.TRUE; } // UCS-2, little endian else if (b4[0] == 0x3C && b4[1] == 0x00 && b4[2] == 0x3F && b4[3] == 0x00) { isBigEndian = Boolean.FALSE; } } } reader = createReader(stream, encoding, isBigEndian); } // read one character at a time so we don't jump too far // ahead, converting characters from the byte stream in // the wrong encoding if (DEBUG_ENCODINGS) { System.out.println("$$$ no longer wrapping reader in OneCharReader"); } //reader = new OneCharReader(reader); } // we've seen a new Reader. put it in a list, so that // we can close it later. fOwnReaders.addElement(reader); // push entity on stack if (fCurrentEntity != null) { fEntityStack.push(fCurrentEntity); } // create entity fCurrentEntity = new ScannedEntity(name, new XMLResourceIdentifierImpl(publicId, literalSystemId, baseSystemId, expandedSystemId), stream, reader, encoding, literal, false, isExternal); fCurrentEntity.setDeclaredEncoding(declaredEncoding); fEntityScanner.setCurrentEntity(fCurrentEntity); fResourceIdentifier.setValues(publicId, literalSystemId, baseSystemId, expandedSystemId); return encoding; } //setupCurrentEntity(String, XMLInputSource, boolean, boolean): String
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c79409ecff1e8cc01e8489bd13dfd911b959b694/XMLEntityManager.java/clean/src/org/apache/xerces/impl/XMLEntityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3875, 3935, 1943, 12, 780, 508, 16, 3167, 1210, 1830, 2025, 1210, 1830, 16, 7734, 1250, 7158, 16, 1250, 353, 6841, 13, 5411, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 368, 336, 1779, 3639, 727, 514, 1071, 548, 273, 2025, 1210, 1830, 18, 588, 4782, 548, 5621, 3639, 514, 7158, 3163, 548, 273, 2025, 1210, 1830, 18, 588, 3163, 548, 5621, 3639, 514, 1026, 3163, 548, 273, 2025, 1210, 1830, 18, 588, 2171, 3163, 548, 5621, 3639, 514, 2688, 273, 2025, 1210, 1830, 18, 588, 4705, 5621, 3639, 3411, 353, 9901, 7583, 273, 446, 31, 202, 202, 6494, 7886, 4705, 273, 629, 31, 3639, 368, 752, 2949, 3639, 5037, 1407, 273, 446, 31, 3639, 5393, 2949, 273, 2025, 1210, 1830, 18, 588, 7069, 1228, 5621, 3639, 368, 5783, 17920, 6728, 5490, 3699, 3639, 514, 8406, 3163, 548, 273, 4542, 3163, 548, 12, 13107, 3163, 548, 16, 1026, 3163, 548, 16, 284, 14809, 3098, 1769, 3639, 309, 261, 1969, 3163, 548, 422, 446, 13, 288, 5411, 1026, 3163, 548, 273, 8406, 3163, 548, 31, 3639, 289, 3639, 309, 261, 10530, 422, 446, 13, 288, 5411, 1407, 273, 2025, 1210, 1830, 18, 588, 3216, 1228, 5621, 1082, 202, 430, 12, 3256, 480, 446, 597, 2688, 480, 446, 13, 9506, 202, 16571, 4705, 273, 638, 31, 5411, 309, 261, 3256, 422, 446, 13, 288, 7734, 1976, 2117, 273, 394, 1976, 12, 17336, 3163, 548, 1769, 7734, 1976, 1952, 3077, 273, 2117, 18, 3190, 1952, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3875, 3935, 1943, 12, 780, 508, 16, 3167, 1210, 1830, 2025, 1210, 1830, 16, 7734, 1250, 7158, 16, 1250, 353, 6841, 13, 5411, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 368, 336, 1779, 3639, 727, 514, 1071, 548, 273, 2025, 1210, 1830, 18, 588, 4782, 548, 5621, 3639, 514, 7158, 3163, 548, 273, 2025, 1210, 1830, 18, 588, 3163, 548, 5621, 3639, 514, 1026, 3163, 548, 273, 2025, 1210, 1830, 18, 588, 2171, 3163, 548, 5621, 3639, 514, 2688, 273, 2025, 1210, 1830, 18, 588, 4705, 5621, 3639, 3411, 353, 9901, 7583, 273, 446, 31, 202, 202, 6494, 7886, 4705, 273, 629, 31, 3639, 368, 752, 2949, 3639, 5037, 1407, 273, 446, 31, 3639, 2 ]
public SearchTerm generateSearchTerm(String searchProperty, String operationProperty, String pattern) throws java.text.ParseException { SearchTerm term = null; try { String className = Pooka.getProperty(searchProperty + ".class", ""); Class stClass = Class.forName(className); // ****** Create a StringTerm. if (stringTermClass.isAssignableFrom(stClass)) { boolean ignoreCase = Pooka.getProperty(searchProperty + ".ignoreCase", "false").equals("true"); // check for the special cases. if (className.equals("javax.mail.search.RecipientStringTerm")) { String recipientType = Pooka.getProperty(searchProperty + ".recipientType", "to"); if (recipientType.equalsIgnoreCase("to")) term = new RecipientStringTerm(javax.mail.Message.RecipientType.TO, pattern); else if (recipientType.equalsIgnoreCase("cc")) term = new RecipientStringTerm(javax.mail.Message.RecipientType.CC, pattern); else if (recipientType.equalsIgnoreCase("toorcc")) term = new OrTerm(new RecipientStringTerm(javax.mail.Message.RecipientType.CC, pattern), new RecipientStringTerm(javax.mail.Message.RecipientType.TO, pattern)); } else if (className.equals("javax.mail.search.HeaderTerm")) { term = new HeaderTerm(Pooka.getProperty(searchProperty + ".header", ""), pattern); } else { // default case for StringTerms java.lang.reflect.Constructor termConst = stClass.getConstructor(new Class[] {Class.forName("java.lang.String")}); term = (SearchTerm) termConst.newInstance(new Object[] { pattern}); } } // ********** Create a FlagTerm else if (flagTermClass.isAssignableFrom(stClass)) { term = new FlagTerm(getFlags(Pooka.getProperty(searchProperty + ".flag", "")), Pooka.getProperty(searchProperty + ".value", "true").equalsIgnoreCase("true")); } // ********** Create a DateTerm else if (dateTermClass.isAssignableFrom(stClass)) { java.util.Date compareDate = dateFormat.parse(pattern); int comparison = 0; String operationPropertyType = Pooka.getProperty(operationProperty, ""); if (operationPropertyType.equalsIgnoreCase("equals") || operationPropertyType.equalsIgnoreCase("notEquals")) comparison = DateTerm.EQ; else if (operationPropertyType.equalsIgnoreCase("before")) comparison = DateTerm.LT; else if (operationPropertyType.equalsIgnoreCase("after")) comparison = DateTerm.GT; java.lang.reflect.Constructor termConst = stClass.getConstructor(new Class[] {Integer.TYPE , Class.forName("java.util.Date")}); term = (SearchTerm) termConst.newInstance(new Object[] { new Integer(comparison), compareDate }); } // ********** Default Case, no term known. else { // default case for any term. term = (SearchTerm) stClass.newInstance(); } // *********** Handles not cases. String operationPropertyValue = Pooka.getProperty(operationProperty, ""); if (operationPropertyValue.equalsIgnoreCase("not") || operationPropertyValue.equalsIgnoreCase("notEquals")) term = new NotTerm(term); } catch (ClassNotFoundException cnfe) { showError(Pooka.getProperty("error.search.generatingSearchTerm", "Error generating SearchTerm: "), cnfe); } catch (NoSuchMethodException nsme) { showError(Pooka.getProperty("error.search.generatingSearchTerm", "Error generating SearchTerm: "), nsme); } catch (InstantiationException ie) { showError(Pooka.getProperty("error.search.generatingSearchTerm", "Error generating SearchTerm: "), ie); } catch (IllegalAccessException iae) { showError(Pooka.getProperty("error.search.generatingSearchTerm", "Error generating SearchTerm: "), iae); } catch (java.lang.reflect.InvocationTargetException ite) { showError(Pooka.getProperty("error.search.generatingSearchTerm", "Error generating SearchTerm: "), ite); } return term; }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/ff0a0cf7309fbaf4be64661e867d47999594b128/SearchTermManager.java/buggy/net/suberic/pooka/SearchTermManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2979, 4065, 7163, 2979, 4065, 12, 780, 3072, 1396, 16, 780, 7624, 1396, 16, 780, 4951, 13, 15069, 6290, 18, 955, 18, 13047, 95, 202, 2979, 4065, 6408, 33, 2011, 31, 202, 698, 95, 202, 780, 12434, 33, 52, 1184, 69, 18, 588, 1396, 12, 3072, 1396, 9078, 18, 1106, 3113, 3660, 1769, 202, 797, 334, 797, 33, 797, 18, 1884, 461, 12, 12434, 1769, 202, 202, 759, 11345, 1684, 69, 780, 4065, 18, 202, 202, 430, 12, 1080, 4065, 797, 18, 291, 7961, 1265, 12, 334, 797, 3719, 95, 9506, 202, 6494, 6185, 2449, 33, 52, 1184, 69, 18, 588, 1396, 12, 3072, 1396, 9078, 18, 6185, 2449, 15937, 5743, 20387, 14963, 2932, 3767, 8863, 9506, 202, 759, 1893, 1884, 7915, 705, 649, 22186, 18, 202, 202, 430, 12, 12434, 18, 14963, 2932, 28384, 18, 4408, 18, 3072, 18, 18241, 780, 4065, 6, 3719, 95, 202, 202, 780, 20367, 559, 33, 52, 1184, 69, 18, 588, 1396, 12, 3072, 1396, 9078, 18, 20367, 559, 15937, 869, 8863, 202, 202, 430, 12, 20367, 559, 18, 14963, 5556, 2932, 869, 6, 3719, 202, 202, 6408, 33, 2704, 18241, 780, 4065, 12, 28384, 18, 4408, 18, 1079, 18, 18241, 559, 18, 4296, 16, 4951, 1769, 202, 202, 12107, 430, 12, 20367, 559, 18, 14963, 5556, 2932, 952, 6, 3719, 202, 202, 6408, 33, 2704, 18241, 780, 4065, 12, 28384, 18, 4408, 18, 1079, 18, 18241, 559, 18, 6743, 16, 4951, 1769, 202, 202, 12107, 430, 12, 20367, 559, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2979, 4065, 7163, 2979, 4065, 12, 780, 3072, 1396, 16, 780, 7624, 1396, 16, 780, 4951, 13, 15069, 6290, 18, 955, 18, 13047, 95, 202, 2979, 4065, 6408, 33, 2011, 31, 202, 698, 95, 202, 780, 12434, 33, 52, 1184, 69, 18, 588, 1396, 12, 3072, 1396, 9078, 18, 1106, 3113, 3660, 1769, 202, 797, 334, 797, 33, 797, 18, 1884, 461, 12, 12434, 1769, 202, 202, 759, 11345, 1684, 69, 780, 4065, 18, 202, 202, 430, 12, 1080, 4065, 797, 18, 291, 7961, 1265, 12, 334, 797, 3719, 95, 9506, 202, 6494, 6185, 2449, 33, 52, 1184, 69, 18, 588, 1396, 12, 3072, 1396, 9078, 18, 6185, 2449, 15937, 5743, 20387, 14963, 2932, 3767, 8863, 9506, 202, 2 ]
public Unit getUnit() {
public Unit getUnit() {
public Unit getUnit() { return unit; }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/234acdada6bb523025df2bf64c707be9ba3f57d5/ColumnLocation.java/clean/wicket/src/java/wicket/markup/html/tree/table/ColumnLocation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8380, 19194, 1435, 288, 202, 202, 2463, 2836, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void sawInt(int seen) {}
public void sawInt(int seen) { }
public void sawInt(int seen) {}
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/DismantleBytecode.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/visitclass/DismantleBytecode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19821, 1702, 12, 474, 5881, 13, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
PlatformUI.getWorkbench();
PlatformUI.getWorkbench();
public WorkbenchWindow(int number) { super(null); this.number = number; // Make sure there is a workbench. This call will throw // an exception if workbench not created yet. PlatformUI.getWorkbench(); // Add contribution managers that are exposed to other plugins. addMenuBar(); addCoolBar(SWT.FLAT); addStatusLine(); actionPresentation = new ActionPresentation(this); // register with the tracker getExtensionTracker() .registerHandler( actionSetHandler, ExtensionTracker .createExtensionPointFilter(getActionSetExtensionPoint())); fireWindowOpening(); // set the shell style setShellStyle(getWindowConfigurer().getShellStyle()); // Fill the action bars fillActionBars(FILL_ALL_ACTION_BARS); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4147, 22144, 3829, 12, 474, 1300, 13, 288, 3639, 2240, 12, 2011, 1769, 3639, 333, 18, 2696, 273, 1300, 31, 3639, 368, 4344, 3071, 1915, 353, 279, 1440, 22144, 18, 1220, 745, 903, 604, 3639, 368, 392, 1520, 309, 1440, 22144, 486, 2522, 4671, 18, 540, 11810, 5370, 18, 588, 2421, 22144, 5621, 3639, 368, 1436, 24880, 21103, 716, 854, 16265, 358, 1308, 4799, 18, 3639, 527, 4599, 5190, 5621, 3639, 527, 39, 1371, 5190, 12, 55, 8588, 18, 42, 12190, 1769, 3639, 527, 1482, 1670, 5621, 3639, 1301, 6351, 367, 273, 394, 4382, 6351, 367, 12, 2211, 1769, 7734, 368, 1744, 598, 326, 9745, 3639, 12374, 8135, 1435, 7734, 263, 4861, 1503, 12, 13491, 1301, 694, 1503, 16, 13491, 10021, 8135, 27573, 263, 2640, 3625, 2148, 1586, 12, 588, 1803, 694, 3625, 2148, 1435, 10019, 3639, 4452, 3829, 21378, 5621, 3639, 368, 444, 326, 5972, 2154, 3639, 444, 13220, 2885, 12, 588, 3829, 809, 11278, 7675, 588, 13220, 2885, 10663, 3639, 368, 14192, 326, 1301, 22252, 3639, 3636, 1803, 5190, 87, 12, 29818, 67, 4685, 67, 12249, 67, 21908, 55, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4147, 22144, 3829, 12, 474, 1300, 13, 288, 3639, 2240, 12, 2011, 1769, 3639, 333, 18, 2696, 273, 1300, 31, 3639, 368, 4344, 3071, 1915, 353, 279, 1440, 22144, 18, 1220, 745, 903, 604, 3639, 368, 392, 1520, 309, 1440, 22144, 486, 2522, 4671, 18, 540, 11810, 5370, 18, 588, 2421, 22144, 5621, 3639, 368, 1436, 24880, 21103, 716, 854, 16265, 358, 1308, 4799, 18, 3639, 527, 4599, 5190, 5621, 3639, 527, 39, 1371, 5190, 12, 55, 8588, 18, 42, 12190, 1769, 3639, 527, 1482, 1670, 5621, 3639, 1301, 6351, 367, 273, 394, 4382, 6351, 367, 12, 2211, 1769, 7734, 368, 1744, 598, 326, 9745, 3639, 12374, 8135, 1435, 7734, 263, 4861, 1503, 12, 13491, 1301, 694, 2 ]
new Class[]{PsiWhiteSpace.class});
new Class[]{ PsiWhiteSpace.class});
private static void replaceSimplifiableImplicitReturn(PsiIfStatement statement, Project project) throws IncorrectOperationException{ final PsiExpression condition = statement.getCondition(); final String conditionText = condition.getText(); final PsiElement nextStatement = PsiTreeUtil.skipSiblingsForward(statement, new Class[]{PsiWhiteSpace.class}); final String newStatement = "return " + conditionText + ';'; replaceStatement(project, newStatement, statement); nextStatement.delete(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3837c95856454e21e9059f3aa91174a1e2c65526/SimplifyIfElseIntention.java/buggy/plugins/IntentionPowerPak/src/com/siyeh/ipp/trivialif/SimplifyIfElseIntention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1453, 24490, 8424, 15787, 990, 12, 52, 7722, 2047, 3406, 3021, 16, 4766, 12900, 5420, 1984, 13, 5411, 1216, 657, 6746, 10602, 95, 3639, 727, 453, 7722, 2300, 2269, 273, 3021, 18, 588, 3418, 5621, 3639, 727, 514, 2269, 1528, 273, 2269, 18, 588, 1528, 5621, 3639, 727, 453, 7722, 1046, 1024, 3406, 273, 7734, 453, 7722, 2471, 1304, 18, 7457, 31555, 8514, 12, 11516, 16, 4766, 7734, 394, 1659, 63, 7073, 453, 7722, 23108, 18, 1106, 22938, 3639, 727, 514, 394, 3406, 273, 315, 2463, 315, 397, 2269, 1528, 397, 7554, 31, 3639, 1453, 3406, 12, 4406, 16, 394, 3406, 16, 3021, 1769, 3639, 1024, 3406, 18, 3733, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1453, 24490, 8424, 15787, 990, 12, 52, 7722, 2047, 3406, 3021, 16, 4766, 12900, 5420, 1984, 13, 5411, 1216, 657, 6746, 10602, 95, 3639, 727, 453, 7722, 2300, 2269, 273, 3021, 18, 588, 3418, 5621, 3639, 727, 514, 2269, 1528, 273, 2269, 18, 588, 1528, 5621, 3639, 727, 453, 7722, 1046, 1024, 3406, 273, 7734, 453, 7722, 2471, 1304, 18, 7457, 31555, 8514, 12, 11516, 16, 4766, 7734, 394, 1659, 63, 7073, 453, 7722, 23108, 18, 1106, 22938, 3639, 727, 514, 394, 3406, 273, 315, 2463, 315, 397, 2269, 1528, 397, 7554, 31, 3639, 1453, 3406, 12, 4406, 16, 394, 3406, 16, 3021, 1769, 3639, 1024, 3406, 18, 3733, 5621, 565, 289, 2, -100, -100, -100 ]
catalogLocationField.setText(getDisplayValue(getNextCatalog().getCatalogLocation()));
catalogLocationField.setText(URIHelper.URIToLocation(getDisplayValue(getNextCatalog().getCatalogLocation())));
protected Control createNextCatalogPanel(Composite parent) { ModifyListener modifyListener = new ModifyListener() { public void modifyText(ModifyEvent e) { updateWidgets(e.widget); } }; Composite composite = new Composite(parent, SWT.NONE); GridData gd = new GridData(GridData.FILL_BOTH); composite.setLayoutData(gd); GridLayout layout = new GridLayout(); composite.setLayout(layout); Composite group = new Composite(composite, SWT.NONE); gd = new GridData(GridData.FILL_HORIZONTAL); group.setLayoutData(gd); layout = new GridLayout(2, false); group.setLayout(layout); Label resourceLocationLabel = new Label(group, SWT.NONE); resourceLocationLabel.setText(XMLCatalogMessages.UI_LABEL_CATALOG_URI_COLON); // filler new Label(group, SWT.NONE); catalogLocationField = new Text(group, SWT.SINGLE | SWT.BORDER); catalogLocationField.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); catalogLocationField.setText(getDisplayValue(getNextCatalog().getCatalogLocation())); // WorkbenchHelp.setHelp(resourceLocationField, // XMLBuilderContextIds.XMLP_ENTRY_URI); catalogLocationField.addModifyListener(modifyListener); browseButton = createBrowseButton(group); browseButton.addSelectionListener(new DropDownSelectionListener(catalogLocationField)); errorMessageLabel = new Label(group, SWT.NONE); errorMessageLabel.setForeground(color); errorMessageLabel.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); updateWidgets(null); return composite; }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/723abdcd8ca1d5ccc7e492d432d805680871fa56/EditCatalogEntryDialog.java/buggy/bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/EditCatalogEntryDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 8888, 752, 2134, 9769, 5537, 12, 9400, 982, 13, 288, 1082, 202, 11047, 2223, 5612, 2223, 273, 394, 9518, 2223, 1435, 288, 9506, 202, 482, 918, 5612, 1528, 12, 11047, 1133, 425, 13, 288, 6862, 202, 2725, 16166, 12, 73, 18, 6587, 1769, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 9400, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 1082, 202, 27676, 18, 542, 3744, 751, 12, 19016, 1769, 1082, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 1082, 202, 27676, 18, 542, 3744, 12, 6741, 1769, 1082, 202, 9400, 1041, 273, 394, 14728, 12, 27676, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 19016, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 1082, 202, 1655, 18, 542, 3744, 751, 12, 19016, 1769, 1082, 202, 6741, 273, 394, 7145, 3744, 12, 22, 16, 629, 1769, 1082, 202, 1655, 18, 542, 3744, 12, 6741, 1769, 1082, 202, 2224, 1058, 2735, 2224, 273, 394, 5287, 12, 1655, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 3146, 2735, 2224, 18, 542, 1528, 12, 4201, 9769, 5058, 18, 5370, 67, 13545, 67, 14130, 18683, 67, 3098, 67, 4935, 673, 1769, 1082, 202, 759, 28187, 1082, 202, 2704, 5287, 12, 1655, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 7199, 2735, 974, 273, 394, 3867, 12, 1655, 16, 348, 8588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 8888, 752, 2134, 9769, 5537, 12, 9400, 982, 13, 288, 1082, 202, 11047, 2223, 5612, 2223, 273, 394, 9518, 2223, 1435, 288, 9506, 202, 482, 918, 5612, 1528, 12, 11047, 1133, 425, 13, 288, 6862, 202, 2725, 16166, 12, 73, 18, 6587, 1769, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 9400, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 1082, 202, 27676, 18, 542, 3744, 751, 12, 19016, 1769, 1082, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 1082, 202, 27676, 18, 542, 3744, 12, 6741, 1769, 1082, 202, 9400, 1041, 273, 2 ]
if(!Class.forName( "org.apache.taglibs.display.ColumnDecorator").isAssignableFrom(c)) throw new JspException("column decorator class is not a subclass of ColumnDecorator." );
if( !Class.forName( "org.apache.taglibs.display.ColumnDecorator" ).isAssignableFrom( c ) ) throw new JspException( "column decorator class is not a subclass of ColumnDecorator." );
private ColumnDecorator loadColumnDecorator(String columnDecorator) throws JspException { if (columnDecorator == null || columnDecorator.length() == 0) return null; try { Class c = Class.forName(columnDecorator); // paulsenj - removed 'jakarta' from class name if(!Class.forName( "org.apache.taglibs.display.ColumnDecorator").isAssignableFrom(c)) throw new JspException("column decorator class is not a subclass of ColumnDecorator." ); return (ColumnDecorator) c.newInstance(); } catch( Exception e ) { throw new JspException( e.toString() ); } }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/21f7757c1937c03a504c7e090499e3d1e3c7e6a0/TableTag.java/clean/_OLD/displaytag08/src/org/apache/taglibs/display/TableTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 4753, 10361, 1262, 1494, 10361, 12, 780, 1057, 10361, 13, 1216, 27485, 282, 288, 1377, 309, 261, 2827, 10361, 422, 446, 747, 1057, 10361, 18, 2469, 1435, 422, 374, 13, 3639, 327, 446, 31, 1377, 775, 288, 540, 1659, 276, 273, 1659, 18, 1884, 461, 12, 2827, 10361, 1769, 540, 368, 6790, 332, 87, 275, 78, 300, 3723, 296, 78, 581, 485, 69, 11, 628, 667, 508, 540, 309, 12, 5, 797, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 2692, 21571, 18, 5417, 18, 1494, 10361, 20387, 291, 7961, 1265, 12, 71, 3719, 5411, 604, 394, 27485, 2932, 2827, 7367, 667, 353, 486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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 4753, 10361, 1262, 1494, 10361, 12, 780, 1057, 10361, 13, 1216, 27485, 282, 288, 1377, 309, 261, 2827, 10361, 422, 446, 747, 1057, 10361, 18, 2469, 1435, 422, 374, 13, 3639, 327, 446, 31, 1377, 775, 288, 540, 1659, 276, 273, 1659, 18, 1884, 461, 12, 2827, 10361, 1769, 540, 368, 6790, 332, 87, 275, 78, 300, 3723, 296, 78, 581, 485, 69, 11, 628, 667, 508, 540, 309, 12, 5, 797, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 2692, 21571, 18, 5417, 18, 1494, 10361, 20387, 291, 7961, 1265, 12, 71, 3719, 5411, 604, 394, 27485, 2932, 2827, 7367, 667, 353, 486, 279, 10177, 434, 4753, 10361, 1199, 11272, 540, 327, 261, 1494, 10361, 2 ]
if (prevState != STATE_INIT) {
if (state != STATE_INIT) {
public boolean standaloneSet() { if (prevState != STATE_INIT) { return realReader.standaloneSet(); } else { return false; } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/bf61d07d2be2da52e5ef61343e44f7e908585903/StreamWrapper.java/clean/modules/core/src/org/apache/axis2/util/StreamWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 17676, 694, 1435, 288, 3639, 309, 261, 2019, 480, 7442, 67, 12919, 13, 288, 5411, 327, 2863, 2514, 18, 10145, 12451, 694, 5621, 3639, 289, 469, 288, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 17676, 694, 1435, 288, 3639, 309, 261, 2019, 480, 7442, 67, 12919, 13, 288, 5411, 327, 2863, 2514, 18, 10145, 12451, 694, 5621, 3639, 289, 469, 288, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (adapter != null)
if (adapter != null) {
public IStructuredSelection convertToResources( IStructuredSelection originalSelection) { List result = new ArrayList(); Iterator elements = originalSelection.iterator(); while (elements.hasNext()) { Object currentElement = elements.next(); if (currentElement instanceof IResource) { // already a resource result.add(currentElement); } else if (currentElement instanceof IAdaptable) { Object adapter = ((IAdaptable) currentElement) .getAdapter(IResource.class); if (adapter != null) result.add(adapter); // add the converted resource } else { IAdapterManager adapterManager = Platform.getAdapterManager(); ResourceMapping mapping = (ResourceMapping) adapterManager .getAdapter(currentElement, ResourceMapping.class); ResourceTraversal[] traversals = null; try { traversals = mapping.getTraversals( ResourceMappingContext.LOCAL_CONTEXT, new NullProgressMonitor()); } catch (CoreException e) { IDEWorkbenchPlugin.log(e.getLocalizedMessage(), e .getStatus()); } if (traversals != null) { ResourceTraversal traversal = null; IResource[] resources = null; for (int i = 0; i < traversals.length; i++) { traversal = traversals[i]; resources = traversal.getResources(); if (resources != null) { for (int j = 0; j < resources.length; j++) { result.add(resources[j]); }// for }// if }// for }// if } } // all that can be converted are done, answer new selection if (result.isEmpty()) return StructuredSelection.EMPTY; return new StructuredSelection(result.toArray()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/IDESelectionConversionService.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDESelectionConversionService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 30733, 6233, 8137, 3805, 12, 1082, 202, 45, 30733, 6233, 2282, 6233, 13, 288, 202, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 3198, 2186, 273, 2282, 6233, 18, 9838, 5621, 202, 202, 17523, 261, 6274, 18, 5332, 2134, 10756, 288, 1082, 202, 921, 22993, 273, 2186, 18, 4285, 5621, 1082, 202, 430, 261, 2972, 1046, 1276, 467, 1420, 13, 288, 368, 1818, 279, 1058, 9506, 202, 2088, 18, 1289, 12, 2972, 1046, 1769, 1082, 202, 97, 469, 309, 261, 2972, 1046, 1276, 467, 13716, 429, 13, 288, 9506, 202, 921, 4516, 273, 14015, 45, 13716, 429, 13, 22993, 13, 25083, 202, 18, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 9506, 202, 430, 261, 10204, 480, 446, 13, 6862, 202, 2088, 18, 1289, 12, 10204, 1769, 368, 527, 326, 5970, 1058, 1082, 202, 97, 469, 288, 9506, 202, 45, 4216, 1318, 4516, 1318, 273, 11810, 18, 588, 4216, 1318, 5621, 9506, 202, 1420, 3233, 2874, 273, 261, 1420, 3233, 13, 4516, 1318, 25083, 202, 18, 588, 4216, 12, 2972, 1046, 16, 2591, 3233, 18, 1106, 1769, 9506, 202, 1420, 25087, 8526, 10704, 1031, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 31750, 1031, 273, 2874, 18, 588, 15844, 1031, 12, 6862, 1082, 202, 1420, 3233, 1042, 18, 14922, 67, 13181, 16, 6862, 1082, 202, 2704, 4112, 5491, 7187, 10663, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 10385, 2421, 22144, 3773, 18, 1330, 12, 73, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 30733, 6233, 8137, 3805, 12, 1082, 202, 45, 30733, 6233, 2282, 6233, 13, 288, 202, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 3198, 2186, 273, 2282, 6233, 18, 9838, 5621, 202, 202, 17523, 261, 6274, 18, 5332, 2134, 10756, 288, 1082, 202, 921, 22993, 273, 2186, 18, 4285, 5621, 1082, 202, 430, 261, 2972, 1046, 1276, 467, 1420, 13, 288, 368, 1818, 279, 1058, 9506, 202, 2088, 18, 1289, 12, 2972, 1046, 1769, 1082, 202, 97, 469, 309, 261, 2972, 1046, 1276, 467, 13716, 429, 13, 288, 9506, 202, 921, 4516, 273, 14015, 45, 13716, 429, 13, 22993, 13, 25083, 202, 18, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 9506, 202, 430, 2 ]
dimensions = new int[3];
dimensions = new int[5];
protected void initFile(String id) throws FormatException, IOException { currentId = id; numImages = 0; dimensions = new int[3]; // get the matching files FilePattern fp = new FilePattern(new File(id)); files = fp.getFiles(); imageCounts = new int[files.length]; // determine the total number of images and build a list of dimensions // for each file int[][] dims = new int[files.length][3]; for (int i=0; i<files.length; i++) { imageCounts[i] = reader.getImageCount(files[i]); numImages += imageCounts[i]; dims[i][0] = reader.getSizeZ(files[i]); dims[i][1] = reader.getSizeC(files[i]); dims[i][2] = reader.getSizeT(files[i]); } // determine how many varying dimensions there are boolean varyZ = false; boolean varyC = false; boolean varyT = false; for (int i=1; i<dims.length; i++) { varyZ = dims[i][0] != dims[i-1][0]; varyC = dims[i][1] != dims[i-1][1]; varyT = dims[i][2] != dims[i-1][2]; } if (!varyZ && !varyC && !varyT) { dimensions[0] = dims[0][0]; dimensions[1] = dims[0][1]; dimensions[2] = dims[0][2]; String o = getDimensionOrder(id); if (o.endsWith("Z")) dimensions[0] *= files.length; else if (o.endsWith("C")) dimensions[1] *= files.length; else dimensions[2] *= files.length; } else { for (int j=0; j<3; j++) { int max = 0; int maxIndex = 0; for (int i=0; i<dims.length; i++) { if (dims[i][j] > max) { max = dims[i][j]; maxIndex = i; } } dimensions[j] = dims[maxIndex][j]; } } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/2df09d33bfdc966378aae0cc09cb503afb983bc2/FileStitcher.java/buggy/loci/formats/FileStitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 783, 548, 273, 612, 31, 565, 818, 8946, 273, 374, 31, 565, 5769, 273, 394, 509, 63, 25, 15533, 565, 368, 336, 326, 3607, 1390, 565, 1387, 3234, 4253, 273, 394, 1387, 3234, 12, 2704, 1387, 12, 350, 10019, 565, 1390, 273, 4253, 18, 588, 2697, 5621, 565, 1316, 9211, 273, 394, 509, 63, 2354, 18, 2469, 15533, 565, 368, 4199, 326, 2078, 1300, 434, 4602, 471, 1361, 279, 666, 434, 5769, 565, 368, 364, 1517, 585, 565, 509, 63, 6362, 65, 9914, 273, 394, 509, 63, 2354, 18, 2469, 6362, 23, 15533, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2354, 18, 2469, 31, 277, 27245, 288, 1377, 1316, 9211, 63, 77, 65, 273, 2949, 18, 588, 2040, 1380, 12, 2354, 63, 77, 19226, 1377, 818, 8946, 1011, 1316, 9211, 63, 77, 15533, 1377, 9914, 63, 77, 6362, 20, 65, 273, 2949, 18, 588, 1225, 62, 12, 2354, 63, 77, 19226, 1377, 9914, 63, 77, 6362, 21, 65, 273, 2949, 18, 588, 1225, 39, 12, 2354, 63, 77, 19226, 1377, 9914, 63, 77, 6362, 22, 65, 273, 2949, 18, 588, 1225, 56, 12, 2354, 63, 77, 19226, 565, 289, 565, 368, 4199, 3661, 4906, 569, 14946, 5769, 1915, 854, 565, 1250, 23674, 62, 273, 629, 31, 565, 1250, 23674, 39, 273, 629, 31, 565, 1250, 23674, 56, 273, 629, 31, 565, 364, 261, 474, 277, 33, 21, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 783, 548, 273, 612, 31, 565, 818, 8946, 273, 374, 31, 565, 5769, 273, 394, 509, 63, 25, 15533, 565, 368, 336, 326, 3607, 1390, 565, 1387, 3234, 4253, 273, 394, 1387, 3234, 12, 2704, 1387, 12, 350, 10019, 565, 1390, 273, 4253, 18, 588, 2697, 5621, 565, 1316, 9211, 273, 394, 509, 63, 2354, 18, 2469, 15533, 565, 368, 4199, 326, 2078, 1300, 434, 4602, 471, 1361, 279, 666, 434, 5769, 565, 368, 364, 1517, 585, 565, 509, 63, 6362, 65, 9914, 273, 394, 509, 63, 2354, 18, 2469, 6362, 23, 15533, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2 ]
AST tmp1487_AST_in = (AST)_t;
AST tmp1488_AST_in = (AST)_t;
public final void procedurestate(AST _t) throws RecognitionException { AST procedurestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST p = null; AST id = null; AST __t1005 = _t; p = _t==ASTNULL ? null :(AST)_t; match(_t,PROCEDURE); _t = _t.getFirstChild(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { action.procedureBegin(p, id); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXTERNAL: { AST __t1007 = _t; AST tmp1481_AST_in = (AST)_t; match(_t,EXTERNAL); _t = _t.getFirstChild(); constant(_t); _t = _retTree; { _loop1010: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CDECL_KW: { AST tmp1482_AST_in = (AST)_t; match(_t,CDECL_KW); _t = _t.getNextSibling(); break; } case PASCAL_KW: { AST tmp1483_AST_in = (AST)_t; match(_t,PASCAL_KW); _t = _t.getNextSibling(); break; } case STDCALL_KW: { AST tmp1484_AST_in = (AST)_t; match(_t,STDCALL_KW); _t = _t.getNextSibling(); break; } case ORDINAL: { AST __t1009 = _t; AST tmp1485_AST_in = (AST)_t; match(_t,ORDINAL); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1009; _t = _t.getNextSibling(); break; } case PERSISTENT: { AST tmp1486_AST_in = (AST)_t; match(_t,PERSISTENT); _t = _t.getNextSibling(); break; } default: { break _loop1010; } } } while (true); } _t = __t1007; _t = _t.getNextSibling(); break; } case PRIVATE: { AST tmp1487_AST_in = (AST)_t; match(_t,PRIVATE); _t = _t.getNextSibling(); break; } case IN_KW: { AST tmp1488_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getNextSibling(); AST tmp1489_AST_in = (AST)_t; match(_t,SUPER); _t = _t.getNextSibling(); break; } case PERIOD: case LEXCOLON: { break; } default: { throw new NoViableAltException(_t); } } } block_colon(_t); _t = _retTree; code_block(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EOF: { AST tmp1490_AST_in = (AST)_t; match(_t,Token.EOF_TYPE); _t = _t.getNextSibling(); break; } case END: { AST __t1012 = _t; AST tmp1491_AST_in = (AST)_t; match(_t,END); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PROCEDURE: { AST tmp1492_AST_in = (AST)_t; match(_t,PROCEDURE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1012; _t = _t.getNextSibling(); state_end(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.procedureEnd(p); } _t = __t1005; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12131, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12131, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 293, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 6625, 25, 273, 389, 88, 31, 202, 202, 84, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3373, 23552, 4830, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 350, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 734, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 1128, 18, 685, 8153, 8149, 12, 84, 16, 612, 1769, 202, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5675, 11702, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 6625, 27, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3461, 11861, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 2294, 11702, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12131, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12131, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 293, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 9506, 202, 9053, 1001, 88, 6625, 25, 273, 389, 88, 31, 202, 202, 84, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3373, 23552, 4830, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 350, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 2 ]
if (secondLine.startsWith("'")) {
if (secondToken.startsWith("'")) {
protected void populateDummyTargets(IFile makefile, boolean force) throws CoreException, IOException { if (makefile == null || !makefile.exists()) return; // Found that bad boy, so let's get its contents InputStream contentStream = makefile.getContents(false); Reader in = new InputStreamReader(contentStream); StringBuffer inBuffer = null; int chunkSize = contentStream.available(); inBuffer = new StringBuffer(chunkSize); char[] readBuffer = new char[chunkSize]; int n = in.read(readBuffer); while (n > 0) { inBuffer.append(readBuffer); n = in.read(readBuffer); } contentStream.close(); // The rest of this operation is equally expensive, so // if we are doing an incremental build, only update the // files that do not have a comment if (inBuffer == null) return; String inBufferString = inBuffer.toString(); if (!force && inBufferString.startsWith(COMMENT_SYMBOL)) { return; } // Reconstruct the buffer tokens into useful chunks of dependency information Vector bufferTokens = new Vector(Arrays.asList(inBufferString.split("\\s"))); //$NON-NLS-1$ Vector deps = new Vector(bufferTokens.size()); Iterator tokenIter = bufferTokens.iterator(); while (tokenIter.hasNext()) { String token = (String)tokenIter.next(); if (token.lastIndexOf("\\") == token.length() - 1 && token.length() > 1) { //$NON-NLS-1$ // This is escaped so keep adding to the token until we find the end while (tokenIter.hasNext()) { String nextToken = (String)tokenIter.next(); token += WHITESPACE + nextToken; if (!nextToken.endsWith("\\")) { //$NON-NLS-1$ break; } } } deps.add(token); } deps.trimToSize(); // Now find the header file dependencies and make dummy targets for them boolean save = false; StringBuffer outBuffer = null; // If we are doing an incremental build, only update the files that do not have a comment String firstLine; try { firstLine = (String) deps.get(0); } catch (ArrayIndexOutOfBoundsException e) { // This makes no sense so bail return; } // Put the generated comments in the output buffer if (!firstLine.startsWith(COMMENT_SYMBOL)) { outBuffer = addDefaultHeader(); } else { outBuffer = new StringBuffer(); } // Some echo implementations misbehave and put the -n and newline in the output if (firstLine.startsWith("-n")) { //$NON-NLS-1$ // Now let's parse: // Win32 outputs -n '<path>/<file>.d <path>/' // POSIX outputs -n <path>/<file>.d <path>/ // Get the dep file name String secondLine; try { secondLine = (String) deps.get(1); } catch (ArrayIndexOutOfBoundsException e) { secondLine = new String(); } if (secondLine.startsWith("'")) { //$NON-NLS-1$ // This is the Win32 implementation of echo (MinGW without MSYS) outBuffer.append(secondLine.substring(1) + WHITESPACE); } else { outBuffer.append(secondLine + WHITESPACE); } // The relative path to the build goal comes next String thirdLine; try { thirdLine = (String) deps.get(2); } catch (ArrayIndexOutOfBoundsException e) { thirdLine = new String(); } int lastIndex = thirdLine.lastIndexOf("'"); //$NON-NLS-1$ if (lastIndex != -1) { if (lastIndex == 0) { outBuffer.append(WHITESPACE); } else { outBuffer.append(thirdLine.substring(0, lastIndex - 1)); } } else { outBuffer.append(thirdLine); } // followed by the actual dependencies String fourthLine; try { fourthLine = (String) deps.get(3); } catch (ArrayIndexOutOfBoundsException e) { fourthLine = new String(); } outBuffer.append(fourthLine + WHITESPACE); // Now do the rest try { Iterator iter = deps.listIterator(4); while (iter.hasNext()) { String nextElement = (String)iter.next(); if (nextElement.endsWith("\\")) { //$NON-NLS-1$ outBuffer.append(nextElement + NEWLINE + WHITESPACE); } else { outBuffer.append(nextElement + WHITESPACE); } } } catch (IndexOutOfBoundsException e) { } } else { outBuffer.append(inBuffer); } outBuffer.append(NEWLINE); save = true; // Dummy targets to add to the makefile Iterator dummyIter = deps.iterator(); while (dummyIter.hasNext()) { String dummy = (String)dummyIter.next(); IPath dep = new Path(dummy); String extension = dep.getFileExtension(); if (info.isHeaderFile(extension)) { /* * The formatting here is * <dummy_target>: */ outBuffer.append(dummy + COLON + NEWLINE + NEWLINE); } } // Write them out to the makefile if (save) { Util.save(outBuffer, makefile); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1f3eb70d4a037e51ad7611cfb0f142c2346af97b/GnuMakefileGenerator.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 6490, 20094, 9432, 12, 45, 812, 1221, 768, 16, 1250, 2944, 13, 1216, 30015, 16, 1860, 288, 202, 202, 430, 261, 6540, 768, 422, 446, 747, 401, 6540, 768, 18, 1808, 10756, 327, 31, 9506, 202, 759, 10750, 716, 5570, 800, 93, 16, 1427, 2231, 1807, 336, 2097, 2939, 202, 202, 4348, 913, 1228, 273, 1221, 768, 18, 588, 6323, 12, 5743, 1769, 202, 202, 2514, 316, 273, 394, 15322, 12, 1745, 1228, 1769, 202, 202, 780, 1892, 316, 1892, 273, 446, 31, 202, 202, 474, 17791, 273, 913, 1228, 18, 5699, 5621, 202, 202, 267, 1892, 273, 394, 6674, 12, 6551, 1225, 1769, 202, 202, 3001, 8526, 31404, 273, 394, 1149, 63, 6551, 1225, 15533, 202, 202, 474, 290, 273, 316, 18, 896, 12, 896, 1892, 1769, 202, 202, 17523, 261, 82, 405, 374, 13, 288, 1082, 202, 267, 1892, 18, 6923, 12, 896, 1892, 1769, 1082, 202, 82, 273, 316, 18, 896, 12, 896, 1892, 1769, 202, 202, 97, 202, 202, 1745, 1228, 18, 4412, 5621, 282, 9506, 202, 759, 1021, 3127, 434, 333, 1674, 353, 1298, 1230, 19326, 16, 1427, 3196, 202, 759, 309, 732, 854, 9957, 392, 20649, 1361, 16, 1338, 1089, 326, 3196, 202, 759, 1390, 716, 741, 486, 1240, 279, 2879, 202, 202, 430, 261, 267, 1892, 422, 446, 13, 327, 31, 202, 202, 780, 316, 1892, 780, 273, 316, 1892, 18, 10492, 5621, 202, 202, 430, 16051, 5734, 597, 316, 1892, 780, 18, 17514, 1190, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 6490, 20094, 9432, 12, 45, 812, 1221, 768, 16, 1250, 2944, 13, 1216, 30015, 16, 1860, 288, 202, 202, 430, 261, 6540, 768, 422, 446, 747, 401, 6540, 768, 18, 1808, 10756, 327, 31, 9506, 202, 759, 10750, 716, 5570, 800, 93, 16, 1427, 2231, 1807, 336, 2097, 2939, 202, 202, 4348, 913, 1228, 273, 1221, 768, 18, 588, 6323, 12, 5743, 1769, 202, 202, 2514, 316, 273, 394, 15322, 12, 1745, 1228, 1769, 202, 202, 780, 1892, 316, 1892, 273, 446, 31, 202, 202, 474, 17791, 273, 913, 1228, 18, 5699, 5621, 202, 202, 267, 1892, 273, 394, 6674, 12, 6551, 1225, 1769, 202, 202, 3001, 8526, 31404, 273, 394, 1149, 63, 6551, 1225, 2 ]
if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); }
tuple[7] = null;
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[ 0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[ 1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[ 2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[ 3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[ 4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[ 5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[ 6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[ 7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[ 8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[ 9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); StringBuffer sql = new StringBuffer(512); sql.append("select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid, " : "a.oid, ") + " c.relname, " + " a.attname, " + " a.atttypid, " + " a.attnum, " + " a.attnotnull, " + " a.attlen, " + " a.atttypmod, " + " d.adsrc, " + " t.typname, " + " e.description " + "from" + " (" + " (pg_class c inner join pg_attribute a on" + " (" + " a.attrelid=c.oid"); if ((tableNamePattern != null) && ! tableNamePattern.equals("%")) { sql.append(" and c.relname like \'" + tableNamePattern + "\'"); } if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern + "\'"); } sql.append( " and a.attnum > 0" + " )" + " ) inner join pg_type t on" + " (" + " t.oid = a.atttypid" + " )" + " )" + " left outer join pg_attrdef d on" + " (" + " c.oid = d.adrelid" + " and a.attnum = d.adnum" + " )" + " left outer join pg_description e on" + " (" + " e.objoid = a.attrelid"); if (connection.haveMinimumServerVersion("7.2")) { sql.append( " and e.objsubid = a.attnum" + " and e.classoid = (select oid from pg_class where relname = \'pg_class\')"); } sql.append( " ) " + "order by" + " c.relname, a.attnum"); java.sql.ResultSet r = connection.ExecSQL(sql.toString()); while (r.next()) { byte[][] tuple = new byte[18][0]; String nullFlag = r.getString(6); String typname = r.getString(10); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); } tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal tuple[10] = Integer.toString(nullFlag.equals("f") ? java.sql.DatabaseMetaData.columnNullable : java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[11] = r.getBytes(11); // Description (if any) tuple[12] = r.getBytes(9); // Column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position tuple[17] = (nullFlag.equals("f") ? "YES" : "NO").getBytes(); // Is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/a37a041491f33325f13ae5003bcb58d662916e37/DatabaseMetaData.java/clean/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 565, 284, 63, 374, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 404, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 576, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 890, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 1059, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 565, 284, 63, 1381, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 1666, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 565, 284, 63, 2371, 65, 273, 394, 2286, 12, 4071, 16, 315, 11302, 67, 7096, 3113, 277, 58, 22483, 19105, 16, 3847, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 565, 284, 63, 374, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 404, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 576, 65, 273, 394, 2286, 12, 2 ]
IVirtualReference[] hardReferences = super.getReferences();
IVirtualReference[] hardReferences = getNonManifestReferences();
public IVirtualReference[] getReferences() { IVirtualReference[] hardReferences = super.getReferences(); List dynamicReferences = J2EEModuleVirtualComponent.getManifestReferences(this, hardReferences); IVirtualReference[] references = null; if (dynamicReferences == null) { references = hardReferences; } else { references = new IVirtualReference[hardReferences.length + dynamicReferences.size()]; System.arraycopy(hardReferences, 0, references, 0, hardReferences.length); for (int i = 0; i < dynamicReferences.size(); i++) { references[hardReferences.length + i] = (IVirtualReference) dynamicReferences.get(i); } } return references; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/03d19ee685eb2fddd0187be5c0adcdc7e30d882f/J2EEModuleVirtualComponent.java/clean/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 6466, 2404, 8526, 5561, 2980, 1435, 288, 202, 202, 45, 6466, 2404, 8526, 7877, 8221, 273, 2240, 18, 588, 8221, 5621, 202, 202, 682, 5976, 8221, 273, 804, 22, 9383, 3120, 6466, 1841, 18, 588, 9121, 8221, 12, 2211, 16, 7877, 8221, 1769, 202, 202, 45, 6466, 2404, 8526, 5351, 273, 446, 31, 202, 202, 430, 261, 14507, 8221, 422, 446, 13, 288, 1082, 202, 14353, 273, 7877, 8221, 31, 202, 202, 97, 469, 288, 1082, 202, 14353, 273, 394, 467, 6466, 2404, 63, 20379, 8221, 18, 2469, 397, 5976, 8221, 18, 1467, 1435, 15533, 1082, 202, 3163, 18, 1126, 3530, 12, 20379, 8221, 16, 374, 16, 5351, 16, 374, 16, 7877, 8221, 18, 2469, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5976, 8221, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 14353, 63, 20379, 8221, 18, 2469, 397, 277, 65, 273, 261, 45, 6466, 2404, 13, 5976, 8221, 18, 588, 12, 77,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0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 6466, 2404, 8526, 5561, 2980, 1435, 288, 202, 202, 45, 6466, 2404, 8526, 7877, 8221, 273, 2240, 18, 588, 8221, 5621, 202, 202, 682, 5976, 8221, 273, 804, 22, 9383, 3120, 6466, 1841, 18, 588, 9121, 8221, 12, 2211, 16, 7877, 8221, 1769, 202, 202, 45, 6466, 2404, 8526, 5351, 273, 446, 31, 202, 202, 430, 261, 14507, 8221, 422, 446, 13, 288, 1082, 202, 14353, 273, 7877, 8221, 31, 202, 202, 97, 469, 288, 1082, 202, 14353, 273, 394, 467, 6466, 2404, 63, 20379, 8221, 18, 2469, 397, 5976, 8221, 18, 1467, 1435, 15533, 1082, 202, 3163, 18, 1126, 3530, 12, 20379, 8221, 16, 374, 16, 5351, 16, 374, 16, 7877, 8221, 18, 2469, 2 ]
com.sun.opengl.impl.NativeLibLoader.disableLoading();
public void run() { displayMessage("Loading native libraries"); // Load core JOGL native library loadLibrary(nativeLibDir, "jogl"); if (!nativeLibInfo.isMacOS()) { // borrowed from NativeLibLoader // Must pre-load JAWT on all non-Mac platforms to // ensure references from jogl_awt shared object // will succeed since JAWT shared object isn't in // default library path try { System.loadLibrary("jawt"); } catch (UnsatisfiedLinkError ex) { // Accessibility technologies load JAWT themselves; safe to continue // as long as JAWT is loaded by any loader if (ex.getMessage().indexOf("already loaded") == -1) { displayError("Unable to load JAWT"); throw ex; } } } // Load AWT-specific native code loadLibrary(nativeLibDir, "jogl_awt"); // disable JOGL loading from elsewhere com.sun.opengl.impl.NativeLibLoader.disableLoading(); displayMessage("Starting applet " + subAppletDisplayName); // start the subapplet startSubApplet(); }
48257 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48257/945e2ae3d234815b43f83049c9d597cb61585797/JOGLAppletLauncher.java/clean/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 2562, 1079, 2932, 10515, 6448, 14732, 8863, 1850, 368, 4444, 2922, 804, 51, 11261, 6448, 5313, 1850, 1262, 9313, 12, 13635, 5664, 1621, 16, 315, 78, 717, 80, 8863, 1850, 309, 16051, 13635, 5664, 966, 18, 291, 9990, 4618, 10756, 288, 368, 29759, 329, 628, 16717, 5664, 2886, 5411, 368, 6753, 675, 17, 945, 804, 37, 8588, 603, 777, 1661, 17, 9990, 17422, 358, 5411, 368, 3387, 5351, 628, 525, 717, 80, 67, 2219, 88, 5116, 733, 5411, 368, 903, 12897, 3241, 804, 37, 8588, 5116, 733, 5177, 1404, 316, 5411, 368, 805, 5313, 589, 5411, 775, 288, 2868, 2332, 18, 945, 9313, 2932, 78, 2219, 88, 8863, 5411, 289, 1044, 261, 984, 12973, 21501, 2098, 668, 431, 13, 288, 2868, 368, 5016, 3628, 17734, 27854, 1262, 804, 37, 8588, 20968, 31, 4183, 358, 1324, 2868, 368, 487, 1525, 487, 804, 37, 8588, 353, 4203, 635, 1281, 4088, 2868, 309, 261, 338, 18, 24906, 7675, 31806, 2932, 17583, 4203, 7923, 422, 300, 21, 13, 288, 7734, 2562, 668, 2932, 3370, 358, 1262, 804, 37, 8588, 8863, 7734, 604, 431, 31, 2868, 289, 5411, 289, 1850, 289, 1850, 368, 4444, 432, 8588, 17, 12524, 6448, 981, 1850, 1262, 9313, 12, 13635, 5664, 1621, 16, 315, 78, 717, 80, 67, 2219, 88, 8863, 1850, 368, 4056, 804, 51, 11261, 7153, 628, 25795, 1171, 2562, 1079, 2932, 11715, 21853, 315, 397, 720, 23696, 20524, 1769, 1850, 368, 787, 326, 720, 438, 1469, 1850, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 2562, 1079, 2932, 10515, 6448, 14732, 8863, 1850, 368, 4444, 2922, 804, 51, 11261, 6448, 5313, 1850, 1262, 9313, 12, 13635, 5664, 1621, 16, 315, 78, 717, 80, 8863, 1850, 309, 16051, 13635, 5664, 966, 18, 291, 9990, 4618, 10756, 288, 368, 29759, 329, 628, 16717, 5664, 2886, 5411, 368, 6753, 675, 17, 945, 804, 37, 8588, 603, 777, 1661, 17, 9990, 17422, 358, 5411, 368, 3387, 5351, 628, 525, 717, 80, 67, 2219, 88, 5116, 733, 5411, 368, 903, 12897, 3241, 804, 37, 8588, 5116, 733, 5177, 1404, 316, 5411, 368, 805, 5313, 589, 5411, 775, 288, 2868, 2332, 18, 945, 9313, 2932, 78, 2219, 88, 8863, 5411, 289, 1044, 261, 2 ]
public void getResponse(CommunityResponse response) {
public void getResponse(CommunityResponse resp) { Object response = resp.getContent();
public void getResponse(CommunityResponse response) { if (!(response instanceof Set)) { String errorString = "Unexpected community response class:" + response.getClass().getName() + " - Should be a Set"; _log.error(errorString); throw new RuntimeException(errorString); } status.value = (Set) response; s.release(); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/6e7ccd20d84a078067104ccc7f6c3bd6d0c5ab42/LdapUserServiceImpl.java/buggy/securityservices/src/org/cougaar/core/security/acl/user/LdapUserServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6476, 12, 12136, 13352, 1064, 766, 13, 288, 202, 225, 309, 16051, 12, 2740, 1276, 1000, 3719, 288, 202, 565, 514, 555, 780, 273, 315, 7762, 19833, 766, 667, 2773, 202, 1377, 397, 766, 18, 588, 797, 7675, 17994, 1435, 397, 315, 300, 9363, 506, 279, 1000, 14432, 202, 565, 389, 1330, 18, 1636, 12, 1636, 780, 1769, 202, 565, 604, 394, 3235, 12, 1636, 780, 1769, 202, 225, 289, 202, 225, 1267, 18, 1132, 273, 261, 694, 13, 766, 31, 202, 225, 272, 18, 9340, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 2773, 202, 1377, 397, 766, 18, 588, 797, 7675, 17994, 1435, 397, 315, 300, 9363, 506, 279, 1000, 14432, 202, 565, 389, 1330, 18, 1636, 12, 1636, 780, 1769, 202, 565, 604, 394, 3235, 12, 1636, 780, 1769, 202, 225, 289, 202, 225, 1267, 18, 1132, 273, 261, 694, 13, 766, 31, 202, 225, 272, 18, 9340, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { org.quickfix.field.NoSecurityAltID value = new org.quickfix.field.NoSecurityAltID();
public quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { quickfix.field.NoSecurityAltID value = new quickfix.field.NoSecurityAltID();
public org.quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { org.quickfix.field.NoSecurityAltID value = new org.quickfix.field.NoSecurityAltID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix43/Email.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 4368, 10655, 734, 336, 2279, 4368, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 4368, 10655, 734, 336, 2279, 4368, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AST tmp777_AST_in = (AST)_t;
AST tmp776_AST_in = (AST)_t;
public final void choosestate(AST _t) throws RecognitionException { AST choosestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST head = null; AST fi = null; AST __t215 = _t; head = _t==ASTNULL ? null :(AST)_t; match(_t,CHOOSE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ROW: { AST tmp774_AST_in = (AST)_t; match(_t,ROW); _t = _t.getNextSibling(); break; } case FIELD: { AST tmp775_AST_in = (AST)_t; match(_t,FIELD); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } if ( inputState.guessing==0 ) { action.frameInitializingStatement(head); } { int _cnt221=0; _loop221: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { AST __t218 = _t; fi = _t==ASTNULL ? null :(AST)_t; match(_t,Form_item); _t = _t.getFirstChild(); fld(_t,CQ.UPDATING); _t = _retTree; if ( inputState.guessing==0 ) { action.formItem(fi); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HELP: { AST __t220 = _t; AST tmp776_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t220; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t218; _t = _t.getNextSibling(); } else { if ( _cnt221>=1 ) { break _loop221; } else {throw new NoViableAltException(_t);} } _cnt221++; } while (true); } { _loop226: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AUTORETURN: { AST tmp777_AST_in = (AST)_t; match(_t,AUTORETURN); _t = _t.getNextSibling(); break; } case COLOR: { AST __t223 = _t; AST tmp778_AST_in = (AST)_t; match(_t,COLOR); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t223; _t = _t.getNextSibling(); break; } case GOON: { goonphrase(_t); _t = _retTree; break; } case KEYS: { AST __t224 = _t; AST tmp779_AST_in = (AST)_t; match(_t,KEYS); _t = _t.getFirstChild(); fld(_t,CQ.UPDATING); _t = _retTree; _t = __t224; _t = _t.getNextSibling(); break; } case NOERROR_KW: { AST tmp780_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case PAUSE: { AST __t225 = _t; AST tmp781_AST_in = (AST)_t; match(_t,PAUSE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t225; _t = _t.getNextSibling(); break; } default: { break _loop226; } } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WITH: { framephrase(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.frameStatementEnd(); } _t = __t215; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 24784, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 24784, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 910, 273, 446, 31, 202, 202, 9053, 7314, 273, 446, 31, 9506, 202, 9053, 1001, 88, 22, 3600, 273, 389, 88, 31, 202, 202, 1978, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 22213, 51, 1090, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 29589, 30, 202, 202, 95, 1082, 202, 9053, 1853, 4700, 24, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 11226, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 9921, 30, 202, 202, 95, 1082, 202, 9053, 1853, 27714, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 6776, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 24784, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 24784, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 910, 273, 446, 31, 202, 202, 9053, 7314, 273, 446, 31, 9506, 202, 9053, 1001, 88, 22, 3600, 273, 389, 88, 31, 202, 202, 1978, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 22213, 51, 1090, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 2 ]
return new Character((char) ((ConstantInteger) c).getBytes());
return (Character)(char) ((ConstantInteger) c).getBytes();
private Object readAnnotationValue(DataInputStream bytes) throws IOException { try { char tag = (char) bytes.readUnsignedByte(); if (DEBUG) System.out.println("tag: " + tag); switch (tag) { case '[': { int sz = bytes.readUnsignedShort(); if (DEBUG) System.out.println("Array of " + sz + " entries"); Object[] result = new Object[sz]; for (int i = 0; i < sz; i++) result[i] = readAnnotationValue(bytes); return result; } case 'B': case 'C': case 'D': case 'F': case 'I': case 'J': case 'S': case 'Z': case 's': case 'c': int cp_index = bytes.readUnsignedShort(); Constant c = getConstantPool().getConstant(cp_index); switch (tag) { case 'B': return new Byte((byte) ((ConstantInteger) c).getBytes()); case 'C': return new Character((char) ((ConstantInteger) c).getBytes()); case 'D': return new Double(((ConstantDouble) c).getBytes()); case 'F': return new Float(((ConstantFloat) c).getBytes()); case 'I': return new Integer(((ConstantInteger) c).getBytes()); case 'J': return new Long(((ConstantLong) c).getBytes()); case 'S': return new Character((char) ((ConstantInteger) c).getBytes()); case 'Z': return Boolean.valueOf(((ConstantInteger) c).getBytes() != 0); case 's': return ((ConstantUtf8) c).getBytes(); case 'c': String cName = ((ConstantUtf8)c).getBytes().replace('/','.'); if (cName.startsWith("L") && cName.endsWith(";")) cName = cName.substring(1,cName.length()-1); if (DEBUG) System.out.println("cName: " + cName); return cName; default: if (DEBUG) System.out.println("Impossible"); throw new IllegalStateException("Impossible"); } case '@': throw new IllegalArgumentException("Not ready to handle annotations as elements of annotations"); case 'e': { int cp1= bytes.readUnsignedShort(); ConstantUtf8 c1 = (ConstantUtf8) getConstantPool().getConstant(cp1); String cName = c1.getBytes().replace('/','.'); if (cName.startsWith("L") && cName.endsWith(";")) cName = cName.substring(1,cName.length()-1); int cp2= bytes.readUnsignedShort(); ConstantUtf8 c2 = (ConstantUtf8) getConstantPool().getConstant(cp2); String result = cName +"." + c2.getBytes(); // System.out.println(result); return result; } default: if (DEBUG) System.out.println("Unexpected tag of " + tag); throw new IllegalArgumentException("Unexpected tag of " + tag); } } catch (RuntimeException e) { if (DEBUG) { System.out.println("Problem processing annotation " + e.getMessage()); e.printStackTrace(); } throw e; } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/af419cfd6becf3774814b9e2450a3232d5752f99/AnnotationVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/visitclass/AnnotationVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1033, 855, 3257, 620, 12, 751, 4348, 1731, 13, 1082, 202, 15069, 1860, 288, 202, 202, 698, 288, 202, 202, 3001, 1047, 273, 261, 3001, 13, 1731, 18, 896, 13290, 3216, 5621, 202, 202, 430, 261, 9394, 13, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 2692, 30, 315, 397, 1047, 1769, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 8375, 30, 202, 202, 95, 1082, 202, 474, 11262, 273, 1731, 18, 896, 13290, 4897, 5621, 1082, 202, 430, 261, 9394, 13, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 1076, 434, 315, 397, 11262, 397, 315, 3222, 8863, 1082, 202, 921, 8526, 563, 273, 394, 1033, 63, 24575, 15533, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 11262, 31, 277, 27245, 9506, 202, 2088, 63, 77, 65, 273, 855, 3257, 620, 12, 3890, 1769, 1082, 202, 2463, 563, 31, 202, 202, 97, 202, 202, 3593, 296, 38, 4278, 202, 202, 3593, 296, 39, 4278, 202, 202, 3593, 296, 40, 4278, 202, 202, 3593, 296, 42, 4278, 202, 202, 3593, 296, 45, 4278, 202, 202, 3593, 296, 46, 4278, 202, 202, 3593, 296, 55, 4278, 202, 202, 3593, 296, 62, 4278, 202, 202, 3593, 296, 87, 4278, 202, 202, 3593, 296, 71, 4278, 1082, 202, 474, 3283, 67, 1615, 273, 1731, 18, 896, 13290, 4897, 5621, 1082, 202, 6902, 276, 273, 24337, 2864, 7675, 588, 6902, 12, 4057, 67, 1615, 1769, 1082, 202, 9610, 261, 2692, 13, 288, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1033, 855, 3257, 620, 12, 751, 4348, 1731, 13, 1082, 202, 15069, 1860, 288, 202, 202, 698, 288, 202, 202, 3001, 1047, 273, 261, 3001, 13, 1731, 18, 896, 13290, 3216, 5621, 202, 202, 430, 261, 9394, 13, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 2692, 30, 315, 397, 1047, 1769, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 8375, 30, 202, 202, 95, 1082, 202, 474, 11262, 273, 1731, 18, 896, 13290, 4897, 5621, 1082, 202, 430, 261, 9394, 13, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 1076, 434, 315, 397, 11262, 397, 315, 3222, 8863, 1082, 202, 921, 8526, 563, 273, 394, 1033, 63, 24575, 15533, 1082, 202, 1884, 261, 2 ]
writeUTF8(out, value != null ? value : "");
out.writeUTF(value != null ? value : "");
protected void serializeData(DataOutput out) throws IOException { out.writeInt(mId); out.writeBoolean(mReplace); int numAttrs = mAttrs != null ? mAttrs.size() : 0; out.writeShort((short) numAttrs); for (Iterator it = mAttrs.entrySet().iterator(); it.hasNext(); ) { Map.Entry entry = (Map.Entry) it.next(); writeUTF8(out, (String) entry.getKey()); String value = (String) entry.getValue(); writeUTF8(out, value != null ? value : ""); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/ddf77284d1a02cd7ececff001a8f5a16e2683f79/ModifyContact.java/clean/ZimbraServer/src/java/com/zimbra/cs/redolog/op/ModifyContact.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4472, 751, 12, 751, 1447, 596, 13, 1216, 1860, 288, 3639, 596, 18, 2626, 1702, 12, 81, 548, 1769, 3639, 596, 18, 2626, 5507, 12, 81, 5729, 1769, 3639, 509, 818, 8262, 273, 312, 8262, 480, 446, 692, 312, 8262, 18, 1467, 1435, 294, 374, 31, 3639, 596, 18, 2626, 4897, 12443, 6620, 13, 818, 8262, 1769, 3639, 364, 261, 3198, 518, 273, 312, 8262, 18, 4099, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 518, 18, 4285, 5621, 5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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4472, 751, 12, 751, 1447, 596, 13, 1216, 1860, 288, 3639, 596, 18, 2626, 1702, 12, 81, 548, 1769, 3639, 596, 18, 2626, 5507, 12, 81, 5729, 1769, 3639, 509, 818, 8262, 273, 312, 8262, 480, 446, 692, 312, 8262, 18, 1467, 1435, 294, 374, 31, 3639, 596, 18, 2626, 4897, 12443, 6620, 13, 818, 8262, 1769, 3639, 364, 261, 3198, 518, 273, 312, 8262, 18, 4099, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 518, 18, 4285, 5621, 5411, 1045, 5159, 28, 12, 659, 16, 261, 780, 13, 1241, 18, 588, 653, 10663, 5411, 514, 460, 273, 261, 780, 13, 1241, 2 ]
int startOffsetDiff = element1.getTextRange().getStartOffset() - element.getTextRange().getStartOffset();
int startOffsetDiff = element.getTextRange().getStartOffset() - element1.getTextRange().getStartOffset();
public int compare(PsiElement element, PsiElement element1) { int startOffsetDiff = element1.getTextRange().getStartOffset() - element.getTextRange().getStartOffset(); return startOffsetDiff != 0 ? startOffsetDiff : element1.getTextRange().getEndOffset() - element.getTextRange().getEndOffset(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2a2ea0c9eb4e271b9c0425e31566c34a56000d4d/FoldingPolicy.java/buggy/codeInsight/impl/com/intellij/codeInsight/folding/impl/FoldingPolicy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 509, 3400, 12, 52, 7722, 1046, 930, 16, 453, 7722, 1046, 930, 21, 13, 288, 3639, 509, 18245, 5938, 273, 930, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 300, 930, 21, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 5621, 3639, 327, 18245, 5938, 480, 374, 692, 18245, 5938, 294, 9079, 930, 21, 18, 588, 1528, 2655, 7675, 588, 1638, 2335, 1435, 300, 930, 18, 588, 1528, 2655, 7675, 588, 1638, 2335, 5621, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 509, 3400, 12, 52, 7722, 1046, 930, 16, 453, 7722, 1046, 930, 21, 13, 288, 3639, 509, 18245, 5938, 273, 930, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 300, 930, 21, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 5621, 3639, 327, 18245, 5938, 480, 374, 692, 18245, 5938, 294, 9079, 930, 21, 18, 588, 1528, 2655, 7675, 588, 1638, 2335, 1435, 300, 930, 18, 588, 1528, 2655, 7675, 588, 1638, 2335, 5621, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741,
89, 387, 234, 524, 589, 538, 364, 61, 597, 234, 518, 642, 721, 429, 456, 457, 594, 234, 492, 741,
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 814, 190, 190, 591, 601, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 782, 552, 234, 234, 216, 283, 284, 190, 253, 617, 274, 356, 249, 461, 732, 652, 265, 466, 492, 109, 109, 551, 300, 442, 281, 291, 275, 435, 337, 109, 362, 492, 337, 442, 190, 660, 661, 422, 62, 588, 221, 215, 218, 617, 423, 424, 783, 217, 786, 492, 469, 387, 382, 217, 606, 353, 244, 441, 60, 362, 362, 248, 393, 342, 394, 362, 109, 444, 253, 285, 79, 79, 110, 110, 353, 69, 79, 210, 210, 210, 492, 492, 225, 210, 210, 354, 492, 210, 235, 235, 455, 247, 235, 455, 210, 69, 492, 70, 309, 363, 221, 442, 455, 656, 247, 109, 649, 216, 492, 71, 338, 470, 387, 535, 338, 79, 210, 210, 253, 279, 360, 210, 269, 492, 361, 216, 61, 324, 230, 492, 492, 326, 327, 261, 657, 447, 782, 366, 308, 492, 262, 579, 264, 394, 89, 492, 492, 363, 363, 456, 457, 458, 456, 457, 460, 598, 217, 492, 279, 230, 40, 456, 457, 462, 260, 261, 492, 564, 356, 392, 455, 291, 492, 210, 217, 79, 684, 438, 87, 440, 190, 391, 856, 64, 234, 234, 284, 308, 653, 492, 716, 40, 89, 89, 217, 256, 691, 234, 67, 234, 234, 441, 264, 64, 239, 369, 239, 420, 65, 237, 771, 237, 237, 55, 492, 492, 356, 356, 67, 335, 240, 439, 240, 240, 487, 273, 87, 87, 65, 456, 457, 465, 265, 295, 307, 308, 242, 345, 492, 243, 391, 391, 391, 387, 363, 402, 346, 221, 343, 297, 441, 492, 762, 397, 398, 344, 487, 766, 481, 278, 481, 381, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 307, 308, 210, 210, 550, 455, 494, 234, 387, 471, 524, 527, 492, 234, 476, 340, 347, 538, 531, 482, 531, 482, 341, 406, 210, 69, 210, 210, 802, 235, 265, 235, 417, 518, 234, 536, 79, 494, 617, 348, 626, 629, 234, 79, 617, 472, 473, 474, 475, 531, 492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741, 264, 234, 234, 525, 528, 234, 532, 109, 518, 620, 539, 79, 210, 210, 210, 210, 79, 210, 210, 492, 597, 622, 634, 518, 492, 614, 564, 637, 638, 639, 632, 627, 624, 203, 543, 69, 234, 841, 628, 234, 376, 839, 234, 89, 352, 825, 492, 190, 454, 234, 377, 835, 210, 518, 492, 210, 210, 269, 210, 79, 279, 459, 210, 64, 492, 492, 61, 356, 600, 600, 511, 516, 363, 522, 523, 518, 379, 87, 67, 210, 79, 210, 40, 40, 269, 492, 264, 367, 65, 79, 617, 380, 459, 79, 368, 492, 389, 210, 549, 855, 792, 79, 269, 79, 441, 687, 413, 273, 415, 418, 459, 381, 210, 492, 273, 511, 516, 269, 617, 670, 582, 234, 673, 675, 210, 385, 445, 400, 590, 861, 592, 549, 386, 217, 401, 441, 278, 533, 79, 455, 396, 278, 388, 64, 666, 463, 492, 492, 278, 671, 307, 308, 670, 473, 390, 674, 676, 445, 67, 403, 445, 549, 357, 358, 210, 635, 576, 688, 65, 269, 381, 381, 381, 562, 563, 445, 190, 63, 430, 701, 71, 454, 203, 549, 411, 431, 81, 445, 234, 448, 449, 837, 399, 309, 94, 94, 190, 61, 456, 457, 94, 94, 94, 94, 709, 579, 234, 94, 94, 406, 234, 94, 454, 682, 234, 454, 492, 683, 94, 492, 492, 82, 324, 293, 294, 234, 326, 327, 328, 329, 454, 74, 407, 273, 410, 426, 372, 692, 744, 94, 94, 94, 778, 373, 428, 94, 434, 309, 614, 432, 752, 433, 446, 436, 210, 79, 229, 758, 760, 437, 450, 451, 464, 763, 765, 492, 780, 468, 537, 82, 82, 540, 579, 768, 234, 79, 583, 394, 423, 596, 725, 608, 618, 630, 234, 631, 636, 640, 452, 79, 641, 833, 654, 813, 662, 453, 815, 94, 834, 94, 492, 663, 423, 668, 492, 492, 669, 758, 760, 763, 560, 561, 562, 563, 109, 234, 705, 210, 492, 672, 759, 761, 234, 492, 87, 492, 764, 234, 234, 679, 83, 83, 111, 111, 810, 680, 83, 673, 675, 809, 210, 88, 226, 210, 685, 740, 686, 689, 609, 693, 811, 695, 697, 699, 773, 702, 700, 737, 738, 109, 79, 706, 821, 712, 234, 713, 714, 225, 79, 715, 79, 79, 210, 210, 76, 83, 278, 76, 210, 280, 84, 717, 794, 278, 718, 720, 724, 746, 473, 88, 88, 821, 232, 234, 76, 755, 600, 756, 757, 845, 76, 727, 733, 234, 87, 84, 84, 234, 735, 736, 739, 84, 788, 743, 94, 94, 79, 228, 280, 210, 745, 89, 279, 767, 472, 822, 696, 698, 84, 84, 234, 79, 79, 79, 774, 83, 94, 775, 94, 94, 779, 160, 234, 793, 234, 795, 796, 472, 94, 797, 84, 807, 817, 818, 827, 94, 518, 816, 799, 800, 801, 472, 234, 819, 234, 868, 82, 820, 492, 492, 492, 829, 234, 273, 832, 492, 234, 210, 82, 842, 273, 79, 79, 843, 747, 748, 847, 749, 849, 852, 160, 41, 42, 94, 94, 94, 94, 94, 94, 94, 94, 89, 79, 853, 854, 873, 78, 871, 824, 875, 84, 91, 91, 112, 112, 112, 877, 91, 423, 492, 493, 481, 483, 230, 80, 423, 493, 483, 86, 836, 483, 485, 485, 254, 94, 492, 79, 94, 94, 487, 94, 94, 423, 487, 94, 210, 82, 79, 494, 423, 269, 299, 115, 473, 79, 874, 91, 75, 728, 188, 282, 94, 94, 94, 549, 339, 826, 690, 734, 754, 862, 279, 351, 421, 863, 94, 86, 86, 0, 94, 784, 864, 785, 94, 83, 94, 92, 92, 301, 153, 0, 83, 92, 0, 94, 0, 0, 0, 88, 282, 0, 0, 0, 0, 280, 0, 94, 0, 0, 473, 0, 0, 76, 472, 0, 0, 91, 0, 0, 0, 94, 0, 302, 303, 304, 305, 306, 0, 0, 83, 0, 92, 0, 0, 83, 84, 472, 84, 153, 828, 830, 0, 831, 0, 0, 0, 94, 0, 85, 0, 472, 208, 208, 208, 0, 0, 0, 0, 0, 84, 0, 0, 279, 0, 472, 0, 84, 0, 250, 279, 803, 472, 0, 805, 806, 0, 472, 83, 280, 270, 0, 555, 83, 0, 556, 557, 558, 472, 0, 0, 267, 92, 76, 0, 472, 472, 85, 85, 83, 472, 0, 472, 0, 0, 84, 0, 0, 0, 472, 84, 0, 83, 872, 472, 0, 84, 0, 0, 472, 83, 559, 83, 0, 0, 0, 560, 561, 562, 563, 476, 83, 83, 472, 0, 0, 160, 94, 94, 160, 160, 160, 86, 473, 0, 0, 0, 0, 359, 0, 0, 0, 0, 84, 0, 848, 850, 83, 94, 81, 88, 0, 81, 418, 280, 0, 91, 0, 0, 0, 418, 0, 94, 91, 84, 160, 0, 0, 0, 81, 160, 160, 160, 160, 0, 0, 86, 84, 0, 0, 865, 866, 0, 83, 473, 84, 870, 84, 0, 473, 94, 473, 0, 0, 0, 0, 473, 0, 0, 273, 0, 91, 279, 878, 0, 0, 91, 0, 163, 279, 0, 880, 86, 94, 882, 473, 94, 0, 884, 0, 0, 555, 84, 0, 556, 557, 558, 0, 0, 0, 88, 92, 0, 94, 0, 280, 0, 0, 92, 0, 473, 94, 280, 94, 94, 94, 94, 473, 0, 91, 282, 94, 473, 0, 0, 208, 208, 163, 0, 0, 0, 0, 0, 83, 83, 560, 561, 562, 563, 0, 91, 473, 0, 0, 153, 0, 92, 153, 153, 153, 0, 92, 0, 91, 83, 404, 405, 0, 0, 94, 0, 91, 94, 91, 0, 0, 85, 0, 83, 0, 0, 417, 0, 0, 94, 94, 94, 481, 417, 476, 0, 0, 0, 153, 0, 0, 148, 0, 153, 153, 153, 153, 0, 0, 92, 0, 0, 0, 91, 0, 83, 0, 0, 0, 0, 208, 208, 208, 208, 84, 477, 478, 0, 0, 0, 92, 0, 0, 481, 0, 94, 0, 0, 0, 94, 94, 0, 0, 92, 84, 476, 0, 0, 270, 0, 148, 92, 476, 92, 83, 751, 0, 472, 84, 0, 94, 226, 83, 0, 83, 83, 0, 0, 0, 0, 0, 0, 81, 0, 131, 270, 476, 0, 0, 280, 0, 0, 0, 575, 581, 530, 280, 534, 92, 553, 0, 77, 0, 270, 94, 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, 94, 789, 0, 270, 0, 83, 0, 94, 0, 0, 0, 577, 481, 0, 0, 0, 0, 0, 131, 273, 83, 83, 83, 0, 84, 91, 273, 267, 530, 0, 0, 228, 84, 476, 84, 84, 0, 0, 0, 0, 610, 613, 0, 0, 616, 91, 0, 81, 623, 0, 0, 0, 0, 78, 0, 270, 78, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 83, 0, 78, 0, 644, 790, 0, 616, 0, 84, 644, 163, 0, 0, 163, 163, 163, 0, 0, 132, 83, 0, 0, 0, 84, 84, 84, 0, 0, 92, 0, 0, 473, 0, 0, 659, 659, 659, 419, 0, 0, 667, 0, 0, 79, 419, 0, 79, 0, 92, 163, 0, 667, 667, 83, 163, 163, 163, 163, 91, 0, 0, 0, 92, 79, 83, 230, 91, 132, 91, 91, 0, 83, 0, 84, 84, 667, 0, 481, 481, 481, 0, 0, 0, 481, 481, 208, 481, 0, 677, 0, 0, 0, 74, 278, 84, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 704, 0, 708, 791, 581, 74, 0, 91, 0, 0, 80, 148, 581, 80, 148, 148, 148, 0, 0, 0, 0, 84, 91, 91, 91, 0, 92, 482, 0, 0, 80, 0, 84, 0, 92, 423, 92, 92, 420, 84, 0, 208, 85, 476, 0, 420, 0, 0, 719, 0, 148, 0, 0, 0, 0, 148, 148, 148, 148, 0, 279, 0, 0, 0, 0, 0, 726, 742, 482, 0, 729, 0, 91, 91, 730, 0, 0, 0, 0, 0, 0, 0, 92, 0, 131, 613, 0, 131, 131, 131, 0, 0, 412, 91, 476, 0, 0, 92, 92, 92, 0, 476, 412, 659, 0, 0, 472, 0, 0, 0, 0, 422, 78, 473, 0, 0, 0, 0, 422, 0, 0, 0, 85, 131, 0, 476, 0, 91, 131, 131, 131, 131, 0, 412, 770, 0, 412, 0, 91, 0, 0, 0, 0, 208, 777, 91, 0, 92, 92, 0, 412, 412, 482, 412, 0, 412, 0, 0, 0, 667, 667, 0, 0, 0, 473, 0, 0, 0, 92, 0, 0, 473, 0, 0, 79, 644, 473, 0, 0, 0, 0, 0, 616, 412, 0, 412, 0, 0, 616, 0, 0, 0, 78, 0, 0, 473, 0, 0, 0, 0, 0, 0, 92, 0, 0, 132, 0, 0, 132, 132, 132, 0, 0, 92, 0, 415, 0, 412, 0, 0, 92, 581, 0, 74, 823, 415, 278, 0, 0, 0, 0, 0, 421, 278, 0, 0, 0, 0, 473, 421, 0, 0, 0, 0, 132, 0, 0, 0, 80, 132, 132, 132, 132, 838, 79, 0, 415, 270, 0, 415, 0, 0, 0, 846, 0, 0, 0, 851, 0, 0, 0, 0, 0, 415, 415, 423, 415, 0, 415, 0, 0, 0, 423, 0, 0, 581, 0, 0, 253, 482, 482, 482, 0, 0, 0, 482, 482, 0, 482, 0, 279, 0, 613, 74, 616, 0, 415, 279, 415, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 876, 0, 879, 322, 323, 0, 80, 0, 0, 0, 616, 0, 0, 0, 883, 0, 324, 0, 415, 334, 326, 327, 328, 329, 0, 0, 0, 469, 469, 469, 0, 469, 412, 412, 412, 469, 469, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 412, 469, 412, 412, 469, 469, 469, 469, 469, 469, 469, 412, 412, 0, 412, 412, 412, 412, 412, 0, 469, 334, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 0, 469, 469, 469, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 0, 0, 412, 412, 412, 469, 412, 412, 469, 469, 469, 469, 469, 412, 469, 412, 469, 412, 469, 412, 412, 412, 412, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 0, 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, 470, 470, 470, 0, 470, 415, 415, 415, 470, 470, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 415, 470, 415, 415, 470, 470, 470, 470, 470, 470, 470, 415, 415, 0, 415, 415, 415, 415, 415, 95, 470, 0, 0, 470, 470, 470, 470, 470, 470, 470, 470, 0, 470, 470, 470, 470, 0, 0, 470, 470, 470, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 0, 0, 415, 415, 415, 470, 415, 415, 470, 470, 470, 470, 470, 415, 470, 415, 470, 415, 470, 415, 415, 415, 415, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 678, 324, 472, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 472, 472, 0, 84, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 472, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 508, 509, 473, 0, 510, 0, 0, 0, 0, 0, 0, 160, 473, 161, 162, 472, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 309, 473, 175, 176, 473, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 322, 323, 473, 473, 0, 86, 95, 473, 0, 95, 95, 95, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 96, 0, 0, 309, 0, 0, 0, 0, 314, 315, 0, 412, 0, 473, 0, 473, 0, 0, 412, 322, 323, 0, 0, 95, 0, 0, 0, 0, 95, 95, 95, 95, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 473, 0, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 334, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 96, 0, 0, 96, 96, 96, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 476, 96, 0, 476, 0, 0, 96, 96, 96, 96, 0, 0, 0, 0, 0, 0, 0, 476, 476, 0, 85, 0, 476, 0, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 476, 0, 476, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 513, 514, 274, 0, 515, 0, 0, 0, 0, 0, 0, 160, 274, 161, 162, 476, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 274, 175, 176, 274, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 274, 274, 0, 0, 0, 274, 520, 509, 0, 0, 521, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 274, 0, 274, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 608, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 274, 334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 476, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 476, 476, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 476, 472, 472, 472, 472, 472, 476, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 471, 471, 471, 0, 471, 274, 274, 274, 471, 471, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 0, 471, 274, 274, 471, 471, 471, 471, 471, 471, 471, 274, 274, 0, 274, 274, 274, 274, 274, 0, 471, 0, 0, 471, 471, 471, 471, 471, 471, 471, 471, 0, 471, 471, 471, 471, 0, 0, 471, 471, 471, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 0, 0, 274, 274, 274, 471, 0, 274, 471, 471, 471, 471, 471, 274, 471, 274, 471, 274, 471, 274, 274, 274, 274, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 477, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 324, 477, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 547, 514, 477, 477, 548, 0, 0, 477, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 477, 0, 477, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 478, 186, 0, 0, 0, 0, 0, 0, 0, 0, 478, 0, 0, 477, 0, 0, 0, 584, 509, 0, 0, 585, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 478, 169, 0, 478, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 478, 478, 0, 175, 176, 478, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 586, 514, 0, 0, 587, 0, 0, 0, 478, 0, 478, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 655, 0, 0, 0, 478, 334, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 474, 474, 474, 0, 474, 477, 477, 477, 474, 474, 477, 477, 477, 474, 477, 474, 474, 474, 474, 474, 474, 474, 0, 477, 477, 477, 474, 474, 474, 474, 474, 474, 474, 477, 477, 0, 477, 477, 477, 477, 477, 0, 474, 0, 0, 474, 474, 474, 474, 474, 474, 474, 474, 0, 474, 474, 474, 474, 0, 0, 474, 474, 474, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 0, 0, 477, 477, 477, 474, 0, 477, 474, 474, 474, 474, 474, 477, 474, 477, 474, 477, 474, 477, 477, 477, 477, 477, 477, 477, 474, 477, 477, 474, 474, 474, 474, 474, 474, 475, 475, 475, 0, 475, 478, 478, 478, 475, 475, 478, 478, 478, 475, 478, 475, 475, 475, 475, 475, 475, 475, 0, 478, 478, 478, 475, 475, 475, 475, 475, 475, 475, 478, 478, 0, 478, 478, 478, 478, 478, 0, 475, 0, 0, 475, 475, 475, 475, 475, 475, 475, 475, 0, 475, 475, 475, 475, 0, 0, 475, 475, 475, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 478, 478, 478, 475, 0, 478, 475, 475, 475, 475, 475, 478, 475, 478, 475, 478, 475, 478, 478, 478, 478, 478, 478, 478, 475, 478, 478, 475, 475, 475, 475, 475, 475, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 324, 350, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 602, 509, 350, 350, 603, 0, 0, 350, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 492, 186, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 350, 0, 0, 0, 604, 514, 0, 0, 605, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 492, 169, 0, 492, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 175, 176, 492, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 645, 509, 0, 0, 646, 0, 0, 0, 492, 0, 492, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 251, 251, 251, 0, 251, 350, 350, 350, 251, 251, 350, 350, 350, 251, 350, 251, 251, 251, 251, 251, 251, 251, 0, 350, 350, 350, 251, 251, 251, 251, 251, 251, 251, 350, 350, 0, 350, 350, 350, 350, 350, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 251, 0, 350, 251, 0, 251, 251, 251, 350, 251, 350, 251, 350, 251, 350, 350, 350, 350, 350, 350, 350, 251, 350, 350, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 492, 492, 492, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 251, 0, 492, 251, 0, 251, 251, 251, 492, 251, 492, 251, 492, 251, 492, 492, 492, 492, 492, 492, 492, 251, 492, 492, 251, 251, 251, 251, 251, 251, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 647, 514, 0, 0, 648, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 278, 167, 168, 278, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 278, 278, 0, 87, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 857, 509, 0, 0, 858, 0, 0, 0, 278, 0, 278, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 286, 170, 171, 172, 173, 0, 0, 0, 0, 0, 286, 0, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 859, 514, 0, 0, 860, 0, 286, 0, 0, 286, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 286, 286, 169, 0, 0, 286, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 286, 186, 286, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 324, 286, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 278, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 278, 278, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 278, 473, 473, 473, 473, 473, 278, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 0, 473, 473, 473, 473, 473, 473, 251, 251, 251, 0, 251, 286, 286, 286, 251, 251, 286, 286, 286, 251, 286, 251, 251, 251, 251, 251, 251, 251, 0, 0, 286, 286, 251, 251, 251, 251, 251, 251, 251, 286, 286, 0, 286, 286, 286, 286, 286, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 251, 0, 286, 251, 0, 251, 251, 251, 286, 251, 286, 251, 286, 251, 286, 286, 286, 286, 286, 286, 286, 251, 286, 472, 251, 251, 251, 251, 251, 251, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 76, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 472, 0, 84, 0, 472, 309, 310, 311, 312, 313, 314, 315, 0, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 309, 333, 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 322, 323, 473, 0, 0, 472, 0, 0, 0, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 0, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 86, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 1725, 3461, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 1666, 1611, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 225, 1381, 3657, 16, 225, 27610, 16, 225, 6969, 27, 16, 225, 576, 6162, 16, 6647, 576, 2313, 16, 282, 16848, 16, 225, 2371, 11149, 16, 225, 1381, 9401, 16, 225, 576, 5026, 16, 225, 576, 5026, 16, 225, 576, 2313, 16, 225, 9131, 23, 16, 225, 576, 5193, 16, 225, 5342, 20, 16, 6647, 6969, 23, 16, 225, 1666, 4033, 16, 225, 576, 5608, 16, 225, 890, 4313, 16, 225, 4248, 29, 16, 225, 1059, 9498, 16, 225, 2371, 1578, 16, 225, 1666, 9401, 16, 225, 576, 9222, 16, 225, 1059, 6028, 16, 6647, 1059, 9975, 16, 225, 30116, 16, 225, 30116, 16, 225, 1381, 10593, 16, 225, 11631, 16, 225, 1059, 9452, 16, 225, 9131, 21, 16, 225, 576, 12416, 16, 225, 576, 5877, 16, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 1725, 3461, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 1666, 1611, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 2 ]
needShowAll = this.primaryWizards.length > 0; if (needShowAll) {
if (this.primaryWizards.length > 0) {
public NewWizardNewPage( NewWizardSelectionPage mainPage, IWorkbench aWorkbench, WizardCollectionElement wizardCategories, WorkbenchWizardElement[] primaryWizards) { this.page = mainPage; this.wizardCategories = wizardCategories; this.primaryWizards = primaryWizards; trimPrimaryWizards(); needShowAll = this.primaryWizards.length > 0; if (needShowAll) { if (allPrimary(wizardCategories)) { this.wizardCategories = null; // dont bother considering the categories as all wizards are primary needShowAll = false; } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4cf956cf14a1861582124e1ddfcf2b85ce3aa055/NewWizardNewPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1166, 27130, 1908, 1964, 12, 202, 202, 1908, 27130, 6233, 1964, 2774, 1964, 16, 202, 202, 45, 2421, 22144, 279, 2421, 22144, 16, 202, 202, 27130, 2532, 1046, 24204, 10487, 16, 202, 202, 2421, 22144, 27130, 1046, 8526, 3354, 27130, 87, 13, 288, 202, 202, 2211, 18, 2433, 273, 2774, 1964, 31, 202, 202, 2211, 18, 31837, 10487, 273, 24204, 10487, 31, 202, 202, 2211, 18, 8258, 27130, 87, 273, 3354, 27130, 87, 31, 9506, 202, 5290, 6793, 27130, 87, 5621, 9506, 202, 14891, 5706, 1595, 273, 333, 18, 8258, 27130, 87, 18, 2469, 405, 374, 31, 202, 202, 430, 261, 14891, 5706, 1595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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1166, 27130, 1908, 1964, 12, 202, 202, 1908, 27130, 6233, 1964, 2774, 1964, 16, 202, 202, 45, 2421, 22144, 279, 2421, 22144, 16, 202, 202, 27130, 2532, 1046, 24204, 10487, 16, 202, 202, 2421, 22144, 27130, 1046, 8526, 3354, 27130, 87, 13, 288, 202, 202, 2211, 18, 2433, 273, 2774, 1964, 31, 202, 202, 2211, 18, 31837, 10487, 273, 24204, 10487, 31, 202, 202, 2211, 18, 8258, 27130, 87, 273, 3354, 27130, 87, 31, 9506, 202, 5290, 6793, 27130, 87, 5621, 9506, 202, 14891, 5706, 1595, 273, 333, 18, 8258, 27130, 87, 18, 2469, 405, 374, 31, 202, 202, 430, 261, 14891, 5706, 1595, 13, 288, 1082, 565, 309, 261, 454, 6793, 12, 31837, 10487, 3719, 2 ]
if(ref.get() == null)
if(ref.get() == null) {
public synchronized void unregisterContentService(INavigatorContentService aContentService) { for (Iterator iter = registeredContentServices.iterator(); iter.hasNext();) { WeakReference ref = (WeakReference) iter.next(); if(ref.get() == null) iter.remove(); else { if(ref.get() == aContentService) { iter.remove(); return; } } } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/NavigatorContentServiceTransfer.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/dnd/NavigatorContentServiceTransfer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 10232, 1350, 1179, 12, 706, 13061, 1350, 1179, 279, 1350, 1179, 13, 288, 565, 202, 202, 1884, 261, 3198, 1400, 273, 4104, 1350, 5676, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 3218, 581, 2404, 1278, 273, 261, 3218, 581, 2404, 13, 1400, 18, 4285, 5621, 1082, 202, 430, 12, 1734, 18, 588, 1435, 422, 446, 13, 288, 4697, 202, 2165, 18, 4479, 5621, 1082, 202, 12107, 288, 4697, 202, 430, 12, 1734, 18, 588, 1435, 422, 279, 1350, 1179, 13, 288, 6862, 202, 2165, 18, 4479, 5621, 4405, 202, 2463, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 225, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 10232, 1350, 1179, 12, 706, 13061, 1350, 1179, 279, 1350, 1179, 13, 288, 565, 202, 202, 1884, 261, 3198, 1400, 273, 4104, 1350, 5676, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 3218, 581, 2404, 1278, 273, 261, 3218, 581, 2404, 13, 1400, 18, 4285, 5621, 1082, 202, 430, 12, 1734, 18, 588, 1435, 422, 446, 13, 288, 4697, 202, 2165, 18, 4479, 5621, 1082, 202, 12107, 288, 4697, 202, 430, 12, 1734, 18, 588, 1435, 422, 279, 1350, 1179, 13, 288, 6862, 202, 2165, 18, 4479, 5621, 4405, 202, 2463, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 225, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
MylarTaskListPlugin.getTaskListManager().addListener(TASK_REFERESH_LISTENER);
MylarTaskListPlugin.getTaskListManager().addChangeListener(TASK_REFERESH_LISTENER); MylarTaskListPlugin.getTaskListManager().addActivityListener(TASK_ACTIVITY_LISTENER);
public TaskListView() { INSTANCE = this; MylarTaskListPlugin.getTaskListManager().addListener(TASK_REFERESH_LISTENER); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7a02ea5ac86b141070faf2ee4a0538a40f6dc6e1/TaskListView.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3837, 682, 1767, 1435, 288, 202, 202, 13341, 273, 333, 31, 202, 202, 12062, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 1289, 2223, 12, 15580, 67, 30269, 41, 2664, 67, 26421, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3837, 682, 1767, 1435, 288, 202, 202, 13341, 273, 333, 31, 202, 202, 12062, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 1289, 2223, 12, 15580, 67, 30269, 41, 2664, 67, 26421, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return types [ type ];
return types[type];
public String getTypeString(int type) { try { return types [ type ]; } catch (ArrayIndexOutOfBoundsException ex) { return "unknown type (" + type + ")"; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/MessageHeader.java/clean/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 3130, 780, 12, 474, 618, 13, 225, 288, 565, 775, 1377, 288, 3639, 327, 1953, 63, 723, 15533, 1377, 289, 565, 1044, 261, 1076, 30548, 431, 13, 1377, 288, 3639, 327, 315, 8172, 618, 7566, 397, 618, 397, 7310, 31, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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431, 13, 1377, 288, 3639, 327, 315, 8172, 618, 7566, 397, 618, 397, 7310, 31, 1377, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
updateProgress( progress.getMinimum() );
setProgress( progress.getMinimum() );
public void uploadPictures() { mGalleryComm.setURLString( (String) url.getSelectedItem() ); mGalleryComm.setUsername( username.getText() ); mGalleryComm.setPassword( password.getText() ); int index = album.getSelectedIndex(); Hashtable h = (Hashtable) mAlbumList.get( index ); mGalleryComm.setAlbum( (String) h.get( "name" ) ); picturesList.disable(); mGalleryComm.uploadFiles( mAlbum.getFileList() ); mInProgress = true; updateUI(); progress.setMaximum( mAlbum.sizePictures() ); progress.setStringPainted( true ); mTimer = new javax.swing.Timer( ONE_SECOND, new ActionListener() { public void actionPerformed( ActionEvent evt ) { updateProgress( mGalleryComm.getUploadedCount() ); updateStatus( mGalleryComm.getStatus() ); if ( mGalleryComm.done() ) { mTimer.stop(); updateProgress( progress.getMinimum() ); progress.setStringPainted( false ); mAlbum.clearPictures(); mInProgress = false; picturesList.enable(); updateUI(); } } } ); mTimer.start(); }
5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/defaeed9367b72ab37cdc42d18a8183c9fc5464b/MainFrame.java/buggy/gallery_remote/com/gallery/GalleryRemote/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3617, 52, 28636, 1435, 288, 202, 202, 81, 18511, 12136, 18, 542, 1785, 780, 12, 261, 780, 13, 880, 18, 588, 7416, 1180, 1435, 11272, 202, 202, 81, 18511, 12136, 18, 542, 8575, 12, 2718, 18, 588, 1528, 1435, 11272, 202, 202, 81, 18511, 12136, 18, 542, 3913, 12, 2201, 18, 588, 1528, 1435, 11272, 202, 202, 474, 770, 273, 14844, 18, 588, 7416, 1016, 5621, 202, 202, 5582, 14544, 366, 273, 261, 5582, 14544, 13, 312, 30330, 682, 18, 588, 12, 770, 11272, 202, 202, 81, 18511, 12136, 18, 542, 30330, 12, 261, 780, 13, 366, 18, 588, 12, 315, 529, 6, 262, 11272, 202, 202, 84, 28636, 682, 18, 8394, 5621, 202, 202, 81, 18511, 12136, 18, 6327, 2697, 12, 312, 30330, 18, 588, 26098, 1435, 11272, 202, 202, 81, 13434, 273, 638, 31, 202, 202, 2725, 5370, 5621, 202, 202, 8298, 18, 542, 13528, 12, 312, 30330, 18, 1467, 52, 28636, 1435, 11272, 202, 202, 8298, 18, 542, 780, 12699, 329, 12, 638, 11272, 202, 202, 81, 6777, 273, 394, 6863, 18, 5328, 310, 18, 6777, 12, 15623, 67, 16328, 16, 1082, 202, 2704, 25962, 1435, 1082, 202, 95, 9506, 202, 482, 918, 26100, 12, 19641, 6324, 262, 288, 6862, 202, 2725, 5491, 12, 312, 18511, 12136, 18, 588, 24585, 1380, 1435, 11272, 6862, 202, 2725, 1482, 12, 312, 18511, 12136, 18, 588, 1482, 1435, 11272, 6862, 202, 430, 261, 312, 18511, 12136, 18, 8734, 1435, 262, 288, 25083, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3617, 52, 28636, 1435, 288, 202, 202, 81, 18511, 12136, 18, 542, 1785, 780, 12, 261, 780, 13, 880, 18, 588, 7416, 1180, 1435, 11272, 202, 202, 81, 18511, 12136, 18, 542, 8575, 12, 2718, 18, 588, 1528, 1435, 11272, 202, 202, 81, 18511, 12136, 18, 542, 3913, 12, 2201, 18, 588, 1528, 1435, 11272, 202, 202, 474, 770, 273, 14844, 18, 588, 7416, 1016, 5621, 202, 202, 5582, 14544, 366, 273, 261, 5582, 14544, 13, 312, 30330, 682, 18, 588, 12, 770, 11272, 202, 202, 81, 18511, 12136, 18, 542, 30330, 12, 261, 780, 13, 366, 18, 588, 12, 315, 529, 6, 262, 11272, 202, 202, 84, 28636, 682, 18, 8394, 5621, 202, 202, 2 ]
return getValue().indexOf(stringValue(args[0]).getValue()) != -1 ?
return toString().indexOf(stringValue(args[0]).toString()) != -1 ?
public IRubyObject aref(IRubyObject[] args) { if (checkArgumentCount(args, 1, 2) == 2) { return substr(RubyNumeric.fix2int(args[0]), RubyNumeric.fix2int(args[1])); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length(); } return idx < 0 || idx >= getValue().length() ? getRuntime().getNil() : getRuntime().newFixnum(getValue().charAt(idx)); } else if (args[0] instanceof RubyRegexp) { return RubyRegexp.regexpValue(args[0]).search(this, 0) >= 0 ? RubyRegexp.last_match(getRuntime().getCurrentContext().getBackref()) : getRuntime().getNil(); } else if (args[0] instanceof RubyString) { return getValue().indexOf(stringValue(args[0]).getValue()) != -1 ? args[0] : getRuntime().getNil(); } else if (args[0] instanceof RubyRange) { long[] begLen = ((RubyRange) args[0]).getBeginLength(getValue().length(), true, false); return begLen == null ? getRuntime().getNil() : substr((int) begLen[0], (int) begLen[1]); } int idx = (int) args[0].convertToInteger().getLongValue(); if (idx < 0) { idx += getValue().length(); } return idx < 0 || idx >= getValue().length() ? getRuntime().getNil() : getRuntime().newFixnum(getValue().charAt(idx)); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 854, 74, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 565, 309, 261, 1893, 1379, 1380, 12, 1968, 16, 404, 16, 576, 13, 422, 576, 13, 288, 202, 3639, 327, 2373, 12, 54, 10340, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 65, 3631, 202, 1171, 202, 225, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 21, 5717, 1769, 202, 565, 289, 202, 565, 309, 261, 1968, 63, 20, 65, 1276, 19817, 8585, 2107, 13, 288, 202, 3639, 509, 2067, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 19226, 202, 3639, 309, 261, 3465, 411, 374, 13, 288, 202, 5411, 2067, 1011, 2366, 7675, 2469, 5621, 202, 3639, 289, 202, 3639, 327, 2067, 411, 374, 747, 2067, 1545, 2366, 7675, 2469, 1435, 692, 18814, 7675, 588, 12616, 1435, 294, 202, 540, 202, 588, 5576, 7675, 2704, 8585, 2107, 12, 24805, 7675, 3001, 861, 12, 3465, 10019, 202, 565, 289, 469, 309, 261, 1968, 63, 20, 65, 1276, 19817, 14621, 13, 288, 202, 377, 202, 2463, 19817, 14621, 18, 17745, 620, 12, 1968, 63, 20, 65, 2934, 3072, 12, 2211, 16, 374, 13, 1545, 374, 692, 202, 5411, 19817, 14621, 18, 2722, 67, 1916, 12, 588, 5576, 7675, 588, 3935, 1042, 7675, 588, 2711, 1734, 10756, 294, 202, 2398, 202, 588, 5576, 7675, 588, 12616, 5621, 202, 565, 289, 469, 309, 261, 1968, 63, 20, 65, 1276, 19817, 780, 13, 288, 202, 3639, 327, 2366, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 854, 74, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 565, 309, 261, 1893, 1379, 1380, 12, 1968, 16, 404, 16, 576, 13, 422, 576, 13, 288, 202, 3639, 327, 2373, 12, 54, 10340, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 65, 3631, 202, 1171, 202, 225, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 21, 5717, 1769, 202, 565, 289, 202, 565, 309, 261, 1968, 63, 20, 65, 1276, 19817, 8585, 2107, 13, 288, 202, 3639, 509, 2067, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 19226, 202, 3639, 309, 261, 3465, 411, 374, 13, 288, 202, 5411, 2067, 1011, 2366, 7675, 2469, 5621, 202, 2 ]
int z = 0; int t = 0; for (int i=0; i<dims.length; i++) { z += (dims[i][2] == 1) ? 0 : dims[i][2]; t += (dims[i][3] == 1) ? 0 : dims[i][3]; } if (t == 0) t++; if (z == 0) z++; while ((z*t) < numImages) { z++; } OMETools.setPixels(ome, new Integer(dims[dims.length - 1][0]), new Integer(dims[dims.length - 1][1]), new Integer(z), new Integer(1), new Integer(t), type, new Boolean(!littleEndian), "XYZTC"); }
}
private void initMetadata(String xml) { Vector elements = new Vector(); // first parse each element in the XML string while (xml.length() > 2) { String el = xml.substring(1, xml.indexOf(">")); xml = xml.substring(xml.indexOf(">") + 1); elements.add(el); } // the first element contains version information String token = (String) elements.get(0); String key = token.substring(0, token.indexOf("\"")); String value = token.substring(token.indexOf("\"") + 1, token.length()-1); metadata.put(key, value); int ndx = 1; int imageCounter = -2; int dimCounter = 0; int lutCounter = 0; while (ndx < elements.size()) { token = (String) elements.get(ndx); // only try to parse the element if we know it // contains a key/value pair if (token.indexOf("=") != -1) { while (token.length() > 2) { if (key.equals("Element Name")) { imageCounter++; dimCounter = 0; lutCounter = 0; } key = token.substring(0, token.indexOf("\"") - 1); value = token.substring(token.indexOf("\"") + 1, token.indexOf("\"", token.indexOf("\"") + 1)); key = key.trim(); value = value.trim(); if (key.equals("NumberOfElements")) { dims[imageCounter][dimCounter] = Integer.parseInt(value); dimCounter++; if (dimCounter == 6) dimCounter = 0; } if (key.equals("Resolution")) { int val = Integer.parseInt(value); if ((val % 8) != 0) val += (8 - (val % 8)); dims[imageCounter][5] = val; } if (key.equals("LUTName")) lutCounter++; if (lutCounter == 3) { dims[imageCounter][4] = lutCounter; lutCounter = 0; } token = token.substring(token.indexOf("\"", token.indexOf("\"") + 1) + 1); metadata.put(key + " (image " + imageCounter + ")", value); } } ndx++; } int originalNumImages = numImages; for (int i=1; i<=originalNumImages; i++) { if (dims[i-1][2] == 0) dims[i-1][2] = 1; if (dims[i-1][3] == 0) dims[i-1][3] = 1; numImages += ((dims[i-1][2]*dims[i-1][3]) - 1); } // initialize OME-XML if (ome != null) { String type = "int8"; switch (dims[dims.length - 1][5]) { case 12: type = "int16"; break; case 16: type = "int16"; break; case 32: type = "float"; break; } int z = 0; int t = 0; for (int i=0; i<dims.length; i++) { z += (dims[i][2] == 1) ? 0 : dims[i][2]; t += (dims[i][3] == 1) ? 0 : dims[i][3]; } if (t == 0) t++; if (z == 0) z++; while ((z*t) < numImages) { z++; } OMETools.setPixels(ome, new Integer(dims[dims.length - 1][0]), // SizeX new Integer(dims[dims.length - 1][1]), // SizeY new Integer(z), // SizeZ new Integer(1), // SizeC new Integer(t), // SizeT type, // PixelType new Boolean(!littleEndian), // BigEndian "XYZTC"); // DimensionOrder } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/91859a26506b8a1d312b398da2c3ecd94e02fa60/LIFReader.java/buggy/loci/formats/LIFReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 12, 780, 2025, 13, 288, 565, 5589, 2186, 273, 394, 5589, 5621, 565, 368, 1122, 1109, 1517, 930, 316, 326, 3167, 533, 565, 1323, 261, 2902, 18, 2469, 1435, 405, 576, 13, 288, 1377, 514, 415, 273, 2025, 18, 28023, 12, 21, 16, 2025, 18, 31806, 2932, 2984, 10019, 1377, 2025, 273, 2025, 18, 28023, 12, 2902, 18, 31806, 2932, 2984, 13, 397, 404, 1769, 1377, 2186, 18, 1289, 12, 292, 1769, 565, 289, 565, 368, 326, 1122, 930, 1914, 1177, 1779, 565, 514, 1147, 273, 261, 780, 13, 2186, 18, 588, 12, 20, 1769, 565, 514, 498, 273, 1147, 18, 28023, 12, 20, 16, 1147, 18, 31806, 2932, 2412, 7923, 1769, 565, 514, 460, 273, 1147, 18, 28023, 12, 2316, 18, 31806, 2932, 2412, 7923, 397, 404, 16, 1147, 18, 2469, 1435, 17, 21, 1769, 565, 1982, 18, 458, 12, 856, 16, 460, 1769, 565, 509, 5346, 92, 273, 404, 31, 565, 509, 1316, 4789, 273, 300, 22, 31, 565, 509, 2464, 4789, 273, 374, 31, 565, 509, 27171, 4789, 273, 374, 31, 565, 1323, 261, 4880, 92, 411, 2186, 18, 1467, 10756, 288, 1377, 1147, 273, 261, 780, 13, 2186, 18, 588, 12, 4880, 92, 1769, 1377, 368, 1338, 775, 358, 1109, 326, 930, 309, 732, 5055, 518, 1377, 368, 1914, 279, 498, 19, 1132, 3082, 1377, 309, 261, 2316, 18, 31806, 2932, 1546, 13, 480, 300, 21, 13, 288, 3639, 1323, 261, 2316, 18, 2469, 1435, 405, 576, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 12, 780, 2025, 13, 288, 565, 5589, 2186, 273, 394, 5589, 5621, 565, 368, 1122, 1109, 1517, 930, 316, 326, 3167, 533, 565, 1323, 261, 2902, 18, 2469, 1435, 405, 576, 13, 288, 1377, 514, 415, 273, 2025, 18, 28023, 12, 21, 16, 2025, 18, 31806, 2932, 2984, 10019, 1377, 2025, 273, 2025, 18, 28023, 12, 2902, 18, 31806, 2932, 2984, 13, 397, 404, 1769, 1377, 2186, 18, 1289, 12, 292, 1769, 565, 289, 565, 368, 326, 1122, 930, 1914, 1177, 1779, 565, 514, 1147, 273, 261, 780, 13, 2186, 18, 588, 12, 20, 1769, 565, 514, 498, 273, 1147, 18, 28023, 12, 20, 16, 1147, 18, 31806, 2932, 2412, 7923, 1769, 565, 514, 2 ]
if (!args[0].isKindOf(getRuntime().getClasses().getNilClass()) && !args[0].isKindOf(getRuntime().getClasses().getStringClass())) {
if (!args[0].isKindOf(getRuntime().getClass("NilClass")) && !args[0].isKindOf(getRuntime().getClass("String"))) {
public RubyArray readlines(IRubyObject[] args) { IRubyObject[] separatorArgument; if (args.length > 0) { if (!args[0].isKindOf(getRuntime().getClasses().getNilClass()) && !args[0].isKindOf(getRuntime().getClasses().getStringClass())) { throw getRuntime().newTypeError(args[0], getRuntime().getClasses().getStringClass()); } separatorArgument = new IRubyObject[] { args[0] }; } else { separatorArgument = IRubyObject.NULL_ARRAY; } RubyArray result = getRuntime().newArray(); IRubyObject line; while (! (line = internalGets(separatorArgument)).isNil()) { result.append(line); } return result; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyIO.java/buggy/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 17546, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 15908, 10340, 921, 8526, 4182, 1379, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 309, 16051, 1968, 63, 20, 8009, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 12616, 797, 10756, 597, 7734, 401, 1968, 63, 20, 8009, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 780, 797, 1435, 3719, 288, 7734, 604, 18814, 7675, 2704, 19030, 12, 1968, 63, 20, 6487, 7682, 18814, 7675, 588, 4818, 7675, 588, 780, 797, 10663, 5411, 289, 2398, 4182, 1379, 273, 394, 15908, 10340, 921, 8526, 288, 833, 63, 20, 65, 289, 31, 3639, 289, 469, 288, 5411, 4182, 1379, 273, 15908, 10340, 921, 18, 8560, 67, 8552, 31, 3639, 289, 3639, 19817, 1076, 563, 273, 18814, 7675, 2704, 1076, 5621, 3639, 15908, 10340, 921, 980, 31, 3639, 1323, 16051, 261, 1369, 273, 2713, 3002, 12, 11287, 1379, 13, 2934, 291, 12616, 10756, 288, 5411, 563, 18, 6923, 12, 1369, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 17546, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 15908, 10340, 921, 8526, 4182, 1379, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 309, 16051, 1968, 63, 20, 8009, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 12616, 797, 10756, 597, 7734, 401, 1968, 63, 20, 8009, 291, 5677, 951, 12, 588, 5576, 7675, 588, 4818, 7675, 588, 780, 797, 1435, 3719, 288, 7734, 604, 18814, 7675, 2704, 19030, 12, 1968, 63, 20, 6487, 7682, 18814, 7675, 588, 4818, 7675, 588, 780, 797, 10663, 5411, 289, 2398, 4182, 1379, 273, 394, 15908, 10340, 921, 8526, 288, 833, 63, 20, 65, 289, 31, 3639, 289, 469, 288, 5411, 2 ]
if ( user == null ) method = FORBIDDEN; } }
if (len > 0) { char[] buffer = new char[2048]; int count; int l = 0;
public void run( ) { String req; String first; String line; String contentType = "text/xml"; String name = null; String username = null; String password = null; int method = BAD_REQUEST; int len = 0; StringBuffer input = new StringBuffer( ); File tempFile = null; BrokerPool brokerPool = null; try { brokerPool = BrokerPool.getInstance( ); } catch ( EXistException e ) { throw new RuntimeException( e.getMessage( ) ); } // the main loop of this thread while ( true ) { while ( ( sock == null ) && !terminate ) synchronized ( this ) { try { wait( 500 ); } catch ( InterruptedException ie ) { } } if ( terminate ) break; try { BufferedReader in = new BufferedReader( new InputStreamReader( sock .getInputStream( ) ) ); len = -1; contentType = "text/xml"; // parse http-header while ( true ) { req = in.readLine( ); if ( req == null ) break; StringTokenizer tok = new StringTokenizer( req, " " ); if ( !tok.hasMoreTokens( ) ) break; first = tok.nextToken( ); if ( first.equals( "GET" ) ) { method = GET; name = tok.nextToken( ); } else if ( first.equals( "POST" ) ) { method = POST; name = tok.nextToken( ); } else if ( first.equals( "HEAD" ) ) { method = HEAD; name = tok.nextToken( ); } else if ( first.equals( "PUT" ) ) { method = PUT; name = tok.nextToken( ); } else if ( req.toUpperCase( ).startsWith( "CONTENT-LENGTH:" ) ) { try { len = Integer.parseInt( tok.nextToken( ) ); } catch ( NumberFormatException nf ) { HttpServer.LOG.warn( nf ); method = BAD_REQUEST; break; } } else if ( req.toUpperCase( ).startsWith( "CONTENT-TYPE:" ) ) contentType = tok.nextToken( ); else if ( req.toUpperCase( ).startsWith( "AUTHORIZATION:" ) ) { String auth = req.substring( "AUTHORIZATION:".length( ) ).trim( ); byte[] c = Base64.decode( auth.substring( 6 ).getBytes( ) ); String s = new String( c ); int p = s.indexOf( ':' ); username = s.substring( 0, p ); password = s.substring( p + 1 ); user = checkUser( brokerPool, username, password ); if ( user == null ) method = FORBIDDEN; } } // get request body if ( len > 0 ) { char[] buffer = new char[2048]; int count; int l = 0; if ( method == PUT ) { // put may send a lot of data, so save it // to a temporary file first. tempFile = File.createTempFile( "exist", ".xml" ); BufferedWriter fout = new BufferedWriter( new FileWriter( tempFile ) ); do { count = in.read( buffer ); if ( count > 0 ) fout.write( buffer, 0, count ); l += count; } while ( l < len ); fout.close( ); } else { do { count = in.read( buffer ); if ( count > 0 ) input.append( buffer, 0, count ); l += count; } while ( l < len ); } } if ( user == null ) // no user specified: assume guest identity user = new User( "guest", "guest", "guest" ); try { broker = brokerPool.get( ); broker.setUser(user); } catch ( EXistException e ) { throw new RuntimeException( e.getMessage( ) ); } try { // select method switch ( method ) { case FORBIDDEN: errorReply( FORBIDDEN ); break; case BAD_REQUEST: errorReply( BAD_REQUEST ); break; case GET: get( name, len ); break; case POST: post( input.toString( ), name, len, contentType ); break; case PUT: put( tempFile, name, len ); break; default: errorReply( BAD_REQUEST ); break; } } finally { brokerPool.release( broker ); broker = null; user = null; } in.close( ); input = new StringBuffer( ); } catch ( IOException io ) { HttpServer.LOG.warn( io ); } sock = null; xslStyle = null; pool.release( this ); } pool.release( this ); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/HttpServerConnection.java/buggy/src/org/exist/http/HttpServerConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 225, 262, 288, 3639, 514, 1111, 31, 3639, 514, 1122, 31, 3639, 514, 980, 31, 3639, 514, 5064, 273, 315, 955, 19, 2902, 14432, 3639, 514, 508, 273, 446, 31, 3639, 514, 2718, 273, 446, 31, 3639, 514, 2201, 273, 446, 31, 3639, 509, 707, 273, 16467, 67, 5519, 31, 3639, 509, 562, 273, 374, 31, 3639, 6674, 810, 273, 394, 6674, 12, 225, 11272, 3639, 1387, 18286, 273, 446, 31, 3639, 20438, 2864, 8625, 2864, 273, 446, 31, 3639, 775, 288, 5411, 8625, 2864, 273, 20438, 2864, 18, 588, 1442, 12, 225, 11272, 3639, 289, 1044, 261, 5675, 376, 503, 425, 262, 288, 5411, 604, 394, 3235, 12, 425, 18, 24906, 12, 225, 262, 11272, 3639, 289, 3639, 368, 326, 2774, 2798, 434, 333, 2650, 3639, 1323, 261, 638, 262, 288, 5411, 1323, 261, 261, 7313, 422, 446, 262, 597, 401, 30017, 262, 7734, 3852, 261, 333, 262, 288, 10792, 775, 288, 13491, 2529, 12, 6604, 11272, 10792, 289, 1044, 261, 7558, 9228, 262, 288, 10792, 289, 7734, 289, 5411, 309, 261, 10850, 262, 7734, 898, 31, 5411, 775, 288, 7734, 10633, 316, 273, 10792, 394, 10633, 12, 394, 15322, 12, 7313, 4766, 1171, 9079, 263, 588, 4348, 12, 225, 262, 4766, 1171, 9079, 262, 4766, 3639, 11272, 7734, 562, 273, 300, 21, 31, 7734, 5064, 273, 315, 955, 19, 2902, 14432, 7734, 368, 1109, 1062, 17, 3374, 7734, 1323, 261, 638, 262, 288, 10792, 1111, 273, 316, 18, 896, 1670, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 225, 262, 288, 3639, 514, 1111, 31, 3639, 514, 1122, 31, 3639, 514, 980, 31, 3639, 514, 5064, 273, 315, 955, 19, 2902, 14432, 3639, 514, 508, 273, 446, 31, 3639, 514, 2718, 273, 446, 31, 3639, 514, 2201, 273, 446, 31, 3639, 509, 707, 273, 16467, 67, 5519, 31, 3639, 509, 562, 273, 374, 31, 3639, 6674, 810, 273, 394, 6674, 12, 225, 11272, 3639, 1387, 18286, 273, 446, 31, 3639, 20438, 2864, 8625, 2864, 273, 446, 31, 3639, 775, 288, 5411, 8625, 2864, 273, 20438, 2864, 18, 588, 1442, 12, 225, 11272, 3639, 289, 1044, 261, 5675, 376, 503, 425, 262, 288, 5411, 604, 394, 3235, 12, 425, 18, 24906, 12, 225, 2 ]
setDataSet((DataSet)newValue); return; case TypePackage.STOCK_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)newValue);
setDataSet((DataSet) newValue);
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.STOCK_SERIES__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case TypePackage.STOCK_SERIES__LABEL: setLabel((Label)newValue); return; case TypePackage.STOCK_SERIES__DATA_DEFINITION: getDataDefinition().clear(); getDataDefinition().addAll((Collection)newValue); return; case TypePackage.STOCK_SERIES__SERIES_IDENTIFIER: setSeriesIdentifier((Object)newValue); return; case TypePackage.STOCK_SERIES__DATA_POINT: setDataPoint((DataPoint)newValue); return; case TypePackage.STOCK_SERIES__DATA_SET: setDataSet((DataSet)newValue); return; case TypePackage.STOCK_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)newValue); return; case TypePackage.STOCK_SERIES__LABEL_POSITION: setLabelPosition((Position)newValue); return; case TypePackage.STOCK_SERIES__STACKED: setStacked(((Boolean)newValue).booleanValue()); return; case TypePackage.STOCK_SERIES__TRIGGERS: getTriggers().clear(); getTriggers().addAll((Collection)newValue); return; case TypePackage.STOCK_SERIES__TRANSLUCENT: setTranslucent(((Boolean)newValue).booleanValue()); return; case TypePackage.STOCK_SERIES__FILL: setFill((Fill)newValue); return; case TypePackage.STOCK_SERIES__LINE_ATTRIBUTES: setLineAttributes((LineAttributes)newValue); return; } eDynamicSet(eFeature, newValue); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/StockSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/StockSeriesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 29588, 30, 7734, 16697, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 4303, 1852, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12443, 921, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 8941, 30, 7734, 7929, 2148, 12443, 751, 2148, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 4043, 30, 7734, 7929, 694, 12443, 13676, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 7254, 67, 13847, 10591, 30, 7734, 26251, 21416, 12443, 1630, 21416, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 13545, 67, 15258, 30, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 29588, 30, 7734, 16697, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 4303, 1852, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 2 ]
if (entry.isDirectory()) { continue; } compiler.parse(new InputStreamReader(m_zis), entry.getName());
String name = entry.getName(); if (entry.isDirectory() || !name.endsWith(".pdl")) { continue; } compiler.parse(new InputStreamReader(m_zis) { public void close() { } }, name);
public void parse(PDLCompiler compiler) { while (true) { try { final ZipEntry entry = m_zis.getNextEntry(); if (entry == null) { break; } if (entry.isDirectory()) { continue; } compiler.parse(new InputStreamReader(m_zis), entry.getName()); } catch (IOException e) { throw new UncheckedWrapperException(e); } } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/1d13143fee9f73f02b2f2f4c7b1b04c92f3ac7d9/ZipSource.java/buggy/archive/packaging/src/com/arsdigita/persistence/pdl/ZipSource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 12, 52, 8914, 9213, 5274, 13, 288, 3639, 1323, 261, 3767, 13, 288, 5411, 775, 288, 7734, 727, 23652, 1241, 273, 312, 67, 94, 291, 18, 588, 2134, 1622, 5621, 7734, 309, 261, 4099, 422, 446, 13, 288, 898, 31, 289, 7734, 309, 261, 4099, 18, 291, 2853, 10756, 288, 1324, 31, 289, 7734, 5274, 18, 2670, 12, 2704, 15322, 12, 81, 67, 94, 291, 3631, 1241, 18, 17994, 10663, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 604, 394, 29514, 3611, 503, 12, 73, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 12, 52, 8914, 9213, 5274, 13, 288, 3639, 1323, 261, 3767, 13, 288, 5411, 775, 288, 7734, 727, 23652, 1241, 273, 312, 67, 94, 291, 18, 588, 2134, 1622, 5621, 7734, 309, 261, 4099, 422, 446, 13, 288, 898, 31, 289, 7734, 309, 261, 4099, 18, 291, 2853, 10756, 288, 1324, 31, 289, 7734, 5274, 18, 2670, 12, 2704, 15322, 12, 81, 67, 94, 291, 3631, 1241, 18, 17994, 10663, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 604, 394, 29514, 3611, 503, 12, 73, 1769, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} this.autoCommit = autoCommit;
} this.autoCommit = autoCommit;
public void setAutoCommit(boolean autoCommit) throws SQLException { if (this.autoCommit == autoCommit) return; if (autoCommit) ExecSQL("end"); else { if (haveMinimumServerVersion("7.1")){ ExecSQL("begin;"+getIsolationLevelSQL()); }else{ ExecSQL("begin"); ExecSQL(getIsolationLevelSQL()); } } this.autoCommit = autoCommit; }
52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21780, 5580, 12, 6494, 3656, 5580, 13, 1216, 6483, 288, 202, 430, 261, 2211, 18, 6079, 5580, 422, 3656, 5580, 13, 202, 565, 327, 31, 202, 430, 261, 6079, 5580, 13, 202, 565, 3889, 3997, 2932, 409, 8863, 202, 12107, 288, 1850, 309, 261, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 6, 3719, 95, 5411, 3889, 3997, 2932, 10086, 4868, 15, 588, 22982, 2355, 3997, 10663, 1850, 289, 12107, 95, 202, 565, 3889, 3997, 2932, 10086, 8863, 202, 565, 3889, 3997, 12, 588, 22982, 2355, 3997, 10663, 1850, 289, 202, 97, 202, 2211, 18, 6079, 5580, 273, 3656, 5580, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21780, 5580, 12, 6494, 3656, 5580, 13, 1216, 6483, 288, 202, 430, 261, 2211, 18, 6079, 5580, 422, 3656, 5580, 13, 202, 565, 327, 31, 202, 430, 261, 6079, 5580, 13, 202, 565, 3889, 3997, 2932, 409, 8863, 202, 12107, 288, 1850, 309, 261, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 6, 3719, 95, 5411, 3889, 3997, 2932, 10086, 4868, 15, 588, 22982, 2355, 3997, 10663, 1850, 289, 12107, 95, 202, 565, 3889, 3997, 2932, 10086, 8863, 202, 565, 3889, 3997, 12, 588, 22982, 2355, 3997, 10663, 1850, 289, 202, 97, 202, 2211, 18, 6079, 5580, 273, 3656, 5580, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void close(IMylarContextNode node) {
public void close(IMylarElement node) {
public void close(IMylarContextNode node) { IWorkbenchPage page = Workbench.getInstance().getActiveWorkbenchWindow().getActivePage(); if (page != null) { IEditorReference[] references = page.getEditorReferences(); for (int i = 0; i < references.length; i++) { IEditorPart part = references[i].getEditor(false); if (part != null) { if (part.getEditorInput() instanceof IFileEditorInput) { IFileEditorInput input = (IFileEditorInput)part.getEditorInput(); if ((input.getFile().getFullPath().toString()).equals(node.getElementHandle())) { if (part instanceof FormEditor) { ((FormEditor)part).close(true); } else if (part instanceof AbstractTextEditor) { ((AbstractTextEditor)part).close(true); } } } } } } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f5bfb4859762da1543c326b182b2de34d0d94c08/AntUiBridge.java/clean/org.eclipse.mylyn.resources.ui/src/org/eclipse/mylyn/xml/ant/AntUiBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1746, 12, 3445, 93, 7901, 1046, 756, 13, 288, 3639, 467, 2421, 22144, 1964, 1363, 273, 4147, 22144, 18, 588, 1442, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 3639, 309, 261, 2433, 480, 446, 13, 288, 5411, 467, 6946, 2404, 8526, 5351, 273, 1363, 18, 588, 6946, 8221, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5351, 18, 2469, 31, 277, 27245, 288, 7734, 467, 6946, 1988, 1087, 273, 5351, 63, 77, 8009, 588, 6946, 12, 5743, 1769, 7734, 309, 261, 2680, 480, 446, 13, 288, 13491, 309, 261, 2680, 18, 588, 6946, 1210, 1435, 1276, 467, 812, 6946, 1210, 13, 288, 13491, 467, 812, 6946, 1210, 810, 273, 261, 45, 812, 6946, 1210, 13, 2680, 18, 588, 6946, 1210, 5621, 13491, 309, 14015, 2630, 18, 29925, 7675, 588, 24173, 7675, 10492, 1435, 2934, 14963, 12, 2159, 18, 21336, 3259, 1435, 3719, 288, 18701, 309, 261, 2680, 1276, 2748, 6946, 13, 288, 27573, 14015, 1204, 6946, 13, 2680, 2934, 4412, 12, 3767, 1769, 18701, 289, 469, 309, 261, 2680, 1276, 4115, 1528, 6946, 13, 288, 27573, 14015, 7469, 1528,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, 756, 13, 288, 3639, 467, 2421, 22144, 1964, 1363, 273, 4147, 22144, 18, 588, 1442, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 3639, 309, 261, 2433, 480, 446, 13, 288, 5411, 467, 6946, 2404, 8526, 5351, 273, 1363, 18, 588, 6946, 8221, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5351, 18, 2469, 31, 277, 27245, 288, 7734, 467, 6946, 1988, 1087, 273, 5351, 63, 77, 8009, 588, 6946, 12, 5743, 1769, 7734, 309, 261, 2680, 480, 446, 13, 288, 13491, 309, 261, 2680, 18, 588, 6946, 1210, 1435, 1276, 467, 812, 6946, 1210, 13, 288, 13491, 467, 812, 6946, 1210, 810, 273, 2 ]
TestRunner.run(JolapTest.class); }
TestRunner.run(JolapTest.class); }
public static void main(String[] args) { TestRunner.run(JolapTest.class); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/JolapTest.java/buggy/testsrc/main/mondrian/test/JolapTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 202, 4709, 9709, 18, 2681, 12, 46, 355, 438, 4709, 18, 1106, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 202, 4709, 9709, 18, 2681, 12, 46, 355, 438, 4709, 18, 1106, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return page.getWorkbenchWindow(); }
return page.getWorkbenchWindow(); }
public IWorkbenchWindow getWorkbenchWindow() { return page.getWorkbenchWindow();}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8d60afdb91e0f186e6c20fde9d4843c10516e942/PartSite.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 467, 2421, 22144, 3829, 29026, 22144, 3829, 1435, 288, 202, 2463, 1363, 18, 588, 2421, 22144, 3829, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 467, 2421, 22144, 3829, 29026, 22144, 3829, 1435, 288, 202, 2463, 1363, 18, 588, 2421, 22144, 3829, 5621, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testHtmlChildren() { setUpHTML(); fModel.getStructuredDocument().set("<html></html>"); // set text Element htmlElement = fModel.getDocument().getDocumentElement(); CMElementDeclaration htmlDecl = fModelQuery.getCMElementDeclaration(htmlElement); // HTML's children are within a group CMContent contents = htmlDecl.getContent(); assertTrue("content type is not a group", contents.getNodeType() == CMNode.GROUP); CMGroup group = (CMGroup) contents; int operator = group.getOperator(); CMNodeList childList = group.getChildNodes(); int max = contents.getMaxOccur(); int min = contents.getMinOccur(); // the group should be allowed once, with a sequence whose first entry is the declaration for HEAD assertTrue("occurrance of group", min == 1 && max == 1); assertTrue("relationship in group", operator == CMGroup.SEQUENCE); assertTrue("content descriptor type, position 0", contents.getNodeType() == CMNode.GROUP); assertTrue("child order (HEAD first)", childList.item(0).getNodeName().equalsIgnoreCase(HTML40Namespace.ElementName.HEAD)); assertTrue("content descriptor type, position 1", childList.item(1).getNodeType() == CMNode.GROUP); // The second child should be a group as well, containing BODY and FRAMESET with an // operator of CMGroup.CHOICE assertTrue("content descriptor type, position 1 - relationship of group", ((CMGroup) childList.item(1)).getOperator() == CMGroup.CHOICE); }
58500 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58500/e34dbc1fbd5f387bbec36b311fcbd6faeb741a6c/ModelQueryTester.java/buggy/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/modelquery/ModelQueryTester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 225, 918, 225, 1842, 4353, 4212, 1435, 225, 288, 202, 202, 542, 1211, 4870, 5621, 202, 202, 74, 1488, 18, 588, 30733, 2519, 7675, 542, 2932, 32, 2620, 4695, 2620, 2984, 1769, 225, 368, 225, 444, 225, 977, 202, 202, 1046, 225, 1729, 1046, 225, 273, 225, 284, 1488, 18, 588, 2519, 7675, 588, 2519, 1046, 5621, 202, 202, 39, 12310, 6094, 225, 1729, 3456, 225, 273, 225, 284, 1488, 1138, 18, 588, 39, 12310, 6094, 12, 2620, 1046, 1769, 202, 202, 759, 225, 3982, 1807, 225, 2325, 225, 854, 225, 3470, 225, 279, 225, 1041, 202, 202, 9611, 1350, 225, 2939, 225, 273, 225, 1729, 3456, 18, 588, 1350, 5621, 202, 202, 11231, 5510, 2932, 1745, 225, 618, 225, 353, 225, 486, 225, 279, 225, 1041, 3113, 225, 2939, 18, 588, 15101, 1435, 225, 422, 225, 15871, 907, 18, 8468, 1769, 202, 202, 9611, 1114, 225, 1041, 225, 273, 225, 261, 9611, 1114, 13, 225, 2939, 31, 202, 202, 474, 225, 3726, 225, 273, 225, 1041, 18, 588, 5592, 5621, 202, 202, 9611, 19914, 225, 1151, 682, 225, 273, 225, 1041, 18, 588, 22460, 5621, 202, 202, 474, 225, 943, 225, 273, 225, 2939, 18, 588, 2747, 12397, 5621, 202, 202, 474, 225, 1131, 225, 273, 225, 2939, 18, 588, 2930, 12397, 5621, 202, 202, 759, 225, 326, 225, 1041, 225, 1410, 225, 506, 225, 2935, 225, 3647, 16, 225, 598, 225, 279, 225, 3102, 225, 8272, 225, 1122, 225, 1241, 225, 353, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 225, 918, 225, 1842, 4353, 4212, 1435, 225, 288, 202, 202, 542, 1211, 4870, 5621, 202, 202, 74, 1488, 18, 588, 30733, 2519, 7675, 542, 2932, 32, 2620, 4695, 2620, 2984, 1769, 225, 368, 225, 444, 225, 977, 202, 202, 1046, 225, 1729, 1046, 225, 273, 225, 284, 1488, 18, 588, 2519, 7675, 588, 2519, 1046, 5621, 202, 202, 39, 12310, 6094, 225, 1729, 3456, 225, 273, 225, 284, 1488, 1138, 18, 588, 39, 12310, 6094, 12, 2620, 1046, 1769, 202, 202, 759, 225, 3982, 1807, 225, 2325, 225, 854, 225, 3470, 225, 279, 225, 1041, 202, 202, 9611, 1350, 225, 2939, 225, 273, 225, 1729, 3456, 18, 588, 1350, 5621, 202, 202, 11231, 5510, 2932, 2 ]
/*@bgen(jjtree) EnumDeclaration */ ASTEnumDeclaration jjtn000 = new ASTEnumDeclaration(this, JJTENUMDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); Token t; try { label_6: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case FINAL: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: ; break; default: jj_la1[13] = jj_gen; break label_6; } switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PUBLIC: jj_consume_token(PUBLIC); jjtn000.setPublic(); break; case PROTECTED: jj_consume_token(PROTECTED); jjtn000.setProtected(); break; case PRIVATE: jj_consume_token(PRIVATE); jjtn000.setPrivate(); break; case STATIC: jj_consume_token(STATIC); jjtn000.setStatic(); break; case FINAL: jj_consume_token(FINAL); jjtn000.setFinal(); break; default: jj_la1[14] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } t = jj_consume_token(IDENTIFIER); if (!t.image.equals("enum")) { { if (true) throw new ParseException("ERROR: expecting enum"); } } if (!this.isJDK15) { { if (true) throw new ParseException("ERROR: Can't use enum as a keyword in pre-JDK 1.5 target"); } } jj_consume_token(IDENTIFIER); jj_consume_token(LBRACE); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case IMPLEMENTS: jj_consume_token(IMPLEMENTS); NameList(); break; default: jj_la1[15] = jj_gen; ; } EnumElement(); label_7: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case COMMA: ; break; default: jj_la1[16] = jj_gen; break label_7; } jj_consume_token(COMMA); EnumElement(); } jj_consume_token(RBRACE); jj_consume_token(SEMICOLON); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { { if (true) throw (RuntimeException) jjte000; } } if (jjte000 instanceof ParseException) { { if (true) throw (ParseException) jjte000; } } { if (true) throw (RuntimeException) jjte000; } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); }
/*@bgen(jjtree) EnumDeclaration */ ASTEnumDeclaration jjtn000 = new ASTEnumDeclaration(this, JJTENUMDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FINAL: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: ; break; default: jj_la1[13] = jj_gen; break label_6;
final public void EnumDeclaration() throws ParseException { /*@bgen(jjtree) EnumDeclaration */ ASTEnumDeclaration jjtn000 = new ASTEnumDeclaration(this, JJTENUMDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); Token t; try { label_6: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case FINAL: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: ; break; default: jj_la1[13] = jj_gen; break label_6; } switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PUBLIC: jj_consume_token(PUBLIC); jjtn000.setPublic(); break; case PROTECTED: jj_consume_token(PROTECTED); jjtn000.setProtected(); break; case PRIVATE: jj_consume_token(PRIVATE); jjtn000.setPrivate(); break; case STATIC: jj_consume_token(STATIC); jjtn000.setStatic(); break; case FINAL: jj_consume_token(FINAL); jjtn000.setFinal(); break; default: jj_la1[14] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } t = jj_consume_token(IDENTIFIER); if (!t.image.equals("enum")) { { if (true) throw new ParseException("ERROR: expecting enum"); } } if (!this.isJDK15) { { if (true) throw new ParseException("ERROR: Can't use enum as a keyword in pre-JDK 1.5 target"); } } jj_consume_token(IDENTIFIER); jj_consume_token(LBRACE); switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case IMPLEMENTS: jj_consume_token(IMPLEMENTS); NameList(); break; default: jj_la1[15] = jj_gen; ; } EnumElement(); label_7: while (true) { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case COMMA: ; break; default: jj_la1[16] = jj_gen; break label_7; } jj_consume_token(COMMA); EnumElement(); } jj_consume_token(RBRACE); jj_consume_token(SEMICOLON); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { { if (true) throw (RuntimeException) jjte000; } } if (jjte000 instanceof ParseException) { { if (true) throw (ParseException) jjte000; } } { if (true) throw (RuntimeException) jjte000; } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1071, 918, 6057, 6094, 1435, 1216, 10616, 288, 3639, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 6057, 6094, 1195, 3639, 9183, 3572, 6094, 10684, 5088, 3784, 273, 394, 9183, 3572, 6094, 12, 2211, 16, 804, 46, 56, 16509, 23956, 985, 2689, 1769, 3639, 1250, 10684, 5111, 3784, 273, 638, 31, 3639, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 3639, 3155, 268, 31, 3639, 775, 288, 5411, 1433, 67, 26, 30, 5411, 1323, 261, 3767, 13, 288, 7734, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 10792, 648, 17563, 1013, 30, 10792, 648, 23685, 30, 10792, 648, 4629, 26729, 30, 10792, 648, 17187, 30, 10792, 648, 19980, 30, 13491, 274, 13491, 898, 31, 10792, 805, 30, 13491, 10684, 67, 11821, 21, 63, 3437, 65, 273, 10684, 67, 4507, 31, 13491, 898, 1433, 67, 26, 31, 7734, 289, 7734, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 10792, 648, 17187, 30, 13491, 10684, 67, 21224, 67, 2316, 12, 14939, 1769, 13491, 10684, 5088, 3784, 18, 542, 4782, 5621, 13491, 898, 31, 10792, 648, 4629, 26729, 30, 13491, 10684, 67, 21224, 67, 2316, 12, 3373, 26729, 1769, 13491, 10684, 5088, 3784, 18, 542, 15933, 5621, 13491, 898, 31, 10792, 648, 23685, 30, 13491, 10684, 67, 21224, 67, 2316, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1071, 918, 6057, 6094, 1435, 1216, 10616, 288, 3639, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 6057, 6094, 1195, 3639, 9183, 3572, 6094, 10684, 5088, 3784, 273, 394, 9183, 3572, 6094, 12, 2211, 16, 804, 46, 56, 16509, 23956, 985, 2689, 1769, 3639, 1250, 10684, 5111, 3784, 273, 638, 31, 3639, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 3639, 3155, 268, 31, 3639, 775, 288, 5411, 1433, 67, 26, 30, 5411, 1323, 261, 3767, 13, 288, 7734, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 10792, 648, 17563, 1013, 30, 10792, 648, 23685, 30, 2 ]
final List<Registration> students = new ArrayList(); for (final Registration registration : RootDomainObject.getInstance().getRegistrationsSet()) { if (registration.getDegreeType().equals(degreeType)) { students.add(registration); } } return students;
final List<Registration> students = new ArrayList(); for (final Registration registration : RootDomainObject.getInstance().getRegistrationsSet()) { if (registration.getDegreeType().equals(degreeType)) { students.add(registration); }
public static List<Registration> readStudentsByDegreeType(DegreeType degreeType) { final List<Registration> students = new ArrayList(); for (final Registration registration : RootDomainObject.getInstance().getRegistrationsSet()) { if (registration.getDegreeType().equals(degreeType)) { students.add(registration); } } return students; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/1eab5569eea9b71f208c0d25e856d5bdea5a3e8c/Registration.java/buggy/src/net/sourceforge/fenixedu/domain/student/Registration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 32, 7843, 34, 855, 19943, 4877, 858, 22885, 559, 12, 22885, 559, 10782, 559, 13, 288, 3639, 727, 987, 32, 7843, 34, 10068, 4877, 273, 394, 2407, 5621, 3639, 364, 261, 6385, 19304, 7914, 294, 7450, 3748, 921, 18, 588, 1442, 7675, 588, 20175, 1012, 694, 10756, 288, 5411, 309, 261, 14170, 18, 588, 22885, 559, 7675, 14963, 12, 21361, 559, 3719, 288, 7734, 10068, 4877, 18, 1289, 12, 14170, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 10068, 4877, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 987, 32, 7843, 34, 855, 19943, 4877, 858, 22885, 559, 12, 22885, 559, 10782, 559, 13, 288, 3639, 727, 987, 32, 7843, 34, 10068, 4877, 273, 394, 2407, 5621, 3639, 364, 261, 6385, 19304, 7914, 294, 7450, 3748, 921, 18, 588, 1442, 7675, 588, 20175, 1012, 694, 10756, 288, 5411, 309, 261, 14170, 18, 588, 22885, 559, 7675, 14963, 12, 21361, 559, 3719, 288, 7734, 10068, 4877, 18, 1289, 12, 14170, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 10068, 4877, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.finer("importedFile="+importedFile);
protected String getSchedulePath(String indivExportedName, String indivScheduleID, String indivFileName) { // calculate the import prefix String projectID = getValue("Project_ID"); if (projectID == null || projectID.length() == 0) return null; String importPrefix = "/Import_"+projectID; //*debug*/ System.out.println("importPrefix="+importPrefix); // import all data. DataImporter.refreshPrefix(importPrefix); //*debug*/ System.out.println("refreshPrefix done"); // calculate the name of the import directory. String teamDirectory = getValue("Team_Directory"); if (teamDirectory == null || teamDirectory.length() == 0) return null; teamDirectory = teamDirectory.replace('\\', '/'); String importDir = teamDirectory+"/data/"+projectID; //*debug*/ System.out.println("importDir="+importDir); // calculate the full name of the imported file. indivFileName = indivFileName.replace('\\', '/'); int slashPos = indivFileName.lastIndexOf('/'); if (slashPos == -1) return null; String importedFile = importDir + "/" + indivFileName.substring(slashPos+1); //*debug*/ System.out.println("importedFile="+importedFile); File f = new File(importedFile); // calculate the fully qualified name of the imported schedule. String dataPrefix = null; try { dataPrefix = DataImporter.getPrefix(importPrefix, f); } catch (IOException ioe) { return null; } //*debug*/ System.out.println("dataPrefix="+dataPrefix); String indivSchedPath = dataPrefix + indivExportedName; // prepend the task list ID if it is available. if (indivScheduleID != null && indivScheduleID.length() != 0) indivSchedPath = indivScheduleID + EVTaskListXML.XMLID_FLAG + indivSchedPath; return indivSchedPath; }
5494 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5494/c5eb24077877703cd40839b391a7020729945fe4/wizard.java/clean/teamdash/src/teamdash/templates/setup/wizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 4750, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 514, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 30879, 743, 12, 780, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 6335, 31140, 461, 16, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 4750, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 514, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 30879, 743, 12, 780, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 6335, 31140, 461, 16, 4901, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 18, 926, 264, 2932, 29266, 812, 1546, 15, 29266, 812, 1769, 1194, 2 ]
sg.setGroupType("Text");
sg.setGroupType(DataType.TEXT_LITERAL);
public static final SeriesGrouping create() { final SeriesGrouping sg = DataFactory.eINSTANCE.createSeriesGrouping(); sg.setAggregateExpression("Sum"); sg.setGroupingInterval(2); sg.setEnabled(false); sg.setGroupType("Text"); return sg; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/869b9dc91ef4dd13d07f589c6394484a744642f0/SeriesGroupingImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SeriesGroupingImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 9225, 21014, 752, 1435, 565, 288, 3639, 727, 9225, 21014, 11150, 273, 1910, 1733, 18, 73, 13341, 18, 2640, 6485, 21014, 5621, 3639, 11150, 18, 542, 11490, 2300, 2932, 3495, 8863, 3639, 11150, 18, 542, 21014, 4006, 12, 22, 1769, 3639, 11150, 18, 542, 1526, 12, 5743, 1769, 3639, 11150, 18, 542, 1114, 559, 12, 6273, 18, 5151, 67, 23225, 1769, 3639, 327, 11150, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 9225, 21014, 752, 1435, 565, 288, 3639, 727, 9225, 21014, 11150, 273, 1910, 1733, 18, 73, 13341, 18, 2640, 6485, 21014, 5621, 3639, 11150, 18, 542, 11490, 2300, 2932, 3495, 8863, 3639, 11150, 18, 542, 21014, 4006, 12, 22, 1769, 3639, 11150, 18, 542, 1526, 12, 5743, 1769, 3639, 11150, 18, 542, 1114, 559, 12, 6273, 18, 5151, 67, 23225, 1769, 3639, 327, 11150, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean tryAquireWrite () { synchronized ( m_lock ) { if ( m_numReadLocksHeld == 0 ) { m_numReadLocksHeld = -1;
public boolean tryAquireWrite () { synchronized (lock) { if (numReadLocksHeld == 0) { numReadLocksHeld = -1;
public boolean tryAquireWrite () { synchronized ( m_lock ) { if ( m_numReadLocksHeld == 0 ) { m_numReadLocksHeld = -1; return true; } else { return false; } } }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/62d71000b6d84642b07f67c825f685d42190715c/ReadWriteLock.java/clean/src/java/org/logicalcobwebs/proxool/util/ReadWriteLock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 775, 37, 1039, 3067, 1832, 565, 288, 3639, 3852, 261, 312, 67, 739, 262, 3639, 288, 5411, 309, 261, 312, 67, 2107, 1994, 19159, 44, 488, 422, 374, 262, 5411, 288, 7734, 312, 67, 2107, 1994, 19159, 44, 488, 273, 300, 21, 31, 7734, 327, 638, 31, 5411, 289, 5411, 469, 5411, 288, 7734, 327, 629, 31, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 1250, 775, 37, 1039, 3067, 1832, 565, 288, 3639, 3852, 261, 312, 67, 739, 262, 3639, 288, 5411, 309, 261, 312, 67, 2107, 1994, 19159, 44, 488, 422, 374, 262, 5411, 288, 7734, 312, 67, 2107, 1994, 19159, 44, 488, 273, 300, 21, 31, 7734, 327, 638, 31, 5411, 289, 5411, 469, 5411, 288, 7734, 327, 629, 31, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void removeInvitationListener(InvitationListener listener) { synchronized (invitationsListeners) { if (invitationsListeners.contains(listener)) { invitationsListeners.remove(listener); } // If there are no more listeners to notifiy for room invitations // then proceed to cancel/release this monitor if (invitationsListeners.size() == 0) { cancel(); } } }
47643 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47643/dd754e5a7f5cf0b0701477a405d7afae1c12feae/MultiUserChat.java/buggy/source/org/jivesoftware/smackx/muc/MultiUserChat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1206, 19896, 2223, 12, 19896, 2223, 2991, 13, 288, 5411, 3852, 261, 5768, 18282, 5583, 13, 288, 7734, 309, 261, 5768, 18282, 5583, 18, 12298, 12, 12757, 3719, 288, 10792, 2198, 18282, 5583, 18, 4479, 12, 12757, 1769, 7734, 289, 7734, 368, 971, 1915, 854, 1158, 1898, 4679, 358, 486, 704, 93, 364, 7725, 2198, 18282, 7734, 368, 1508, 11247, 358, 3755, 19, 9340, 333, 6438, 1171, 309, 261, 5768, 18282, 5583, 18, 1467, 1435, 422, 374, 13, 288, 10792, 3755, 5621, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1206, 19896, 2223, 12, 19896, 2223, 2991, 13, 288, 5411, 3852, 261, 5768, 18282, 5583, 13, 288, 7734, 309, 261, 5768, 18282, 5583, 18, 12298, 12, 12757, 3719, 288, 10792, 2198, 18282, 5583, 18, 4479, 12, 12757, 1769, 7734, 289, 7734, 368, 971, 1915, 854, 1158, 1898, 4679, 358, 486, 704, 93, 364, 7725, 2198, 18282, 7734, 368, 1508, 11247, 358, 3755, 19, 9340, 333, 6438, 1171, 309, 261, 5768, 18282, 5583, 18, 1467, 1435, 422, 374, 13, 288, 10792, 3755, 5621, 7734, 289, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Preferences.VERTICAL_SPACING.cur = VERTICAL_SPACING_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.VERTICAL_SPACING.restoreTemporaryToCurrent();
setIntPref(signature, Preferences.VERTICAL_SPACING, VERTICAL_SPACING_VALIDATOR);
public synchronized void execute(Vector signature) { String variableName = (String) signature.elementAt(1); if (variableName.equals(Preferences.DESKTOP_BACKGROUND_COLOR.getCommand())) { Preferences.DESKTOP_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.DESKTOP_BACKGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.PANEL_BACKGROUND_COLOR.getCommand())) { Preferences.PANEL_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.PANEL_BACKGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TEXTAREA_BACKGROUND_COLOR.getCommand())) { Preferences.TEXTAREA_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.TEXTAREA_BACKGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TEXTAREA_FOREGROUND_COLOR.getCommand())) { Preferences.TEXTAREA_FOREGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.TEXTAREA_FOREGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SELECTED_CHILD_COLOR.getCommand())) { Preferences.SELECTED_CHILD_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.SELECTED_CHILD_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_NUMBER_COLOR.getCommand())) { Preferences.LINE_NUMBER_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.LINE_NUMBER_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_NUMBER_SELECTED_COLOR.getCommand())) { Preferences.LINE_NUMBER_SELECTED_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.LINE_NUMBER_SELECTED_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_NUMBER_SELECTED_CHILD_COLOR.getCommand())) { Preferences.LINE_NUMBER_SELECTED_CHILD_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.LINE_NUMBER_SELECTED_CHILD_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.PRINT_ENVIRONMENT.getCommand())) { Preferences.PRINT_ENVIRONMENT.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.PRINT_ENVIRONMENT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SHOW_LINE_NUMBERS.getCommand())) { Preferences.SHOW_LINE_NUMBERS.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.SHOW_LINE_NUMBERS.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.IS_MAXIMIZED.getCommand())) { Preferences.IS_MAXIMIZED.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.IS_MAXIMIZED.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.NEW_DOC_ON_STARTUP.getCommand())) { Preferences.NEW_DOC_ON_STARTUP.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.NEW_DOC_ON_STARTUP.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.INDENT.getCommand())) { Preferences.INDENT.cur = INDENT_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.INDENT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.VERTICAL_SPACING.getCommand())) { Preferences.VERTICAL_SPACING.cur = VERTICAL_SPACING_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.VERTICAL_SPACING.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LEFT_MARGIN.getCommand())) { Preferences.LEFT_MARGIN.cur = LEFT_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.LEFT_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TOP_MARGIN.getCommand())) { Preferences.TOP_MARGIN.cur = TOP_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.TOP_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.RIGHT_MARGIN.getCommand())) { Preferences.RIGHT_MARGIN.cur = RIGHT_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.RIGHT_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.BOTTOM_MARGIN.getCommand())) { Preferences.BOTTOM_MARGIN.cur = BOTTOM_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.BOTTOM_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.UNDO_QUEUE_SIZE.getCommand())) { Preferences.UNDO_QUEUE_SIZE.cur = UNDO_QUEUE_SIZE_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.UNDO_QUEUE_SIZE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.RECENT_FILES_LIST_SIZE.getCommand())) { Preferences.RECENT_FILES_LIST_SIZE.cur = RECENT_FILES_LIST_SIZE_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.RECENT_FILES_LIST_SIZE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.FONT_SIZE.getCommand())) { Preferences.FONT_SIZE.cur = FONT_SIZE_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.FONT_SIZE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.FONT_FACE.getCommand())) { Preferences.FONT_FACE.cur = (String) signature.elementAt(2); Preferences.FONT_FACE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_WRAP.getCommand())) { Preferences.LINE_WRAP.cur = (String) signature.elementAt(2); Preferences.LINE_WRAP.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_END.getCommand())) { Preferences.LINE_END.cur = (String) signature.elementAt(2); Preferences.LINE_END.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OPEN_ENCODING.getCommand())) { Preferences.OPEN_ENCODING.cur = (String) signature.elementAt(2); Preferences.OPEN_ENCODING.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SAVE_ENCODING.getCommand())) { Preferences.SAVE_ENCODING.cur = (String) signature.elementAt(2); Preferences.SAVE_ENCODING.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OPEN_FORMAT.getCommand())) { Preferences.OPEN_FORMAT.cur = (String) signature.elementAt(2); Preferences.OPEN_FORMAT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SAVE_FORMAT.getCommand())) { Preferences.SAVE_FORMAT.cur = (String) signature.elementAt(2); Preferences.SAVE_FORMAT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.MOST_RECENT_OPEN_DIR.getCommand())) { Preferences.MOST_RECENT_OPEN_DIR.cur = (String) signature.elementAt(2); Preferences.MOST_RECENT_OPEN_DIR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.MOST_RECENT_SAVE_DIR.getCommand())) { Preferences.MOST_RECENT_SAVE_DIR.cur = (String) signature.elementAt(2); Preferences.MOST_RECENT_SAVE_DIR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OWNER_NAME.getCommand())) { Preferences.OWNER_NAME.cur = (String) signature.elementAt(2); Preferences.OWNER_NAME.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OWNER_EMAIL.getCommand())) { Preferences.OWNER_EMAIL.cur = (String) signature.elementAt(2); Preferences.OWNER_EMAIL.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TIME_ZONE_FOR_SAVING_DATES.getCommand())) { Preferences.TIME_ZONE_FOR_SAVING_DATES.cur = (String) signature.elementAt(2); Preferences.TIME_ZONE_FOR_SAVING_DATES.restoreTemporaryToCurrent(); } else if (variableName.equals(COMMAND_RECENT_FILE)) { if (RecentFilesList.docInfoList.size() < Preferences.RECENT_FILES_LIST_SIZE.cur) { try { // Create a new DocumentInfo object DocumentInfo docInfo = new DocumentInfo( (String) signature.elementAt(2), (String) signature.elementAt(3), (String) signature.elementAt(4), (String) signature.elementAt(5), (String) signature.elementAt(6), (String) signature.elementAt(7), (String) signature.elementAt(8), (String) signature.elementAt(9), (String) signature.elementAt(10), (String) signature.elementAt(11), Integer.parseInt((String) signature.elementAt(12)), Integer.parseInt((String) signature.elementAt(13)), Integer.parseInt((String) signature.elementAt(14)), Integer.parseInt((String) signature.elementAt(15)), Integer.parseInt((String) signature.elementAt(16)), (String) signature.elementAt(17), (String) signature.elementAt(18) ); RecentFilesList.docInfoList.addElement(docInfo); } catch (ArrayIndexOutOfBoundsException e) {} } } else if (variableName.equals(COMMAND_ENCODING)) { Preferences.ENCODINGS.addElement((String) signature.elementAt(2)); } }
49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/e24a42ed0dfb51866c96fe6c7b5a33b3c93e59b1/SetPrefCommand.java/buggy/outliner/src/com/organic/maynard/outliner/SetPrefCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1836, 12, 5018, 3372, 13, 288, 202, 202, 780, 17834, 273, 261, 780, 13, 3372, 18, 2956, 861, 12, 21, 1769, 202, 202, 430, 261, 6105, 461, 18, 14963, 12, 12377, 18, 1639, 11129, 10462, 67, 8720, 20166, 67, 10989, 18, 588, 2189, 1435, 3719, 288, 1082, 202, 12377, 18, 1639, 11129, 10462, 67, 8720, 20166, 67, 10989, 18, 1397, 273, 1109, 2957, 12443, 780, 13, 3372, 18, 2956, 861, 12, 22, 10019, 1082, 202, 12377, 18, 1639, 11129, 10462, 67, 8720, 20166, 67, 10989, 18, 13991, 11685, 774, 3935, 5621, 9506, 202, 97, 469, 309, 261, 6105, 461, 18, 14963, 12, 12377, 18, 30819, 2247, 67, 8720, 20166, 67, 10989, 18, 588, 2189, 1435, 3719, 288, 1082, 202, 12377, 18, 30819, 2247, 67, 8720, 20166, 67, 10989, 18, 1397, 273, 1109, 2957, 12443, 780, 13, 3372, 18, 2956, 861, 12, 22, 10019, 1082, 202, 12377, 18, 30819, 2247, 67, 8720, 20166, 67, 10989, 18, 13991, 11685, 774, 3935, 5621, 202, 202, 97, 469, 309, 261, 6105, 461, 18, 14963, 12, 12377, 18, 5151, 20933, 67, 8720, 20166, 67, 10989, 18, 588, 2189, 1435, 3719, 288, 1082, 202, 12377, 18, 5151, 20933, 67, 8720, 20166, 67, 10989, 18, 1397, 273, 1109, 2957, 12443, 780, 13, 3372, 18, 2956, 861, 12, 22, 10019, 1082, 202, 12377, 18, 5151, 20933, 67, 8720, 20166, 67, 10989, 18, 13991, 11685, 774, 3935, 5621, 202, 202, 97, 469, 309, 261, 6105, 461, 18, 14963, 12, 12377, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1836, 12, 5018, 3372, 13, 288, 202, 202, 780, 17834, 273, 261, 780, 13, 3372, 18, 2956, 861, 12, 21, 1769, 202, 202, 430, 261, 6105, 461, 18, 14963, 12, 12377, 18, 1639, 11129, 10462, 67, 8720, 20166, 67, 10989, 18, 588, 2189, 1435, 3719, 288, 1082, 202, 12377, 18, 1639, 11129, 10462, 67, 8720, 20166, 67, 10989, 18, 1397, 273, 1109, 2957, 12443, 780, 13, 3372, 18, 2956, 861, 12, 22, 10019, 1082, 202, 12377, 18, 1639, 11129, 10462, 67, 8720, 20166, 67, 10989, 18, 13991, 11685, 774, 3935, 5621, 9506, 202, 97, 469, 309, 261, 6105, 461, 18, 14963, 12, 12377, 18, 30819, 2247, 67, 8720, 20166, 67, 10989, 18, 588, 2189, 2 ]
private static int getNumberOfWaysToTerrain(Legion legion, MasterHex hex, char terrainType)
private static int getNumberOfWaysToTerrain(Legion legion, MasterHex hex, char terrainType)
private static int getNumberOfWaysToTerrain(Legion legion, MasterHex hex, char terrainType) { // if moves[i] is true, then a roll of i can get us to terrainType. boolean[] moves = new boolean[7]; //consider normal moves int block = Game.ARCHES_AND_ARROWS; for (int j = 0; j < 6; j++) { if (hex.getExitType(j) == MasterHex.BLOCK) { // Only this path is allowed. block = j; } } findNormalMovesToTerrain(legion, legion.getPlayer(), hex, 6, block, Game.NOWHERE, terrainType, moves); // consider tower teleport if (hex.getTerrain() == 'T' && legion.numLords() > 0 && moves[6] == false) { // hack: assume that we can always tower teleport to the terrain we // want to go to. // TODO: check to make sure there's an open terrain to teleport to. // (probably want a lookup table for this) moves[6] = true; } int count = 0; for (int i =0; i < moves.length; i++) if (moves[i]) count++; return count; }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/57f0ec43774c40c3a885097fd33cbd0e232f6650/SimpleAI.java/buggy/Colossus/SimpleAI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 14981, 59, 8271, 774, 56, 264, 7596, 12, 8329, 285, 4553, 285, 16, 4766, 7734, 13453, 7037, 3827, 16, 4766, 7734, 1149, 19272, 7596, 559, 13, 565, 288, 3639, 368, 309, 13934, 63, 77, 65, 353, 638, 16, 1508, 279, 5824, 434, 277, 848, 336, 584, 358, 19272, 7596, 559, 18, 3639, 1250, 8526, 13934, 273, 394, 1250, 63, 27, 15533, 3639, 368, 8559, 3585, 2212, 13934, 3639, 509, 1203, 273, 14121, 18, 10586, 3991, 67, 4307, 67, 985, 28402, 31, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 1666, 31, 525, 27245, 3639, 288, 5411, 309, 261, 7118, 18, 588, 6767, 559, 12, 78, 13, 422, 13453, 7037, 18, 11403, 13, 5411, 288, 7734, 368, 5098, 333, 589, 353, 2935, 18, 7734, 1203, 273, 525, 31, 5411, 289, 3639, 289, 3639, 1104, 5506, 19297, 774, 56, 264, 7596, 12, 1935, 285, 16, 4553, 285, 18, 588, 12148, 9334, 3827, 16, 4766, 1666, 16, 1203, 16, 14121, 18, 3417, 12299, 16, 4766, 19272, 7596, 559, 16, 13934, 1769, 3639, 368, 5260, 358, 2051, 26855, 3639, 309, 261, 7118, 18, 588, 56, 264, 7596, 1435, 422, 296, 56, 11, 5411, 597, 4553, 285, 18, 2107, 48, 517, 87, 1435, 405, 374, 5411, 597, 13934, 63, 26, 65, 422, 629, 13, 3639, 288, 5411, 368, 11769, 30, 6750, 716, 732, 848, 3712, 358, 2051, 26855, 358, 326, 19272, 7596, 732, 5411, 368, 2545, 358, 1960, 358, 18, 5411, 368, 2660, 30, 866, 358, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 14981, 59, 8271, 774, 56, 264, 7596, 12, 8329, 285, 4553, 285, 16, 4766, 7734, 13453, 7037, 3827, 16, 4766, 7734, 1149, 19272, 7596, 559, 13, 565, 288, 3639, 368, 309, 13934, 63, 77, 65, 353, 638, 16, 1508, 279, 5824, 434, 277, 848, 336, 584, 358, 19272, 7596, 559, 18, 3639, 1250, 8526, 13934, 273, 394, 1250, 63, 27, 15533, 3639, 368, 8559, 3585, 2212, 13934, 3639, 509, 1203, 273, 14121, 18, 10586, 3991, 67, 4307, 67, 985, 28402, 31, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 1666, 31, 525, 27245, 3639, 288, 5411, 309, 261, 7118, 18, 588, 6767, 559, 12, 78, 13, 422, 13453, 7037, 18, 11403, 13, 5411, 2 ]
assertEquals(expectedNrOfSubMenuEntries, menuManager.getItems().length);
assertEquals(expectedNrOfSubMenuEntries+1, menuManager.getItems().length);
public void testGetSubMenuManagerContainsAllCategoriesPlusNewCategory() { // setup MoveToCategoryMenuContributor moveToMenuContrib = new MoveToCategoryMenuContributor(); List<ITaskListElement> selectedElements = new Vector<ITaskListElement>(); selectedElements.add(cat1task1); int nrOfCategoriesMinusArchiveContainer = manager.getTaskList().getCategories().size() - 1; int expectedNrOfSubMenuEntries = nrOfCategoriesMinusArchiveContainer + 1; NewCategoryAction newCatActon = new NewCategoryAction(null); // execute sytem under test MenuManager menuManager = moveToMenuContrib.getSubMenuManager(selectedElements); IContributionItem[] items = menuManager.getItems(); IContributionItem item = items[menuManager.getItems().length-1]; // assert assertEquals(expectedNrOfSubMenuEntries, menuManager.getItems().length); if (item instanceof NewCategoryAction) { NewCategoryAction action = (NewCategoryAction) item; assertEquals(newCatActon.getText(), action.getText()); } // teardown }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/21eae7b0bb004eaf529abbd5dbbfc58c07567df3/TaskListUiTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 1676, 4599, 1318, 10846, 1595, 10487, 13207, 1908, 4457, 1435, 288, 202, 202, 759, 3875, 202, 202, 7607, 774, 4457, 4599, 442, 19293, 13863, 4599, 442, 665, 273, 394, 9933, 774, 4457, 4599, 442, 19293, 5621, 202, 202, 682, 32, 1285, 835, 682, 1046, 34, 3170, 3471, 273, 394, 5589, 32, 1285, 835, 682, 1046, 34, 5621, 202, 202, 8109, 3471, 18, 1289, 12, 2574, 21, 4146, 21, 1769, 202, 202, 474, 9884, 951, 10487, 18434, 7465, 2170, 273, 3301, 18, 588, 2174, 682, 7675, 588, 10487, 7675, 1467, 1435, 300, 404, 31, 202, 202, 474, 2665, 18726, 951, 1676, 4599, 5400, 273, 9884, 951, 10487, 18434, 7465, 2170, 397, 404, 31, 202, 202, 1908, 4457, 1803, 394, 11554, 2459, 265, 273, 394, 1166, 4457, 1803, 12, 2011, 1769, 202, 202, 759, 1836, 1393, 874, 3613, 1842, 202, 202, 4599, 1318, 3824, 1318, 273, 13863, 4599, 442, 665, 18, 588, 1676, 4599, 1318, 12, 8109, 3471, 1769, 202, 202, 45, 442, 4027, 1180, 8526, 1516, 273, 3824, 1318, 18, 588, 3126, 5621, 202, 202, 45, 442, 4027, 1180, 761, 273, 1516, 63, 5414, 1318, 18, 588, 3126, 7675, 2469, 17, 21, 15533, 202, 202, 759, 1815, 202, 202, 11231, 8867, 12, 3825, 18726, 951, 1676, 4599, 5400, 16, 3824, 1318, 18, 588, 3126, 7675, 2469, 1769, 202, 202, 430, 261, 1726, 1276, 1166, 4457, 1803, 13, 288, 1082, 202, 1908, 4457, 1803, 1301, 273, 261, 1908, 4457, 1803, 13, 761, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 1676, 4599, 1318, 10846, 1595, 10487, 13207, 1908, 4457, 1435, 288, 202, 202, 759, 3875, 202, 202, 7607, 774, 4457, 4599, 442, 19293, 13863, 4599, 442, 665, 273, 394, 9933, 774, 4457, 4599, 442, 19293, 5621, 202, 202, 682, 32, 1285, 835, 682, 1046, 34, 3170, 3471, 273, 394, 5589, 32, 1285, 835, 682, 1046, 34, 5621, 202, 202, 8109, 3471, 18, 1289, 12, 2574, 21, 4146, 21, 1769, 202, 202, 474, 9884, 951, 10487, 18434, 7465, 2170, 273, 3301, 18, 588, 2174, 682, 7675, 588, 10487, 7675, 1467, 1435, 300, 404, 31, 202, 202, 474, 2665, 18726, 951, 1676, 4599, 5400, 273, 9884, 951, 10487, 18434, 7465, 2170, 397, 404, 31, 202, 2 ]
indentStrategy = (PyAutoIndentStrategy)editConfiguration.getAutoIndentStrategy(null, null);
indentStrategy = (PyAutoIndentStrategy)editConfiguration.getAutoIndentStrategy(null, IDocument.DEFAULT_CONTENT_TYPE);
public PyEdit() { super(); modelListeners = new ArrayList(); colorCache = new ColorCache(PydevPrefs.getPreferences()); if (getDocumentProvider() == null) { setDocumentProvider(new PyDocumentProvider()); } editConfiguration = new PyEditConfiguration(colorCache); setSourceViewerConfiguration(editConfiguration); indentStrategy = (PyAutoIndentStrategy)editConfiguration.getAutoIndentStrategy(null, null); setRangeIndicator(new DefaultRangeIndicator()); // enables standard vertical ruler }
1319 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1319/46f4537ccb62b764a878e75128abd84e94f9720a/PyEdit.java/clean/org.python.pydev/src/org/python/pydev/editor/PyEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4707, 4666, 1435, 288, 202, 202, 9565, 5621, 202, 202, 2284, 5583, 273, 394, 2407, 5621, 202, 202, 3266, 1649, 273, 394, 5563, 1649, 12, 9413, 5206, 1386, 2556, 18, 588, 12377, 10663, 202, 202, 430, 261, 588, 2519, 2249, 1435, 422, 446, 13, 288, 1082, 202, 542, 2519, 2249, 12, 2704, 4707, 2519, 2249, 10663, 202, 202, 97, 202, 202, 4619, 1750, 273, 394, 4707, 4666, 1750, 12, 3266, 1649, 1769, 202, 202, 542, 1830, 18415, 1750, 12, 4619, 1750, 1769, 202, 202, 9355, 4525, 273, 261, 9413, 4965, 7790, 4525, 13, 4619, 1750, 18, 588, 4965, 7790, 4525, 12, 2011, 16, 446, 1769, 202, 202, 542, 2655, 13140, 12, 2704, 2989, 2655, 13140, 10663, 368, 19808, 4529, 9768, 436, 17040, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4707, 4666, 1435, 288, 202, 202, 9565, 5621, 202, 202, 2284, 5583, 273, 394, 2407, 5621, 202, 202, 3266, 1649, 273, 394, 5563, 1649, 12, 9413, 5206, 1386, 2556, 18, 588, 12377, 10663, 202, 202, 430, 261, 588, 2519, 2249, 1435, 422, 446, 13, 288, 1082, 202, 542, 2519, 2249, 12, 2704, 4707, 2519, 2249, 10663, 202, 202, 97, 202, 202, 4619, 1750, 273, 394, 4707, 4666, 1750, 12, 3266, 1649, 1769, 202, 202, 542, 1830, 18415, 1750, 12, 4619, 1750, 1769, 202, 202, 9355, 4525, 273, 261, 9413, 4965, 7790, 4525, 13, 4619, 1750, 18, 588, 4965, 7790, 4525, 12, 2011, 16, 446, 1769, 202, 202, 542, 2655, 13140, 12, 2704, 2989, 2655, 13140, 10663, 2 ]
root.detachChild(particleMesh); particleMesh = ParticleFactory.buildParticles("particles", particles);
ParticleMesh omesh = particleMesh; particleNode.detachChild(particleMesh); particleMesh = ParticleFactory.buildParticles(omesh.getName(), particles);
public void resetManager(int particles) { root.detachChild(particleMesh); particleMesh = ParticleFactory.buildParticles("particles", particles); ColorRGBA rgba = makeColorRGBA(startColorPanel.getBackground()); rgba.a = (Integer.parseInt(startAlphaSpinner.getValue().toString()) / 255f); particleMesh.setStartColor(rgba); rgba = makeColorRGBA(endColorPanel.getBackground()); rgba.a = (Integer.parseInt(endAlphaSpinner.getValue().toString()) / 255f); particleMesh.setEndColor(rgba); int val = startSizeSlider.getValue(); particleMesh.setStartSize(val / 10f); val = endSizeSlider.getValue(); particleMesh.setEndSize(val / 10f); val = minAgeSlider.getValue(); particleMesh.setMinimumLifeTime((float) val); val = maxAgeSlider.getValue(); particleMesh.setMaximumLifeTime((float) val); val = speedSlider.getValue(); particleMesh.getParticleController().setSpeed((float) val * .1f); val = gravXSlider.getValue(); particleMesh.getGravityForce().x = (float) val * 0.001f; val = gravYSlider.getValue(); particleMesh.getGravityForce().y = (float) val * 0.001f; val = gravZSlider.getValue(); particleMesh.getGravityForce().z = (float) val * 0.001f; val = emitXSlider.getValue(); particleMesh.getEmissionDirection().x = (float) val * .1f; val = emitYSlider.getValue(); particleMesh.getEmissionDirection().y = (float) val * .1f; val = emitZSlider.getValue(); particleMesh.getEmissionDirection().z = (float) val * .1f; particleMesh.updateRotationMatrix(); val = angleSlider.getValue(); particleMesh.setMaximumAngle((float) val * FastMath.DEG_TO_RAD); val = minAngleSlider.getValue(); particleMesh.setMinimumAngle((float) val * FastMath.DEG_TO_RAD); val = randomSlider.getValue(); particleMesh.setRandomMod((float) val * .1f); val = rateSlider.getValue(); particleMesh.setReleaseRate(val); val = rateVarSlider.getValue(); particleMesh.setReleaseVariance((float) val * .01f); particleMesh.getParticleController() .setRepeatType(spawnBox.isSelected() ? Controller.RT_WRAP : Controller.RT_CLAMP); particleMesh.getParticleController().setControlFlow(rateBox.isSelected()); rateSlider.setMaximum(particles * 5); rateSlider.setValue(particles); val = velocitySlider.getValue(); particleMesh.setInitialVelocity((float) val * .01f); updateVelocityLabels(); val = spinSlider.getValue(); particleMesh.setParticleSpinSpeed((float) val * .01f); updateSpinLabels(); root.attachChild(particleMesh); root.updateRenderState(); regenCode(); validate(); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/d656126e2e043076896ac9355fbafe66b14e79b1/RenParticleEditor.java/clean/src/jmetest/effects/RenParticleEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1318, 12, 474, 28312, 13, 288, 3639, 1365, 18, 8238, 497, 1763, 12, 2680, 3711, 16748, 1769, 3639, 20036, 16748, 273, 6393, 3711, 1733, 18, 3510, 1988, 8383, 2932, 2680, 8383, 3113, 28312, 1769, 3639, 5563, 23263, 19465, 273, 1221, 2957, 23263, 12, 1937, 2957, 5537, 18, 588, 8199, 10663, 3639, 19465, 18, 69, 273, 261, 4522, 18, 2670, 1702, 12, 1937, 9690, 31676, 18, 24805, 7675, 10492, 10756, 342, 4561, 74, 1769, 3639, 20036, 16748, 18, 542, 1685, 2957, 12, 26198, 1769, 3639, 19465, 273, 1221, 2957, 23263, 12, 409, 2957, 5537, 18, 588, 8199, 10663, 3639, 19465, 18, 69, 273, 261, 4522, 18, 2670, 1702, 12, 409, 9690, 31676, 18, 24805, 7675, 10492, 10756, 342, 4561, 74, 1769, 3639, 20036, 16748, 18, 542, 1638, 2957, 12, 26198, 1769, 3639, 509, 1244, 273, 787, 1225, 21824, 18, 24805, 5621, 3639, 20036, 16748, 18, 542, 1685, 1225, 12, 1125, 342, 1728, 74, 1769, 3639, 1244, 273, 679, 1225, 21824, 18, 24805, 5621, 3639, 20036, 16748, 18, 542, 1638, 1225, 12, 1125, 342, 1728, 74, 1769, 3639, 1244, 273, 1131, 9692, 21824, 18, 24805, 5621, 3639, 20036, 16748, 18, 542, 13042, 15315, 950, 12443, 5659, 13, 1244, 1769, 3639, 1244, 273, 20100, 21824, 18, 24805, 5621, 3639, 20036, 16748, 18, 542, 13528, 15315, 950, 12443, 5659, 13, 1244, 1769, 3639, 1244, 273, 8632, 21824, 18, 24805, 5621, 3639, 20036, 16748, 18, 588, 1988, 3711, 2933, 7675, 542, 16562, 12443, 5659, 13, 1244, 380, 263, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1318, 12, 474, 28312, 13, 288, 3639, 1365, 18, 8238, 497, 1763, 12, 2680, 3711, 16748, 1769, 3639, 20036, 16748, 273, 6393, 3711, 1733, 18, 3510, 1988, 8383, 2932, 2680, 8383, 3113, 28312, 1769, 3639, 5563, 23263, 19465, 273, 1221, 2957, 23263, 12, 1937, 2957, 5537, 18, 588, 8199, 10663, 3639, 19465, 18, 69, 273, 261, 4522, 18, 2670, 1702, 12, 1937, 9690, 31676, 18, 24805, 7675, 10492, 10756, 342, 4561, 74, 1769, 3639, 20036, 16748, 18, 542, 1685, 2957, 12, 26198, 1769, 3639, 19465, 273, 1221, 2957, 23263, 12, 409, 2957, 5537, 18, 588, 8199, 10663, 3639, 19465, 18, 69, 273, 261, 4522, 18, 2670, 1702, 12, 409, 9690, 31676, 18, 24805, 7675, 10492, 2 ]
if (arg.equals("-debug")) { cx.setOptimizationLevel(-1); cx.setGeneratingDebug(true); invokeDebugger(cx, scope); continue; }
public static String[] processOptions(Context cx, String args[]) { cx.setTargetPackage(""); // default to no package for (int i=0; i < args.length; i++) { String arg = args[i]; if (!arg.startsWith("-")) { String[] result = new String[args.length - i]; for (int j=i; j < args.length; j++) result[j-i] = args[j]; return result; } if (arg.equals("-version")) { if (++i == args.length) usage(arg); double d = cx.toNumber(args[i]); if (d != d) usage(arg); cx.setLanguageVersion((int) d); continue; } if (arg.equals("-opt") || arg.equals("-O")) { if (++i == args.length) usage(arg); double d = cx.toNumber(args[i]); if (d != d) usage(arg); cx.setOptimizationLevel((int)d); continue; } if (arg.equals("-e")) { processStdin = false; if (++i == args.length) usage(arg); Reader reader = new StringReader(args[i]); evaluateReader(cx, scope, reader, "<command>", 1); continue; } if (arg.equals("-w")) { errorReporter.setIsReportingWarnings(true); continue; } if (arg.equals("-f")) { processStdin = false; if (++i == args.length) usage(arg); if (args[i].equals("-")) processStdin = false; processSource(cx, args[i]); continue; } if (arg.equals("-debug")) { // XXX check for bad combinations with -opt cx.setOptimizationLevel(-1); cx.setGeneratingDebug(true); invokeDebugger(cx, scope); continue; } usage(arg); } return new String[0]; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/a73c6e75ae2fab8328356d16318be7fab782905c/Main.java/clean/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 8526, 1207, 1320, 12, 1042, 9494, 16, 514, 833, 63, 5717, 288, 3639, 9494, 18, 542, 2326, 2261, 2932, 8863, 565, 368, 805, 358, 1158, 2181, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 16051, 3175, 18, 17514, 1190, 2932, 10951, 3719, 288, 7734, 514, 8526, 563, 273, 394, 514, 63, 1968, 18, 2469, 300, 277, 15533, 7734, 364, 261, 474, 525, 33, 77, 31, 525, 411, 833, 18, 2469, 31, 525, 27245, 10792, 563, 63, 78, 17, 77, 65, 273, 833, 63, 78, 15533, 7734, 327, 563, 31, 5411, 289, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 1589, 6, 3719, 288, 7734, 309, 261, 9904, 77, 422, 833, 18, 2469, 13, 10792, 4084, 12, 3175, 1769, 7734, 1645, 302, 273, 9494, 18, 869, 1854, 12, 1968, 63, 77, 19226, 7734, 309, 261, 72, 480, 302, 13, 10792, 4084, 12, 3175, 1769, 7734, 9494, 18, 542, 3779, 1444, 12443, 474, 13, 302, 1769, 7734, 1324, 31, 5411, 289, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 3838, 7923, 747, 1501, 18, 14963, 2932, 17, 51, 6, 3719, 288, 7734, 309, 261, 9904, 77, 422, 833, 18, 2469, 13, 10792, 4084, 12, 3175, 1769, 7734, 1645, 302, 273, 9494, 18, 869, 1854, 12, 1968, 63, 77, 19226, 7734, 309, 261, 72, 480, 302, 13, 10792, 4084, 12, 3175, 1769, 7734, 9494, 18, 542, 13930, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 8526, 1207, 1320, 12, 1042, 9494, 16, 514, 833, 63, 5717, 288, 3639, 9494, 18, 542, 2326, 2261, 2932, 8863, 565, 368, 805, 358, 1158, 2181, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 16051, 3175, 18, 17514, 1190, 2932, 10951, 3719, 288, 7734, 514, 8526, 563, 273, 394, 514, 63, 1968, 18, 2469, 300, 277, 15533, 7734, 364, 261, 474, 525, 33, 77, 31, 525, 411, 833, 18, 2469, 31, 525, 27245, 10792, 563, 63, 78, 17, 77, 65, 273, 833, 63, 78, 15533, 7734, 327, 563, 31, 5411, 289, 5411, 309, 261, 3175, 18, 2 ]
private void initInstance2( ResultSetCache resultCache, OdiAdapter odiAdpater, BaseQuery query, int startIndex, int endIndex, IResultClass rsMeta, SortSpec sortSpec ) throws DataException { int length = endIndex - startIndex; if ( query.getMaxRows( ) == 0 || length <= query.getMaxRows( ) ) query.setMaxRows( length ); int oldIndex = resultCache.getCurrentIndex( ); // There is one point needs to be noticed that in OdiAdapter, // it fetches the next row, not current row. So the resultCache.moveTo( startIndex - 1 ); initInstance( odiAdpater, query, rsMeta, sortSpec ); resultCache.moveTo( oldIndex ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1158de75370f7a640934ae35aa86b3dd77970d08/SmartCache.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/SmartCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 1442, 22, 12, 10842, 1649, 563, 1649, 16, 1082, 202, 51, 3211, 4216, 320, 3211, 1871, 84, 2045, 16, 3360, 1138, 843, 16, 509, 10588, 16, 1082, 202, 474, 13818, 16, 467, 1253, 797, 3597, 2781, 16, 5928, 1990, 1524, 1990, 262, 1082, 202, 15069, 1910, 503, 202, 95, 202, 202, 474, 769, 273, 13818, 300, 10588, 31, 202, 202, 430, 261, 843, 18, 588, 2747, 4300, 12, 262, 422, 374, 747, 769, 1648, 843, 18, 588, 2747, 4300, 12, 262, 262, 1082, 202, 2271, 18, 542, 2747, 4300, 12, 769, 11272, 202, 202, 474, 1592, 1016, 273, 563, 1649, 18, 588, 3935, 1016, 12, 11272, 202, 202, 759, 6149, 353, 1245, 1634, 4260, 358, 506, 11690, 72, 716, 316, 531, 3211, 4216, 16, 202, 202, 759, 518, 17675, 326, 1024,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 1442, 22, 12, 10842, 1649, 563, 1649, 16, 1082, 202, 51, 3211, 4216, 320, 3211, 1871, 84, 2045, 16, 3360, 1138, 843, 16, 509, 10588, 16, 1082, 202, 474, 13818, 16, 467, 1253, 797, 3597, 2781, 16, 5928, 1990, 1524, 1990, 262, 1082, 202, 15069, 1910, 503, 202, 95, 202, 202, 474, 769, 273, 13818, 300, 10588, 31, 202, 202, 430, 261, 843, 18, 588, 2747, 4300, 12, 262, 422, 374, 747, 769, 1648, 843, 18, 588, 2747, 4300, 12, 262, 262, 1082, 202, 2271, 18, 542, 2747, 4300, 12, 769, 11272, 202, 202, 474, 1592, 1016, 273, 563, 1649, 18, 588, 3935, 1016, 12, 11272, 202, 202, 759, 6149, 353, 1245, 1634, 4260, 2 ]
if ((flag & 1) != 0) {
if ((n & 1) != 0) {
vValue Sort(vDescriptor n) { long flag = n.mkInteger().value; vTableElem a[] = new vTableElem[t.size()]; // make array of key/val pairs int i = 0; for (Enumeration e = t.keys(); e.hasMoreElements(); ) { vValue key = (vValue)e.nextElement(); vValue val = (vValue)t.get(key); if ((flag & 1) != 0) { a[i++] = new vTableElem(key, val); // sort by key } else { a[i++] = new vTableElem(val, key); // sort by value } } iUtil.sort(a); // sort array of pairs vValue b[]; if (flag <= 2) { // return list of lists b = new vValue[t.size()]; vValue pair[] = new vValue[2]; for (i = 0; i < t.size(); i++) { if ((flag & 1) != 0) { // sorted by key pair[0] = a[i].sortkey; pair[1] = a[i].other; } else { // sorted by value pair[0] = a[i].other; pair[1] = a[i].sortkey; } b[i] = iNew.List(pair); } } else { // return 2x-long list b = new vValue[2 * t.size()]; int j = 0; for (i = 0; i < t.size(); i++) { if ((flag & 1) != 0) { // sorted by key b[j++] = a[i].sortkey; b[j++] = a[i].other; } else { // sorted by value b[j++] = a[i].other; b[j++] = a[i].sortkey; } } } return iNew.List(b); // turn results into Icon list}
4078 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4078/0c600b0c2c0d6aa01a7dd2458754682b9ec64405/vTable.java/buggy/jcon/vTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 331, 620, 5928, 12, 90, 3187, 290, 13, 288, 565, 1525, 2982, 273, 290, 18, 24816, 4522, 7675, 1132, 31, 565, 331, 1388, 7498, 279, 8526, 273, 394, 331, 1388, 7498, 63, 88, 18, 1467, 1435, 15533, 202, 759, 1221, 526, 434, 498, 19, 1125, 5574, 565, 509, 277, 273, 374, 31, 565, 364, 261, 21847, 425, 273, 268, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 3639, 331, 620, 498, 273, 261, 90, 620, 13, 73, 18, 4285, 1046, 5621, 202, 90, 620, 1244, 273, 261, 90, 620, 13, 88, 18, 588, 12, 856, 1769, 202, 430, 14015, 6420, 473, 404, 13, 480, 374, 13, 288, 202, 565, 279, 63, 77, 9904, 65, 273, 394, 331, 1388, 7498, 12, 856, 16, 1244, 1769, 202, 759, 1524, 635, 498, 202, 97, 469, 288, 202, 565, 279, 63, 77, 9904, 65, 273, 394, 331, 1388, 7498, 12, 1125, 16, 498, 1769, 202, 759, 1524, 635, 460, 202, 97, 565, 289, 565, 277, 1304, 18, 3804, 12, 69, 1769, 9506, 202, 759, 1524, 526, 434, 5574, 565, 331, 620, 324, 8526, 31, 565, 309, 261, 6420, 1648, 576, 13, 288, 9506, 202, 759, 327, 666, 434, 6035, 202, 70, 273, 394, 331, 620, 63, 88, 18, 1467, 1435, 15533, 377, 202, 90, 620, 3082, 8526, 273, 394, 331, 620, 63, 22, 15533, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 268, 18, 1467, 5621, 277, 27245, 288, 202, 565, 309, 14015, 6420, 473, 404, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 331, 620, 5928, 12, 90, 3187, 290, 13, 288, 565, 1525, 2982, 273, 290, 18, 24816, 4522, 7675, 1132, 31, 565, 331, 1388, 7498, 279, 8526, 273, 394, 331, 1388, 7498, 63, 88, 18, 1467, 1435, 15533, 202, 759, 1221, 526, 434, 498, 19, 1125, 5574, 565, 509, 277, 273, 374, 31, 565, 364, 261, 21847, 425, 273, 268, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 3639, 331, 620, 498, 273, 261, 90, 620, 13, 73, 18, 4285, 1046, 5621, 202, 90, 620, 1244, 273, 261, 90, 620, 13, 88, 18, 588, 12, 856, 1769, 202, 430, 14015, 6420, 473, 404, 13, 480, 374, 13, 288, 202, 565, 279, 63, 77, 9904, 65, 273, 394, 2 ]
protected void runTest(Object testDoc, Object context, Element test) throws Exception { String xpathStr = test.attributeValue( "select" ); String debugStr = test.attributeValue( "debug" ); boolean debug = this.verbose; if ( debugStr != null ) { if ( "true".equals( debugStr ) || "on".equals( debugStr ) ) { debug = true; } } log( debug, " Select :: " + xpathStr ); this.executionContext.push( xpathStr ); String count = test.attributeValue( "count" ); String exception = test.attributeValue( "exception" ); BaseXPath xpath = new BaseXPath( xpathStr ); if ( count != null ) { int expectedSize = Integer.parseInt( count ); try { List results = xpath.selectNodes( getContext( context ) ); log ( debug, " Expected Size :: " + expectedSize ); log ( debug, " Result Size :: " + results.size() ); if ( expectedSize != results.size() ) { log ( debug, " ## FAILED" ); log ( debug, " ## xpath: " + xpath + " = " + xpath.debug() ); Iterator resultIter = results.iterator(); while ( resultIter.hasNext() ) { log ( debug, " --> " + resultIter.next() ); } } assertEquals( this.executionContext.toString(), expectedSize, results.size() ); } catch (UnsupportedAxisException e) { log ( debug, " ## SKIPPED -- Unsupported Axis" ); } catch (JaxenException e) { // If an exception attribute was switched on, this is the desired behaviour.. if (exception !=null && (exception.equals("on") || exception.equals("true"))) { log (debug, " Caught expected exception "+e.getMessage()); } else throw e; } } Iterator valueOfIter = test.elementIterator( "valueOf" ); while ( valueOfIter.hasNext() ) { //Element valueOf = test.element( "valueOf" ); Element valueOf = (Element) valueOfIter.next(); if ( valueOf != null ) { debugStr = valueOf.attributeValue( "debug" ); if ( debugStr != null ) { if ( "true".equals( debugStr ) || "on".equals( debugStr ) ) { debug = true; } } try { Object newContext = xpath.selectSingleNode( getContext( context ) ); log ( debug, " New Context :: " + abbreviate( newContext ) ); String valueOfXPathStr = valueOf.attributeValue( "select" ); log( debug, " Select :: " + valueOfXPathStr ); this.executionContext.push( valueOfXPathStr ); BaseXPath valueOfXPath = new BaseXPath( valueOfXPathStr ); Object node = valueOfXPath.selectSingleNode( getContext( newContext ) ); String expected = valueOf.getText(); String result = StringFunction.evaluate( node, getNavigator() ); log ( debug, " Expected :: " + expected ); log ( debug, " Result :: " + result ); if ( ! expected.equals( result ) ) { log ( debug, " ## FAILED" ); } assertEquals( this.executionContext.toString(), expected, result ); this.executionContext.pop(); } catch (UnsupportedAxisException e) { log ( debug, " ## SKIPPED -- Unsupported Axis" ); } } } this.executionContext.pop(); }
47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/12589bc25ae0923f2442e663095f1f4badeb40ab/XPathTestBase.java/clean/jaxen/src/java/test/org/jaxen/XPathTestBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1086, 4709, 12, 921, 1842, 1759, 16, 21821, 1033, 819, 16, 21821, 3010, 1842, 13, 1216, 1185, 565, 288, 3639, 514, 6748, 1585, 273, 1842, 18, 4589, 620, 12, 315, 4025, 6, 11272, 3639, 514, 1198, 1585, 225, 273, 1842, 18, 4589, 620, 12, 315, 4148, 6, 11272, 3639, 1250, 1198, 273, 333, 18, 11369, 31, 3639, 309, 261, 1198, 1585, 480, 446, 262, 3639, 288, 5411, 309, 261, 315, 3767, 9654, 14963, 12, 1198, 1585, 262, 1171, 747, 1171, 315, 265, 9654, 14963, 12, 1198, 1585, 262, 262, 5411, 288, 7734, 1198, 273, 638, 31, 5411, 289, 3639, 289, 3639, 613, 12, 1198, 16, 2398, 315, 225, 6766, 493, 315, 397, 6748, 1585, 11272, 3639, 333, 18, 16414, 1042, 18, 6206, 12, 6748, 1585, 11272, 3639, 514, 1056, 273, 1842, 18, 4589, 620, 12, 315, 1883, 6, 11272, 202, 202, 780, 1520, 273, 1842, 18, 4589, 620, 12, 315, 4064, 6, 11272, 3639, 3360, 14124, 6748, 273, 394, 3360, 14124, 12, 6748, 1585, 11272, 3639, 309, 261, 1056, 480, 446, 262, 3639, 288, 5411, 509, 2665, 1225, 273, 2144, 18, 2670, 1702, 12, 1056, 11272, 5411, 775, 5411, 288, 7734, 987, 1686, 273, 6748, 18, 4025, 3205, 12, 6474, 12, 819, 262, 11272, 27573, 613, 261, 1198, 16, 8227, 315, 565, 13219, 6321, 493, 315, 397, 2665, 1225, 11272, 7734, 613, 261, 1198, 16, 8227, 315, 565, 3438, 6321, 282, 493, 315, 397, 1686, 18, 1467, 1435, 11272, 27573, 309, 261, 2665, 1225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1086, 4709, 12, 921, 1842, 1759, 16, 21821, 1033, 819, 16, 21821, 3010, 1842, 13, 1216, 1185, 565, 288, 3639, 514, 6748, 1585, 273, 1842, 18, 4589, 620, 12, 315, 4025, 6, 11272, 3639, 514, 1198, 1585, 225, 273, 1842, 18, 4589, 620, 12, 315, 4148, 6, 11272, 3639, 1250, 1198, 273, 333, 18, 11369, 31, 3639, 309, 261, 1198, 1585, 480, 446, 262, 3639, 288, 5411, 309, 261, 315, 3767, 9654, 14963, 12, 1198, 1585, 262, 1171, 747, 1171, 315, 265, 9654, 14963, 12, 1198, 1585, 262, 262, 5411, 288, 7734, 1198, 273, 638, 31, 5411, 289, 3639, 289, 3639, 613, 12, 1198, 16, 2398, 315, 225, 6766, 493, 315, 397, 6748, 1585, 11272, 3639, 2 ]
return clone; }
return clone; }
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clone->m_tbl); clone.setSingleton(true); return clone; }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 3120, 31662, 797, 10930, 1435, 288, 202, 202, 430, 16051, 291, 19571, 10756, 288, 1082, 202, 2463, 333, 31, 202, 202, 97, 202, 202, 54, 10340, 3120, 3236, 273, 394, 19817, 797, 12, 588, 54, 10340, 9334, 15172, 797, 10663, 202, 202, 14056, 18, 8401, 10930, 12, 2211, 1769, 202, 202, 14056, 18, 542, 1442, 6158, 12, 588, 1442, 6158, 7675, 14056, 54, 10340, 863, 10663, 202, 202, 759, 14056, 18, 542, 4712, 5621, 202, 202, 759, 384, 67, 25055, 12, 54, 5237, 12, 22626, 13, 2122, 81, 67, 16187, 16, 3236, 67, 2039, 16, 3236, 2122, 81, 67, 16187, 1769, 202, 202, 14056, 18, 542, 19571, 12, 3767, 1769, 202, 202, 2463, 3236, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 3120, 31662, 797, 10930, 1435, 288, 202, 202, 430, 16051, 291, 19571, 10756, 288, 1082, 202, 2463, 333, 31, 202, 202, 97, 202, 202, 54, 10340, 3120, 3236, 273, 394, 19817, 797, 12, 588, 54, 10340, 9334, 15172, 797, 10663, 202, 202, 14056, 18, 8401, 10930, 12, 2211, 1769, 202, 202, 14056, 18, 542, 1442, 6158, 12, 588, 1442, 6158, 7675, 14056, 54, 10340, 863, 10663, 202, 202, 759, 14056, 18, 542, 4712, 5621, 202, 202, 759, 384, 67, 25055, 12, 54, 5237, 12, 22626, 13, 2122, 81, 67, 16187, 16, 3236, 67, 2039, 16, 3236, 2122, 81, 67, 16187, 1769, 202, 202, 14056, 18, 542, 19571, 12, 3767, 1769, 202, 202, 2463, 3236, 31, 2 ]
File sourcePath = getFileFromURL(sourcePathAttributeValue, getLocationData());
File sourcePath = getFileFromURL(sourcePathAttributeValue, JavaProcessor.this.getLocationData());
private Processor getProcessor(PipelineContext context) { try { // Read config input into a String, cache if possible ProcessorInput input = getInputByName(INPUT_CONFIG); final Config config = (Config) readCacheInputAsObject(context, input, new CacheableInputReader() { public Object read(PipelineContext context, ProcessorInput input) { Document configDocument = readInputAsDOM4J(context, INPUT_CONFIG); Element configElement = configDocument.getRootElement(); Config config = new Config(); config.clazz = configElement.attributeValue("class"); // Get source path String sourcePathAttributeValue = configElement.attributeValue("sourcepath"); if (sourcePathAttributeValue == null) sourcePathAttributeValue = "."; File sourcePath = getFileFromURL(sourcePathAttributeValue, getLocationData()); if (!sourcePath.isDirectory()) throw new ValidationException("Invalid sourcepath attribute: cannot find directory for URL: " + sourcePathAttributeValue, (LocationData) configElement.getData()); try { config.sourcepath = sourcePath.getCanonicalPath(); } catch (IOException e) { throw new ValidationException("Invalid sourcepath attribute: cannot find directory for URL: " + sourcePathAttributeValue, (LocationData) configElement.getData()); } return config; } }); // Check if need to compile String sourceFile = config.sourcepath + "/" + config.clazz.replace('.', '/') + ".java"; String destinationDirectory = SystemUtils.getTemporaryDirectory().getAbsolutePath(); String destinationFile = destinationDirectory + "/" + config.clazz.replace('.', '/') + ".class"; boolean fileUpToDate = new File(sourceFile).lastModified() < new File(destinationFile).lastModified(); // Compile if (!fileUpToDate) { StringWriter javacOutput = new StringWriter(); final ArrayList argLst = new ArrayList(); final String[] cmdLine; { argLst.add("-g"); final String cp = buildClassPath(context); if (cp != null) { argLst.add("-classpath"); argLst.add(cp); } if (config.sourcepath != null && config.sourcepath.length() > 0) { argLst.add("-sourcepath"); argLst.add(config.sourcepath); } argLst.add("-d"); final File tmp = SystemUtils.getTemporaryDirectory(); final String tmpPth = tmp.getAbsolutePath(); argLst.add(tmpPth); final String fnam = config.sourcepath + "/" + config.clazz.replace('.', '/') + ".java"; argLst.add(fnam); cmdLine = new String[argLst.size()]; argLst.toArray(cmdLine); } if (logger.isDebugEnabled()) { logger.debug("Compiling class '" + config.clazz + "'"); logger.debug("javac " + argLst.toString()); } Throwable thrown = null; int exitCode = 1; try { // Get compiler class, either user-specified or default to Sun compiler String compilerMain = getPropertySet().getString(COMPILER_CLASS_PROPERTY, DEFAULT_COMPILER_MAIN); ClassLoader classLoader; { URL compilerJarURL = getPropertySet().getURL(COMPILER_JAR_PROPERTY); if (compilerJarURL != null) { // 1: Always honor user-specified compiler JAR if present // Use special class loader pointing to this URL classLoader = new URLClassLoader(new URL[]{compilerJarURL}, JavaProcessor.class.getClassLoader()); if (logger.isDebugEnabled()) logger.debug("Java processor using user-specified compiler JAR: " + compilerJarURL.toExternalForm()); } else { // 2: Try to use the class loader that loaded this class classLoader = JavaProcessor.class.getClassLoader(); try { Class.forName(compilerMain, true, classLoader); logger.debug("Java processor using current class loader"); } catch (ClassNotFoundException e) { // Class not found // 3: Try to get to Sun tools.jar String javaHome = System.getProperty("java.home"); if (javaHome != null) { File javaHomeFile = new File(javaHome); if (javaHomeFile.getName().equals("jre")) { File toolsFile = new File(javaHomeFile.getParentFile(), "lib" + File.separator + "tools.jar"); if (toolsFile.exists()) { // JAR file exists, will use it to load compiler class classLoader = new URLClassLoader(new URL[]{toolsFile.toURL()}, JavaProcessor.class.getClassLoader()); if (logger.isDebugEnabled()) logger.debug("Java processor using default tools.jar under " + toolsFile.toString()); } } } } } } // Load compiler class using class loader defined above Class compilerClass = Class.forName(compilerMain, true, classLoader); // Get method and run compiler Method compileMethod = compilerClass.getMethod("compile", new Class[]{String[].class, PrintWriter.class}); Object result = compileMethod.invoke(null, new Object[]{cmdLine, new PrintWriter(javacOutput)}); exitCode = ((Integer) result).intValue(); } catch (final Throwable t) { thrown = t; } if (exitCode != 0) { String javacOutputString = "\n" + javacOutput.toString(); javacOutputString = StringUtils.replace(javacOutputString, "\n", "\n "); throw new OXFException("Error compiling '" + argLst.toString() + "'" + javacOutputString, thrown); } } // Try to get sourcepath info InternalCacheKey sourcepathKey = new InternalCacheKey(JavaProcessor.this, "javaFile", config.sourcepath); Object sourcepathValidity = new Long(0); Sourcepath sourcepath = (Sourcepath) ObjectCache.instance() .findValid(context, sourcepathKey, sourcepathValidity); // Create classloader if (sourcepath == null || (sourcepath.callNameToProcessorClass.containsKey(config.clazz) && !fileUpToDate)) { if (logger.isDebugEnabled()) logger.debug("Creating classloader for sourcepath '" + config.sourcepath + "'"); sourcepath = new Sourcepath(); sourcepath.classLoader = new URLClassLoader (new URL[]{SystemUtils.getTemporaryDirectory().toURL(), new File(config.sourcepath).toURL()}, this.getClass().getClassLoader()); ObjectCache.instance().add(context, sourcepathKey, sourcepathValidity, sourcepath); } // Get processor class Class processorClass = (Class) sourcepath.callNameToProcessorClass.get(config.clazz); if (processorClass == null) { processorClass = sourcepath.classLoader.loadClass(config.clazz); sourcepath.callNameToProcessorClass.put(config.clazz, processorClass); } // Create processor from class Thread.currentThread().setContextClassLoader(processorClass.getClassLoader()); return (Processor) processorClass.newInstance(); } catch (final IOException e) { throw new OXFException(e); } catch (final IllegalAccessException e) { throw new OXFException(e); } catch (final InstantiationException e) { throw new OXFException(e); } catch (final ClassNotFoundException e) { throw new OXFException(e); } }
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/8e87beb256760333bcd891029c855aff4a8543c8/JavaProcessor.java/buggy/src/java/org/orbeon/oxf/processor/JavaProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15476, 336, 5164, 12, 8798, 1042, 819, 13, 288, 3639, 775, 288, 5411, 368, 2720, 642, 810, 1368, 279, 514, 16, 1247, 309, 3323, 5411, 15476, 1210, 810, 273, 12353, 5911, 12, 15934, 67, 7203, 1769, 5411, 727, 1903, 642, 273, 261, 809, 13, 855, 1649, 1210, 1463, 921, 12, 2472, 16, 810, 16, 394, 4379, 429, 1210, 2514, 1435, 288, 7734, 1071, 1033, 855, 12, 8798, 1042, 819, 16, 15476, 1210, 810, 13, 288, 10792, 4319, 642, 2519, 273, 855, 1210, 1463, 8168, 24, 46, 12, 2472, 16, 12943, 67, 7203, 1769, 10792, 3010, 642, 1046, 273, 642, 2519, 18, 588, 2375, 1046, 5621, 10792, 1903, 642, 273, 394, 1903, 5621, 10792, 642, 18, 830, 3638, 273, 642, 1046, 18, 4589, 620, 2932, 1106, 8863, 10792, 368, 968, 1084, 589, 10792, 514, 17744, 14942, 273, 642, 1046, 18, 4589, 620, 2932, 3168, 803, 8863, 10792, 309, 261, 3168, 743, 14942, 422, 446, 13, 13491, 17744, 14942, 273, 4585, 31, 10792, 1387, 17744, 273, 6034, 1265, 1785, 12, 3168, 743, 14942, 16, 5110, 5164, 18, 2211, 18, 588, 2735, 751, 10663, 10792, 309, 16051, 3168, 743, 18, 291, 2853, 10756, 13491, 604, 394, 15614, 2932, 1941, 1084, 803, 1566, 30, 2780, 1104, 1867, 364, 1976, 30, 315, 397, 17744, 14942, 16, 261, 2735, 751, 13, 642, 1046, 18, 588, 751, 10663, 10792, 775, 288, 13491, 642, 18, 3168, 803, 273, 17744, 18, 588, 15512, 743, 5621, 10792, 289, 1044, 261, 14106, 425, 13, 288, 13491, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15476, 336, 5164, 12, 8798, 1042, 819, 13, 288, 3639, 775, 288, 5411, 368, 2720, 642, 810, 1368, 279, 514, 16, 1247, 309, 3323, 5411, 15476, 1210, 810, 273, 12353, 5911, 12, 15934, 67, 7203, 1769, 5411, 727, 1903, 642, 273, 261, 809, 13, 855, 1649, 1210, 1463, 921, 12, 2472, 16, 810, 16, 394, 4379, 429, 1210, 2514, 1435, 288, 7734, 1071, 1033, 855, 12, 8798, 1042, 819, 16, 15476, 1210, 810, 13, 288, 10792, 4319, 642, 2519, 273, 855, 1210, 1463, 8168, 24, 46, 12, 2472, 16, 12943, 67, 7203, 1769, 10792, 3010, 642, 1046, 273, 642, 2519, 18, 588, 2375, 1046, 5621, 10792, 1903, 642, 273, 394, 1903, 5621, 10792, 642, 18, 830, 3638, 2 ]