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 |
|---|---|---|---|---|---|---|
MessagingException, IOException | IOException | public static void processDaily(Context context) throws SQLException, MessagingException, IOException { // Grab the subscriptions TableRowIterator tri = DatabaseManager.query(context, "SELECT * FROM subscription ORDER BY eperson_id"); EPerson currentEPerson = null; ... | 47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/6f3d4af82f82a954cacea0032116d515f7185a2a/Subscribe.java/clean/dspace/src/org/dspace/eperson/Subscribe.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
40,
12857,
12,
1042,
819,
13,
1216,
6483,
16,
5411,
1860,
565,
288,
3639,
368,
17150,
326,
11912,
3639,
3555,
1999,
3198,
6882,
273,
5130,
1318,
18,
2271,
12,
2472,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
40,
12857,
12,
1042,
819,
13,
1216,
6483,
16,
5411,
1860,
565,
288,
3639,
368,
17150,
326,
11912,
3639,
3555,
1999,
3198,
6882,
273,
5130,
1318,
18,
2271,
12,
2472,
... |
public void setHeightfield (BufferedImage image) { // scale the image to the size of the heightfield, flip it upside down, // and convert it to 8-bit grayscale int hfwidth = _board.getHeightfieldWidth(), hfheight = _board.getHeightfieldHeight(); BufferedImage grayimg = new ... | 8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/a0ad7d320d6f5b69c93af4eff2a1e44a6d1d31be/EditorBoardView.java/buggy/src/java/com/threerings/bang/editor/EditorBoardView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27276,
1518,
261,
17947,
2040,
1316,
13,
565,
288,
3639,
368,
3159,
326,
1316,
358,
326,
963,
434,
326,
2072,
1518,
16,
9668,
518,
731,
5564,
2588,
16,
3639,
368,
471,
1765,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27276,
1518,
261,
17947,
2040,
1316,
13,
565,
288,
3639,
368,
3159,
326,
1316,
358,
326,
963,
434,
326,
2072,
1518,
16,
9668,
518,
731,
5564,
2588,
16,
3639,
368,
471,
1765,
... | ||
case 553: { | case 550: { | public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER) ... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/bb2a94143f433b1bc3a3f14e9063a6f9ed4a0262/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... |
List libs = getListProperty( ReportDesign.LIBRARIES_PROP ); | List libs = getListProperty( IModuleModel.LIBRARIES_PROP ); | public void reloadLibraries( ) throws SemanticException, DesignFileException { List libs = getListProperty( ReportDesign.LIBRARIES_PROP ); if ( libs == null || libs.isEmpty( ) ) return; for ( int i = 0; i < libs.size( ); i++ ) { IncludedLibrary lib = (IncludedLibrary) libs.get( i ); Library includeLib = mo... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/ModuleHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7749,
31909,
12,
262,
1216,
24747,
503,
16,
1082,
202,
15478,
812,
503,
202,
95,
202,
202,
682,
15042,
273,
10033,
1396,
12,
8706,
15478,
18,
2053,
7192,
985,
8805,
67,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7749,
31909,
12,
262,
1216,
24747,
503,
16,
1082,
202,
15478,
812,
503,
202,
95,
202,
202,
682,
15042,
273,
10033,
1396,
12,
8706,
15478,
18,
2053,
7192,
985,
8805,
67,
1... |
if (Platform.getInstanceLocation() == null) return; /* Get the entries from files, if any */ IPath path = WorkbenchPlugin.getDefault().getStateLocation(); | IPath path = WorkbenchPlugin.getDefault().getDataLocation(); if(path == null) return; | private void loadCustom() { Reader reader = null; /* Get the entries from the Preference store */ IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); /* Get the space-delimited list of custom perspective ids */ String customPerspectives = st... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c1e771cddb865aac6a6d72b575053f573ef8f2c2/PerspectiveRegistry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1262,
3802,
1435,
288,
3639,
5393,
2949,
273,
446,
31,
3639,
1748,
968,
326,
3222,
628,
326,
29125,
1707,
1195,
3639,
467,
9624,
2257,
1707,
273,
4147,
22144,
3773,
18,
588,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
3802,
1435,
288,
3639,
5393,
2949,
273,
446,
31,
3639,
1748,
968,
326,
3222,
628,
326,
29125,
1707,
1195,
3639,
467,
9624,
2257,
1707,
273,
4147,
22144,
3773,
18,
588,
18... |
} progressRegion.getControl().setVisible(true); } else { if (progressRegion != null) { defaultLayout.removeTrim(progressRegion); progressRegion.getControl().setVisible(false); } } defaultLayout.setCenterControl(getPageComposite()); } | } progressRegion.getControl().setVisible(true); } else { if (progressRegion != null) { defaultLayout.removeTrim(progressRegion); progressRegion.getControl().setVisible(false); } } defaultLayout.setCenterControl(getPageComposite()); } | private void updateLayoutDataForContents() { if (defaultLayout == null) return; // @issue this is not ideal; coolbar and perspective shortcuts should be // separately configurable if ((getCoolBarVisible() && getWindowConfigurer().getShowCoolBar()) || (getPersp... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
3744,
751,
1290,
6323,
1435,
288,
3639,
309,
261,
1886,
3744,
422,
446,
13,
5411,
327,
31,
3639,
368,
632,
13882,
333,
353,
486,
23349,
31,
27367,
3215,
471,
26651,
25641... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
3744,
751,
1290,
6323,
1435,
288,
3639,
309,
261,
1886,
3744,
422,
446,
13,
5411,
327,
31,
3639,
368,
632,
13882,
333,
353,
486,
23349,
31,
27367,
3215,
471,
26651,
25641... |
setProperty(name, propName, in); | setProperty(name, propertyName, in); | public void editConfig(String name) { Symbol symbol = symbolTable.get(name); boolean done = false; if (symbol == null) { System.out.println("No component: " + name); return; } System.out.println(symbol.getName() + ":"); Registry registry = symbol.getR... | 52185 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52185/1e6515ee6eca03c12b6dd786af9302825b638188/ConfigurationManager.java/buggy/src/sphinx4/edu/cmu/sphinx/util/props/ConfigurationManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3874,
809,
12,
780,
508,
13,
288,
3639,
8565,
3273,
273,
26086,
18,
588,
12,
529,
1769,
3639,
1250,
2731,
273,
629,
31,
3639,
309,
261,
7175,
422,
446,
13,
225,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3874,
809,
12,
780,
508,
13,
288,
3639,
8565,
3273,
273,
26086,
18,
588,
12,
529,
1769,
3639,
1250,
2731,
273,
629,
31,
3639,
309,
261,
7175,
422,
446,
13,
225,
288,
5411,
... |
db.clear(); | db.clear(0); | protected void clear() throws CoreException { Database db = getDB(); // Clear out the database db.clear(); // Zero out the File Index and Linkages db.putInt(FILE_INDEX, 0); fileIndex = null; db.putInt(LINKAGES, 0); fLinkageIDCache.clear(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/da9aa45994b0f58ad68a76b2898e30b815a33e54/PDOM.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOM.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2424,
1435,
1216,
30015,
288,
202,
202,
4254,
1319,
273,
31132,
5621,
202,
202,
759,
10121,
596,
326,
2063,
202,
202,
1966,
18,
8507,
5621,
202,
202,
759,
12744,
596,
326,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2424,
1435,
1216,
30015,
288,
202,
202,
4254,
1319,
273,
31132,
5621,
202,
202,
759,
10121,
596,
326,
2063,
202,
202,
1966,
18,
8507,
5621,
202,
202,
759,
12744,
596,
326,... |
AST tmp1846_AST_in = (AST)_t; | AST tmp1848_AST_in = (AST)_t; | public final void compilestate(AST _t) throws RecognitionException { AST compilestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1723 = _t; AST tmp1839_AST_in = (AST)_t; match(_t,COMPILE); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { _loop1772: do { if (_t==null) _t=ASTNULL; ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1161,
14849,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1161,
14849,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1161,
14849,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1161,
14849,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
29... |
if (TargetPlatform.isRuntimeRefactored()) | if (TargetPlatform.isRuntimeRefactored2()) wc.setAttribute("pde.version", "3.2a"); else if (TargetPlatform.isRuntimeRefactored1()) | protected ILaunchConfiguration createConfiguration( IJavaProject project, String name, String mainType, String container, String testName) { ILaunchConfiguration config = null; try { ILaunchConfigurationType configType= getJUnitLaunchConfigType(); String computedName = DebugPlugin.getDefault().getLaunchManager(... | 14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/133f925c6c225420130479544ca4aab481d6b54a/JUnitWorkbenchShortcut.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/JUnitWorkbenchShortcut.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9569,
1750,
752,
1750,
12,
202,
202,
45,
5852,
4109,
1984,
16,
514,
508,
16,
514,
2774,
559,
16,
514,
1478,
16,
514,
1842,
461,
13,
288,
202,
202,
2627,
4760,
1750,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
9569,
1750,
752,
1750,
12,
202,
202,
45,
5852,
4109,
1984,
16,
514,
508,
16,
514,
2774,
559,
16,
514,
1478,
16,
514,
1842,
461,
13,
288,
202,
202,
2627,
4760,
1750,
64... |
UnitPrefix unitPrefix = UnitPrefix.findAppropiatePrefix(number, unitPrefixArray); | UnitPrefix unitPrefix = UnitPrefix.findAppropriatePrefix(number, unitPrefixArray); | public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition fieldPosition) { StringBuffer result = toAppendTo; UnitPrefix unitPrefix = UnitPrefix.findAppropiatePrefix(number, unitPrefixArray); if (unitPrefix == null) { result = super.format(number, toAppendTo, fi... | 50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/b56d94447657ce5ad3147c7f8798cbd55843227d/ERXUnitAwareDecimalFormat.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXUnitAwareDecimalFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6674,
740,
12,
9056,
1300,
16,
6674,
358,
5736,
774,
16,
2286,
2555,
652,
2555,
13,
288,
3639,
6674,
563,
273,
358,
5736,
774,
31,
3639,
8380,
2244,
2836,
2244,
273,
8380,
2244,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6674,
740,
12,
9056,
1300,
16,
6674,
358,
5736,
774,
16,
2286,
2555,
652,
2555,
13,
288,
3639,
6674,
563,
273,
358,
5736,
774,
31,
3639,
8380,
2244,
2836,
2244,
273,
8380,
2244,
1... |
public org.quickfix.field.InterestAtMaturity getInterestAtMaturity() throws FieldNotFound { org.quickfix.field.InterestAtMaturity value = new org.quickfix.field.InterestAtMaturity(); | public quickfix.field.InterestAtMaturity getInterestAtMaturity() throws FieldNotFound { quickfix.field.InterestAtMaturity value = new quickfix.field.InterestAtMaturity(); | public org.quickfix.field.InterestAtMaturity getInterestAtMaturity() throws FieldNotFound { org.quickfix.field.InterestAtMaturity value = new org.quickfix.field.InterestAtMaturity(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
29281,
861,
15947,
2336,
336,
29281,
861,
15947,
2336,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
29281,
861,
15947,
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,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
29281,
861,
15947,
2336,
336,
29281,
861,
15947,
2336,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
29281,
861,
15947,
2... |
wUseSubs.setSelection(jobentry.getUseVariableSubstitution()); | public void getData() { if (jobentry.getName() != null) wName.setText( jobentry.getName() ); if (jobentry.getSQL() != null) wSQL.setText( jobentry.getSQL() ); DatabaseMeta dbinfo = jobentry.getDatabase(); if (dbinfo!=null && dbinfo.getName()!=null) wConnection.setText(dbinfo.getName()); else wConnection.setText... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/bf4b3e91363640c62a549d821554162dfd376083/JobEntrySQLDialog.java/buggy/src/be/ibridge/kettle/job/entry/sql/JobEntrySQLDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
341,
3727,
26123,
18,
542,
6233,
12,
4688,
4099,
18,
588,
3727,
3092,
23798,
10663,
918,
341,
3727,
26123,
18,
542,
6233,
12,
4688,
4099,
18,
588,
3727,
3092,
23798,
10663,
4303... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
341,
3727,
26123,
18,
542,
6233,
12,
4688,
4099,
18,
588,
3727,
3092,
23798,
10663,
918,
341,
3727,
26123,
18,
542,
6233,
12,
4688,
4099,
18,
588,
3727,
3092,
23798,
10663,
4303... | |
for( i = gs; i <= ge; i++ ) { | for( i = gs; i <= ge; i++ ) { | private void sendMTFValues() throws IOException { char len[][] = new char[ N_GROUPS ][ MAX_ALPHA_SIZE ]; int v; int t; int i; int j; int gs; int ge; int totc; int bt; int bc; int iter; int nSelectors = 0; int alphaS... | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/bab9e2d799ee887bc0a404b4acdec0366234eafe/CBZip2OutputStream.java/buggy/proposal/myrmidon/src/java/org/apache/aut/bzip2/CBZip2OutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
6152,
42,
1972,
1435,
3639,
1216,
1860,
565,
288,
3639,
1149,
562,
63,
6362,
65,
273,
394,
1149,
63,
423,
67,
28977,
308,
63,
4552,
67,
26313,
67,
4574,
308,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1366,
6152,
42,
1972,
1435,
3639,
1216,
1860,
565,
288,
3639,
1149,
562,
63,
6362,
65,
273,
394,
1149,
63,
423,
67,
28977,
308,
63,
4552,
67,
26313,
67,
4574,
308,
31,
3639,
... |
case TRAP_opcode: | private void verifyInstructions(String where) { Enumeration bbEnum = cfg.nodes(); while(bbEnum.hasMoreElements()) { OPT_BasicBlock block = (OPT_BasicBlock) bbEnum.nextElement(); OPT_IREnumeration.AllInstructionsEnum instructions = new OPT_IREnumeration.AllInstructionsEnum(this, block); boolean startingInst... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/f058924457fa7c3534598c7957e9a277335f4b1b/OPT_IR.java/buggy/rvm/src/vm/compilers/optimizing/ir/OPT_IR.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3929,
26712,
12,
780,
1625,
13,
288,
565,
13864,
7129,
3572,
273,
2776,
18,
4690,
5621,
202,
1323,
12,
9897,
3572,
18,
5332,
7417,
3471,
10756,
288,
1377,
16456,
67,
8252,
1768... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3929,
26712,
12,
780,
1625,
13,
288,
565,
13864,
7129,
3572,
273,
2776,
18,
4690,
5621,
202,
1323,
12,
9897,
3572,
18,
5332,
7417,
3471,
10756,
288,
1377,
16456,
67,
8252,
1768... | |
public CommonDropAdapterAssistant[] findCommonDropAdapterAssistants(Object aDropTarget) { return null; | public CommonDropAdapterAssistant[] findCommonDropAdapterAssistants( Object aDropTarget, TransferData aTransferType) { CommonDropAdapterDescriptor[] descriptors = CommonDropDescriptorManager .getInstance().findCommonDropAdapterAssistants(aDropTarget, contentService); if (descriptors.length == 0) return NO_ASSISTANTS... | public CommonDropAdapterAssistant[] findCommonDropAdapterAssistants(Object aDropTarget) { // TODO Implement the search routine return null; } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/49eb96577ec0522e254b4f6e46dc20eebd9aad2c/NavigatorDnDService.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/dnd/NavigatorDnDService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5658,
7544,
4216,
2610,
17175,
8526,
1104,
6517,
7544,
4216,
2610,
376,
4388,
12,
921,
279,
7544,
2326,
13,
288,
202,
202,
759,
2660,
10886,
326,
1623,
12245,
202,
202,
2463,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5658,
7544,
4216,
2610,
17175,
8526,
1104,
6517,
7544,
4216,
2610,
376,
4388,
12,
921,
279,
7544,
2326,
13,
288,
202,
202,
759,
2660,
10886,
326,
1623,
12245,
202,
202,
2463,
44... |
AST __t354 = _t; | AST __t359 = _t; | public final Expression numericExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST numericExpr_AST_in = (AST)_t; step= null; PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); if (_t==null)... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1d6298911c93c664b283d6052b53ef5b8e0b20cb/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
6389,
4742,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
6389,
4742,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2... |
static private synchronized void writeHeaderFileOutputStream(byte[] buffer, int length) | static private synchronized void writeHeaderFileOutputStream(byte[] buffer, Offset length) | static private synchronized void writeHeaderFileOutputStream(byte[] buffer, int length) { if(verbose>=8)VM.sysWriteln("VM_HPMs.writeHeaderFileOutputStream(buffer, 0, ",length,")"); if (length <= 0) return; if (header_trace_file == null) { // constraint VM.sysWriteln("\n***VM_HPMs.writeHeaderFileOutp... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/71f0481e0131f8f2137e2feea85ae32a28daffcc/VM_HardwarePerformanceMonitors.java/clean/rvm/src/vm/HPM/VM_HardwarePerformanceMonitors.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3238,
3852,
918,
1045,
1864,
812,
4632,
12,
7229,
8526,
1613,
16,
9874,
769,
13,
225,
288,
565,
309,
12,
11369,
34,
33,
28,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
250... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
3238,
3852,
918,
1045,
1864,
812,
4632,
12,
7229,
8526,
1613,
16,
9874,
769,
13,
225,
288,
565,
309,
12,
11369,
34,
33,
28,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
7397,
67,
250... |
public DefaultGrailsPluginManager(Resource[] pluginFiles, GrailsApplication application2) { | public DefaultGrailsPluginManager(String resourcePath, GrailsApplication application) throws IOException { super(); | public DefaultGrailsPluginManager(Resource[] pluginFiles, GrailsApplication application2) { if(application == null) throw new IllegalArgumentException("Argument [application] cannot be null!"); resolver = new PathMatchingResourcePatternResolver(); this.pluginResources = pluginFiles; this.application = appl... | 26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/8a3b2a552558c5afc241155d83b01422e1901607/DefaultGrailsPluginManager.java/buggy/src/commons/org/codehaus/groovy/grails/plugins/DefaultGrailsPluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2989,
14571,
14573,
3773,
1318,
12,
1420,
8526,
1909,
2697,
16,
10812,
14573,
3208,
2521,
22,
13,
288,
202,
202,
430,
12,
3685,
422,
446,
13,
1082,
202,
12849,
394,
2754,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2989,
14571,
14573,
3773,
1318,
12,
1420,
8526,
1909,
2697,
16,
10812,
14573,
3208,
2521,
22,
13,
288,
202,
202,
430,
12,
3685,
422,
446,
13,
1082,
202,
12849,
394,
2754,
2932,
... |
return evaluateCaseMatch(evaluator, args); } | String o0 = getStringArg(evaluator, args, 0, null); String o1 = getStringArg(evaluator, args, 1, null); return o0 + o1; } | public Object evaluate(Evaluator evaluator, Exp[] args) { return evaluateCaseMatch(evaluator, args); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/3041f930b5fc4bf6aa3339845b828801c1d8b366/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
7682,
1071,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
18701,
327,
5956,
2449,
2060,
12,
14168,
639,
16,
833,
1769,
13491,
289,
2,
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,
0,
0,
0,
0,
0,
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,
7682,
1071,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
18701,
327,
5956,
2449,
2060,
12,
14168,
639,
16,
833,
1769,
13491,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return RubyArray.newArray(getRuntime(), other, this); | return getRuntime().newArray(other, this); | public RubyArray coerce(RubyNumeric other) { if (getMetaClass() == other.getMetaClass()) { return RubyArray.newArray(getRuntime(), other, this); } return RubyArray.newArray( getRuntime(), RubyFloat.newFloat(getRuntime(), other.getDoubleValue()... | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyNumeric.java/clean/src/org/jruby/RubyNumeric.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
1076,
12270,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
588,
2781,
797,
1435,
422,
1308,
18,
588,
2781,
797,
10756,
288,
5411,
327,
18814,
7675,
2704,
1076,
12,
3011... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
1076,
12270,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
588,
2781,
797,
1435,
422,
1308,
18,
588,
2781,
797,
10756,
288,
5411,
327,
18814,
7675,
2704,
1076,
12,
3011... |
if (routemetric3 != -1) | if (routemetric3 != null) | private void storeSnmpCollection(Connection dbConn, Timestamp now) throws SQLException, UnknownHostException { Category log = ThreadCategory.getInstance(getClass()); Iterator ite = null; int nodeid = m_node.getNodeId(); if (m_snmpcoll.hasIpNetToMediaTable()) { ite = m_snmpcoll.getIpNetToMediaTable() .getEn... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/b4bf6a0df7f543f01a3f63a3e27856d626cd2f5e/DbEventWriter.java/clean/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbEventWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1707,
10461,
1291,
2532,
12,
1952,
30795,
16,
8159,
2037,
13,
1216,
6483,
16,
1082,
202,
4874,
29776,
288,
202,
202,
4457,
613,
273,
4884,
4457,
18,
588,
1442,
12,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1707,
10461,
1291,
2532,
12,
1952,
30795,
16,
8159,
2037,
13,
1216,
6483,
16,
1082,
202,
4874,
29776,
288,
202,
202,
4457,
613,
273,
4884,
4457,
18,
588,
1442,
12,
588,
... |
new ReportElementModel( container ) ); | container ); | public void testMoveRowCmd( ) { SlotHandle container = table.getDetail( ); assertEquals( secondRow, table.getDetail( ).get( 0 ) ); assertEquals( firstRow, table.getDetail( ).get( 1 ) ); FlowMoveChildCommand moveCmd = new FlowMoveChildCommand( firstRow, secondRow, new ReportElementModel( container ) ); moveC... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c482a9f8efd2fdc385ce5b00d2555fe77341a1b1/FlowMoveChildCmdTest.java/clean/UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/core/commands/FlowMoveChildCmdTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
7607,
1999,
5931,
12,
262,
202,
95,
202,
202,
8764,
3259,
1478,
273,
1014,
18,
588,
6109,
12,
11272,
202,
202,
11231,
8867,
12,
2205,
1999,
16,
1014,
18,
588,
6109,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
7607,
1999,
5931,
12,
262,
202,
95,
202,
202,
8764,
3259,
1478,
273,
1014,
18,
588,
6109,
12,
11272,
202,
202,
11231,
8867,
12,
2205,
1999,
16,
1014,
18,
588,
6109,... |
Column(Table table, MondrianDef.Expression expression, | Column(Table table, MondrianDef.Expression expression, | Column(Table table, MondrianDef.Expression expression, boolean isNumeric) { this.table = table; this.expression = expression; this.isNumeric = isNumeric; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/07361d134494edaf7e47eaedb40351c66d2a28b0/RolapStar.java/clean/src/main/mondrian/rolap/RolapStar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4753,
12,
1388,
1014,
16,
7734,
490,
1434,
566,
304,
3262,
18,
2300,
2652,
16,
7734,
1250,
26434,
13,
288,
5411,
333,
18,
2121,
273,
1014,
31,
5411,
333,
18,
8692,
273,
2652,
31,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4753,
12,
1388,
1014,
16,
7734,
490,
1434,
566,
304,
3262,
18,
2300,
2652,
16,
7734,
1250,
26434,
13,
288,
5411,
333,
18,
2121,
273,
1014,
31,
5411,
333,
18,
8692,
273,
2652,
31,
5411,
... |
Session session) | boolean blocking, Session session) | protected Channel(String profile, String number, MessageListener listener, Session session) { this.profile = profile; this.encoding = Constants.ENCODING_DEFAULT; this.number = number; this.listener = listener; this.session = session; sentSequence = 0... | 11902 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11902/ec0bb015b8710a43b12a0230262e65a59578ad13/Channel.java/buggy/src/org/beepcore/beep/core/Channel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5307,
12,
780,
3042,
16,
514,
1300,
16,
2350,
2223,
2991,
16,
8227,
1250,
9445,
16,
3877,
1339,
13,
565,
288,
3639,
333,
18,
5040,
273,
3042,
31,
3639,
333,
18,
5999,
273,
5245,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5307,
12,
780,
3042,
16,
514,
1300,
16,
2350,
2223,
2991,
16,
8227,
1250,
9445,
16,
3877,
1339,
13,
565,
288,
3639,
333,
18,
5040,
273,
3042,
31,
3639,
333,
18,
5999,
273,
5245,
... |
current_distance = -1; while ((token = tok.nextToken()) != null) { word = token.getText().toLowerCase(); if (current_distance > max_distance) { j = 0; term = patterns[j]; matcher = matchers[j]; current_distance = -1; continue; | String value; Pattern term; String word; TextToken token; NodeProxy current; ExtArrayNodeSet r = new ExtArrayNodeSet(100); Matcher matcher; Tokenizer tok = context.getBroker().getTextEngine().getTokenizer(); int j; int current_distance; for (Iterator i = result.iterator(); i.hasNext();) { current = (NodeProxy) i.next(... | private Sequence patternMatch(XQueryContext context, NodeSet result) { // generate list of search term patterns Pattern patterns[] = new Pattern[terms.length]; Matcher matchers[] = new Matcher[terms.length]; for (int i = 0; i < patterns.length; i++) try { patterns[i] = Pattern.compile(Glob... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/7c8f9589cff53ea564bc9598ccedabdf92533ff2/ExtNear.java/buggy/src/org/exist/xquery/functions/ExtNear.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
8370,
1936,
2060,
12,
60,
1138,
1042,
819,
16,
2029,
694,
563,
13,
288,
202,
759,
2103,
666,
434,
1623,
2481,
6884,
202,
3234,
6884,
8526,
273,
394,
6830,
63,
10112,
18,
2469,
155... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8370,
1936,
2060,
12,
60,
1138,
1042,
819,
16,
2029,
694,
563,
13,
288,
202,
759,
2103,
666,
434,
1623,
2481,
6884,
202,
3234,
6884,
8526,
273,
394,
6830,
63,
10112,
18,
2469,
155... |
public Object clone() { | public Object clone() throws CloneNotSupportedException { | public Object clone() { Object clone = null; try { clone = super.clone(); } catch (Exception exception) { logger.error("Could not clone DebugAtom: " + exception.getMessage(), exception); logger.debug(exception); } return clone; } | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/2b55a607674535cd8492e3539d8f3dce16fc3b92/DebugSetOfAtomContainers.java/buggy/src/org/openscience/cdk/debug/DebugSetOfAtomContainers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3236,
1435,
1216,
12758,
25482,
288,
3639,
1033,
3236,
273,
446,
31,
3639,
775,
288,
540,
202,
14056,
273,
2240,
18,
14056,
5621,
3639,
289,
1044,
261,
503,
1520,
13,
288,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
3236,
1435,
1216,
12758,
25482,
288,
3639,
1033,
3236,
273,
446,
31,
3639,
775,
288,
540,
202,
14056,
273,
2240,
18,
14056,
5621,
3639,
289,
1044,
261,
503,
1520,
13,
288,... |
public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { this.constant = Constant.NotAConstant; if (this.resolvedType != null) return this.resolvedType.isValidBinding() ? this.resolvedType : null; TypeBinding type = this.resolvedType = getTypeBinding(scope); if (this.resolvedType == null) return null; ... | public final TypeBinding resolveType(BlockScope blockScope) { return resolveType(blockScope, true /* checkbounds if any */); | public TypeBinding resolveType(BlockScope scope, boolean checkBounds) { // handle the error here this.constant = Constant.NotAConstant; if (this.resolvedType != null) // is a shared type reference which was already resolved return this.resolvedType.isValidBinding() ? this.resolvedType : null; // already reported error... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/16dca0cdbe17832dfb29f0072e09feca8f8a7af6/TypeReference.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TypeReference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1412,
5250,
2245,
559,
12,
1768,
3876,
2146,
16,
1250,
866,
5694,
13,
288,
202,
759,
1640,
326,
555,
2674,
202,
2211,
18,
14384,
273,
10551,
18,
1248,
37,
6902,
31,
202,
430,
261,
2211... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1412,
5250,
2245,
559,
12,
1768,
3876,
2146,
16,
1250,
866,
5694,
13,
288,
202,
759,
1640,
326,
555,
2674,
202,
2211,
18,
14384,
273,
10551,
18,
1248,
37,
6902,
31,
202,
430,
261,
2211... |
match(LITERAL_declare); if ( inputState.guessing==0 ) { name = "declare"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collation: | match(LITERAL_instance); if ( inputState.guessing==0 ) { name = "instance"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_of: | public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reservedKeywords_AST = null; name= null; switch ( LA(1)) { case LITERAL_element: { org.exist.xquery.parser.XQuer... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/969210006e6cb9fde8b28d06ed5a9eca60042541/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
225,
8735,
14149,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
202,
202,
780,
508,
31,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
225,
8735,
14149,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
202,
202,
780,
508,
31,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,... |
fDirList.addElement( result.trim() ); | fDirList.addElement( result ); changed = true; | private void addDirectory() { AddDirectoryDialog dialog = new AddDirectoryDialog( getShell() ); dialog.open(); String result = dialog.getValue(); if ( result != null && !contains( result ) ) { fDirList.addElement( result.trim() ); } } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/dae81c31ec4a2bd031b70ab874bd25820e786915/SolibSearchPathBlock.java/buggy/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/SolibSearchPathBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
2853,
1435,
288,
202,
202,
986,
2853,
6353,
6176,
273,
394,
1436,
2853,
6353,
12,
7932,
1165,
1435,
11272,
202,
202,
12730,
18,
3190,
5621,
202,
202,
780,
563,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2853,
1435,
288,
202,
202,
986,
2853,
6353,
6176,
273,
394,
1436,
2853,
6353,
12,
7932,
1165,
1435,
11272,
202,
202,
12730,
18,
3190,
5621,
202,
202,
780,
563,
273,
... |
public NodeComponent addNode(String name) { ExperimentNode result = new ExperimentNode(name, this); addNodeComponent(result); return result; | public NodeComponent addNode(String name) throws IllegalArgumentException { if(!nodeExists(name)) { ExperimentNode result = new ExperimentNode(name, this); addNodeComponent(result); return result; } else { throw new IllegalArgumentException("Node already exists"); } | public NodeComponent addNode(String name) { // FIXME! This allows 2 Nodes with the same name. Of itself, that's // OK, but on the same Host, that would be bad, and in general // its confusing. ExperimentNode result = new ExperimentNode(name, this); addNodeComponent(result); return result; } | 9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/609bc500b3e2ce535f356ab539e69101ef5a4ca6/Experiment.java/buggy/csmart/src/org/cougaar/tools/csmart/experiment/Experiment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
1841,
23063,
12,
780,
508,
13,
288,
565,
368,
9852,
5,
1220,
5360,
576,
14037,
598,
326,
1967,
508,
18,
8031,
6174,
16,
716,
1807,
565,
368,
7791,
16,
1496,
603,
326,
1967,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
1841,
23063,
12,
780,
508,
13,
288,
565,
368,
9852,
5,
1220,
5360,
576,
14037,
598,
326,
1967,
508,
18,
8031,
6174,
16,
716,
1807,
565,
368,
7791,
16,
1496,
603,
326,
1967,
... |
if (numParams > 1) { | if(numParams > 1){ | private void checkBody(PsiCodeBlock body) { final PsiStatement[] statements = body.getStatements(); if (statements == null) { return; } if (statements.length == 0) { return; } for (int i = 0; i < statements.length; i... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/2d46d291193579a7564649b4881c7ea8e02eda5b/UnconditionalWaitInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/threading/UnconditionalWaitInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
866,
2250,
12,
52,
7722,
1085,
1768,
1417,
13,
288,
5411,
727,
453,
7722,
3406,
8526,
6317,
273,
1417,
18,
588,
14663,
5621,
5411,
309,
261,
18393,
422,
446,
13,
288,
7734,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
866,
2250,
12,
52,
7722,
1085,
1768,
1417,
13,
288,
5411,
727,
453,
7722,
3406,
8526,
6317,
273,
1417,
18,
588,
14663,
5621,
5411,
309,
261,
18393,
422,
446,
13,
288,
7734,
3... |
String typeStr = ""; | List types = new ArrayList(); | public String getToken(String tokenSource, PlayerCharacter pc, ExportHandler eh) { String retString = ""; final StringTokenizer aTok = new StringTokenizer(tokenSource, "."); final String fString = aTok.nextToken(); if (cachedPC != pc || !fString.equals(lastMode)) { // Overridden by subclasses to return the righ... | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/ca0f22d05fea8451aadabb82adfc7a94c1b8b35b/FeatToken.java/clean/code/src/java/pcgen/io/exporttoken/FeatToken.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
9162,
12,
780,
1147,
1830,
16,
19185,
7069,
6125,
16,
11054,
1503,
20124,
13,
288,
202,
202,
780,
325,
780,
273,
1408,
31,
202,
202,
6385,
16370,
279,
20477,
273,
394,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
9162,
12,
780,
1147,
1830,
16,
19185,
7069,
6125,
16,
11054,
1503,
20124,
13,
288,
202,
202,
780,
325,
780,
273,
1408,
31,
202,
202,
6385,
16370,
279,
20477,
273,
394,
16... |
if (code[0] == current) { | if (renamingCode && (code[0] == current)) { | public void nameCode(String newName) { // make sure the user didn't hide the sketch folder ensureExistence(); // if renaming to the same thing as before, just ignore. // also ignoring case here, because i don't want to write // a bunch of special stuff for each platform // (osx is case insensitive b... | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/276c54a20be5737ba3ba86db36fcfbcf81828dd2/Sketch.java/buggy/app/Sketch.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
508,
1085,
12,
780,
13253,
13,
288,
565,
368,
1221,
3071,
326,
729,
10242,
1404,
6853,
326,
18534,
3009,
565,
3387,
4786,
802,
5621,
565,
368,
309,
30883,
358,
326,
1967,
7757,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
508,
1085,
12,
780,
13253,
13,
288,
565,
368,
1221,
3071,
326,
729,
10242,
1404,
6853,
326,
18534,
3009,
565,
3387,
4786,
802,
5621,
565,
368,
309,
30883,
358,
326,
1967,
7757,... |
filepath + ":18: line longer than 80 characters", filepath + ":19:25: line contains a tab character", | filepath + ":18: Line is longer than 80 characters.", filepath + ":19:25: Line contains a tab character.", | public void testSimple() throws Exception { mConfig.setIntProperty(Defn.MAX_FILE_LENGTH_PROP, 20) ; mConfig.setIntProperty(Defn.MAX_METHOD_LENGTH_PROP, 19) ; mConfig.setIntProperty(Defn.MAX_CONSTRUCTOR_LENGTH_PROP, 9) ; mConfig.setPatternProperty(Defn.PARAMETER_PATTERN_PROP, "^... | 50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/ff8f2276c5c188f57ede86bdb1ff1a055f069f91/CheckerTest.java/buggy/src/tests/com/puppycrawl/tools/checkstyle/CheckerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5784,
1435,
3639,
1216,
1185,
565,
288,
3639,
312,
809,
18,
542,
1702,
1396,
12,
3262,
82,
18,
6694,
67,
3776,
67,
7096,
67,
15811,
16,
4200,
13,
274,
3639,
312,
809,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
5784,
1435,
3639,
1216,
1185,
565,
288,
3639,
312,
809,
18,
542,
1702,
1396,
12,
3262,
82,
18,
6694,
67,
3776,
67,
7096,
67,
15811,
16,
4200,
13,
274,
3639,
312,
809,
... |
Phrase colTitle = new Phrase(contents, colHeadingFont); PdfPCell cell = new PdfPCell(colTitle); cell.setBorder(Rectangle.BOTTOM | Rectangle.TOP); cell.setBorderWidth(2); cell.setBackgroundColor(new Color(200, 200, 200)); cell.setHorizontalAlignment(Element.ALIGN_CENTER); table.addCell(cell); | private void addHeaderRow(ProfileManager pm, SQLTable sqlTable, PdfPTable table, BaseFont bf, float titleFSize, float colHeadingFSize, float[] widths) throws DocumentException, IOException, ArchitectException { int ncols =... | 53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/6f2165ada551535b4dbd5a9ee5964ef3e53a388c/ProfilePDFFormat.java/buggy/src/ca/sqlpower/architect/profile/ProfilePDFFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
13906,
1999,
12,
4029,
1318,
7430,
16,
3063,
1388,
1847,
1388,
16,
4766,
9989,
52,
1388,
1014,
16,
3360,
5711,
16222,
16,
1431,
2077,
42,
1225,
16,
27573,
1431,
645,
21867,
42,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13906,
1999,
12,
4029,
1318,
7430,
16,
3063,
1388,
1847,
1388,
16,
4766,
9989,
52,
1388,
1014,
16,
3360,
5711,
16222,
16,
1431,
2077,
42,
1225,
16,
27573,
1431,
645,
21867,
42,... | |
if ( resultCombo.isDisposed() || resultCombo == null ) return; | if ( resultCombo == null || resultCombo.isDisposed() ) return; | public void update( Observable o, Object arg ) { if ( resultCombo.isDisposed() || resultCombo == null ) return; resultCombo.getDisplay().asyncExec( new Runnable() { public void run() { if ( resultCombo.isDisposed() ) return; /* update the other text */ ... | 11075 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11075/3b34262f00b2a1c08156867d69bbc8fd49e1b97f/ComplexSearch.java/buggy/g2gui/src/net/mldonkey/g2gui/view/search/ComplexSearch.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
12,
4310,
320,
16,
1033,
1501,
262,
288,
377,
202,
430,
261,
563,
16156,
422,
446,
747,
563,
16156,
18,
291,
1669,
7423,
1435,
262,
327,
31,
3639,
202,
2088,
16156,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
12,
4310,
320,
16,
1033,
1501,
262,
288,
377,
202,
430,
261,
563,
16156,
422,
446,
747,
563,
16156,
18,
291,
1669,
7423,
1435,
262,
327,
31,
3639,
202,
2088,
16156,
18,... |
public boolean onBroughtToTop( IReportEditorPage prePage ) { if ( this.isMissingParameter( ) ) { if ( this.parameterDialog != null ) { this.parameterDialog.open( ); | public boolean onBroughtToTop(IReportEditorPage prePage) { if (this.isMissingParameter()) { if (this.parameterDialog != null) { this.parameterDialog.open(); | public boolean onBroughtToTop( IReportEditorPage prePage ) { if ( this.isMissingParameter( ) ) { if ( this.parameterDialog != null ) { this.parameterDialog.open( ); } return true; } if ( getEditorInput( ) != prePage.getEditorInput( ) ) { setInput( prePage.getEditorInput( ) ); } if ( prePage.isDirty... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/464f907d246180ca04c84336398722e6d5245566/ReportPreviewFormPage.java/buggy/UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
603,
38,
303,
9540,
774,
3401,
12,
467,
4820,
6946,
1964,
675,
1964,
262,
202,
95,
202,
202,
430,
261,
333,
18,
291,
4841,
1662,
12,
262,
262,
202,
202,
95,
1082,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
603,
38,
303,
9540,
774,
3401,
12,
467,
4820,
6946,
1964,
675,
1964,
262,
202,
95,
202,
202,
430,
261,
333,
18,
291,
4841,
1662,
12,
262,
262,
202,
202,
95,
1082,
202,... |
element = factory.createSOAPFaultDetail((SOAPFault) parent, null); | element = factory.createSOAPFaultDetail((SOAPFault) parent, builder); | public OMElement handleEvent(XMLStreamReader parser, OMElement parent, int elementLevel) throws SOAPProcessingException { this.parser = parser; OMElement element = null; if (elementLevel == 4) { if (parser.getLocalName().equals(SOAP12Constants.SOAP_FAULT_CODE_LOCAL_NAME)) { ... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/f86cd1127e92f0ae6c87997683ec0471f1808219/SOAP12BuilderHelper.java/buggy/modules/xml/src/org/apache/axis/soap/impl/llom/builder/SOAP12BuilderHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
531,
12310,
1640,
1133,
12,
4201,
31495,
2082,
16,
531,
12310,
982,
16,
509,
930,
2355,
13,
1216,
16434,
23684,
288,
3639,
333,
18,
4288,
273,
2082,
31,
3639,
531,
12310,
930,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
531,
12310,
1640,
1133,
12,
4201,
31495,
2082,
16,
531,
12310,
982,
16,
509,
930,
2355,
13,
1216,
16434,
23684,
288,
3639,
333,
18,
4288,
273,
2082,
31,
3639,
531,
12310,
930,
273,
... |
b.translate(thumbRect.width, 0); c.translate(thumbRect.width, turnPoint); d.translate(thumbRect.width / 2, thumbRect.height); | b.translate(thumbRect.width - 1, 0); c.translate(thumbRect.width - 1, turnPoint); d.translate(thumbRect.width / 2 - 1, thumbRect.height - 1); | public void paintThumb(Graphics g) { Color saved_color = g.getColor(); Polygon thumb = new Polygon(); Point a = new Point(thumbRect.x, thumbRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); Point e = new Point(a); Polygon bright; Polygon dark; Polygon all;... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicSliderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSliderUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
18922,
12,
17558,
314,
13,
225,
288,
565,
5563,
5198,
67,
3266,
273,
314,
18,
588,
2957,
5621,
565,
12681,
11156,
273,
394,
12681,
5621,
565,
4686,
279,
273,
394,
4686,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
12574,
18922,
12,
17558,
314,
13,
225,
288,
565,
5563,
5198,
67,
3266,
273,
314,
18,
588,
2957,
5621,
565,
12681,
11156,
273,
394,
12681,
5621,
565,
4686,
279,
273,
394,
4686,
... |
AST tmp2373_AST_in = (AST)_t; | AST tmp2374_AST_in = (AST)_t; | public final void sqlupdatestate(AST _t) throws RecognitionException { AST sqlupdatestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2406 = _t; AST tmp2366_AST_in = (AST)_t; match(_t,UPDATE); _t = _t.getFirstChild(); AST tmp2367_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); AST... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser03.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
416,
3404,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
416,
3404,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
416,
3404,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
416,
3404,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560... |
if (preciselyMatches(object)) { return true; } | if (preciselyMatches(object)) { return true; } | public boolean isEnabledFor(Object object) { if (object == null) { return false; } // Try out the object first. if (preciselyMatches(object)) { return true; } // Try out the underlying resource. Class reso... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5cfb5f88a049bbc9efcf0fade7d5687d0ec50ed3/ActionExpression.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
12047,
1290,
12,
921,
733,
13,
288,
5411,
309,
261,
1612,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
368,
6161,
596,
326,
733,
1122,
18,
5411,
309,
261,
4036,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
12047,
1290,
12,
921,
733,
13,
288,
5411,
309,
261,
1612,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
368,
6161,
596,
326,
733,
1122,
18,
5411,
309,
261,
4036,
... |
public void setLoggingLevel(int level); | void setLoggingLevel(int level); | public void setLoggingLevel(int level); | 7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/e9e1f2a50341cda60b0ff5863851aba2664974bc/LoggerController.java/clean/core/src/org/cougaar/util/log/LoggerController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
7735,
2355,
12,
474,
1801,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
7735,
2355,
12,
474,
1801,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Preference p_start, p_end,p_qty; | Preference p_start, p_end, p_qty; | private Task createRefillTask(Inventory inv, double refill_qty, long time) { Asset item = getInventoryAsset(inv); // create request task Vector prefs = new Vector(); Preference p_start, p_end,p_qty; long end_time = defaultRefillEndTime(time,inv); // long start_time = defaultRefillStartTime(time,in... | 7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/a7ff68e46c5f394c11380f3797c541d8a0ac59d4/InventoryManager.java/clean/glm/src/org/cougaar/glm/plugins/inventory/InventoryManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
3837,
752,
1957,
737,
2174,
12,
15059,
2198,
16,
1645,
1278,
737,
67,
85,
4098,
16,
1525,
813,
13,
288,
565,
10494,
761,
273,
7854,
7792,
6672,
12,
5768,
1769,
565,
368,
752,
590,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
3837,
752,
1957,
737,
2174,
12,
15059,
2198,
16,
1645,
1278,
737,
67,
85,
4098,
16,
1525,
813,
13,
288,
565,
10494,
761,
273,
7854,
7792,
6672,
12,
5768,
1769,
565,
368,
752,
590,... |
result.add(builder.getDocument().getNode(nodeNr)); | if (lastNodeNr != nodeNr) result.add(builder.getDocument().getNode(nodeNr)); lastNodeNr = nodeNr; | private final Sequence processText(MemTreeBuilder builder, Sequence nodes, int width, FunctionCall callback, FunctionCall resultCallback, Sequence extraArgs) throws XPathException { StringBuffer str = new StringBuffer(); NodeValue node; List offsets = null; NodeProxy firstPro... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/2a2926cc9f55c7317b6bda02a5b89b26e95f158e/KWICDisplay.java/buggy/src/org/exist/xquery/functions/text/KWICDisplay.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
8370,
1207,
1528,
12,
3545,
25060,
2089,
16,
8370,
2199,
16,
509,
1835,
16,
2398,
4284,
1477,
1348,
16,
4284,
1477,
563,
2428,
16,
8370,
2870,
2615,
13,
1216,
10172,
503,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
8370,
1207,
1528,
12,
3545,
25060,
2089,
16,
8370,
2199,
16,
509,
1835,
16,
2398,
4284,
1477,
1348,
16,
4284,
1477,
563,
2428,
16,
8370,
2870,
2615,
13,
1216,
10172,
503,
288,
... |
updatePanels( selection); | ILogEntry logEntry = getLogEntry(( IStructuredSelection) selection); if(logEntry!=currentLogEntry) { this.currentLogEntry = logEntry; updatePanels(selection); } | protected TableViewer createTableHistory(Composite parent) { historyTableProvider = new HistoryTableProvider(); tableHistoryViewer = historyTableProvider.createTable(parent); // set the content provider for the table tableHistoryViewer.setContentProvider(new IStructuredContentProvider() { public Object[] get... | 6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/61879c7229b821234deb2a026976cae5e23c2da5/HistoryView.java/clean/subclipse/ui/src/org/tigris/subversion/subclipse/ui/history/HistoryView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3555,
18415,
19565,
5623,
12,
9400,
982,
13,
288,
9506,
202,
8189,
1388,
2249,
273,
394,
16058,
1388,
2249,
5621,
202,
202,
2121,
5623,
18415,
273,
4927,
1388,
2249,
18,
2640,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3555,
18415,
19565,
5623,
12,
9400,
982,
13,
288,
9506,
202,
8189,
1388,
2249,
273,
394,
16058,
1388,
2249,
5621,
202,
202,
2121,
5623,
18415,
273,
4927,
1388,
2249,
18,
2640,
... |
Listener lsRepDisconnect = new Listener() { public void handleEvent(Event e) { closeRepository(); } }; | Listener lsRepConnect = new Listener() { public void handleEvent(Event e) { openRepository(); } }; | Listener lsRepDisconnect = new Listener() { public void handleEvent(Event e) { closeRepository(); } }; | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/4d59c127063ed31604a2153182c105bfb904cd30/Spoon.java/buggy/src/be/ibridge/kettle/spoon/Spoon.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
10652,
7180,
18933,
18895,
225,
273,
394,
10652,
1435,
288,
1071,
918,
1640,
1133,
12,
1133,
425,
13,
288,
1746,
3305,
5621,
282,
289,
289,
31,
2,
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,
0,
0,
0,
0,
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,
10652,
7180,
18933,
18895,
225,
273,
394,
10652,
1435,
288,
1071,
918,
1640,
1133,
12,
1133,
425,
13,
288,
1746,
3305,
5621,
282,
289,
289,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
int [] result = new int[101]; | int [] result = new int[100]; | private static int [] zzUnpackAction() { int [] result = new int[101]; int offset = 0; offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result); return result; } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/2c49ea79bb140b31bab3192831e0bd8a292164bc/_HtmlLexer.java/buggy/source/com/intellij/lexer/_HtmlLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
5378,
11273,
23649,
1803,
1435,
288,
565,
509,
5378,
563,
273,
394,
509,
63,
6625,
15533,
565,
509,
1384,
273,
374,
31,
565,
1384,
273,
11273,
23649,
1803,
12,
27096,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
5378,
11273,
23649,
1803,
1435,
288,
565,
509,
5378,
563,
273,
394,
509,
63,
6625,
15533,
565,
509,
1384,
273,
374,
31,
565,
1384,
273,
11273,
23649,
1803,
12,
27096,
67,
... |
null, null, Binding.SYSTEM); | null, null, Binding.SYSTEM, null); | public void testSchemeOverride() throws NotDefinedException { final Context context = contextManager.getContext("na"); context.define("name", "description", null); final Scheme parentScheme = bindingManager.getScheme("parent"); parentScheme.define("parent", "parent scheme", null); final Scheme childScheme = bindi... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/BindingInteractionsTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/BindingInteractionsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9321,
6618,
1435,
1216,
2288,
8116,
503,
288,
202,
202,
6385,
1772,
819,
273,
819,
1318,
18,
29120,
2932,
6582,
8863,
202,
202,
2472,
18,
11255,
2932,
529,
3113,
315,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9321,
6618,
1435,
1216,
2288,
8116,
503,
288,
202,
202,
6385,
1772,
819,
273,
819,
1318,
18,
29120,
2932,
6582,
8863,
202,
202,
2472,
18,
11255,
2932,
529,
3113,
315,... |
final IStatus finalReason = reason; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { ((IProgressMonitorWithBlocking) getProgressMonitor()) .setBlocked(finalReason); } }); } | final IStatus finalReason = reason; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { ((IProgressMonitorWithBlocking) getProgressMonitor()) .setBlocked(finalReason); } }); } | public void setBlocked(IStatus reason) { final IStatus finalReason = reason; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c30a8fc2e56623e2fffcac9a46c1a98e3ac6cd66/ProgressMonitorFocusJobDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressMonitorFocusJobDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
444,
23722,
12,
45,
1482,
3971,
13,
288,
7734,
727,
467,
1482,
727,
8385,
273,
3971,
31,
7734,
1086,
2771,
12,
2704,
10254,
1435,
288,
10792,
1748,
5397,
380,
261,
5836,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2398,
1071,
918,
444,
23722,
12,
45,
1482,
3971,
13,
288,
7734,
727,
467,
1482,
727,
8385,
273,
3971,
31,
7734,
1086,
2771,
12,
2704,
10254,
1435,
288,
10792,
1748,
5397,
380,
261,
5836,
17,
... |
String GP_URL = "http: | String GP_URL = host_address+":" + System.getProperty("GENEPATTERN_PORT") + "/gp"; | protected static File writeProvenanceFile(String outDirName, JobInfo jobInfo, ParameterInfo[] formalParameters, ParameterInfo[] actualParams){ try { File outDir = new File(outDirName); File f = new File(outDir, TASKLOG); BufferedWriter bw = new BufferedWriter(new FileWriter(f)); String line = null; int lineNum =... | 57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/f87acf3db668c47a24820bb49ad16d0c875cd9d8/GenePatternAnalysisTask.java/clean/src/org/genepattern/server/genepattern/GenePatternAnalysisTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
1387,
1045,
626,
15856,
812,
12,
780,
596,
28780,
16,
3956,
966,
1719,
966,
16,
5498,
966,
8526,
25739,
2402,
16,
5498,
966,
8526,
3214,
1370,
15329,
202,
202,
698,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1387,
1045,
626,
15856,
812,
12,
780,
596,
28780,
16,
3956,
966,
1719,
966,
16,
5498,
966,
8526,
25739,
2402,
16,
5498,
966,
8526,
3214,
1370,
15329,
202,
202,
698,
288,
... |
cmbPosition = new Combo(cmpGeneral, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBPosition = new GridData(GridData.FILL_BOTH); cmbPosition.setLayoutData(gdCMBPosition); cmbPosition.addSelectionListener(this); cmbPosition.setEnabled(bEnableUI); | cmbPosition = new Combo( cmpGeneral, SWT.DROP_DOWN | SWT.READ_ONLY ); GridData gdCMBPosition = new GridData( GridData.FILL_BOTH ); cmbPosition.setLayoutData( gdCMBPosition ); cmbPosition.addSelectionListener( this ); cmbPosition.setEnabled( bEnableUI ); | private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 0; flMain.marginWidth = 0; GridLayout glAttributes = new GridLayout(); glAttributes.horizontalSpacing = 5; glAttributes.verticalSpacing = 5; glAttributes.marginHeight = 7; glAttributes.marginWidth = 7; GridLayout glGe... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/500b4482b64451f75339ee5037485c3309647704/LabelAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
1435,
288,
202,
202,
8026,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
202,
202,
2242,
6376,
18,
10107,
2686,
273,
374,
31,
202,
202,
2242,
6376,
18,
10107,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3166,
7171,
1435,
288,
202,
202,
8026,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
202,
202,
2242,
6376,
18,
10107,
2686,
273,
374,
31,
202,
202,
2242,
6376,
18,
10107,... |
boolean seenNonWhiteSpace = false; | public static void lineToChunkList(Segment seg, Token tokens, SyntaxStyle[] styles, FontRenderContext fontRenderContext, TabExpander e, float wrapMargin, java.util.List out) { // SILLY: allow for anti-aliased characters' "fuzz" if(wrapMargin != 0.0f) wrapMargin += 2.0f; float x = 0.0f; float endX = 0.0f; bool... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/9de0d8cdcc6a3c406e9887a8a9d1f64b65afa979/ChunkCache.java/clean/org/gjt/sp/jedit/textarea/ChunkCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
19785,
5579,
682,
12,
4131,
2291,
16,
3155,
2430,
16,
202,
202,
8070,
2885,
8526,
5687,
16,
10063,
3420,
1042,
3512,
3420,
1042,
16,
202,
202,
5661,
12271,
264,
425,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
19785,
5579,
682,
12,
4131,
2291,
16,
3155,
2430,
16,
202,
202,
8070,
2885,
8526,
5687,
16,
10063,
3420,
1042,
3512,
3420,
1042,
16,
202,
202,
5661,
12271,
264,
425,
... | |
result = null; throw new TdsNotImplemented( "can't handle integer of type " | throw new TdsNotImplemented("Can't handle integer of type " | private Object getIntValue(int type) throws java.io.IOException, TdsException { Object result; int len; switch (type) { case SYBINTN: { len = comm.getByte(); break; } case SYBINT4: { ... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/82db06b5ace2496789b551dd8bd53aa218a17088/Tds.java/clean/src.old/main/com/internetcds/jdbc/tds/Tds.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8145,
620,
12,
474,
618,
13,
2398,
1216,
2252,
18,
1594,
18,
14106,
16,
399,
2377,
503,
565,
288,
3639,
1033,
563,
31,
3639,
509,
562,
31,
3639,
1620,
261,
723,
13,
288,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8145,
620,
12,
474,
618,
13,
2398,
1216,
2252,
18,
1594,
18,
14106,
16,
399,
2377,
503,
565,
288,
3639,
1033,
563,
31,
3639,
509,
562,
31,
3639,
1620,
261,
723,
13,
288,
5... |
public final javax.faces.event.FacesListener[] listLoadListeners() { return getFacesListeners(org.rcfaces.core.event.ILoadListener.class); } | public final javax.faces.event.FacesListener [] listLoadListeners() { return getFacesListeners(org.rcfaces.core.event.ILoadListener.class); } | public final javax.faces.event.FacesListener[] listLoadListeners() { return getFacesListeners(org.rcfaces.core.event.ILoadListener.class); } | 6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/CardComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/CardComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
6863,
18,
4601,
18,
2575,
18,
17268,
2223,
8526,
666,
2563,
5583,
1435,
288,
3639,
327,
2812,
2307,
5583,
12,
3341,
18,
1310,
4601,
18,
3644,
18,
2575,
18,
45,
2563,
2223,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
6863,
18,
4601,
18,
2575,
18,
17268,
2223,
8526,
666,
2563,
5583,
1435,
288,
3639,
327,
2812,
2307,
5583,
12,
3341,
18,
1310,
4601,
18,
3644,
18,
2575,
18,
45,
2563,
2223,
18... |
graphics.setFont(m_cachedFont); | graphics.setFont(s_cachedFont); | private static void setFont(Graphics graphics, int fieldSize) { if (m_cachedFont != null && m_cachedFontFieldSize == fieldSize) { graphics.setFont(m_cachedFont); return; } Font font = UIManager.getFont("Label.font"); if (font != null) { F... | 48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/62ec409c99a6a9e32f06d012360ebb98d383e69d/GuiField.java/clean/src/net/sf/gogui/gui/GuiField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
20454,
12,
17558,
17313,
16,
509,
652,
1225,
13,
565,
288,
3639,
309,
261,
81,
67,
7097,
5711,
480,
446,
597,
312,
67,
7097,
5711,
974,
1225,
422,
652,
1225,
13,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
20454,
12,
17558,
17313,
16,
509,
652,
1225,
13,
565,
288,
3639,
309,
261,
81,
67,
7097,
5711,
480,
446,
597,
312,
67,
7097,
5711,
974,
1225,
422,
652,
1225,
13,
3639,
... |
checkSessionData(info, test, false, 1, true); | private void runSignatureTest() { /**These test ignore header matching, and thus can deal with * all the test signatures*/ /**Setup*/ List<IDSRuleSignature> signatures = new LinkedList<IDSRuleSignature>(); for(IDSRuleHeader header : rules.getHeaders()) for(IDSRuleSignature sig : header.getSignatures()) si... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/4d2f5444457facd99a330f153de2edf232ceac26/IDSTest.java/buggy/tran/ids/main/com/metavize/tran/ids/IDSTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1086,
5374,
4709,
1435,
288,
202,
202,
26873,
29690,
1842,
2305,
1446,
3607,
16,
471,
12493,
848,
10490,
598,
1082,
380,
777,
326,
1842,
14862,
5549,
9506,
202,
26873,
7365,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
5374,
4709,
1435,
288,
202,
202,
26873,
29690,
1842,
2305,
1446,
3607,
16,
471,
12493,
848,
10490,
598,
1082,
380,
777,
326,
1842,
14862,
5549,
9506,
202,
26873,
7365,... | |
BorderLayout(int hgap, int vgap) | BorderLayout() | BorderLayout(int hgap, int vgap){ this.hgap = hgap; this.vgap = vgap;} | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/3fe1c14284ce32b79d0e66441aec6a45a77ff684/BorderLayout.java/buggy/libjava/java/awt/BorderLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
30814,
12,
474,
366,
14048,
16,
509,
331,
14048,
15329,
225,
333,
18,
76,
14048,
273,
366,
14048,
31,
225,
333,
18,
90,
14048,
273,
331,
14048,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
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,
30814,
12,
474,
366,
14048,
16,
509,
331,
14048,
15329,
225,
333,
18,
76,
14048,
273,
366,
14048,
31,
225,
333,
18,
90,
14048,
273,
331,
14048,
31,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,... |
fValue.setValue(value != null ? value.toString() : ""); | fValue.setValue(value != null ? value.toString() : "", true); | public void updateFields() { if (fAttribute == null) return; String curr = fAttribute.getName(); fName.setValue(curr != null ? curr : ""); //$NON-NLS-1$ fDeprecated.select(fAttribute.isDeprecated() ? 0 : 1); fTranslatable.select(fAttribute.isTranslatable() ? 0 : 1); boolean isStringType = fAttribute.getTyp... | 8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/68c688b827eefb4f1b6bd71d5c1e862e0e06ef83/SchemaAttributeDetails.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/schema/SchemaAttributeDetails.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
2314,
1435,
288,
202,
202,
430,
261,
74,
1499,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
780,
4306,
273,
284,
1499,
18,
17994,
5621,
202,
202,
74,
461,
18,
542... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
2314,
1435,
288,
202,
202,
430,
261,
74,
1499,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
780,
4306,
273,
284,
1499,
18,
17994,
5621,
202,
202,
74,
461,
18,
542... |
decls = tu.getDeclarations(name_x2.resolveBinding()); assertEquals( decls.length, 1 ); assertEquals( decls[0], name_x1 ); } | IASTSimpleDeclaration simpleDecl = (IASTSimpleDeclaration) tu .getDeclarations()[0]; IASTCompositeTypeSpecifier compType = (IASTCompositeTypeSpecifier) simpleDecl .getDeclSpecifier(); IASTSimpleDeclaration decl_x = (IASTSimpleDeclaration) compType .getMembers()[0]; IASTName name_x1 = decl_x.getDeclarators()[0].getName(... | public void testExpressionFieldReference() throws Exception{ StringBuffer buffer = new StringBuffer(); buffer.append( "struct A { int x; }; \n"); //$NON-NLS-1$ buffer.append( "void f(){ \n"); //$NON-NLS-1$ buffer.append( " ((struct A *) 1)->x; \n"); //$NON-NLS-1$ buffer.append... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a1776b31512ed659229f125097f603f16a18be82/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2300,
974,
2404,
1435,
1216,
1185,
95,
377,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
377,
202,
4106,
18,
6923,
12,
315,
1697,
432,
288,
509,
619,
31,
289,
31,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
2300,
974,
2404,
1435,
1216,
1185,
95,
377,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
377,
202,
4106,
18,
6923,
12,
315,
1697,
432,
288,
509,
619,
31,
289,
31,
565,
... |
item.setText( "<<" ); | item.setImage( UIHelper.getImage( "icons/obj16/arrow.gif" ) ); | private ToolBar createCloseButton( Composite parent ) { ToolBar toolBar = new ToolBar( parent, SWT.FLAT | SWT.NO_FOCUS ); toolBar.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_CENTER ) ); final Cursor cursor = new Cursor( parent.getDisplay( ), SWT.CURSOR_HAND ); toolBar.setCursor( cursor ); toolBar.addDi... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/51342f37efb819d66eb6bfa56ebaba4fb7f4fa8b/AbstractPopupSheet.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/AbstractPopupSheet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
13288,
5190,
752,
4605,
3616,
12,
14728,
982,
262,
202,
95,
202,
202,
6364,
5190,
5226,
5190,
273,
394,
13288,
5190,
12,
982,
16,
348,
8588,
18,
42,
12190,
571,
348,
8588,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13288,
5190,
752,
4605,
3616,
12,
14728,
982,
262,
202,
95,
202,
202,
6364,
5190,
5226,
5190,
273,
394,
13288,
5190,
12,
982,
16,
348,
8588,
18,
42,
12190,
571,
348,
8588,
18... |
} catch (IllegalAccessException iaExcptn) { } catch (IllegalArgumentException iaExcptn) { } catch (InvocationTargetException itExcptn) { | } catch (IllegalAccessException ex) { throw new RaiseException(ruby, "RuntimeError", ex.getMessage()); } catch (IllegalArgumentException ex) { throw new RaiseException(ruby, "RuntimeError", ex.getMessage()); } catch (InvocationTargetException ex) { throw new RaiseException(ruby, "RuntimeError", ex.getMessage()); | public RubyObject execute(RubyObject recv, RubyObject[] args, Ruby ruby) { LinkedList executeMethods = new LinkedList(Arrays.asList(methods)); int argsLength = args != null ? args.length : 0; // remove mehods with wrong parameter count. Iterator iter = executeMethods.iter... | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/0a7181933af700ea8025a4197f3a5ebcc08333c3/JavaMethod.java/clean/org/jruby/javasupport/JavaMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
10665,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
3639,
10688,
1836,
4712,
273,
394,
10688,
12,
12726,
18,
345,
682,
12,
5163,
10019... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
921,
1836,
12,
54,
10340,
921,
10665,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
3639,
10688,
1836,
4712,
273,
394,
10688,
12,
12726,
18,
345,
682,
12,
5163,
10019... |
IResource resource = (IResource) ((IAdaptable) element).getAdapter(IResource.class); return TasksUiPlugin.getDefault().getRepositoryForResource(resource, true); | IAdaptable adaptable = (IAdaptable) element; IResource resource = (IResource) adaptable.getAdapter(IResource.class); if(resource!=null) { return TasksUiPlugin.getDefault().getRepositoryForResource(resource, true); } else { ITask task = (ITask) adaptable.getAdapter(ITask.class); if(task instanceof AbstractRepositoryTask... | protected TaskRepository getSelectedRepository() { IStructuredSelection selection = getSelection(); if (selection == null) { return (TaskRepository) viewer.getElementAt(0); } Object element = selection.getFirstElement(); if (element instanceof AbstractRepositoryQuery) { AbstractRepositoryQuery query = (Abstra... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b43f749bb254b908528b6fa418964929c79c7ba4/SelectRepositoryPage.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/SelectRepositoryPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3837,
3305,
16625,
3305,
1435,
288,
202,
202,
45,
30733,
6233,
4421,
273,
23204,
5621,
202,
202,
430,
261,
10705,
422,
446,
13,
288,
1082,
202,
2463,
261,
2174,
3305,
13,
14157... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3837,
3305,
16625,
3305,
1435,
288,
202,
202,
45,
30733,
6233,
4421,
273,
23204,
5621,
202,
202,
430,
261,
10705,
422,
446,
13,
288,
1082,
202,
2463,
261,
2174,
3305,
13,
14157... |
doSetLocationsExposure(entity, game.board.getHex(curPos), game.board.getHex(curPos).surface() <= entity.getElevation(), false); | doSetLocationsExposure(entity, game.getBoard().getHex(curPos), game.getBoard().getHex(curPos).surface() <= entity.getElevation(), false); | private void processMovement(Entity entity, MovePath md) { // check for fleeing if (md.contains(MovePath.STEP_FLEE)) { // Unit has fled the battlefield. phaseReport.append("\n" ).append( entity.getDisplayName() ).append( " flees the battlefield.\n"); // Is t... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/db64c0778bbea1399999fd25b589d242f8842761/Server.java/clean/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
49,
26140,
12,
1943,
1522,
16,
9933,
743,
3481,
13,
288,
3639,
368,
866,
364,
284,
11182,
310,
3639,
309,
261,
1264,
18,
12298,
12,
7607,
743,
18,
26951,
67,
42,
900,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
49,
26140,
12,
1943,
1522,
16,
9933,
743,
3481,
13,
288,
3639,
368,
866,
364,
284,
11182,
310,
3639,
309,
261,
1264,
18,
12298,
12,
7607,
743,
18,
26951,
67,
42,
900,
... |
if (RDEBUG && (debuglevel > 6)) System.out.println("PT"+r+"="+intToString(t0)+intToString(t1)+intToString(t2)+intToString(t3)); | if (RDEBUG && (debuglevel > 6)) System.out.println("PT"+r+ '=' +intToString(t0)+intToString(t1)+intToString(t2)+intToString(t3)); | blockDecrypt (byte[] in, byte[] result, int inOffset, Object sessionKey) {if (RDEBUG) trace(IN, "blockDecrypt("+in+", "+inOffset+", "+sessionKey+")"); int[][] Kd = (int[][]) ((Object[]) sessionKey)[1]; // extract decryption round keys int ROUNDS = Kd.length - 1; int[] Kdr = Kd[0]; // cip... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/Rijndael_Algorithm.java/buggy/src/freenet/crypt/ciphers/Rijndael_Algorithm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1203,
17306,
261,
7229,
8526,
316,
16,
1160,
8526,
563,
16,
509,
316,
2335,
16,
1033,
26864,
13,
288,
430,
261,
54,
9394,
13,
2606,
12,
706,
16,
315,
2629,
17306,
2932,
15,
267,
15,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1203,
17306,
261,
7229,
8526,
316,
16,
1160,
8526,
563,
16,
509,
316,
2335,
16,
1033,
26864,
13,
288,
430,
261,
54,
9394,
13,
2606,
12,
706,
16,
315,
2629,
17306,
2932,
15,
267,
15,
3... |
List<FeeBO> feeList = new FeeBusinessService().retrieveCustomerFeesByCategaroyType(FeeCategory.ALLCUSTOMERS); | new FeeBusinessService().retrieveCustomerFeesByCategaroyType(FeeCategory.ALLCUSTOMERS); | public void testRetrieveCustomerFeesByCategaroyTypeFailure()throws Exception{ TestObjectFactory.simulateInvalidConnection(); try{ List<FeeBO> feeList = new FeeBusinessService().retrieveCustomerFeesByCategaroyType(FeeCategory.ALLCUSTOMERS); fail(); } catch (ServiceException e) { assertTrue(true); } } | 45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/3e95bdaaa670d73603d0a72966a08f40c9cb2bd0/TestFeeBusinessService.java/buggy/mifos/test/org/mifos/application/fees/business/service/TestFeeBusinessService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5767,
8883,
2954,
281,
858,
39,
1287,
297,
13372,
559,
5247,
1435,
15069,
1185,
95,
202,
202,
4709,
921,
1733,
18,
9812,
6243,
1941,
1952,
5621,
202,
202,
698,
95,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5767,
8883,
2954,
281,
858,
39,
1287,
297,
13372,
559,
5247,
1435,
15069,
1185,
95,
202,
202,
4709,
921,
1733,
18,
9812,
6243,
1941,
1952,
5621,
202,
202,
698,
95,
... |
new ToolReference(this, configElement); | ToolReference ref = new ToolReference(this, configElement); ref.resolveReferences(); | public void reset(IConfigurationElement element) { // I just need to reset the tool references getLocalToolReferences().clear(); IConfigurationElement[] configElements = element.getChildren(); for (int l = 0; l < configElements.length; ++l) { IConfigurationElement configElement = configElements[l]; if (configE... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/fbf82be3cd92083961a50ede8f5acc5b373d3038/Configuration.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Configuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2715,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
759,
467,
2537,
1608,
358,
2715,
326,
5226,
5351,
202,
202,
588,
2042,
6364,
8221,
7675,
8507,
5621,
202,
202,
45,
1750,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2715,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
759,
467,
2537,
1608,
358,
2715,
326,
5226,
5351,
202,
202,
588,
2042,
6364,
8221,
7675,
8507,
5621,
202,
202,
45,
1750,... |
public void insert_boolean(boolean value) { | public void insert_boolean(boolean value) { | public void insert_boolean(boolean value) { org.omg.CORBA.portable.OutputStream output = create_output_stream(); output.write_boolean(value); read_value(null, TypeCode.BOOLEAN); } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/Any.java/clean/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/Any.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2243,
67,
6494,
12,
6494,
460,
13,
288,
3639,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4632,
876,
273,
752,
67,
2844,
67,
3256,
5621,
3639,
876,
18,
2626,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2243,
67,
6494,
12,
6494,
460,
13,
288,
3639,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4632,
876,
273,
752,
67,
2844,
67,
3256,
5621,
3639,
876,
18,
2626,
67,
... |
client = new Socket("sleon.dyndns.org", 12345); PrintStream output = new PrintStream(client.getOutputStream()); output.println(node.getStatus()); output.close(); client.close(); | if ( node != null) { client = new Socket("sleon.dyndns.org", 23415); PrintStream output = new PrintStream(client.getOutputStream()); output.println(node.getStatus()); output.close(); client.close(); } | public void run() { // Set up client socket try { //thread loop while(true){ client = new Socket("sleon.dyndns.org", 12345); PrintStream output = new PrintStream(client.getOutputStream()); output.println(node.getStatus()); output.close(); client.close(); try{ Thread.sleep(updateInterval... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/4bc2d2c077b2fc6775fc426a18e5ef21f3cf8f8b/TestnetStatusUploader.java/buggy/src/freenet/node/TestnetStatusUploader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
759,
1000,
731,
1004,
2987,
202,
202,
698,
202,
202,
95,
1082,
202,
759,
5930,
2798,
25083,
202,
17523,
12,
3767,
15329,
9506,
202,
2625,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
1435,
288,
202,
202,
759,
1000,
731,
1004,
2987,
202,
202,
698,
202,
202,
95,
1082,
202,
759,
5930,
2798,
25083,
202,
17523,
12,
3767,
15329,
9506,
202,
2625,
273,
... |
try { msg = getMessageInternal(key, args); } catch (Exception e) { log.warn("Error while getting message with key " + key, e); } | try { msg = getMessageInternal(key, args); } catch (Exception e) { log.warn("Error while getting message with key '" + key + "'", e); } | public final String getMessage(String key, Object... args) { if (key == null) { throw new NullArgumentException("key"); } String msg = null; try { msg = getMessageInternal(key, args); } catch (Exception e) { log.warn("Error while getting message wi... | 8463 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8463/1a2bcdf356a457b6a1e42e3daf29f5e28ea893bd/AbstractMessageRegister.java/buggy/leto/modules/core/src/main/java/org/eu/leto/core/AbstractMessageRegister.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
514,
2381,
12,
780,
498,
16,
1033,
2777,
833,
13,
288,
3639,
309,
261,
856,
422,
446,
13,
288,
5411,
604,
394,
4112,
1878,
2932,
856,
8863,
3639,
289,
3639,
514,
1234,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
514,
2381,
12,
780,
498,
16,
1033,
2777,
833,
13,
288,
3639,
309,
261,
856,
422,
446,
13,
288,
5411,
604,
394,
4112,
1878,
2932,
856,
8863,
3639,
289,
3639,
514,
1234,
273,
... |
final PsiImportStatement[] importStatements = importList.getImportStatements(); | if(importList == null){ return; } final PsiImportStatement[] importStatements = importList.getImportStatements(); | public void visitClass(@NotNull PsiClass aClass) { // no call to super, so it doesn't drill down if (!(aClass.getParent() instanceof PsiJavaFile)) { return; } if(aClass.getContainingFile() instanceof JspFile){ return; } ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/d6e7604c0e820eb6080db33dc4f7b731664f07e9/SingleClassImportInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/imports/SingleClassImportInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
797,
26964,
5962,
453,
7722,
797,
20148,
13,
288,
5411,
368,
1158,
745,
358,
2240,
16,
1427,
518,
3302,
1404,
5081,
737,
2588,
5411,
309,
16051,
12,
69,
797,
18,
588,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
797,
26964,
5962,
453,
7722,
797,
20148,
13,
288,
5411,
368,
1158,
745,
358,
2240,
16,
1427,
518,
3302,
1404,
5081,
737,
2588,
5411,
309,
16051,
12,
69,
797,
18,
588,
3... |
this.declarations = new HashSet(declarations); | this.declarations = new HashSet<String>(declarations); | DeclarationVisitor(Set declarations){ super(); this.declarations = new HashSet(declarations); } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/e4329a48065fe37b7b5d3d9883a02a38ec8f42fa/MergeParallelIfsPredicate.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/trivialif/MergeParallelIfsPredicate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
16110,
4302,
7413,
12,
694,
12312,
15329,
5411,
2240,
5621,
5411,
333,
18,
8840,
9642,
273,
394,
6847,
32,
780,
34,
12,
8840,
9642,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
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,
16110,
4302,
7413,
12,
694,
12312,
15329,
5411,
2240,
5621,
5411,
333,
18,
8840,
9642,
273,
394,
6847,
32,
780,
34,
12,
8840,
9642,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,... |
} | } | public static String jsFunction_substring(Context cx, Scriptable thisObj, Object[] args, Function funObj) { if (args.length < 1) args = ScriptRuntime.padArguments(args, 1); String target = ScriptRuntime.toString(thisObj); int length = t... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeString.java/clean/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
28023,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
2868,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
309,
261,
1968,
18,
2469,
411,
404,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
28023,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
2868,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
309,
261,
1968,
18,
2469,
411,
404,
1... |
/* package */ ShellPool getDetachedWindowPool() { return detachedWindowShells; } | /* package */ShellPool getDetachedWindowPool() { return detachedWindowShells; } | /* package */ ShellPool getDetachedWindowPool() { return detachedWindowShells; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1748,
2181,
1195,
19433,
2864,
2343,
278,
2004,
3829,
2864,
1435,
288,
3639,
327,
22037,
3829,
13220,
87,
31,
565,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1748,
2181,
1195,
19433,
2864,
2343,
278,
2004,
3829,
2864,
1435,
288,
3639,
327,
22037,
3829,
13220,
87,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
log.debug("Communications error, closing connection: ", e); close(); | /** * http: */ if (!"A non-blocking socket operation could not be completed immediately".equals(e.getMessage())) { log.warn("Communications error, closing connection: ", e); close(); } | private void serviceWrite() { log.trace("serviceWrite() triggered " + selectionKey); try { if (sendBuffer == null) { log.trace("Write had allready been serviced."); return; } long count = socketChannel.write(sendBuffer); log.tra... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/f4695c894e279088fd34f5a71ae38bbc66507868/SocketProtocol.java/clean/modules/network/src/java/org/apache/geronimo/network/protocol/SocketProtocol.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1156,
3067,
1435,
288,
3639,
613,
18,
5129,
2932,
3278,
3067,
1435,
10861,
315,
397,
4421,
653,
1769,
3639,
775,
288,
5411,
309,
261,
4661,
1892,
422,
446,
13,
288,
7734,
613,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1156,
3067,
1435,
288,
3639,
613,
18,
5129,
2932,
3278,
3067,
1435,
10861,
315,
397,
4421,
653,
1769,
3639,
775,
288,
5411,
309,
261,
4661,
1892,
422,
446,
13,
288,
7734,
613,
... |
int nc = DataTools.bytesToInt(xmlChunk, 1, 4, littleEndian); String xml = new String(xmlChunk, 5, nc*2); xml = DataTools.stripString(xml); | int nc = in.readInt(); byte[] s = new byte[nc * 2]; in.read(s); String xml = DataTools.stripString(new String(s)); | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); offsets = new Vector(); in = new RandomAccessFile(id, "r"); littleEndian = true; // read the header byte[] header = new byte[8]; in.read(header); if ((header[0] != 0x70) && (header[3] != 0x70)) { ... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/2df09d33bfdc966378aae0cc09cb503afb983bc2/LIFReader.java/clean/loci/formats/in/LIFReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8738,
273,
394,
5589,
5621,
565,
316,
273,
394,
8072,
26933,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8738,
273,
394,
5589,
5621,
565,
316,
273,
394,
8072,
26933,
12,
... |
StringBuffer strBuf = new StringBuffer(s); char sub = strBuf.charAt(strBuf.length()-3); if (sub == '+' || sub == '-') { strBuf.setLength(strBuf.length()-3); if (subsecond) { strBuf = strBuf.append('0').append("GMT").append(s.substring(s.length()-3, s.length())).append(":00"); } else { strBuf = strBuf.append("GMT... | public Timestamp getTimestamp(int columnIndex) throws SQLException { String s = getString(columnIndex); if(s==null) return null; // This works, but it's commented out because Michael Stephenson's // solution is better still: //SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");// Mo... | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/475c1452b1f8f52a791fcea40be4b7f971afefeb/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
6674,
609,
5503,
273,
394,
6674,
12,
87,
1769,
1149,
720,
273,
609,
5503,
18,
3001,
861,
12,
701,
5503,
18,
2469,
1435,
17,
23,
1769,
309,
261,
1717,
422,
10058,
747,
720,
422,
4014,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4202,
6674,
609,
5503,
273,
394,
6674,
12,
87,
1769,
1149,
720,
273,
609,
5503,
18,
3001,
861,
12,
701,
5503,
18,
2469,
1435,
17,
23,
1769,
309,
261,
1717,
422,
10058,
747,
720,
422,
4014,
... | |
super(); } | super(); } | protected RatioImpl() { super(); } | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/RatioImpl.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation/src/org/eclipse/gmf/runtime/notation/impl/RatioImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
534,
4197,
2828,
1435,
288,
202,
202,
9565,
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,... | [
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
534,
4197,
2828,
1435,
288,
202,
202,
9565,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
lowPane.add(animate, cc.xyw(10,6,3, "right,center")); | lowPane.add(animate, cc.xy(10,6, "right,center")); | public CustomWindow(LociDataBrowser db, ImagePlus imp, ImageCanvas canvas) { super(imp, canvas); this.db = db; ow = null; String title = imp.getTitle(); this.setTitle(title.substring(title.lastIndexOf(File.separatorChar) + 1)); //setup which variables the sliders are set to zMap = 0; tMap = 1;... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/10b7736cc57ec6d68a6821b26159769bff1e9cb4/CustomWindow.java/buggy/loci/plugins/browser/CustomWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6082,
3829,
12,
1333,
77,
751,
9132,
1319,
16,
3421,
13207,
1646,
16,
3421,
12971,
5953,
13,
288,
565,
2240,
12,
14532,
16,
5953,
1769,
565,
333,
18,
1966,
273,
1319,
31,
565,
252... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6082,
3829,
12,
1333,
77,
751,
9132,
1319,
16,
3421,
13207,
1646,
16,
3421,
12971,
5953,
13,
288,
565,
2240,
12,
14532,
16,
5953,
1769,
565,
333,
18,
1966,
273,
1319,
31,
565,
252... |
+ ") cannot be found "); | + ") cannot be found "); | public static synchronized RecordFormat getRecordFormat(final String recordDescriptor, final AS400 as400) throws Exception { log.debug("Record descriptor :" + recordDescriptor); if (recordDescriptor == null) { throw new Exception("Failed to read record descriptor : recordDe... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/787c2bcf9b47b232da7f6830d56817afa1981582/DQMessageUtils.java/buggy/transports/dq/src/main/java/org/mule/providers/dq/DQMessageUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3852,
5059,
1630,
11674,
1630,
12,
6385,
514,
1409,
3187,
16,
727,
5355,
16010,
487,
16010,
13,
3639,
1216,
1185,
565,
288,
3639,
613,
18,
4148,
2932,
2115,
4950,
20514,
397,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
5059,
1630,
11674,
1630,
12,
6385,
514,
1409,
3187,
16,
727,
5355,
16010,
487,
16010,
13,
3639,
1216,
1185,
565,
288,
3639,
613,
18,
4148,
2932,
2115,
4950,
20514,
397,
1... |
protected abstract void newSessionRequest( ArgonAgent agent, Iterator iter ); | protected abstract void newSessionRequest( ArgonAgent agent, Iterator iter, byte originalServerIntf ); | protected abstract void newSessionRequest( ArgonAgent agent, Iterator iter ); | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/71e0a0724f5136fd8522326c36b34c28c777fab1/ArgonHook.java/clean/mvvm/main/com/metavize/mvvm/argon/ArgonHook.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8770,
918,
394,
2157,
691,
12,
14448,
265,
3630,
4040,
16,
4498,
1400,
11272,
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,
... | [
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8770,
918,
394,
2157,
691,
12,
14448,
265,
3630,
4040,
16,
4498,
1400,
11272,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
fnCurrent = (OptFunctionNode)scriptOrFn; | fnCurrent = OptFunctionNode.get(scriptOrFn); | private void initBodyGeneration() { if (scriptOrFn.getType() == Token.FUNCTION) { fnCurrent = (OptFunctionNode)scriptOrFn; } else { fnCurrent = null; } isTopLevel = (scriptOrFn == codegen.scriptOrFnNodes[0]); inDirectCallFunction = (fnCurrent == null) ? fa... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/44e703307d6af6943b0437e6eaccbe2ac2521f18/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
2250,
13842,
1435,
565,
288,
3639,
309,
261,
4263,
1162,
5372,
18,
588,
559,
1435,
422,
3155,
18,
7788,
13,
288,
5411,
2295,
3935,
273,
12056,
2083,
907,
18,
588,
12,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2250,
13842,
1435,
565,
288,
3639,
309,
261,
4263,
1162,
5372,
18,
588,
559,
1435,
422,
3155,
18,
7788,
13,
288,
5411,
2295,
3935,
273,
12056,
2083,
907,
18,
588,
12,
4... |
body.statements().add(invocation); | bodyStatement= ASTNodes.asFormattedString(invocation, 0, delimiter); | public static MethodDeclaration createConstructorStub(ICompilationUnit unit, ASTRewrite rewrite, ImportRewrite imports, ITypeBinding typeBinding, AST ast, IMethodBinding superConstructor, IVariableBinding[] variableBindings, int modifiers, CodeGenerationSettings settings) throws CoreException { MethodDeclaration decl... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/2c22b4c6729dc4c4e471cce396beda825ae73521/StubUtility2.java/buggy/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
2985,
6094,
752,
6293,
11974,
12,
45,
19184,
2802,
2836,
16,
432,
3902,
12341,
10738,
16,
6164,
19618,
10095,
16,
467,
559,
5250,
618,
5250,
16,
9183,
3364,
16,
467,
1305,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2985,
6094,
752,
6293,
11974,
12,
45,
19184,
2802,
2836,
16,
432,
3902,
12341,
10738,
16,
6164,
19618,
10095,
16,
467,
559,
5250,
618,
5250,
16,
9183,
3364,
16,
467,
1305,
... |
private float flushLines() throws DocumentException { // checks if the ArrayList with the lines is not null if (lines == null) { return 0; } //add by Jin-Hsia Yang boolean newline=false; //end add by Jin-Hsia Yang // checks if a new... | 3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/ea669bc59eb2389cb630e339cea1333f49bb0550/PdfDocument.java/clean/itext/src/com/lowagie/text/pdf/PdfDocument.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1431,
3663,
5763,
1435,
1216,
4319,
503,
288,
7734,
368,
4271,
309,
326,
2407,
598,
326,
2362,
353,
486,
446,
3639,
309,
261,
3548,
422,
446,
13,
288,
5411,
327,
374,
31,
3639,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1431,
3663,
5763,
1435,
1216,
4319,
503,
288,
7734,
368,
4271,
309,
326,
2407,
598,
326,
2362,
353,
486,
446,
3639,
309,
261,
3548,
422,
446,
13,
288,
5411,
327,
374,
31,
3639,
28... | ||
setBounds((Bounds)newValue); | setBounds((Bounds) newValue); | public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case LayoutPackage.LEGEND__CHILDREN: getChildren().clear(); getChildren().addAll((Collection)newValue); return; case L... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LegendImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LegendImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
9995,
2261,
18,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
9995,
2261,
18,
1... |
public ActionForward showEmployeeList(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixServiceException, FenixFilterException { final IUserView userView = SessionUtils.getUserView(request); YearMonth yearMonth = null; ... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/98632edf46ebc34ecb51655d6a37d8b3f3ac520c/AssiduousnessResponsibleDispatchAction.java/buggy/src/net/sourceforge/fenixedu/presentationTier/Action/employee/AssiduousnessResponsibleDispatchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1803,
8514,
4500,
41,
27520,
682,
12,
1803,
3233,
6770,
16,
1803,
1204,
687,
16,
2940,
18572,
2293,
16,
2940,
4745,
607,
500,
550,
281,
575,
13,
15069,
42,
275,
697,
15133,
16,
42,
275... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1803,
8514,
4500,
41,
27520,
682,
12,
1803,
3233,
6770,
16,
1803,
1204,
687,
16,
2940,
18572,
2293,
16,
2940,
4745,
607,
500,
550,
281,
575,
13,
15069,
42,
275,
697,
15133,
16,
42,
275... | ||
Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue == null) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultMessage(DEFAULT_INVALID_MAX_LENGTH_MESSAGE_CODE, args)); | Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue == null) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultMessage(DEFAULT_INVALID_MAX_LENGTH_MESSAGE_CODE, args)); | protected void processValidate(Object target, Object propertyValue, Errors errors) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, new Integer(maxSize) }; if(propertyValue == null) { super.rejectValue(errors,MAX_LENGTH_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultM... | 50831 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50831/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/buggy/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1207,
4270,
12,
921,
1018,
16,
1033,
12337,
16,
9372,
1334,
13,
288,
1082,
202,
921,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1207,
4270,
12,
921,
1018,
16,
1033,
12337,
16,
9372,
1334,
13,
288,
1082,
202,
921,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
1... |
int shift = superIds.length; Object[] ids = new Object[shift + N]; | int superLength = superIds.length; Object[] ids = new Object[N + superLength]; | public Object[] getIds() { Object[] superIds = super.getIds(); if (dense == null) { return superIds; } int N = dense.length; long currentLength = length; if (N > currentLength) { N = (int)currentLength; } if (N == 0) { return superIds; } int shif... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/ec7de4390833279cd471e2e09439c03951277118/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8526,
2634,
87,
1435,
565,
288,
3639,
1033,
8526,
2240,
2673,
273,
2240,
18,
588,
2673,
5621,
3639,
309,
261,
25942,
422,
446,
13,
288,
327,
2240,
2673,
31,
289,
3639,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8526,
2634,
87,
1435,
565,
288,
3639,
1033,
8526,
2240,
2673,
273,
2240,
18,
588,
2673,
5621,
3639,
309,
261,
25942,
422,
446,
13,
288,
327,
2240,
2673,
31,
289,
3639,
509,
... |
monitor .subTask(MarkerMessages.MarkerView_searching_for_markers); SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10); | monitor.subTask(MarkerMessages.MarkerView_searching_for_markers); SubProgressMonitor subMonitor = new SubProgressMonitor(monitor, 10); | private void buildAllMarkers( IElementCollector collector, IProgressMonitor monitor) { int markerLimit = view.getMarkerLimit(); monitor.beginTask(MarkerMessages.MarkerView_19, markerLimit == -1 ? 60 : 100); try { monitor.subTask(MarkerMessages.MarkerView_waiting_on_changes); if (monitor.isCanceled()) { ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/229c44b72ac5a176a7c4d6328bcc38d5cf41c6c3/MarkerAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1361,
1595,
21644,
12,
1082,
202,
45,
1046,
7134,
8543,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
474,
5373,
3039,
273,
1476,
18,
588,
7078,
3039,
5621,
202,
202,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
1595,
21644,
12,
1082,
202,
45,
1046,
7134,
8543,
16,
467,
5491,
7187,
6438,
13,
288,
202,
202,
474,
5373,
3039,
273,
1476,
18,
588,
7078,
3039,
5621,
202,
202,
10... |
public final Symbol symbol () { return sym; } | public final String symbol () { return sym; } | public final Symbol symbol () { return sym; } | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/9933571afc04a317d6c4f5d01a969d3b5695a14e/Declaration.java/buggy/kawa/lang/Declaration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
8565,
3273,
1832,
288,
327,
5382,
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,
... | [
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
8565,
3273,
1832,
288,
327,
5382,
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,
... |
Isotope iso = new Isotope("C"); | Isotope iso = builder.newIsotope("C"); | public void testClone_MassNumber() { Isotope iso = new Isotope("C"); iso.setMassNumber(12); Isotope clone = (Isotope)iso.clone(); // test cloning of exact mass iso.setMassNumber(13); assertEquals(12, clone.getMassNumber()); } | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/738f657b512be44c43499f3ed84e8c5157aef99d/IsotopeTest.java/clean/src/org/openscience/cdk/test/IsotopeTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10930,
67,
18060,
1854,
1435,
288,
3639,
2585,
18946,
8702,
273,
2089,
18,
2704,
2520,
18946,
2932,
39,
8863,
3639,
8702,
18,
542,
18060,
1854,
12,
2138,
1769,
3639,
2585,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
10930,
67,
18060,
1854,
1435,
288,
3639,
2585,
18946,
8702,
273,
2089,
18,
2704,
2520,
18946,
2932,
39,
8863,
3639,
8702,
18,
542,
18060,
1854,
12,
2138,
1769,
3639,
2585,
... |
private void addExtdirsToClasspath(Path classpath) { | protected void addExtdirsToClasspath(Path classpath) { | private void addExtdirsToClasspath(Path classpath) { if (extdirs == null) { String extProp = System.getProperty("java.ext.dirs"); if (extProp != null) { extdirs = new Path(project, extProp); } else { return; } } String[] ... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/37ed344b385cde54ee62f2e66d347cb243dd6708/Javac.java/clean/src/main/org/apache/tools/ant/taskdefs/Javac.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
2482,
8291,
774,
17461,
12,
743,
10006,
13,
288,
3639,
309,
261,
408,
8291,
422,
446,
13,
288,
5411,
514,
1110,
4658,
273,
2332,
18,
588,
1396,
2932,
6290,
18,
408,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
2482,
8291,
774,
17461,
12,
743,
10006,
13,
288,
3639,
309,
261,
408,
8291,
422,
446,
13,
288,
5411,
514,
1110,
4658,
273,
2332,
18,
588,
1396,
2932,
6290,
18,
408,
18,
... |
public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException { if (monitor == null) { monitor = new NullProgressMonitor(); } monitor.beginTask(LaunchingMessages.getString("WOJavaLocalApplicationLaunchConfigurationDelegate.Launching..._1"), ... | 47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/ce974c3c73c46d576fec9b3718781183363a1c31/WOJavaLocalApplicationLaunchConfigurationDelegate.java/clean/src/wolips-launching/java/org/objectstyle/wolips/launching/WOJavaLocalApplicationLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
8037,
12,
2627,
4760,
1750,
1664,
16,
514,
1965,
16,
467,
9569,
8037,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
9506,
202,
430,
261,
10259,
422,
446,
13,
288,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8037,
12,
2627,
4760,
1750,
1664,
16,
514,
1965,
16,
467,
9569,
8037,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
9506,
202,
430,
261,
10259,
422,
446,
13,
288,
1082... | ||
final boolean result[] = { true }; | final int result[] = { RESTORE_CODE_OK }; | private boolean openPreviousWorkbenchState() { // Read the workbench state file. final File stateFile = getWorkbenchStateFile(); // If there is no state file return false. if (!stateFile.exists()) return false; final boolean result[] = { true }; Platform.run(new SafeRunnableAdapter(WorkbenchMessages.getString(... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7c7ade3d9d12ea1d98ea1ce4ea38925c1dbe3758/Workbench.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
1696,
8351,
2421,
22144,
1119,
1435,
288,
202,
202,
759,
2720,
326,
1440,
22144,
919,
585,
18,
202,
202,
6385,
1387,
919,
812,
273,
29026,
22144,
1119,
812,
5621,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1696,
8351,
2421,
22144,
1119,
1435,
288,
202,
202,
759,
2720,
326,
1440,
22144,
919,
585,
18,
202,
202,
6385,
1387,
919,
812,
273,
29026,
22144,
1119,
812,
5621,
202,
20... |
AST tmp1445_AST_in = (AST)_t; | AST tmp1449_AST_in = (AST)_t; | public final void runstate(AST _t) throws RecognitionException { AST runstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST r = null; AST hnd = null; AST hexp = null; AST __t1082 = _t; r = _t==ASTNULL ? null :(AST)_t; match(_t,RUN); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; if ( inpu... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1086,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1086,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1086,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1086,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... |
IUndoableOperation removed = (IUndoableOperation)filtered[index]; if (context == GLOBAL_UNDO_CONTEXT || removed.getContexts().length == 1) { /* remove the operation if we are enforcing a global limit or if * the operation only has the specified context | IUndoableOperation removed = (IUndoableOperation) filtered[index]; if (context == GLOBAL_UNDO_CONTEXT || removed.getContexts().length == 1) { /* * remove the operation if we are enforcing a global limit * or if the operation only has the specified context | private void forceUndoLimit(IUndoContext context, int max) { Object[] filtered = filter(undoList, context); int size = filtered.length; if (size > 0) { int index = 0; while (size > max) { IUndoableOperation removed = (IUndoableOperation)filtered[index]; if (context == GLOBAL_UNDO_CONTEXT || removed.getCon... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3bad50e6f68ff26b260565b7df8938cfe4826b83/DefaultOperationHistory.java/buggy/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2944,
31224,
3039,
12,
45,
31224,
1042,
819,
16,
509,
943,
13,
288,
202,
202,
921,
8526,
5105,
273,
1034,
12,
31226,
682,
16,
819,
1769,
202,
202,
474,
963,
273,
5105,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2944,
31224,
3039,
12,
45,
31224,
1042,
819,
16,
509,
943,
13,
288,
202,
202,
921,
8526,
5105,
273,
1034,
12,
31226,
682,
16,
819,
1769,
202,
202,
474,
963,
273,
5105,
... |
private Object condition(TokenStream ts, Source source) | private Object condition(TokenStream ts) | private Object condition(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn; mustMatchToken(ts, ts.LP, "msg.no.paren.cond"); source.append((char)ts.LP); pn = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.cond"); ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/3d2e81a014b22cf4d1eb8921bd4229c2ca7ff017/Parser.java/buggy/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
2269,
12,
1345,
1228,
3742,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
31,
3639,
1297,
2060,
1345,
12,
3428,
16,
3742,
18,
14461,
16,
315,
3576,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
2269,
12,
1345,
1228,
3742,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
31,
3639,
1297,
2060,
1345,
12,
3428,
16,
3742,
18,
14461,
16,
315,
3576,
18,
... |
private void backwardPass(TrainerScore[] score) { // Now, the backward pass. for (int i = 0; i < graph.size(); i++) { outputProbs[i] = score[i].getScore(); } float[] probNextFrame = probCurrentFrame; probCurrentFrame = new float[graph.size()]; // First, the non-emitting states. Here we go in the opposite // dir... | 7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/c775af7653d7c0a80ae25cfe150dc777d18c398d/BaumWelchLearner.java/buggy/edu/cmu/sphinx/trainer/BaumWelchLearner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
12555,
6433,
12,
1609,
14522,
7295,
8526,
4462,
13,
288,
202,
759,
4494,
16,
326,
12555,
1342,
18,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2667,
18,
1467,
5621,
277... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12555,
6433,
12,
1609,
14522,
7295,
8526,
4462,
13,
288,
202,
759,
4494,
16,
326,
12555,
1342,
18,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2667,
18,
1467,
5621,
277... | ||
return null; | return null; | public Object enumSpecifierBegin(Object container) { // TODO Auto-generated method stub return null; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/903e1c11d836b4931095f50fcfff8cb9f57f4551/NewModelBuilder.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/model/NewModelBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
2792,
21416,
8149,
12,
921,
1478,
13,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
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,
0,
0,
0,
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,
1033,
2792,
21416,
8149,
12,
921,
1478,
13,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
public void setStereoParity(int stereoParity) { this.stereoParity = stereoParity; } | public void setStereoParity(int i) { stereoParity = i; } | public void setStereoParity(int stereoParity) { this.stereoParity = stereoParity; } | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/a0fe2ba9ebb5b30198ad5632dce2a72cb9cfd6d0/Atom.java/buggy/org/openscience/cdk/Atom.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
13928,
22854,
1553,
560,
12,
474,
29558,
1553,
560,
13,
288,
202,
202,
2211,
18,
334,
822,
83,
1553,
560,
273,
29558,
1553,
560,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13928,
22854,
1553,
560,
12,
474,
29558,
1553,
560,
13,
288,
202,
202,
2211,
18,
334,
822,
83,
1553,
560,
273,
29558,
1553,
560,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.