rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
int index = 0; PositionTreeItem treeItem = null; for (Iterator iter = account.getPortfolio().iterator(); iter.hasNext(); index++) { PortfolioPosition position = (PortfolioPosition)iter.next(); if (index < getItemCount())
|
getDisplay().asyncExec(new Runnable() { public void run()
|
public void itemAdded(Object o) { if (o instanceof Transaction) { int index = 0; PositionTreeItem treeItem = null; for (Iterator iter = account.getPortfolio().iterator(); iter.hasNext(); index++) { PortfolioPosition position = (PortfolioPosition)iter.next(); if (index < getItemCount()) { treeItem = (PositionTreeItem)getItem(index); treeItem.init(position); } else treeItem = new PositionTreeItem(position, this, SWT.NONE); } while(getItemCount() > index) getItem(index).dispose(); updateItemColors(); } }
|
12330 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12330/f638ae3d4b3d8769decfab532368003a0e61aed4/PortfolioView.java/buggy/net.sourceforge.eclipsetrader.trading/src/net/sourceforge/eclipsetrader/trading/views/PortfolioView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
761,
8602,
12,
921,
320,
13,
3639,
288,
5411,
309,
261,
83,
1276,
5947,
13,
5411,
288,
7734,
509,
770,
273,
374,
31,
7734,
11010,
2471,
1180,
2151,
1180,
273,
446,
31,
7734,
364,
261,
3198,
1400,
273,
2236,
18,
588,
17163,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
770,
27245,
7734,
288,
10792,
6008,
10270,
2555,
1754,
273,
261,
17163,
2555,
13,
2165,
18,
4285,
5621,
10792,
309,
261,
1615,
411,
8143,
1380,
10756,
10792,
288,
13491,
2151,
1180,
273,
261,
2555,
2471,
1180,
13,
588,
1180,
12,
1615,
1769,
13491,
2151,
1180,
18,
2738,
12,
3276,
1769,
10792,
289,
10792,
469,
13491,
2151,
1180,
273,
394,
11010,
2471,
1180,
12,
3276,
16,
333,
16,
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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,
540,
1071,
918,
761,
8602,
12,
921,
320,
13,
3639,
288,
5411,
309,
261,
83,
1276,
5947,
13,
5411,
288,
7734,
509,
770,
273,
374,
31,
7734,
11010,
2471,
1180,
2151,
1180,
273,
446,
31,
7734,
364,
261,
3198,
1400,
273,
2236,
18,
588,
17163,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
770,
27245,
7734,
288,
10792,
6008,
10270,
2555,
1754,
273,
261,
17163,
2555,
13,
2165,
18,
4285,
5621,
10792,
309,
261,
1615,
411,
8143,
1380,
10756,
10792,
288,
13491,
2151,
1180,
273,
261,
2555,
2471,
1180,
13,
588,
1180,
12,
1615,
1769,
13491,
2151,
1180,
18,
2738,
12,
3276,
1769,
10792,
289,
10792,
469,
13491,
2151,
1180,
273,
394,
11010,
2471,
1180,
12,
3276,
16,
333,
2
] |
IASTSimpleTypeSpecifier spec = factory.createSimpleTypeSpecifier( compilationUnit, IASTSimpleTypeSpecifier.Type.INT, new SimpleToken( IToken.t_void, -1, EMPTY_STRING, -1 ), false, true, false, true, false, false, false, false, Collections.EMPTY_MAP );
|
IToken t1 = new SimpleToken( IToken.t_unsigned, -1, EMPTY_STRING, -1 ); IToken t2 = new SimpleToken( IToken.t_long, -1, EMPTY_STRING, -1 ); IToken t3 = new SimpleToken( IToken.t_long, -1, EMPTY_STRING, -1 ); t1.setNext( t2 ); t2.setNext( t3 ); ITokenDuple duple = TokenFactory.createTokenDuple( t1, t3 ); IASTSimpleTypeSpecifier spec = factory.createSimpleTypeSpecifier( compilationUnit, IASTSimpleTypeSpecifier.Type.INT, duple, false, true, false, true, false, false, false, false, Collections.EMPTY_MAP ); ((ASTSimpleTypeSpecifier)spec).getSymbol().getTypeInfo().setBit( false, ITypeInfo.isLong ); ((ASTSimpleTypeSpecifier)spec).getSymbol().getTypeInfo().setBit( true, ITypeInfo.isLongLong );
|
private void __builtin_unsigned_long_long( IASTFactory factory, IASTCompilationUnit compilationUnit ) { //unsigned long long DeclarationWrapper param = new DeclarationWrapper( compilationUnit, 0, 0, null, EMPTY_STRING ); try { //TODO: this is just a long, we need to make it long long] IASTSimpleTypeSpecifier spec = factory.createSimpleTypeSpecifier( compilationUnit, IASTSimpleTypeSpecifier.Type.INT, new SimpleToken( IToken.t_void, -1, EMPTY_STRING, -1 ), false, true, false, true, false, false, false, false, Collections.EMPTY_MAP ); param.setTypeSpecifier( spec ); param.addDeclarator( new Declarator( param ) ); } catch ( ASTSemanticException e1 ) {//nothing } DeclarationWrapper sdw = new DeclarationWrapper(compilationUnit, 0, 0, null, EMPTY_STRING ); Declarator d = new Declarator(sdw); d.setIsFunction( true ); d.addParameter( param ); sdw.addDeclarator( d ); try { IASTSimpleTypeSpecifier typeSpec = factory.createSimpleTypeSpecifier( compilationUnit, IASTSimpleTypeSpecifier.Type.INT, new SimpleToken( IToken.t_void, -1, EMPTY_STRING, -1 ), false, false, false, false, false, false, false, false, Collections.EMPTY_MAP ); sdw.setTypeSpecifier( typeSpec ); } catch ( ASTSemanticException e ) { //nothing } try {//int __builtin_ffsll(unsigned int x) d.setName( new ImagedToken( IToken.tIDENTIFIER, __BUILTIN_FFSLL, __BUILTIN_FFSLL.length, EMPTY_STRING, 0 ) ); sdw.createASTNodes( factory ); } catch ( ASTSemanticException e2 ) { //nothing } catch ( BacktrackException e2 ) {//nothing } try {//int __builtin_clsll(unsigned int x) d.setName( new ImagedToken( IToken.tIDENTIFIER, __BUILTIN_CLZLL, __BUILTIN_CLZLL.length, EMPTY_STRING, 0 ) ); sdw.createASTNodes( factory ); } catch ( ASTSemanticException e2 ) {//nothing } catch ( BacktrackException e2 ) {//nothing } try {//int __builtin_ctzll(unsigned int x) d.setName( new ImagedToken( IToken.tIDENTIFIER, __BUILTIN_CTZLL, __BUILTIN_CTZLL.length, EMPTY_STRING, 0 ) ); sdw.createASTNodes( factory ); } catch ( ASTSemanticException e2 ) {//nothing } catch ( BacktrackException e2 ) {//nothing } try {//int __builtin_popcountll(unsigned int x) d.setName( new ImagedToken( IToken.tIDENTIFIER, __BUILTIN_POPCOUNTLL, __BUILTIN_POPCOUNTLL.length, EMPTY_STRING, 0 ) ); sdw.createASTNodes( factory ); } catch ( ASTSemanticException e2 ) {//nothing } catch ( BacktrackException e2 ) {//nothing } try {//int __builtin_parityll(unsigned int x) d.setName( new ImagedToken( IToken.tIDENTIFIER, __BUILTIN_PARITYLL, __BUILTIN_PARITYLL.length, EMPTY_STRING, 0 ) ); sdw.createASTNodes( factory ); } catch ( ASTSemanticException e2 ) {//nothing } catch ( BacktrackException e2 ) {//nothing } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1f751745a975ab6747e9e2bc29504c4dff2d4056/GCCASTCompleteExtension.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/gcc/GCCASTCompleteExtension.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1001,
24553,
67,
22297,
67,
5748,
67,
5748,
12,
467,
9053,
1733,
3272,
16,
467,
9053,
19184,
2802,
8916,
2802,
262,
288,
3639,
368,
22297,
1525,
1525,
3639,
16110,
4302,
3611,
579,
273,
394,
16110,
4302,
3611,
12,
8916,
2802,
16,
374,
16,
374,
16,
446,
16,
8984,
67,
5804,
11272,
202,
565,
775,
288,
202,
3639,
368,
6241,
30,
333,
353,
2537,
279,
1525,
16,
732,
1608,
358,
1221,
518,
1525,
1525,
65,
202,
4202,
467,
1345,
268,
21,
273,
394,
4477,
1345,
12,
467,
1345,
18,
88,
67,
22297,
16,
300,
21,
16,
8984,
67,
5804,
16,
300,
21,
11272,
467,
1345,
268,
22,
273,
394,
4477,
1345,
12,
467,
1345,
18,
88,
67,
5748,
16,
300,
21,
16,
8984,
67,
5804,
16,
300,
21,
11272,
467,
1345,
268,
23,
273,
394,
4477,
1345,
12,
467,
1345,
18,
88,
67,
5748,
16,
300,
21,
16,
8984,
67,
5804,
16,
300,
21,
11272,
268,
21,
18,
542,
2134,
12,
268,
22,
11272,
268,
22,
18,
542,
2134,
12,
268,
23,
11272,
467,
1345,
40,
2268,
302,
2268,
273,
3155,
1733,
18,
2640,
1345,
40,
2268,
12,
268,
21,
16,
268,
23,
11272,
467,
9053,
5784,
559,
21416,
857,
273,
3272,
18,
2640,
5784,
559,
21416,
12,
8916,
2802,
16,
467,
9053,
5784,
559,
21416,
18,
559,
18,
3217,
16,
302,
2268,
16,
629,
16,
638,
16,
629,
16,
638,
16,
629,
16,
629,
16,
629,
16,
629,
16,
5737,
18,
13625,
67,
8352,
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,
1001,
24553,
67,
22297,
67,
5748,
67,
5748,
12,
467,
9053,
1733,
3272,
16,
467,
9053,
19184,
2802,
8916,
2802,
262,
288,
3639,
368,
22297,
1525,
1525,
3639,
16110,
4302,
3611,
579,
273,
394,
16110,
4302,
3611,
12,
8916,
2802,
16,
374,
16,
374,
16,
446,
16,
8984,
67,
5804,
11272,
202,
565,
775,
288,
202,
3639,
368,
6241,
30,
333,
353,
2537,
279,
1525,
16,
732,
1608,
358,
1221,
518,
1525,
1525,
65,
202,
4202,
467,
1345,
268,
21,
273,
394,
4477,
1345,
12,
467,
1345,
18,
88,
67,
22297,
16,
300,
21,
16,
8984,
67,
5804,
16,
300,
21,
11272,
467,
1345,
268,
22,
273,
394,
4477,
1345,
12,
467,
1345,
18,
88,
67,
2
] |
request.responseText ).replaceAll( "" ) ).replaceAll( "" ) ).replaceAll( "" ) ).replaceAll( "" );
|
request.responseText ).replaceAll( "" ) ).replaceAll( "" ) ).replaceAll( "" ) ).replaceAll( "" ).replaceAll( "<a href=\"charsheet.php\">", "<a href=../profiles/" + getURLName( name ) );
|
private static void initializeAscensionData( String name ) { File ascension = new File( SNAPSHOT_DIRECTORY + "ascensions/" + getFileName( name ) ); if ( ascension.exists() ) { // In the event that the ascension has already been retrieved, // then load the data from disk. try { BufferedReader istream = KoLDatabase.getReader( ascension ); StringBuffer ascensionString = new StringBuffer(); String currentLine; while ( (currentLine = istream.readLine()) != null ) { ascensionString.append( currentLine ); ascensionString.append( LINE_BREAK ); } ascensionMap.put( name, ascensionString.toString() ); } catch ( Exception e ) { // This should not happen. Therefore, print // a stack trace for debug purposes. printStackTrace( e, "Failed to load cached ascension history" ); return; } } else { // Otherwise, run the request and pull the data from the // web server. AscensionDataRequest request = new AscensionDataRequest( name, KoLmafia.getPlayerID( name ) ); request.initialize(); String data = LINE_BREAK_PATTERN.matcher( COMMENT_PATTERN.matcher( STYLE_PATTERN.matcher( SCRIPT_PATTERN.matcher( request.responseText ).replaceAll( "" ) ).replaceAll( "" ) ).replaceAll( "" ) ).replaceAll( "" ); ascensionMap.put( name, data ); // To avoid retrieving the file again, store the intermediate // result in a local file. try { ascension.getParentFile().mkdirs(); PrintStream ostream = new LogStream( ascension ); ostream.println( data ); ostream.close(); } catch ( Exception e ) { // This should not happen. Therefore, print // a stack trace for debug purposes. printStackTrace( e, "Failed to load cached ascension history" ); return; } } }
|
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/94b5d2dda86e976675a39084bdffe8da1dc4148b/ClanManager.java/clean/src/net/sourceforge/kolmafia/ClanManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
4046,
13665,
1451,
751,
12,
514,
508,
262,
202,
95,
202,
202,
812,
6972,
1451,
273,
394,
1387,
12,
14204,
31667,
67,
17229,
397,
315,
3691,
2334,
4898,
397,
13807,
12,
508,
262,
11272,
202,
202,
430,
261,
6972,
1451,
18,
1808,
1435,
262,
202,
202,
95,
1082,
202,
759,
657,
326,
871,
716,
326,
6972,
1451,
711,
1818,
2118,
10295,
16,
1082,
202,
759,
1508,
1262,
326,
501,
628,
4234,
18,
1082,
202,
698,
1082,
202,
95,
9506,
202,
17947,
2514,
277,
3256,
273,
1475,
83,
48,
4254,
18,
588,
2514,
12,
6972,
1451,
11272,
9506,
202,
780,
1892,
6972,
1451,
780,
273,
394,
6674,
5621,
9506,
202,
780,
22325,
31,
9506,
202,
17523,
261,
261,
2972,
1670,
273,
277,
3256,
18,
896,
1670,
10756,
480,
446,
262,
9506,
202,
95,
6862,
202,
3691,
1451,
780,
18,
6923,
12,
22325,
11272,
6862,
202,
3691,
1451,
780,
18,
6923,
12,
14340,
67,
27960,
11272,
9506,
202,
97,
9506,
202,
3691,
1451,
863,
18,
458,
12,
508,
16,
6972,
1451,
780,
18,
10492,
1435,
11272,
1082,
202,
97,
1082,
202,
14683,
261,
1185,
425,
262,
1082,
202,
95,
9506,
202,
759,
1220,
1410,
486,
5865,
18,
225,
17189,
16,
1172,
9506,
202,
759,
279,
2110,
2606,
364,
1198,
13694,
18,
9506,
202,
1188,
6332,
12,
425,
16,
315,
2925,
358,
1262,
3472,
6972,
1451,
4927,
6,
11272,
9506,
202,
2463,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
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,
1152,
760,
918,
4046,
13665,
1451,
751,
12,
514,
508,
262,
202,
95,
202,
202,
812,
6972,
1451,
273,
394,
1387,
12,
14204,
31667,
67,
17229,
397,
315,
3691,
2334,
4898,
397,
13807,
12,
508,
262,
11272,
202,
202,
430,
261,
6972,
1451,
18,
1808,
1435,
262,
202,
202,
95,
1082,
202,
759,
657,
326,
871,
716,
326,
6972,
1451,
711,
1818,
2118,
10295,
16,
1082,
202,
759,
1508,
1262,
326,
501,
628,
4234,
18,
1082,
202,
698,
1082,
202,
95,
9506,
202,
17947,
2514,
277,
3256,
273,
1475,
83,
48,
4254,
18,
588,
2514,
12,
6972,
1451,
11272,
9506,
202,
780,
1892,
6972,
1451,
780,
273,
394,
6674,
5621,
9506,
202,
780,
22325,
31,
9506,
202,
2
] |
return fields; }
|
return fields; }
|
public IField[] getFields() { return fields; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/229c44b72ac5a176a7c4d6328bcc38d5cf41c6c3/TableSorter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableSorter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
974,
8526,
12612,
1435,
288,
3639,
327,
1466,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
974,
8526,
12612,
1435,
288,
3639,
327,
1466,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (String) dph.getUserValue( handle.getTargetBookmark( ) ); }
|
{ return (String) dph.getUserValue( handle.getTargetBookmark( ) ); }
|
public String getBookmark( ) { return (String) dph.getUserValue( handle.getTargetBookmark( ) ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/252f8ae4f2ea666eb53d3c7d3fc5c754435161c9/BIRTActionRenderer.java/clean/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/BIRTActionRenderer.java
|
[
1,
8585,
326,
22398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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,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
514,
2882,
1184,
3355,
12,
262,
6862,
202,
95,
25083,
202,
2463,
261,
780,
13,
302,
844,
18,
588,
1299,
620,
12,
1640,
18,
588,
2326,
22966,
12,
262,
11272,
6862,
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
] |
setErrorMessage("Create New Topic Failed!");
|
setErrorMessage(getResourceBundleString(FAILED_NEW_TOPIC));
|
public String processActionSaveForumAndAddTopic() { LOG.debug("processActionSaveForumAndAddTopic()"); if(selectedForum !=null && selectedForum.getForum()!=null && (selectedForum.getForum().getShortDescription()!=null) && (selectedForum.getForum().getShortDescription().length() > 255)) { setErrorMessage(getResourceBundleString(SHORT_DESC_TOO_LONG)); return null; } if(selectedForum!=null && selectedForum.getForum()!=null && (selectedForum.getForum().getTitle()==null ||selectedForum.getForum().getTitle().trim().length()<1 )) { setErrorMessage("Please enter a valid forum title"); return FORUM_SETTING_REVISE; } if(!uiPermissionsManager.isChangeSettings(selectedForum.getForum())) { setErrorMessage("Insufficient privileges to change forum settings"); return MAIN; } DiscussionForum forum = saveForumSettings(false); if(!uiPermissionsManager.isNewTopic(selectedForum.getForum())) { setErrorMessage("Insufficient privileges to create new topic"); return MAIN; } selectedTopic = createTopic(forum.getId()); if (selectedTopic == null) { setErrorMessage("Create New Topic Failed!"); attachments.clear(); prepareRemoveAttach.clear(); return MAIN; } attachments.clear(); prepareRemoveAttach.clear(); return TOPIC_SETTING_REVISE; }
|
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/491b38e7e8e17678d2f880df18b8981fb2f127cd/DiscussionForumTool.java/clean/msgcntr/messageforums-app/src/java/org/sakaiproject/tool/messageforums/DiscussionForumTool.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1207,
1803,
4755,
1290,
379,
1876,
986,
6657,
1435,
225,
288,
565,
2018,
18,
4148,
2932,
2567,
1803,
4755,
1290,
379,
1876,
986,
6657,
1435,
8863,
565,
309,
12,
8109,
1290,
379,
480,
2011,
597,
3170,
1290,
379,
18,
588,
1290,
379,
1435,
5,
33,
2011,
597,
377,
202,
202,
12,
8109,
1290,
379,
18,
588,
1290,
379,
7675,
588,
4897,
3291,
1435,
5,
33,
2011,
13,
597,
1377,
202,
202,
12,
8109,
1290,
379,
18,
588,
1290,
379,
7675,
588,
4897,
3291,
7675,
2469,
1435,
405,
4561,
3719,
565,
288,
377,
202,
542,
14935,
12,
588,
18731,
780,
12,
15993,
67,
10964,
67,
4296,
51,
67,
14639,
10019,
377,
202,
2463,
446,
31,
565,
289,
565,
309,
12,
8109,
1290,
379,
5,
33,
2011,
597,
3170,
1290,
379,
18,
588,
1290,
379,
1435,
5,
33,
2011,
597,
540,
261,
8109,
1290,
379,
18,
588,
1290,
379,
7675,
588,
4247,
1435,
631,
2011,
6647,
747,
8109,
1290,
379,
18,
588,
1290,
379,
7675,
588,
4247,
7675,
5290,
7675,
2469,
1435,
32,
21,
225,
8623,
565,
288,
1377,
9967,
1079,
2932,
8496,
6103,
279,
923,
11283,
2077,
8863,
1377,
327,
12108,
2799,
67,
1090,
12239,
67,
862,
4136,
1090,
31,
565,
289,
565,
309,
12,
5,
4881,
6521,
1318,
18,
291,
3043,
2628,
12,
8109,
1290,
379,
18,
588,
1290,
379,
1435,
3719,
565,
288,
1377,
9967,
1079,
2932,
5048,
11339,
19583,
358,
2549,
11283,
1947,
8863,
1377,
327,
22299,
31,
565,
289,
6647,
20900,
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,
514,
1207,
1803,
4755,
1290,
379,
1876,
986,
6657,
1435,
225,
288,
565,
2018,
18,
4148,
2932,
2567,
1803,
4755,
1290,
379,
1876,
986,
6657,
1435,
8863,
565,
309,
12,
8109,
1290,
379,
480,
2011,
597,
3170,
1290,
379,
18,
588,
1290,
379,
1435,
5,
33,
2011,
597,
377,
202,
202,
12,
8109,
1290,
379,
18,
588,
1290,
379,
7675,
588,
4897,
3291,
1435,
5,
33,
2011,
13,
597,
1377,
202,
202,
12,
8109,
1290,
379,
18,
588,
1290,
379,
7675,
588,
4897,
3291,
7675,
2469,
1435,
405,
4561,
3719,
565,
288,
377,
202,
542,
14935,
12,
588,
18731,
780,
12,
15993,
67,
10964,
67,
4296,
51,
67,
14639,
10019,
377,
202,
2463,
446,
31,
565,
289,
2
] |
getModifierString(evt),
|
modifiersToString(modifiers),
|
public static Key translateKeyEvent(KeyEvent evt) { int modifiers = evt.getModifiers(); Key returnValue = null; switch(evt.getID()) { case KeyEvent.KEY_PRESSED: int keyCode = evt.getKeyCode(); if((keyCode >= KeyEvent.VK_0 && keyCode <= KeyEvent.VK_9) || (keyCode >= KeyEvent.VK_A && keyCode <= KeyEvent.VK_Z)) { if(Debug.ALTERNATIVE_DISPATCHER) return null; else { returnValue = new Key( getModifierString(evt), '\0',Character.toLowerCase( (char)keyCode)); } } else { if(keyCode == KeyEvent.VK_TAB) { evt.consume(); returnValue = new Key( getModifierString(evt), keyCode,'\0'); } else if(keyCode == KeyEvent.VK_SPACE) { // for SPACE or S+SPACE we pass the // key typed since international // keyboards sometimes produce a // KEY_PRESSED SPACE but not a // KEY_TYPED SPACE, eg if you have to // do a "<space> to insert ". if((modifiers & ~InputEvent.SHIFT_MASK) == 0) returnValue = null; else { returnValue = new Key( getModifierString(evt), 0,' '); } } else { returnValue = new Key( getModifierString(evt), keyCode,'\0'); } } break; case KeyEvent.KEY_TYPED: char ch = evt.getKeyChar(); switch(ch) { case '\n': case '\t': case '\b': return null; case ' ': if((modifiers & ~InputEvent.SHIFT_MASK) != 0) return null; } boolean mod; if(System.currentTimeMillis() - KeyEventWorkaround .lastKeyTime < 750) { int ignoreMods; if(Debug.ALT_KEY_PRESSED_DISABLED) { /* on MacOS, A+ can be user input */ ignoreMods = (InputEvent.SHIFT_MASK | InputEvent.ALT_GRAPH_MASK | InputEvent.ALT_MASK); } else { /* on MacOS, A+ can be user input */ ignoreMods = (InputEvent.SHIFT_MASK | InputEvent.ALT_GRAPH_MASK); } mod = ((KeyEventWorkaround.modifiers & ~ignoreMods) != 0); } else { mod = false; } if(mod) { if(Debug.ALTERNATIVE_DISPATCHER) { returnValue = new Key( modifiersToString(modifiers), 0,ch); } else return null; } else returnValue = new Key(null,0,ch); break; default: return null; } /* I guess translated events do not have the 'evt' field set so consuming won't work. I don't think this is a problem as nothing uses translation anyway */ Key trans = (Key)transMap.get(returnValue); if(trans == null) return returnValue; else return trans; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/ef04733362b14659852de1bf022e57d74e6de824/KeyEventTranslator.java/buggy/org/gjt/sp/jedit/gui/KeyEventTranslator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1929,
4204,
653,
1133,
12,
653,
1133,
6324,
13,
202,
95,
202,
202,
474,
10429,
273,
6324,
18,
588,
11948,
5621,
202,
202,
653,
7750,
273,
446,
31,
202,
202,
9610,
12,
73,
11734,
18,
588,
734,
10756,
202,
202,
95,
202,
202,
3593,
23737,
18,
3297,
67,
27388,
30,
1082,
202,
474,
16369,
273,
6324,
18,
588,
653,
1085,
5621,
1082,
202,
430,
12443,
856,
1085,
1545,
23737,
18,
58,
47,
67,
20,
9506,
202,
10,
10,
16369,
1648,
23737,
18,
58,
47,
67,
29,
13,
9506,
202,
20081,
261,
856,
1085,
1545,
23737,
18,
58,
47,
67,
37,
9506,
202,
10,
10,
16369,
1648,
23737,
18,
58,
47,
67,
62,
3719,
1082,
202,
95,
9506,
202,
430,
12,
2829,
18,
1013,
6519,
12992,
67,
2565,
3118,
5858,
654,
13,
6862,
202,
2463,
446,
31,
9506,
202,
12107,
9506,
202,
95,
6862,
202,
2463,
620,
273,
394,
1929,
12,
25083,
202,
588,
9829,
780,
12,
73,
11734,
3631,
25083,
202,
8314,
20,
2187,
7069,
18,
869,
5630,
12,
25083,
202,
12,
3001,
13,
856,
1085,
10019,
9506,
202,
97,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
430,
12,
856,
1085,
422,
23737,
18,
58,
47,
67,
28899,
13,
9506,
202,
95,
6862,
202,
73,
11734,
18,
21224,
5621,
6862,
202,
2463,
620,
273,
394,
1929,
12,
25083,
202,
588,
9829,
780,
12,
73,
11734,
3631,
25083,
202,
856,
1085,
16,
8314,
20,
8284,
9506,
202,
97,
9506,
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,
760,
1929,
4204,
653,
1133,
12,
653,
1133,
6324,
13,
202,
95,
202,
202,
474,
10429,
273,
6324,
18,
588,
11948,
5621,
202,
202,
653,
7750,
273,
446,
31,
202,
202,
9610,
12,
73,
11734,
18,
588,
734,
10756,
202,
202,
95,
202,
202,
3593,
23737,
18,
3297,
67,
27388,
30,
1082,
202,
474,
16369,
273,
6324,
18,
588,
653,
1085,
5621,
1082,
202,
430,
12443,
856,
1085,
1545,
23737,
18,
58,
47,
67,
20,
9506,
202,
10,
10,
16369,
1648,
23737,
18,
58,
47,
67,
29,
13,
9506,
202,
20081,
261,
856,
1085,
1545,
23737,
18,
58,
47,
67,
37,
9506,
202,
10,
10,
16369,
1648,
23737,
18,
58,
47,
67,
62,
3719,
1082,
202,
2
] |
int mipmapLevel,
|
public TextureData newTextureData(File file, int mipmapLevel, int internalFormat, int pixelFormat, String fileSuffix) throws IOException;
|
53985 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53985/a295d66a868c897b71104f3dd4c94601c7463840/TextureProvider.java/buggy/src/classes/com/sun/opengl/utils/TextureProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
28582,
751,
394,
10967,
751,
12,
812,
585,
16,
28524,
4202,
509,
2713,
1630,
16,
4766,
565,
509,
4957,
1630,
16,
4766,
565,
514,
585,
5791,
13,
1216,
1860,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
28582,
751,
394,
10967,
751,
12,
812,
585,
16,
28524,
4202,
509,
2713,
1630,
16,
4766,
565,
509,
4957,
1630,
16,
4766,
565,
514,
585,
5791,
13,
1216,
1860,
31,
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
] |
|
BigDecimal tobeApplied = new BigDecimal("0");
|
BigDecimal tobeApplied = ZERO;
|
public static Map updatePaymentApplicationDefBd(DispatchContext dctx, Map context) { GenericDelegator delegator = dctx.getDelegator(); Locale locale = (Locale) context.get("locale"); if (decimals == -1 || rounding == -1) { return ServiceUtil.returnError(UtilProperties.getMessage(resource,"AccountingAritmeticPropertiesNotConfigured",locale)); } if (!context.containsKey("useHighestAmount")) { context.put("useHighestAmount","Y"); } String defaultInvoiceProcessing = UtilProperties.getPropertyValue("AccountingConfig","invoiceProcessing").toString(); boolean debug = true; // show processing messages in the log..or not.... // a 'y' in invoiceProssesing wil reverse the default processing String changeProcessing = (String) context.get("invoiceProcessing"); String invoiceId = (String) context.get("invoiceId"); String invoiceItemSeqId = (String) context.get("invoiceItemSeqId"); String paymentId = (String) context.get("paymentId"); String toPaymentId = (String) context.get("toPaymentId"); String paymentApplicationId = (String) context.get("paymentApplicationId"); BigDecimal amountApplied = (BigDecimal) context.get("amountApplied"); String billingAccountId = (String) context.get("billingAccountId"); String taxAuthGeoId = (String) context.get("taxAuthGeoId"); String useHighestAmount = (String) context.get("useHighestAmount"); List errorMessageList = new LinkedList(); if (debug) Debug.logInfo("updatePaymentApplicationDefBd input parameters..." + " defaultInvoiceProcessing: " + defaultInvoiceProcessing + " changeDefaultInvoiceProcessing: " + changeProcessing + " useHighestAmount: " + useHighestAmount + " paymentApplicationId: " + paymentApplicationId + " PaymentId: " + paymentId + " InvoiceId: " + invoiceId + " InvoiceItemSeqId: " + invoiceItemSeqId + " BillingAccountId: " + billingAccountId + " toPaymentId: " + toPaymentId + " amountApplied: " + amountApplied + " TaxAuthGeoId: " + taxAuthGeoId, module); if (changeProcessing == null) changeProcessing = new String("N"); // not provided, so no change boolean invoiceProcessing = true; if (defaultInvoiceProcessing.equals("YY")) invoiceProcessing = true; else if (defaultInvoiceProcessing.equals("NN")) invoiceProcessing = false; else if (defaultInvoiceProcessing.equals("Y")) { if (changeProcessing.equals("Y")) invoiceProcessing = false; else invoiceProcessing = true; } else if (defaultInvoiceProcessing.equals("N")) { if (changeProcessing.equals("Y")) invoiceProcessing = true; else invoiceProcessing = false; } // on a new paymentApplication check if only billing or invoice or tax // id is provided not 2,3... BUT a combination of billingAccountId and invoiceId is permitted - that's how you use a // Billing Account to pay for an Invoice if (paymentApplicationId == null) { int count = 0; if (invoiceId != null) count++; if (toPaymentId != null) count++; if (billingAccountId != null) count++; if (taxAuthGeoId != null) count++; if ((billingAccountId != null) && (invoiceId != null)) count--; if (count != 1) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingSpecifyInvoiceToPaymentBillingAccountTaxGeoId", locale)); } } // avoid null pointer exceptions. if (amountApplied == null) amountApplied = new BigDecimal("0"); // makes no sense to have an item numer without an invoice number if (invoiceId == null) invoiceItemSeqId = null; // retrieve all information and perform checking on the retrieved info..... // Payment..... BigDecimal paymentApplyAvailable = new BigDecimal("0"); // amount available on the payment reduced by the already applied amounts BigDecimal amountAppliedMax = new BigDecimal("0"); // the maximum that can be applied taking payment,invoice,invoiceitem,billing account in concideration // if maxApplied is missing, this value can be used GenericValue payment = null; if (paymentId == null || paymentId.equals("")) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentIdBlankNotSupplied",locale)); } else { try { payment = delegator.findByPrimaryKey("Payment", UtilMisc.toMap("paymentId", paymentId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (payment == null) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentRecordNotFound",UtilMisc.toMap("paymentId",paymentId),locale)); } paymentApplyAvailable = payment.getBigDecimal("amount").subtract(PaymentWorker.getPaymentAppliedBd(payment)).setScale(decimals,rounding); if (payment.getString("statusId").equals("PMNT_CANCELLED")) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentCancelled", UtilMisc.toMap("paymentId",paymentId), locale)); } if (payment.getString("statusId").equals("PMNT_CONFIRMED")) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentConfirmed", UtilMisc.toMap("paymentId",paymentId), locale)); } // if the amount to apply is 0 give it amount the payment still need // to apply if (amountApplied.signum() == 0) { amountAppliedMax = paymentApplyAvailable; } if (paymentApplicationId == null) { // only check for new application records, update on existing records is checked in the paymentApplication section if (paymentApplyAvailable.signum() == 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentAlreadyApplied",UtilMisc.toMap("paymentId",paymentId), locale)); } else { // check here for too much application if a new record is // added (paymentApplicationId == null) if (amountApplied.compareTo(paymentApplyAvailable) > 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentLessRequested", UtilMisc.toMap("paymentId",paymentId, "paymentApplyAvailable",paymentApplyAvailable, "amountApplied",amountApplied,"isoCode",payment.getString("currencyUomId")),locale)); } } } if (debug) Debug.logInfo("Payment info retrieved and checked...", module); } // the "TO" Payment..... BigDecimal toPaymentApplyAvailable = new BigDecimal("0"); GenericValue toPayment = null; if (toPaymentId != null && !toPaymentId.equals("")) { try { toPayment = delegator.findByPrimaryKey("Payment", UtilMisc.toMap("paymentId", toPaymentId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (toPayment == null) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentRecordNotFound",UtilMisc.toMap("paymentId",toPaymentId),locale)); } toPaymentApplyAvailable = toPayment.getBigDecimal("amount").subtract(PaymentWorker.getPaymentAppliedBd(toPayment)).setScale(decimals,rounding); if (toPayment.getString("statusId").equals("PMNT_CANCELLED")) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentCancelled", UtilMisc.toMap("paymentId",paymentId), locale)); } if (toPayment.getString("statusId").equals("PMNT_CONFIRMED")) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentConfirmed", UtilMisc.toMap("paymentId",paymentId), locale)); } // if the amount to apply is less then required by the payment reduce it if (amountAppliedMax.compareTo(toPaymentApplyAvailable) > 0) { amountAppliedMax = toPaymentApplyAvailable; } if (paymentApplicationId == null) { // only check for new application records, update on existing records is checked in the paymentApplication section if (toPaymentApplyAvailable.signum() == 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentAlreadyApplied",UtilMisc.toMap("paymentId",toPaymentId), locale)); } else { // check here for too much application if a new record is // added (paymentApplicationId == null) if (amountApplied.compareTo(toPaymentApplyAvailable) > 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentLessRequested", UtilMisc.toMap("paymentId",toPaymentId, "paymentApplyAvailable",toPaymentApplyAvailable, "amountApplied",amountApplied,"isoCode",payment.getString("currencyUomId")),locale)); } } } // check if at least one send is the same as one receiver on the other payment if (!payment.getString("partyIdFrom").equals(toPayment.getString("partyIdTo")) && !payment.getString("partyIdFrom").equals(toPayment.getString("partyIdTo"))) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingFromPartySameToParty", locale)); } if (debug) Debug.logInfo("toPayment info retrieved and checked...", module); } // billing account GenericValue billingAccount = null; BigDecimal billingAccountApplyAvailable = new BigDecimal("0"); if (billingAccountId != null && !billingAccountId.equals("")) { try { billingAccount = delegator.findByPrimaryKey("BillingAccount", UtilMisc.toMap("billingAccountId", billingAccountId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (billingAccount == null) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountNotFound",UtilMisc.toMap("billingAccountId",billingAccountId), locale)); } // Get the available balance, which is how much can be used, rather than the regular balance, which is how much has already been charged try { billingAccountApplyAvailable = BillingAccountWorker.getAccountLimit(billingAccount).add( BillingAccountWorker.getBillingAccountAvailableBalance(billingAccount)).setScale(decimals,rounding); } catch (GenericEntityException e) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountBalanceNotFound",UtilMisc.toMap("billingAccountId",billingAccountId), locale)); ServiceUtil.returnError(e.getMessage()); } if (paymentApplicationId == null) { // when creating a new PaymentApplication, check if there is sufficient balance in the billing account, but only if the invoiceId is not null // If you create a PaymentApplication with both billingAccountId and invoiceId, then you're applying a billing account towards an invoice // If you create a PaymentApplication just with billingAccountId and no invoiceId, then you're adding value to billing account, so it should not matter // what the previous available balance is if (invoiceId != null) { if (billingAccountApplyAvailable.signum() <= 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountBalanceProblem",UtilMisc.toMap("billingAccountId",billingAccountId,"isoCode",billingAccount.getString("accountCurrencyUomId")), locale)); } else { // check here for too much application if a new record is // added (paymentApplicationId == null) if (amountApplied.compareTo(billingAccountApplyAvailable) == 1) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountLessRequested", UtilMisc.toMap("billingAccountId",billingAccountId, "billingAccountApplyAvailable",billingAccountApplyAvailable, "amountApplied",amountApplied,"isoCode",billingAccount.getString("accountCurrencyUomId")),locale)); } } } } // check the currency if (billingAccount.get("accountCurrencyUomId") != null && payment.get("currencyUomId") != null && !billingAccount.getString("accountCurrencyUomId").equals(payment.getString("currencyUomId"))) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountCurrencyProblem", UtilMisc.toMap("billingAccountId",billingAccountId,"accountCurrencyUomId",billingAccount.getString("accountCurrencyUomId"), "paymentId",paymentId,"paymentCurrencyUomId", payment.getString("currencyUomId")),locale)); } if (debug) Debug.logInfo("Billing Account info retrieved and checked...", module); } // get the invoice (item) information BigDecimal invoiceApplyAvailable = new BigDecimal("0"); // amount available on the invoice reduced by the already applied amounts BigDecimal invoiceItemApplyAvailable = new BigDecimal("0"); // amount available on the invoiceItem reduced by the already applied amounts GenericValue invoice = null; GenericValue invoiceItem = null; if (invoiceId != null) { try { invoice = delegator.findByPrimaryKey("Invoice", UtilMisc.toMap("invoiceId", invoiceId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (invoice == null) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingInvoiceNotFound",UtilMisc.toMap("invoiceId",invoiceId),locale)); } else { // check the invoice and when supplied the invoice item... if (invoice.getString("statusId").equals("INVOICE_CANCELLED")) { errorMessageList.add(UtilProperties.getMessage(resource,"AccountingInvoiceCancelledCannotApplyTo",UtilMisc.toMap("invoiceId",invoiceId),locale)); } // check if the invoice already covered by payments BigDecimal invoiceTotal = InvoiceWorker.getInvoiceTotalBd(invoice); invoiceApplyAvailable = InvoiceWorker.getInvoiceNotApplied(invoice); // adjust the amountAppliedMax value if required.... if (invoiceApplyAvailable.compareTo(amountAppliedMax) < 0) { amountAppliedMax = invoiceApplyAvailable; } if (invoiceTotal.signum() == 0) { errorMessageList.add(UtilProperties.getMessage(resource,"AccountingInvoiceTotalZero",UtilMisc.toMap("invoiceId",invoiceId),locale)); } else if (paymentApplicationId == null) { // only check for new records here...updates are checked in the paymentApplication section if (invoiceApplyAvailable.signum() == 0) { errorMessageList.add(UtilProperties.getMessage(resource,"AccountingInvoiceCompletelyApplied",UtilMisc.toMap("invoiceId",invoiceId),locale)); } // check here for too much application if a new record(s) are // added (paymentApplicationId == null) else if (amountApplied.compareTo(invoiceApplyAvailable) > 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingInvoiceLessRequested", UtilMisc.toMap("invoiceId",invoiceId, "invoiceApplyAvailable",invoiceApplyAvailable, "amountApplied",amountApplied,"isoCode",invoice.getString("currencyUomId")),locale)); } } // check if at least one sender is the same as one receiver on the invoice if (!payment.getString("partyIdFrom").equals(invoice.getString("partyId")) && !payment.getString("partyIdTo").equals(invoice.getString("partyIdFrom"))) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingFromPartySameToParty", locale)); } if (debug) Debug.logInfo("Invoice info retrieved and checked ...", module); } // if provided check the invoice item. if (invoiceItemSeqId != null) { // when itemSeqNr not provided delay checking on invoiceItemSeqId try { invoiceItem = delegator.findByPrimaryKey("InvoiceItem", UtilMisc.toMap("invoiceId", invoiceId, "invoiceItemSeqId", invoiceItemSeqId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (invoiceItem == null) { errorMessageList.add(UtilProperties.getMessage(resource,"AccountingInvoiceItemNotFound",UtilMisc.toMap("invoiceId",invoiceId,"invoiceItemSeqId",invoiceItemSeqId),locale)); } else { if (invoiceItem.get("uomId") != null && payment.get("currencyUomId") != null && !invoiceItem.getString("uomId").equals(payment.getString("currencyUomId"))) { errorMessageList.add(UtilProperties.getMessage(resource,"AccountingInvoiceItemPaymentCurrencyProblem",UtilMisc.toMap("paymentCurrencyId",payment.getString("currencyUomId"),"itemCurrency",invoiceItem.getString("uomId")) ,locale)); } else if (invoice.get("currencyUomId") != null && payment.get("currencyUomId") != null && !invoice.getString("currencyUomId").equals(payment.getString("currencyUomId"))) { errorMessageList.add(UtilProperties.getMessage(resource,"AccountingInvoicePaymentCurrencyProblem",UtilMisc.toMap("paymentCurrencyId",payment.getString("currencyUomId"),"itemCurrency",invoice.getString("currencyUomId")) ,locale)); } // get the invoice item applied value BigDecimal quantity = null; if (invoiceItem.get("quantity") == null) { quantity = new BigDecimal("1"); } else { quantity = invoiceItem.getBigDecimal("quantity").setScale(decimals,rounding); } invoiceItemApplyAvailable = invoiceItem.getBigDecimal("amount").multiply(quantity).setScale(decimals,rounding).subtract(InvoiceWorker.getInvoiceItemAppliedBd(invoiceItem)); // check here for too much application if a new record is added // (paymentApplicationId == null) if (paymentApplicationId == null && amountApplied.compareTo(invoiceItemApplyAvailable) > 0) { // new record errorMessageList.add("Invoice(" + invoiceId + ") item(" + invoiceItemSeqId + ") has " + invoiceItemApplyAvailable + " to apply but " + amountApplied + " is requested\n"); String uomId = null; if (invoiceItem.getString("uomId") != null) { uomId = invoiceItem.getString("uomId"); } else { uomId = invoice.getString("currencyUomId"); } errorMessageList.add(UtilProperties.getMessage(resource, "AccountingInvoiceItemLessRequested", UtilMisc.toMap("invoiceId",invoiceId, "invoiceItemSeqId", invoiceItemSeqId, "invoiceItemApplyAvailable",invoiceItemApplyAvailable, "amountApplied",amountApplied,"isoCode",uomId),locale)); } } if (debug) Debug.logInfo("InvoiceItem info retrieved and checked against the Invoice (currency and amounts) ...", module); } } // get the application record if the applicationId is supplied if not // create empty record. BigDecimal newInvoiceApplyAvailable = invoiceApplyAvailable; // amount available on the invoice taking into account if the invoiceItemnumber has changed BigDecimal newInvoiceItemApplyAvailable = invoiceItemApplyAvailable; // amount available on the invoiceItem taking into account if the itemnumber has changed BigDecimal newToPaymentApplyAvailable = toPaymentApplyAvailable; // amount available on the Billing Account taking into account if the billing account number has changed BigDecimal newBillingAccountApplyAvailable = billingAccountApplyAvailable; // amount available on the Billing Account taking into account if the billing account number has changed BigDecimal newPaymentApplyAvailable = paymentApplyAvailable; GenericValue paymentApplication = null; if (paymentApplicationId == null) { paymentApplication = delegator.makeValue("PaymentApplication", null); // prepare for creation } else { // retrieve existing paymentApplication try { paymentApplication = delegator.findByPrimaryKey("PaymentApplication", UtilMisc.toMap("paymentApplicationId", paymentApplicationId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (paymentApplication == null) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentApplicationNotFound", UtilMisc.toMap("paymentApplicationId",paymentApplicationId), locale)); paymentApplicationId = null; } else { // if both invoiceId and BillingId is entered there was // obviously a change // only take the newly entered item, same for tax authority and toPayment if (paymentApplication.get("invoiceId") == null && invoiceId != null) { billingAccountId = null; taxAuthGeoId = null; toPaymentId = null; } else if (paymentApplication.get("toPaymentId") == null && toPaymentId != null) { invoiceId = null; invoiceItemSeqId = null; taxAuthGeoId = null; billingAccountId = null; } else if (paymentApplication.get("billingAccountId") == null && billingAccountId != null) { invoiceId = null; invoiceItemSeqId = null; toPaymentId = null; taxAuthGeoId = null; } else if (paymentApplication.get("taxAuthGeoId") == null && taxAuthGeoId != null) { invoiceId = null; invoiceItemSeqId = null; toPaymentId = null; billingAccountId = null; } // check if the payment for too much application if an existing // application record is changed newPaymentApplyAvailable = paymentApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied")).subtract(amountApplied).setScale(decimals, rounding); if (newPaymentApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentNotEnough", UtilMisc.toMap("paymentId",paymentId,"paymentApplyAvailable",paymentApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied")),"amountApplied",amountApplied),locale)); } if (invoiceId != null) { // only when we are processing an invoice on existing paymentApplication check invoice item for to much application if the invoice // number did not change if (invoiceId.equals(paymentApplication .getString("invoiceId"))) { // check if both the itemNumbers are null then this is a // record for the whole invoice if (invoiceItemSeqId == null && paymentApplication.get("invoiceItemSeqId") == null) { newInvoiceApplyAvailable = invoiceApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied")).subtract(amountApplied).setScale(decimals, rounding); if (invoiceApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingInvoiceNotEnough",UtilMisc.toMap("tooMuch",newInvoiceApplyAvailable.negate(),"invoiceId",invoiceId),locale)); } } else if (invoiceItemSeqId == null && paymentApplication.get("invoiceItemSeqId") != null) { // check if the item number changed from a real Item number to a null value newInvoiceApplyAvailable = invoiceApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied")).subtract(amountApplied).setScale(decimals, rounding); if (invoiceApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingInvoiceNotEnough",UtilMisc.toMap("tooMuch",newInvoiceApplyAvailable.negate(),"invoiceId",invoiceId),locale)); } } else if (invoiceItemSeqId != null && paymentApplication.get("invoiceItemSeqId") == null) { // check if the item number changed from a null value to // a real Item number newInvoiceItemApplyAvailable = invoiceItemApplyAvailable.subtract(amountApplied).setScale(decimals, rounding); if (newInvoiceItemApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingItemInvoiceNotEnough",UtilMisc.toMap("tooMuch",newInvoiceItemApplyAvailable.negate(),"invoiceId",invoiceId,"invoiceItemSeqId",invoiceItemSeqId),locale)); } } else if (invoiceItemSeqId.equals(paymentApplication.getString("invoiceItemSeqId"))) { // check if the real item numbers the same // item number the same numeric value newInvoiceItemApplyAvailable = invoiceItemApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied")).subtract(amountApplied).setScale(decimals, rounding); if (newInvoiceItemApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingItemInvoiceNotEnough",UtilMisc.toMap("tooMuch",newInvoiceItemApplyAvailable.negate(),"invoiceId",invoiceId,"invoiceItemSeqId",invoiceItemSeqId),locale)); } } else { // item number changed only check new item newInvoiceItemApplyAvailable = invoiceItemApplyAvailable.add(amountApplied).setScale(decimals, rounding); if (newInvoiceItemApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingItemInvoiceNotEnough",UtilMisc.toMap("tooMuch",newInvoiceItemApplyAvailable.negate(),"invoiceId",invoiceId,"invoiceItemSeqId",invoiceItemSeqId),locale)); } } // if the amountApplied = 0 give it the higest possible // value if (amountApplied.signum() == 0) { if (newInvoiceItemApplyAvailable.compareTo(newPaymentApplyAvailable) < 0) { amountApplied = newInvoiceItemApplyAvailable; // from the item number } else { amountApplied = newPaymentApplyAvailable; // from the payment } } // check the invoice newInvoiceApplyAvailable = invoiceApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied").subtract(amountApplied)).setScale(decimals, rounding); if (newInvoiceApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingInvoiceNotEnough",UtilMisc.toMap("tooMuch",invoiceApplyAvailable.add(paymentApplication.getBigDecimal("amountApplied")).subtract(amountApplied),"invoiceId",invoiceId),locale)); } } } // check the toPayment account when only the amountApplied has // changed, if (toPaymentId != null && toPaymentId.equals(paymentApplication.getString("toPaymentId"))) { newToPaymentApplyAvailable = toPaymentApplyAvailable.subtract(paymentApplication.getBigDecimal("amountApplied")).add(amountApplied).setScale(decimals, rounding); if (newToPaymentApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentNotEnough", UtilMisc.toMap("paymentId",toPaymentId,"paymentApplyAvailable",newToPaymentApplyAvailable,"amountApplied",amountApplied),locale)); } } else if (toPaymentId != null) { // billing account entered number has changed so we have to // check the new billing account number. newToPaymentApplyAvailable = toPaymentApplyAvailable.add(amountApplied).setScale(decimals, rounding); if (newToPaymentApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingPaymentNotEnough", UtilMisc.toMap("paymentId",toPaymentId,"paymentApplyAvailable",newToPaymentApplyAvailable,"amountApplied",amountApplied),locale)); } } // check the billing account when only the amountApplied has // changed, // change in account number is already checked in the billing // account section if (billingAccountId != null && billingAccountId.equals(paymentApplication.getString("billingAccountId"))) { newBillingAccountApplyAvailable = billingAccountApplyAvailable.subtract(paymentApplication.getBigDecimal("amountApplied")).add(amountApplied).setScale(decimals, rounding); if (newBillingAccountApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountNotEnough",UtilMisc.toMap("billingAccountId",billingAccountId,"newBillingAccountApplyAvailable",newBillingAccountApplyAvailable,"amountApplied",amountApplied,"isoCode", billingAccount.getString("accountCurrencyUomId")),locale)); } } else if (billingAccountId != null) { // billing account entered number has changed so we have to // check the new billing account number. newBillingAccountApplyAvailable = billingAccountApplyAvailable.add(amountApplied).setScale(decimals, rounding); if (newBillingAccountApplyAvailable.compareTo(ZERO) < 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingBillingAccountNotEnough",UtilMisc.toMap("billingAccountId",billingAccountId,"newBillingAccountApplyAvailable",newBillingAccountApplyAvailable,"amountApplied",amountApplied,"isoCode", billingAccount.getString("accountCurrencyUomId")),locale)); } } } if (debug) Debug.logInfo("paymentApplication record info retrieved and checked...", module); } // show the maximumus what can be added in the payment application file. String toMessage = null; // prepare for success message if (debug) { String extra = new String(""); if (invoiceItemSeqId != null) { extra = new String(" Invoice item(" + invoiceItemSeqId + ") amount not yet applied: " + newInvoiceItemApplyAvailable); } Debug.logInfo("checking finished, start processing with the following data... ", module); if (invoiceId != null) { Debug.logInfo(" Invoice(" + invoiceId + ") amount not yet applied: " + newInvoiceApplyAvailable + extra + " Payment(" + paymentId + ") amount not yet applied: " + newPaymentApplyAvailable + " Requested amount to apply:" + amountApplied, module); toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToInvoice",UtilMisc.toMap("invoiceId",invoiceId),locale)); if(extra.length() > 0) toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToInvoiceItem",UtilMisc.toMap("invoiceId",invoiceId,"invoiceItemSeqId",invoiceItemSeqId),locale)); } if (toPaymentId != null) { Debug.logInfo(" toPayment(" + toPaymentId + ") amount not yet applied: " + newToPaymentApplyAvailable + " Payment(" + paymentId + ") amount not yet applied: " + newPaymentApplyAvailable + " Requested amount to apply:" + amountApplied, module); toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToPayment",UtilMisc.toMap("paymentId",toPaymentId),locale)); } if (billingAccountId != null) { Debug.logInfo(" billingAccount(" + billingAccountId + ") amount not yet applied: " + newBillingAccountApplyAvailable + " Payment(" + paymentId + ") amount not yet applied: " + newPaymentApplyAvailable + " Requested amount to apply:" + amountApplied, module); toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToBillingAccount",UtilMisc.toMap("billingAccountId",billingAccountId),locale)); } if (taxAuthGeoId != null) { Debug.logInfo(" taxAuthGeoId(" + taxAuthGeoId + ") Payment(" + paymentId + ") amount not yet applied: " + newPaymentApplyAvailable + " Requested amount to apply:" + amountApplied, module); toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToTax",UtilMisc.toMap("taxAuthGeoId",taxAuthGeoId),locale)); } } // if the amount to apply was not provided or was zero fill it with the maximum possible and provide information to the user if (amountApplied.signum() == 0 && useHighestAmount.equals("Y")) { amountApplied = newPaymentApplyAvailable; if (invoiceId != null && newInvoiceApplyAvailable.compareTo(amountApplied) < 0) { amountApplied = newInvoiceApplyAvailable; toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToInvoice",UtilMisc.toMap("invoiceId",invoiceId),locale)); } if (toPaymentId != null && newToPaymentApplyAvailable.compareTo(amountApplied) == 1) { amountApplied = newToPaymentApplyAvailable; toMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationToPayment",UtilMisc.toMap("paymentId",toPaymentId),locale)); } } if (amountApplied.signum() == 0) { errorMessageList.add(UtilProperties.getMessage(resource, "AccountingNoAmount",locale)); } else { successMessage = new String(UtilProperties.getMessage(resource, "AccountingApplicationSuccess",UtilMisc.toMap("amountApplied",amountApplied,"paymentId",paymentId,"isoCode", payment.getString("currencyUomId"),"toMessage",toMessage),locale)); } // report error messages if any if (errorMessageList.size() > 0) { return ServiceUtil.returnError(errorMessageList); } // ============ start processing ====================== // if the application is specified it is easy, update the existing record only if (paymentApplicationId != null) { // record is already retrieved previously if (debug) Debug.logInfo("Process an existing paymentApplication record: " + paymentApplicationId, module); // update the current record paymentApplication.set("invoiceId", invoiceId); paymentApplication.set("invoiceItemSeqId", invoiceItemSeqId); paymentApplication.set("paymentId", paymentId); paymentApplication.set("toPaymentId", toPaymentId); paymentApplication.set("amountApplied", new Double(amountApplied.doubleValue())); paymentApplication.set("billingAccountId", billingAccountId); paymentApplication.set("taxAuthGeoId", taxAuthGeoId); return storePaymentApplication(delegator, paymentApplication,locale); } // if no invoice sequence number is provided it assumed the requested paymentAmount will be // spread over the invoice starting with the lowest sequence number if // itemprocessing is on otherwise creat one record if (invoiceId != null && paymentId != null && (invoiceItemSeqId == null)) { if (invoiceProcessing) { // create only a single record with a null seqId if (debug) Debug.logInfo("Try to allocate the payment to the invoice as a whole", module); paymentApplication.set("paymentId", paymentId); paymentApplication.set("toPaymentId",null); paymentApplication.set("invoiceId", invoiceId); paymentApplication.set("invoiceItemSeqId", null); paymentApplication.set("toPaymentId", null); paymentApplication.set("amountApplied", new Double(amountApplied.doubleValue())); paymentApplication.set("billingAccountId", null); paymentApplication.set("taxAuthGeoId", null); if (debug) Debug.logInfo("creating new paymentapplication", module); return storePaymentApplication(delegator, paymentApplication,locale); } else { // spread the amount over every single item number if (debug) Debug.logInfo("Try to allocate the payment to the itemnumbers of the invoice", module); // get the invoice items List invoiceItems = null; try { invoiceItems = delegator.findByAnd("InvoiceItem", UtilMisc.toMap("invoiceId", invoiceId)); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } if (invoiceItems == null || invoiceItems.size() == 0) { errorMessageList.add("No invoice items found for invoice " + invoiceId + " to match payment against...\n"); return ServiceUtil.returnError(errorMessageList); } else { // we found some invoice items, start processing.... Iterator i = invoiceItems.iterator(); // check if the user want to apply a smaller amount than the maximum possible on the payment if (amountApplied.signum() != 0 && amountApplied.compareTo(paymentApplyAvailable) < 0) { paymentApplyAvailable = amountApplied; } while (i.hasNext() && paymentApplyAvailable.compareTo(ZERO) > 0) { // get the invoiceItem invoiceItem = (GenericValue) i.next(); if (debug) Debug.logInfo("Start processing item: " + invoiceItem.getString("invoiceItemSeqId"), module); BigDecimal itemQuantity = new BigDecimal("1"); if (invoiceItem.get("quantity") != null && invoiceItem.getBigDecimal("quantity").signum() != 0) { itemQuantity = new BigDecimal(invoiceItem.getString("quantity")).setScale(decimals,rounding); } BigDecimal itemAmount = invoiceItem.getBigDecimal("amount").setScale(decimals,rounding); BigDecimal itemTotal = itemAmount.multiply(itemQuantity).setScale(decimals,rounding); // get the application(s) already allocated to this // item, if available List paymentApplications = null; try { paymentApplications = invoiceItem.getRelated("PaymentApplication"); } catch (GenericEntityException e) { ServiceUtil.returnError(e.getMessage()); } BigDecimal tobeApplied = new BigDecimal("0"); // item total amount - already applied (if any) BigDecimal alreadyApplied = new BigDecimal("0"); if (paymentApplications != null && paymentApplications.size() > 0) { // application(s) found, add them all together Iterator p = paymentApplications.iterator(); while (p.hasNext()) { paymentApplication = (GenericValue) p.next(); alreadyApplied = alreadyApplied.add(paymentApplication.getBigDecimal("amountApplied").setScale(decimals,rounding)); } tobeApplied = itemTotal.subtract(alreadyApplied).setScale(decimals,rounding); } else { // no application connected yet tobeApplied = itemTotal; } if (debug) Debug.logInfo("tobeApplied:(" + tobeApplied + ") = " + "itemTotal(" + itemTotal + ") - alreadyApplied(" + alreadyApplied + ") but not more then (nonapplied) paymentAmount(" + paymentApplyAvailable + ")", module); if (tobeApplied.signum() == 0) { // invoiceItem already fully applied so look at the next one.... continue; } if (paymentApplyAvailable.compareTo(tobeApplied) > 0) { paymentApplyAvailable = paymentApplyAvailable.subtract(tobeApplied); } else { tobeApplied = paymentApplyAvailable; paymentApplyAvailable = new BigDecimal("0"); } // create application payment record but check currency // first if supplied if (invoiceItem.get("uomId") != null && payment.get("currencyUomId") != null && !invoiceItem.getString("uomId").equals(payment.getString("currencyUomId"))) { errorMessageList.add("Payment currency (" + payment.getString("currencyUomId") + ") and invoice Item(" + invoiceItem.getString("invoiceItemSeqId") + ") currency(" + invoiceItem.getString("uomId") + ") not the same\n"); } else if (invoice.get("currencyUomId") != null && payment.get("currencyUomId") != null && !invoice.getString("currencyUomId").equals( payment.getString("currencyUomId"))) { errorMessageList.add("Payment currency (" + payment.getString("currencyUomId") + ") and invoice currency(" + invoice.getString("currencyUomId") + ") not the same\n"); } else { paymentApplication.set("paymentApplicationId", null); // make sure we get a new record paymentApplication.set("invoiceId", invoiceId); paymentApplication.set("invoiceItemSeqId", invoiceItem.getString("invoiceItemSeqId")); paymentApplication.set("paymentId", paymentId); paymentApplication.set("toPaymentId", toPaymentId); paymentApplication.set("amountApplied", new Double( tobeApplied.doubleValue())); paymentApplication.set("billingAccountId", billingAccountId); paymentApplication.set("taxAuthGeoId", taxAuthGeoId); storePaymentApplication(delegator, paymentApplication,locale); } // check if either the invoice or the payment is fully // applied, when yes change the status to paid // which triggers the ledger routines.... /* * if * (InvoiceWorker.getInvoiceTotalBd(invoice).equals(InvoiceWorker.getInvoiceAppliedBd(invoice))) { * try { dispatcher.runSync("setInvoiceStatus", * UtilMisc.toMap("invoiceId",invoiceId,"statusId","INVOICE_PAID")); } * catch (GenericServiceException e1) { * Debug.logError(e1, "Error updating invoice status", * module); } } * * if * (payment.getBigDecimal("amount").equals(PaymentWorker.getPaymentAppliedBd(payment))) { * GenericValue appliedPayment = (GenericValue) * delegator.makeValue("Payment", * UtilMisc.toMap("paymentId",paymentId,"statusId","INVOICE_PAID")); * try { appliedPayment.store(); } catch * (GenericEntityException e) { * ServiceUtil.returnError(e.getMessage()); } } */ } if (errorMessageList.size() > 0) { return ServiceUtil.returnError(errorMessageList); } else { if (successMessage != null) { return ServiceUtil.returnSuccess(successMessage); } else { return ServiceUtil.returnSuccess(); } } } } } // if no paymentApplicationId supplied create a new record with the data // supplied... if (paymentApplicationId == null && amountApplied != null) { paymentApplication.set("paymentApplicationId", paymentApplicationId); paymentApplication.set("invoiceId", invoiceId); paymentApplication.set("invoiceItemSeqId", invoiceItemSeqId); paymentApplication.set("paymentId", paymentId); paymentApplication.set("toPaymentId", toPaymentId); paymentApplication.set("amountApplied", new Double(amountApplied.doubleValue())); paymentApplication.set("billingAccountId", billingAccountId); paymentApplication.set("taxAuthGeoId", taxAuthGeoId); return storePaymentApplication(delegator, paymentApplication,locale); } // should never come here... errorMessageList.add("??unsuitable parameters passed...?? This message.... should never be shown\n"); errorMessageList.add("--Input parameters...InvoiceId:" + invoiceId + " invoiceItemSeqId:" + invoiceItemSeqId + " PaymentId:" + paymentId + " toPaymentId:" + toPaymentId + "\n paymentApplicationId:" + paymentApplicationId + " amountApplied:" + amountApplied); return ServiceUtil.returnError(errorMessageList); }
|
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/6bc8f4f6824f34ad879f367b482304e0d2cd11c1/InvoiceServices.java/buggy/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1635,
1089,
6032,
3208,
3262,
38,
72,
12,
5325,
1042,
302,
5900,
16,
1635,
819,
13,
288,
5411,
7928,
15608,
639,
11158,
639,
273,
302,
5900,
18,
588,
15608,
639,
5621,
5411,
6458,
2573,
273,
261,
3916,
13,
819,
18,
588,
2932,
6339,
8863,
3639,
309,
261,
31734,
422,
300,
21,
747,
13885,
422,
300,
21,
13,
288,
5411,
327,
1956,
1304,
18,
2463,
668,
12,
1304,
2297,
18,
24906,
12,
3146,
10837,
3032,
310,
37,
583,
81,
7943,
2297,
1248,
15334,
3113,
6339,
10019,
3639,
289,
3639,
309,
16051,
2472,
18,
12298,
653,
2932,
1202,
8573,
395,
6275,
6,
3719,
288,
5411,
819,
18,
458,
2932,
1202,
8573,
395,
6275,
15937,
61,
8863,
3639,
289,
3639,
514,
805,
10467,
7798,
273,
3564,
2297,
18,
588,
16107,
2932,
3032,
310,
809,
15937,
16119,
7798,
20387,
10492,
5621,
7734,
1250,
1198,
273,
638,
31,
368,
2405,
4929,
2743,
316,
326,
613,
838,
280,
486,
6265,
3639,
368,
279,
296,
93,
11,
316,
9179,
626,
1049,
281,
310,
341,
330,
4219,
326,
805,
4929,
3639,
514,
2549,
7798,
273,
261,
780,
13,
819,
18,
588,
2932,
16119,
7798,
8863,
3639,
514,
9179,
548,
273,
261,
780,
13,
819,
18,
588,
2932,
16119,
548,
8863,
3639,
514,
9179,
1180,
6926,
548,
273,
261,
780,
13,
819,
18,
588,
2932,
16119,
1180,
6926,
548,
8863,
3639,
514,
5184,
548,
273,
261,
780,
13,
819,
18,
588,
2932,
9261,
548,
8863,
3639,
514,
358,
6032,
548,
273,
261,
780,
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,
1635,
1089,
6032,
3208,
3262,
38,
72,
12,
5325,
1042,
302,
5900,
16,
1635,
819,
13,
288,
5411,
7928,
15608,
639,
11158,
639,
273,
302,
5900,
18,
588,
15608,
639,
5621,
5411,
6458,
2573,
273,
261,
3916,
13,
819,
18,
588,
2932,
6339,
8863,
3639,
309,
261,
31734,
422,
300,
21,
747,
13885,
422,
300,
21,
13,
288,
5411,
327,
1956,
1304,
18,
2463,
668,
12,
1304,
2297,
18,
24906,
12,
3146,
10837,
3032,
310,
37,
583,
81,
7943,
2297,
1248,
15334,
3113,
6339,
10019,
3639,
289,
3639,
309,
16051,
2472,
18,
12298,
653,
2932,
1202,
8573,
395,
6275,
6,
3719,
288,
5411,
819,
18,
458,
2932,
1202,
8573,
395,
6275,
15937,
61,
8863,
3639,
289,
2
] |
public MockDatabase() {
|
public MockDatabase(String dbName) { m_dbName = dbName;
|
public MockDatabase() { try { Class.forName("org.hsqldb.jdbcDriver" ); } catch (Exception e) { throw new RuntimeException("Unable to locate hypersonic driver"); } create(); }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/7fc2867031a646336a69eb6ad11ecd8b103f983e/MockDatabase.java/buggy/src/services/org/opennms/netmgt/mock/MockDatabase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7867,
4254,
12,
780,
15158,
13,
288,
312,
67,
1966,
461,
273,
15158,
31,
3639,
775,
288,
5411,
1659,
18,
1884,
461,
2932,
3341,
18,
4487,
1217,
1966,
18,
24687,
4668,
6,
11272,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
604,
394,
3235,
2932,
3370,
358,
10627,
16117,
3565,
335,
3419,
8863,
3639,
289,
3639,
752,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1071,
7867,
4254,
12,
780,
15158,
13,
288,
312,
67,
1966,
461,
273,
15158,
31,
3639,
775,
288,
5411,
1659,
18,
1884,
461,
2932,
3341,
18,
4487,
1217,
1966,
18,
24687,
4668,
6,
11272,
3639,
289,
1044,
261,
503,
425,
13,
288,
5411,
604,
394,
3235,
2932,
3370,
358,
10627,
16117,
3565,
335,
3419,
8863,
3639,
289,
3639,
752,
5621,
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
] |
+ "(SELECT t.tgargs, t.tgconstrname, p.proname, t.tgdeferrable," + "t.tginitdeferred "
|
+ "(SELECT t.tgargs, t.tgconstrname, p.proname," + "t.tgdeferrable, t.tginitdeferred "
|
public java.sql.ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException { Field f[] = new Field[14]; f[0] = new Field(connection, "PKTABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "PKTABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "PKTABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "PKCOLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "FKTABLE_CAT", iVarcharOid, 32); f[5] = new Field(connection, "FKTABLE_SCHEM", iVarcharOid, 32); f[6] = new Field(connection, "FKTABLE_NAME", iVarcharOid, 32); f[7] = new Field(connection, "FKCOLUMN_NAME", iVarcharOid, 32); f[8] = new Field(connection, "KEY_SEQ", iInt2Oid, 2); f[9] = new Field(connection, "UPDATE_RULE", iInt2Oid, 2); f[10] = new Field(connection, "DELETE_RULE", iInt2Oid, 2); f[11] = new Field(connection, "FK_NAME", iVarcharOid, 32); f[12] = new Field(connection, "PK_NAME", iVarcharOid, 32); f[13] = new Field(connection, "DEFERRABILITY", iInt2Oid, 2); java.sql.ResultSet rs = connection.ExecSQL("SELECT a.tgargs," + "substring(a.proname from 9 for (char_length(a.proname)-12))," + "substring(b.proname from 9 for (char_length(b.proname)-12))," + "a.tgdeferrable," + "a.tginitdeferred " + "FROM " + "(SELECT t.tgargs, t.tgconstrname, p.proname, t.tgdeferrable," + "t.tginitdeferred " + "FROM pg_class as c, pg_proc as p, pg_trigger as t " + "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_upd') as a," + "(SELECT t.tgconstrname, p.proname " + "FROM pg_class as c, pg_proc as p, pg_trigger as t " + "WHERE c.relfilenode=t.tgrelid AND t.tgfoid = p.oid " + "AND p.proname LIKE 'RI_FKey_%_del') as b," + "(SELECT t.tgconstrname FROM pg_class as c, pg_trigger as t " + "WHERE c.relname like '"+table+"' AND c.relfilenode=t.tgrelid) as c " + "WHERE a.tgconstrname=b.tgconstrname AND a.tgconstrname=c.tgconstrname" ); Vector tuples = new Vector(); while (rs.next()) { tuples.add(parseConstraint(rs)); } return new ResultSet(connection, f, tuples, "OK", 1); }
|
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/355cc69dfce59c417b24ce9957824dfb565bc0f7/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
26246,
1798,
2396,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
13,
1216,
6483,
202,
95,
7734,
2286,
284,
8526,
273,
394,
2286,
63,
3461,
15533,
7734,
284,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
13121,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
13121,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
26,
65,
273,
394,
2286,
12,
4071,
16,
315,
13121,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
27,
65,
273,
394,
2286,
12,
4071,
16,
315,
13121,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
28,
65,
273,
394,
2286,
12,
4071,
16,
315,
3297,
67,
28114,
3113,
277,
1702,
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,
2252,
18,
4669,
18,
13198,
26246,
1798,
2396,
12,
780,
6222,
16,
514,
1963,
16,
514,
1014,
13,
1216,
6483,
202,
95,
7734,
2286,
284,
8526,
273,
394,
2286,
63,
3461,
15533,
7734,
284,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
8784,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
7734,
284,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
2
] |
return rs.getTimestamp(timestampColumn).getTime();
|
Timestamp ts = rs.getTimestamp(timestampColumn); return ts != null ? ts.getTime() : 0;
|
private long readLastModified(Resource resource, String i_operation) { /* * get the template name from the resource */ String name = resource.getName(); try { Connection conn = openDbConnection(); try { ResultSet rs = readData(conn, timestampColumn, name); try { if (rs.next()) { return rs.getTimestamp(timestampColumn).getTime(); } else { log.error("DataSourceResourceLoader : while " + i_operation + " could not find resource " + name); } } finally { rs.close(); } } finally { closeDbConnection(conn); } } catch(SQLException e) { String msg = "DataSourceResourceLoader : error while " + i_operation + " when trying to load resource " + name; log.error(msg, e); throw ExceptionUtils.createRuntimeException(msg, e); } catch(NamingException e) { String msg = "DataSourceResourceLoader : error while " + i_operation + " when trying to load resource " + name; log.error(msg, e); throw ExceptionUtils.createRuntimeException(msg, e); } return 0; }
|
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/b49677ce81dda91f0152f56395118dd5fb55e28f/DataSourceResourceLoader.java/clean/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
3238,
1525,
855,
14747,
12,
1420,
1058,
16,
514,
277,
67,
7624,
13,
1377,
288,
540,
1748,
1850,
380,
225,
336,
326,
1542,
508,
628,
326,
1058,
1850,
1195,
540,
514,
508,
273,
1058,
18,
17994,
5621,
1171,
775,
540,
288,
2398,
4050,
1487,
273,
1696,
4331,
1952,
5621,
2398,
775,
2398,
288,
1171,
10842,
3597,
273,
20913,
12,
4646,
16,
2858,
1494,
16,
508,
1769,
1171,
775,
1171,
288,
5397,
309,
261,
5453,
18,
4285,
10756,
5397,
288,
7682,
8159,
3742,
273,
3597,
18,
588,
4921,
12,
5508,
1494,
1769,
327,
3742,
480,
446,
692,
3742,
18,
588,
950,
1435,
294,
374,
31,
5397,
289,
5397,
469,
5397,
288,
7682,
613,
18,
1636,
2932,
8597,
1420,
2886,
294,
1323,
315,
4766,
282,
397,
277,
67,
7624,
397,
315,
3377,
486,
1104,
1058,
315,
4766,
282,
397,
508,
1769,
5397,
289,
1171,
289,
1171,
3095,
1171,
288,
5397,
3597,
18,
4412,
5621,
1171,
289,
2398,
289,
2398,
3095,
2398,
288,
1171,
1746,
4331,
1952,
12,
4646,
1769,
2398,
289,
540,
289,
540,
1044,
12,
23116,
425,
13,
540,
288,
2398,
514,
1234,
273,
315,
8597,
1420,
2886,
294,
555,
1323,
315,
1171,
397,
277,
67,
7624,
397,
315,
1347,
8374,
358,
1262,
1058,
315,
1171,
397,
508,
31,
2398,
613,
18,
1636,
12,
3576,
16,
425,
1769,
2398,
604,
1185,
1989,
18,
2640,
11949,
12,
3576,
16,
425,
1769,
1377,
289,
540,
1044,
12,
24102,
503,
425,
13,
540,
288,
2398,
514,
1234,
273,
315,
8597,
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,
1377,
3238,
1525,
855,
14747,
12,
1420,
1058,
16,
514,
277,
67,
7624,
13,
1377,
288,
540,
1748,
1850,
380,
225,
336,
326,
1542,
508,
628,
326,
1058,
1850,
1195,
540,
514,
508,
273,
1058,
18,
17994,
5621,
1171,
775,
540,
288,
2398,
4050,
1487,
273,
1696,
4331,
1952,
5621,
2398,
775,
2398,
288,
1171,
10842,
3597,
273,
20913,
12,
4646,
16,
2858,
1494,
16,
508,
1769,
1171,
775,
1171,
288,
5397,
309,
261,
5453,
18,
4285,
10756,
5397,
288,
7682,
8159,
3742,
273,
3597,
18,
588,
4921,
12,
5508,
1494,
1769,
327,
3742,
480,
446,
692,
3742,
18,
588,
950,
1435,
294,
374,
31,
5397,
289,
5397,
469,
5397,
288,
7682,
613,
18,
1636,
2932,
8597,
1420,
2886,
2
] |
} );
|
} );
|
protected void createExtendedMetaDataAnnotations( ) { String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$ addAnnotation( axisEClass, source, new String[]{ "name", "Axis", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Type( ), source, new String[]{ "kind", "element", "name", "Type" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Title( ), source, new String[]{ "kind", "element", "name", "Title" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_SubTitle( ), source, new String[]{ "kind", "element", "name", "SubTitle" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_TitlePosition( ), source, new String[]{ "kind", "element", "name", "TitlePosition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_AssociatedAxes( ), source, new String[]{ "kind", "element", "name", "AssociatedAxes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_SeriesDefinitions( ), source, new String[]{ "kind", "element", "name", "SeriesDefinitions" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_GapWidth( ), source, new String[]{ "kind", "element", "name", "GapWidth" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Orientation( ), source, new String[]{ "kind", "element", "name", "Orientation" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_LineAttributes( ), source, new String[]{ "kind", "element", "name", "LineAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_FormatSpecifier( ), source, new String[]{ "kind", "element", "name", "FormatSpecifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_LabelPosition( ), source, new String[]{ "kind", "element", "name", "LabelPosition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Staggered( ), source, new String[]{ "kind", "element", "name", "Staggered" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MarkerLines( ), source, new String[]{ "kind", "element", "name", "MarkerLines" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MarkerRanges( ), source, new String[]{ "kind", "element", "name", "MarkerRanges" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MajorGrid( ), source, new String[]{ "kind", "element", "name", "MajorGrid" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MinorGrid( ), source, new String[]{ "kind", "element", "name", "MinorGrid" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Scale( ), source, new String[]{ "kind", "element", "name", "Scale" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Origin( ), source, new String[]{ "kind", "element", "name", "Origin" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_PrimaryAxis( ), source, new String[]{ "kind", "element", "name", "PrimaryAxis" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_CategoryAxis( ), source, new String[]{ "kind", "element", "name", "CategoryAxis" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Percent( ), source, new String[]{ "kind", "element", "name", "Percent" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( chartPreferencesEClass, source, new String[]{ "name", "ChartPreferences", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getChartPreferences_Labels( ), source, new String[]{ "kind", "element", "name", "Labels" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getChartPreferences_Blocks( ), source, new String[]{ "kind", "element", "name", "Blocks" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( gridEClass, source, new String[]{ "name", "Grid", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_LineAttributes( ), source, new String[]{ "kind", "element", "name", "LineAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickStyle( ), source, new String[]{ "kind", "element", "name", "TickStyle" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickAttributes( ), source, new String[]{ "kind", "element", "name", "TickAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickSize( ), source, new String[]{ "kind", "element", "name", "TickSize" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickCount( ), source, new String[]{ "kind", "element", "name", "TickCount" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( labelEClass, source, new String[]{ "name", "Label", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Caption( ), source, new String[]{ "kind", "element", "name", "Caption" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Background( ), source, new String[]{ "kind", "element", "name", "Background" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Outline( ), source, new String[]{ "kind", "element", "name", "Outline" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_ShadowColor( ), source, new String[]{ "kind", "element", "name", "ShadowColor" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Insets( ), source, new String[]{ "kind", "element", "name", "Insets" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Visible( ), source, new String[]{ "kind", "element", "name", "Visible" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( markerLineEClass, source, new String[]{ "name", "MarkerLine", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_LineAttributes( ), source, new String[]{ "kind", "element", "name", "LineAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_Value( ), source, new String[]{ "kind", "element", "name", "Value" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_LabelAnchor( ), source, new String[]{ "kind", "element", "name", "LabelAnchor" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_FormatSpecifier( ), source, new String[]{ "kind", "element", "name", "FormatSpecifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( markerRangeEClass, source, new String[]{ "name", "MarkerRange", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_Outline( ), source, new String[]{ "kind", "element", "name", "Outline" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_Fill( ), source, new String[]{ "kind", "element", "name", "Fill" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_StartValue( ), source, new String[]{ "kind", "element", "name", "StartValue" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_EndValue( ), source, new String[]{ "kind", "element", "name", "EndValue" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_LabelAnchor( ), source, new String[]{ "kind", "element", "name", "LabelAnchor" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_FormatSpecifier( ), source, new String[]{ "kind", "element", "name", "FormatSpecifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( scaleEClass, source, new String[]{ "name", "Scale", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Min( ), source, new String[]{ "kind", "element", "name", "Min" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Max( ), source, new String[]{ "kind", "element", "name", "Max" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Step( ), source, new String[]{ "kind", "element", "name", "Step" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Unit( ), source, new String[]{ "kind", "element", "name", "Unit" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_MinorGridsPerUnit( ), source, new String[]{ "kind", "element", "name", "MinorGridsPerUnit" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( seriesEClass, source, new String[]{ "name", "Series", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Visible( ), source, new String[]{ "kind", "element", "name", "Visible" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_DataDefinition( ), source, new String[]{ "kind", "element", "name", "DataDefinition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_SeriesIdentifier( ), source, new String[]{ "kind", "element", "name", "SeriesIdentifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_DataPoint( ), source, new String[]{ "kind", "element", "name", "DataPoint" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_DataSet( ), source, new String[]{ "kind", "element", "name", "DataSet" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_LabelPosition( ), source, new String[]{ "kind", "element", "name", "LabelPosition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Stacked( ), source, new String[]{ "kind", "element", "name", "Stacked" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Triggers( ), source, new String[]{ "kind", "element", "name", "Triggers" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Translucent( ), source, new String[]{ "kind", "element", "name", "Translucent" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/bdab78403751f288b76844a99f50b999c34fb491/ComponentPackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
11456,
6998,
5655,
12,
262,
202,
95,
202,
202,
780,
1084,
273,
315,
2505,
2207,
19,
3341,
19,
20416,
19,
351,
74,
19,
557,
479,
19,
1367,
19,
11456,
6998,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
3257,
12,
2654,
5720,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
529,
3113,
315,
6558,
3113,
315,
9224,
3113,
315,
2956,
3386,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
559,
12,
262,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
9224,
3113,
315,
2956,
3113,
315,
529,
3113,
315,
559,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
4247,
12,
262,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
9224,
3113,
315,
2956,
3113,
315,
529,
3113,
315,
4247,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
1676,
4247,
12,
262,
16,
1084,
16,
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,
752,
11456,
6998,
5655,
12,
262,
202,
95,
202,
202,
780,
1084,
273,
315,
2505,
2207,
19,
3341,
19,
20416,
19,
351,
74,
19,
557,
479,
19,
1367,
19,
11456,
6998,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
3257,
12,
2654,
5720,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
529,
3113,
315,
6558,
3113,
315,
9224,
3113,
315,
2956,
3386,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
559,
12,
262,
16,
1084,
16,
394,
2
] |
(CompilationUnit)node,
|
node,
|
public static AnnotationProcessorEnvironment getEnvironment(ICompilationUnit compilationUnit, IJavaProject javaProject ) { //return ProcessorEnvImpl.newProcessorEnvironmentForReconcile( compilationUnit, javaProject ); String unitName = compilationUnit.getResource().getProjectRelativePath().toString(); ASTNode node = BaseProcessorEnv.createDietAST( unitName, javaProject, compilationUnit, null ); BaseProcessorEnv env = new BaseProcessorEnv( (CompilationUnit)node, (IFile)compilationUnit.getResource(), javaProject, Phase.OTHER ); return env; }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/dbb59802bd05ea277b4706afb85d6b75d5bdff2a/EnvironmentFactory.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/env/EnvironmentFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6090,
5164,
5494,
16613,
12,
45,
19184,
2802,
8916,
2802,
16,
467,
5852,
4109,
2252,
4109,
262,
202,
95,
202,
202,
759,
2463,
15476,
3491,
2828,
18,
2704,
5164,
5494,
1290,
426,
11504,
398,
12,
8916,
2802,
16,
2252,
4109,
11272,
202,
202,
780,
2836,
461,
273,
225,
8916,
2802,
18,
588,
1420,
7675,
588,
4109,
16519,
7675,
10492,
5621,
202,
202,
9053,
907,
756,
273,
3360,
5164,
3491,
18,
2640,
40,
6213,
9053,
12,
2836,
461,
16,
2252,
4109,
16,
8916,
2802,
16,
446,
11272,
3639,
202,
2171,
5164,
3491,
1550,
273,
394,
3360,
5164,
3491,
12,
3639,
1082,
202,
2159,
16,
3639,
1082,
202,
12,
45,
812,
13,
2919,
6613,
2802,
18,
588,
1420,
9334,
3639,
1082,
202,
6290,
4109,
16,
3639,
1082,
202,
11406,
18,
23940,
3639,
1082,
202,
1769,
3639,
202,
2463,
1550,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6090,
5164,
5494,
16613,
12,
45,
19184,
2802,
8916,
2802,
16,
467,
5852,
4109,
2252,
4109,
262,
202,
95,
202,
202,
759,
2463,
15476,
3491,
2828,
18,
2704,
5164,
5494,
1290,
426,
11504,
398,
12,
8916,
2802,
16,
2252,
4109,
11272,
202,
202,
780,
2836,
461,
273,
225,
8916,
2802,
18,
588,
1420,
7675,
588,
4109,
16519,
7675,
10492,
5621,
202,
202,
9053,
907,
756,
273,
3360,
5164,
3491,
18,
2640,
40,
6213,
9053,
12,
2836,
461,
16,
2252,
4109,
16,
8916,
2802,
16,
446,
11272,
3639,
202,
2171,
5164,
3491,
1550,
273,
394,
3360,
5164,
3491,
12,
3639,
1082,
202,
2159,
16,
3639,
1082,
202,
12,
45,
812,
13,
2919,
6613,
2802,
18,
588,
2
] |
public TarBuffer( InputStream inStream, int blockSize, int recordSize )
|
public TarBuffer( InputStream inStream )
|
public TarBuffer( InputStream inStream, int blockSize, int recordSize ) { this.inStream = inStream; this.outStream = null; this.initialize( blockSize, recordSize ); }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/255020c002e99c42ba08342cbc874a0a5737d24c/TarBuffer.java/buggy/proposal/myrmidon/src/main/org/apache/tools/tar/TarBuffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
20334,
1892,
12,
5037,
28987,
262,
565,
288,
3639,
333,
18,
267,
1228,
273,
28987,
31,
3639,
333,
18,
659,
1228,
273,
446,
31,
3639,
333,
18,
11160,
12,
13766,
16,
1409,
1225,
11272,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
20334,
1892,
12,
5037,
28987,
262,
565,
288,
3639,
333,
18,
267,
1228,
273,
28987,
31,
3639,
333,
18,
659,
1228,
273,
446,
31,
3639,
333,
18,
11160,
12,
13766,
16,
1409,
1225,
11272,
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
] |
public void run() { _junitErrorPanel.getErrorListPane().testEnded(name, succeeded, causedError); _junitErrorPanel.progressStep(succeeded); _model.refreshActiveDocument(); }
|
public void run() { _junitErrorPanel.getErrorListPane().testStarted(name); /* this does nothing! */ }
|
public void run() { _junitErrorPanel.getErrorListPane().testEnded(name, succeeded, causedError); // this does nothing! _junitErrorPanel.progressStep(succeeded); _model.refreshActiveDocument(); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/89ce626553f46c8001d10031c8a245d2124e251e/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
389,
78,
4873,
668,
5537,
18,
588,
668,
682,
8485,
7675,
3813,
28362,
12,
529,
16,
15784,
16,
15848,
668,
1769,
368,
333,
1552,
5083,
5,
1850,
389,
78,
4873,
668,
5537,
18,
8298,
4160,
12,
87,
20983,
1769,
1850,
389,
2284,
18,
9144,
3896,
2519,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1086,
1435,
288,
1850,
389,
78,
4873,
668,
5537,
18,
588,
668,
682,
8485,
7675,
3813,
28362,
12,
529,
16,
15784,
16,
15848,
668,
1769,
368,
333,
1552,
5083,
5,
1850,
389,
78,
4873,
668,
5537,
18,
8298,
4160,
12,
87,
20983,
1769,
1850,
389,
2284,
18,
9144,
3896,
2519,
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
] |
int key_i = i == nPrefix ? key : prefixKeys[i]; if (pendingMeta) key_i |= ((META_MASK|PRESSED) << 16); Object command = keymap.get(key_i, false); Object metaCommand; if (command == null && (getModifiers(key_i) & META_MASK) != 0 && (metaCommand = keymap.get(metaKey, false)) instanceof EKeymap) { command = ((EKeymap) metaCommand).get(stripMeta(key_i), false); } i++; if (command == null) { if (ignorable(key)) { return EToolkit.getInstance().getIgnoreAction(); } else return keymap.getDefaultBinding(); } if (i == nKeys) return command; Object comm; if (command instanceof String || command instanceof Symbol) command = Command.resolveSymbol(command); if (command instanceof EKeymap) keymap = (EKeymap) command; else return null;
|
prefixKeys[i] = asKeyStroke(enumKeys.nextElement());
|
public Object lookupKey(int[] prefixKeys, int nPrefix, int key, boolean acceptDefaults) { EKeymap keymap = this; int nKeys = nPrefix + (key != 0 ? 1 : 0); boolean pendingMeta = false; if (nKeys == 0) throw new Error("no keys"); for (int i = 0; ; ) { int key_i = i == nPrefix ? key : prefixKeys[i]; if (pendingMeta) key_i |= ((META_MASK|PRESSED) << 16); Object command = keymap.get(key_i, false); Object metaCommand; if (command == null && (getModifiers(key_i) & META_MASK) != 0 && (metaCommand = keymap.get(metaKey, false)) instanceof EKeymap) { command = ((EKeymap) metaCommand).get(stripMeta(key_i), false); } i++; if (command == null) { if (ignorable(key)) { return EToolkit.getInstance().getIgnoreAction(); } else return keymap.getDefaultBinding(); } if (i == nKeys) return command; Object comm; if (command instanceof String || command instanceof Symbol) command = Command.resolveSymbol(command); if (command instanceof EKeymap) keymap = (EKeymap) command; else return null; } }
|
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/250ab0b57383c119dd271f4d5cff804c36031c5b/EKeymap.java/buggy/gnu/jemacs/buffer/EKeymap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
3689,
653,
12,
474,
8526,
1633,
2396,
16,
509,
290,
2244,
16,
9506,
225,
509,
498,
16,
1250,
2791,
7019,
13,
225,
288,
565,
512,
653,
1458,
498,
1458,
273,
333,
31,
565,
509,
290,
2396,
273,
290,
2244,
397,
261,
856,
480,
374,
692,
404,
294,
374,
1769,
565,
1250,
4634,
2781,
273,
629,
31,
565,
309,
261,
82,
2396,
422,
374,
13,
377,
604,
394,
1068,
2932,
2135,
1311,
8863,
565,
364,
261,
474,
277,
273,
374,
31,
225,
274,
262,
1377,
288,
3639,
509,
498,
67,
77,
273,
277,
422,
290,
2244,
692,
498,
294,
1633,
2396,
63,
77,
15533,
3639,
309,
261,
9561,
2781,
13,
1850,
498,
67,
77,
5626,
14015,
19294,
67,
11704,
96,
27388,
13,
2296,
2872,
1769,
3639,
1033,
1296,
273,
498,
1458,
18,
588,
12,
856,
67,
77,
16,
629,
1769,
3639,
1033,
2191,
2189,
31,
3639,
309,
261,
3076,
422,
446,
5411,
597,
261,
588,
11948,
12,
856,
67,
77,
13,
473,
16970,
67,
11704,
13,
480,
374,
5411,
597,
261,
3901,
2189,
273,
498,
1458,
18,
588,
12,
3901,
653,
16,
629,
3719,
1276,
512,
653,
1458,
13,
1850,
288,
5411,
1296,
273,
14015,
41,
653,
1458,
13,
2191,
2189,
2934,
588,
12,
6406,
2781,
12,
856,
67,
77,
3631,
629,
1769,
1850,
289,
3639,
277,
9904,
31,
3639,
309,
261,
3076,
422,
446,
13,
1850,
288,
5411,
309,
261,
724,
15514,
12,
856,
3719,
5411,
288,
2868,
327,
512,
6364,
8691,
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,
282,
1071,
1033,
3689,
653,
12,
474,
8526,
1633,
2396,
16,
509,
290,
2244,
16,
9506,
225,
509,
498,
16,
1250,
2791,
7019,
13,
225,
288,
565,
512,
653,
1458,
498,
1458,
273,
333,
31,
565,
509,
290,
2396,
273,
290,
2244,
397,
261,
856,
480,
374,
692,
404,
294,
374,
1769,
565,
1250,
4634,
2781,
273,
629,
31,
565,
309,
261,
82,
2396,
422,
374,
13,
377,
604,
394,
1068,
2932,
2135,
1311,
8863,
565,
364,
261,
474,
277,
273,
374,
31,
225,
274,
262,
1377,
288,
3639,
509,
498,
67,
77,
273,
277,
422,
290,
2244,
692,
498,
294,
1633,
2396,
63,
77,
15533,
3639,
309,
261,
9561,
2781,
13,
1850,
498,
67,
77,
5626,
14015,
19294,
2
] |
return (EAttribute)colorDefinitionEClass.getEStructuralFeatures().get(2);
|
return (EAttribute) colorDefinitionEClass.getEStructuralFeatures().get(2);
|
public EAttribute getColorDefinition_Green() { return (EAttribute)colorDefinitionEClass.getEStructuralFeatures().get(2); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/AttributePackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/AttributePackageImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
512,
1499,
15672,
1852,
67,
21453,
1435,
565,
288,
3639,
327,
261,
41,
1499,
13,
2036,
1852,
5720,
18,
588,
41,
14372,
8696,
7675,
588,
12,
22,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
512,
1499,
15672,
1852,
67,
21453,
1435,
565,
288,
3639,
327,
261,
41,
1499,
13,
2036,
1852,
5720,
18,
588,
41,
14372,
8696,
7675,
588,
12,
22,
1769,
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
] |
String[] tsoArray; if (tso == null) { tsoArray = new String[0]; } else { tsoArray = (String[])tso.toArray(new String[tso.size()]); } esiProvider.invokeProvider(monitor, project, buildInfo, tsoArray);
|
esiProvider.invokeProvider(monitor, project, buildInfo, tso);
|
private void getProviderScannerInfo(final IProject project, final List tso, final IProgressMonitor monitor) { // get IScannerConfigBuilderInfo IScannerConfigBuilderInfo info; try { info = MakeCorePlugin.createScannerConfigBuildInfo( project, ScannerConfigBuilder.BUILDER_ID); } catch (CoreException e) { info = MakeCorePlugin.createScannerConfigBuildInfo( MakeCorePlugin.getDefault().getPluginPreferences(), ScannerConfigBuilder.BUILDER_ID, false); } if (info.isESIProviderCommandEnabled()) { final IScannerConfigBuilderInfo buildInfo = info; final IExternalScannerInfoProvider esiProvider = MakeCorePlugin.getDefault(). getExternalScannerInfoProvider(MakeCorePlugin.DEFAULT_EXTERNAL_SI_PROVIDER_ID); if (esiProvider != null) { ISafeRunnable runnable = new ISafeRunnable() { public void run() { String[] tsoArray; if (tso == null) { tsoArray = new String[0]; } else { tsoArray = (String[])tso.toArray(new String[tso.size()]); } esiProvider.invokeProvider(monitor, project, buildInfo, tsoArray); } public void handleException(Throwable exception) { MakeCorePlugin.log(exception); } }; Platform.run(runnable); } } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/3303fed1efcdd933b03792e66dbb45bedd1d754d/ScannerInfoCollector.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/ScannerInfoCollector.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
16137,
11338,
966,
12,
6385,
467,
4109,
1984,
16,
17322,
202,
202,
6385,
987,
268,
2048,
16,
17322,
202,
202,
6385,
467,
5491,
7187,
6438,
13,
288,
202,
202,
759,
336,
467,
11338,
809,
1263,
966,
202,
202,
45,
11338,
809,
1263,
966,
1123,
31,
202,
202,
698,
288,
1082,
202,
1376,
273,
4344,
4670,
3773,
18,
2640,
11338,
809,
3116,
966,
12,
6862,
202,
4406,
16,
19074,
809,
1263,
18,
3000,
2627,
4179,
67,
734,
1769,
202,
202,
97,
202,
202,
14683,
261,
25341,
425,
13,
288,
1082,
202,
1376,
273,
4344,
4670,
3773,
18,
2640,
11338,
809,
3116,
966,
12,
6862,
202,
6464,
4670,
3773,
18,
588,
1868,
7675,
588,
3773,
12377,
9334,
4405,
202,
11338,
809,
1263,
18,
3000,
2627,
4179,
67,
734,
16,
629,
1769,
202,
202,
97,
202,
202,
430,
261,
1376,
18,
291,
41,
2320,
2249,
2189,
1526,
10756,
288,
1082,
202,
6385,
467,
11338,
809,
1263,
966,
1361,
966,
273,
1123,
31,
1082,
202,
6385,
467,
6841,
11338,
966,
2249,
27453,
2249,
273,
4344,
4670,
3773,
18,
588,
1868,
7675,
9506,
202,
588,
6841,
11338,
966,
2249,
12,
6464,
4670,
3773,
18,
5280,
67,
2294,
11702,
67,
2320,
67,
26413,
67,
734,
1769,
1082,
202,
430,
261,
281,
77,
2249,
480,
446,
13,
288,
9506,
202,
5127,
2513,
20013,
14685,
273,
394,
4437,
2513,
20013,
1435,
288,
6862,
202,
482,
918,
1086,
1435,
288,
25083,
202,
780,
8526,
268,
2048,
1076,
31,
25083,
202,
430,
261,
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,
918,
16137,
11338,
966,
12,
6385,
467,
4109,
1984,
16,
17322,
202,
202,
6385,
987,
268,
2048,
16,
17322,
202,
202,
6385,
467,
5491,
7187,
6438,
13,
288,
202,
202,
759,
336,
467,
11338,
809,
1263,
966,
202,
202,
45,
11338,
809,
1263,
966,
1123,
31,
202,
202,
698,
288,
1082,
202,
1376,
273,
4344,
4670,
3773,
18,
2640,
11338,
809,
3116,
966,
12,
6862,
202,
4406,
16,
19074,
809,
1263,
18,
3000,
2627,
4179,
67,
734,
1769,
202,
202,
97,
202,
202,
14683,
261,
25341,
425,
13,
288,
1082,
202,
1376,
273,
4344,
4670,
3773,
18,
2640,
11338,
809,
3116,
966,
12,
6862,
202,
6464,
4670,
3773,
18,
588,
1868,
7675,
588,
3773,
12377,
9334,
2
] |
dbcs = new DBConnectionSpec(); dbcsPanel.applyChanges(dbcs); historyBox.addItem(ASUtils.lvb(dbcs.getDisplayName(), dbcs));
|
dbcsPanel.applyChanges(); DBConnectionSpec dbcs = dbcsPanel.getDbcs(); connectionsBox.addItem(ASUtils.lvb(dbcs.getDisplayName(), dbcs)); ArchitectFrame.getMainInstance().getUserSettings().getConnections().add(dbcs);
|
public void actionPerformed(ActionEvent e) { final JDialog d = new JDialog(ArchitectFrame.getMainInstance(), "New PL Repository Connection"); JPanel plr = new JPanel(new BorderLayout(12,12)); plr.setBorder(BorderFactory.createEmptyBorder(12,12,12,12)); final DBCSPanel dbcsPanel = new DBCSPanel(); plr.add(dbcsPanel, BorderLayout.CENTER); JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT)); JButton okButton = new JButton("Ok"); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { dbcs = new DBConnectionSpec(); dbcsPanel.applyChanges(dbcs); historyBox.addItem(ASUtils.lvb(dbcs.getDisplayName(), dbcs)); d.setVisible(false); } }); buttonPanel.add(okButton); JButton cancelButton = new JButton("Cancel"); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { dbcsPanel.discardChanges(); d.setVisible(false); } }); buttonPanel.add(cancelButton); plr.add(buttonPanel, BorderLayout.SOUTH); d.setContentPane(plr); d.pack(); d.setVisible(true); }
|
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/7e836db67ed179c7d3009423bbc767242b612beb/PLExportPanel.java/buggy/src/ca/sqlpower/architect/swingui/PLExportPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1082,
202,
6385,
804,
6353,
302,
273,
394,
804,
6353,
12,
12269,
15004,
3219,
18,
588,
6376,
1442,
9334,
6862,
6862,
1082,
225,
315,
1908,
22443,
6281,
4050,
8863,
9506,
202,
46,
5537,
886,
86,
273,
394,
24048,
12,
2704,
30814,
12,
2138,
16,
2138,
10019,
9506,
202,
412,
86,
18,
542,
8107,
12,
8107,
1733,
18,
2640,
1921,
8107,
12,
2138,
16,
2138,
16,
2138,
16,
2138,
10019,
9506,
202,
6385,
2383,
28594,
30427,
1319,
2143,
5537,
273,
394,
2383,
28594,
30427,
5621,
9506,
202,
412,
86,
18,
1289,
12,
1966,
2143,
5537,
16,
30814,
18,
19835,
1769,
9506,
202,
46,
5537,
3568,
5537,
273,
394,
24048,
12,
2704,
9473,
3744,
12,
5249,
3744,
18,
11847,
10019,
9506,
202,
46,
3616,
1529,
3616,
273,
394,
28804,
2932,
8809,
8863,
9506,
202,
601,
3616,
18,
1289,
1803,
2223,
12,
2704,
25962,
1435,
288,
25083,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
288,
6862,
1082,
202,
1966,
2143,
273,
394,
2383,
1952,
1990,
5621,
6862,
1082,
202,
1966,
2143,
5537,
18,
9010,
7173,
12,
1966,
2143,
1769,
6862,
1082,
202,
8189,
3514,
18,
1289,
1180,
12,
3033,
1989,
18,
3070,
70,
12,
1966,
2143,
18,
588,
20524,
9334,
1319,
2143,
10019,
6862,
1082,
202,
72,
18,
542,
6207,
12,
5743,
1769,
6862,
6862,
6862,
202,
97,
6862,
202,
22938,
9506,
202,
5391,
5537,
18,
1289,
12,
601,
3616,
1769,
9506,
202,
46,
3616,
3755,
3616,
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,
482,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1082,
202,
6385,
804,
6353,
302,
273,
394,
804,
6353,
12,
12269,
15004,
3219,
18,
588,
6376,
1442,
9334,
6862,
6862,
1082,
225,
315,
1908,
22443,
6281,
4050,
8863,
9506,
202,
46,
5537,
886,
86,
273,
394,
24048,
12,
2704,
30814,
12,
2138,
16,
2138,
10019,
9506,
202,
412,
86,
18,
542,
8107,
12,
8107,
1733,
18,
2640,
1921,
8107,
12,
2138,
16,
2138,
16,
2138,
16,
2138,
10019,
9506,
202,
6385,
2383,
28594,
30427,
1319,
2143,
5537,
273,
394,
2383,
28594,
30427,
5621,
9506,
202,
412,
86,
18,
1289,
12,
1966,
2143,
5537,
16,
30814,
18,
19835,
1769,
9506,
202,
46,
5537,
3568,
5537,
273,
394,
24048,
2
] |
{ return new String("abort,acl,add,aggregate,append,archive,arch_store,backward,binary,change,cluster,copy,database,delimiters,do,extend,explain,forward,heavy,index,inherits,isnull,light,listen,load,merge,nothing,notify,notnull,oids,purge,rename,replace,retrieve,returns,rule,recipe,setof,stdin,stdout,store,vacuum,verbose,version"); }
|
{ return new String("abort,acl,add,aggregate,append,archive,arch_store,backward,binary,change,cluster,copy,database,delimiters,do,extend,explain,forward,heavy,index,inherits,isnull,light,listen,load,merge,nothing,notify,notnull,oids,purge,rename,replace,retrieve,returns,rule,recipe,setof,stdin,stdout,store,vacuum,verbose,version"); }
|
public String getSQLKeywords() throws SQLException { return new String("abort,acl,add,aggregate,append,archive,arch_store,backward,binary,change,cluster,copy,database,delimiters,do,extend,explain,forward,heavy,index,inherits,isnull,light,listen,load,merge,nothing,notify,notnull,oids,purge,rename,replace,retrieve,returns,rule,recipe,setof,stdin,stdout,store,vacuum,verbose,version"); }
|
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/buggy/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
21708,
14149,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
394,
514,
2932,
18623,
16,
10150,
16,
1289,
16,
18573,
16,
6923,
16,
10686,
16,
991,
67,
2233,
16,
29275,
16,
8578,
16,
3427,
16,
7967,
16,
3530,
16,
6231,
16,
3771,
1038,
414,
16,
2896,
16,
14313,
16,
338,
7446,
16,
11565,
16,
580,
23935,
16,
1615,
16,
267,
20038,
16,
291,
2011,
16,
5099,
16,
18085,
16,
945,
16,
2702,
16,
30874,
16,
12336,
16,
902,
2011,
16,
21061,
16,
26422,
16,
18539,
16,
2079,
16,
17466,
16,
6154,
16,
5345,
16,
3927,
3151,
16,
542,
792,
16,
21772,
16,
10283,
16,
2233,
16,
90,
1077,
89,
379,
16,
11369,
16,
1589,
8863,
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,
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0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
21708,
14149,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
394,
514,
2932,
18623,
16,
10150,
16,
1289,
16,
18573,
16,
6923,
16,
10686,
16,
991,
67,
2233,
16,
29275,
16,
8578,
16,
3427,
16,
7967,
16,
3530,
16,
6231,
16,
3771,
1038,
414,
16,
2896,
16,
14313,
16,
338,
7446,
16,
11565,
16,
580,
23935,
16,
1615,
16,
267,
20038,
16,
291,
2011,
16,
5099,
16,
18085,
16,
945,
16,
2702,
16,
30874,
16,
12336,
16,
902,
2011,
16,
21061,
16,
26422,
16,
18539,
16,
2079,
16,
17466,
16,
6154,
16,
5345,
16,
3927,
3151,
16,
542,
792,
16,
21772,
16,
10283,
16,
2233,
16,
90,
1077,
89,
379,
16,
11369,
16,
1589,
8863,
2
] |
public ASTAddNode(Parser p, int id)
|
public ASTAddNode(int id)
|
public ASTAddNode(Parser p, int id) { super(p, id); }
|
54229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54229/19daa08b7dcbcc1f16695b26ab1864d8a3ce4a42/ASTAddNode.java/buggy/src/java/org/apache/commons/jexl/parser/ASTAddNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9183,
986,
907,
12,
474,
612,
13,
565,
288,
3639,
2240,
12,
84,
16,
612,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9183,
986,
907,
12,
474,
612,
13,
565,
288,
3639,
2240,
12,
84,
16,
612,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ((active1 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(5, 99, 33);
|
if ((active1 & 0x1000000000L) != 0L) return jjStartNfaWithStates_0(5, 100, 33);
|
static private final int jjMoveStringLiteralDfa5_0(long old1, long active1, long old2, long active2){ if (((active1 &= old1) | (active2 &= old2)) == 0L) return jjStartNfa_0(3, 0L, old1, old2); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(4, 0L, active1, active2); return 5; } switch(curChar) { case 97: return jjMoveStringLiteralDfa6_0(active1, 0x41000000000L, active2, 0L); case 99: if ((active1 & 0x2000000L) != 0L) return jjStartNfaWithStates_0(5, 89, 33); else if ((active1 & 0x100000000L) != 0L) return jjStartNfaWithStates_0(5, 96, 33); return jjMoveStringLiteralDfa6_0(active1, 0x1000000L, active2, 0L); case 100: if ((active1 & 0x10000L) != 0L) return jjStartNfaWithStates_0(5, 80, 33); else if ((active1 & 0x40000000L) != 0L) return jjStartNfaWithStates_0(5, 94, 33); break; case 101: if ((active1 & 0x100L) != 0L) return jjStartNfaWithStates_0(5, 72, 33); else if ((active1 & 0x400L) != 0L) return jjStartNfaWithStates_0(5, 74, 33); else if ((active1 & 0x80000L) != 0L) return jjStartNfaWithStates_0(5, 83, 33); return jjMoveStringLiteralDfa6_0(active1, 0x8000000000L, active2, 0L); case 102: if ((active1 & 0x80000000L) != 0L) return jjStartNfaWithStates_0(5, 95, 33); break; case 104: if ((active1 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(5, 99, 33); break; case 105: return jjMoveStringLiteralDfa6_0(active1, 0x100000000000L, active2, 0L); case 108: return jjMoveStringLiteralDfa6_0(active1, 0x4000080L, active2, 0x4L); case 110: if ((active1 & 0x2000L) != 0L) return jjStartNfaWithStates_0(5, 77, 33); else if ((active1 & 0x10000000L) != 0L) return jjStartNfaWithStates_0(5, 92, 33); return jjMoveStringLiteralDfa6_0(active1, 0x20000000040L, active2, 0L); case 116: if ((active1 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(5, 97, 33); return jjMoveStringLiteralDfa6_0(active1, 0x400008800000L, active2, 0L); default : break; } return jjStartNfa_0(4, 0L, active1, active2);}
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/380243817238f20dded6aa323a249c33dbaceae3/CPPParserTokenManager.java/buggy/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
760,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
25,
67,
20,
12,
5748,
1592,
21,
16,
1525,
2695,
21,
16,
1525,
1592,
22,
16,
1525,
2695,
22,
15329,
282,
309,
261,
12443,
3535,
21,
12058,
1592,
21,
13,
571,
261,
3535,
22,
12058,
1592,
22,
3719,
422,
374,
48,
13,
1377,
327,
10684,
1685,
50,
507,
67,
20,
12,
23,
16,
374,
48,
16,
1592,
21,
16,
1592,
22,
1769,
565,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
24,
16,
374,
48,
16,
2695,
21,
16,
2695,
22,
1769,
1377,
327,
1381,
31,
282,
289,
282,
1620,
12,
1397,
2156,
13,
282,
288,
1377,
648,
16340,
30,
540,
327,
10684,
7607,
28565,
40,
507,
26,
67,
20,
12,
3535,
21,
16,
374,
92,
9803,
2787,
11706,
48,
16,
2695,
22,
16,
374,
48,
1769,
1377,
648,
14605,
30,
540,
309,
14015,
3535,
21,
473,
374,
92,
22,
9449,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
1685,
50,
507,
1190,
7629,
67,
20,
12,
25,
16,
28308,
16,
13159,
1769,
540,
469,
309,
14015,
3535,
21,
473,
374,
92,
21,
12648,
48,
13,
480,
374,
48,
13,
5411,
327,
10684,
1685,
50,
507,
1190,
7629,
67,
20,
12,
25,
16,
19332,
16,
13159,
1769,
540,
327,
10684,
7607,
28565,
40,
507,
26,
67,
20,
12,
3535,
21,
16,
374,
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,
760,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
25,
67,
20,
12,
5748,
1592,
21,
16,
1525,
2695,
21,
16,
1525,
1592,
22,
16,
1525,
2695,
22,
15329,
282,
309,
261,
12443,
3535,
21,
12058,
1592,
21,
13,
571,
261,
3535,
22,
12058,
1592,
22,
3719,
422,
374,
48,
13,
1377,
327,
10684,
1685,
50,
507,
67,
20,
12,
23,
16,
374,
48,
16,
1592,
21,
16,
1592,
22,
1769,
565,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
24,
16,
374,
48,
16,
2695,
21,
16,
2695,
22,
1769,
1377,
327,
1381,
2
] |
.add(teamJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE))
|
.add(teamJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE))
|
private void initComponents() { javax.swing.JButton cancelJButton; javax.swing.JLabel contactsJLabel; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JSeparator jSeparator_1; javax.swing.JLabel teamJLabel; javax.swing.JScrollPane teamJScrollPane; javax.swing.JLabel versionJLabel; documentJLabel = LabelFactory.create(); versionJLabel = LabelFactory.create(getString("VersionLabel")); versionJComboBox = ComboBoxFactory.create(); includeKeyJCheckBox = CheckBoxFactory.create(getString("IncludeKeyCheckBox")); jSeparator_1 = SeparatorFactory.create(); sendToJPanel = new javax.swing.JPanel(); teamJLabel = LabelFactory.create(getString("TeamLabel")); contactsJLabel = LabelFactory.create(getString("ContactsLabel")); teamJScrollPane = ScrollPaneFactory.create(); teamJList = ListFactory.create(); contactsJScrollPane = ScrollPaneFactory.create(); contactsJList = ListFactory.create(); sendJButton = ButtonFactory.create(getString("SendButton")); cancelJButton = ButtonFactory.create(getString("CancelButton")); vSpacerJLabel = LabelFactory.create(); versionJComboBox.setModel(versionModel); versionJComboBox.setRenderer(new VersionListCellRenderer()); versionJComboBox.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent e) { versionJComboBoxItemStateChanged(e); } }); includeKeyJCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); includeKeyJCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0)); includeKeyJCheckBox.setOpaque(false); includeKeyJCheckBox.addChangeListener(new javax.swing.event.ChangeListener() { public void stateChanged(javax.swing.event.ChangeEvent e) { includeKeyJCheckBoxStateChanged(e); } }); sendToJPanel.setOpaque(false); teamJList.setCellRenderer(new UserListCellRenderer()); teamJList.setModel(teamModel); teamJList.setSelectionModel(teamSelectionModel); teamJList.addListSelectionListener(new javax.swing.event.ListSelectionListener() { public void valueChanged(javax.swing.event.ListSelectionEvent e) { teamJListValueChanged(e); } }); teamJScrollPane.setViewportView(teamJList); contactsJList.setCellRenderer(new UserListCellRenderer()); contactsJList.setModel(contactsModel); contactsJList.setSelectionModel(contactsSelectionModel); contactsJList.addListSelectionListener(new javax.swing.event.ListSelectionListener() { public void valueChanged(javax.swing.event.ListSelectionEvent e) { contactsJListValueChanged(e); } }); contactsJScrollPane.setViewportView(contactsJList); org.jdesktop.layout.GroupLayout sendToJPanelLayout = new org.jdesktop.layout.GroupLayout(sendToJPanel); sendToJPanel.setLayout(sendToJPanelLayout); sendToJPanelLayout.setHorizontalGroup( sendToJPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(sendToJPanelLayout.createSequentialGroup() .add(sendToJPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(teamJLabel) .add(teamJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(sendToJPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(contactsJLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(contactsJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE))) ); sendToJPanelLayout.setVerticalGroup( sendToJPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(sendToJPanelLayout.createSequentialGroup() .add(sendToJPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(teamJLabel) .add(contactsJLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(sendToJPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(teamJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 89, Short.MAX_VALUE) .add(contactsJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 89, Short.MAX_VALUE)) .addContainerGap()) ); sendJButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { sendJButtonActionPerformed(e); } }); cancelJButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { cancelJButtonActionPerformed(e); } }); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() .addContainerGap() .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(org.jdesktop.layout.GroupLayout.LEADING, sendToJPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(documentJLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE) .add(layout.createSequentialGroup() .add(cancelJButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(sendJButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) .add(org.jdesktop.layout.GroupLayout.LEADING, jSeparator_1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE) .add(layout.createSequentialGroup() .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(versionJLabel) .add(vSpacerJLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, includeKeyJCheckBox, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 309, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.TRAILING, versionJComboBox, 0, 309, Short.MAX_VALUE)))) .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .addContainerGap() .add(documentJLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(versionJLabel) .add(versionJComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(includeKeyJCheckBox) .add(vSpacerJLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jSeparator_1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(sendToJPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(cancelJButton) .add(sendJButton)) .addContainerGap()) ); }// </editor-fold>//GEN-END:initComponents
|
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/307eed86bd6b2e7a0979608d755659b8a324e0b6/SessionSendFormAvatar.java/buggy/client-ui/src/main/java/com/thinkparity/browser/application/browser/display/avatar/SessionSendFormAvatar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
6863,
18,
5328,
310,
18,
46,
3616,
3755,
46,
3616,
31,
3639,
6863,
18,
5328,
310,
18,
46,
2224,
14841,
46,
2224,
31,
3639,
6863,
18,
5328,
310,
18,
46,
26360,
14841,
46,
26360,
31,
3639,
6863,
18,
5328,
310,
18,
46,
6581,
525,
6581,
67,
21,
31,
3639,
6863,
18,
5328,
310,
18,
46,
2224,
5927,
46,
2224,
31,
3639,
6863,
18,
5328,
310,
18,
46,
26360,
5927,
46,
26360,
31,
3639,
6863,
18,
5328,
310,
18,
46,
2224,
1177,
46,
2224,
31,
3639,
1668,
46,
2224,
273,
5287,
1733,
18,
2640,
5621,
3639,
1177,
46,
2224,
273,
5287,
1733,
18,
2640,
12,
588,
780,
2932,
1444,
2224,
7923,
1769,
3639,
1177,
46,
22199,
273,
1286,
1075,
3514,
1733,
18,
2640,
5621,
3639,
2341,
653,
46,
19174,
273,
2073,
3514,
1733,
18,
2640,
12,
588,
780,
2932,
8752,
653,
19174,
7923,
1769,
3639,
525,
6581,
67,
21,
273,
27519,
1733,
18,
2640,
5621,
3639,
29091,
46,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
5927,
46,
2224,
273,
5287,
1733,
18,
2640,
12,
588,
780,
2932,
8689,
2224,
7923,
1769,
3639,
14841,
46,
2224,
273,
5287,
1733,
18,
2640,
12,
588,
780,
2932,
20017,
2224,
7923,
1769,
3639,
5927,
46,
26360,
273,
23134,
8485,
1733,
18,
2640,
5621,
3639,
5927,
46,
682,
273,
987,
1733,
18,
2640,
5621,
3639,
14841,
46,
26360,
273,
23134,
8485,
1733,
18,
2640,
5621,
3639,
14841,
46,
682,
273,
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,
1208,
7171,
1435,
288,
3639,
6863,
18,
5328,
310,
18,
46,
3616,
3755,
46,
3616,
31,
3639,
6863,
18,
5328,
310,
18,
46,
2224,
14841,
46,
2224,
31,
3639,
6863,
18,
5328,
310,
18,
46,
26360,
14841,
46,
26360,
31,
3639,
6863,
18,
5328,
310,
18,
46,
6581,
525,
6581,
67,
21,
31,
3639,
6863,
18,
5328,
310,
18,
46,
2224,
5927,
46,
2224,
31,
3639,
6863,
18,
5328,
310,
18,
46,
26360,
5927,
46,
26360,
31,
3639,
6863,
18,
5328,
310,
18,
46,
2224,
1177,
46,
2224,
31,
3639,
1668,
46,
2224,
273,
5287,
1733,
18,
2640,
5621,
3639,
1177,
46,
2224,
273,
5287,
1733,
18,
2640,
12,
588,
780,
2932,
1444,
2224,
7923,
1769,
2
] |
indentChunk();
|
public XmlWriter writeCData(String cdata) throws IOException { indentChunk(); super.writeCData(cdata); getWriter().write(newline); return this; }
|
651 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/651/0ec62d594aa7ad14d9580ec994c53fe09e16961c/PrettyPrinterXmlWriter.java/buggy/xmlwriter/src/java/com/generationjava/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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,
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,
5714,
2289,
1045,
39,
751,
12,
780,
20712,
13,
1216,
1860,
288,
7734,
2240,
18,
2626,
39,
751,
12,
71,
892,
1769,
3639,
20568,
7675,
2626,
12,
22861,
1769,
540,
327,
333,
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,
-100,
-100,
-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 mcf.getDatabase(); }
|
return mcf.getDatabase(); }
|
public String getDatabase() { return mcf.getDatabase(); }
|
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/ec54876a874a2b9cdcc60f1afe25c1e4c09147e0/FBManagedConnection.java/clean/src/org/firebirdsql/jca/FBManagedConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11263,
1435,
288,
202,
202,
2463,
6108,
74,
18,
588,
4254,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
11263,
1435,
288,
202,
202,
2463,
6108,
74,
18,
588,
4254,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new PGlobj(this);
|
if(largeobject==null) largeobject = new LargeObjectManager(this); return largeobject;
|
public PGlobj getLargeObjectAPI() throws SQLException { return new PGlobj(this); }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/dffaec556455fbc20f93512552a6658d0e5018ad/Connection.java/clean/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
22116,
383,
441,
9014,
297,
908,
921,
2557,
1435,
1216,
6483,
225,
288,
565,
309,
12,
14095,
1612,
631,
2011,
13,
7876,
1612,
273,
394,
16236,
908,
921,
1318,
12,
2211,
1769,
327,
7876,
1612,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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612,
273,
394,
16236,
908,
921,
1318,
12,
2211,
1769,
327,
7876,
1612,
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
] |
linkResource.setFullResourceName(linkName);
|
linkResource.setFullResourceName(siblingName);
|
public CmsResource createSibling(CmsRequestContext context, String linkName, String targetName, List linkProperties, boolean lockResource) throws CmsException { CmsResource targetResource = null; CmsResource linkResource = null; String parentFolderName = null; CmsFolder parentFolder = null; String resourceName = null; parentFolderName = linkName.substring(0, linkName.lastIndexOf(I_CmsConstants.C_FOLDER_SEPARATOR) + 1); resourceName = linkName.substring(linkName.lastIndexOf(I_CmsConstants.C_FOLDER_SEPARATOR) + 1, linkName.length()); // read the target resource targetResource = this.readFileHeader(context, targetName); if (targetResource.isFolder()) { throw new CmsException("Setting links on folders is not supported"); } // read the parent folder parentFolder = this.readFolder(context, parentFolderName, false); // for the parent folder is write access required checkPermissions(context, parentFolder, I_CmsConstants.C_WRITE_ACCESS); // construct a dummy that is written to the db linkResource = new CmsResource(new CmsUUID(), targetResource.getResourceId(), parentFolder.getStructureId(), CmsUUID.getNullUUID(), resourceName, targetResource.getType(), targetResource.getFlags(), context.currentProject().getId(), org.opencms.main.I_CmsConstants.C_STATE_NEW, targetResource.getLoaderId(), System.currentTimeMillis(), context.currentUser().getId(), System.currentTimeMillis(), context.currentUser().getId(), 0, targetResource.getLinkCount() + 1); // check if the resource has to be labeled now if (labelResource(context, targetResource, linkName, 1)) { int flags = linkResource.getFlags(); flags |= I_CmsConstants.C_RESOURCEFLAG_LABELLINK; linkResource.setFlags(flags); } // setting the full resource name twice here looks crude but is essential! linkResource.setFullResourceName(linkName); linkResource = m_vfsDriver.createSibling(context.currentProject(), linkResource, context.currentUser().getId(), parentFolder.getStructureId(), resourceName); linkResource.setFullResourceName(linkName); // mark the new sibling as modified in the current project m_vfsDriver.writeLastModifiedProjectId(context.currentProject(), context.currentProject().getId(), linkResource); if (linkProperties == null) { // "empty" properties are represented by an empty property map linkProperties = Collections.EMPTY_LIST; } // write its properties CmsProperty.setAutoCreatePropertyDefinitions(linkProperties, true); m_vfsDriver.writePropertyObjects(context.currentProject(), linkResource, linkProperties); // if the source clearResourceCache(); m_propertyCache.clear(); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_AND_PROPERTIES_MODIFIED, Collections.singletonMap("resource", parentFolder))); if (lockResource) { // lock the resource lockResource(context, linkName); } return linkResource; }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0d824bbc5a76a7fc2f90c5f68636e7c96184cec4/CmsDriverManager.java/buggy/src/org/opencms/db/CmsDriverManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7630,
752,
10291,
12,
4747,
21426,
819,
16,
514,
1692,
461,
16,
514,
23395,
16,
987,
1692,
2297,
16,
1250,
2176,
1420,
13,
1216,
11228,
288,
3639,
7630,
1018,
1420,
273,
446,
31,
3639,
7630,
1692,
1420,
273,
446,
31,
3639,
514,
982,
26169,
273,
446,
31,
3639,
2149,
3899,
982,
3899,
273,
446,
31,
3639,
514,
9546,
273,
446,
31,
3639,
982,
26169,
273,
1692,
461,
18,
28023,
12,
20,
16,
1692,
461,
18,
2722,
31985,
12,
45,
67,
4747,
2918,
18,
39,
67,
17357,
67,
4550,
13,
397,
404,
1769,
3639,
9546,
273,
1692,
461,
18,
28023,
12,
1232,
461,
18,
2722,
31985,
12,
45,
67,
4747,
2918,
18,
39,
67,
17357,
67,
4550,
13,
397,
404,
16,
1692,
461,
18,
2469,
10663,
3639,
368,
855,
326,
1018,
1058,
3639,
1018,
1420,
273,
333,
18,
896,
812,
1864,
12,
2472,
16,
23395,
1769,
3639,
309,
261,
3299,
1420,
18,
291,
3899,
10756,
288,
5411,
604,
394,
11228,
2932,
5568,
4716,
603,
9907,
353,
486,
3260,
8863,
3639,
289,
3639,
368,
855,
326,
982,
3009,
3639,
982,
3899,
273,
333,
18,
896,
3899,
12,
2472,
16,
982,
26169,
16,
629,
1769,
3639,
368,
364,
326,
982,
3009,
353,
1045,
2006,
1931,
3639,
866,
6521,
12,
2472,
16,
982,
3899,
16,
467,
67,
4747,
2918,
18,
39,
67,
11677,
67,
13204,
1769,
3639,
368,
4872,
279,
9609,
716,
353,
5941,
358,
326,
1319,
3639,
1692,
1420,
273,
394,
7630,
12,
2704,
15792,
9334,
1018,
1420,
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,
7630,
752,
10291,
12,
4747,
21426,
819,
16,
514,
1692,
461,
16,
514,
23395,
16,
987,
1692,
2297,
16,
1250,
2176,
1420,
13,
1216,
11228,
288,
3639,
7630,
1018,
1420,
273,
446,
31,
3639,
7630,
1692,
1420,
273,
446,
31,
3639,
514,
982,
26169,
273,
446,
31,
3639,
2149,
3899,
982,
3899,
273,
446,
31,
3639,
514,
9546,
273,
446,
31,
3639,
982,
26169,
273,
1692,
461,
18,
28023,
12,
20,
16,
1692,
461,
18,
2722,
31985,
12,
45,
67,
4747,
2918,
18,
39,
67,
17357,
67,
4550,
13,
397,
404,
1769,
3639,
9546,
273,
1692,
461,
18,
28023,
12,
1232,
461,
18,
2722,
31985,
12,
45,
67,
4747,
2918,
18,
39,
67,
17357,
67,
4550,
13,
2
] |
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String vmName = attributes.getValue("value"); if (checkNonEmpty(vmName)) { setResultObject(vmName); }else throw new org.xml.sax.SAXException("The name of the Jvm cannot be set to an empty string"); }
|
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String vmName = attributes.getValue("value"); if (checkNonEmpty(vmName)) { setResultObject(vmName); } else { throw new org.xml.sax.SAXException( "The name of the Jvm cannot be set to an empty string"); } }
|
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String vmName = attributes.getValue("value"); if (checkNonEmpty(vmName)) { setResultObject(vmName); }else throw new org.xml.sax.SAXException("The name of the Jvm cannot be set to an empty string"); }
|
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/c171c3550f70b496c1228bbed45f5f8feea45a9c/DeploymentHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/DeploymentHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
9506,
202,
780,
4268,
461,
273,
1677,
18,
24805,
2932,
1132,
8863,
9506,
202,
430,
261,
1893,
23176,
12,
3489,
461,
3719,
288,
4202,
202,
542,
1253,
921,
12,
3489,
461,
1769,
565,
1082,
202,
97,
12107,
604,
394,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
2932,
1986,
508,
434,
326,
12920,
2780,
506,
444,
358,
392,
1008,
533,
8863,
21114,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
9506,
202,
780,
4268,
461,
273,
1677,
18,
24805,
2932,
1132,
8863,
9506,
202,
430,
261,
1893,
23176,
12,
3489,
461,
3719,
288,
4202,
202,
542,
1253,
921,
12,
3489,
461,
1769,
565,
1082,
202,
97,
12107,
604,
394,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
2932,
1986,
508,
434,
326,
12920,
2780,
506,
444,
358,
392,
1008,
533,
8863,
21114,
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
] |
return oneMatchesCurrentSystem(getOsList(el));
|
if (constraint_list == null) return true; Iterator constraint_it = constraint_list.iterator(); if (!constraint_it.hasNext()) return true; while (constraint_it.hasNext()) { OsConstraint osc = (OsConstraint) constraint_it.next(); Debug.trace("checking if os constraints " + osc + " match current OS"); if (osc.matchCurrentSystem()) { Debug.trace("matched current OS."); return true; } } Debug.trace("no match with current OS!"); return false;
|
public static boolean oneMatchesCurrentSystem(XMLElement el) { return oneMatchesCurrentSystem(getOsList(el)); }
|
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/9619b3a25f43787dc92011111668210e06c00c71/OsConstraint.java/buggy/src/lib/com/izforge/izpack/util/OsConstraint.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1245,
6869,
3935,
3163,
12,
15223,
415,
13,
565,
288,
3639,
309,
261,
13364,
67,
1098,
422,
446,
13,
327,
638,
31,
225,
4498,
4954,
67,
305,
273,
4954,
67,
1098,
18,
9838,
5621,
282,
309,
16051,
13364,
67,
305,
18,
5332,
2134,
10756,
327,
638,
31,
225,
1323,
261,
13364,
67,
305,
18,
5332,
2134,
10756,
288,
31799,
5806,
31476,
273,
261,
15112,
5806,
13,
4954,
67,
305,
18,
4285,
5621,
225,
4015,
18,
5129,
2932,
24609,
309,
1140,
6237,
315,
397,
31476,
397,
315,
845,
783,
5932,
8863,
282,
309,
261,
538,
71,
18,
1916,
3935,
3163,
10756,
288,
4015,
18,
5129,
2932,
11073,
783,
5932,
1199,
1769,
327,
638,
31,
289,
225,
289,
225,
4015,
18,
5129,
2932,
2135,
845,
598,
783,
5932,
4442,
1769,
225,
327,
629,
31,
565,
289,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1245,
6869,
3935,
3163,
12,
15223,
415,
13,
565,
288,
3639,
309,
261,
13364,
67,
1098,
422,
446,
13,
327,
638,
31,
225,
4498,
4954,
67,
305,
273,
4954,
67,
1098,
18,
9838,
5621,
282,
309,
16051,
13364,
67,
305,
18,
5332,
2134,
10756,
327,
638,
31,
225,
1323,
261,
13364,
67,
305,
18,
5332,
2134,
10756,
288,
31799,
5806,
31476,
273,
261,
15112,
5806,
13,
4954,
67,
305,
18,
4285,
5621,
225,
4015,
18,
5129,
2932,
24609,
309,
1140,
6237,
315,
397,
31476,
397,
315,
845,
783,
5932,
8863,
282,
309,
261,
538,
71,
18,
1916,
3935,
3163,
10756,
288,
4015,
18,
5129,
2932,
11073,
783,
5932,
1199,
1769,
327,
638,
31,
289,
225,
2
] |
public void set(int val) throws InvalidConfigValueException { String msg = "Switching listenPort on the fly not yet supported!"; Logger.error(this, msg); throw new InvalidConfigValueException(msg); }
|
public void set(String val) throws InvalidConfigValueException { if(val.length() == 0) { overrideIPAddress = null; lastIPAddress = null; redetectAddress(); shouldInsertARK(); return; } FreenetInetAddress addr; try { addr = new FreenetInetAddress(val, false); } catch (UnknownHostException e) { throw new InvalidConfigValueException("Unknown host: "+e.getMessage()); } overrideIPAddress = addr; lastIPAddress = null; redetectAddress(); shouldInsertARK(); }
|
public void set(int val) throws InvalidConfigValueException { // FIXME implement on the fly listenPort changing // Note that this sort of thing should be the exception rather than the rule!!!! String msg = "Switching listenPort on the fly not yet supported!"; Logger.error(this, msg); throw new InvalidConfigValueException(msg); }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/0e73e63698410905555b43e69172b80870e39ae5/Node.java/buggy/src/freenet/node/Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
444,
12,
474,
1244,
13,
1216,
1962,
809,
9738,
288,
25083,
202,
759,
9852,
2348,
603,
326,
21434,
6514,
2617,
12770,
25083,
202,
759,
3609,
716,
333,
1524,
434,
7757,
1410,
506,
326,
1520,
9178,
2353,
326,
1720,
23045,
25083,
202,
780,
1234,
273,
315,
10200,
310,
6514,
2617,
603,
326,
21434,
486,
4671,
3260,
4442,
31,
25083,
202,
3328,
18,
1636,
12,
2211,
16,
1234,
1769,
25083,
202,
12849,
394,
1962,
809,
9738,
12,
3576,
1769,
6862,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
444,
12,
474,
1244,
13,
1216,
1962,
809,
9738,
288,
25083,
202,
759,
9852,
2348,
603,
326,
21434,
6514,
2617,
12770,
25083,
202,
759,
3609,
716,
333,
1524,
434,
7757,
1410,
506,
326,
1520,
9178,
2353,
326,
1720,
23045,
25083,
202,
780,
1234,
273,
315,
10200,
310,
6514,
2617,
603,
326,
21434,
486,
4671,
3260,
4442,
31,
25083,
202,
3328,
18,
1636,
12,
2211,
16,
1234,
1769,
25083,
202,
12849,
394,
1962,
809,
9738,
12,
3576,
1769,
6862,
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
] |
astore(x);
|
cfw.addAStore(x);
|
private void visitEnumInit(Node node, Node child) { while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); addScriptRuntimeInvoke("initEnum", "(Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); short x = getNewWordLocal(); astore(x); node.putIntProp(Node.LOCAL_PROP, x); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/64dc04549cad044865eae2e65e775ddc0f292717/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
3572,
2570,
12,
907,
756,
16,
2029,
1151,
13,
565,
288,
3639,
1323,
261,
3624,
480,
446,
13,
288,
5411,
2103,
1085,
28570,
12,
3624,
16,
756,
1769,
5411,
1151,
273,
1151,
18,
588,
2134,
5621,
3639,
289,
3639,
279,
945,
12,
6105,
921,
2042,
1769,
3639,
527,
3651,
5576,
10969,
2932,
2738,
3572,
3113,
1171,
9079,
7751,
21159,
19,
4936,
19,
921,
4868,
1171,
9079,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
1171,
9079,
397,
7923,
21159,
19,
4936,
19,
921,
4868,
1769,
3639,
3025,
619,
273,
12654,
3944,
2042,
5621,
3639,
6080,
91,
18,
1289,
37,
2257,
12,
92,
1769,
3639,
756,
18,
458,
1702,
4658,
12,
907,
18,
14922,
67,
15811,
16,
619,
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,
0,
0,
0,
0,
0,
0,
0,
0,
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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3639,
279,
945,
12,
6105,
921,
2042,
1769,
3639,
527,
3651,
5576,
10969,
2932,
2738,
3572,
3113,
1171,
9079,
7751,
21159,
19,
4936,
19,
921,
4868,
1171,
9079,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
1171,
9079,
397,
7923,
21159,
19,
4936,
19,
921,
4868,
1769,
3639,
3025,
619,
273,
12654,
3944,
2042,
5621,
3639,
6080,
91,
18,
1289,
37,
2257,
12,
92,
1769,
3639,
756,
18,
458,
1702,
4658,
12,
2
] |
public void setHeight(int height){
|
public void setHeight(int height) {
|
public void setHeight(int height){ this.height = height; this.maxy = (this.height/this.y_pix_interval) - 1; needToRecreate = true; Debug.message("declutter", "Decluttering matrix: height reset to " + height ); }
|
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/69a1ad2b83ee2a31a4e61cc6f6755ba9f08c0652/DeclutterMatrix.java/clean/src/openmap/com/bbn/openmap/layer/DeclutterMatrix.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27276,
12,
474,
2072,
13,
288,
3639,
333,
18,
4210,
273,
2072,
31,
3639,
333,
18,
1896,
93,
273,
261,
2211,
18,
4210,
19,
2211,
18,
93,
67,
14861,
67,
6624,
13,
300,
404,
31,
3639,
1608,
774,
426,
2640,
273,
638,
31,
13491,
4015,
18,
2150,
2932,
8840,
18220,
3113,
315,
3456,
18220,
310,
3148,
30,
2072,
2715,
358,
315,
8227,
397,
2072,
11272,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27276,
12,
474,
2072,
13,
288,
3639,
333,
18,
4210,
273,
2072,
31,
3639,
333,
18,
1896,
93,
273,
261,
2211,
18,
4210,
19,
2211,
18,
93,
67,
14861,
67,
6624,
13,
300,
404,
31,
3639,
1608,
774,
426,
2640,
273,
638,
31,
13491,
4015,
18,
2150,
2932,
8840,
18220,
3113,
315,
3456,
18220,
310,
3148,
30,
2072,
2715,
358,
315,
8227,
397,
2072,
11272,
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
] |
public void initialize(PlugletInstancePeer peer) {
|
public void initialize(PlugletPeer peer) {
|
public void initialize(PlugletInstancePeer peer) { this.peer = peer; org.mozilla.util.Debug.print("--TestInstance.initialize\n"); peer.showStatus("Hello world"); org.mozilla.util.Debug.print("--TestInstance.initialize "+peer.getMIMEType()); /* try { OutputStreamWriter out = new OutputStreamWriter(peer.newStream("text/plain","_new")); String msg = "Hello, world"; out.write(msg,0,msg.length()); out.flush(); out.close(); } catch (Exception e) { ; } */ }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/12b30bdf0ba5464ee50238e5763283902c29b928/test.java/buggy/java/plugins/test/test.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
12,
1749,
637,
1810,
1442,
6813,
4261,
13,
288,
202,
2211,
18,
12210,
273,
4261,
31,
202,
3341,
18,
8683,
15990,
18,
1367,
18,
2829,
18,
1188,
2932,
413,
4709,
1442,
18,
11160,
64,
82,
8863,
202,
12210,
18,
4500,
1482,
2932,
18601,
9117,
8863,
202,
3341,
18,
8683,
15990,
18,
1367,
18,
2829,
18,
1188,
2932,
413,
4709,
1442,
18,
11160,
225,
13773,
12210,
18,
588,
18178,
559,
10663,
202,
20308,
202,
698,
288,
202,
565,
24248,
596,
273,
394,
24248,
12,
12210,
18,
2704,
1228,
2932,
955,
19,
7446,
15937,
67,
2704,
7923,
1769,
202,
565,
514,
1234,
273,
315,
18601,
16,
9117,
14432,
202,
565,
596,
18,
2626,
12,
3576,
16,
20,
16,
3576,
18,
2469,
10663,
202,
565,
596,
18,
11330,
5621,
202,
565,
596,
18,
4412,
5621,
202,
97,
1044,
261,
503,
425,
13,
288,
202,
565,
274,
202,
97,
202,
5549,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
12,
1749,
637,
1810,
1442,
6813,
4261,
13,
288,
202,
2211,
18,
12210,
273,
4261,
31,
202,
3341,
18,
8683,
15990,
18,
1367,
18,
2829,
18,
1188,
2932,
413,
4709,
1442,
18,
11160,
64,
82,
8863,
202,
12210,
18,
4500,
1482,
2932,
18601,
9117,
8863,
202,
3341,
18,
8683,
15990,
18,
1367,
18,
2829,
18,
1188,
2932,
413,
4709,
1442,
18,
11160,
225,
13773,
12210,
18,
588,
18178,
559,
10663,
202,
20308,
202,
698,
288,
202,
565,
24248,
596,
273,
394,
24248,
12,
12210,
18,
2704,
1228,
2932,
955,
19,
7446,
15937,
67,
2704,
7923,
1769,
202,
565,
514,
1234,
273,
315,
18601,
16,
9117,
14432,
202,
565,
596,
18,
2626,
12,
3576,
16,
20,
2
] |
action = new CPopulateASTViewAction(tu, monitor); tu.accept( (CASTVisitor) action);
|
action = new CPopulateASTViewAction(aTu, monitor); aTu.accept( (CASTVisitor) action);
|
protected IStatus run(IProgressMonitor monitor) { long start=0; long overallStart=System.currentTimeMillis(); if (file == null || lang == null || monitor == null) return Status.CANCEL_STATUS; if (monitor.isCanceled()) return Status.CANCEL_STATUS; monitor.beginTask(name, 8); start=System.currentTimeMillis(); IPopulateDOMASTAction action = null; IASTTranslationUnit tu = null; try { monitor.subTask(PARSING_TRANSLATION_UNIT); start=System.currentTimeMillis(); tu = CDOM.getInstance().getASTService().getTranslationUnit( file, CDOM.getInstance().getCodeReaderFactory( CDOM.PARSE_SAVED_RESOURCES)); monitor.worked(1); System.out.println("[DOM AST View] done " + PARSING_TRANSLATION_UNIT + ": " + (System.currentTimeMillis()- start) ); } catch (IASTServiceProvider.UnsupportedDialectException e) { return Status.CANCEL_STATUS; } if (monitor.isCanceled()) return Status.CANCEL_STATUS; monitor.subTask(GENERATING_INITIAL_TREE); start=System.currentTimeMillis(); if (lang == ParserLanguage.CPP) { action = new CPPPopulateASTViewAction(tu, monitor); tu.accept( (CPPASTVisitor) action); } else { action = new CPopulateASTViewAction(tu, monitor); tu.accept( (CASTVisitor) action); } monitor.worked(2); System.out.println("[DOM AST View] done " + GENERATING_INITIAL_TREE + ": " + (System.currentTimeMillis()- start) ); // display roots root = new DOMASTNodeParent(null); //$NON-NLS-1$ if (monitor.isCanceled()) return Status.CANCEL_STATUS; monitor.subTask(RETRIEVING_PREPROCESSOR_STATEMENTS); start=System.currentTimeMillis(); IASTPreprocessorStatement[] statements = tu.getAllPreprocessorStatements(); monitor.worked(3); System.out.println("[DOM AST View] done " + RETRIEVING_PREPROCESSOR_STATEMENTS + ": " + (System.currentTimeMillis()- start) ); monitor.subTask(MERGING_ + statements.length + _PREPROCESSOR_STATEMENTS_); start=System.currentTimeMillis(); // merge preprocessor statements to the tree action.mergePreprocessorStatements(statements); monitor.worked(4); System.out.println("[DOM AST View] done " + MERGING_ + statements.length + _PREPROCESSOR_STATEMENTS_ + ": " + (System.currentTimeMillis()- start) ); if (monitor.isCanceled()) return Status.CANCEL_STATUS; monitor.subTask(RETRIEVING_PREPROCESSOR_PROBLEMS); start=System.currentTimeMillis(); IASTProblem[] problems = tu.getPreprocessorProblems(); monitor.worked(5); System.out.println("[DOM AST View] done " + RETRIEVING_PREPROCESSOR_PROBLEMS + ": " + (System.currentTimeMillis()- start) ); monitor.subTask(MERGING_ + problems.length + _PREPROCESSOR_PROBLEMS_); start=System.currentTimeMillis(); // merge preprocessor problems to the tree action.mergePreprocessorProblems(problems); monitor.worked(6); System.out.println("[DOM AST View] done " + MERGING_ + problems.length + _PREPROCESSOR_PROBLEMS_ + ": " + (System.currentTimeMillis()- start) ); if (monitor.isCanceled()) return Status.CANCEL_STATUS; monitor.subTask(GROUPING_AST); start=System.currentTimeMillis(); // group #includes action.groupIncludes(statements); monitor.worked(7); System.out.println("[DOM AST View] done " + GROUPING_AST + ": " + (System.currentTimeMillis()- start) ); root.addChild(action.getTree()); // get the IASTProblems from the action if (action instanceof CPopulateASTViewAction) astProblems = ((CPopulateASTViewAction)action).getASTProblems(); else if (action instanceof CPPPopulateASTViewAction) astProblems = ((CPPPopulateASTViewAction)action).getASTProblems(); provider.setInvisibleRoot(root); monitor.done(); System.out.println("[DOM AST View] finished: " + (System.currentTimeMillis()- overallStart) ); return Status.OK_STATUS; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/5ae8e3d4b72efb1f3c2c7da761083c0bb295dc2e/DOMAST.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMAST.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
1117,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
377,
202,
202,
5748,
787,
33,
20,
31,
1082,
202,
5748,
13914,
1685,
33,
3163,
18,
2972,
28512,
5621,
9506,
377,
202,
202,
430,
261,
768,
422,
446,
747,
3303,
422,
446,
747,
6438,
422,
446,
13,
202,
5411,
327,
2685,
18,
25268,
67,
8608,
31,
1082,
202,
430,
261,
10259,
18,
291,
23163,
10756,
327,
2685,
18,
25268,
67,
8608,
31,
1082,
202,
10259,
18,
10086,
2174,
12,
529,
16,
1725,
1769,
1082,
202,
1937,
33,
3163,
18,
2972,
28512,
5621,
6862,
540,
2971,
556,
6243,
8168,
9053,
1803,
1301,
273,
446,
31,
202,
540,
467,
9053,
6717,
2802,
28325,
273,
446,
31,
202,
540,
775,
288,
202,
1850,
202,
10259,
18,
1717,
2174,
12,
2778,
23708,
67,
25419,
2689,
67,
15736,
1769,
202,
1850,
202,
1937,
33,
3163,
18,
2972,
28512,
5621,
202,
5411,
28325,
273,
385,
8168,
18,
588,
1442,
7675,
588,
9053,
1179,
7675,
588,
6717,
2802,
12,
202,
5375,
585,
16,
202,
5375,
385,
8168,
18,
588,
1442,
7675,
588,
1085,
2514,
1733,
12,
202,
13491,
385,
8168,
18,
21045,
67,
5233,
12135,
67,
11395,
55,
10019,
202,
5411,
6438,
18,
1252,
329,
12,
21,
1769,
202,
5411,
2332,
18,
659,
18,
8222,
2932,
63,
8168,
9183,
4441,
65,
2731,
315,
397,
3939,
23708,
67,
25419,
2689,
67,
15736,
397,
6398,
315,
397,
261,
3163,
18,
2972,
28512,
1435,
17,
787,
13,
11272,
202,
540,
289,
1044,
261,
45,
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,
1377,
202,
1117,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
377,
202,
202,
5748,
787,
33,
20,
31,
1082,
202,
5748,
13914,
1685,
33,
3163,
18,
2972,
28512,
5621,
9506,
377,
202,
202,
430,
261,
768,
422,
446,
747,
3303,
422,
446,
747,
6438,
422,
446,
13,
202,
5411,
327,
2685,
18,
25268,
67,
8608,
31,
1082,
202,
430,
261,
10259,
18,
291,
23163,
10756,
327,
2685,
18,
25268,
67,
8608,
31,
1082,
202,
10259,
18,
10086,
2174,
12,
529,
16,
1725,
1769,
1082,
202,
1937,
33,
3163,
18,
2972,
28512,
5621,
6862,
540,
2971,
556,
6243,
8168,
9053,
1803,
1301,
273,
446,
31,
202,
540,
467,
9053,
6717,
2802,
28325,
273,
446,
31,
202,
540,
2
] |
public RubyString id2name() { return RubySymbol.getSymbol(runtime, value).to_s();
|
public IRubyObject id2name() { return RubySymbol.getSymbol(runtime, value).convertToString();
|
public RubyString id2name() { return RubySymbol.getSymbol(runtime, value).to_s(); }
|
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/cc20d41e6031b7e9c9ed46676d32e45334ed0d53/RubyFixnum.java/buggy/src/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
612,
22,
529,
1435,
288,
3639,
327,
19817,
5335,
18,
588,
5335,
12,
9448,
16,
460,
2934,
869,
67,
87,
5621,
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,
-100,
-100
] |
right == other.right && wordSequence.equals(other.wordSequence);
|
right == other.right && wordSequenceMatch;
|
public boolean equals(Object o) { if (o == this) { return true; } else if (o instanceof LexTreeState) { LexTreeState other = (LexTreeState) o; return central == other.central && leftID == other.leftID && right == other.right && wordSequence.equals(other.wordSequence); } else { return false; } }
|
8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/a50126798c24d4d691f5d1d1e5df6f5593c01359/LexTreeLinguist.java/buggy/sphinx4/edu/cmu/sphinx/decoder/linguist/lextree/LexTreeLinguist.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
1606,
12,
921,
320,
13,
288,
5411,
309,
261,
83,
422,
333,
13,
288,
7734,
327,
638,
31,
5411,
289,
469,
309,
261,
83,
1276,
15123,
2471,
1119,
13,
288,
7734,
15123,
2471,
1119,
1308,
273,
261,
14756,
2471,
1119,
13,
320,
31,
7734,
327,
225,
18291,
422,
1308,
18,
71,
12839,
597,
13491,
2002,
734,
422,
1308,
18,
4482,
734,
597,
13491,
2145,
422,
1308,
18,
4083,
597,
7682,
2076,
4021,
18,
14963,
12,
3011,
18,
1095,
4021,
1769,
5411,
289,
469,
288,
7734,
327,
629,
31,
5411,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
1606,
12,
921,
320,
13,
288,
5411,
309,
261,
83,
422,
333,
13,
288,
7734,
327,
638,
31,
5411,
289,
469,
309,
261,
83,
1276,
15123,
2471,
1119,
13,
288,
7734,
15123,
2471,
1119,
1308,
273,
261,
14756,
2471,
1119,
13,
320,
31,
7734,
327,
225,
18291,
422,
1308,
18,
71,
12839,
597,
13491,
2002,
734,
422,
1308,
18,
4482,
734,
597,
13491,
2145,
422,
1308,
18,
4083,
597,
7682,
2076,
4021,
18,
14963,
12,
3011,
18,
1095,
4021,
1769,
5411,
289,
469,
288,
7734,
327,
629,
31,
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
] |
throw new SQLException(pg_stream.ReceiveString(4096));
|
throw new SQLException(pg_stream.ReceiveString (4096, getEncoding()));
|
protected void openConnection(String host, int port, Properties info, String database, String url, Driver d) throws SQLException { // Throw an exception if the user or password properties are missing // This occasionally occurs when the client uses the properties version // of getConnection(), and is a common question on the email lists if(info.getProperty("user")==null) throw new PSQLException("postgresql.con.user"); if(info.getProperty("password")==null) throw new PSQLException("postgresql.con.pass"); this_driver = d; this_url = new String(url); PG_DATABASE = new String(database); PG_PASSWORD = new String(info.getProperty("password")); PG_USER = new String(info.getProperty("user")); PG_PORT = port; PG_HOST = new String(host); PG_STATUS = CONNECTION_BAD; // Now make the initial connection try { pg_stream = new PG_Stream(host, port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed",e); } // Now we need to construct and send a startup packet try { // Ver 6.3 code pg_stream.SendInteger(4+4+SM_DATABASE+SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY,4); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MAJOR,2); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MINOR,2); pg_stream.Send(database.getBytes(),SM_DATABASE); // This last send includes the unused fields pg_stream.Send(PG_USER.getBytes(),SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY); // now flush the startup packets to the backend pg_stream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new SQLException(pg_stream.ReceiveString(4096)); case 'R': // Get the type of request areq = pg_stream.ReceiveIntegerR(4); // Get the password salt if there is one if(areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pg_stream.ReceiveChar(); rst[1] = (byte)pg_stream.ReceiveChar(); salt = new String(rst,0,2); DriverManager.println("Salt="+salt); } // now send the auth packet switch(areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: DriverManager.println("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: DriverManager.println("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: DriverManager.println("postgresql: PASSWORD"); pg_stream.SendInteger(5+PG_PASSWORD.length(),4); pg_stream.Send(PG_PASSWORD.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; case AUTH_REQ_CRYPT: DriverManager.println("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt,PG_PASSWORD); pg_stream.SendInteger(5+crypted.length(),4); pg_stream.Send(crypted.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; default: throw new PSQLException("postgresql.con.auth",new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while(areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed",e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'K': pid = pg_stream.ReceiveInteger(4); ckey = pg_stream.ReceiveInteger(4); break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(4096)); default: throw new PSQLException("postgresql.con.setup"); } // Expect ReadyForQuery packet beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'Z': break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(4096)); default: throw new PSQLException("postgresql.con.setup"); } // Originally we issued a SHOW DATESTYLE statement to find the databases default // datestyle. However, this caused some problems with timestamps, so in 6.5, we // went the way of ODBC, and set the connection to ISO. // // This may cause some clients to break when they assume anything other than ISO, // but then - they should be using the proper methods ;-) // // firstWarning = null; ExecSQL("set datestyle to 'ISO'"); // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup firstWarning = null; PG_STATUS = CONNECTION_OK; }
|
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/65edb541865032b5750cfe58cb8f7affbe1fc298/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24982,
12,
780,
1479,
16,
509,
1756,
16,
6183,
1123,
16,
514,
2063,
16,
514,
880,
16,
9396,
302,
13,
1216,
6483,
565,
288,
565,
368,
3743,
392,
1520,
309,
326,
729,
578,
2201,
1790,
854,
3315,
565,
368,
1220,
9145,
345,
285,
1230,
9938,
1347,
326,
1004,
4692,
326,
1790,
1177,
565,
368,
434,
6742,
9334,
471,
353,
279,
2975,
5073,
603,
326,
2699,
6035,
565,
309,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
1355,
8863,
565,
309,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
5466,
8863,
3639,
333,
67,
7407,
273,
302,
31,
565,
333,
67,
718,
273,
394,
514,
12,
718,
1769,
565,
22116,
67,
22366,
273,
394,
514,
12,
6231,
1769,
565,
22116,
67,
13784,
273,
394,
514,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
1769,
565,
22116,
67,
4714,
273,
394,
514,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
1769,
565,
22116,
67,
6354,
273,
1756,
31,
565,
22116,
67,
8908,
273,
394,
514,
12,
2564,
1769,
565,
22116,
67,
8608,
273,
20695,
67,
16234,
31,
3639,
368,
4494,
1221,
326,
2172,
1459,
565,
775,
1377,
288,
202,
8365,
67,
3256,
273,
394,
22116,
67,
1228,
12,
2564,
16,
1756,
1769,
1377,
289,
1044,
261,
5215,
503,
276,
338,
13,
288,
202,
759,
25808,
635,
453,
847,
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,
24982,
12,
780,
1479,
16,
509,
1756,
16,
6183,
1123,
16,
514,
2063,
16,
514,
880,
16,
9396,
302,
13,
1216,
6483,
565,
288,
565,
368,
3743,
392,
1520,
309,
326,
729,
578,
2201,
1790,
854,
3315,
565,
368,
1220,
9145,
345,
285,
1230,
9938,
1347,
326,
1004,
4692,
326,
1790,
1177,
565,
368,
434,
6742,
9334,
471,
353,
279,
2975,
5073,
603,
326,
2699,
6035,
565,
309,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
1355,
8863,
565,
309,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
2
] |
reportSchemaError("src-wildcard", new Object[]{"intersection of wildcards is not expressible"}, child);
|
String code = (enclosingCT == null) ? "src-attribute_group.2" : "src-ct.4"; String name = (enclosingCT == null) ? attrGrp.fName : enclosingCT.getName(); reportSchemaError(code, new Object[]{name}, child);
|
Element traverseAttrsAndAttrGrps(Element firstAttr, XSAttributeGroupDecl attrGrp, XSDocumentInfo schemaDoc, SchemaGrammar grammar, XSComplexTypeDecl enclosingCT) { Element child=null; XSAttributeGroupDecl tempAttrGrp = null; XSAttributeUseImpl tempAttrUse = null; String childName; for (child=firstAttr; child!=null; child=DOMUtil.getNextSiblingElement(child)) { childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_ATTRIBUTE)) { tempAttrUse = fSchemaHandler.fAttributeTraverser.traverseLocal(child, schemaDoc, grammar, enclosingCT); if (tempAttrUse == null) break; if (attrGrp.getAttributeUse(tempAttrUse.fAttrDecl.getNamespace(), tempAttrUse.fAttrDecl.getName())==null) { String idName = attrGrp.addAttributeUse(tempAttrUse); if (idName != null) { String code = (enclosingCT == null) ? "ag-props-correct.3" : "ct-props-correct.5"; String name = (enclosingCT == null) ? attrGrp.fName : enclosingCT.getName(); reportSchemaError(code, new Object[]{name, tempAttrUse.fAttrDecl.getName(), idName}, child); } } else { // REVISIT: what if one of the attribute uses is "prohibited" String code = (enclosingCT == null) ? "ag-props-correct.2" : "ct-props-correct.4"; String name = (enclosingCT == null) ? attrGrp.fName : enclosingCT.getName(); reportSchemaError(code, new Object[]{name, tempAttrUse.fAttrDecl.getName()}, child); } } else if (childName.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP)) { //REVISIT: do we need to save some state at this point?? tempAttrGrp = fSchemaHandler.fAttributeGroupTraverser.traverseLocal( child, schemaDoc, grammar); if(tempAttrGrp == null ) break; XSObjectList attrUseS = tempAttrGrp.getAttributeUses(); XSAttributeUseImpl existingAttrUse = null, oneAttrUse; int attrCount = attrUseS.getLength(); for (int i=0; i<attrCount; i++) { oneAttrUse = (XSAttributeUseImpl)attrUseS.item(i); existingAttrUse = attrGrp.getAttributeUse(oneAttrUse.fAttrDecl.getNamespace(), oneAttrUse.fAttrDecl.getName()); if (existingAttrUse == null) { String idName = attrGrp.addAttributeUse(oneAttrUse); if (idName != null) { reportSchemaError("cvc-complex-type.5.3", new Object[]{oneAttrUse.fAttrDecl.getName(), idName}, child); } } else { // REVISIT: what if one of the attribute uses is "prohibited" reportSchemaError("ct-props-correct.4", new Object[]{"Duplicate attribute " + existingAttrUse.fAttrDecl.getName() + " found "}, child); } } if (tempAttrGrp.fAttributeWC != null) { if (attrGrp.fAttributeWC == null) { attrGrp.fAttributeWC = tempAttrGrp.fAttributeWC; } // perform intersection of attribute wildcard else { attrGrp.fAttributeWC = attrGrp.fAttributeWC. performIntersectionWith(tempAttrGrp.fAttributeWC, attrGrp.fAttributeWC.fProcessContents); if (attrGrp.fAttributeWC == null) { reportSchemaError("src-wildcard", new Object[]{"intersection of wildcards is not expressible"}, child); } } } } else break; } // for if (child != null) { childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_ANYATTRIBUTE)) { XSWildcardDecl tempAttrWC = fSchemaHandler.fWildCardTraverser. traverseAnyAttribute(child, schemaDoc, grammar); if (attrGrp.fAttributeWC == null) { attrGrp.fAttributeWC = tempAttrWC; } // perform intersection of attribute wildcard else { attrGrp.fAttributeWC = tempAttrWC. performIntersectionWith(attrGrp.fAttributeWC, tempAttrWC.fProcessContents); if (attrGrp.fAttributeWC == null) { reportSchemaError("src-wildcard", new Object[]{"intersection of wildcards is not expressible"}, child); } } child = DOMUtil.getNextSiblingElement(child); } } // Success return child; }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/72aab9975567551c5541b6b1d326e2af32e237d9/XSDAbstractTraverser.java/clean/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3010,
10080,
8262,
1876,
3843,
20799,
1121,
12,
1046,
1122,
3843,
16,
1139,
55,
1499,
1114,
3456,
1604,
43,
13832,
16,
19694,
1139,
55,
2519,
966,
1963,
1759,
16,
4611,
18576,
6473,
16,
19694,
1139,
55,
12795,
559,
3456,
16307,
1268,
13,
288,
3639,
3010,
1151,
33,
2011,
31,
3639,
1139,
55,
1499,
1114,
3456,
1906,
3843,
43,
13832,
273,
446,
31,
3639,
1139,
55,
1499,
3727,
2828,
1906,
3843,
3727,
273,
446,
31,
3639,
514,
27440,
31,
3639,
364,
261,
3624,
33,
3645,
3843,
31,
1151,
5,
33,
2011,
31,
1151,
33,
8168,
1304,
18,
588,
2134,
10291,
1046,
12,
3624,
3719,
288,
5411,
27440,
273,
4703,
1304,
18,
588,
29583,
12,
3624,
1769,
5411,
309,
261,
3624,
461,
18,
14963,
12,
3078,
14821,
18,
2247,
56,
67,
11616,
3719,
288,
7734,
1906,
3843,
3727,
273,
284,
3078,
1503,
18,
74,
1499,
15844,
264,
18,
2033,
2476,
2042,
12,
3624,
16,
28524,
9079,
1963,
1759,
16,
28524,
9079,
6473,
16,
28524,
9079,
16307,
1268,
1769,
7734,
309,
261,
5814,
3843,
3727,
422,
446,
13,
898,
31,
7734,
309,
261,
1747,
43,
13832,
18,
588,
1499,
3727,
12,
5814,
3843,
3727,
18,
74,
3843,
3456,
18,
588,
3402,
9334,
4766,
5411,
1906,
3843,
3727,
18,
74,
3843,
3456,
18,
17994,
10756,
631,
2011,
13,
288,
10792,
514,
612,
461,
273,
1604,
43,
13832,
18,
1289,
1499,
3727,
12,
5814,
3843,
3727,
1769,
10792,
309,
261,
350,
461,
480,
446,
13,
288,
13491,
514,
981,
273,
261,
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,
3010,
10080,
8262,
1876,
3843,
20799,
1121,
12,
1046,
1122,
3843,
16,
1139,
55,
1499,
1114,
3456,
1604,
43,
13832,
16,
19694,
1139,
55,
2519,
966,
1963,
1759,
16,
4611,
18576,
6473,
16,
19694,
1139,
55,
12795,
559,
3456,
16307,
1268,
13,
288,
3639,
3010,
1151,
33,
2011,
31,
3639,
1139,
55,
1499,
1114,
3456,
1906,
3843,
43,
13832,
273,
446,
31,
3639,
1139,
55,
1499,
3727,
2828,
1906,
3843,
3727,
273,
446,
31,
3639,
514,
27440,
31,
3639,
364,
261,
3624,
33,
3645,
3843,
31,
1151,
5,
33,
2011,
31,
1151,
33,
8168,
1304,
18,
588,
2134,
10291,
1046,
12,
3624,
3719,
288,
5411,
27440,
273,
4703,
1304,
18,
588,
29583,
12,
3624,
1769,
5411,
309,
261,
2
] |
public static IMenuComponent getMenu(UIComponent component, String menuId) { return searchMenu(component, menuId);
|
public static IMenuComponent getMenu(MenuItemComponent item) { for (;;) { UIComponent component = item.getParent(); if (component == null) { return null; } if (component instanceof MenuComponent) { return (MenuComponent) component; } if ((component instanceof MenuItemComponent) == false) { return null; } item = (MenuItemComponent) component; }
|
public static IMenuComponent getMenu(UIComponent component, String menuId) { return searchMenu(component, menuId); }
|
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/MenuTools.java/buggy/org.rcfaces.core/src/org/rcfaces/core/internal/tools/MenuTools.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
4599,
1841,
25877,
12,
5370,
1841,
1794,
16,
514,
3824,
548,
13,
288,
3639,
327,
1623,
4599,
12,
4652,
16,
3824,
548,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
4599,
1841,
25877,
12,
5370,
1841,
1794,
16,
514,
3824,
548,
13,
288,
3639,
327,
1623,
4599,
12,
4652,
16,
3824,
548,
1769,
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
] |
BugzillaTask bugTask = (BugzillaTask)task;
|
BugzillaTask bugTask = (BugzillaTask) task;
|
private void searchLocal(List<ITask> tasks, BugzillaResultCollector searchCollector, String elementName, IProgressMonitor monitor) { if(tasks == null) return; // go through all of the tasks for(ITask task : tasks){ monitor.worked(1); // check what kind of task it is if(task instanceof BugzillaTask){ // we have a bugzilla task, so get the bug report BugzillaTask bugTask = (BugzillaTask)task; BugReport bug = bugTask.getBugReport(); // parse the bug report for the element that we are searching for boolean isHit = search(elementName, bug); // determine if we have a hit or not if(isHit){ // make a search hit from the bug and then add it to the collector BugzillaSearchHit hit = new BugzillaSearchHit(bug.getId(), bug.getDescription(), "","","","","","","", bug.getServer()); try{ searchCollector.accept(hit); } catch(CoreException e){ MylarStatusHandler.log(e, "bug search failed"); } } } } status = Status.OK_STATUS; }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/1245a92f28a2990bae8373c09891556a69268c75/BugzillaMylarSearchOperation.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/search/BugzillaMylarSearchOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1623,
2042,
12,
682,
32,
1285,
835,
34,
4592,
16,
16907,
15990,
1253,
7134,
1623,
7134,
16,
514,
14453,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
430,
12,
9416,
422,
446,
13,
327,
31,
9506,
202,
759,
1960,
3059,
777,
434,
326,
4592,
202,
202,
1884,
12,
1285,
835,
1562,
294,
4592,
15329,
1082,
202,
10259,
18,
1252,
329,
12,
21,
1769,
25083,
202,
759,
866,
4121,
3846,
434,
1562,
518,
353,
1082,
202,
430,
12,
4146,
1276,
16907,
15990,
2174,
15329,
6862,
9506,
202,
759,
732,
1240,
279,
7934,
15990,
1562,
16,
1427,
336,
326,
7934,
2605,
9506,
202,
19865,
15990,
2174,
7934,
2174,
273,
261,
19865,
15990,
2174,
13,
4146,
31,
9506,
202,
19865,
4820,
7934,
273,
7934,
2174,
18,
588,
19865,
4820,
5621,
6862,
9506,
202,
759,
1109,
326,
7934,
2605,
364,
326,
930,
716,
732,
854,
15300,
364,
9506,
202,
6494,
353,
13616,
273,
1623,
12,
2956,
461,
16,
7934,
1769,
6862,
9506,
202,
759,
4199,
309,
732,
1240,
279,
6800,
578,
486,
9506,
202,
430,
12,
291,
13616,
15329,
6862,
25083,
202,
759,
1221,
279,
1623,
6800,
628,
326,
7934,
471,
1508,
527,
518,
358,
326,
8543,
6862,
202,
19865,
15990,
2979,
13616,
6800,
273,
394,
16907,
15990,
2979,
13616,
12,
925,
18,
26321,
9334,
7934,
18,
588,
3291,
9334,
1408,
10837,
15937,
15937,
15937,
15937,
15937,
3113,
7934,
18,
588,
2081,
10663,
6862,
202,
698,
95,
25083,
202,
3072,
7134,
18,
9436,
12,
15989,
1769,
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,
918,
1623,
2042,
12,
682,
32,
1285,
835,
34,
4592,
16,
16907,
15990,
1253,
7134,
1623,
7134,
16,
514,
14453,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
430,
12,
9416,
422,
446,
13,
327,
31,
9506,
202,
759,
1960,
3059,
777,
434,
326,
4592,
202,
202,
1884,
12,
1285,
835,
1562,
294,
4592,
15329,
1082,
202,
10259,
18,
1252,
329,
12,
21,
1769,
25083,
202,
759,
866,
4121,
3846,
434,
1562,
518,
353,
1082,
202,
430,
12,
4146,
1276,
16907,
15990,
2174,
15329,
6862,
9506,
202,
759,
732,
1240,
279,
7934,
15990,
1562,
16,
1427,
336,
326,
7934,
2605,
9506,
202,
19865,
15990,
2174,
7934,
2174,
273,
261,
19865,
15990,
2174,
13,
4146,
31,
2
] |
throw Kit.badTypeJS(val);
|
warnAboutNonJSObject(val); return true;
|
public static boolean toBoolean(Object val) { if (val == null) return false; if (val instanceof Boolean) return ((Boolean) val).booleanValue(); if (val instanceof Scriptable) { if (Context.getContext().isVersionECMA1()) { // pure ECMA return val != Undefined.instance; } // ECMA extension val = ((Scriptable) val).getDefaultValue(BooleanClass); if (val instanceof Scriptable) throw errorWithClassName("msg.primitive.expected", val); if (val instanceof Boolean) return ((Boolean) val).booleanValue(); // fall through } if (val instanceof String) return ((String) val).length() != 0; if (val instanceof Number) { double d = ((Number) val).doubleValue(); return (d == d && d != 0.0); } throw Kit.badTypeJS(val); }
|
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/fb0c98a7e66723f1ae949f529f8d4abc7596ebae/ScriptRuntime.java/clean/src/org/mozilla/javascript/ScriptRuntime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
358,
5507,
12,
921,
1244,
13,
288,
3639,
309,
261,
1125,
422,
446,
13,
5411,
327,
629,
31,
3639,
309,
261,
1125,
1276,
3411,
13,
5411,
327,
14015,
5507,
13,
1244,
2934,
6494,
620,
5621,
3639,
309,
261,
1125,
1276,
22780,
13,
288,
5411,
309,
261,
1042,
18,
29120,
7675,
291,
1444,
7228,
5535,
21,
10756,
288,
7734,
368,
16618,
7773,
5535,
7734,
327,
1244,
480,
22243,
18,
1336,
31,
5411,
289,
5411,
368,
7773,
5535,
2710,
5411,
1244,
273,
14015,
3651,
429,
13,
1244,
2934,
588,
15646,
12,
5507,
797,
1769,
5411,
309,
261,
1125,
1276,
22780,
13,
7734,
604,
555,
1190,
3834,
2932,
3576,
18,
683,
5025,
18,
3825,
3113,
1244,
1769,
5411,
309,
261,
1125,
1276,
3411,
13,
7734,
327,
14015,
5507,
13,
1244,
2934,
6494,
620,
5621,
5411,
368,
4159,
3059,
3639,
289,
3639,
309,
261,
1125,
1276,
514,
13,
5411,
327,
14015,
780,
13,
1244,
2934,
2469,
1435,
480,
374,
31,
3639,
309,
261,
1125,
1276,
3588,
13,
288,
5411,
1645,
302,
273,
14015,
1854,
13,
1244,
2934,
9056,
620,
5621,
5411,
327,
261,
72,
422,
302,
597,
302,
480,
374,
18,
20,
1769,
3639,
289,
540,
1894,
24813,
3989,
6479,
921,
12,
1125,
1769,
327,
638,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
358,
5507,
12,
921,
1244,
13,
288,
3639,
309,
261,
1125,
422,
446,
13,
5411,
327,
629,
31,
3639,
309,
261,
1125,
1276,
3411,
13,
5411,
327,
14015,
5507,
13,
1244,
2934,
6494,
620,
5621,
3639,
309,
261,
1125,
1276,
22780,
13,
288,
5411,
309,
261,
1042,
18,
29120,
7675,
291,
1444,
7228,
5535,
21,
10756,
288,
7734,
368,
16618,
7773,
5535,
7734,
327,
1244,
480,
22243,
18,
1336,
31,
5411,
289,
5411,
368,
7773,
5535,
2710,
5411,
1244,
273,
14015,
3651,
429,
13,
1244,
2934,
588,
15646,
12,
5507,
797,
1769,
5411,
309,
261,
1125,
1276,
22780,
13,
7734,
604,
555,
1190,
3834,
2932,
3576,
18,
683,
5025,
18,
3825,
3113,
1244,
1769,
5411,
2
] |
public boolean isJpeg() throws IOException
|
public boolean isJpeg() throws JpegProcessingException
|
public boolean isJpeg() throws IOException { BufferedInputStream fileStream = new BufferedInputStream(new FileInputStream(_file)); try { return isValidJpegHeaderBytes(fileStream); } finally { fileStream.close(); } }
|
13212 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13212/86405a5c4ff12f30fd2796244d129975a8483ac3/JpegSegmentReader.java/clean/src/com/drew/imaging/jpeg/JpegSegmentReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
46,
9001,
1435,
1216,
804,
9001,
23684,
565,
288,
3639,
24742,
585,
1228,
273,
394,
24742,
12,
2704,
11907,
24899,
768,
10019,
3639,
775,
288,
5411,
327,
4908,
46,
9001,
1864,
2160,
12,
768,
1228,
1769,
3639,
289,
3095,
288,
5411,
585,
1228,
18,
4412,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
353,
46,
9001,
1435,
1216,
804,
9001,
23684,
565,
288,
3639,
24742,
585,
1228,
273,
394,
24742,
12,
2704,
11907,
24899,
768,
10019,
3639,
775,
288,
5411,
327,
4908,
46,
9001,
1864,
2160,
12,
768,
1228,
1769,
3639,
289,
3095,
288,
5411,
585,
1228,
18,
4412,
5621,
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
] |
public void testCallableError1() throws Exception { String text = "test message"; Statement stmt = con.createStatement(); stmt.execute("create procedure #ce1 as\r\n " + "begin\r\n" + "RAISERROR('" + text + "', 16, 1 )\r\n" + "end"); stmt.close(); CallableStatement cstmt = con.prepareCall("{call #ce1}"); try { cstmt.execute(); assertTrue(false); } catch (SQLException e) { assertTrue(e.getMessage().equals(text)); } cstmt.close(); }
|
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/652c051efa4b30c605d0754c2aca1050213b5c11/CallableStatementTest.java/clean/src/test/net/sourceforge/jtds/test/CallableStatementTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11452,
668,
21,
1435,
1216,
1185,
288,
3639,
514,
977,
273,
315,
3813,
883,
14432,
7734,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
2932,
2640,
12131,
468,
311,
21,
487,
64,
86,
64,
82,
315,
5397,
397,
315,
10086,
64,
86,
64,
82,
6,
5397,
397,
315,
2849,
45,
2123,
2784,
22076,
397,
977,
397,
14912,
2872,
16,
404,
262,
64,
86,
64,
82,
6,
5397,
397,
315,
409,
8863,
3639,
3480,
18,
4412,
5621,
7734,
10464,
3406,
276,
10589,
273,
356,
18,
9366,
1477,
2932,
95,
1991,
468,
311,
21,
1532,
1769,
3639,
775,
288,
5411,
276,
10589,
18,
8837,
5621,
5411,
1815,
5510,
12,
5743,
1769,
3639,
289,
1044,
261,
23116,
425,
13,
288,
5411,
1815,
5510,
12,
73,
18,
24906,
7675,
14963,
12,
955,
10019,
3639,
289,
7734,
276,
10589,
18,
4412,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11452,
668,
21,
1435,
1216,
1185,
288,
3639,
514,
977,
273,
315,
3813,
883,
14432,
7734,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
2932,
2640,
12131,
468,
311,
21,
487,
64,
86,
64,
82,
315,
5397,
397,
315,
10086,
64,
86,
64,
82,
6,
5397,
397,
315,
2849,
45,
2123,
2784,
22076,
397,
977,
397,
14912,
2872,
16,
404,
262,
64,
86,
64,
82,
6,
5397,
397,
315,
409,
8863,
3639,
3480,
18,
4412,
5621,
7734,
10464,
3406,
276,
10589,
273,
356,
18,
9366,
1477,
2932,
95,
1991,
468,
311,
21,
1532,
1769,
3639,
775,
288,
5411,
276,
10589,
18,
8837,
5621,
5411,
1815,
5510,
12,
5743,
1769,
3639,
289,
2
] |
||
Map params = new HashMap( );
|
protected Map getParsedParameters( IViewerReportDesignHandle design, Collection parameterList, HttpServletRequest request, InputOptions options ) throws ReportServiceException { assert parameterList != null; assert parametersAsString != null; Map params = new HashMap( ); for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); ) { ScalarParameterHandle parameter = null; Object parameterObj = iter.next( ); if ( parameterObj instanceof ScalarParameterHandle ) { parameter = (ScalarParameterHandle) parameterObj; } // if current object is not Scalar parameter handle, then skip it if ( parameter == null ) continue; String paramName = parameter.getName( ); Object paramValueObj = parametersAsString.get( paramName ); if ( paramValueObj != null ) { // Convert locale string to object try { paramValueObj = ParameterValidationUtil.validate( parameter .getDataType( ), parameter.getPattern( ), paramValueObj.toString( ), locale ); params.put( paramName, paramValueObj ); } catch ( ValidationValueException e ) { // if in RUN mode, then throw exception directly if ( ParameterAccessor.SERVLET_PATH_RUN .equalsIgnoreCase( request.getServletPath( ) ) ) { this.exception = e; break; } } } else { params.put( paramName, null ); } } return params; }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/5bdace78a30f4b2e1b7ec545592256cb0b1473cc/ViewerAttributeBean.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1635,
25406,
2402,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
2532,
1569,
682,
16,
9984,
590,
16,
1082,
202,
1210,
1320,
702,
262,
1216,
8706,
15133,
202,
95,
202,
202,
11231,
1569,
682,
480,
446,
31,
202,
202,
11231,
1472,
8092,
480,
446,
31,
202,
202,
863,
859,
273,
394,
4317,
12,
11272,
202,
202,
1884,
261,
4498,
1400,
273,
1569,
682,
18,
9838,
12,
11272,
1400,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
13639,
1662,
3259,
1569,
273,
446,
31,
1082,
202,
921,
1569,
2675,
273,
1400,
18,
4285,
12,
11272,
1082,
202,
430,
261,
1569,
2675,
1276,
15791,
1662,
3259,
262,
1082,
202,
95,
9506,
202,
6775,
273,
261,
13639,
1662,
3259,
13,
1569,
2675,
31,
1082,
202,
97,
1082,
202,
759,
309,
783,
733,
353,
486,
15791,
1569,
1640,
16,
1508,
2488,
518,
1082,
202,
430,
261,
1569,
422,
446,
262,
9506,
202,
17143,
31,
1082,
202,
780,
11466,
273,
1569,
18,
17994,
12,
11272,
1082,
202,
921,
20250,
2675,
273,
1472,
8092,
18,
588,
12,
11466,
11272,
1082,
202,
430,
261,
20250,
2675,
480,
446,
262,
1082,
202,
95,
9506,
202,
759,
4037,
2573,
533,
358,
733,
9506,
202,
698,
9506,
202,
95,
6862,
202,
891,
620,
2675,
273,
5498,
4354,
1304,
18,
5662,
12,
1569,
6862,
1082,
202,
18,
588,
6273,
12,
262,
16,
1569,
18,
588,
3234,
12,
262,
16,
6862,
1082,
202,
891,
620,
2675,
18,
10492,
12,
262,
16,
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,
1635,
25406,
2402,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
2532,
1569,
682,
16,
9984,
590,
16,
1082,
202,
1210,
1320,
702,
262,
1216,
8706,
15133,
202,
95,
202,
202,
11231,
1569,
682,
480,
446,
31,
202,
202,
11231,
1472,
8092,
480,
446,
31,
202,
202,
863,
859,
273,
394,
4317,
12,
11272,
202,
202,
1884,
261,
4498,
1400,
273,
1569,
682,
18,
9838,
12,
11272,
1400,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
13639,
1662,
3259,
1569,
273,
446,
31,
1082,
202,
921,
1569,
2675,
273,
1400,
18,
4285,
12,
11272,
1082,
202,
430,
261,
1569,
2675,
1276,
15791,
1662,
3259,
262,
1082,
202,
95,
9506,
202,
6775,
2
] |
|
if (shell != null) { if (!shell.endsWith("sh")) { shellSwitch = "/c";
|
if (aProcess != null) { InputStream processOutput = aProcess.getInputStream(); int b; boolean crSeen = false; while ((b = processOutput.read()) != -1) { if (b == '\r') { crSeen = true; } else { if (crSeen) { if (b != '\n') { output.write('\r'); } crSeen = false; } output.write(b); }
|
private static int runInShell(IRuby runtime, String command, StringBuffer output) { try { String shell = System.getProperty("jruby.shell"); Process aProcess; String shellSwitch = "-c"; command = repairDirSeps(command); if (shell != null) { if (!shell.endsWith("sh")) { shellSwitch = "/c"; } aProcess = Runtime.getRuntime().exec(new String[] { shell, shellSwitch, command }); } else { aProcess = Runtime.getRuntime().exec(command); } final BufferedReader reader = new BufferedReader(new InputStreamReader(aProcess.getInputStream())); // Fairly innefficient impl, but readLine is unable to tell // whether the last line in a process ended with a newline or not. int c; boolean crSeen = false; while ((c = reader.read()) != -1) { if (c == '\r') { crSeen = true; } else { if (crSeen) { if (c != '\n') { output.append('\r'); } crSeen = false; } output.append((char)c); } } if (crSeen) { output.append('\r'); } aProcess.getErrorStream().close(); aProcess.getOutputStream().close(); reader.close(); return aProcess.waitFor(); } catch (IOException e) { throw runtime.newIOErrorFromException(e); } catch (InterruptedException e) { throw runtime.newThreadError("unexpected interrupt"); } }
|
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/b4a189a27604d62c317938f16a124fb9dab1e94a/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
1086,
382,
13220,
12,
7937,
10340,
3099,
16,
514,
1296,
16,
6674,
876,
13,
288,
3639,
775,
288,
5411,
514,
5972,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
10304,
8863,
5411,
4389,
279,
2227,
31,
5411,
514,
5972,
10200,
273,
3701,
71,
14432,
13491,
1296,
273,
20994,
1621,
5097,
87,
12,
3076,
1769,
13491,
309,
261,
10304,
480,
446,
13,
288,
7734,
309,
16051,
10304,
18,
5839,
1190,
2932,
674,
6,
3719,
288,
10792,
5972,
10200,
273,
2206,
71,
14432,
7734,
289,
7734,
279,
2227,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
2704,
514,
8526,
288,
5972,
16,
5972,
10200,
16,
1296,
15549,
5411,
289,
469,
288,
7734,
279,
2227,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
3076,
1769,
5411,
289,
5411,
727,
10633,
2949,
273,
394,
10633,
12,
2704,
15322,
12,
69,
2227,
18,
588,
4348,
1435,
10019,
5411,
368,
478,
1826,
715,
316,
4644,
8714,
9380,
16,
1496,
12273,
353,
13496,
358,
9276,
2398,
368,
2856,
326,
1142,
980,
316,
279,
1207,
16926,
598,
279,
9472,
578,
486,
18,
5411,
509,
276,
31,
5411,
1250,
4422,
15160,
273,
629,
31,
5411,
1323,
14015,
71,
273,
2949,
18,
896,
10756,
480,
300,
21,
13,
288,
2398,
202,
430,
261,
71,
422,
2337,
86,
6134,
288,
2398,
202,
202,
3353,
15160,
273,
638,
31,
2398,
202,
97,
469,
288,
2398,
202,
202,
430,
261,
3353,
15160,
13,
288,
2398,
1082,
202,
430,
261,
71,
480,
2337,
82,
6134,
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,
377,
3238,
760,
509,
1086,
382,
13220,
12,
7937,
10340,
3099,
16,
514,
1296,
16,
6674,
876,
13,
288,
3639,
775,
288,
5411,
514,
5972,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
10304,
8863,
5411,
4389,
279,
2227,
31,
5411,
514,
5972,
10200,
273,
3701,
71,
14432,
13491,
1296,
273,
20994,
1621,
5097,
87,
12,
3076,
1769,
13491,
309,
261,
10304,
480,
446,
13,
288,
7734,
309,
16051,
10304,
18,
5839,
1190,
2932,
674,
6,
3719,
288,
10792,
5972,
10200,
273,
2206,
71,
14432,
7734,
289,
7734,
279,
2227,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
2704,
514,
8526,
288,
5972,
16,
5972,
10200,
16,
1296,
15549,
5411,
289,
469,
288,
7734,
279,
2227,
273,
2509,
2
] |
private void createWebModuleProject(J2EEModuleCreationDataModel model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException {
|
private void createWebModuleProject(J2EEModuleCreationDataModelOld model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException {
|
private void createWebModuleProject(J2EEModuleCreationDataModel model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException { EarModuleExtension ext = EarModuleManager.getWebModuleExtension(); runModuleExtensionOperation(ext, model, monitor); WTPActivityBridge.getInstance().enableActivity(WEB_DEV_ACTIVITY_ID, true); }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/3031f53be0adbf835f39609909ba56af3402ccaf/DefaultModuleProjectCreationOperation.java/clean/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/operations/DefaultModuleProjectCreationOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
4079,
3120,
4109,
12,
46,
22,
9383,
3120,
9906,
26349,
938,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
16,
15342,
16,
7558,
288,
202,
202,
41,
297,
3120,
3625,
1110,
273,
512,
297,
3120,
1318,
18,
588,
4079,
3120,
3625,
5621,
202,
202,
2681,
3120,
3625,
2988,
12,
408,
16,
938,
16,
6438,
1769,
202,
202,
8588,
52,
6193,
13691,
18,
588,
1442,
7675,
7589,
6193,
12,
14778,
67,
15301,
67,
22271,
4107,
67,
734,
16,
638,
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,
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,
5491,
7187,
6438,
13,
1216,
30015,
16,
15342,
16,
7558,
288,
202,
202,
41,
297,
3120,
3625,
1110,
273,
512,
297,
3120,
1318,
18,
588,
4079,
3120,
3625,
5621,
202,
202,
2681,
3120,
3625,
2988,
12,
408,
16,
938,
16,
6438,
1769,
202,
202,
8588,
52,
6193,
13691,
18,
588,
1442,
7675,
7589,
6193,
12,
14778,
67,
15301,
67,
22271,
4107,
67,
734,
16,
638,
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
] |
public IResponseMessage processRequest(Admin admin, CAInfo cainfo, IRequestMessage requestmessage) throws CAExistsException, CADoesntExistsException, AuthorizationDeniedException, CATokenOfflineException { CA ca = null; Collection certchain = null; Collection certpublishers = null; IResponseMessage returnval = null; // check authorization try{ getAuthorizationSession().isAuthorizedNoLog(admin,"/super_administrator"); }catch(AuthorizationDeniedException e){ getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_NOTAUTHORIZEDTORESOURCE,"Administrator isn't authorized to process CA",e); throw new AuthorizationDeniedException("Not authorized to process a CA "); } // Check that CA doesn't already exists try{ int caid = cainfo.getCAId(); if(caid >=0 && caid <= CAInfo.SPECIALCAIDBORDER){ getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Error when processing CA " + cainfo.getName() +". CA already exists."); throw new CAExistsException("Error when processing CA " + cainfo.getName() +". CA already exists."); } cadatahome.findByPrimaryKey(new Integer(caid)); getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Error when processing CA " + cainfo.getName() +". CA already exists."); throw new CAExistsException("Error when processing CA " + cainfo.getName() +". CA already exists."); }catch(javax.ejb.FinderException fe) {} try{ cadatahome.findByName(cainfo.getName()); getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Error when processing CA " + cainfo.getName() +". CA already exists."); throw new CAExistsException("Error when processing CA " + cainfo.getName() +". CA already exists."); }catch(javax.ejb.FinderException fe) {} //get signing CA if(cainfo.getSignedBy() > CAInfo.SPECIALCAIDBORDER || cainfo.getSignedBy() < 0){ try{ CADataLocal signcadata = cadatahome.findByPrimaryKey(new Integer(cainfo.getSignedBy())); CA signca = signcadata.getCA(); try{ // Check validity of signers certificate X509Certificate signcert = (X509Certificate) signca.getCACertificate(); try{ signcert.checkValidity(); }catch(CertificateExpiredException ce){ // Signers Certificate has expired. signcadata.setStatus(SecConst.CA_EXPIRED); getLogSession().log(admin, signcadata.getCAId().intValue(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Signing CA " + signcadata.getSubjectDN() + " has expired",ce); throw new EJBException(ce); }catch(CertificateNotYetValidException cve){ getLogSession().log(admin, signcadata.getCAId().intValue(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Signing CA " + signcadata.getSubjectDN() + " is not yet valid",cve); throw new EJBException(cve); } // Get public key from request PublicKey publickey = requestmessage.getRequestPublicKey(); // Create cacertificate Certificate cacertificate = null; if(cainfo instanceof X509CAInfo){ UserAuthData cadata = new UserAuthData("nobody", null, cainfo.getSubjectDN(), cainfo.getSubjectDN().hashCode(), ((X509CAInfo) cainfo).getSubjectAltName(), null, 0, cainfo.getCertificateProfileId(), null); CertificateProfile certprofile = getCertificateStoreSession().getCertificateProfile(admin, cainfo.getCertificateProfileId()); certpublishers = certprofile.getPublisherList(); cacertificate = signca.generateCertificate(cadata, publickey, -1, cainfo.getValidity(), certprofile); returnval = new X509ResponseMessage(); returnval.setCertificate(cacertificate); } // Build Certificate Chain Collection rootcachain = signca.getCertificateChain(); certchain = new ArrayList(); certchain.add(cacertificate); certchain.addAll(rootcachain); if(cainfo instanceof X509CAInfo){ X509CAInfo x509cainfo = (X509CAInfo) cainfo; // Create X509CA ca = new X509CA((X509CAInfo) cainfo); ca.setCertificateChain(certchain); ca.setCAToken(new NullCAToken()); } // set status to active cadatahome.create(cainfo.getSubjectDN(), cainfo.getName(), SecConst.CA_EXTERNAL, ca); // Publish CA certificates. getSignSession().publishCACertificate(admin, ca.getCertificateChain(), ca.getCRLPublishers(), SecConst.CERTTYPE_SUBCA); }catch(CATokenOfflineException e){ signca.setStatus(SecConst.CA_OFFLINE); getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Couldn't Process CA.",e); throw e; } }catch(Exception e){ getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Couldn't Process CA.",e); throw new EJBException(e); } } if(certchain != null) getLogSession().log(admin, cainfo.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_CAEDITED,"CA processed successfully"); else getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CAEDITED,"Error when processing CA"); return returnval; } // processRequest
|
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/6f27459e8db7a9efb8cf0588695ad6fd28539506/CAAdminSessionBean.java/clean/src/java/se/anatom/ejbca/ca/caadmin/CAAdminSessionBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
1064,
1079,
1207,
691,
12,
4446,
3981,
16,
6425,
966,
276,
28935,
16,
467,
691,
1079,
590,
2150,
13,
377,
1216,
6425,
4002,
503,
16,
385,
1880,
83,
281,
496,
4002,
503,
16,
10234,
15877,
16,
30210,
969,
23106,
503,
288,
377,
202,
3587,
3474,
273,
446,
31,
540,
202,
2532,
3320,
5639,
273,
446,
31,
4766,
3639,
202,
2532,
3320,
6543,
414,
273,
446,
31,
9785,
202,
45,
1064,
1079,
327,
1125,
273,
446,
31,
377,
202,
759,
866,
6093,
377,
202,
698,
95,
377,
202,
202,
588,
6063,
2157,
7675,
291,
15341,
2279,
1343,
12,
3666,
10837,
19,
9565,
67,
3666,
14207,
8863,
377,
202,
97,
14683,
12,
6063,
15877,
425,
15329,
377,
202,
202,
588,
1343,
2157,
7675,
1330,
12,
3666,
16,
3981,
18,
588,
3587,
548,
9334,
30039,
18,
12194,
67,
3587,
16,
225,
394,
2252,
18,
1367,
18,
1626,
9334,
446,
16,
446,
16,
30039,
18,
10454,
67,
3589,
67,
4400,
28383,
4296,
11395,
10837,
4446,
14207,
5177,
1404,
10799,
358,
1207,
6425,
3113,
73,
1769,
377,
202,
202,
12849,
394,
10234,
15877,
2932,
1248,
10799,
358,
1207,
279,
6425,
225,
315,
1769,
377,
202,
97,
377,
202,
377,
202,
759,
2073,
716,
6425,
3302,
1404,
1818,
1704,
377,
202,
698,
95,
377,
202,
202,
474,
3474,
350,
273,
276,
28935,
18,
588,
3587,
548,
5621,
1171,
202,
202,
430,
12,
5353,
350,
1545,
20,
597,
3474,
350,
1648,
6425,
966,
18,
13847,
6365,
3587,
734,
38,
7954,
15329,
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,
467,
1064,
1079,
1207,
691,
12,
4446,
3981,
16,
6425,
966,
276,
28935,
16,
467,
691,
1079,
590,
2150,
13,
377,
1216,
6425,
4002,
503,
16,
385,
1880,
83,
281,
496,
4002,
503,
16,
10234,
15877,
16,
30210,
969,
23106,
503,
288,
377,
202,
3587,
3474,
273,
446,
31,
540,
202,
2532,
3320,
5639,
273,
446,
31,
4766,
3639,
202,
2532,
3320,
6543,
414,
273,
446,
31,
9785,
202,
45,
1064,
1079,
327,
1125,
273,
446,
31,
377,
202,
759,
866,
6093,
377,
202,
698,
95,
377,
202,
202,
588,
6063,
2157,
7675,
291,
15341,
2279,
1343,
12,
3666,
10837,
19,
9565,
67,
3666,
14207,
8863,
377,
202,
97,
14683,
12,
6063,
15877,
425,
15329,
377,
202,
2
] |
||
public org.quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { org.quickfix.field.StrikePrice value = new org.quickfix.field.StrikePrice();
|
public quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { quickfix.field.StrikePrice value = new quickfix.field.StrikePrice();
|
public org.quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { org.quickfix.field.StrikePrice value = new org.quickfix.field.StrikePrice(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MultilegOrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix43/MultilegOrderCancelReplaceRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1585,
2547,
5147,
24017,
2547,
5147,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1585,
2547,
5147,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1585,
2547,
5147,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1585,
2547,
5147,
24017,
2547,
5147,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1585,
2547,
5147,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
1585,
2547,
5147,
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,
-100,
-100,
-100,
-100,
-100
] |
table.setRowSelectionInterval(0,0);
|
if (table.getRowCount() != 0) table.setRowSelectionInterval(0,0);
|
public void actionPerformed(ActionEvent evt) { int[] selected = table.getSelectedRows(); List listModel = new LinkedList(); Roster roster = new Roster(); for(int i = 0; i < selected.length; i++) { Entry entry = pluginModel.getEntry(selected[i]); Iterator iter = entry.jars.iterator(); while(iter.hasNext()) { String jar = (String)iter.next(); listModel.add(jar); roster.addRemove(jar); } } int button = GUIUtilities.listConfirm(window, "plugin-manager.remove-confirm", null,listModel.toArray()); if(button == JOptionPane.YES_OPTION) { roster.performOperationsInAWTThread(window); pluginModel.update(); table.setRowSelectionInterval(0,0); table.setColumnSelectionInterval(0,0); JScrollBar scrollbar = scrollpane.getVerticalScrollBar(); scrollbar.setValue(scrollbar.getMinimum()); } }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/7bd44885b8cbc35f0866ad4dda23cdf2dae50649/ManagePanel.java/buggy/org/gjt/sp/jedit/pluginmgr/ManagePanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
202,
202,
95,
1082,
202,
474,
8526,
3170,
273,
1014,
18,
588,
7416,
4300,
5621,
1082,
202,
682,
666,
1488,
273,
394,
10688,
5621,
1082,
202,
54,
29811,
721,
8190,
273,
394,
534,
29811,
5621,
1082,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
3170,
18,
2469,
31,
277,
27245,
1082,
202,
95,
9506,
202,
1622,
1241,
273,
1909,
1488,
18,
588,
1622,
12,
8109,
63,
77,
19226,
9506,
202,
3198,
1400,
273,
1241,
18,
78,
5913,
18,
9838,
5621,
9506,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
9506,
202,
95,
6862,
202,
780,
7334,
273,
261,
780,
13,
2165,
18,
4285,
5621,
6862,
202,
1098,
1488,
18,
1289,
12,
11930,
1769,
6862,
202,
303,
8190,
18,
1289,
3288,
12,
11930,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
474,
3568,
273,
10978,
11864,
18,
1098,
11269,
12,
5668,
16,
9506,
202,
6,
4094,
17,
4181,
18,
4479,
17,
10927,
3113,
9506,
202,
2011,
16,
1098,
1488,
18,
31447,
10663,
1082,
202,
430,
12,
5391,
422,
804,
1895,
8485,
18,
29081,
67,
7425,
13,
1082,
202,
95,
9506,
202,
303,
8190,
18,
16092,
9343,
382,
37,
8588,
3830,
12,
5668,
1769,
9506,
202,
4094,
1488,
18,
2725,
5621,
9506,
202,
2121,
18,
542,
1999,
6233,
4006,
12,
20,
16,
20,
1769,
9506,
202,
2121,
18,
542,
1494,
6233,
4006,
12,
20,
16,
20,
1769,
9506,
202,
46,
6806,
5190,
27123,
273,
5532,
29009,
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,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
202,
202,
95,
1082,
202,
474,
8526,
3170,
273,
1014,
18,
588,
7416,
4300,
5621,
1082,
202,
682,
666,
1488,
273,
394,
10688,
5621,
1082,
202,
54,
29811,
721,
8190,
273,
394,
534,
29811,
5621,
1082,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
3170,
18,
2469,
31,
277,
27245,
1082,
202,
95,
9506,
202,
1622,
1241,
273,
1909,
1488,
18,
588,
1622,
12,
8109,
63,
77,
19226,
9506,
202,
3198,
1400,
273,
1241,
18,
78,
5913,
18,
9838,
5621,
9506,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
9506,
202,
95,
6862,
202,
780,
7334,
273,
261,
780,
13,
2165,
18,
4285,
5621,
6862,
202,
1098,
2
] |
if (e.keyCode == SWT.ARROW_DOWN)
|
if (e.keyCode == SWT.ARROW_DOWN) {
|
protected Text createFilterText(Composite parent) { fFilterText = new Text(parent, SWT.NONE); GridData data = new GridData(); GC gc = new GC(parent); gc.setFont(parent.getFont()); FontMetrics fontMetrics = gc.getFontMetrics(); gc.dispose(); data.heightHint = org.eclipse.jface.dialogs.Dialog.convertHeightInCharsToPixels( fontMetrics, 1); data.horizontalAlignment = GridData.FILL; data.verticalAlignment = GridData.BEGINNING; fFilterText.setLayoutData(data); fFilterText.addKeyListener(new KeyListener() { public void keyPressed(KeyEvent e) { if (e.keyCode == 0x0D) // return gotoSelectedElement(); if (e.keyCode == SWT.ARROW_DOWN) fTableViewer.getTable().setFocus(); if (e.keyCode == SWT.ARROW_UP) fTableViewer.getTable().setFocus(); if (e.character == 0x1B) // ESC dispose(); } public void keyReleased(KeyEvent e) { // do nothing } }); // Horizontal separator line Label separator = new Label(parent, SWT.SEPARATOR | SWT.HORIZONTAL | SWT.LINE_DOT); separator.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); return fFilterText; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/47ccbbdac945d008a94df2b1ce3e12711b9f1b2b/AbstractTableInformationControl.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/AbstractTableInformationControl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3867,
752,
1586,
1528,
12,
9400,
982,
13,
288,
202,
202,
74,
1586,
1528,
273,
394,
3867,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
751,
501,
273,
394,
7145,
751,
5621,
202,
202,
15396,
8859,
273,
394,
15085,
12,
2938,
1769,
202,
202,
13241,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
202,
202,
5711,
5653,
3512,
5653,
273,
8859,
18,
588,
5711,
5653,
5621,
202,
202,
13241,
18,
2251,
4150,
5621,
202,
202,
892,
18,
4210,
7002,
273,
1082,
202,
3341,
18,
20416,
18,
78,
865,
18,
25909,
14072,
18,
6353,
18,
6283,
2686,
382,
7803,
774,
18079,
12,
9506,
202,
5776,
5653,
16,
9506,
202,
21,
1769,
202,
202,
892,
18,
18396,
11535,
273,
7145,
751,
18,
29818,
31,
202,
202,
892,
18,
17824,
11535,
273,
7145,
751,
18,
16061,
15870,
31,
202,
202,
74,
1586,
1528,
18,
542,
3744,
751,
12,
892,
1769,
202,
202,
74,
1586,
1528,
18,
1289,
653,
2223,
12,
2704,
1929,
2223,
1435,
288,
1082,
202,
482,
918,
498,
24624,
12,
653,
1133,
425,
13,
288,
9506,
202,
430,
261,
73,
18,
856,
1085,
422,
374,
92,
20,
40,
13,
368,
327,
6862,
202,
75,
6302,
7416,
1046,
5621,
9506,
202,
430,
261,
73,
18,
856,
1085,
422,
348,
8588,
18,
985,
11226,
67,
12711,
13,
6862,
202,
74,
1388,
18415,
18,
588,
1388,
7675,
542,
9233,
5621,
9506,
202,
430,
261,
73,
18,
856,
1085,
422,
348,
8588,
18,
985,
11226,
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,
3867,
752,
1586,
1528,
12,
9400,
982,
13,
288,
202,
202,
74,
1586,
1528,
273,
394,
3867,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
751,
501,
273,
394,
7145,
751,
5621,
202,
202,
15396,
8859,
273,
394,
15085,
12,
2938,
1769,
202,
202,
13241,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
202,
202,
5711,
5653,
3512,
5653,
273,
8859,
18,
588,
5711,
5653,
5621,
202,
202,
13241,
18,
2251,
4150,
5621,
202,
202,
892,
18,
4210,
7002,
273,
1082,
202,
3341,
18,
20416,
18,
78,
865,
18,
25909,
14072,
18,
6353,
18,
6283,
2686,
382,
7803,
774,
18079,
12,
9506,
202,
5776,
5653,
16,
9506,
202,
21,
1769,
202,
202,
2
] |
if (propName != null && propName.equalsIgnoreCase("xmlRepresentation"))
|
if (propName != null && propName.equalsIgnoreCase("Chart::xmlRepresentation"))
|
public ByteArrayOutputStream serialize(String propName) { if (propName != null && propName.equalsIgnoreCase("xmlRepresentation")) { try { return SerializerImpl.instance().asXml(cm, true); } catch (IOException e ) { // TODO Auto-generated catch block e.printStackTrace(); return new ByteArrayOutputStream(); } } return null; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/8be8e6e240c64b798d4a4f0aa00db77845de459e/ChartReportItemImpl.java/clean/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11559,
4472,
12,
780,
9994,
13,
565,
288,
3639,
309,
261,
5986,
461,
480,
446,
597,
9994,
18,
14963,
5556,
2932,
7984,
2866,
2902,
13742,
6,
3719,
3639,
288,
5411,
775,
5411,
288,
7734,
327,
15348,
2828,
18,
1336,
7675,
345,
4432,
12,
7670,
16,
638,
1769,
5411,
289,
5411,
1044,
261,
14106,
425,
262,
5411,
288,
7734,
368,
2660,
8064,
17,
11168,
1044,
1203,
7734,
425,
18,
1188,
6332,
5621,
7734,
327,
394,
11559,
5621,
5411,
289,
3639,
289,
3639,
327,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11559,
4472,
12,
780,
9994,
13,
565,
288,
3639,
309,
261,
5986,
461,
480,
446,
597,
9994,
18,
14963,
5556,
2932,
7984,
2866,
2902,
13742,
6,
3719,
3639,
288,
5411,
775,
5411,
288,
7734,
327,
15348,
2828,
18,
1336,
7675,
345,
4432,
12,
7670,
16,
638,
1769,
5411,
289,
5411,
1044,
261,
14106,
425,
262,
5411,
288,
7734,
368,
2660,
8064,
17,
11168,
1044,
1203,
7734,
425,
18,
1188,
6332,
5621,
7734,
327,
394,
11559,
5621,
5411,
289,
3639,
289,
3639,
327,
446,
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
] |
HashSet nondefaultSessions = new HashSet(sections.keySet()); nondefaultSessions.remove(DEFAULT_SESSION_ID); return nondefaultSessions.iterator(); }
|
HashSet nondefaultSessions = new HashSet(sections.keySet()); nondefaultSessions.remove(DEFAULT_SESSION_ID); return nondefaultSessions.iterator(); }
|
public Iterator sectionIterator() { HashSet nondefaultSessions = new HashSet(sections.keySet()); nondefaultSessions.remove(DEFAULT_SESSION_ID); return nondefaultSessions.iterator(); }
|
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/04bd484f2b9d7bbbdfd2dcd0536120f4fd8e5b12/SessionSettings.java/buggy/src/quickfix/SessionSettings.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4498,
2442,
3198,
1435,
288,
202,
202,
13482,
1661,
1886,
13566,
273,
394,
6847,
12,
11657,
18,
856,
694,
10663,
202,
202,
5836,
1886,
13566,
18,
4479,
12,
5280,
67,
7042,
67,
734,
1769,
202,
202,
2463,
1661,
1886,
13566,
18,
9838,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4498,
2442,
3198,
1435,
288,
202,
202,
13482,
1661,
1886,
13566,
273,
394,
6847,
12,
11657,
18,
856,
694,
10663,
202,
202,
5836,
1886,
13566,
18,
4479,
12,
5280,
67,
7042,
67,
734,
1769,
202,
202,
2463,
1661,
1886,
13566,
18,
9838,
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
] |
if(myInvokeAndWaitSemaphore == null) { myInvokeAndWaitSemaphore = new Semaphore(); } myInvokeAndWaitSemaphore.down();
|
down();
|
public final void hold() { if(myInvokeAndWaitSemaphore == null) { myInvokeAndWaitSemaphore = new Semaphore(); } myInvokeAndWaitSemaphore.down(); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/d447cb36ef9ce5ba18d62292a4a7d77329ca89e0/InvokeAndWaitEventImpl.java/buggy/source/com/intellij/debugger/impl/InvokeAndWaitEventImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
6887,
1435,
288,
565,
309,
12,
4811,
10969,
1876,
5480,
13185,
18837,
422,
446,
13,
288,
1377,
3399,
10969,
1876,
5480,
13185,
18837,
273,
394,
15661,
18837,
5621,
565,
289,
565,
3399,
10969,
1876,
5480,
13185,
18837,
18,
2378,
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,
0,
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0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
6887,
1435,
288,
565,
309,
12,
4811,
10969,
1876,
5480,
13185,
18837,
422,
446,
13,
288,
1377,
3399,
10969,
1876,
5480,
13185,
18837,
273,
394,
15661,
18837,
5621,
565,
289,
565,
3399,
10969,
1876,
5480,
13185,
18837,
18,
2378,
5621,
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
] |
return m_targetObject;
|
return m_targetObjectReference.get();
|
public Object getTargetObject() { return m_targetObject; }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/b147fecbdfbb03a8c3a5bfed9c349908e93b15cb/MemberMethodJoinPoint.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/joinpoint/MemberMethodJoinPoint.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8571,
921,
1435,
288,
3639,
327,
312,
67,
3299,
22101,
18,
588,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8571,
921,
1435,
288,
3639,
327,
312,
67,
3299,
22101,
18,
588,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public int STOCH_Lookback( int optInFastK_Period, int optInSlowK_Period, TA_MAType optInSlowK_MAType, int optInSlowD_Period, TA_MAType optInSlowD_MAType ){ int retValue; retValue = (optInFastK_Period - 1); retValue += MA_Lookback ( optInSlowK_Period, optInSlowK_MAType ); retValue += MA_Lookback ( optInSlowD_Period, optInSlowD_MAType ); return retValue;}
|
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
509,
2347,
51,
1792,
67,
9794,
823,
12,
509,
2153,
382,
12305,
47,
67,
5027,
16,
509,
2153,
382,
28733,
47,
67,
5027,
16,
399,
37,
67,
5535,
559,
2153,
382,
28733,
47,
67,
5535,
559,
16,
509,
2153,
382,
28733,
40,
67,
5027,
16,
399,
37,
67,
5535,
559,
2153,
382,
28733,
40,
67,
5535,
559,
262,
95,
509,
21236,
31,
21236,
273,
261,
3838,
382,
12305,
47,
67,
5027,
300,
404,
1769,
21236,
1011,
5535,
67,
9794,
823,
261,
2153,
382,
28733,
47,
67,
5027,
16,
2153,
382,
28733,
47,
67,
5535,
559,
11272,
21236,
1011,
5535,
67,
9794,
823,
261,
2153,
382,
28733,
40,
67,
5027,
16,
2153,
382,
28733,
40,
67,
5535,
559,
11272,
327,
21236,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
509,
2347,
51,
1792,
67,
9794,
823,
12,
509,
2153,
382,
12305,
47,
67,
5027,
16,
509,
2153,
382,
28733,
47,
67,
5027,
16,
399,
37,
67,
5535,
559,
2153,
382,
28733,
47,
67,
5535,
559,
16,
509,
2153,
382,
28733,
40,
67,
5027,
16,
399,
37,
67,
5535,
559,
2153,
382,
28733,
40,
67,
5535,
559,
262,
95,
509,
21236,
31,
21236,
273,
261,
3838,
382,
12305,
47,
67,
5027,
300,
404,
1769,
21236,
1011,
5535,
67,
9794,
823,
261,
2153,
382,
28733,
47,
67,
5027,
16,
2153,
382,
28733,
47,
67,
5535,
559,
11272,
21236,
1011,
5535,
67,
9794,
823,
261,
2153,
382,
28733,
40,
67,
5027,
16,
2153,
382,
28733,
40,
67,
5535,
559,
2
] |
||
log.warn("Could not find: " + filename);
|
log.warn("Could not find: " + filename);
|
public static String getPath(String filename) { Logger log = CSMART.createLogger("org.cougaar.tools.csmart.ui.util.Util"); ConfigFinder configFinder = ConfigFinder.getInstance(); File file = configFinder.locateFile(filename); String path = null; try { path = file.getCanonicalPath(); } catch (Exception e) { if(log.isWarnEnabled()) { log.warn("Could not find: " + filename); } } return path; }
|
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/19df295178579af7a70229470aeedc7cfbb179a7/Util.java/buggy/csmart/src/org/cougaar/tools/csmart/ui/util/Util.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
4339,
12,
780,
1544,
13,
288,
565,
4242,
613,
273,
6761,
49,
4928,
18,
2640,
3328,
2932,
3341,
18,
2894,
637,
69,
297,
18,
6642,
18,
2143,
81,
485,
18,
4881,
18,
1367,
18,
1304,
8863,
565,
1903,
8441,
642,
8441,
273,
1903,
8441,
18,
588,
1442,
5621,
565,
1387,
585,
273,
642,
8441,
18,
25450,
812,
12,
3459,
1769,
565,
514,
589,
273,
446,
31,
565,
775,
288,
1377,
589,
273,
585,
18,
588,
15512,
743,
5621,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
309,
12,
1330,
18,
291,
3160,
1526,
10756,
288,
3639,
613,
18,
8935,
2932,
4445,
486,
1104,
30,
315,
397,
1544,
1769,
1377,
289,
565,
289,
565,
327,
589,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
514,
4339,
12,
780,
1544,
13,
288,
565,
4242,
613,
273,
6761,
49,
4928,
18,
2640,
3328,
2932,
3341,
18,
2894,
637,
69,
297,
18,
6642,
18,
2143,
81,
485,
18,
4881,
18,
1367,
18,
1304,
8863,
565,
1903,
8441,
642,
8441,
273,
1903,
8441,
18,
588,
1442,
5621,
565,
1387,
585,
273,
642,
8441,
18,
25450,
812,
12,
3459,
1769,
565,
514,
589,
273,
446,
31,
565,
775,
288,
1377,
589,
273,
585,
18,
588,
15512,
743,
5621,
565,
289,
1044,
261,
503,
425,
13,
288,
1377,
309,
12,
1330,
18,
291,
3160,
1526,
10756,
288,
3639,
613,
18,
8935,
2932,
4445,
486,
1104,
30,
315,
397,
1544,
1769,
1377,
289,
565,
289,
565,
327,
2
] |
String projectCPU = ICDebugConfiguration.PLATFORM_NATIVE;
|
String projectCPU = ICDebugConfiguration.CPU_NATIVE;
|
private boolean validateDebuggerConfig(ILaunchConfiguration config) { String platform = getPlatform(config); ICElement ce = getContext(config, null); String projectPlatform = getPlatform(config); String projectCPU = ICDebugConfiguration.PLATFORM_NATIVE; if (ce != null) { if (ce instanceof IBinary) { IBinary bin = (IBinary) ce; projectCPU = bin.getCPU(); } } ICDebugConfiguration debugConfig = getDebugConfig(); if (debugConfig == null) { return false; } String debuggerPlatform = debugConfig.getPlatform(); boolean isNative = platform.equals(projectPlatform); if (debuggerPlatform.equalsIgnoreCase(projectPlatform) || (isNative && debuggerPlatform.equalsIgnoreCase(ICDebugConfiguration.PLATFORM_NATIVE))) { if (debugConfig.supportsCPU(projectCPU)) { return true; } } return false; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/760c2a22b5ade12b0e192e738b69d0dc523fd625/CDebuggerTab.java/clean/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1954,
24113,
809,
12,
2627,
4760,
1750,
642,
13,
288,
202,
202,
780,
4072,
273,
24921,
12,
1425,
1769,
202,
202,
2871,
1046,
5898,
273,
6474,
12,
1425,
16,
446,
1769,
202,
202,
780,
1984,
8201,
273,
24921,
12,
1425,
1769,
202,
202,
780,
1984,
15222,
273,
26899,
2829,
1750,
18,
6253,
789,
4983,
67,
50,
12992,
31,
202,
202,
430,
261,
311,
480,
446,
13,
288,
1082,
202,
430,
261,
311,
1276,
467,
5905,
13,
288,
9506,
202,
45,
5905,
4158,
273,
261,
45,
5905,
13,
5898,
31,
9506,
202,
4406,
15222,
273,
4158,
18,
588,
15222,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
2871,
2829,
1750,
1198,
809,
273,
29264,
809,
5621,
202,
202,
430,
261,
4148,
809,
422,
446,
13,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
780,
19977,
8201,
273,
1198,
809,
18,
588,
8201,
5621,
202,
202,
6494,
8197,
1535,
273,
4072,
18,
14963,
12,
4406,
8201,
1769,
202,
202,
430,
261,
4148,
693,
8201,
18,
14963,
5556,
12,
4406,
8201,
13,
9506,
202,
20081,
261,
291,
9220,
597,
19977,
8201,
18,
14963,
5556,
12,
2871,
2829,
1750,
18,
6253,
789,
4983,
67,
50,
12992,
20349,
288,
1082,
202,
430,
261,
4148,
809,
18,
28064,
15222,
12,
4406,
15222,
3719,
288,
9506,
202,
2463,
638,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
629,
31,
202,
97,
2,
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,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1954,
24113,
809,
12,
2627,
4760,
1750,
642,
13,
288,
202,
202,
780,
4072,
273,
24921,
12,
1425,
1769,
202,
202,
2871,
1046,
5898,
273,
6474,
12,
1425,
16,
446,
1769,
202,
202,
780,
1984,
8201,
273,
24921,
12,
1425,
1769,
202,
202,
780,
1984,
15222,
273,
26899,
2829,
1750,
18,
6253,
789,
4983,
67,
50,
12992,
31,
202,
202,
430,
261,
311,
480,
446,
13,
288,
1082,
202,
430,
261,
311,
1276,
467,
5905,
13,
288,
9506,
202,
45,
5905,
4158,
273,
261,
45,
5905,
13,
5898,
31,
9506,
202,
4406,
15222,
273,
4158,
18,
588,
15222,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
2871,
2829,
1750,
1198,
809,
273,
29264,
809,
2
] |
} else {
|
} else {
|
public void handleMessagingException(UMOMessage message, Throwable t) { System.out.println("@@@@ ExceptionHandler Called @@@@"); if (t instanceof MessageRedeliveredException) { countDown.release(); try { //MessageRedeliveredException mre = (MessageRedeliveredException)t; Message msg = (Message) message.getPayload(); assertNotNull(msg); assertTrue(msg.getJMSRedelivered()); assertTrue(msg instanceof TextMessage); //No need to commit transaction as the Tx template will auto //matically commit by default super.handleMessagingException(message, t); } catch (Exception e) { fail(e.getMessage()); } } else { t.printStackTrace(); fail(t.getMessage()); } super.handleMessagingException(message, t); }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/8cc09178adb8b0a3803c08f7b3cf0b6cf566d2b0/AbstractJmsTransactionFunctionalTest.java/clean/tests/integration/src/test/java/org/mule/test/integration/providers/jms/AbstractJmsTransactionFunctionalTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1640,
23389,
503,
12,
2799,
51,
1079,
883,
16,
4206,
268,
13,
3639,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
30989,
30989,
1185,
1503,
11782,
22175,
30989,
8863,
5411,
309,
261,
88,
1276,
2350,
3715,
292,
1667,
329,
503,
13,
5411,
288,
7734,
1056,
4164,
18,
9340,
5621,
7734,
775,
7734,
288,
10792,
368,
1079,
3715,
292,
1667,
329,
503,
312,
266,
273,
261,
1079,
3715,
292,
1667,
329,
503,
13,
88,
31,
10792,
2350,
1234,
273,
261,
1079,
13,
883,
18,
588,
6110,
5621,
10792,
25395,
12,
3576,
1769,
10792,
1815,
5510,
12,
3576,
18,
588,
46,
3537,
3715,
292,
1667,
329,
10663,
10792,
1815,
5510,
12,
3576,
1276,
3867,
1079,
1769,
10792,
368,
2279,
1608,
358,
3294,
2492,
487,
326,
6424,
1542,
903,
3656,
10792,
368,
26500,
1230,
3294,
635,
805,
10792,
2240,
18,
4110,
23389,
503,
12,
2150,
16,
268,
1769,
7734,
289,
1044,
261,
503,
425,
13,
7734,
288,
10792,
2321,
12,
73,
18,
24906,
10663,
7734,
289,
5411,
289,
469,
5411,
288,
7734,
268,
18,
1188,
6332,
5621,
7734,
2321,
12,
88,
18,
24906,
10663,
5411,
289,
5411,
2240,
18,
4110,
23389,
503,
12,
2150,
16,
268,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
2350,
3715,
292,
1667,
329,
503,
13,
5411,
288,
7734,
1056,
4164,
18,
9340,
5621,
7734,
775,
7734,
288,
10792,
368,
1079,
3715,
292,
1667,
329,
503,
312,
266,
273,
261,
1079,
3715,
292,
1667,
329,
503,
13,
88,
31,
10792,
2350,
1234,
273,
261,
1079,
13,
883,
18,
588,
6110,
5621,
10792,
25395,
12,
3576,
1769,
10792,
1815,
5510,
12,
3576,
18,
588,
46,
3537,
3715,
292,
1667,
329,
10663,
10792,
1815,
5510,
12,
3576,
1276,
3867,
1079,
1769,
10792,
368,
2
] |
return perspectiveBar; }
|
return perspectiveBar; }
|
public PerspectiveBarManager getPerspectiveBar() { return perspectiveBar; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/04aabdd41be60938c86dabee86663a60046dd26c/PerspectiveSwitcher.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveSwitcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
453,
414,
16772,
5190,
1318,
1689,
414,
16772,
5190,
1435,
288,
3639,
327,
26651,
5190,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
453,
414,
16772,
5190,
1318,
1689,
414,
16772,
5190,
1435,
288,
3639,
327,
26651,
5190,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 UDPDatagramSocketImpl(UDPProtocol protocol) { this.protocol = protocol; }
|
public UDPDatagramSocketImpl(UDPProtocol protocol) { this.protocol = protocol; }
|
public UDPDatagramSocketImpl(UDPProtocol protocol) { this.protocol = protocol; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4f39ad021d5f8146afc0905ccf235ac9bd5f949/UDPDatagramSocketImpl.java/clean/net/src/net/org/jnode/net/ipv4/udp/UDPDatagramSocketImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16230,
5139,
17049,
4534,
2828,
12,
20352,
5752,
1771,
13,
288,
202,
202,
2211,
18,
8373,
273,
1771,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16230,
5139,
17049,
4534,
2828,
12,
20352,
5752,
1771,
13,
288,
202,
202,
2211,
18,
8373,
273,
1771,
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,
-100,
-100,
-100
] |
((MultiEditor)parentPane.getPartReference().getPart(true)).updateGradient((IEditorPart)this.getEditorReference().getPart(true));
|
MultiEditor multiEditor = (MultiEditor)parentPane.getPartReference().getPart(true); if(multiEditor != null) multiEditor.updateGradient((IEditorPart)this.getEditorReference().getPart(true));
|
private void updateGradient() { ((MultiEditor)parentPane.getPartReference().getPart(true)).updateGradient((IEditorPart)this.getEditorReference().getPart(true)); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0dea87227e14df54d5f8f54ee991ec7673c4c135/MultiEditorInnerPane.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/MultiEditorInnerPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
15651,
1435,
288,
202,
202,
12443,
5002,
6946,
13,
2938,
8485,
18,
588,
1988,
2404,
7675,
588,
1988,
12,
3767,
13,
2934,
2725,
15651,
12443,
45,
6946,
1988,
13,
2211,
18,
588,
6946,
2404,
7675,
588,
1988,
12,
3767,
10019,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
15651,
1435,
288,
202,
202,
12443,
5002,
6946,
13,
2938,
8485,
18,
588,
1988,
2404,
7675,
588,
1988,
12,
3767,
13,
2934,
2725,
15651,
12443,
45,
6946,
1988,
13,
2211,
18,
588,
6946,
2404,
7675,
588,
1988,
12,
3767,
10019,
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
] |
if (!(Model.getFacade().isAModelElement(dm))) return NO_PROBLEM;
|
if (!(Model.getFacade().isAModelElement(dm))) { return NO_PROBLEM; }
|
public boolean predicate2(Object dm, Designer dsgr) { if (!(Model.getFacade().isAModelElement(dm))) return NO_PROBLEM; Object me = /*(MModelElement)*/ dm; ListSet offs = computeOffenders(me); if (offs.size() > 1) return PROBLEM_FOUND; return NO_PROBLEM; }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/601e169b9d0d5cf526304dbea3e59bedc6d174d8/CrNameConfusion.java/clean/src_new/org/argouml/uml/cognitive/critics/CrNameConfusion.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
5641,
22,
12,
921,
9113,
16,
29703,
264,
302,
1055,
86,
13,
288,
202,
430,
16051,
12,
1488,
18,
588,
12467,
7675,
291,
37,
1488,
1046,
12,
10956,
20349,
327,
3741,
67,
3373,
38,
26817,
31,
202,
921,
1791,
273,
1748,
12,
49,
1488,
1046,
13,
5549,
9113,
31,
202,
682,
694,
21174,
273,
3671,
7210,
10130,
12,
3501,
1769,
202,
430,
261,
26600,
18,
1467,
1435,
405,
404,
13,
327,
4629,
38,
26817,
67,
9294,
31,
202,
2463,
3741,
67,
3373,
38,
26817,
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,
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641,
22,
12,
921,
9113,
16,
29703,
264,
302,
1055,
86,
13,
288,
202,
430,
16051,
12,
1488,
18,
588,
12467,
7675,
291,
37,
1488,
1046,
12,
10956,
20349,
327,
3741,
67,
3373,
38,
26817,
31,
202,
921,
1791,
273,
1748,
12,
49,
1488,
1046,
13,
5549,
9113,
31,
202,
682,
694,
21174,
273,
3671,
7210,
10130,
12,
3501,
1769,
202,
430,
261,
26600,
18,
1467,
1435,
405,
404,
13,
327,
4629,
38,
26817,
67,
9294,
31,
202,
2463,
3741,
67,
3373,
38,
26817,
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
] |
localHistory.forward();
|
if (localHistory.canGoForward()) { localHistory.forward(); }
|
public void actionPerformed(ActionEvent e) { localHistory.forward(); }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/7e7b860a295a82f94341f2ce181dbb02d96a93bf/JSVGViewerFrame.java/clean/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
5411,
309,
261,
3729,
5623,
18,
4169,
5741,
8514,
10756,
288,
1191,
5623,
18,
11565,
5621,
289,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
5411,
309,
261,
3729,
5623,
18,
4169,
5741,
8514,
10756,
288,
1191,
5623,
18,
11565,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 int getOptimizationLevel()
|
public final int getOptimizationLevel()
|
public int getOptimizationLevel() { return optimizationLevel; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/767031d59e433c96cbc46c5e9fa8adb631f14074/Context.java/buggy/src/org/mozilla/javascript/Context.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
336,
13930,
1588,
2355,
1435,
565,
288,
3639,
327,
14850,
2355,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
336,
13930,
1588,
2355,
1435,
565,
288,
3639,
327,
14850,
2355,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
boolean checkLastHistory(PollHistory lastHistory, NodeState node) { switch (lastHistory.status) { // if latest is PollState.LOST or PollState.REPAIRING // call a name poll to finish the repair which ended early case PollState.LOST: case PollState.REPAIRING: PollSpec spec = new PollSpec(node.getCachedUrlSet(), lastHistory.lwrBound, lastHistory.uprBound); callNamePoll(spec.getCachedUrlSet()); return true; case PollState.UNREPAIRABLE: //XXX determine what to do return false; default: return false; } }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/a9365b64a4e8a46b6f59043f7d4b8b9770c4a94d/NodeManagerImpl.java/buggy/src/org/lockss/state/NodeManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
225,
866,
3024,
5623,
12,
19085,
5623,
225,
1142,
5623,
16,
225,
2029,
1119,
225,
756,
13,
225,
288,
3639,
1620,
225,
261,
2722,
5623,
18,
2327,
13,
225,
288,
5411,
368,
225,
309,
225,
4891,
225,
353,
225,
19160,
1119,
18,
1502,
882,
225,
578,
225,
19160,
1119,
18,
862,
4066,
7937,
1360,
5411,
368,
225,
745,
225,
279,
225,
508,
225,
7672,
225,
358,
225,
4076,
225,
326,
225,
20994,
225,
1492,
225,
16926,
225,
11646,
5411,
648,
225,
19160,
1119,
18,
1502,
882,
30,
5411,
648,
225,
19160,
1119,
18,
862,
4066,
7937,
1360,
30,
7734,
19160,
1990,
225,
857,
225,
273,
225,
394,
225,
19160,
1990,
12,
2159,
18,
588,
9839,
1489,
694,
9334,
28524,
1850,
1142,
5623,
18,
80,
91,
86,
3499,
16,
28524,
1850,
1142,
5623,
18,
416,
86,
3499,
1769,
7734,
745,
461,
19085,
12,
2793,
18,
588,
9839,
1489,
694,
10663,
7734,
327,
225,
638,
31,
5411,
648,
225,
19160,
1119,
18,
2124,
862,
4066,
7937,
2782,
30,
7734,
368,
15639,
225,
4199,
225,
4121,
225,
358,
225,
741,
7734,
327,
225,
629,
31,
5411,
805,
30,
7734,
327,
225,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
225,
866,
3024,
5623,
12,
19085,
5623,
225,
1142,
5623,
16,
225,
2029,
1119,
225,
756,
13,
225,
288,
3639,
1620,
225,
261,
2722,
5623,
18,
2327,
13,
225,
288,
5411,
368,
225,
309,
225,
4891,
225,
353,
225,
19160,
1119,
18,
1502,
882,
225,
578,
225,
19160,
1119,
18,
862,
4066,
7937,
1360,
5411,
368,
225,
745,
225,
279,
225,
508,
225,
7672,
225,
358,
225,
4076,
225,
326,
225,
20994,
225,
1492,
225,
16926,
225,
11646,
5411,
648,
225,
19160,
1119,
18,
1502,
882,
30,
5411,
648,
225,
19160,
1119,
18,
862,
4066,
7937,
1360,
30,
7734,
19160,
1990,
225,
857,
225,
273,
225,
394,
225,
19160,
1990,
12,
2159,
18,
588,
9839,
1489,
694,
2
] |
||
JobInProgress job = (JobInProgress) jobs.get((String) taskToJobMap.get(report.getTaskId())); job.updateTaskStatus(report.getTaskId(), report);
|
TaskInProgress tip = (TaskInProgress) taskidToTIPMap.get(report.getTaskId()); if (tip == null) { LOG.info("Serious problem. While updating status, cannot find taskid " + report.getTaskId()); } else { JobInProgress job = tip.getJob(); job.updateTaskStatus(tip, report);
|
void updateTaskStatuses(TaskTrackerStatus status) { for (Iterator it = status.taskReports(); it.hasNext(); ) { TaskStatus report = (TaskStatus) it.next(); JobInProgress job = (JobInProgress) jobs.get((String) taskToJobMap.get(report.getTaskId())); job.updateTaskStatus(report.getTaskId(), report); if (report.getRunState() == TaskStatus.SUCCEEDED) { job.completedTask(report.getTaskId()); } else if (report.getRunState() == TaskStatus.FAILED) { TreeSet taskset = (TreeSet) trackerToTaskMap.get(status.getTrackerName()); taskset.remove(report.getTaskId()); taskToTrackerMap.remove(report.getTaskId()); job.failedTask(report.getTaskId()); } } }
|
46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/b6b05637e2124152b77917985734bfa9e3305af9/JobTracker.java/buggy/src/java/org/apache/nutch/mapred/JobTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1089,
2174,
15220,
12,
2174,
8135,
1482,
1267,
13,
288,
3639,
364,
261,
3198,
518,
273,
1267,
18,
4146,
18631,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
5411,
29628,
2605,
273,
261,
2174,
1482,
13,
518,
18,
4285,
5621,
5411,
3956,
13434,
1719,
273,
261,
2278,
13434,
13,
6550,
18,
588,
12443,
780,
13,
1562,
774,
2278,
863,
18,
588,
12,
6006,
18,
588,
30182,
1435,
10019,
5411,
1719,
18,
2725,
2174,
1482,
12,
6006,
18,
588,
30182,
9334,
2605,
1769,
5411,
309,
261,
6006,
18,
588,
1997,
1119,
1435,
422,
29628,
18,
6639,
39,
26031,
13,
288,
7734,
1719,
18,
13615,
2174,
12,
6006,
18,
588,
30182,
10663,
5411,
289,
469,
309,
261,
6006,
18,
588,
1997,
1119,
1435,
422,
29628,
18,
11965,
13,
288,
7734,
19461,
1562,
542,
273,
261,
2471,
694,
13,
9745,
774,
2174,
863,
18,
588,
12,
2327,
18,
588,
8135,
461,
10663,
7734,
1562,
542,
18,
4479,
12,
6006,
18,
588,
30182,
10663,
7734,
1562,
774,
8135,
863,
18,
4479,
12,
6006,
18,
588,
30182,
10663,
7734,
1719,
18,
7307,
2174,
12,
6006,
18,
588,
30182,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1089,
2174,
15220,
12,
2174,
8135,
1482,
1267,
13,
288,
3639,
364,
261,
3198,
518,
273,
1267,
18,
4146,
18631,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
5411,
29628,
2605,
273,
261,
2174,
1482,
13,
518,
18,
4285,
5621,
5411,
3956,
13434,
1719,
273,
261,
2278,
13434,
13,
6550,
18,
588,
12443,
780,
13,
1562,
774,
2278,
863,
18,
588,
12,
6006,
18,
588,
30182,
1435,
10019,
5411,
1719,
18,
2725,
2174,
1482,
12,
6006,
18,
588,
30182,
9334,
2605,
1769,
5411,
309,
261,
6006,
18,
588,
1997,
1119,
1435,
422,
29628,
18,
6639,
39,
26031,
13,
288,
7734,
1719,
18,
13615,
2174,
12,
6006,
18,
588,
30182,
10663,
5411,
289,
469,
309,
261,
6006,
18,
2
] |
private void initialize(Reader rdr) throws MarshalException, ValidationException {
|
private void initialize(Reader rdr) throws MarshalException, ValidationException { log().debug("initialize: initializing surveillance views factory.");
|
private void initialize(Reader rdr) throws MarshalException, ValidationException { m_config = (SurveillanceViewConfiguration) Unmarshaller.unmarshal(SurveillanceViewConfiguration.class, rdr); m_viewsMap = new HashMap<String, View>(); Collection viewList = m_config.getViews().getViewCollection(); Iterator i = viewList.iterator(); while (i.hasNext()) { View view = (View) i.next(); m_viewsMap.put(view.getName(), view); } }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/fa45137949195cbf719c7491cfee6a3b63ff3c55/SurveillanceViewsFactory.java/clean/opennms-services/src/main/java/org/opennms/netmgt/config/SurveillanceViewsFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4046,
12,
2514,
436,
3069,
13,
1216,
5884,
503,
16,
15614,
288,
613,
7675,
4148,
2932,
11160,
30,
22584,
5056,
537,
737,
1359,
7361,
3272,
1199,
1769,
7734,
312,
67,
1425,
273,
261,
7719,
537,
737,
1359,
1767,
1750,
13,
1351,
27296,
18,
318,
3108,
12,
7719,
537,
737,
1359,
1767,
1750,
18,
1106,
16,
436,
3069,
1769,
3639,
312,
67,
7061,
863,
273,
394,
4317,
32,
780,
16,
4441,
34,
5621,
3639,
2200,
1476,
682,
273,
312,
67,
1425,
18,
588,
9959,
7675,
588,
1767,
2532,
5621,
3639,
4498,
277,
273,
1476,
682,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
4441,
1476,
273,
261,
1767,
13,
277,
18,
4285,
5621,
5411,
312,
67,
7061,
863,
18,
458,
12,
1945,
18,
17994,
9334,
1476,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
3238,
918,
4046,
12,
2514,
436,
3069,
13,
1216,
5884,
503,
16,
15614,
288,
613,
7675,
4148,
2932,
11160,
30,
22584,
5056,
537,
737,
1359,
7361,
3272,
1199,
1769,
7734,
312,
67,
1425,
273,
261,
7719,
537,
737,
1359,
1767,
1750,
13,
1351,
27296,
18,
318,
3108,
12,
7719,
537,
737,
1359,
1767,
1750,
18,
1106,
16,
436,
3069,
1769,
3639,
312,
67,
7061,
863,
273,
394,
4317,
32,
780,
16,
4441,
34,
5621,
3639,
2200,
1476,
682,
273,
312,
67,
1425,
18,
588,
9959,
7675,
588,
1767,
2532,
5621,
3639,
4498,
277,
273,
1476,
682,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
4441,
1476,
273,
261,
1767,
13,
277,
18,
4285,
2
] |
GroovyClassLoader gcl = new GroovyClassLoader(); Class c = gcl.parseClass( "class MyJob {\n " + " def startDelay = 100\n" + " def timeout = 1000\n" + " def name = 'MyJob'\n" + " def group = 'MyGroup'\n" + " def execute(){\n" + " print 'Job run!'\n" + " }\n" + "}" ); GrailsApplication app = new DefaultGrailsApplication(new Class[]{c}, gcl ); MockApplicationContext parent = new MockApplicationContext(); parent.registerMockBean(GrailsApplication.APPLICATION_ID, app); GrailsRuntimeConfigurator conf = new GrailsRuntimeConfigurator(app,parent); ApplicationContext ctx = conf.configure(new MockServletContext()); assertNotNull(ctx); }
|
GroovyClassLoader gcl = new GroovyClassLoader(); Class c = gcl.parseClass( "class MyJob {\n " + " def startDelay = 100\n" + " def timeout = 1000\n" + " def name = 'MyJob'\n" + " def group = 'MyGroup'\n" + " def execute(){\n" + " print 'Job run!'\n" + " }\n" + "}" ); GrailsApplication app = new DefaultGrailsApplication(new Class[]{c}, gcl ); MockApplicationContext parent = new MockApplicationContext(); parent.registerMockBean(GrailsApplication.APPLICATION_ID, app); GrailsRuntimeConfigurator conf = new GrailsRuntimeConfigurator(app,parent); ApplicationContext ctx = conf.configure(new MockServletContext()); assertNotNull(ctx); }
|
public void testConfigureScheduledJobs() throws Exception { GroovyClassLoader gcl = new GroovyClassLoader(); Class c = gcl.parseClass( "class MyJob {\n " + " def startDelay = 100\n" + " def timeout = 1000\n" + " def name = 'MyJob'\n" + " def group = 'MyGroup'\n" + " def execute(){\n" + " print 'Job run!'\n" + " }\n" + "}" ); GrailsApplication app = new DefaultGrailsApplication(new Class[]{c}, gcl ); MockApplicationContext parent = new MockApplicationContext(); parent.registerMockBean(GrailsApplication.APPLICATION_ID, app); GrailsRuntimeConfigurator conf = new GrailsRuntimeConfigurator(app,parent); ApplicationContext ctx = conf.configure(new MockServletContext()); assertNotNull(ctx); }
|
26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/075145e116446e23fd77adcfc25dab01feb4a27e/GrailsRuntimeConfiguratorTests.java/clean/test/commons/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfiguratorTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
11207,
10660,
7276,
1435,
1216,
1185,
288,
202,
202,
43,
12859,
7805,
314,
830,
273,
394,
20841,
7805,
5621,
202,
202,
797,
276,
273,
314,
830,
18,
2670,
797,
12,
202,
202,
6,
1106,
8005,
2278,
18890,
82,
315,
397,
202,
202,
6,
1652,
787,
6763,
273,
2130,
64,
82,
6,
397,
202,
202,
6,
1652,
2021,
273,
4336,
64,
82,
6,
397,
202,
202,
6,
1652,
508,
273,
296,
12062,
2278,
8314,
82,
6,
397,
202,
202,
6,
1652,
1041,
273,
296,
12062,
1114,
8314,
82,
6,
397,
202,
202,
6,
1652,
1836,
1435,
23241,
82,
6,
397,
202,
202,
6,
565,
1172,
296,
2278,
1086,
5124,
64,
82,
6,
397,
202,
202,
6,
225,
289,
64,
82,
6,
397,
202,
202,
6,
1532,
11272,
9506,
202,
14571,
14573,
3208,
595,
273,
394,
2989,
14571,
14573,
3208,
12,
2704,
1659,
63,
7073,
71,
5779,
314,
830,
11272,
202,
202,
9865,
28278,
982,
273,
394,
7867,
28278,
5621,
202,
202,
2938,
18,
4861,
9865,
3381,
12,
14571,
14573,
3208,
18,
25039,
67,
734,
16,
595,
1769,
9506,
202,
14571,
14573,
5576,
17182,
2195,
273,
394,
10812,
14573,
5576,
17182,
12,
2910,
16,
2938,
1769,
202,
202,
28278,
1103,
273,
2195,
18,
14895,
12,
2704,
7867,
4745,
1042,
10663,
202,
202,
11231,
5962,
12,
5900,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
11207,
10660,
7276,
1435,
1216,
1185,
288,
202,
202,
43,
12859,
7805,
314,
830,
273,
394,
20841,
7805,
5621,
202,
202,
797,
276,
273,
314,
830,
18,
2670,
797,
12,
202,
202,
6,
1106,
8005,
2278,
18890,
82,
315,
397,
202,
202,
6,
1652,
787,
6763,
273,
2130,
64,
82,
6,
397,
202,
202,
6,
1652,
2021,
273,
4336,
64,
82,
6,
397,
202,
202,
6,
1652,
508,
273,
296,
12062,
2278,
8314,
82,
6,
397,
202,
202,
6,
1652,
1041,
273,
296,
12062,
1114,
8314,
82,
6,
397,
202,
202,
6,
1652,
1836,
1435,
23241,
82,
6,
397,
202,
202,
6,
565,
1172,
296,
2278,
1086,
5124,
64,
82,
6,
397,
202,
202,
2
] |
protected Patch getPatch() {
|
protected IPatch getPatch() {
|
protected Patch getPatch() { return patch; }
|
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/SysexWidget.java/clean/JSynthLib/core/SysexWidget.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
12042,
1689,
505,
1435,
288,
202,
2463,
4729,
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,
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
] |
stack[stackTop] = ScriptRuntime.delete(lhs, rhs);
|
stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs);
|
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) { return execWithNewDomain(cx, scope, thisObj, args, argsDbl, argShift, argCount, fnOrScript, idata); } 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 TRY_STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals; final int STACK_SHFT = TRY_STACK_SHFT + idata.itsMaxTryDepth;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[TRY_STACK_SHFT <= i < STACK_SHFT]: stack of try scopes// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[TRY_STACK_SHFT <= i < STACK_SHFT]: stack of try block pc, stored as doubles// sDbl[any other i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Context.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int tryStackTop = 0; // add TRY_STACK_SHFT to get real index 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 (!f.itsUseDynamicScope) { 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 { scope = ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Context.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); } } } 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); } Object result = undefined; 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: while (true) { try { switch (iCode[pc] & 0xff) { // Back indent to ease imlementation reading case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : stack[TRY_STACK_SHFT + tryStackTop] = scope; sDbl[TRY_STACK_SHFT + tryStackTop] = (double)pc; ++tryStackTop; // Skip starting pc of catch/finally blocks pc += 4; break; case TokenStream.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 == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.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 = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.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 == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.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 = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.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 TokenStream.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(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case TokenStream.IFNE : { Object val = stack[stackTop]; boolean valBln; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { double valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; } case TokenStream.IFEQ : { boolean valBln; Object val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { double valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; } case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : { int slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; } case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case RETURN_UNDEF_ICODE : result = undefined; break Loop; case END_ICODE: break Loop; case TokenStream.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.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 TokenStream.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case TokenStream.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.BINDNAME : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case TokenStream.GETBASE : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; } case TokenStream.SETNAME : { String name = strings[getIndex(iCode, pc + 1)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; // what about class cast exception here for lhs? Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case TokenStream.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(lhs, rhs); break; } case TokenStream.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 TokenStream.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 TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; } case TokenStream.PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; } case TokenStream.ELEMINC : { 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.postIncrementElem(lhs, rhs, scope); break; } case TokenStream.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.postDecrementElem(lhs, rhs, scope); break; } case TokenStream.GETTHIS : { Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.getThis(lhs); break; } case TokenStream.NEWTEMP : { int slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; } case TokenStream.USETEMP : { int slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; } case TokenStream.CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); String name = strings[getIndex(iCode, pc + 3)]; int count = getIndex(iCode, pc + 5); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); 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.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; } case TokenStream.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; int count = getIndex(iCode, pc + 3); 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 + 1)]; if (lhs == null) lhs = undefined; } throw NativeGlobal.typeError1 ("msg.isnt.function", ScriptRuntime.toString(lhs), calleeScope); } pc += 4; instructionCount = cx.instructionCount; break; } case TokenStream.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 3); 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 + 1)]; if (lhs == null) lhs = undefined; } throw NativeGlobal.typeError1 ("msg.isnt.function", ScriptRuntime.toString(lhs), scope); } pc += 4; instructionCount = cx.instructionCount; break; } case TokenStream.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case TokenStream.TYPEOFNAME : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case TokenStream.STRING : stack[++stackTop] = strings[getIndex(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case TokenStream.NAMEINC : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.postIncrement(scope, name); pc += 2; break; } case TokenStream.NAMEDEC : { String name = strings[getIndex(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.postDecrement(scope, name); pc += 2; break; } case TokenStream.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); } break; } case TokenStream.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); } break; } case TokenStream.VARINC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; val = doubleWrap(ScriptRuntime.toNumber(val) + 1.0); activationPut(fnOrScript, scope, slot, val); } break; } case TokenStream.VARDEC : { int slot = (iCode[++pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; val = doubleWrap(ScriptRuntime.toNumber(val) - 1.0); activationPut(fnOrScript, scope, slot, val); } break; } case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : { Object exception = stack[stackTop]; if (exception == DBL_MRK) exception = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(exception); } case TokenStream.JTHROW : { Object exception = stack[stackTop]; // No need to check for DBL_MRK: exception must be Exception --stackTop; if (exception instanceof JavaScriptException) throw (JavaScriptException)exception; else throw (RuntimeException)exception; } case TokenStream.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; } case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : { int slot = (iCode[++pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; } case TokenStream.ENUMNEXT : { int slot = (iCode[++pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime.nextEnum(val); break; } case TokenStream.GETPROTO : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; } case TokenStream.GETPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; } case TokenStream.GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; } case TokenStream.SETPROTO : { 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.setProto(lhs, rhs, scope); break; } case TokenStream.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]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; } case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : { int i = getIndex(iCode, pc + 1); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case TokenStream.REGEXP : { int i = getIndex(iCode, pc + 1); stack[++stackTop] = idata.itsRegExpLiterals[i]; pc += 2; break; } case SOURCEFILE_ICODE : cx.interpreterSourceFile = idata.itsSourceFile; break; case LINE_ICODE : { int line = getShort(iCode, pc + 1); cx.interpreterLine = line; if (debuggerFrame != null) { debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException ("Unknown icode : "+(iCode[pc] & 0xff)+" @ pc : "+pc); } // end of interpreter switch } pc++; } 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; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object catchObj = ex; // Object seen by script catch for (;;) { if (catchObj instanceof JavaScriptException) { catchObj = ScriptRuntime.unwrapJavaScriptException ((JavaScriptException)catchObj); exType = SCRIPT_THROW; } else if (catchObj instanceof EcmaError) { // an offical ECMA error object, catchObj = ((EcmaError)catchObj).getErrorObject(); exType = ECMA; } else if (catchObj instanceof RuntimeException) { if (catchObj instanceof WrappedException) { Object w = ((WrappedException) catchObj).unwrap(); if (w instanceof Throwable) { catchObj = ex = (Throwable) w; continue; } } catchObj = null; // script can not catch this exType = RUNTIME; } else { // Error instance catchObj = null; // script can not catch this exType = OTHER; } break; } if (exType != OTHER && debuggerFrame != null) { debuggerFrame.onExceptionThrown(cx, ex); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script --tryStackTop; int try_pc = (int)sDbl[TRY_STACK_SHFT + tryStackTop]; if (exType == SCRIPT_THROW || exType == ECMA) { // Allow JS to catch only JavaScriptException and // EcmaError int catch_offset = getShort(iCode, try_pc + 1); if (catch_offset != 0) { // Has catch block rethrow = false; pc = try_pc + catch_offset; stackTop = STACK_SHFT; stack[stackTop] = catchObj; } } if (rethrow) { int finally_offset = getShort(iCode, try_pc + 3); if (finally_offset != 0) { // has finally block rethrow = false; pc = try_pc + finally_offset; stackTop = STACK_SHFT; stack[stackTop] = ex; } } } if (rethrow) { if (debuggerFrame != null) { debuggerFrame.onExit(cx, true, ex); } if (idata.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point 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; // restore scope at try point scope = (Scriptable)stack[TRY_STACK_SHFT + tryStackTop]; } } if (debuggerFrame != null) { debuggerFrame.onExit(cx, false, result); } if (idata.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/4fa07f31de89d0efead3f273910f4ac52f44270d/Interpreter.java/clean/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,
327,
1196,
1190,
1908,
3748,
12,
71,
92,
16,
2146,
16,
15261,
16,
19694,
833,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
16,
19694,
2295,
1162,
3651,
16,
612,
396,
1769,
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,
67,
2664,
4464,
397,
943,
5555,
31,
3639,
727,
509,
4235,
61,
67,
21971,
67,
2664,
4464,
273,
15234,
67,
2664,
4464,
397,
612,
396,
18,
1282,
2747,
1333,
1031,
31,
3639,
727,
509,
11464,
67,
2664,
4464,
273,
4235,
61,
67,
21971,
67,
2664,
4464,
397,
612,
396,
18,
1282,
2747,
7833,
6148,
31,
759,
2110,
63,
7716,
67,
2664,
4464,
1648,
277,
411,
15234,
67,
2664,
4464,
14542,
3152,
759,
2110,
63,
14922,
67,
2664,
4464,
1648,
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,
327,
1196,
1190,
1908,
3748,
12,
71,
92,
16,
2146,
16,
15261,
16,
19694,
833,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
16,
19694,
2295,
1162,
3651,
16,
612,
396,
1769,
3639,
289,
3639,
727,
1033,
2383,
48,
67,
23464,
47,
273,
5294,
2
] |
fixnumClass.defineMethod("==", CallbackFactory.getMethod(RubyFixnum.class, "op_equal", RubyObject.class)); fixnumClass.defineMethod("eql?", CallbackFactory.getMethod(RubyFixnum.class, "op_equal", RubyObject.class)); fixnumClass.defineMethod("equal?", CallbackFactory.getMethod(RubyFixnum.class, "op_equal", RubyObject.class));
|
fixnumClass.defineMethod("==", CallbackFactory.getMethod(RubyFixnum.class, "equal", RubyObject.class)); fixnumClass.defineMethod("eql?", CallbackFactory.getMethod(RubyFixnum.class, "equal", RubyObject.class)); fixnumClass.defineMethod("equal?", CallbackFactory.getMethod(RubyFixnum.class, "equal", RubyObject.class));
|
public static RubyClass createFixnumClass(Ruby ruby) { RubyClass fixnumClass = ruby.defineClass("Fixnum", ruby.getClasses().getIntegerClass()); fixnumClass.includeModule(ruby.getClasses().getPrecisionModule()); fixnumClass.defineSingletonMethod("induced_from", CallbackFactory.getSingletonMethod(RubyFixnum.class, "induced_from", RubyObject.class)); fixnumClass.defineMethod("to_f", CallbackFactory.getMethod(RubyFixnum.class, "to_f")); fixnumClass.defineMethod("to_s", CallbackFactory.getMethod(RubyFixnum.class, "to_s")); fixnumClass.defineMethod("to_str", CallbackFactory.getMethod(RubyFixnum.class, "to_s")); fixnumClass.defineMethod("taint", CallbackFactory.getSelfMethod(0)); fixnumClass.defineMethod("freeze", CallbackFactory.getSelfMethod(0)); fixnumClass.defineMethod("<<", CallbackFactory.getMethod(RubyFixnum.class, "op_lshift", RubyObject.class)); fixnumClass.defineMethod(">>", CallbackFactory.getMethod(RubyFixnum.class, "op_rshift", RubyObject.class)); fixnumClass.defineMethod("+", CallbackFactory.getMethod(RubyFixnum.class, "op_plus", RubyObject.class)); fixnumClass.defineMethod("-", CallbackFactory.getMethod(RubyFixnum.class, "op_minus", RubyObject.class)); fixnumClass.defineMethod("*", CallbackFactory.getMethod(RubyFixnum.class, "op_mul", RubyObject.class)); fixnumClass.defineMethod("/", CallbackFactory.getMethod(RubyFixnum.class, "op_div", RubyObject.class)); fixnumClass.defineMethod("%", CallbackFactory.getMethod(RubyFixnum.class, "op_mod", RubyObject.class)); fixnumClass.defineMethod("**", CallbackFactory.getMethod(RubyFixnum.class, "op_pow", RubyObject.class)); fixnumClass.defineMethod("==", CallbackFactory.getMethod(RubyFixnum.class, "op_equal", RubyObject.class)); fixnumClass.defineMethod("eql?", CallbackFactory.getMethod(RubyFixnum.class, "op_equal", RubyObject.class)); fixnumClass.defineMethod("equal?", CallbackFactory.getMethod(RubyFixnum.class, "op_equal", RubyObject.class)); fixnumClass.defineMethod("<=>", CallbackFactory.getMethod(RubyFixnum.class, "op_cmp", RubyObject.class)); fixnumClass.defineMethod(">", CallbackFactory.getMethod(RubyFixnum.class, "op_gt", RubyObject.class)); fixnumClass.defineMethod(">=", CallbackFactory.getMethod(RubyFixnum.class, "op_ge", RubyObject.class)); fixnumClass.defineMethod("<", CallbackFactory.getMethod(RubyFixnum.class, "op_lt", RubyObject.class)); fixnumClass.defineMethod("<=", CallbackFactory.getMethod(RubyFixnum.class, "op_le", RubyObject.class)); fixnumClass.defineMethod("&", CallbackFactory.getMethod(RubyFixnum.class, "op_and", RubyObject.class)); fixnumClass.defineMethod("|", CallbackFactory.getMethod(RubyFixnum.class, "op_or", RubyInteger.class)); fixnumClass.defineMethod("^", CallbackFactory.getMethod(RubyFixnum.class, "op_xor", RubyInteger.class)); fixnumClass.defineMethod("size", CallbackFactory.getMethod(RubyFixnum.class, "size")); fixnumClass.defineMethod("[]", CallbackFactory.getMethod(RubyFixnum.class, "aref", RubyInteger.class)); return fixnumClass; }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/06e8c0888351efa411cfdddbdf48771ce7f584c0/RubyFixnum.java/buggy/org/jruby/RubyFixnum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
8585,
2107,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
2917,
2107,
797,
273,
22155,
18,
11255,
797,
2932,
8585,
2107,
3113,
22155,
18,
588,
4818,
7675,
588,
4522,
797,
10663,
3639,
2917,
2107,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
15410,
3120,
10663,
3639,
2917,
2107,
797,
18,
11255,
19571,
1305,
2932,
728,
26372,
67,
2080,
3113,
8444,
1733,
18,
588,
19571,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
728,
26372,
67,
2080,
3113,
19817,
921,
18,
1106,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
74,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
869,
67,
74,
7923,
1769,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
869,
67,
87,
7923,
1769,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
701,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
869,
67,
87,
7923,
1769,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
88,
1598,
3113,
8444,
1733,
18,
588,
10084,
1305,
12,
20,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
29631,
3113,
8444,
1733,
18,
588,
10084,
1305,
12,
20,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
17685,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
8585,
2107,
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,
19817,
797,
752,
8585,
2107,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
2917,
2107,
797,
273,
22155,
18,
11255,
797,
2932,
8585,
2107,
3113,
22155,
18,
588,
4818,
7675,
588,
4522,
797,
10663,
3639,
2917,
2107,
797,
18,
6702,
3120,
12,
27768,
18,
588,
4818,
7675,
588,
15410,
3120,
10663,
3639,
2917,
2107,
797,
18,
11255,
19571,
1305,
2932,
728,
26372,
67,
2080,
3113,
8444,
1733,
18,
588,
19571,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
16,
315,
728,
26372,
67,
2080,
3113,
19817,
921,
18,
1106,
10019,
3639,
2917,
2107,
797,
18,
11255,
1305,
2932,
869,
67,
74,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
8585,
2107,
18,
1106,
2
] |
ReportType.CALDAV_QUERY, ReportType.CALDAV_MULTIGET, ReportType.CALDAV_FREEBUSY });
|
ReportType.CALDAV_QUERY, ReportType.CALDAV_MULTIGET /* , ReportType.CALDAV_FREEBUSY */});
|
protected void initSupportedReports() { if (exists()) { supportedReports = new SupportedReportSetProperty(new ReportType[] { ReportType.CALDAV_QUERY, ReportType.CALDAV_MULTIGET, ReportType.CALDAV_FREEBUSY }); } }
|
47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/4ac7565ca2502d93948189f6b6e97baef97cb3a1/CosmoDavResourceImpl.java/clean/src/main/java/org/osaf/cosmo/dav/impl/CosmoDavResourceImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
7223,
18631,
1435,
288,
3639,
309,
261,
1808,
10756,
288,
5411,
3260,
18631,
273,
394,
19503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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
7223,
18631,
1435,
288,
3639,
309,
261,
1808,
10756,
288,
5411,
3260,
18631,
273,
394,
19503,
4820,
694,
1396,
12,
2704,
8706,
559,
8526,
288,
10792,
8706,
559,
18,
7913,
17735,
67,
10753,
16,
8706,
559,
18,
7913,
17735,
67,
12845,
3047,
1584,
1748,
269,
8706,
559,
18,
7913,
17735,
67,
28104,
3000,
7474,
1195,
22938,
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
] |
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,
|
536, 379, 210, 210, 380, 455, 550, 234, 389, 471, 524, 527, 492, 234, 476, 396, 406, 538, 531, 492, 531, 402, 307, 308, 210, 872, 210, 210, 363, 235, 265, 235, 417, 518, 234, 403, 79, 388, 617, 802,
|
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, }; }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/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
] |
this.file = new File("testlockfile");
|
file = new File("testlockfile"); lockDir = new File(System.getProperty("java.io.tmpdir")); lockFile = new File(lockDir, file.getName() + ".lck");
|
public void setUp() { this.file = new File("testlockfile"); }
|
49302 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49302/e5cc89dec2c72e8af821a0536c768af316cb9b55/LockableFileWriterTest.java/buggy/src/test/org/apache/commons/io/output/LockableFileWriterTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
288,
3639,
585,
273,
394,
1387,
2932,
3813,
739,
768,
8863,
2176,
1621,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
6290,
18,
1594,
18,
5645,
1214,
7923,
1769,
2176,
812,
273,
394,
1387,
12,
739,
1621,
16,
585,
18,
17994,
1435,
397,
3552,
80,
363,
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,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
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,
24292,
1435,
288,
3639,
585,
273,
394,
1387,
2932,
3813,
739,
768,
8863,
2176,
1621,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
6290,
18,
1594,
18,
5645,
1214,
7923,
1769,
2176,
812,
273,
394,
1387,
12,
739,
1621,
16,
585,
18,
17994,
1435,
397,
3552,
80,
363,
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
] |
pstmt.setLong(2, 1); pstmt.setLong(3, 0); pstmt.setLong(4, agentID); pstmt.setString(5, TestGlobal.uaRMIAddress); pstmt.setString(6, "TestUA"); pstmt.setString(7, "test");
|
pstmt.setLong(2, 0); pstmt.setLong(3, agentID); pstmt.setString(4, TestGlobal.uaRMIAddress); pstmt.setString(5, "TestUA"); pstmt.setString(6, "test");
|
protected void setUp() throws Exception { super.setUp(); Connection con = TestGlobal.dbMediator.getConnection(); PreparedStatement pstmt = con.prepareStatement( "INSERT INTO AGENT (id, agentID, caSessionID, agentSessionID, addressrmi, name, password," + "isProviderAgent) VALUES(?,?,?,?,?,?,?)"); pstmt.setLong(1, 1); pstmt.setLong(2, 1); pstmt.setLong(3, 0); pstmt.setLong(4, agentID); pstmt.setString(5, TestGlobal.uaRMIAddress); pstmt.setString(6, "TestUA"); pstmt.setString(7, "test"); pstmt.executeUpdate(); con.commit(); TestGlobal.dbMediator.freeConnection(con); pstmt = null; }
|
10993 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10993/70e188083ec2abe180d9fa52e6acf50f4105a8b1/TestComponentManagerUALogin.java/buggy/everlage/test/de/everlage/ca/componentManager/TestComponentManagerUALogin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
1185,
288,
202,
202,
9565,
18,
542,
1211,
5621,
202,
202,
1952,
356,
273,
7766,
5160,
18,
1966,
13265,
10620,
18,
588,
1952,
5621,
202,
202,
29325,
293,
10589,
273,
1082,
202,
591,
18,
9366,
3406,
12,
9506,
202,
6,
11356,
12421,
432,
43,
2222,
261,
350,
16,
4040,
734,
16,
3474,
2157,
734,
16,
4040,
2157,
734,
16,
1758,
8864,
77,
16,
508,
16,
2201,
10837,
6862,
202,
15,
315,
291,
2249,
3630,
13,
13477,
3680,
27166,
27166,
27166,
27166,
27166,
27166,
2225,
1769,
202,
202,
84,
10589,
18,
542,
3708,
12,
21,
16,
404,
1769,
202,
202,
84,
10589,
18,
542,
3708,
12,
22,
16,
404,
1769,
202,
202,
84,
10589,
18,
542,
3708,
12,
23,
16,
374,
1769,
202,
202,
84,
10589,
18,
542,
3708,
12,
24,
16,
4040,
734,
1769,
202,
202,
84,
10589,
18,
542,
780,
12,
25,
16,
7766,
5160,
18,
11886,
54,
7492,
1887,
1769,
202,
202,
84,
10589,
18,
542,
780,
12,
26,
16,
315,
4709,
28203,
8863,
202,
202,
84,
10589,
18,
542,
780,
12,
27,
16,
315,
3813,
8863,
202,
202,
84,
10589,
18,
8837,
1891,
5621,
202,
202,
591,
18,
7371,
5621,
202,
202,
4709,
5160,
18,
1966,
13265,
10620,
18,
9156,
1952,
12,
591,
1769,
202,
202,
84,
10589,
273,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
1185,
288,
202,
202,
9565,
18,
542,
1211,
5621,
202,
202,
1952,
356,
273,
7766,
5160,
18,
1966,
13265,
10620,
18,
588,
1952,
5621,
202,
202,
29325,
293,
10589,
273,
1082,
202,
591,
18,
9366,
3406,
12,
9506,
202,
6,
11356,
12421,
432,
43,
2222,
261,
350,
16,
4040,
734,
16,
3474,
2157,
734,
16,
4040,
2157,
734,
16,
1758,
8864,
77,
16,
508,
16,
2201,
10837,
6862,
202,
15,
315,
291,
2249,
3630,
13,
13477,
3680,
27166,
27166,
27166,
27166,
27166,
27166,
2225,
1769,
202,
202,
84,
10589,
18,
542,
3708,
12,
21,
16,
404,
1769,
202,
202,
84,
10589,
18,
542,
3708,
12,
22,
16,
404,
1769,
202,
202,
84,
2
] |
return observer;
|
if (game != null && game.getPhase() == IGame.PHASE_VICTORY) return false; else return observer;
|
public boolean isObserver() { return observer; }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/0be24668a9dbb3b1be35bfc4e39ac9f467640186/Player.java/buggy/megamek/src/megamek/common/Player.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
11048,
1435,
288,
3639,
309,
261,
13957,
480,
446,
597,
7920,
18,
588,
11406,
1435,
422,
467,
12496,
18,
8939,
4429,
67,
4136,
1268,
3964,
13,
327,
629,
31,
469,
327,
9655,
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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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
] |
public void test1() throws Exception { TestXAResourceManager rm = new TestXAResourceManager(); rm.start(); AbstractSession s = rm.createSession(); tm.begin(); Transaction tx = tm.getTransaction(); tx.enlistResource(s); tx.delistResource(s, XAResource.TMSUCCESS); tx.commit(); }
|
public void test1() throws Exception { TestXAResourceManager rm = new TestXAResourceManager(); rm.start(); AbstractSession s = rm.createSession(); tm.begin(); Transaction tx = tm.getTransaction(); tx.enlistResource(s); tx.delistResource(s, XAResource.TMSUCCESS); tx.commit(); }
|
public void test1() throws Exception { TestXAResourceManager rm = new TestXAResourceManager(); rm.start(); AbstractSession s = rm.createSession(); tm.begin(); Transaction tx = tm.getTransaction(); tx.enlistResource(s); tx.delistResource(s, XAResource.TMSUCCESS); tx.commit(); }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/8cc09178adb8b0a3803c08f7b3cf0b6cf566d2b0/AbstractXAResourceManagerTestCase.java/clean/tests/integration/src/test/java/org/mule/test/integration/transaction/AbstractXAResourceManagerTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
21,
1435,
1216,
1185,
288,
202,
202,
4709,
17269,
1420,
1318,
6692,
273,
394,
7766,
17269,
1420,
1318,
5621,
202,
202,
8864,
18,
1937,
5621,
202,
202,
7469,
2157,
272,
273,
6692,
18,
2640,
2157,
5621,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
21,
1435,
1216,
1185,
288,
202,
202,
4709,
17269,
1420,
1318,
6692,
273,
394,
7766,
17269,
1420,
1318,
5621,
202,
202,
8864,
18,
1937,
5621,
202,
202,
7469,
2157,
272,
273,
6692,
18,
2640,
2157,
5621,
9506,
202,
16925,
18,
10086,
5621,
202,
202,
3342,
2229,
273,
6118,
18,
588,
3342,
5621,
202,
202,
978,
18,
275,
1098,
1420,
12,
87,
1769,
9506,
202,
978,
18,
3771,
376,
1420,
12,
87,
16,
12410,
1420,
18,
56,
3537,
57,
7316,
1769,
202,
202,
978,
18,
7371,
5621,
1082,
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
] |
} else if (AttributeConstant.BORDER_WIDTH.equals(property)) {
|
} else if ( AttributeConstant.BORDER_WIDTH.equals( property ) ) {
|
public static Object[] getChoiceSet(String property) { // The dataSet has different access method. if (AttributeConstant.DATASET.equals(property)) { return getDataSets(); } String unitKey = DesignChoiceConstants.CHOICE_UNITS; if (AttributeConstant.BACKGROUND_COLOR.equals(property)) { unitKey = IColorConstants.COLORS_CHOICE_SET; } else if (AttributeConstant.FONT_COLOR.equals(property)) { unitKey = IColorConstants.COLORS_CHOICE_SET; } else if (AttributeConstant.FONT_SIZE.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_FONT_SIZE; } else if (AttributeConstant.FONT_FAMILY.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_FONT_FAMILY; } else if (AttributeConstant.TEXT_FORMAT.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_TEXT_CONTENT_TYPE; } else if (AttributeConstant.BORDER_STYLE.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_LINE_STYLE; } else if (AttributeConstant.BORDER_WIDTH.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_LINE_WIDTH; } else if (SortKey.DIRECTION_MEMBER.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_SORT_DIRECTION; } else if (FilterCondition.OPERATOR_MEMBER.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_FILTER_OPERATOR; } else if (StyleHandle.VERTICAL_ALIGN_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_VERTICAL_ALIGN; } else if (StyleHandle.TEXT_ALIGN_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_TEXT_ALIGN; } else if (MasterPageHandle.ORIENTATION_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_PAGE_ORIENTATION; } else if (MasterPageHandle.TYPE_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_PAGE_SIZE; } else if (GroupHandle.INTERVAL_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_INTERVAL; } else if (StyleHandle.PAGE_BREAK_BEFORE_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK; } else if (StyleHandle.PAGE_BREAK_AFTER_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK; } else if (StyleHandle.PAGE_BREAK_INSIDE_PROP.equals(property)) { unitKey = DesignChoiceConstants.CHOICE_PAGE_BREAK_INSIDE; } return getUnitChoiceSet(unitKey); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7ca10c49a247dfe395b2e0483af9946ea07fe89b/ChoiceSetFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
336,
10538,
694,
12,
780,
1272,
13,
288,
202,
202,
759,
1021,
14837,
711,
3775,
2006,
707,
18,
202,
202,
430,
261,
1499,
6902,
18,
4883,
4043,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
2463,
4303,
2785,
5621,
202,
202,
97,
202,
202,
780,
2836,
653,
273,
29703,
10538,
2918,
18,
22213,
11774,
67,
24325,
31,
202,
202,
430,
261,
1499,
6902,
18,
8720,
20166,
67,
10989,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
273,
467,
2957,
2918,
18,
10989,
55,
67,
22213,
11774,
67,
4043,
31,
202,
202,
97,
469,
309,
261,
1499,
6902,
18,
25221,
67,
10989,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
273,
467,
2957,
2918,
18,
10989,
55,
67,
22213,
11774,
67,
4043,
31,
202,
202,
97,
469,
309,
261,
1499,
6902,
18,
25221,
67,
4574,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
273,
29703,
10538,
2918,
18,
22213,
11774,
67,
25221,
67,
4574,
31,
202,
202,
97,
469,
309,
261,
1499,
6902,
18,
25221,
67,
25002,
25554,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
273,
29703,
10538,
2918,
18,
22213,
11774,
67,
25221,
67,
25002,
25554,
31,
202,
202,
97,
469,
309,
261,
1499,
6902,
18,
5151,
67,
7254,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
273,
29703,
10538,
2918,
18,
22213,
11774,
67,
5151,
67,
9689,
67,
2399,
31,
202,
202,
97,
469,
309,
261,
1499,
6902,
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,
760,
1033,
8526,
336,
10538,
694,
12,
780,
1272,
13,
288,
202,
202,
759,
1021,
14837,
711,
3775,
2006,
707,
18,
202,
202,
430,
261,
1499,
6902,
18,
4883,
4043,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
2463,
4303,
2785,
5621,
202,
202,
97,
202,
202,
780,
2836,
653,
273,
29703,
10538,
2918,
18,
22213,
11774,
67,
24325,
31,
202,
202,
430,
261,
1499,
6902,
18,
8720,
20166,
67,
10989,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
273,
467,
2957,
2918,
18,
10989,
55,
67,
22213,
11774,
67,
4043,
31,
202,
202,
97,
469,
309,
261,
1499,
6902,
18,
25221,
67,
10989,
18,
14963,
12,
4468,
3719,
288,
1082,
202,
4873,
653,
2
] |
box = new JComboBox();
|
box = new BioComboBox();
|
public BioColorWidget(int colorType) { model = ColorUtil.RGB_MODEL; type = colorType; // create components color = new JLabel(COLOR_NAMES[model][type]); box = new JComboBox(); scalars = new Vector(); addItem("None", ColorUtil.CLEAR); addItem("Full", ColorUtil.SOLID); color.setLabelFor(box); // lay out components setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(Box.createHorizontalGlue()); p.add(color); p.add(Box.createHorizontalGlue()); add(p); add(box); }
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/c648d907ffbf9e288351eaa2b9575e324ee9f9bb/BioColorWidget.java/buggy/loci/visbio/view/BioColorWidget.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
21209,
2957,
4609,
12,
474,
2036,
559,
13,
288,
565,
938,
273,
5563,
1304,
18,
11343,
67,
17391,
31,
565,
618,
273,
2036,
559,
31,
565,
368,
752,
4085,
565,
2036,
273,
394,
21403,
12,
10989,
67,
16257,
63,
2284,
6362,
723,
19226,
565,
3919,
273,
394,
21209,
22199,
5621,
565,
23743,
273,
394,
5589,
5621,
565,
15009,
2932,
7036,
3113,
5563,
1304,
18,
23181,
985,
1769,
565,
15009,
2932,
5080,
3113,
5563,
1304,
18,
19815,
734,
1769,
565,
2036,
18,
542,
2224,
1290,
12,
2147,
1769,
565,
368,
328,
528,
596,
4085,
565,
18479,
12,
2704,
8549,
3744,
12,
2211,
16,
8549,
3744,
18,
61,
67,
25614,
10019,
565,
24048,
293,
273,
394,
24048,
5621,
565,
293,
18,
542,
3744,
12,
2704,
8549,
3744,
12,
84,
16,
8549,
3744,
18,
60,
67,
25614,
10019,
565,
293,
18,
1289,
12,
3514,
18,
2640,
14457,
21308,
344,
10663,
565,
293,
18,
1289,
12,
3266,
1769,
565,
293,
18,
1289,
12,
3514,
18,
2640,
14457,
21308,
344,
10663,
565,
527,
12,
84,
1769,
565,
527,
12,
2147,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
21209,
2957,
4609,
12,
474,
2036,
559,
13,
288,
565,
938,
273,
5563,
1304,
18,
11343,
67,
17391,
31,
565,
618,
273,
2036,
559,
31,
565,
368,
752,
4085,
565,
2036,
273,
394,
21403,
12,
10989,
67,
16257,
63,
2284,
6362,
723,
19226,
565,
3919,
273,
394,
21209,
22199,
5621,
565,
23743,
273,
394,
5589,
5621,
565,
15009,
2932,
7036,
3113,
5563,
1304,
18,
23181,
985,
1769,
565,
15009,
2932,
5080,
3113,
5563,
1304,
18,
19815,
734,
1769,
565,
2036,
18,
542,
2224,
1290,
12,
2147,
1769,
565,
368,
328,
528,
596,
4085,
565,
18479,
12,
2704,
8549,
3744,
12,
2211,
16,
8549,
3744,
18,
61,
67,
25614,
10019,
565,
24048,
293,
273,
394,
24048,
5621,
565,
2
] |
protected void setHeaders(HttpMethod httpMethod, UMOEventContext context) { // Standard requestHeaders String headerValue; String headerName; UMOMessage msg = context.getMessage(); for (Iterator iterator = msg.getPropertyNames().iterator(); iterator.hasNext();) { headerName = (String)iterator.next(); headerValue = msg.getStringProperty(headerName, null); if (HttpConstants.REQUEST_HEADER_NAMES.get(headerName) == null) { if (headerName.startsWith(MuleProperties.PROPERTY_PREFIX)) { headerName = new StringBuffer(30).append("X-").append(headerName).toString(); } // Make sure we have a valid header name otherwise we will // corrupt the request //If it is Content-Length we shold check the Response Headers before setting it if (headerName.startsWith(HttpConstants.HEADER_CONTENT_LENGTH)) { if(httpMethod.getResponseHeader(HttpConstants.HEADER_CONTENT_LENGTH) == null) { httpMethod.addRequestHeader(headerName, headerValue); } } else { httpMethod.addRequestHeader(headerName, headerValue); } } } if (context.getMessage().getPayload() instanceof InputStream) { // must set this for receiver to properly parse attachments httpMethod.addRequestHeader(HttpConstants.HEADER_CONTENT_TYPE, "multipart/related"); } }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/28bee98dceb9c8d27f411d99337c63c97e54753c/ObjectToHttpClientMethodRequest.java/buggy/providers/http/src/main/java/org/mule/providers/http/transformers/ObjectToHttpClientMethodRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24359,
12,
2940,
1305,
17425,
16,
587,
5980,
1133,
1042,
819,
13,
565,
288,
3639,
368,
8263,
23129,
3639,
514,
24503,
31,
3639,
514,
19430,
31,
3639,
587,
5980,
1079,
1234,
273,
819,
18,
24906,
5621,
3639,
364,
261,
3198,
2775,
273,
1234,
18,
588,
29932,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
5411,
19430,
273,
261,
780,
13,
9838,
18,
4285,
5621,
5411,
24503,
273,
1234,
18,
588,
780,
1396,
12,
3374,
461,
16,
446,
1769,
5411,
309,
261,
2940,
2918,
18,
5519,
67,
7557,
67,
16257,
18,
588,
12,
3374,
461,
13,
422,
446,
13,
288,
7734,
309,
261,
3374,
461,
18,
17514,
1190,
12,
49,
725,
2297,
18,
9900,
67,
6307,
3719,
288,
10792,
19430,
273,
394,
6674,
12,
5082,
2934,
6923,
2932,
60,
10951,
2934,
6923,
12,
3374,
461,
2934,
10492,
5621,
7734,
289,
7734,
368,
4344,
3071,
732,
1240,
279,
923,
1446,
508,
3541,
732,
903,
7734,
368,
16899,
326,
590,
7734,
368,
2047,
518,
353,
3697,
17,
1782,
732,
699,
1673,
866,
326,
2306,
12158,
1865,
3637,
518,
7734,
309,
261,
3374,
461,
18,
17514,
1190,
12,
2940,
2918,
18,
7557,
67,
9689,
67,
7096,
3719,
288,
10792,
309,
12,
2505,
1305,
18,
588,
1064,
1864,
12,
2940,
2918,
18,
7557,
67,
9689,
67,
7096,
13,
422,
446,
13,
288,
13491,
17425,
18,
1289,
691,
1864,
12,
3374,
461,
16,
24503,
1769,
10792,
289,
7734,
289,
7734,
469,
288,
10792,
17425,
18,
1289,
691,
1864,
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,
24359,
12,
2940,
1305,
17425,
16,
587,
5980,
1133,
1042,
819,
13,
565,
288,
3639,
368,
8263,
23129,
3639,
514,
24503,
31,
3639,
514,
19430,
31,
3639,
587,
5980,
1079,
1234,
273,
819,
18,
24906,
5621,
3639,
364,
261,
3198,
2775,
273,
1234,
18,
588,
29932,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
5411,
19430,
273,
261,
780,
13,
9838,
18,
4285,
5621,
5411,
24503,
273,
1234,
18,
588,
780,
1396,
12,
3374,
461,
16,
446,
1769,
5411,
309,
261,
2940,
2918,
18,
5519,
67,
7557,
67,
16257,
18,
588,
12,
3374,
461,
13,
422,
446,
13,
288,
7734,
309,
261,
3374,
461,
18,
17514,
1190,
12,
49,
725,
2297,
18,
9900,
67,
2
] |
||
if (resource.isAccessible() == false) { MessageDialog.openInformation( getShell(), WorkbenchMessages.getString("ResourceWorkingSetPage.projectClosedDialog.title"), WorkbenchMessages.getString("ResourceWorkingSetPage.projectClosedDialog.message")); tree.setChecked(resource, false); tree.setGrayed(resource, true); return; }
|
public void run() { IResource resource = (IResource) event.getElement(); if (resource.isAccessible() == false) { MessageDialog.openInformation( getShell(), WorkbenchMessages.getString("ResourceWorkingSetPage.projectClosedDialog.title"), //$NON-NLS-1$ WorkbenchMessages.getString("ResourceWorkingSetPage.projectClosedDialog.message")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-1$ tree.setChecked(resource, false); tree.setGrayed(resource, true); return; } boolean state = event.getChecked(); tree.setGrayed(resource, false); if (resource instanceof IContainer) { setSubtreeChecked((IContainer) resource, state, true); } updateParentState(resource); validateInput(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/2a404baa12f940abbe1f76656633f9ac0563bd2d/ResourceWorkingSetPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ResourceWorkingSetPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
1420,
1058,
273,
261,
45,
1420,
13,
871,
18,
21336,
5621,
9506,
202,
430,
261,
3146,
18,
291,
10451,
1435,
422,
629,
13,
288,
6862,
202,
1079,
6353,
18,
3190,
5369,
12,
25083,
202,
588,
13220,
9334,
25083,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1420,
14836,
694,
1964,
18,
4406,
7395,
6353,
18,
2649,
6,
3631,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1420,
14836,
694,
1964,
18,
4406,
7395,
6353,
18,
2150,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
759,
8,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
3413,
18,
542,
11454,
12,
3146,
16,
629,
1769,
6862,
202,
3413,
18,
542,
23521,
329,
12,
3146,
16,
638,
1769,
6862,
202,
2463,
31,
9506,
202,
97,
9506,
202,
6494,
919,
273,
871,
18,
588,
11454,
5621,
9506,
202,
3413,
18,
542,
23521,
329,
12,
3146,
16,
629,
1769,
9506,
202,
430,
261,
3146,
1276,
467,
2170,
13,
288,
6862,
202,
542,
18615,
11454,
12443,
45,
2170,
13,
1058,
16,
919,
16,
638,
1769,
9506,
202,
97,
9506,
202,
2725,
3054,
1119,
12,
3146,
1769,
9506,
202,
5662,
1210,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
1420,
1058,
273,
261,
45,
1420,
13,
871,
18,
21336,
5621,
9506,
202,
430,
261,
3146,
18,
291,
10451,
1435,
422,
629,
13,
288,
6862,
202,
1079,
6353,
18,
3190,
5369,
12,
25083,
202,
588,
13220,
9334,
25083,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1420,
14836,
694,
1964,
18,
4406,
7395,
6353,
18,
2649,
6,
3631,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1420,
14836,
694,
1964,
18,
4406,
7395,
6353,
18,
2150,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
759,
8,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
21,
2
] |
|
name.equals(Constants.DOM_NORMALIZE_CHARACTERS) || name.equals(Constants.DOM_CANONICAL_FORM) || name.equals(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equals(Constants.DOM_CHECK_CHAR_NORMALIZATION)
|
name.equalsIgnoreCase(Constants.DOM_NORMALIZE_CHARACTERS) || name.equalsIgnoreCase(Constants.DOM_CANONICAL_FORM) || name.equalsIgnoreCase(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equalsIgnoreCase(Constants.DOM_CHECK_CHAR_NORMALIZATION)
|
public boolean canSetParameter(String name, Object value) { if (value == null){ //if null, the returned value is true. //REVISIT: I dont like this --- even for unrecognized parameter it would //return 'true'. I think it should return false in that case. // Application will be surprised to find that setParameter throws not //recognized exception when canSetParameter returns 'true' Then what is the use //of having canSetParameter ??? - nb. return true ; } if( value instanceof Boolean ){ //features whose parameter value can be set either 'true' or 'false' // or they accept any boolean value -- so we just need to check that // its a boolean value.. if (name.equals(Constants.DOM_COMMENTS) || name.equals(Constants.DOM_DATATYPE_NORMALIZATION) || name.equals(Constants.DOM_CDATA_SECTIONS) || name.equals(Constants.DOM_ENTITIES) || name.equals(Constants.DOM_SPLIT_CDATA) || name.equals(Constants.DOM_NAMESPACES) || name.equals(Constants.DOM_VALIDATE) || name.equals(Constants.DOM_WELLFORMED) || name.equals(Constants.DOM_INFOSET) ) { return true ; }//features whose parameter value can not be set to 'true' else if ( name.equals(Constants.DOM_NORMALIZE_CHARACTERS) || name.equals(Constants.DOM_CANONICAL_FORM) || name.equals(Constants.DOM_VALIDATE_IF_SCHEMA) || name.equals(Constants.DOM_CHECK_CHAR_NORMALIZATION) ) { return (value.equals(Boolean.TRUE)) ? false : true; }//features whose parameter value can not be set to 'false' else if( name.equals(Constants.DOM_NAMESPACE_DECLARATIONS) || name.equals(Constants.DOM_ELEMENT_CONTENT_WHITESPACE) || name.equals(SEND_PSVI) ) { return (value.equals(Boolean.TRUE)) ? true : false; }// if name is not among the above listed above -- its not recognized. return false else { return false ; } } else if (name.equals(Constants.DOM_ERROR_HANDLER)) { return (value instanceof DOMErrorHandler) ? true : false ; } else if (name.equals(Constants.DOM_RESOURCE_RESOLVER)) { return (value instanceof LSResourceResolver) ? true : false ; } else if (name.equals(Constants.DOM_SCHEMA_LOCATION)) { return (value instanceof String) ? true : false ; } else if (name.equals(Constants.DOM_SCHEMA_TYPE)) { // REVISIT: should null value be supported? //as of now we are only supporting W3C XML Schema return ( (value instanceof String) && value.equals(Constants.NS_XMLSCHEMA) ) ? true : false ; } else if (name.equals(SYMBOL_TABLE)){ // Xerces Symbol Table return (value instanceof SymbolTable) ? true : false ; } else if (name.equals (GRAMMAR_POOL)){ return (value instanceof XMLGrammarPool) ? true : false ; } else { //false if the parameter is not recognized or the requested value is not supported. return false ; } } //canSetParameter
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/533ebf030a7b0e9b294007b8c69adbacd68acc35/DOMConfigurationImpl.java/clean/src/org/apache/xerces/dom/DOMConfigurationImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
694,
1662,
12,
780,
508,
16,
1033,
460,
13,
288,
3639,
309,
261,
1132,
422,
446,
15329,
5411,
368,
430,
446,
16,
326,
2106,
460,
353,
638,
18,
5411,
368,
862,
26780,
1285,
30,
467,
14046,
3007,
333,
9948,
5456,
364,
28333,
1569,
518,
4102,
5411,
368,
2463,
296,
3767,
10332,
467,
15507,
518,
1410,
327,
629,
316,
716,
648,
18,
5411,
368,
4257,
903,
506,
5056,
683,
5918,
358,
1104,
716,
6690,
1216,
486,
5411,
368,
12916,
1520,
1347,
848,
694,
1662,
1135,
296,
3767,
11,
9697,
4121,
353,
326,
999,
5411,
368,
792,
7999,
848,
694,
1662,
5317,
35,
300,
4264,
18,
5411,
327,
638,
274,
3639,
289,
3639,
309,
12,
460,
1276,
3411,
262,
95,
5411,
368,
7139,
8272,
1569,
460,
848,
506,
444,
3344,
296,
3767,
11,
578,
296,
5743,
11,
5411,
368,
578,
2898,
2791,
1281,
1250,
460,
1493,
1427,
732,
2537,
1608,
358,
866,
716,
5411,
368,
2097,
279,
1250,
460,
838,
5411,
309,
261,
529,
18,
14963,
12,
2918,
18,
8168,
67,
12200,
55,
13,
7734,
747,
508,
18,
14963,
12,
2918,
18,
8168,
67,
11102,
789,
1738,
67,
15480,
25084,
13,
7734,
747,
508,
18,
14963,
12,
2918,
18,
8168,
67,
18375,
67,
19082,
55,
13,
7734,
747,
508,
18,
14963,
12,
2918,
18,
8168,
67,
2222,
25673,
13,
7734,
747,
508,
18,
14963,
12,
2918,
18,
8168,
67,
17482,
67,
18375,
13,
7734,
747,
508,
18,
14963,
12,
2918,
18,
8168,
67,
11368,
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,
1250,
848,
694,
1662,
12,
780,
508,
16,
1033,
460,
13,
288,
3639,
309,
261,
1132,
422,
446,
15329,
5411,
368,
430,
446,
16,
326,
2106,
460,
353,
638,
18,
5411,
368,
862,
26780,
1285,
30,
467,
14046,
3007,
333,
9948,
5456,
364,
28333,
1569,
518,
4102,
5411,
368,
2463,
296,
3767,
10332,
467,
15507,
518,
1410,
327,
629,
316,
716,
648,
18,
5411,
368,
4257,
903,
506,
5056,
683,
5918,
358,
1104,
716,
6690,
1216,
486,
5411,
368,
12916,
1520,
1347,
848,
694,
1662,
1135,
296,
3767,
11,
9697,
4121,
353,
326,
999,
5411,
368,
792,
7999,
848,
694,
1662,
5317,
35,
300,
4264,
18,
5411,
327,
638,
274,
3639,
289,
3639,
309,
12,
460,
2
] |
for(int counter = 0; counter < displays.size(); counter++) { ParticleMotion particleMotion = (ParticleMotion)displays.get(counter); if(!displayKeys.contains(particleMotion.key)) continue;
|
for(int counter = 0; counter < parMos.size(); counter++) { ParticleMotion particleMotion = (ParticleMotion)parMos.get(counter); if(!displayKey.equals(particleMotion.key)) continue;
|
public synchronized void paintComponent(Graphics g) { if(displayKeys.size() == 0) return; Graphics2D graphics2D = (Graphics2D)g; vunitRangeImpl = new UnitRangeImpl(getMinVerticalAmplitude(), getMaxVerticalAmplitude(), UnitImpl.COUNT); hunitRangeImpl = new UnitRangeImpl(getMinHorizontalAmplitude(), getMaxHorizontalAmplitude(), UnitImpl.COUNT); //first draw the azimuth if one of the display is horizontal plane for(int counter = 0; counter < displays.size(); counter++) { ParticleMotion particleMotion = (ParticleMotion)displays.get(counter); if(!displayKeys.contains(particleMotion.key)) continue; if(particleMotion.isHorizontalPlane()){ drawAzimuth(particleMotion, graphics2D); break; } } for(int counter = 0; counter < displays.size(); counter++) { ParticleMotion particleMotion = (ParticleMotion)displays.get(counter); if(!displayKeys.contains(particleMotion.key)) continue; if(particleMotion.isSelected()) continue; drawParticleMotion(particleMotion, graphics2D); }//end of for for(int counter = 0; counter < displays.size(); counter++) { ParticleMotion particleMotion = (ParticleMotion)displays.get(counter); if(!displayKeys.contains(particleMotion.key)) continue; if(particleMotion.isSelected()) { particleMotion.setSelected(false); drawParticleMotion(particleMotion, g); } } }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/4e4144202543d067f0d56ff90050f8b4d3f18203/ParticleMotionView.java/buggy/src/edu/sc/seis/fissuresUtil/display/ParticleMotionView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
12574,
1841,
12,
17558,
314,
13,
288,
3639,
309,
12,
5417,
2396,
18,
1467,
1435,
422,
374,
13,
327,
31,
3639,
16830,
22,
40,
17313,
22,
40,
273,
261,
17558,
22,
40,
13,
75,
31,
3639,
331,
4873,
2655,
2828,
273,
394,
8380,
2655,
2828,
12,
588,
2930,
15704,
9864,
20794,
9334,
4766,
6647,
7288,
15704,
9864,
20794,
9334,
4766,
6647,
8380,
2828,
18,
7240,
1769,
3639,
366,
4873,
2655,
2828,
273,
394,
8380,
2655,
2828,
12,
588,
2930,
14457,
9864,
20794,
9334,
4766,
6647,
7288,
14457,
9864,
20794,
9334,
4766,
6647,
8380,
2828,
18,
7240,
1769,
3639,
368,
3645,
3724,
326,
23090,
309,
1245,
434,
326,
2562,
353,
10300,
11017,
3639,
364,
12,
474,
3895,
273,
374,
31,
3895,
411,
22461,
18,
1467,
5621,
3895,
27245,
288,
5411,
6393,
3711,
29360,
20036,
29360,
273,
261,
1988,
3711,
29360,
13,
5417,
87,
18,
588,
12,
7476,
1769,
5411,
309,
12,
5,
5417,
2396,
18,
12298,
12,
2680,
3711,
29360,
18,
856,
3719,
1324,
31,
5411,
309,
12,
2680,
3711,
29360,
18,
291,
14457,
19505,
10756,
95,
7734,
3724,
37,
94,
15968,
12,
2680,
3711,
29360,
16,
17313,
22,
40,
1769,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
364,
12,
474,
3895,
273,
374,
31,
3895,
411,
22461,
18,
1467,
5621,
3895,
27245,
288,
5411,
6393,
3711,
29360,
20036,
29360,
273,
261,
1988,
3711,
29360,
13,
5417,
87,
18,
588,
12,
7476,
1769,
5411,
309,
12,
5,
5417,
2396,
18,
12298,
12,
2680,
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,
3852,
918,
12574,
1841,
12,
17558,
314,
13,
288,
3639,
309,
12,
5417,
2396,
18,
1467,
1435,
422,
374,
13,
327,
31,
3639,
16830,
22,
40,
17313,
22,
40,
273,
261,
17558,
22,
40,
13,
75,
31,
3639,
331,
4873,
2655,
2828,
273,
394,
8380,
2655,
2828,
12,
588,
2930,
15704,
9864,
20794,
9334,
4766,
6647,
7288,
15704,
9864,
20794,
9334,
4766,
6647,
8380,
2828,
18,
7240,
1769,
3639,
366,
4873,
2655,
2828,
273,
394,
8380,
2655,
2828,
12,
588,
2930,
14457,
9864,
20794,
9334,
4766,
6647,
7288,
14457,
9864,
20794,
9334,
4766,
6647,
8380,
2828,
18,
7240,
1769,
3639,
368,
3645,
3724,
326,
23090,
309,
1245,
434,
326,
2562,
353,
10300,
11017,
3639,
364,
12,
474,
2
] |
"Select All",
|
CUIMessages.getString("AbstractErrorParserBlock.label.selectAll"),
|
public void createControl(Composite parent) { Composite composite = new Composite(parent, SWT.NONE); setControl(composite); WorkbenchHelp.setHelp(getControl(), ICHelpContextIds.ERROR_PARSERS_PAGE); String[] buttonLabels = new String[] { /* 0 */ "Up", //$NON-NLS-1$ /* 1 */ "Down", //$NON-NLS-1$ /* 2 */ null, /* 3 */ "Select All", //$NON-NLS-1$ /* 4 */ "Unselect All" //$NON-NLS-1$ }; fErrorParserList = new CheckedListDialogField(null, buttonLabels, getLabelProvider()); fErrorParserList.setDialogFieldListener(getFieldListenerAdapter()); fErrorParserList.setLabelText("Error Parsers"); //$NON-NLS-1$ fErrorParserList.setUpButtonIndex(0); fErrorParserList.setDownButtonIndex(1); fErrorParserList.setCheckAllButtonIndex(3); fErrorParserList.setUncheckAllButtonIndex(4); LayoutUtil.doDefaultLayout(composite, new DialogField[] { fErrorParserList }, true); LayoutUtil.setHorizontalGrabbing(fErrorParserList.getListControl(null)); initializeValues(); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/AbstractErrorParserBlock.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/AbstractErrorParserBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
542,
3367,
12,
27676,
1769,
202,
202,
2421,
22144,
6696,
18,
542,
6696,
12,
588,
3367,
9334,
467,
1792,
1992,
1042,
2673,
18,
3589,
67,
30692,
55,
67,
11219,
1769,
202,
202,
780,
8526,
3568,
5888,
273,
394,
514,
8526,
288,
1082,
202,
20308,
374,
1195,
1082,
202,
6,
1211,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
404,
1195,
1082,
202,
6,
4164,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
576,
1195,
1082,
202,
2011,
16,
1082,
202,
20308,
890,
1195,
1082,
202,
16001,
3445,
1753,
18,
588,
780,
2932,
7469,
668,
2678,
1768,
18,
1925,
18,
4025,
1595,
6,
3631,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
1059,
1195,
1082,
202,
6,
984,
4025,
4826,
6,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
20451,
202,
202,
74,
668,
2678,
682,
273,
394,
2073,
18073,
6353,
974,
12,
2011,
16,
3568,
5888,
16,
11237,
2249,
10663,
202,
202,
74,
668,
2678,
682,
18,
542,
6353,
974,
2223,
12,
588,
974,
2223,
4216,
10663,
202,
202,
74,
668,
2678,
682,
18,
542,
2224,
1528,
2932,
668,
2280,
5944,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
74,
668,
2678,
682,
18,
542,
1211,
3616,
1016,
12,
20,
1769,
202,
202,
74,
668,
2678,
682,
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,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
9635,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
542,
3367,
12,
27676,
1769,
202,
202,
2421,
22144,
6696,
18,
542,
6696,
12,
588,
3367,
9334,
467,
1792,
1992,
1042,
2673,
18,
3589,
67,
30692,
55,
67,
11219,
1769,
202,
202,
780,
8526,
3568,
5888,
273,
394,
514,
8526,
288,
1082,
202,
20308,
374,
1195,
1082,
202,
6,
1211,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
404,
1195,
1082,
202,
6,
4164,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
20308,
576,
1195,
1082,
202,
2011,
16,
1082,
202,
20308,
890,
1195,
1082,
202,
2
] |
replaceAll("AND", "&&").replaceAll("and", "&&"). replaceAll("OR", "||").replaceAll("or", "||");
|
replaceAll(" AND ", " && ").replaceAll(" and ", " && "). replaceAll(" OR ", " || ").replaceAll(" or ", " || ");
|
public void setExpression(final String expression) { String tmp = expression. replaceAll("AND", "&&").replaceAll("and", "&&"). replaceAll("OR", "||").replaceAll("or", "||"); m_expression = tmp; }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/fe937fca5ff68c7cf506603187f31c7d450a7b83/AdviceWeavingRule.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/xmldef/definition/AdviceWeavingRule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2300,
12,
6385,
514,
2652,
13,
288,
3639,
514,
1853,
273,
2652,
18,
7734,
10344,
2932,
4307,
3113,
7830,
10,
20387,
2079,
1595,
2932,
464,
3113,
7830,
10,
20387,
7734,
10344,
2932,
916,
3113,
11747,
96,
20387,
2079,
1595,
2932,
280,
3113,
11747,
96,
8863,
3639,
312,
67,
8692,
273,
1853,
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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,
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,
444,
2300,
12,
6385,
514,
2652,
13,
288,
3639,
514,
1853,
273,
2652,
18,
7734,
10344,
2932,
4307,
3113,
7830,
10,
20387,
2079,
1595,
2932,
464,
3113,
7830,
10,
20387,
7734,
10344,
2932,
916,
3113,
11747,
96,
20387,
2079,
1595,
2932,
280,
3113,
11747,
96,
8863,
3639,
312,
67,
8692,
273,
1853,
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,
-100,
-100,
-100,
-100,
-100
] |
this.string = string;
|
super();
|
public StringState(String string) { this.string = string; }
|
51914 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51914/057090d370f200a891302bb808c2a0352faac0e4/StringState.java/buggy/ecologylab/xml/StringState.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1119,
12,
780,
533,
13,
565,
288,
3639,
2240,
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,
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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,
377,
1071,
514,
1119,
12,
780,
533,
13,
565,
288,
3639,
2240,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
objfile.println("<Object name=" + context.getName() + ">");
|
protected void generateContextMappings(Context context, PrintWriter objfile ) { String ctxPath = context.getPath(); String nPath=("".equals(ctxPath)) ? "/" : ctxPath; if( noRoot && "".equals(ctxPath) ) { log("Ignoring root context in non-forward-all mode "); return; } // Static files will be served by Netscape objfile.println("#########################################################"); objfile.println("# Auto configuration for the " + nPath + " context starts."); objfile.println("#########################################################"); objfile.println(); // XXX Need to determine what if/how static mappings are done // InvokerInterceptor - it doesn't have a container, // but it's implemented using a special module. // XXX we need to better collect all mappings if(context.getLoginConfig() != null) { String loginPage = context.getLoginConfig().getLoginPage(); if(loginPage != null) { int lpos = loginPage.lastIndexOf("/"); String jscurl = loginPage.substring(0,lpos+1) + "j_security_check"; addMapping( ctxPath, jscurl, objfile); } } String [] servletMaps=context.findServletMappings(); for(int ii=0; ii < servletMaps.length; ii++) { addMapping( ctxPath , servletMaps[ii] , objfile ); } }
|
10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/a349a45814cf5e7c6fde15008c9096aede752e30/NSConfig.java/clean/java/org/apache/ajp/tomcat4/config/NSConfig.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
4750,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
918,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
2103,
1042,
7742,
12,
1042,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
819,
16,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
14071,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
262,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
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,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
1081,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
4750,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
918,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
819,
18,
17994,
1435,
397,
14675,
1769,
2103,
1042,
7742,
12,
1042,
2603,
768,
18,
8222,
2932,
32,
921,
508,
1546,
397,
2
] |
|
Permissions newP = newDetails.getPermissions(); if ( newP != null ) { newP.set( Flag.LOCKED ); if ((previousP.isGranted(USER, READ) && !newP.isGranted(USER, READ)) || (previousP.isGranted(GROUP, READ) && !newP.isGranted( GROUP, READ)) || (previousP.isGranted(WORLD, READ) && !newP.isGranted( WORLD, READ)))
|
Permissions calculatedP = newDetails.getPermissions(); if (calculatedP != null) { if ( ! calculatedP.isSet( Flag.LOCKED )) { calculatedP.set(Flag.LOCKED); altered = true; } if ((previousP.isGranted(USER, READ) && !calculatedP.isGranted(USER, READ)) || (previousP.isGranted(GROUP, READ) && !calculatedP .isGranted(GROUP, READ)) || (previousP.isGranted(WORLD, READ) && !calculatedP .isGranted(WORLD, READ)))
|
protected boolean managedPermissions( boolean locked, boolean privileged, IObject obj, Details previousDetails, Details currentDetails, Details newDetails) { // setup boolean altered = false; Permissions previousP = previousDetails == null ? null : previousDetails.getPermissions(); Permissions currentP = currentDetails == null ? null : currentDetails.getPermissions(); // ignore newDetails permissions. // If the stored perms are null, then we can't validate anything if ( previousP == null ) { if ( currentP == null ) { newDetails.setPermissions( null ); altered |= false; // don't need to update } else { newDetails.setPermissions( currentP ); altered = true; } } // WORKAROUND for ticket:307 by checking for SOFT below// see https://trac.openmicroscopy.org.uk/omero/ticket/307// see http://opensource.atlassian.com/projects/hibernate/browse/HHH-2027 // Users did not enter permission (normal case) so is null OR // in the workaround permissions is SOFT, then // need to copy whole sale those from database. else if ( currentP == null || currentP.isSet( Flag.SOFT )) { newDetails.setPermissions( previousP ); altered = true; } // if the user has set the permissions (currentDetails), then we should // try to allow that. if it's identical to the current, then there // is no reason to hit the DB. else { // if we need to filter any permissions, do it here! newDetails.setPermissions( currentP ); if ( ! currentP.identical( previousP ) ) { altered = true; } } // now we've calculated the desired permissions, throw // a security violation if this instance was locked AND // the read permissions have been lowered or if the lock // was removed. if ( locked ) { if (previousP == null) // if null it can't have been locked. throw new InternalException("Null permissions cannot be locked"); Permissions newP = newDetails.getPermissions(); if ( newP != null ) { // can't override newP.set( Flag.LOCKED ); if ((previousP.isGranted(USER, READ) && !newP.isGranted(USER, READ)) || (previousP.isGranted(GROUP, READ) && !newP.isGranted( GROUP, READ)) || (previousP.isGranted(WORLD, READ) && !newP.isGranted( WORLD, READ))) throw new SecurityViolation( "Cannot remove READ from locked entity:" + obj) ; } } // privileged plays no role since everyone can alter their permissions // (within bounds) return altered; }
|
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/9c53370b3f7a88f29e38673527398c205d19f7d6/BasicSecuritySystem.java/buggy/components/server/src/ome/security/BasicSecuritySystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
7016,
6521,
12,
1250,
8586,
16,
1250,
11334,
2423,
16,
1377,
202,
202,
45,
921,
1081,
16,
377,
202,
202,
3790,
2416,
3790,
16,
21897,
783,
3790,
16,
21897,
394,
3790,
13,
565,
288,
377,
202,
759,
3875,
377,
202,
377,
202,
6494,
22349,
273,
629,
31,
377,
202,
377,
202,
6521,
2416,
52,
273,
2416,
3790,
422,
446,
692,
446,
294,
1377,
202,
202,
11515,
3790,
18,
588,
6521,
5621,
377,
202,
377,
202,
6521,
783,
52,
273,
783,
3790,
422,
446,
692,
446,
294,
377,
202,
202,
2972,
3790,
18,
588,
6521,
5621,
377,
202,
759,
2305,
394,
3790,
4371,
18,
377,
202,
377,
202,
759,
971,
326,
4041,
13793,
854,
446,
16,
1508,
732,
848,
1404,
1954,
6967,
377,
202,
430,
261,
2416,
52,
422,
446,
262,
1377,
202,
95,
377,
202,
202,
430,
261,
783,
52,
422,
446,
262,
377,
202,
202,
95,
377,
1082,
202,
2704,
3790,
18,
542,
6521,
12,
446,
11272,
377,
1082,
202,
22628,
329,
5626,
629,
31,
368,
2727,
1404,
1608,
358,
1089,
377,
202,
202,
97,
469,
288,
377,
1082,
202,
2704,
3790,
18,
542,
6521,
12,
783,
52,
11272,
377,
1082,
202,
22628,
329,
273,
638,
31,
377,
202,
202,
97,
377,
202,
97,
1377,
202,
759,
565,
202,
17062,
985,
51,
5240,
364,
9322,
30,
5082,
27,
635,
6728,
364,
348,
3932,
56,
5712,
759,
565,
202,
2621,
2333,
2207,
313,
1077,
18,
3190,
14458,
1017,
1101,
18,
3341,
18,
19445,
19,
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,
1250,
7016,
6521,
12,
1250,
8586,
16,
1250,
11334,
2423,
16,
1377,
202,
202,
45,
921,
1081,
16,
377,
202,
202,
3790,
2416,
3790,
16,
21897,
783,
3790,
16,
21897,
394,
3790,
13,
565,
288,
377,
202,
759,
3875,
377,
202,
377,
202,
6494,
22349,
273,
629,
31,
377,
202,
377,
202,
6521,
2416,
52,
273,
2416,
3790,
422,
446,
692,
446,
294,
1377,
202,
202,
11515,
3790,
18,
588,
6521,
5621,
377,
202,
377,
202,
6521,
783,
52,
273,
783,
3790,
422,
446,
692,
446,
294,
377,
202,
202,
2972,
3790,
18,
588,
6521,
5621,
377,
202,
759,
2305,
394,
3790,
4371,
18,
377,
202,
377,
202,
759,
971,
326,
4041,
13793,
854,
446,
16,
1508,
2
] |
stmt.close();
|
try { stmt.close(); } catch (SQLException ex) { }
|
synchronized public void close() throws SQLException { if (!closed) { try { // // Close any open statements // ArrayList tmpList; synchronized (statements) { tmpList = new ArrayList(statements); } for (int i = 0; i < tmpList.size(); i++) { WeakReference wr = (WeakReference)tmpList.get(i); if (wr != null) { Statement stmt = (Statement)wr.get(); if (stmt != null) { stmt.close(); } } } // // Tell the server the session is ending // baseTds.closeConnection(); // // Close network connection // baseTds.close(); if (cachedTds != null) { cachedTds = null; } socket.close(); } catch (IOException e) { // Ignore } finally { closed = true; } } }
|
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/ad74a62830fca2309b2c648f5483672edc499e80/ConnectionJDBC2.java/clean/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
1746,
1435,
1216,
6483,
288,
3639,
309,
16051,
12204,
13,
288,
5411,
775,
288,
7734,
368,
7734,
368,
3527,
1281,
1696,
6317,
7734,
368,
7734,
2407,
1853,
682,
31,
7734,
3852,
261,
18393,
13,
288,
10792,
1853,
682,
273,
394,
2407,
12,
18393,
1769,
7734,
289,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1853,
682,
18,
1467,
5621,
277,
27245,
288,
10792,
23632,
2404,
12408,
273,
261,
3218,
581,
2404,
13,
5645,
682,
18,
588,
12,
77,
1769,
10792,
309,
261,
91,
86,
480,
446,
13,
288,
13491,
8056,
3480,
273,
261,
3406,
13,
91,
86,
18,
588,
5621,
13491,
309,
261,
10589,
480,
446,
13,
288,
18701,
775,
288,
3480,
18,
4412,
5621,
289,
1044,
261,
23116,
431,
13,
288,
225,
289,
13491,
289,
10792,
289,
7734,
289,
7734,
368,
7734,
368,
29860,
326,
1438,
326,
1339,
353,
11463,
7734,
368,
7734,
1026,
56,
2377,
18,
4412,
1952,
5621,
7734,
368,
7734,
368,
3527,
2483,
1459,
7734,
368,
7734,
1026,
56,
2377,
18,
4412,
5621,
7734,
309,
261,
7097,
56,
2377,
480,
446,
13,
288,
10792,
3472,
56,
2377,
273,
446,
31,
7734,
289,
7734,
2987,
18,
4412,
5621,
5411,
289,
1044,
261,
14106,
425,
13,
288,
7734,
368,
8049,
5411,
289,
3095,
288,
7734,
4375,
273,
638,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
1746,
1435,
1216,
6483,
288,
3639,
309,
16051,
12204,
13,
288,
5411,
775,
288,
7734,
368,
7734,
368,
3527,
1281,
1696,
6317,
7734,
368,
7734,
2407,
1853,
682,
31,
7734,
3852,
261,
18393,
13,
288,
10792,
1853,
682,
273,
394,
2407,
12,
18393,
1769,
7734,
289,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1853,
682,
18,
1467,
5621,
277,
27245,
288,
10792,
23632,
2404,
12408,
273,
261,
3218,
581,
2404,
13,
5645,
682,
18,
588,
12,
77,
1769,
10792,
309,
261,
91,
86,
480,
446,
13,
288,
13491,
8056,
3480,
273,
261,
3406,
13,
91,
86,
18,
588,
5621,
13491,
309,
261,
10589,
480,
446,
13,
288,
18701,
775,
288,
3480,
18,
2
] |
public synchronized void remove(Cache cache) { caches.remove(cache);
|
public void remove(Cache cache) { synchronized (caches) { caches.remove(cache); }
|
public synchronized void remove(Cache cache) { caches.remove(cache); }
|
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/87f7b89b0e138ca11923ead08a7cfe8273a7a11b/CacheManager.java/buggy/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/CacheManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1206,
12,
1649,
1247,
13,
288,
3639,
12535,
18,
4479,
12,
2493,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3852,
918,
1206,
12,
1649,
1247,
13,
288,
3639,
12535,
18,
4479,
12,
2493,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
createNodeGainedInterfaceEvent(ipIfEntry);
|
private void addDuplicateInterface( DbNodeEntry node, InetAddress ifaddr, List protocols, IfSnmpCollector snmpc) throws SQLException { Category log = ThreadCategory.getInstance(getClass()); CapsdConfigFactory cFactory = CapsdConfigFactory.getInstance(); PollerConfigFactory pollerCfgFactory = PollerConfigFactory.getInstance(); Date now = new Date(); // if there is no snmp information then it's a // simple addtion to the database // if(snmpc != null || !snmpc.failed()) { if (log.isDebugEnabled()) log.debug("RescanProcessor: add interface " + ifaddr.getHostAddress() + " for nodeId: " + node.getNodeId()); DbIpInterfaceEntry ipIfEntry = DbIpInterfaceEntry.create(node.getNodeId(), ifaddr); ipIfEntry.setLastPoll(now); ipIfEntry.setHostname(ifaddr.getHostName()); // The package filter evaluation requires that the ip be in the // database - at this point the ip is NOT in db, so insert as active // and update afterward // // Try to avoid re-evaluating the ip against filters for // each service, try to get the first package here and use // that for service evaluation // boolean addrUnmanaged = cFactory.isAddressUnmanaged(ifaddr); if(addrUnmanaged) ipIfEntry.setManagedState(DbIpInterfaceEntry.STATE_UNMANAGED); else ipIfEntry.setManagedState(DbIpInterfaceEntry.STATE_MANAGED); ipIfEntry.setPrimaryState(DbIpInterfaceEntry.SNMP_NOT_ELIGIBLE); ipIfEntry.store(); // now update if necessary org.opennms.netmgt.config.poller.Package ipPkg = null; if (!addrUnmanaged) { boolean ipToBePolled = false; ipPkg = pollerCfgFactory.getFirstPackageMatch(ifaddr.getHostAddress()); if (ipPkg != null) ipToBePolled = true; if (!ipToBePolled) { // update ismanaged to 'N' in ipinterface ipIfEntry.setManagedState(DbIpInterfaceEntry.STATE_NOT_POLLED); ipIfEntry.store(); } } int ifIndex = -1; if((ifIndex = snmpc.getIfIndex(ifaddr)) != -1) { // Just set primary state to secondary for now. The primary SNMP interface // won't be selected until after all interfaces have been inserted // into the database. This is because the interface must already be in // the database for filter rule evaluation to succeed. ipIfEntry.setPrimaryState(DbIpInterfaceEntry.SNMP_SECONDARY); ipIfEntry.setIfIndex(ifIndex); int status = snmpc.getAdminStatus(ifIndex); if(status != -1) ipIfEntry.setStatus(status); } else { // Address does not have a valid ifIndex associated with it // so set primary state to NOT_ELIGIBLE. ipIfEntry.setPrimaryState(DbIpInterfaceEntry.SNMP_NOT_ELIGIBLE); } ipIfEntry.store(); createNodeGainedInterfaceEvent(ipIfEntry); createDuplicateIpAddressEvent(ipIfEntry); // Add supported protocols if (log.isDebugEnabled()) log.debug("RescanProcessor: add supported protocols for interface " + ifaddr.getHostAddress() + " /nodeId: " + node.getNodeId()); addSupportedProtocols(node, ipIfEntry, protocols, addrUnmanaged, ifIndex, ipPkg); } }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/4cb5c9404a6dc9a2afb78f55aab0570ee23c48b2/RescanProcessor.java/buggy/src/services/org/opennms/netmgt/capsd/RescanProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
11826,
1358,
12,
8408,
907,
1622,
756,
16,
6862,
282,
14218,
309,
4793,
16,
4766,
282,
987,
16534,
16,
6862,
282,
971,
10461,
1291,
7134,
15366,
71,
13,
202,
202,
15069,
6483,
202,
95,
202,
202,
4457,
613,
273,
4884,
4457,
18,
588,
1442,
12,
588,
797,
10663,
202,
202,
4664,
6427,
809,
1733,
276,
1733,
273,
11200,
6427,
809,
1733,
18,
588,
1442,
5621,
202,
202,
5850,
749,
809,
1733,
24525,
8198,
1733,
273,
6730,
749,
809,
1733,
18,
588,
1442,
5621,
202,
202,
1626,
2037,
273,
394,
2167,
5621,
202,
202,
759,
309,
1915,
353,
1158,
15366,
1779,
1508,
518,
1807,
279,
202,
202,
759,
4143,
527,
24252,
358,
326,
2063,
202,
202,
759,
202,
202,
430,
12,
26527,
71,
480,
446,
747,
401,
26527,
71,
18,
7307,
10756,
202,
202,
95,
1082,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
9506,
202,
1330,
18,
4148,
2932,
607,
4169,
5164,
30,
527,
1560,
315,
397,
309,
4793,
18,
588,
2594,
1887,
1435,
4766,
3639,
397,
315,
364,
11507,
30,
315,
397,
756,
18,
588,
15883,
10663,
29159,
1082,
202,
4331,
5273,
1358,
1622,
2359,
2047,
1622,
273,
8408,
5273,
1358,
1622,
18,
2640,
12,
2159,
18,
588,
15883,
9334,
309,
4793,
1769,
1082,
202,
625,
2047,
1622,
18,
542,
3024,
19085,
12,
3338,
1769,
1082,
202,
625,
2047,
1622,
18,
542,
13769,
12,
430,
4793,
18,
588,
20946,
10663,
1082,
202,
759,
1021,
2181,
1034,
9873,
4991,
716,
326,
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,
918,
527,
11826,
1358,
12,
8408,
907,
1622,
756,
16,
6862,
282,
14218,
309,
4793,
16,
4766,
282,
987,
16534,
16,
6862,
282,
971,
10461,
1291,
7134,
15366,
71,
13,
202,
202,
15069,
6483,
202,
95,
202,
202,
4457,
613,
273,
4884,
4457,
18,
588,
1442,
12,
588,
797,
10663,
202,
202,
4664,
6427,
809,
1733,
276,
1733,
273,
11200,
6427,
809,
1733,
18,
588,
1442,
5621,
202,
202,
5850,
749,
809,
1733,
24525,
8198,
1733,
273,
6730,
749,
809,
1733,
18,
588,
1442,
5621,
202,
202,
1626,
2037,
273,
394,
2167,
5621,
202,
202,
759,
309,
1915,
353,
1158,
15366,
1779,
1508,
518,
1807,
279,
202,
202,
759,
4143,
527,
24252,
358,
326,
2063,
202,
2
] |
|
scopeProvider = p;
|
dim.scopeProvider = p;
|
public void setScopeProvider(ScopeProvider p) { scopeProvider = p; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/402fd02406157693f66b2c8e6819e17c0b5b3e8a/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3876,
2249,
12,
3876,
2249,
293,
13,
288,
3639,
2464,
18,
4887,
2249,
273,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3876,
2249,
12,
3876,
2249,
293,
13,
288,
3639,
2464,
18,
4887,
2249,
273,
293,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
((OptLocalVariable)theVariables.getVariable(i)).assignType(TypeEvent.AnyType);
|
OptLocalVariable.get(theVariables, i).assignType(TypeEvent.AnyType);
|
void markAnyTypeVariables(VariableTable theVariables) { for (int i = 0; i < theVariables.size(); i++) if (itsLiveOnEntrySet.test(i)) ((OptLocalVariable)theVariables.getVariable(i)).assignType(TypeEvent.AnyType); }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/e497d2b898e781a5052344191ab878cd469f3f53/Block.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Block.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
2267,
2961,
559,
6158,
12,
3092,
1388,
326,
6158,
13,
565,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
326,
6158,
18,
1467,
5621,
277,
27245,
5411,
309,
261,
1282,
12328,
1398,
1622,
694,
18,
3813,
12,
77,
3719,
7734,
12056,
2042,
3092,
18,
588,
12,
5787,
6158,
16,
277,
2934,
6145,
559,
12,
559,
1133,
18,
2961,
559,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
2267,
2961,
559,
6158,
12,
3092,
1388,
326,
6158,
13,
565,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
326,
6158,
18,
1467,
5621,
277,
27245,
5411,
309,
261,
1282,
12328,
1398,
1622,
694,
18,
3813,
12,
77,
3719,
7734,
12056,
2042,
3092,
18,
588,
12,
5787,
6158,
16,
277,
2934,
6145,
559,
12,
559,
1133,
18,
2961,
559,
1769,
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
] |
public void setClassShutter(ClassShutter shutter) {
|
public final void setClassShutter(ClassShutter shutter) { if (sealed) onSealedMutation();
|
public void setClassShutter(ClassShutter shutter) { if (shutter == null) throw new IllegalArgumentException(); if (classShutter != null) { throw new SecurityException("Cannot overwrite existing " + "ClassShutter object"); } classShutter = shutter; }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/5586a284813f024a7d52061d1ea71ae99876066e/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
24580,
1555,
18220,
12,
797,
1555,
18220,
9171,
387,
13,
288,
309,
261,
307,
18931,
13,
603,
1761,
18931,
20028,
5621,
3639,
309,
261,
674,
18220,
422,
446,
13,
604,
394,
2754,
5621,
3639,
309,
261,
1106,
1555,
18220,
480,
446,
13,
288,
5411,
604,
394,
17780,
2932,
4515,
6156,
2062,
315,
397,
4766,
3639,
315,
797,
1555,
18220,
733,
8863,
3639,
289,
3639,
667,
1555,
18220,
273,
9171,
387,
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,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326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
24580,
1555,
18220,
12,
797,
1555,
18220,
9171,
387,
13,
288,
309,
261,
307,
18931,
13,
603,
1761,
18931,
20028,
5621,
3639,
309,
261,
674,
18220,
422,
446,
13,
604,
394,
2754,
5621,
3639,
309,
261,
1106,
1555,
18220,
480,
446,
13,
288,
5411,
604,
394,
17780,
2932,
4515,
6156,
2062,
315,
397,
4766,
3639,
315,
797,
1555,
18220,
733,
8863,
3639,
289,
3639,
667,
1555,
18220,
273,
9171,
387,
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
] |
FieldAssistPlugin.DEC_REQUIRED);
|
FieldDecorationRegistry.DEC_REQUIRED);
|
private FieldDecoration getRequiredFieldDecoration() { return FieldDecorationRegistry.getDefault().getFieldDecoration( FieldAssistPlugin.DEC_REQUIRED); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/40eecc1fe2cdd011495b22f120530efe0c1dda9c/ExampleDialog.java/clean/examples/org.eclipse.ui.examples.fieldassist/Eclipse UI Examples Field Assist/org/eclipse/ui/examples/fieldassist/ExampleDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2286,
7859,
367,
19881,
974,
7859,
367,
1435,
288,
202,
202,
2463,
2286,
7859,
367,
4243,
18,
588,
1868,
7675,
588,
974,
7859,
367,
12,
9506,
202,
974,
2610,
376,
3773,
18,
1639,
39,
67,
14977,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2286,
7859,
367,
19881,
974,
7859,
367,
1435,
288,
202,
202,
2463,
2286,
7859,
367,
4243,
18,
588,
1868,
7675,
588,
974,
7859,
367,
12,
9506,
202,
974,
2610,
376,
3773,
18,
1639,
39,
67,
14977,
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
] |
RubyObject stdin = RubyIO.stdin(ruby, ruby.getClasses().getIoClass()); RubyObject stdout = RubyIO.stdout(ruby, ruby.getClasses().getIoClass()); RubyObject stderr = RubyIO.stderr(ruby, ruby.getClasses().getIoClass());
|
RubyObject stdin = RubyIO.stdin(ruby, ruby.getClasses().getIoClass(), System.in); RubyObject stdout = RubyIO.stdout(ruby, ruby.getClasses().getIoClass(), System.out); RubyObject stderr = RubyIO.stderr(ruby, ruby.getClasses().getIoClass(), System.err);
|
public static void createGlobals(Ruby ruby) { StringSetter stringSetter = new StringSetter(); LastlineAccessor lastlineAccessor = new LastlineAccessor(); SafeAccessor safeAccessor = new SafeAccessor(); ruby.defineHookedVariable("$/", RubyString.newString(ruby, "\n"), null, stringSetter); ruby.defineHookedVariable("$\\", ruby.getNil(), null, stringSetter); ruby.defineHookedVariable("$,", ruby.getNil(), null, stringSetter); ruby.defineHookedVariable("$.", RubyFixnum.one(ruby), null, new LineNumberSetter()); ruby.defineVirtualVariable("$_", lastlineAccessor, lastlineAccessor); ruby.defineHookedVariable("$!", ruby.getNil(), null, new ErrorInfoSetter()); ruby.defineVirtualVariable("$SAFE", safeAccessor, safeAccessor); RubyObject stdin = RubyIO.stdin(ruby, ruby.getClasses().getIoClass()); RubyObject stdout = RubyIO.stdout(ruby, ruby.getClasses().getIoClass()); RubyObject stderr = RubyIO.stderr(ruby, ruby.getClasses().getIoClass()); ruby.defineHookedVariable("$stdin", stdin, null, new StdInSetter()); ruby.defineHookedVariable("$stdout", stdout, null, new StdOutSetter()); ruby.defineHookedVariable("$stderr", stderr, null, new StdErrSetter()); ruby.defineHookedVariable("$>", stdout, null, new DefSetter()); ruby.defineHookedVariable("$defout", stdout, null, new DefSetter()); ruby.defineGlobalConstant("STDIN", stdin); ruby.defineGlobalConstant("STDOUT", stdout); ruby.defineGlobalConstant("STDERR", stderr); // ARGF, $< object RubyArgsFile argsFile = new RubyArgsFile(ruby); argsFile.initArgsFile(); // Global functions // IO, $_ String ruby.defineGlobalFunction("open", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "open")); ruby.defineGlobalFunction("format", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "sprintf")); ruby.defineGlobalFunction("gets", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "gets")); ruby.defineGlobalFunction("p", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "p")); ruby.defineGlobalFunction("print", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "print")); ruby.defineGlobalFunction("printf", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "printf")); ruby.defineGlobalFunction("puts", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "puts")); ruby.defineGlobalFunction("readline", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "readline")); ruby.defineGlobalFunction("readlines", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "readlines")); ruby.defineGlobalFunction("sprintf", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "sprintf")); ruby.defineGlobalFunction("gsub!", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "gsub_bang")); ruby.defineGlobalFunction("gsub", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "gsub")); ruby.defineGlobalFunction("sub!", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "sub_bang")); ruby.defineGlobalFunction("sub", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "sub")); ruby.defineGlobalFunction("chop!", CallbackFactory.getSingletonMethod(RubyGlobal.class, "chop_bang")); ruby.defineGlobalFunction("chop", CallbackFactory.getSingletonMethod(RubyGlobal.class, "chop")); ruby.defineGlobalFunction("chomp!", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "chomp_bang")); ruby.defineGlobalFunction("chomp", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "chomp")); ruby.defineGlobalFunction("split", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "split")); ruby.defineGlobalFunction("scan", CallbackFactory.getSingletonMethod(RubyGlobal.class, "scan", RubyObject.class)); ruby.defineGlobalFunction("load", CallbackFactory.getSingletonMethod(RubyGlobal.class, "load", RubyString.class)); //FIXME autoload method needs to be implemented //ruby.defineGlobalFunction("autoload", CallbackFactory.getSingletonMethod(RubyGlobal.class, "autoload", RubyString.class)); ruby.defineGlobalFunction("raise", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "raise")); ruby.defineGlobalFunction("require", CallbackFactory.getSingletonMethod(RubyGlobal.class, "require", RubyString.class)); ruby.defineGlobalFunction("global_variables", CallbackFactory.getSingletonMethod(RubyGlobal.class, "global_variables")); ruby.defineGlobalFunction("local_variables", CallbackFactory.getSingletonMethod(RubyGlobal.class, "local_variables")); ruby.defineGlobalFunction("block_given?", CallbackFactory.getSingletonMethod(RubyGlobal.class, "block_given")); ruby.defineGlobalFunction("iterator?", CallbackFactory.getSingletonMethod(RubyGlobal.class, "block_given")); ruby.defineGlobalFunction("lambda", CallbackFactory.getSingletonMethod(RubyGlobal.class, "lambda")); ruby.defineGlobalFunction("proc", CallbackFactory.getSingletonMethod(RubyGlobal.class, "proc")); ruby.defineGlobalFunction("loop", CallbackFactory.getSingletonMethod(RubyGlobal.class, "loop")); ruby.defineGlobalFunction("eval", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "eval", RubyString.class)); ruby.defineGlobalFunction("caller", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "caller")); ruby.defineGlobalFunction("catch", CallbackFactory.getSingletonMethod(RubyGlobal.class, "rbCatch", RubyObject.class)); ruby.defineGlobalFunction("throw", CallbackFactory.getOptSingletonMethod(RubyGlobal.class, "rbThrow", RubyObject.class)); ruby.defineGlobalFunction("singleton_method_added", CallbackFactory.getNilMethod()); }
|
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/RubyGlobal.java/buggy/org/jruby/RubyGlobal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
752,
19834,
12,
54,
10340,
22155,
13,
288,
3639,
514,
8465,
533,
8465,
273,
394,
514,
8465,
5621,
3639,
6825,
1369,
8235,
1142,
1369,
8235,
273,
394,
6825,
1369,
8235,
5621,
3639,
14060,
8235,
4183,
8235,
273,
394,
14060,
8235,
5621,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
13209,
3113,
19817,
780,
18,
2704,
780,
12,
27768,
16,
1548,
82,
6,
3631,
446,
16,
533,
8465,
1769,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
8,
1695,
3113,
22155,
18,
588,
12616,
9334,
446,
16,
533,
8465,
1769,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
8,
16,
3113,
22155,
18,
588,
12616,
9334,
446,
16,
533,
8465,
1769,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
8,
1199,
16,
19817,
8585,
2107,
18,
476,
12,
27768,
3631,
446,
16,
394,
5377,
1854,
8465,
10663,
3639,
22155,
18,
11255,
6466,
3092,
2932,
8,
67,
3113,
1142,
1369,
8235,
16,
1142,
1369,
8235,
1769,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
8,
5,
3113,
22155,
18,
588,
12616,
9334,
446,
16,
394,
1068,
966,
8465,
10663,
3639,
22155,
18,
11255,
6466,
3092,
2932,
8,
22219,
3113,
4183,
8235,
16,
4183,
8235,
1769,
3639,
19817,
921,
8801,
273,
19817,
4294,
18,
21772,
12,
27768,
16,
22155,
18,
588,
4818,
7675,
588,
15963,
797,
10663,
3639,
19817,
921,
3909,
273,
19817,
4294,
18,
10283,
12,
27768,
16,
22155,
18,
588,
4818,
7675,
588,
15963,
797,
10663,
3639,
19817,
921,
4514,
273,
19817,
4294,
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,
377,
1071,
760,
918,
752,
19834,
12,
54,
10340,
22155,
13,
288,
3639,
514,
8465,
533,
8465,
273,
394,
514,
8465,
5621,
3639,
6825,
1369,
8235,
1142,
1369,
8235,
273,
394,
6825,
1369,
8235,
5621,
3639,
14060,
8235,
4183,
8235,
273,
394,
14060,
8235,
5621,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
13209,
3113,
19817,
780,
18,
2704,
780,
12,
27768,
16,
1548,
82,
6,
3631,
446,
16,
533,
8465,
1769,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
8,
1695,
3113,
22155,
18,
588,
12616,
9334,
446,
16,
533,
8465,
1769,
3639,
22155,
18,
11255,
5394,
329,
3092,
2932,
8,
16,
3113,
22155,
18,
588,
12616,
9334,
446,
16,
533,
8465,
1769,
3639,
22155,
18,
11255,
5394,
2
] |
public void postRegister(Boolean registrationDone) { log.info("Starting Tomcat connectors"); try { ObjectName service = new ObjectName("jboss.web:type=Service,serviceName=jboss.web"); Object[] args = {}; String[] sig = {}; Connector[] connectors = (Connector[]) server.invoke(service, "findConnectors", args, sig); for (int n = 0; n < connectors.length; n++) { Lifecycle lc = (Lifecycle) connectors[n]; lc.start(); } } catch (Exception e) { log.error("Unable to start Tomcat connectors: " + e, e); } }
|
52591 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52591/40d039c3768cb7599b96d6daf552fb5aa9fd5748/NotReadyManager.java/buggy/src/org/hyperic/util/notReady/NotReadyManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2767,
3996,
12,
5507,
14170,
7387,
15329,
1330,
18,
1376,
2932,
11715,
56,
362,
2574,
4646,
18886,
8863,
698,
95,
921,
1557,
264,
633,
33,
2704,
16707,
2932,
10649,
8464,
18,
4875,
30,
723,
33,
1179,
16,
15423,
33,
10649,
8464,
18,
4875,
8863,
921,
8526,
1968,
12938,
31,
780,
8526,
7340,
12938,
31,
7487,
8526,
4646,
18886,
28657,
7487,
63,
5717,
3567,
18,
14407,
12,
3278,
10837,
4720,
7487,
87,
3113,
1968,
16,
7340,
1769,
1884,
12,
474,
82,
33,
20,
31,
82,
32,
4646,
18886,
18,
2469,
31,
82,
27245,
95,
6929,
557,
93,
830,
292,
71,
28657,
9977,
13,
4646,
18886,
63,
82,
15533,
17704,
18,
1937,
5621,
9090,
14683,
12,
503,
73,
15329,
1330,
18,
1636,
2932,
984,
378,
1810,
669,
485,
56,
362,
2574,
4646,
18886,
2773,
15,
73,
16,
73,
1769,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2767,
3996,
12,
5507,
14170,
7387,
15329,
1330,
18,
1376,
2932,
11715,
56,
362,
2574,
4646,
18886,
8863,
698,
95,
921,
1557,
264,
633,
33,
2704,
16707,
2932,
10649,
8464,
18,
4875,
30,
723,
33,
1179,
16,
15423,
33,
10649,
8464,
18,
4875,
8863,
921,
8526,
1968,
12938,
31,
780,
8526,
7340,
12938,
31,
7487,
8526,
4646,
18886,
28657,
7487,
63,
5717,
3567,
18,
14407,
12,
3278,
10837,
4720,
7487,
87,
3113,
1968,
16,
7340,
1769,
1884,
12,
474,
82,
33,
20,
31,
82,
32,
4646,
18886,
18,
2469,
31,
82,
27245,
95,
6929,
557,
93,
830,
292,
71,
28657,
9977,
13,
4646,
18886,
63,
82,
15533,
17704,
18,
1937,
5621,
9090,
14683,
12,
503,
73,
15329,
2
] |
||
return Color.BLACK;
|
return Color.black;
|
private static Color getColorField(final Class aClass, final String fieldName) { try { final Field field = aClass.getDeclaredField(fieldName); return (Color)field.get(null); } catch (NoSuchFieldException e) { return Color.BLACK; } catch (IllegalAccessException e) { return Color.BLACK; } }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/f61d3bdd8218cc7e7833a24c0980642557eb9fc9/ColorDescriptor.java/buggy/UIDesignerCore/src/com/intellij/uiDesigner/lw/ColorDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
5563,
15672,
974,
12,
6385,
1659,
20148,
16,
727,
514,
4289,
13,
288,
565,
775,
288,
1377,
727,
2286,
652,
273,
20148,
18,
588,
18888,
974,
12,
16163,
1769,
1377,
327,
261,
2957,
13,
1518,
18,
588,
12,
2011,
1769,
565,
289,
565,
1044,
261,
28341,
28846,
425,
13,
288,
1377,
327,
5563,
18,
11223,
31,
565,
289,
565,
1044,
261,
12195,
9773,
425,
13,
288,
1377,
327,
5563,
18,
11223,
31,
565,
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,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
4289,
13,
288,
565,
775,
288,
1377,
727,
2286,
652,
273,
20148,
18,
588,
18888,
974,
12,
16163,
1769,
1377,
327,
261,
2957,
13,
1518,
18,
588,
12,
2011,
1769,
565,
289,
565,
1044,
261,
28341,
28846,
425,
13,
288,
1377,
327,
5563,
18,
11223,
31,
565,
289,
565,
1044,
261,
12195,
9773,
425,
13,
288,
1377,
327,
5563,
18,
11223,
31,
565,
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
] |
server.clean(param_0, param_1, param_2, param_3);
|
server.clean($param_0, $param_1, $param_2, $param_3);
|
public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) throws java.lang.Exception { if (opnum < 0) { if (hash == -5803803475088455571L) { opnum = 0; } else if (hash == -8139341527526761862L) { opnum = 1; } else { throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch"); } } else if (hash != interfaceHash) { throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch"); } gnu.java.rmi.dgc.DGCImpl server = (gnu.java.rmi.dgc.DGCImpl)obj; switch (opnum) { case 0: { java.rmi.server.ObjID[] param_0; long param_1; java.rmi.dgc.VMID param_2; boolean param_3; try { java.io.ObjectInput in = call.getInputStream(); param_0 = (java.rmi.server.ObjID[])in.readObject(); param_1 = (long)in.readLong(); param_2 = (java.rmi.dgc.VMID)in.readObject(); param_3 = (boolean)in.readBoolean(); } catch (java.io.IOException e) { throw new java.rmi.UnmarshalException("error unmarshalling arguments", e); } catch (java.lang.ClassCastException e) { throw new java.rmi.UnmarshalException("error unmarshalling arguments", e); } finally { call.releaseInputStream(); } server.clean(param_0, param_1, param_2, param_3); try { java.io.ObjectOutput out = call.getResultStream(true); } catch (java.io.IOException e) { throw new java.rmi.MarshalException("error marshalling return", e); } break; } case 1: { java.rmi.server.ObjID[] param_0; long param_1; java.rmi.dgc.Lease param_2; try { java.io.ObjectInput in = call.getInputStream(); param_0 = (java.rmi.server.ObjID[])in.readObject(); param_1 = (long)in.readLong(); param_2 = (java.rmi.dgc.Lease)in.readObject(); } catch (java.io.IOException e) { throw new java.rmi.UnmarshalException("error unmarshalling arguments", e); } catch (java.lang.ClassCastException e) { throw new java.rmi.UnmarshalException("error unmarshalling arguments", e); } finally { call.releaseInputStream(); } java.rmi.dgc.Lease result = server.dirty(param_0, param_1, param_2); try { java.io.ObjectOutput out = call.getResultStream(true); out.writeObject(result); } catch (java.io.IOException e) { throw new java.rmi.MarshalException("error marshalling return", e); } break; } default: throw new java.rmi.UnmarshalException("invalid method number"); } }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/5a5d074039951b9655a1e95058546ebb56bbd5d3/DGCImpl_Skel.java/clean/libraries/javalib/gnu/java/rmi/dgc/DGCImpl_Skel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3435,
12,
6290,
18,
8864,
77,
18,
5169,
1081,
16,
2252,
18,
8864,
77,
18,
3567,
18,
5169,
1477,
745,
16,
509,
1061,
2107,
16,
1525,
1651,
13,
1216,
2252,
18,
4936,
18,
503,
288,
3639,
309,
261,
556,
2107,
411,
374,
13,
288,
5411,
309,
261,
2816,
422,
300,
25,
3672,
23,
3672,
5026,
27,
3361,
28,
5193,
2539,
10321,
21,
48,
13,
288,
7734,
1061,
2107,
273,
374,
31,
5411,
289,
5411,
469,
309,
261,
2816,
422,
300,
28,
24347,
5026,
3600,
5324,
25,
5558,
6669,
2643,
8898,
48,
13,
288,
7734,
1061,
2107,
273,
404,
31,
5411,
289,
5411,
469,
288,
7734,
604,
394,
2252,
18,
8864,
77,
18,
3567,
18,
28070,
16901,
503,
2932,
5831,
1651,
13484,
8863,
5411,
289,
3639,
289,
3639,
469,
309,
261,
2816,
480,
1560,
2310,
13,
288,
5411,
604,
394,
2252,
18,
8864,
77,
18,
3567,
18,
28070,
16901,
503,
2932,
5831,
1651,
13484,
8863,
3639,
289,
7734,
314,
13053,
18,
6290,
18,
8864,
77,
18,
72,
13241,
18,
40,
15396,
2828,
1438,
273,
261,
1600,
89,
18,
6290,
18,
8864,
77,
18,
72,
13241,
18,
40,
15396,
2828,
13,
2603,
31,
3639,
1620,
261,
556,
2107,
13,
288,
3639,
648,
374,
30,
3639,
288,
5411,
2252,
18,
8864,
77,
18,
3567,
18,
2675,
734,
8526,
579,
67,
20,
31,
5411,
1525,
579,
67,
21,
31,
5411,
2252,
18,
8864,
77,
18,
72,
13241,
18,
7397,
734,
579,
67,
22,
31,
5411,
1250,
579,
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,
377,
1071,
918,
3435,
12,
6290,
18,
8864,
77,
18,
5169,
1081,
16,
2252,
18,
8864,
77,
18,
3567,
18,
5169,
1477,
745,
16,
509,
1061,
2107,
16,
1525,
1651,
13,
1216,
2252,
18,
4936,
18,
503,
288,
3639,
309,
261,
556,
2107,
411,
374,
13,
288,
5411,
309,
261,
2816,
422,
300,
25,
3672,
23,
3672,
5026,
27,
3361,
28,
5193,
2539,
10321,
21,
48,
13,
288,
7734,
1061,
2107,
273,
374,
31,
5411,
289,
5411,
469,
309,
261,
2816,
422,
300,
28,
24347,
5026,
3600,
5324,
25,
5558,
6669,
2643,
8898,
48,
13,
288,
7734,
1061,
2107,
273,
404,
31,
5411,
289,
5411,
469,
288,
7734,
604,
394,
2252,
18,
8864,
77,
18,
3567,
18,
28070,
16901,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.