rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
private char readCh () | private char readCh() | private char readCh () throws SAXException, IOException { // As long as there's nothing in the // read buffer, try reading more data // (for an external entity) or popping // the entity stack (for either). while (readBufferPos >= readBufferLength) { switch (sourceType) { case INPUT_READER: case IN... | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/buggy/libjava/gnu/xml/aelfred2/XmlParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1149,
855,
782,
1435,
565,
1216,
14366,
16,
1860,
565,
288,
202,
759,
2970,
1525,
487,
1915,
1807,
5083,
316,
326,
202,
759,
855,
1613,
16,
775,
6453,
1898,
501,
202,
759,
261,
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,
1149,
855,
782,
1435,
565,
1216,
14366,
16,
1860,
565,
288,
202,
759,
2970,
1525,
487,
1915,
1807,
5083,
316,
326,
202,
759,
855,
1613,
16,
775,
6453,
1898,
501,
202,
759,
261,
18... |
Util.discard(runQuery( "select {[Measures].[Unit Sales]} on columns," + nl + " {[Customers].members(0)} on rows" + nl + "from [Sales]")); | Util.discard(executeQuery("select {[Measures].[Unit Sales]} on columns," + nl + " {[Customers].members(0)} on rows" + nl + "from [Sales]")); | public void _testMembersFunction() { Util.discard(runQuery( // the simple-minded implementation of members(<number>) is // inefficient "select {[Measures].[Unit Sales]} on columns," + nl + " {[Customers].members(0)} on rows" + nl + "f... | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/3041f930b5fc4bf6aa3339845b828801c1d8b366/BasicQueryTest.java/buggy/testsrc/main/mondrian/test/BasicQueryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
389,
3813,
6918,
2083,
1435,
288,
3639,
3564,
18,
31992,
12,
2681,
1138,
12,
7734,
368,
326,
4143,
17,
1154,
785,
4471,
434,
4833,
12,
32,
2696,
23429,
353,
7734,
368,
316,
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,
377,
1071,
918,
389,
3813,
6918,
2083,
1435,
288,
3639,
3564,
18,
31992,
12,
2681,
1138,
12,
7734,
368,
326,
4143,
17,
1154,
785,
4471,
434,
4833,
12,
32,
2696,
23429,
353,
7734,
368,
316,
2... |
invalidateProperties(c, inherited); | invalidateProperties(c, inherited, null); | protected void propagateChanges(Node node, int[] props) { if (!(node instanceof CSSStylableElement)) return; CSSStylableElement elt = (CSSStylableElement)node; StyleMap style = elt.getComputedStyleMap(null); if (style != null) { boolean[] updated = st... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/27594ff02fe6c691023289eb497cbd1763c11900/CSSEngine.java/buggy/sources/org/apache/batik/css/engine/CSSEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
13551,
7173,
12,
907,
756,
16,
509,
8526,
3458,
13,
288,
3639,
309,
16051,
12,
2159,
1276,
6765,
24273,
80,
429,
1046,
3719,
5411,
327,
31,
3639,
6765,
24273,
80,
429,
1046,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13551,
7173,
12,
907,
756,
16,
509,
8526,
3458,
13,
288,
3639,
309,
16051,
12,
2159,
1276,
6765,
24273,
80,
429,
1046,
3719,
5411,
327,
31,
3639,
6765,
24273,
80,
429,
1046,
... |
result = interfaces[index].getMethodDefinition(name, signature); | result = myInterfaces[index].getMethodDefinition(name, signature); | public IMethod getMethodDefinition(String name, ISignature signature) { IMethod result = null; result = getDeclaredMethod(name, signature); if (result == null) { result = getMostCompatibleMethod(name, signature); } if (result == null) { if (superclass != null... | 50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/a9b4a2f37c890a168471e9a890acf4a9f08b5391/ClassDef.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ClassDef.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
1305,
6272,
1852,
12,
780,
508,
16,
467,
5374,
3372,
13,
288,
3639,
467,
1305,
563,
273,
446,
31,
3639,
563,
273,
11959,
1305,
12,
529,
16,
3372,
1769,
3639,
309,
261,
2088,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
1305,
6272,
1852,
12,
780,
508,
16,
467,
5374,
3372,
13,
288,
3639,
467,
1305,
563,
273,
446,
31,
3639,
563,
273,
11959,
1305,
12,
529,
16,
3372,
1769,
3639,
309,
261,
2088,
... |
static void parseElement(XMLElement el, PresentationObjectContainer parent, CachedBuilderPage ibxml) { PresentationObject inst = null; | public static UIComponent parseElement(XMLElement el, UIComponent parent, CachedBuilderPage ibxml) { UIComponent firstUICInstance = null; | static void parseElement(XMLElement el, PresentationObjectContainer parent, CachedBuilderPage ibxml) { PresentationObject inst = null; List at = el.getAttributes(); boolean isLocked = true; if ((at == null) || (at.isEmpty())) { System.err.println("No attributes specified"); return; } String className = null;... | 54061 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54061/5e789efa8069f0a5684374a0aa2aa84e0b02c934/XMLReader.java/clean/src/java/com/idega/builder/business/XMLReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
918,
1109,
1046,
12,
15223,
415,
16,
25130,
367,
921,
2170,
982,
16,
15771,
1263,
1964,
9834,
2902,
13,
288,
202,
202,
6351,
367,
921,
1804,
273,
446,
31,
202,
202,
682,
622,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3845,
918,
1109,
1046,
12,
15223,
415,
16,
25130,
367,
921,
2170,
982,
16,
15771,
1263,
1964,
9834,
2902,
13,
288,
202,
202,
6351,
367,
921,
1804,
273,
446,
31,
202,
202,
682,
622,... |
msgContext = new MessageContext(); | MessageContext msgContext = new MessageContext(); | createAndSetInitialParamsToMsgCtxt(MessageContext msgContext, HttpServletResponse resp, HttpServletRequest req) throws AxisFault { msgContext = new MessageContext(); if (axisConfiguration.isManageTransp... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/64e6f4eab1243b0ee5e5ebe87ce90331d53ab2d7/AxisServlet.java/buggy/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
752,
13152,
4435,
1370,
774,
3332,
28866,
12,
1079,
1042,
1234,
1042,
16,
4766,
9079,
12446,
1718,
16,
4766,
9079,
9984,
1111,
13,
1216,
15509,
7083,
288,
3639,
2350,
1042,
1234,
1042,
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,
2398,
752,
13152,
4435,
1370,
774,
3332,
28866,
12,
1079,
1042,
1234,
1042,
16,
4766,
9079,
12446,
1718,
16,
4766,
9079,
9984,
1111,
13,
1216,
15509,
7083,
288,
3639,
2350,
1042,
1234,
1042,
273... |
TestSuite suite = (TestSuite)test; | TestSuite suite = (TestSuite) test; | private String[] filterTests(String[] tests) { ClassLoader loader = getDynamicClassLoader(); TestRunnerResults testResults = new TestRunnerResults(); TestRunner tester = new TestRunner(loader, testResults, false); List names = new ArrayList(Arrays.asList(tests)); Iterator iterator = names.iterator(); ... | 3994 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3994/cc22dd640a4ef4682c6852d0a9a8f6750c959f68/JUnitEEServlet.java/clean/JUnitEE/src/testrunner/org/junitee/servlet/JUnitEEServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
8526,
1034,
14650,
12,
780,
8526,
7434,
13,
288,
565,
9403,
4088,
273,
2343,
3920,
7805,
5621,
565,
7766,
9709,
3447,
1842,
3447,
273,
394,
7766,
9709,
3447,
5621,
565,
7766,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
8526,
1034,
14650,
12,
780,
8526,
7434,
13,
288,
565,
9403,
4088,
273,
2343,
3920,
7805,
5621,
565,
7766,
9709,
3447,
1842,
3447,
273,
394,
7766,
9709,
3447,
5621,
565,
7766,
9... |
return "vm: | return "axis:vm: | protected String getRequestResponseEndpoint() { return "vm://mycomponent?method=echo"; } | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/e210a622e29dd34feed9619d9da60bf69103c098/AxisConnectorVMFunctionalTestCase.java/clean/tests/integration/src/test/java/org/mule/test/integration/providers/soap/AxisConnectorVMFunctionalTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
4328,
1064,
3293,
1435,
288,
3639,
327,
315,
3489,
2207,
4811,
4652,
35,
2039,
33,
12946,
14432,
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,
4750,
514,
4328,
1064,
3293,
1435,
288,
3639,
327,
315,
3489,
2207,
4811,
4652,
35,
2039,
33,
12946,
14432,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
synchronized (this.historyDocuments) { if (!this.historyDocuments.containsKey(filename)) { throw new InvalidParameterException("The requested " + "filename does not exist in the document list."); } | synchronized (this.historyDocuments) { if (!this.historyDocuments.containsKey(filename)) { throw new InvalidParameterException("The requested " + "filename does not exist in the document list."); } | protected Document getDocumentForFile(String filename) throws InvalidParameterException, RuntimeException { Document retVal = null; synchronized (this.historyDocuments) { if (!this.historyDocuments.containsKey(filename)) { throw new InvalidParameterException("The requested " + "filename does not exist in... | 43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/dd511f0f97892bf31dc2a7a1989480bf6b6b5308/HistoryImpl.java/clean/src/net/java/sip/communicator/impl/history/HistoryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4319,
9956,
1290,
812,
12,
780,
1544,
13,
1082,
202,
15069,
26669,
16,
3235,
288,
202,
202,
2519,
12197,
273,
446,
31,
202,
202,
22043,
261,
2211,
18,
8189,
12922,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4319,
9956,
1290,
812,
12,
780,
1544,
13,
1082,
202,
15069,
26669,
16,
3235,
288,
202,
202,
2519,
12197,
273,
446,
31,
202,
202,
22043,
261,
2211,
18,
8189,
12922,
13,
288,
1... |
if (jj_scan_token(19)) { | if (jj_3R_190()) { | final private boolean jj_3R_155() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(19)) { jj_scanpos = xsp; if (jj_3R_190()) return true; } if (jj_scan_token(IDENTIFIER)) return true; xsp = jj_scanpos; if (jj_3R_252()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_253()) jj_scanpos = ... | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/606e83b0f5c7b0b4f0d05f9c5bcc8d92c81d9342/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
23643,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
30454,
10756,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
23643,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
30454,
10756,... |
if (node == null) {return;} | if (node == null) { return; } | private void drawDown() { // Now Draw as many nodes as neccessary. startPoint.y = Preferences.getPreferenceInt(Preferences.TOP_MARGIN).cur; Node node = getNodeToDrawFrom(); if (node == null) {return;} JoeNodeList visibleNodes = panel.doc.tree.getVisibleNodes(); int visibleNodesSize = visibleNodes.size(); ... | 49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/3a18955261b04e885a98a6c833c7237bf762a4e4/OutlineLayoutManager.java/clean/outliner/src/com/organic/maynard/outliner/OutlineLayoutManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3724,
4164,
1435,
288,
9506,
202,
759,
4494,
10184,
487,
4906,
2199,
487,
290,
557,
614,
814,
18,
202,
202,
1937,
2148,
18,
93,
273,
28310,
18,
588,
9624,
1702,
12,
1237... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3724,
4164,
1435,
288,
9506,
202,
759,
4494,
10184,
487,
4906,
2199,
487,
290,
557,
614,
814,
18,
202,
202,
1937,
2148,
18,
93,
273,
28310,
18,
588,
9624,
1702,
12,
1237... |
} | } | protected void initTab(CTabItem tabItem, IPresentablePart part) { // set tab text and tooltip tabItem.setText(getLabelText(part, true, false)); tabItem.setToolTipText(getLabelToolTipText(part)); // set tab image tabItem.setImage(getLabelImage(part)); // following code allow... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21EditorStackPresentation.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21EditorStackPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
5661,
12,
1268,
378,
1180,
3246,
1180,
16,
2971,
1581,
429,
1988,
1087,
13,
288,
3639,
368,
444,
3246,
977,
471,
11915,
3639,
3246,
1180,
18,
542,
1528,
12,
588,
2224,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
5661,
12,
1268,
378,
1180,
3246,
1180,
16,
2971,
1581,
429,
1988,
1087,
13,
288,
3639,
368,
444,
3246,
977,
471,
11915,
3639,
3246,
1180,
18,
542,
1528,
12,
588,
2224,
... |
public boolean isCompatibleRaster(Raster raster) { | public boolean isCompatibleRaster(Raster raster) { | public boolean isCompatibleRaster(Raster raster) { SampleModel sampleModel = raster.getSampleModel(); return isCompatibleSampleModel(sampleModel); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ColorModel.java/buggy/core/src/classpath/java/java/awt/image/ColorModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
14599,
18637,
12,
18637,
12553,
13,
288,
202,
202,
8504,
1488,
3296,
1488,
273,
12553,
18,
588,
8504,
1488,
5621,
202,
202,
2463,
353,
14599,
8504,
1488,
12,
6358,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
353,
14599,
18637,
12,
18637,
12553,
13,
288,
202,
202,
8504,
1488,
3296,
1488,
273,
12553,
18,
588,
8504,
1488,
5621,
202,
202,
2463,
353,
14599,
8504,
1488,
12,
6358,
14... |
else if (beforeLine.startsWith("-")) { addContextDiffLine(hunk, beforeLine, PatchLine.Type.REMOVE); | else if (startsWith(beforeLine, "-")) { lastBeforePatchLine = addContextDiffLine(hunk, beforeLine, PatchLine.Type.REMOVE); | private PatchHunk readNextHunkContext() throws PatchSyntaxException { while(myLineIndex < myLines.length) { String curLine = myLines [myLineIndex]; if (curLine.startsWith(CONTEXT_FILE_PREFIX)) { return null; } if (curLine.startsWith(CONTEXT_HUNK_PREFIX)) { break; } myLin... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/1e644343da95ee76e1ce293a33e43c31814432c6/PatchReader.java/buggy/source/com/intellij/openapi/diff/impl/patch/PatchReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
12042,
44,
1683,
855,
2134,
44,
1683,
1042,
1435,
1216,
12042,
14714,
288,
565,
1323,
12,
4811,
1670,
1016,
411,
3399,
5763,
18,
2469,
13,
288,
1377,
514,
662,
1670,
273,
3399,
5763... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12042,
44,
1683,
855,
2134,
44,
1683,
1042,
1435,
1216,
12042,
14714,
288,
565,
1323,
12,
4811,
1670,
1016,
411,
3399,
5763,
18,
2469,
13,
288,
1377,
514,
662,
1670,
273,
3399,
5763... |
if (force || Util.compare(oldScopeIds, newScopeIds) == 0) { | if (force || Util.compare(oldScopeIds, newScopeIds) != 0) { | public void update(IWorkbenchPart part, boolean force) { if (part == null) return; String[] oldScopeIds = new String[0]; if (activeService != null) oldScopeIds = activeService.getScopeIds(); activeService = (KeyBindingService) part.getSite().getKeyBindingService(); clear(); ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/95a032dc8415e28bfa118034c49a9e0a416518dd/WWinKeyBindingService.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinKeyBindingService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
202,
482,
918,
1089,
12,
45,
2421,
22144,
1988,
1087,
16,
1250,
2944,
13,
288,
565,
202,
202,
430,
261,
2680,
422,
446,
13,
565,
1082,
202,
2463,
31,
565,
9506,
202,
780,
8526,
1592,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
202,
482,
918,
1089,
12,
45,
2421,
22144,
1988,
1087,
16,
1250,
2944,
13,
288,
565,
202,
202,
430,
261,
2680,
422,
446,
13,
565,
1082,
202,
2463,
31,
565,
9506,
202,
780,
8526,
1592,
... |
checkPermission(new FilePermission(filename, "read")); | if (desc == null) throw new NullPointerException(); checkPermission(new RuntimePermission("readFileDescriptor")); | public void checkRead(String filename) { checkPermission(new FilePermission(filename, "read")); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/SecurityManager.java/buggy/core/src/classpath/java/java/lang/SecurityManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
866,
1994,
12,
780,
1544,
13,
225,
288,
3639,
309,
261,
5569,
422,
446,
13,
604,
394,
10108,
5621,
25300,
12,
2704,
2509,
5041,
2932,
896,
812,
3187,
7923,
1769,
565,
289,
2,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
1994,
12,
780,
1544,
13,
225,
288,
3639,
309,
261,
5569,
422,
446,
13,
604,
394,
10108,
5621,
25300,
12,
2704,
2509,
5041,
2932,
896,
812,
3187,
7923,
1769,
565,
289,
2,... |
if ( platform == null ) | private void deploy( ) { assert platform == null; platform = context.getRealPath( RESOURCE_BASE ); //Weblogic try to remove the platform but it failes, //so try to copy the platform each time. //if ( platform == null ) { File contextTemp = (File) context .getAttribute( "javax.servlet.context.tempdir" ); //... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/847a41b491a826f3f4012166d31b047f6869dd28/PlatformServletContext.java/buggy/core/org.eclipse.birt.core/src/org/eclipse/birt/core/framework/PlatformServletContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
7286,
12,
262,
202,
95,
202,
202,
11231,
4072,
422,
446,
31,
202,
202,
9898,
273,
819,
18,
588,
6955,
743,
12,
12653,
67,
8369,
11272,
202,
202,
759,
4079,
28339,
775,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7286,
12,
262,
202,
95,
202,
202,
11231,
4072,
422,
446,
31,
202,
202,
9898,
273,
819,
18,
588,
6955,
743,
12,
12653,
67,
8369,
11272,
202,
202,
759,
4079,
28339,
775,
... | |
public int compare(Object o1, Object o2) { Integer tag1 = (Integer) o1; Integer tag2 = (Integer) o2; int index1 = indexOf(tag1.intValue(), fieldOrder); int index2 = indexOf(tag2.intValue(), fieldOrder); return index1 != index2 ? (index1 < index2 ? -1 : 1) :... | 52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/ac62cdb33fe9cdcbdda5568204116691fedd13fb/FieldMap.java/buggy/src/quickfix/FieldMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
9877,
12,
921,
83,
21,
16,
921,
83,
22,
15329,
4522,
2692,
21,
28657,
4522,
13,
83,
21,
31,
4522,
2692,
22,
28657,
4522,
13,
83,
22,
31,
474,
1615,
21,
33,
31806,
12,
2692,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
474,
9877,
12,
921,
83,
21,
16,
921,
83,
22,
15329,
4522,
2692,
21,
28657,
4522,
13,
83,
21,
31,
4522,
2692,
22,
28657,
4522,
13,
83,
22,
31,
474,
1615,
21,
33,
31806,
12,
2692,
21... | ||
props.addLastFile(Props.TYPE_PROPERTIES_SPOON, fname, Const.FILE_SEPARATOR, false, ""); | props.addLastFile(Props.TYPE_PROPERTIES_SPOON, fname, RepositoryDirectory.DIRECTORY_SEPARATOR, false, ""); | private void save(String fname) { String xml = XMLHandler.getXMLHeader() + transMeta.getXML(); try { DataOutputStream dos = new DataOutputStream(new FileOutputStream(new File(fname))); dos.write(xml.getBytes(Const.XML_ENCODING)); dos.close(); // Handle last opened files... props.addLastFile(Props... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/57aac50193bcb56732b265a22cbd966d52e9bba4/Spoon.java/buggy/src/be/ibridge/kettle/spoon/Spoon.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1923,
12,
780,
5299,
13,
202,
95,
202,
202,
780,
2025,
273,
3167,
1503,
18,
588,
4201,
1864,
1435,
397,
906,
2781,
18,
588,
4201,
5621,
202,
202,
698,
202,
202,
95,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1923,
12,
780,
5299,
13,
202,
95,
202,
202,
780,
2025,
273,
3167,
1503,
18,
588,
4201,
1864,
1435,
397,
906,
2781,
18,
588,
4201,
5621,
202,
202,
698,
202,
202,
95,
54... |
public Vector getDeleteConstraints() throws SQLException { Vector tableList = new Vector(); //check for eperson in item table TableRowIterator tri = DatabaseManager.query(myContext, "SELECT * from item where submitter_id=" + getID()); if (tri.hasNext()) { ... | 52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/edb9e4bb77e2c137353ec9cbd78be22ac41fdca8/EPerson.java/clean/dspace/src/org/dspace/eperson/EPerson.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5589,
2343,
929,
4878,
1435,
1216,
6483,
565,
288,
3639,
5589,
1014,
682,
273,
394,
5589,
5621,
3639,
368,
1893,
364,
5529,
3565,
316,
761,
1014,
3639,
3555,
1999,
3198,
6882,
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,
5589,
2343,
929,
4878,
1435,
1216,
6483,
565,
288,
3639,
5589,
1014,
682,
273,
394,
5589,
5621,
3639,
368,
1893,
364,
5529,
3565,
316,
761,
1014,
3639,
3555,
1999,
3198,
6882,
273,
... | ||
this.loginName = authorName; } | this.loginName = authorName; } | public void setLoginName(String authorName) { this.loginName = authorName; } | 49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/d9f355feba10445bead0fc80ef15c20d6b50f76c/RevisionData.java/clean/src/net/sf/statcvs/input/RevisionData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
5358,
461,
12,
780,
2869,
461,
13,
288,
202,
202,
2211,
18,
5819,
461,
273,
2869,
461,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
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,
444,
5358,
461,
12,
780,
2869,
461,
13,
288,
202,
202,
2211,
18,
5819,
461,
273,
2869,
461,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
private void initMetadata(String xml) { Vector elements = new Vector(); // first parse each element in the XML string while (xml.length() > 2) { String el = xml.substring(1, xml.indexOf(">")); xml = xml.substring(xml.indexOf(">") + 1); elements.add(el); } // the first element contains ve... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/ef9698ad6215d7209ca0754a20e4de61585b318c/LIFReader.java/clean/loci/formats/in/LIFReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
2277,
12,
780,
2025,
13,
288,
565,
5589,
2186,
273,
394,
5589,
5621,
565,
368,
1122,
1109,
1517,
930,
316,
326,
3167,
533,
565,
1323,
261,
2902,
18,
2469,
1435,
405,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
2277,
12,
780,
2025,
13,
288,
565,
5589,
2186,
273,
394,
5589,
5621,
565,
368,
1122,
1109,
1517,
930,
316,
326,
3167,
533,
565,
1323,
261,
2902,
18,
2469,
1435,
405,
57... | ||
public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); | public quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { quickfix.field.EncodedUnderlyingIssuerLen value = new quickfix.field.EncodedUnderlyingIssuerLen(); | public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MassQuote.java/clean/src/java/src/quickfix/fix44/MassQuote.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
28799,
14655,
6291,
16667,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10397,
14655,
6291,
16667,
2891,
28799,
14655,
6291,
16667,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1465... |
return _cmp_unsafe(o) < 0 ? Py.One : Py.Zero; | return _cmp_unsafe(o) < 0 ? Py.True : Py.False; | public final PyObject _lt(PyObject o) { PyObject token = null; ThreadState ts = Py.getThreadState(); try { if (++ts.compareStateNesting > 10) { if ((token = check_recursion(ts, this, o)) == null) throw Py.ValueError("can't order recursive values"); ... | 6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/7a2fa9e7c826e79970384454e73a68a06e327145/PyObject.java/buggy/src/org/python/core/PyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
4707,
921,
389,
5618,
12,
9413,
921,
320,
13,
288,
3639,
4707,
921,
1147,
273,
446,
31,
3639,
4884,
1119,
3742,
273,
4707,
18,
588,
3830,
1119,
5621,
3639,
775,
288,
5411,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4707,
921,
389,
5618,
12,
9413,
921,
320,
13,
288,
3639,
4707,
921,
1147,
273,
446,
31,
3639,
4884,
1119,
3742,
273,
4707,
18,
588,
3830,
1119,
5621,
3639,
775,
288,
5411,
30... |
if (wrappedModel instanceof ValueModelWrapper) { | if (wrappedModel instanceof ValueModelWrapper) | public ValueModel getInnerMostWrappedValueModel() { if (wrappedModel instanceof ValueModelWrapper) { return ((ValueModelWrapper)wrappedModel).getInnerMostWrappedValueModel(); } else { return wrappedModel; } } | 55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/970bcdd60ee0c816ab5b641ca1f14ae19799a842/AbstractValueModelWrapper.java/clean/support/src/main/java/org/springframework/binding/value/support/AbstractValueModelWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1445,
1488,
22000,
18714,
17665,
620,
1488,
1435,
288,
3639,
309,
261,
18704,
1488,
1276,
1445,
1488,
3611,
13,
5411,
327,
14015,
620,
1488,
3611,
13,
18704,
1488,
2934,
588,
2857,
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,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1445,
1488,
22000,
18714,
17665,
620,
1488,
1435,
288,
3639,
309,
261,
18704,
1488,
1276,
1445,
1488,
3611,
13,
5411,
327,
14015,
620,
1488,
3611,
13,
18704,
1488,
2934,
588,
2857,
18... |
assertFalse( UIUtil.containElement( outlineTreeViewer, dataSource ) ); assertFalse( UIUtil.containElement( outlineTreeViewer, dataSet ) ); assertFalse( UIUtil.containElement( outlineTreeViewer, param1 ) ); assertFalse( UIUtil.containElement( outlineTreeViewer, paramGroup ) ); assertFalse( UIUtil.containElement( outline... | assertTrue( UIUtil.containElement( outlineTreeViewer, dataSource ) ); assertTrue( UIUtil.containElement( outlineTreeViewer, dataSet ) ); assertTrue( UIUtil.containElement( outlineTreeViewer, param1 ) ); assertTrue( UIUtil.containElement( outlineTreeViewer, paramGroup ) ); assertTrue( UIUtil.containElement( outlineTreeV... | public void testContainElement( ) throws Throwable { showPerspective( ); openEditor( ); getView( DATA_EXPLORER_ID ).setFocus( ); DataViewPage dataViewPage = (DataViewPage) ( (DataView) getView( DATA_EXPLORER_ID ) ).getCurrentPage( ); TreeViewer dataTreeViewer = (TreeViewer) PrivateAccessor.getField( dataViewPage,... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/313518b91b860447b8f176cf913a05fbab79cab4/UIUtilUITest.java/clean/UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/internal/ui/util/UIUtilUITest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
22928,
1046,
12,
262,
1216,
4206,
202,
95,
202,
202,
4500,
14781,
16772,
12,
11272,
202,
202,
3190,
6946,
12,
11272,
202,
202,
588,
1767,
12,
8730,
67,
2294,
6253,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22928,
1046,
12,
262,
1216,
4206,
202,
95,
202,
202,
4500,
14781,
16772,
12,
11272,
202,
202,
3190,
6946,
12,
11272,
202,
202,
588,
1767,
12,
8730,
67,
2294,
6253,
... |
Constants.RESOLUTION_OPTIONAL }, PDEMarkerFactory.NO_RESOLUTION); | Constants.RESOLUTION_OPTIONAL }); | private void validateResolutionDirective(IHeader header, ManifestElement requireBundleElement) { String resolution = requireBundleElement .getDirective(Constants.RESOLUTION_DIRECTIVE); if (resolution != null) { validateDirectiveValue(header, requireBundleElement, Constants.RESOLUTION_DIRECTIVE, new String... | 8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/87dd8ec978807e3ea8f676ade2caf585bff26e45/BundleErrorReporter.java/buggy/org.eclipse.pde/src/org/eclipse/pde/internal/builders/BundleErrorReporter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1954,
11098,
13307,
12,
45,
1864,
1446,
16,
1082,
202,
9121,
1046,
2583,
3405,
1046,
13,
288,
202,
202,
780,
7861,
273,
2583,
3405,
1046,
9506,
202,
18,
588,
13307,
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,
225,
202,
1152,
918,
1954,
11098,
13307,
12,
45,
1864,
1446,
16,
1082,
202,
9121,
1046,
2583,
3405,
1046,
13,
288,
202,
202,
780,
7861,
273,
2583,
3405,
1046,
9506,
202,
18,
588,
13307,
12,
... |
eventTypes.add(new Integer(STARTDOCUMENT)); | eventTypes.add(STARTDOCUMENT); | public void startDocument () throws SAXException { if(buffering) { eventTypes.add(new Integer(STARTDOCUMENT)); } else if (contentHandler != null) { contentHandler.startDocument(); } } | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/5bd8136256b7a06c2a8f66363fbe38b5e9e9f206/SAX2BufferImpl.java/buggy/source/org/jasig/portal/utils/SAX2BufferImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
2519,
1832,
1216,
14366,
565,
288,
3639,
309,
12,
4106,
310,
13,
288,
5411,
871,
2016,
18,
1289,
12,
7570,
18450,
1769,
3639,
289,
469,
309,
261,
1745,
1503,
480,
446,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
2519,
1832,
1216,
14366,
565,
288,
3639,
309,
12,
4106,
310,
13,
288,
5411,
871,
2016,
18,
1289,
12,
7570,
18450,
1769,
3639,
289,
469,
309,
261,
1745,
1503,
480,
446,
1... |
return o1 == ((InternalFactHandle) o2).getObject(); | InternalFactHandle handle = ((InternalFactHandle) o2); return o1 == ( ( handle.isShadowFact() ) ? ((ShadowProxy) handle.getObject() ).getShadowedObject() : handle.getObject() ); | public boolean equal(final Object o1, final Object o2) { if ( o1.getClass() == this.factHandleClass ) { return ((InternalFactHandle) o1).getObject() == ((InternalFactHandle) o2).getObject(); } return o1 == ((InternalFactHandle) o2).getObject(); } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f9429ab73e0cdd844bde3c93077f112d0ceb15b1/IdentityAssertMapComparator.java/buggy/drools-core/src/main/java/org/drools/common/IdentityAssertMapComparator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
3959,
12,
6385,
1033,
320,
21,
16,
7682,
727,
1033,
320,
22,
13,
288,
3639,
309,
261,
320,
21,
18,
588,
797,
1435,
422,
333,
18,
3493,
3259,
797,
262,
288,
5411,
327,
1401... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
3959,
12,
6385,
1033,
320,
21,
16,
7682,
727,
1033,
320,
22,
13,
288,
3639,
309,
261,
320,
21,
18,
588,
797,
1435,
422,
333,
18,
3493,
3259,
797,
262,
288,
5411,
327,
1401... |
if ( ability.getKeyName().equals(aKey) ) | if (ability.getKeyName().equals(aKey)) | public Ability getAbilityKeyed(final AbilityCategory aCategory, final String aKey) { if ( aCategory == AbilityCategory.FEAT ) { return getFeatKeyed(aKey); } final List<Ability> abilities = getAggregateAbilityList(aCategory); for ( final Ability ability : abilities ) { if ( ability.getKeyName().equals(aKey) ... | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9771,
1889,
4506,
70,
1889,
653,
329,
12,
6385,
9771,
1889,
4457,
279,
4457,
16,
727,
514,
279,
653,
13,
202,
95,
202,
202,
430,
261,
279,
4457,
422,
9771,
1889,
4457,
18,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9771,
1889,
4506,
70,
1889,
653,
329,
12,
6385,
9771,
1889,
4457,
279,
4457,
16,
727,
514,
279,
653,
13,
202,
95,
202,
202,
430,
261,
279,
4457,
422,
9771,
1889,
4457,
18,
8... |
Polygon item = (Polygon) iter2.next(); g.fillPolygon(item.xpoints, item.ypoints, item.npoints); | Polygon item = (Polygon)iter2.next(); /* fills the final highlighted area a solid color but covers the encompasing islands. Will be a guessing game to get the islands once the sea zone is done. g.setColor(Color.yellow); g.fillPolygon(item.xpoints, item.ypoints, item.npoints); g.setColor(Color.black); */ g.drawPolygo... | private JPanel createMainPanel() { JPanel imagePanel = new JPanel() { public void paint(Graphics g) { //super.paint(g); g.drawImage(m_image, 0,0, this); g.setColor(Color.black); Iterator iter = m_polygons.entrySet()... | 8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/066281e3987b03dad83bc2a86c51f13bb8c0feaa/PolygonGrabber.java/clean/src/util/image/PolygonGrabber.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
752,
6376,
5537,
1435,
565,
288,
3639,
24048,
1316,
5537,
273,
394,
24048,
1435,
3639,
288,
5411,
1071,
918,
12574,
12,
17558,
314,
13,
5411,
288,
7734,
368,
9565,
18,
84,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24048,
752,
6376,
5537,
1435,
565,
288,
3639,
24048,
1316,
5537,
273,
394,
24048,
1435,
3639,
288,
5411,
1071,
918,
12574,
12,
17558,
314,
13,
5411,
288,
7734,
368,
9565,
18,
84,
15... |
throw getRuntime().newIOError(e.getMessage()); | throw getRuntime().newIOError(e.getMessage()); | public RubyBoolean eof() { try { boolean isEOF = handler.isEOF(); return isEOF ? getRuntime().getTrue() : getRuntime().getFalse(); } catch (IOHandler.BadDescriptorException e) { throw getRuntime().newErrnoEBADFError(); } catch (IOException e) { throw ge... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/a1b8fc1d456e3d5c6e01579b88773383068aa85c/RubyIO.java/buggy/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
14813,
1435,
288,
3639,
775,
288,
5411,
1250,
353,
12706,
273,
1838,
18,
291,
12706,
5621,
2398,
327,
353,
12706,
692,
18814,
7675,
588,
5510,
1435,
294,
18814,
7675,
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,
377,
1071,
19817,
5507,
14813,
1435,
288,
3639,
775,
288,
5411,
1250,
353,
12706,
273,
1838,
18,
291,
12706,
5621,
2398,
327,
353,
12706,
692,
18814,
7675,
588,
5510,
1435,
294,
18814,
7675,
588... |
Iterator<CodeExceptionGen> i = exceptionHandlerList.iterator(); while (i.hasNext()) { CodeExceptionGen exceptionHandler = i.next(); InstructionHandle handlerStart = exceptionHandler.getHandlerPC(); subroutine.addEdgeAndExplore(etb, handlerStart, HANDLED_EXCEPTION_EDGE); | if (!sawAnyExceptionHandler) { if (DEBUG) System.out.println("Adding unhandled exception edge from " + pei); subroutine.addEdge(etb, subroutine.getExit(), UNHANDLED_EXCEPTION_EDGE); | private void handleExceptions(Subroutine subroutine, InstructionHandle pei, BasicBlock etb) { etb.setExceptionThrower(pei); List<CodeExceptionGen> exceptionHandlerList = exceptionHandlerMap.getHandlerList(pei); if (exceptionHandlerList == null) return; // TODO: should try to prune some obviously infeasible excep... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/01c62d1f09b307ddc4609fccff537c85dd5c6361/BetterCFGBuilder2.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/BetterCFGBuilder2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
11416,
12,
1676,
22640,
720,
22640,
16,
24605,
3259,
2804,
77,
16,
7651,
1768,
3393,
70,
13,
288,
202,
202,
278,
70,
18,
542,
503,
8282,
264,
12,
347,
77,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
11416,
12,
1676,
22640,
720,
22640,
16,
24605,
3259,
2804,
77,
16,
7651,
1768,
3393,
70,
13,
288,
202,
202,
278,
70,
18,
542,
503,
8282,
264,
12,
347,
77,
1769,
... |
if ( formatPattern != null ) | if ( formatCategroy == DesignChoiceConstants.STRING_FORMAT_TYPE_CUSTOM || formatCategroy == DesignChoiceConstants.NUMBER_FORMAT_TYPE_CUSTOM || formatCategroy == DesignChoiceConstants.DATETIEM_FORMAT_TYPE_CUSTOM ) | private void updateFormatField( ) { String displayFormat; String previewString; String type = getSelectedDataType( ); IChoiceSet choiceSet = getFormatChoiceSet( getSelectedDataType( ) ); if ( choiceSet == null ) {// Boolean type; displayFormat = DesignEngine.getMetaDataDictionary( ) .getChoiceSet( DesignCh... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/93723d1ddc3fa20d0b82117bc4c24722aab6a837/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
1630,
974,
12,
262,
202,
95,
202,
202,
780,
2562,
1630,
31,
202,
202,
780,
10143,
780,
31,
202,
202,
780,
618,
273,
16625,
6273,
12,
11272,
202,
202,
45,
10538,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
1630,
974,
12,
262,
202,
95,
202,
202,
780,
2562,
1630,
31,
202,
202,
780,
10143,
780,
31,
202,
202,
780,
618,
273,
16625,
6273,
12,
11272,
202,
202,
45,
10538,
... |
match(LITERAL_with); if ( inputState.guessing==0 ) { name = "with"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_into: | match(LITERAL_ordered); if ( inputState.guessing==0 ) { name = "ordered"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_unordered: | 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/68bb69fc2bc91cbece43dcdf563e1be3ba003e1b/XQueryParser.java/buggy/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,... |
StringBuffer buf = new StringBuffer(""); String source = labels.getTextBase().documentSpan(documentId).asString(); int currentPos = 0; for(int i=0; i<orderedMarkers.size(); i++) { String t = ((String)(((Vector)orderedMarkers.get(i)).get(0))); Span s = ((Span)(((Vector)orderedMarkers.get(i)).get(2))); int pos; if(t.st... | buffer.append(docString.substring(docPos, docString.length())); return buffer.toString(); | public String createXMLmarkup(String documentId,TextLabels labels) { // create vector of labels with their start and end positions Vector types = new Vector(); for(Iterator i=labels.getTypes().iterator(); i.hasNext(); ){ String type = (String)i.next(); for(Span.Looper j=labels.instanceIterator(type, documen... | 51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/e84e760a813bc60769cb01e6aa6fc34d1fc7fef8/TextLabelsLoader.java/buggy/src/edu/cmu/minorthird/text/TextLabelsLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
752,
4201,
15056,
12,
780,
28573,
16,
1528,
5888,
3249,
13,
288,
202,
759,
752,
3806,
434,
3249,
598,
3675,
787,
471,
679,
6865,
202,
5018,
1953,
273,
394,
5589,
5621,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
752,
4201,
15056,
12,
780,
28573,
16,
1528,
5888,
3249,
13,
288,
202,
759,
752,
3806,
434,
3249,
598,
3675,
787,
471,
679,
6865,
202,
5018,
1953,
273,
394,
5589,
5621,
202,
1... |
try { Command command = new Command(Command.QUIT); sendCommand(command); }catch (IOException ioe) { log.warn("Error closing connection: " + getAddress().getHostName() + ":" + getAddress().getPort(),ioe); socketProvider = null; } | try { Command command = new Command(Command.QUIT); sendCommand(command).dumpReply(); socketProvider.close(); }catch (IOException ioe) { log.warn("Error closing connection: " + getAddress().getHostName() + ":" + getAddress().getPort(),ioe); } socketProvider = null; | public void disconnect() { try { Command command = new Command(Command.QUIT); sendCommand(command); }catch (IOException ioe) { log.warn("Error closing connection: " + getAddress().getHostName() + ":" + getAddress().getPort(),ioe); socketProvider = ... | 11835 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11835/77d69818374f2ef93e728acb275c638e9d7da666/FTPConnection.java/clean/ftp4che14/src/java/org/ftp4che/FTPConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9479,
1435,
288,
3639,
775,
3639,
288,
5411,
3498,
1296,
273,
394,
3498,
12,
2189,
18,
3500,
1285,
1769,
5411,
1366,
2189,
12,
3076,
1769,
3639,
289,
14683,
261,
14106,
10847,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9479,
1435,
288,
3639,
775,
3639,
288,
5411,
3498,
1296,
273,
394,
3498,
12,
2189,
18,
3500,
1285,
1769,
5411,
1366,
2189,
12,
3076,
1769,
3639,
289,
14683,
261,
14106,
10847,
... |
public void displayURL(String url) { frm.removeAll(); try { url = url.replace('|', ':'); viewPane.setPage(url); viewPane.setEditable(false); } catch (IOException e) { System.out.println("Error loading URL "+url); } view.add(viewPane);// viewPane.setPreferredSize(defaultSize); view.setSize(defaultSiz... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/701adb53ebc028dc703c1074d472d19dec2ab46e/JView.java/clean/java/plugins/examples/rtf/JView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
5417,
1785,
12,
780,
718,
15329,
202,
4840,
81,
18,
4479,
1595,
5621,
202,
698,
95,
202,
718,
33,
718,
18,
2079,
2668,
96,
17023,
2497,
1769,
202,
1945,
8485,
18,
542,
1964,
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,
1071,
6459,
5417,
1785,
12,
780,
718,
15329,
202,
4840,
81,
18,
4479,
1595,
5621,
202,
698,
95,
202,
718,
33,
718,
18,
2079,
2668,
96,
17023,
2497,
1769,
202,
1945,
8485,
18,
542,
1964,
12,
... | ||
public void setEnclosingTypeName(IQualifiedTypeName typeName, boolean isNamespace) { | public void setEnclosingTypeName(IQualifiedTypeName typeName, boolean isNamespace, boolean update) { | public void setEnclosingTypeName(IQualifiedTypeName typeName, boolean isNamespace) { if (typeName != null) { fEnclosingTypeDialogField.setText(typeName.toString()); //$NON-NLS-1$ } else { fEnclosingTypeDialogField.setText(""); //$NON-NLS-1$ } fEnclosingTypeButtons.setSelection(isNamespace ? CLASS_INDE... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/973bfa0ac31780b09f901f5a1e13dab525560fa4/NewClassCreationWizardPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCreationWizardPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
21594,
7947,
12,
45,
8708,
7947,
8173,
16,
1250,
353,
3402,
13,
288,
202,
565,
309,
261,
723,
461,
480,
446,
13,
288,
1082,
202,
74,
21594,
559,
6353,
974,
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,
444,
21594,
7947,
12,
45,
8708,
7947,
8173,
16,
1250,
353,
3402,
13,
288,
202,
565,
309,
261,
723,
461,
480,
446,
13,
288,
1082,
202,
74,
21594,
559,
6353,
974,
18,
542... |
List lessons = shift.getAssociatedLessons(); List infoLessons = new ArrayList(); List<ISchoolClass> classesShifts = shift.getAssociatedClasses(); List infoClasses = new ArrayList(); | InfoShift infoShift = InfoShiftWithInfoExecutionCourseAndCollections .newInfoFromDomain(shift); | private ISiteComponent getInfoSiteShifts(InfoSiteShifts component, ISite site) throws FenixServiceException { List shiftsWithAssociatedClassesAndLessons = new ArrayList(); try { ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); IExecuti... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/6d4e66bd896dc0746d4408208a022f74f3ebe222/ExecutionCourseSiteComponentBuilder.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Factory/ExecutionCourseSiteComponentBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4437,
1137,
1841,
17142,
4956,
10544,
87,
12,
966,
4956,
10544,
87,
1794,
16,
4437,
1137,
2834,
13,
5411,
1216,
478,
275,
697,
15133,
288,
3639,
987,
27552,
1190,
19233,
4818,
1876,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4437,
1137,
1841,
17142,
4956,
10544,
87,
12,
966,
4956,
10544,
87,
1794,
16,
4437,
1137,
2834,
13,
5411,
1216,
478,
275,
697,
15133,
288,
3639,
987,
27552,
1190,
19233,
4818,
1876,
... |
this.use_tab = true; | this.tab_char = TAB; | public void setDefaultSettings() { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; this.alignment_for_arguments_in_met... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/c6f78f890c1ca00b0157b632da091fae2c781833/DefaultCodeFormatterOptions.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9277,
2628,
1435,
288,
202,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
29299,
67,
8692,
273,
17804,
18,
49,
67,
4208,
4066,
1268,
67,
17482,
31,
202,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9277,
2628,
1435,
288,
202,
202,
2211,
18,
14409,
67,
1884,
67,
7099,
67,
267,
67,
29299,
67,
8692,
273,
17804,
18,
49,
67,
4208,
4066,
1268,
67,
17482,
31,
202,
202,
2... |
public _Problem(_CompositeContext parent, int startOffset, int endOffset, IASTProblem problem) { super(parent, startOffset, endOffset); this.problem = problem; } | public _Problem(_CompositeContext parent, int startOffset, int endOffset, IASTProblem problem) { super(parent, startOffset, endOffset); this.problem = problem; } | public _Problem(_CompositeContext parent, int startOffset, int endOffset, IASTProblem problem) { super(parent, startOffset, endOffset); this.problem = problem; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/33390e2e03dc3a1dd0c3bedcc27e52231c6a907e/LocationMap.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/LocationMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
389,
13719,
24899,
9400,
1042,
982,
16,
509,
18245,
16,
509,
25507,
16,
5411,
467,
9053,
13719,
6199,
13,
288,
540,
2240,
12,
2938,
16,
18245,
16,
25507,
1769,
540,
333,
18,
18968,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4202,
1071,
389,
13719,
24899,
9400,
1042,
982,
16,
509,
18245,
16,
509,
25507,
16,
5411,
467,
9053,
13719,
6199,
13,
288,
540,
2240,
12,
2938,
16,
18245,
16,
25507,
1769,
540,
333,
18,
18968,... |
parent.skipPanel(); | parentFrame.skipPanel(); | public void panelActivate () { if (spec == null) { // TODO: translate emitError("User input specification could not be found.", "The specification for the user input panel could not be found. Please contact the packager."); parent.skipPanel(); } Vector forPacks = spec.getChil... | 54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/08ecc635ba8049aeb419722893f373a4a7f99a77/UserInputPanel.java/buggy/src/lib/com/izforge/izpack/panels/UserInputPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
6594,
21370,
1832,
225,
288,
565,
309,
261,
2793,
422,
446,
13,
565,
288,
1377,
368,
2660,
30,
4204,
1377,
3626,
668,
2932,
1299,
810,
7490,
3377,
486,
506,
1392,
1199,
16,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6594,
21370,
1832,
225,
288,
565,
309,
261,
2793,
422,
446,
13,
565,
288,
1377,
368,
2660,
30,
4204,
1377,
3626,
668,
2932,
1299,
810,
7490,
3377,
486,
506,
1392,
1199,
16,
6... |
in = new RandomAccessFile(id, "r"); | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); // Highly questionable decoding strategy: // // Note that all byte ordering is little endian, includeing 4-byte header // fields. Other examples: 16-bit data is LSB MSB, a... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/91859a26506b8a1d312b398da2c3ecd94e02fa60/LegacyZVIReader.java/buggy/loci/formats/LegacyZVIReader.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,
4202,
368,
15207,
715,
5073,
429,
13547,
6252,
30,
565,
368,
565,
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,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
4202,
368,
15207,
715,
5073,
429,
13547,
6252,
30,
565,
368,
565,
368,
... | |
boolean alreadyBitched = false; | boolean lastFailed = false; | public void run() { try { Thread.sleep(1000); } catch (InterruptedException ie) {} _log = _context.logManager().getLog(Timestamper.class); if (_log.shouldLog(Log.INFO)) _log.info("Starting timestamper"); if (_log.shouldLog(Log.INFO)) _log.info("Starting up timestamp... | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/c17433cb9342d6d49730c0ed662f8cb0369629bb/Timestamper.java/buggy/core/java/src/net/i2p/time/Timestamper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
4884,
18,
19607,
12,
18088,
1769,
289,
1044,
261,
24485,
503,
9228,
13,
2618,
3639,
389,
1330,
273,
389,
2472,
18,
1330,
1318,
7675,
588,
1343,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
4884,
18,
19607,
12,
18088,
1769,
289,
1044,
261,
24485,
503,
9228,
13,
2618,
3639,
389,
1330,
273,
389,
2472,
18,
1330,
1318,
7675,
588,
1343,... |
jMenuFile.add(jMenuItemOpen); | /*jMenuFile.add(jMenuItemOpen); | private void jbInit() throws Exception {//{{{ setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); getContentPane().setLayout(new GridBagLayout()); jTopPanel.setLayout(new GridBagLayout()); jBottomPanel.setLayout(gridLayout1); gridLayout1.setHgap(5); jAlbumPanel.setLayout(new BorderLayout()); jLabel... | 9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/6ef4ff9772047f488fc626a39d1864e76a7514de/MainFrame.java/buggy/com/gallery/GalleryRemote/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20515,
2570,
1435,
1082,
202,
15069,
1185,
288,
759,
12187,
95,
202,
202,
542,
1868,
4605,
2988,
12,
3829,
2918,
18,
3191,
67,
4400,
44,
1360,
67,
673,
67,
13384,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20515,
2570,
1435,
1082,
202,
15069,
1185,
288,
759,
12187,
95,
202,
202,
542,
1868,
4605,
2988,
12,
3829,
2918,
18,
3191,
67,
4400,
44,
1360,
67,
673,
67,
13384,
1769,
... |
} else | } else { | private void setProject(Project project) { currentProject = project; if (project != null) { synchProject(project); setView("EditProjectPanel"); } else setView("EmptyPanel"); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/2ac50ec1b97e80f7e4343cf8a4f87879ac45ace6/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
25323,
12,
4109,
1984,
13,
288,
3639,
783,
4109,
273,
1984,
31,
3639,
309,
261,
4406,
480,
446,
13,
288,
5411,
272,
2515,
4109,
12,
4406,
1769,
5411,
19923,
2932,
4666,
4109,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
25323,
12,
4109,
1984,
13,
288,
3639,
783,
4109,
273,
1984,
31,
3639,
309,
261,
4406,
480,
446,
13,
288,
5411,
272,
2515,
4109,
12,
4406,
1769,
5411,
19923,
2932,
4666,
4109,
... |
protected void populateTreeItem(WebMarkupContainer<TreeNode> item, int level) { final TreeNode node = item.getModelObject(); int i = 0; // add side columns SideColumnsView sideColumns = new SideColumnsView(item, "sideColumns", node); for (IColumn column: columns) { if (column.getLocation().getAlignment() =... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/234acdada6bb523025df2bf64c707be9ba3f57d5/TreeTable.java/buggy/wicket/src/java/wicket/markup/html/tree/table/TreeTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
6490,
2471,
1180,
12,
4079,
13111,
2170,
32,
12513,
34,
761,
16,
509,
1801,
13,
225,
202,
95,
1082,
202,
6385,
20270,
756,
273,
761,
18,
588,
1488,
921,
5621,
202,
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,
1117,
918,
6490,
2471,
1180,
12,
4079,
13111,
2170,
32,
12513,
34,
761,
16,
509,
1801,
13,
225,
202,
95,
1082,
202,
6385,
20270,
756,
273,
761,
18,
588,
1488,
921,
5621,
202,
202,
... | ||
if (++currarg >= arglist.length || arglist[currarg] == null) | if (++currarg >= arglist.length || arglist[currarg] == null){ | private char[] handleFunctionStyleMacro(FunctionStyleMacro macro, boolean pushContext) { char[] buffer = bufferStack[bufferStackPos]; int limit = bufferLimit[bufferStackPos]; skipOverWhiteSpace(); while( buffer[bufferPos[bufferStackPos]] == '\\' && bufferPos[bufferStackPos] + 1 < buffer.length && buffer[b... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d38225d5811df8449a2e564434b791ee26328d60/Scanner2.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/Scanner2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1149,
8526,
1640,
2083,
2885,
17392,
12,
2083,
2885,
17392,
11522,
16,
1250,
1817,
1042,
13,
288,
202,
202,
3001,
8526,
1613,
273,
1613,
2624,
63,
4106,
2624,
1616,
15533,
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,
1152,
1149,
8526,
1640,
2083,
2885,
17392,
12,
2083,
2885,
17392,
11522,
16,
1250,
1817,
1042,
13,
288,
202,
202,
3001,
8526,
1613,
273,
1613,
2624,
63,
4106,
2624,
1616,
15533,
202,
... |
public void testGetPlaneOffset1() | public void testGetPlaneOffset1() throws DimensionsOutOfBoundsException | public void testGetPlaneOffset1() { long offset = ((long)timepointSize * 25) + ((long)planeSize * 25); assertEquals(pixelBuffer.getPlaneOffset(25, 0, 25).longValue(), offset); } | 13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/99dab4d872ad9799aad9dfdb29d0cf3d259a49a2/HugePixelBufferUnitTest.java/clean/components/omeio-nio/test/ome/io/nio/utests/HugePixelBufferUnitTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
19505,
2335,
21,
1435,
1216,
463,
23124,
14347,
565,
288,
3639,
1525,
1384,
273,
14015,
5748,
13,
957,
1153,
1225,
380,
6969,
13,
397,
14015,
5748,
13,
21314,
1225,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
967,
19505,
2335,
21,
1435,
1216,
463,
23124,
14347,
565,
288,
3639,
1525,
1384,
273,
14015,
5748,
13,
957,
1153,
1225,
380,
6969,
13,
397,
14015,
5748,
13,
21314,
1225,
... |
new NoViableAltException("670:1: primaryExpression : ( identPrimary ( options {greedy=true; } : DOT \'class\' )? | constant | \'true\' | \'false\' | \'null\' | newExpression | \'this\' | \'super\' | LPAREN assignmentExpression RPAREN | builtInType ( LBRACK RBRACK )* DOT \'class\' );", 73, 0, input); | new NoViableAltException("770:1: primaryExpression : ( identPrimary ( options {greedy=true; } : DOT \'class\' )? | constant | \'true\' | \'false\' | \'null\' | newExpression | \'this\' | \'super\' | LPAREN assignmentExpression RPAREN | builtInType ( LBRACK RBRACK )* DOT \'class\' );", 73, 0, input); | public void primaryExpression() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:671:17: ( identPrimary ( options {greedy=true; } : DOT 'class' )? | constant | 'true' | 'false' | 'null' | newEx... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3354,
2300,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3354,
2300,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19... |
final ObjectMatches objectMatches = memory.remove( workingMemory, handle ); for ( CompositeTupleMatch compositeTupleMatch = objectMatches.getFirstTupleMatch(); compositeTupleMatch != null; compositeTupleMatch = (CompositeTupleMatch) compositeTupleMatch.getNext() ) { final ReteTuple leftTuple = compositeTupleMatch.get... | public void retractObject(final InternalFactHandle handle, final PropagationContext context, final InternalWorkingMemory workingMemory) { final BetaMemory memory = (BetaMemory) workingMemory.getNodeMemory( this ); // Remove the FactHandle from ... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/f426078952a4cf8c378efc34a4ff78ae54f0d993/CollectNode.java/clean/drools-core/src/main/java/org/drools/reteoo/CollectNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
283,
1575,
921,
12,
6385,
3186,
9766,
3259,
1640,
16,
17311,
727,
1186,
9095,
367,
1042,
819,
16,
17311,
727,
3186,
14836,
6031,
5960,
6031,
13,
288,
3639,
727,
16393,
6031,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
283,
1575,
921,
12,
6385,
3186,
9766,
3259,
1640,
16,
17311,
727,
1186,
9095,
367,
1042,
819,
16,
17311,
727,
3186,
14836,
6031,
5960,
6031,
13,
288,
3639,
727,
16393,
6031,
37... | |
public static WeaponType createISMRM40() { WeaponType weapon = new WeaponType(); weapon.name = "MRM 40"; weapon.internalName = weapon.name; weapon.mepName = "MRM-40"; // NA in MEP weapon.mtfName = "ISMRM40"; weapon.heat = 12; weapon.damage = DAMAGE_MISSILE; ... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/d05f2130c25015ca88066511083759513d50b746/WeaponType.java/clean/megamek/src/megamek/common/WeaponType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1660,
28629,
559,
752,
5127,
49,
8717,
7132,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
7734,
732,
28629,
18,
529,
273,
315,
49,
8717,
806... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1660,
28629,
559,
752,
5127,
49,
8717,
7132,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
7734,
732,
28629,
18,
529,
273,
315,
49,
8717,
806... | ||
assertTrue(countDown.tryLock(5000, TimeUnit.MILLISECONDS)); | assertTrue(countDown.await(5000, TimeUnit.MILLISECONDS)); | public void testMuleClientReceiveAndDispatchJob() throws Exception { countDown = new CountDownLatch(3); ConfigurationBuilder configBuilder = new MuleXmlConfigurationBuilder(); configBuilder.configure("org/mule/test/integration/providers/quartz/quartz-receive-dispatch.xml"); new MuleCl... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/a30ba41fafc6ad4c9e16f12c69591c871e6fbf67/QuartzFunctionalTestCase.java/buggy/tests/integration/src/test/java/org/mule/test/integration/providers/quartz/QuartzFunctionalTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
49,
725,
1227,
11323,
1876,
5325,
2278,
1435,
1216,
1185,
565,
288,
3639,
1056,
4164,
273,
394,
6974,
4164,
23463,
12,
23,
1769,
3639,
4659,
1263,
642,
1263,
273,
394,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
49,
725,
1227,
11323,
1876,
5325,
2278,
1435,
1216,
1185,
565,
288,
3639,
1056,
4164,
273,
394,
6974,
4164,
23463,
12,
23,
1769,
3639,
4659,
1263,
642,
1263,
273,
394,
49... |
System.out.println("Copyright 2002 Free Software Foundation, Inc."); | System.out.println("Copyright 2005 Free Software Foundation, Inc."); | public static void version() { System.out.println("rmiregistry (" + System.getProperty("java.vm.name") + ") " + System.getProperty("java.vm.version")); System.out.println("Copyright 2002 Free Software Foundation, Inc."); System.out.println("This is free software; see the source for copying conditions. T... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/RegistryImpl.java/buggy/core/src/classpath/gnu/gnu/java/rmi/registry/RegistryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
918,
1177,
1435,
288,
202,
3163,
18,
659,
18,
8222,
2932,
8864,
577,
75,
2128,
7566,
9506,
282,
397,
2332,
18,
588,
1396,
2932,
6290,
18,
3489,
18,
529,
7923,
9506,
282,
397,
9369... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1177,
1435,
288,
202,
3163,
18,
659,
18,
8222,
2932,
8864,
577,
75,
2128,
7566,
9506,
282,
397,
2332,
18,
588,
1396,
2932,
6290,
18,
3489,
18,
529,
7923,
9506,
282,
397,
9369... |
if(args.length!=1) { return; } final PsiMethod calledMethod = psiMethodCallExpression.resolveMethod(); if(calledMethod == null) { return; } final PsiClass receiverClass = calledMethod.getContainingClass(); if(receiverClass== null) { return; } if(!"java.io.ObjectOutputStream".equals(receiverClass.getQualifiedName())) { | if(args.length!=1) { | public void visitMethodCallExpression(PsiMethodCallExpression psiMethodCallExpression) { super.visitMethodCallExpression(psiMethodCallExpression); final PsiReferenceExpression methodExpression = psiMethodCallExpression.getMethodExpression(); final String methodName = methodExpre... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4e01d68983912039e2e5a6042256db04cd656a98/NonSerializableObjectPassedToObjectStreamInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/serialization/NonSerializableObjectPassedToObjectStreamInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
12592,
2300,
12,
52,
7722,
12592,
2300,
23921,
12592,
2300,
13,
288,
5411,
2240,
18,
11658,
12592,
2300,
12,
24275,
12592,
2300,
1769,
5411,
727,
453,
7722,
2404,
2300,
707... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12592,
2300,
12,
52,
7722,
12592,
2300,
23921,
12592,
2300,
13,
288,
5411,
2240,
18,
11658,
12592,
2300,
12,
24275,
12592,
2300,
1769,
5411,
727,
453,
7722,
2404,
2300,
707... |
public HeaderSectionPage_1(final PageParameters parameters) | public HeaderSectionPage_1() | public HeaderSectionPage_1(final PageParameters parameters) { } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/0fdf3c0295a9652408915ea02c10f339dc24347f/HeaderSectionPage_1.java/clean/wicket/src/test/wicket/markup/parser/filter/HeaderSectionPage_1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4304,
5285,
1964,
67,
21,
1435,
225,
202,
95,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
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,
482,
4304,
5285,
1964,
67,
21,
1435,
225,
202,
95,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
throw new PluginConfigurationException( "Unable to parse the created DOM for plugin configuration", e ); | throw new PluginConfigurationException( mojoDescriptor.getPluginDescriptor(), "Unable to parse the created DOM for plugin configuration", e ); | private void populatePluginFields( Mojo plugin, MojoDescriptor mojoDescriptor, PlexusConfiguration configuration, PlexusContainer pluginContainer, ExpressionEvaluator expressionEvaluator ) throws PluginConfigurationException { ComponentConfigurator configurator... | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/63b3f71f6d4ab4ca0093d626eb5551c5c567120a/DefaultPluginManager.java/buggy/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
3773,
2314,
12,
15931,
1909,
16,
15931,
3187,
312,
10007,
3187,
16,
453,
4149,
407,
1750,
1664,
16,
4766,
4202,
453,
4149,
407,
2170,
1909,
2170,
16,
5371,
15876,
2652,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
3773,
2314,
12,
15931,
1909,
16,
15931,
3187,
312,
10007,
3187,
16,
453,
4149,
407,
1750,
1664,
16,
4766,
4202,
453,
4149,
407,
2170,
1909,
2170,
16,
5371,
15876,
2652,
1... |
public void setToken(Token tok) { | public void setToken(Token tok) throws WSSPolicyException { | public void setToken(Token tok) { this.setSignatureToken(tok); } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/0c09c3eb13c82665a89f3aa9bd727527719219e4/SignatureToken.java/clean/modules/security/src/org/apache/ws/security/policy/model/SignatureToken.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
22629,
12,
1345,
946,
13,
1216,
678,
1260,
2582,
503,
288,
3639,
333,
18,
542,
5374,
1345,
12,
17692,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
22629,
12,
1345,
946,
13,
1216,
678,
1260,
2582,
503,
288,
3639,
333,
18,
542,
5374,
1345,
12,
17692,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
AllocationResult ar = pe.getReportedResult(); if(ar == null) { resultType = AR_ESTIMATED_STR; ar = pe.getEstimatedResult(); } if(ar != null) { String taskStr = buildTaskPrefixString(aTask); taskStr = taskStr + resultType + ","; if(ar.isSuccess()) { taskStr = taskStr + AR_SUCCESS_STR + ","; } else { taskStr = taskStr + ... | AllocationResult ar = pe.getReportedResult(); if(ar == null) { resultType = AR_ESTIMATED_STR; ar = pe.getEstimatedResult(); } if(ar != null) { String taskStr = buildTaskPrefixString(aTask); taskStr = taskStr + resultType + ","; if(ar.isSuccess()) { taskStr = taskStr + AR_SUCCESS_STR + ","; } else { taskStr = taskStr + ... | protected void logAllocationResult(Task aTask, boolean expandTimestamp, boolean isCountedAR) { if(aTask == null) {return;} PlanElement pe = aTask.getPlanElement(); if(pe == null) { return; } String resultType=AR_REPORTED_STR; AllocationResult ar = pe.getReportedResult(); if(ar == null) { resultType = AR_ESTIMAT... | 11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/3c5da4a17db473b8f1094089e88e37b446b21e3b/LogisticsInventoryFormatter.java/buggy/bbn/src/org/cougaar/logistics/plugin/inventory/LogisticsInventoryFormatter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
613,
17353,
1253,
12,
2174,
279,
2174,
16,
1250,
4542,
4921,
16,
1250,
353,
1380,
329,
985,
13,
288,
202,
430,
12,
69,
2174,
422,
446,
13,
288,
2463,
31,
97,
202,
5365,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
613,
17353,
1253,
12,
2174,
279,
2174,
16,
1250,
4542,
4921,
16,
1250,
353,
1380,
329,
985,
13,
288,
202,
430,
12,
69,
2174,
422,
446,
13,
288,
2463,
31,
97,
202,
5365,
104... |
Class cl = super.loadClass(fixed_name); Main.debug(dbgID + " returns class " + cl.getName()); | Object o = loadedClasses.get(fixed_name); if (o != null) { Main.debug("already loaded: " + o); return (Class)o; } Class cl = findClass(fixed_name); Main.debug(dbgID + " returns class " + cl.getName() + " Classloader=" + cl.getClassLoader()); | public synchronized Class loadClass( String name ) throws ClassNotFoundException { Main.debug( dbgID + "loadClass, class name = " + name ); //We need to be able to handle foo.class, so strip off the suffix String fixed_name = name; if( name.endsWith( ".class" ) ) { f... | 45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/aeb9e83fde5ffc94e7f0af6a135b96f936ca40c7/KJASAppletClassLoader.java/buggy/khtml/java/org/kde/kjas/server/KJASAppletClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1659,
16038,
12,
514,
508,
262,
1216,
10403,
565,
288,
3639,
12740,
18,
4148,
12,
28966,
734,
397,
315,
945,
797,
16,
667,
508,
273,
315,
397,
508,
11272,
3639,
368,
3218,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1659,
16038,
12,
514,
508,
262,
1216,
10403,
565,
288,
3639,
12740,
18,
4148,
12,
28966,
734,
397,
315,
945,
797,
16,
667,
508,
273,
315,
397,
508,
11272,
3639,
368,
3218,
1... |
closestPoint2.sub(new Vector2d(atom.getPoint2D())); | closestPoint2.sub(new Vector2d(atom.getPoint2D())); | public void distributePartners(Atom atom, AtomContainer sharedAtoms, Point2d sharedAtomsCenter, AtomContainer partners, double bondLength) { double occupiedAngle = 0; double smallestDistance = Double.MAX_VALUE; Atom[] nearestAtoms = new Atom[2]; Atom[] sortedAtoms = null; /* calculate the direction away from the ... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/9f992723c3f44cadad1a2525a16a572d7af62f39/AtomPlacer.java/buggy/src/org/openscience/cdk/layout/AtomPlacer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25722,
1988,
9646,
12,
3641,
3179,
16,
7149,
2170,
5116,
14280,
16,
4686,
22,
72,
5116,
14280,
8449,
16,
7149,
2170,
1087,
9646,
16,
1645,
8427,
1782,
13,
202,
95,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25722,
1988,
9646,
12,
3641,
3179,
16,
7149,
2170,
5116,
14280,
16,
4686,
22,
72,
5116,
14280,
8449,
16,
7149,
2170,
1087,
9646,
16,
1645,
8427,
1782,
13,
202,
95,
202,
2... |
if (rhs == DBL_MRK) { | if (rhs == UniqueTag.DOUBLE_MARK) { | private static void do_cmp(CallFrame frame, int i, int op) { Object rhs = frame.stack[i + 1]; Object lhs = frame.stack[i]; boolean result; object_compare: { number_compare: { double rDbl, lDbl; if (rhs == DBL_MRK) { ... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/00c3a706bf401545154202d57d1edaa0e2f9b8b8/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
67,
9625,
12,
1477,
3219,
2623,
16,
509,
277,
16,
509,
1061,
13,
565,
288,
3639,
1033,
7711,
273,
2623,
18,
3772,
63,
77,
397,
404,
15533,
3639,
1033,
8499,
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,
3238,
760,
918,
741,
67,
9625,
12,
1477,
3219,
2623,
16,
509,
277,
16,
509,
1061,
13,
565,
288,
3639,
1033,
7711,
273,
2623,
18,
3772,
63,
77,
397,
404,
15533,
3639,
1033,
8499,
273,
... |
if (globalContext.isSuppressed(refEntity, getShortName())) return; CommonProblemDescriptor[] descriptors = checkElement(refEntity, scope, manager, globalContext); | if (!globalContext.shouldCheck(refEntity, GlobalInspectionTool.this)) return; CommonProblemDescriptor[] descriptors = checkElement(refEntity, scope, manager, globalContext, problemDescriptionsProcessor); | public void runInspection(final AnalysisScope scope, final InspectionManager manager, final GlobalInspectionContext globalContext, final ProblemDescriptionsProcessor problemDescriptionsProcessor) { globalContext.getRefManager().iterat... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/5f5b1ed48708e53ec126bb2ca0956457df48f6e7/GlobalInspectionTool.java/buggy/inspections/openapi/com/intellij/codeInspection/GlobalInspectionTool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
14985,
12,
6385,
16318,
3876,
2146,
16,
18701,
727,
22085,
7017,
1318,
3301,
16,
18701,
727,
8510,
14985,
1042,
2552,
1042,
16,
18701,
727,
21685,
16844,
5164,
6199,
16844,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
14985,
12,
6385,
16318,
3876,
2146,
16,
18701,
727,
22085,
7017,
1318,
3301,
16,
18701,
727,
8510,
14985,
1042,
2552,
1042,
16,
18701,
727,
21685,
16844,
5164,
6199,
16844,
... |
for (int i = 0; i < loadedClasses.length; i++) { b.setVariable(loadedClasses[i].getName(), loadedClasses[i]); } | b.setVariable(GrailsApplication.APPLICATION_ID, app); b.setVariable("ctx", ctx); | public static void main(String[] args) throws Exception { ApplicationContext ctx = GrailsUtil.bootstrapGrailsFromClassPath(); GrailsApplication app = (GrailsApplication)ctx.getBean(GrailsApplication.APPLICATION_ID); Class[] loadedClasses = app.getAllClasses(); Binding b = new Binding(); for (int i = 0; i < ... | 52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/04f84d40684d8785499ed04d6996fd9f05dec7c0/InteractiveShell.java/buggy/src/commons/grails/ui/InteractiveShell.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
9506,
202,
28278,
1103,
273,
10812,
14573,
1304,
18,
12722,
14571,
14573,
1265,
22158,
5621,
202,
202,
14571,
14573,
3208,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
9506,
202,
28278,
1103,
273,
10812,
14573,
1304,
18,
12722,
14571,
14573,
1265,
22158,
5621,
202,
202,
14571,
14573,
3208,... |
if (oldwidth != width || oldheight != height) | if (isShowing () && (oldwidth != width || oldheight != height)) | public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/cdb624bf4a3742cc4374523f5c6856a06dcd8f92/Component.java/buggy/core/src/classpath/java/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
6985,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
225,
288,
565,
509,
1592,
92,
273,
333,
18,
92,
31,
565,
509,
1592,
93,
273,
333,
18,
93,
31,
565,
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,
282,
1071,
918,
6985,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
225,
288,
565,
509,
1592,
92,
273,
333,
18,
92,
31,
565,
509,
1592,
93,
273,
333,
18,
93,
31,
565,
5... |
if (f == null) continue; if (f.isDirectory ()) | if (f == null) continue; if (f.isDirectory()) | private ArrayList scanDirectory (File path) { Debug.trace ("scanning directory " + path.getAbsolutePath()); ArrayList result = new ArrayList (); if (! path.isDirectory ()) return result; File[] entries = path.listFiles (); for (int i = 0; i < entries.length; i++) { File f = entries[i]; ... | 54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/CompileWorker.java/clean/src/lib/com/izforge/izpack/installer/CompileWorker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
2407,
4135,
2853,
261,
812,
589,
13,
225,
288,
565,
4015,
18,
5129,
7566,
1017,
10903,
1867,
315,
397,
589,
18,
588,
10368,
743,
10663,
565,
2407,
563,
273,
394,
2407,
261,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2407,
4135,
2853,
261,
812,
589,
13,
225,
288,
565,
4015,
18,
5129,
7566,
1017,
10903,
1867,
315,
397,
589,
18,
588,
10368,
743,
10663,
565,
2407,
563,
273,
394,
2407,
261,
1769,
... |
return new int[] {((Integer)indexes).intValue()}; | final int index = ((Integer)indexes).intValue(); return index < 0 ? new int[0] : new int[] {index}; | public int[] getSelectedIndexes(final Object indexes) { if (indexes == null) { return new int[0]; } if (!indexField.isMultiple()) { return new int[] {((Integer)indexes).intValue()}; } if (indexField.isPrimitiveArray()) { final int[] intIndexes = (int[]) indexes; ... | 4173 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4173/4cd5ba961bfde4f82d216e3776542aaba5d36a57/DataProviderMetadata.java/buggy/genesis/modules/client/src/net/java/dev/genesis/ui/metadata/DataProviderMetadata.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
509,
8526,
16625,
8639,
12,
6385,
1033,
5596,
13,
288,
1377,
309,
261,
11265,
422,
446,
13,
288,
540,
327,
394,
509,
63,
20,
15533,
1377,
289,
1377,
309,
16051,
1615,
974,
18,
291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
509,
8526,
16625,
8639,
12,
6385,
1033,
5596,
13,
288,
1377,
309,
261,
11265,
422,
446,
13,
288,
540,
327,
394,
509,
63,
20,
15533,
1377,
289,
1377,
309,
16051,
1615,
974,
18,
291... |
asm.emitCMPI (T3, VM_Constants.STACKFRAME_SENTINAL_FP.toInt()); | asm.emitCMPI (T3, VM_Constants.STACKFRAME_SENTINEL_FP.toInt()); | static void generateGlueCodeForJNIMethod(VM_Assembler asm, VM_Method mth) { int offset; asm.emitSTWU(FP,-JNI_GLUE_FRAME_SIZE,FP); // buy the glue frame // we may need to save CR in the previous frame also if CR will be used // CR is to be saved at FP+4 in the previous frame // Here we check if this... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/56e6af52d64dea2f4859f51de1f23393ff707147/VM_JNICompiler.java/clean/rvm/src/vm/arch/powerPC/jni/VM_JNICompiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
2103,
21308,
344,
1085,
1290,
46,
50,
45,
1305,
12,
7397,
67,
1463,
5747,
749,
20415,
16,
8251,
67,
1305,
312,
451,
13,
288,
565,
509,
1384,
31,
565,
20415,
18,
18356,
882,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
2103,
21308,
344,
1085,
1290,
46,
50,
45,
1305,
12,
7397,
67,
1463,
5747,
749,
20415,
16,
8251,
67,
1305,
312,
451,
13,
288,
565,
509,
1384,
31,
565,
20415,
18,
18356,
882,
... |
_t = __t1499; | _t = __t1503; | public final void getkeyvaluestate(AST _t) throws RecognitionException { AST getkeyvaluestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1499 = _t; AST tmp1111_AST_in = (AST)_t; match(_t,GETKEYVALUE); _t = _t.getFirstChild(); AST tmp1112_AST_in = (AST)_t; match(_t,SECTION); _t = _t.getNextSibling();... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
336,
856,
4531,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
336,
856,
4531,
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,
336,
856,
4531,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
336,
856,
4531,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
... |
Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } | setResult(ConstAdditiveExpression); break; } | public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(... | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/56cdb14fdb9589988a93eb9a76aae3872ab98272/X10Parser.java/buggy/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,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... |
String subPath = srcFile.substring(0,slashPos); | String subPath = srcFile.substring(0, slashPos); | private String convertToRelative(String srcFile, String base) { String slash = System.getProperty("file.separator"); if (FILE_IGNORE_CASE) { srcFile = srcFile.toLowerCase(); base = base.toLowerCase(); } if (base.equals(srcFile)) return "."; if (!base.endsWith(slash)) base = base + slash; if (base.leng... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/Project.java/clean/findbugs/src/java/edu/umd/cs/findbugs/Project.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8137,
8574,
12,
780,
24672,
16,
514,
1026,
13,
288,
202,
202,
780,
9026,
273,
2332,
18,
588,
1396,
2932,
768,
18,
11287,
8863,
202,
202,
430,
261,
3776,
67,
20118,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8137,
8574,
12,
780,
24672,
16,
514,
1026,
13,
288,
202,
202,
780,
9026,
273,
2332,
18,
588,
1396,
2932,
768,
18,
11287,
8863,
202,
202,
430,
261,
3776,
67,
20118,
67,
... |
DefaultMutableTreeNode ret = null; | public DefaultMutableTreeNode getNodeForCode(String code) { DefaultMutableTreeNode ret = null; DefaultMutableTreeNode root = (DefaultMutableTreeNode) tree.getModel() .getRoot(); SymbolPart sp = (SymbolPart) root.getUserObject(); if (Debug.debugging(... | 3071 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3071/60bd0949a623dd205fde69555642fa259d242be4/SymbolChooser.java/clean/src/openmap/com/bbn/openmap/tools/symbology/milStd2525/SymbolChooser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
2989,
19536,
12513,
5973,
1290,
1085,
12,
780,
981,
13,
288,
15604,
2989,
19536,
12513,
1365,
273,
261,
1868,
19536,
12513,
13,
2151,
18,
588,
1488,
1435,
10792,
263,
588,
2375,
5621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2989,
19536,
12513,
5973,
1290,
1085,
12,
780,
981,
13,
288,
15604,
2989,
19536,
12513,
1365,
273,
261,
1868,
19536,
12513,
13,
2151,
18,
588,
1488,
1435,
10792,
263,
588,
2375,
5621,... | |
nextPage.setMessage("<B>Are you sure you want to delete the following "+d2wContext().valueForKey("displayNameForEntity")+"</B>:<br> "+object().userPresentableDescription()+ " ?"); | nextPage.setMessage("Are you sure you want to delete the following "+d2wContext().valueForKey("displayNameForEntity")+":<br> "+object().userPresentableDescription()+ " ?"); | public WOComponent deleteObjectAction() { // FIXME: Shouldn't ave a hard dependency on names here. String confirmConfigurationName=(String)d2wContext().valueForKey("confirmConfigurationName"); if(confirmConfigurationName!=null){ ConfirmPageInterface nextPage = (ConfirmPageInterface)D... | 46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/ab1133abd34a698d2389d109b77eaec57e76ee4e/ERD2WListPage.java/clean/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WListPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
678,
51,
1841,
1430,
921,
1803,
1435,
288,
3639,
368,
9852,
30,
9363,
82,
1404,
279,
537,
279,
7877,
4904,
603,
1257,
2674,
18,
3639,
514,
6932,
1750,
461,
28657,
780,
13,
72,
22,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
678,
51,
1841,
1430,
921,
1803,
1435,
288,
3639,
368,
9852,
30,
9363,
82,
1404,
279,
537,
279,
7877,
4904,
603,
1257,
2674,
18,
3639,
514,
6932,
1750,
461,
28657,
780,
13,
72,
22,... |
private static int indexFromString(String str) { /* It must be a string. */ | private static long indexFromString(String str) { final int MAX_VALUE_LENGTH = 10; | private static int indexFromString(String str) { /* It must be a string. */ int len = str.length(); char c; boolean negate = false; int i = 0; if (len > 0 && (c = str.charAt(0)) == '-') { negate = true; i = 1; } if (len > 0 && '0' <= (c =... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/a73c6e75ae2fab8328356d16318be7fab782905c/ScriptRuntime.java/clean/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
770,
9193,
12,
780,
609,
13,
288,
3639,
1748,
2597,
1297,
506,
279,
533,
18,
1195,
3639,
509,
562,
273,
609,
18,
2469,
5621,
3639,
1149,
276,
31,
3639,
1250,
15626,
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,
3238,
760,
509,
770,
9193,
12,
780,
609,
13,
288,
3639,
1748,
2597,
1297,
506,
279,
533,
18,
1195,
3639,
509,
562,
273,
609,
18,
2469,
5621,
3639,
1149,
276,
31,
3639,
1250,
15626,
273,... |
final List rules = new ArrayList(); final Iterator i = this.projectRuleSet.getRules().iterator(); while (i.hasNext()) { final Rule rule = (Rule) i.next(); rules.add(new RuleSpecTO(rule.getName(), rule.getRuleSetName())); | if (this.ruleSetStoredInProject) { this.loadRuleSetFromProject(); } else { final List rules = new ArrayList(); final Iterator i = this.projectRuleSet.getRules().iterator(); while (i.hasNext()) { final Rule rule = (Rule) i.next(); rules.add(new RuleSpecTO(rule.getName(), rule.getRuleSetName())); } bean.setRules((RuleSpe... | private void saveProperties() throws DAOException { final ProjectPropertiesTO bean = new ProjectPropertiesTO(); bean.setRuleSetStoredInProject(this.ruleSetStoredInProject); bean.setWorkingSetName(this.projectWorkingSet == null ? null : this.projectWorkingSet.getName()); f... | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/c525b77b32e3f300a8d2f7945e0a0696a6dc9504/ProjectPropertiesModelImpl.java/buggy/pmd-eclipse/src/net/sourceforge/pmd/eclipse/model/ProjectPropertiesModelImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1923,
2297,
1435,
1216,
463,
20463,
503,
288,
5411,
727,
5420,
2297,
4296,
3931,
273,
394,
5420,
2297,
4296,
5621,
5411,
3931,
18,
542,
21474,
18005,
382,
4109,
12,
2211,
18,
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,
918,
1923,
2297,
1435,
1216,
463,
20463,
503,
288,
5411,
727,
5420,
2297,
4296,
3931,
273,
394,
5420,
2297,
4296,
5621,
5411,
3931,
18,
542,
21474,
18005,
382,
4109,
12,
2211,
18,
5... |
hashClass.defineMethod("include?", CallbackFactory.getMethod(RubyHash.class, "has_key", RubyObject.class)); hashClass.defineMethod("member?", CallbackFactory.getMethod(RubyHash.class, "has_key", RubyObject.class)); hashClass.defineMethod("has_key?", CallbackFactory.getMethod(RubyHash.class, "has_key", RubyObject.class)... | public static RubyClass createHashClass(Ruby ruby) { RubyClass hashClass = ruby.defineClass("Hash", ruby.getClasses().getObjectClass());// rb_include_module(rb_cHash, rb_mEnumerable); hashClass.defineSingletonMethod("new", CallbackFactory.getOptSingletonMethod(RubyHash.class, "newInstance")); h... | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/6f48980923c4b06bac2890165c858310895f9a14/RubyHash.java/buggy/org/jruby/RubyHash.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
19817,
797,
752,
2310,
797,
12,
54,
10340,
22155,
13,
288,
2816,
797,
18,
11255,
1305,
2932,
6702,
35,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
2310,
18,
1106,
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,
760,
19817,
797,
752,
2310,
797,
12,
54,
10340,
22155,
13,
288,
2816,
797,
18,
11255,
1305,
2932,
6702,
35,
3113,
8444,
1733,
18,
588,
1305,
12,
54,
10340,
2310,
18,
1106,
16,... | |
else if (name.equals(Constants.DOM_NAMESPACES)) { | else if (name.equalsIgnoreCase(Constants.DOM_NAMESPACES)) { | public Object getParameter(String name) throws DOMException { // REVISIT: Recognizes DOM L3 default features only. // Does not yet recognize Xerces features. if (name.equals(Constants.DOM_COMMENTS)) { return ((features & COMMENTS) != 0) ? Boolean.TRUE : Boolean.FALSE; } else if (name.equals(Constants.D... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f00018a29b68d07b04fbc24df9c69aaca3f6bfc4/DOMConfigurationImpl.java/clean/src/org/apache/xerces/dom/DOMConfigurationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
5575,
12,
780,
508,
13,
1216,
4703,
503,
288,
202,
202,
759,
2438,
26780,
1285,
30,
7776,
4198,
3128,
4703,
511,
23,
805,
4467,
1338,
18,
202,
202,
759,
1850,
9637,
486,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5575,
12,
780,
508,
13,
1216,
4703,
503,
288,
202,
202,
759,
2438,
26780,
1285,
30,
7776,
4198,
3128,
4703,
511,
23,
805,
4467,
1338,
18,
202,
202,
759,
1850,
9637,
486,... |
filepath + ":58:36: ')' is preceeded by whitespace.", | filepath + ":58:36: ')' is preceeded with whitespace.", | public void testWhitespace() throws Exception { mConfig.setBooleanProperty(Defn.IGNORE_CAST_WHITESPACE_PROP, false); mConfig.setParenPadOption(PadOption.NOSPACE); mConfig.setBlockOptionProperty(Defn.TRY_BLOCK_PROP, BlockOption.IGNORE); mConfig.setBlockOptionProperty(Defn.CATCH_... | 50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/513205d86a53fb1b65da8613563fa177bd5f4882/CheckerTest.java/buggy/src/tests/com/puppycrawl/tools/checkstyle/CheckerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9431,
1435,
3639,
1216,
1185,
565,
288,
3639,
312,
809,
18,
542,
5507,
1396,
12,
3262,
82,
18,
20118,
67,
21871,
67,
20767,
67,
15811,
16,
629,
1769,
3639,
312,
809,
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,
1842,
9431,
1435,
3639,
1216,
1185,
565,
288,
3639,
312,
809,
18,
542,
5507,
1396,
12,
3262,
82,
18,
20118,
67,
21871,
67,
20767,
67,
15811,
16,
629,
1769,
3639,
312,
809,
18... |
enums = new Property[200]; | enums = new Property[ENUM_COUNT+1]; | private Property makeEnumProperty(int enumValue) { if (enums == null) { enums = new Property[200]; } if (enums[enumValue] == null) { enums[enumValue] = new EnumProperty(enumValue); } return enums[enumValue]; } | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/56f3fec2eefe0a0960e0807c2affd646ec8b87c1/FOPropertyMapping.java/clean/src/java/org/apache/fop/fo/FOPropertyMapping.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4276,
1221,
3572,
1396,
12,
474,
2792,
620,
13,
288,
3639,
309,
261,
7924,
87,
422,
446,
13,
288,
5411,
17922,
273,
394,
4276,
63,
16509,
67,
7240,
15,
21,
15533,
3639,
289,
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,
4276,
1221,
3572,
1396,
12,
474,
2792,
620,
13,
288,
3639,
309,
261,
7924,
87,
422,
446,
13,
288,
5411,
17922,
273,
394,
4276,
63,
16509,
67,
7240,
15,
21,
15533,
3639,
289,
3639,... |
public void onSuccess(ClientPutState state) { | public synchronized void onSuccess(ClientPutState state) { | public void onSuccess(ClientPutState state) { cb.onEncode(pubUSK.copy(edition), this); cb.onSuccess(this); synchronized(this) { finished = true; sbi = null; } FreenetURI targetURI = pubUSK.getSSK(edition).getURI(); FreenetURI realURI = ((SingleBlockInserter)state).getURI(); if(!targetURI.equals(realURI)) ... | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/USKInserter.java/buggy/src/freenet/client/async/USKInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20613,
12,
1227,
6426,
1119,
919,
13,
288,
202,
202,
7358,
18,
265,
5509,
12,
10174,
3378,
47,
18,
3530,
12,
329,
608,
3631,
333,
1769,
202,
202,
7358,
18,
265,
4510,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20613,
12,
1227,
6426,
1119,
919,
13,
288,
202,
202,
7358,
18,
265,
5509,
12,
10174,
3378,
47,
18,
3530,
12,
329,
608,
3631,
333,
1769,
202,
202,
7358,
18,
265,
4510,
1... |
if (isCacheContexts() && !requireClientSubmission) { cacheContainingDocument(pipelineContext, staticStateString, newEncodedDynamicState, containingDocument); | if (isCacheContexts()) { if (!requireClientSubmission) { cacheContainingDocument(pipelineContext, staticStateString, newEncodedDynamicState, containingDocument); } else { final ObjectPool objectPool = containingDocument.getSourceObjectPool(); if (objectPool != null) { logger.debug("XForms - containing document cach... | private void doIt(final PipelineContext pipelineContext, ContentHandler contentHandler) { // Extract information from request final Document requestDocument = readInputAsDOM4J(pipelineContext, INPUT_REQUEST); // Get static state final String staticStateString; { final E... | 54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/a6eb47de417fd6cf006fa4e9c8c250cb033f744f/XFormsServer.java/clean/src/java/org/orbeon/oxf/xforms/XFormsServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
7193,
12,
6385,
13671,
1042,
5873,
1042,
16,
3697,
1503,
913,
1503,
13,
288,
3639,
368,
8152,
1779,
628,
590,
3639,
727,
4319,
590,
2519,
273,
855,
1210,
1463,
8168,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
7193,
12,
6385,
13671,
1042,
5873,
1042,
16,
3697,
1503,
913,
1503,
13,
288,
3639,
368,
8152,
1779,
628,
590,
3639,
727,
4319,
590,
2519,
273,
855,
1210,
1463,
8168,
24,
... |
rootAppearance.setAttribute( CommonAttributes.BACKGROUND_COLORS, upColor != null && downColor != null ? new Color[]{upColor, upColor, downColor, downColor} : Appearance.INHERITED ); Matrix m = new Matrix(avatarNode.getTransformation()); AABBPickSystem ps = new AABBPickSystem(); ps.setSceneRoot(terrainNode); double[] p... | Matrix m = new Matrix(avatarNode.getTransformation()); AABBPickSystem ps = new AABBPickSystem(); ps.setSceneRoot(terrainNode); double[] pos = m.getColumn(3); double[] dest = pos.clone(); dest[1]-=1.5; List<PickResult> picks = ps.computePick(pos, dest); if (picks.isEmpty()) { picks = ps.computePick(pos, new double[]{0,1... | private void updateLandscape() { ImageData[] cubeMap = landscape.getCubeMap(); Color upColor = landscape.getUpColor(); Color downColor = landscape.getDownColor(); String diffCol = CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.DIFFUSE_COLOR; Color currentDiffuseColor = (Color) contentAppearance.getAttribu... | 25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/4f9531bd0811b916517ab726c75c4f05a58d1173/ViewerVR.java/clean/src-vr/de/jreality/vr/ViewerVR.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
29398,
12476,
1435,
288,
202,
202,
2040,
751,
8526,
18324,
863,
273,
19193,
12476,
18,
588,
39,
4895,
863,
5621,
202,
202,
2957,
731,
2957,
273,
19193,
12476,
18,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
29398,
12476,
1435,
288,
202,
202,
2040,
751,
8526,
18324,
863,
273,
19193,
12476,
18,
588,
39,
4895,
863,
5621,
202,
202,
2957,
731,
2957,
273,
19193,
12476,
18,
58... |
if (theme != null && !templateDir.endsWith(FILE_SEPARATOR) && !theme.startsWith(FILE_SEPARATOR) ) { | if (theme != null && !templateDir.endsWith(FILE_SEPARATOR) && !theme.startsWith(FILE_SEPARATOR)) { | protected String buildTemplateName(String myTemplate, String myDefaultTemplate) { String template = myDefaultTemplate; if (myTemplate != null) { template = findString(myTemplate); if (template == null) { LOG.warn("template attribute evaluated to null; using value a... | 15560 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15560/7043ff728a4e7f565213be22ecab23cb4d6d639a/UIBean.java/clean/src/java/com/opensymphony/webwork/components/UIBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
1361,
28917,
12,
780,
3399,
2283,
16,
514,
3399,
1868,
2283,
13,
288,
3639,
514,
1542,
273,
3399,
1868,
2283,
31,
3639,
309,
261,
4811,
2283,
480,
446,
13,
288,
5411,
1542,
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,
377,
4750,
514,
1361,
28917,
12,
780,
3399,
2283,
16,
514,
3399,
1868,
2283,
13,
288,
3639,
514,
1542,
273,
3399,
1868,
2283,
31,
3639,
309,
261,
4811,
2283,
480,
446,
13,
288,
5411,
1542,
2... |
pointcuts.addAll(aspect.getGetFieldPointcuts(className, fieldMetaData)); | pointcuts.addAll(aspect.getGetFieldPointcuts(classMetaData, fieldMetaData)); | public List getGetFieldPointcuts(final String className, final FieldMetaData fieldMetaData) { if (className == null) throw new IllegalArgumentException("class name can not be null"); if (fieldMetaData == null) throw new IllegalArgumentException("field meta-data can ... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/797e662bcd4bca47d6ac84f41fbf32bf15013a33/AspectWerkz.java/buggy/aspectwerkz/src/main/org/codehaus/aspectwerkz/AspectWerkz.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
967,
974,
2148,
5150,
87,
12,
6385,
514,
2658,
16,
19694,
727,
2286,
6998,
652,
6998,
13,
288,
3639,
309,
261,
12434,
422,
446,
13,
604,
394,
2754,
2932,
1106,
508,
848,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
336,
967,
974,
2148,
5150,
87,
12,
6385,
514,
2658,
16,
19694,
727,
2286,
6998,
652,
6998,
13,
288,
3639,
309,
261,
12434,
422,
446,
13,
604,
394,
2754,
2932,
1106,
508,
848,... |
GridData gridData = new GridData( ); | GridData gridData = new GridData( GridData.FILL_BOTH ); | private void buildUI( Composite parent ) { // sets the layout GridLayout layout = new GridLayout( ); layout.horizontalSpacing = 10; layout.verticalSpacing = 10; parent.setLayout( layout ); // create table and tableViewer table = new Table( parent, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.F... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/58a61a83a3786539ef48c8634a226924baa4fbcb/ReportItemParametersDialog.java/clean/chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/dialogs/ReportItemParametersDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1361,
5370,
12,
14728,
982,
262,
202,
95,
202,
202,
759,
1678,
326,
3511,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
11272,
202,
202,
6741,
18,
18396,
18006,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5370,
12,
14728,
982,
262,
202,
95,
202,
202,
759,
1678,
326,
3511,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
11272,
202,
202,
6741,
18,
18396,
18006,
... |
RubyArray array = newArray(recv.getRuntime()); | RubyArray array = recv.getRuntime().newArray(); | public static RubyArray newInstance(IRubyObject recv, IRubyObject[] args) { RubyArray array = newArray(recv.getRuntime()); array.setMetaClass((RubyClass) recv); array.callInit(args); return array; } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArray.java/clean/src/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
1076,
5984,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
19817,
1076,
526,
273,
10665,
18,
588,
5576,
7675,
2704,
1076,
5621,
3639,
526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
1076,
5984,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
19817,
1076,
526,
273,
10665,
18,
588,
5576,
7675,
2704,
1076,
5621,
3639,
526,
... |
unmarshaller.getContentHandler(unmarshalHandler)); | Unmarshaller.getContentHandler(unmarshalHandler)); | public void setup(SourceResolver resolver, Map objectmodel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException { System.out.println("setup"); this.resolver = resolver; Store store = null; try { this.grammar = src; this.grammarSource = resolver.resolve... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/1d238bd827c8af96d651b7f5320ed0f25b34948b/ExtendedParserTransformer.java/buggy/src/blocks/chaperon/java/org/apache/cocoon/transformation/ExtendedParserTransformer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3875,
12,
1830,
4301,
5039,
16,
1635,
733,
2284,
16,
514,
1705,
16,
7012,
1472,
13,
565,
1216,
19652,
503,
16,
14366,
16,
1860,
225,
288,
565,
2332,
18,
659,
18,
8222,
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,
282,
1071,
918,
3875,
12,
1830,
4301,
5039,
16,
1635,
733,
2284,
16,
514,
1705,
16,
7012,
1472,
13,
565,
1216,
19652,
503,
16,
14366,
16,
1860,
225,
288,
565,
2332,
18,
659,
18,
8222,
2932,
... |
list.addAll((int) beg, repList); | list.addAll((int) beg, new ArrayList(repList)); | public void replace(long beg, long len, RubyObject repl) { int length = getLength(); if (len < 0) { throw new RubyIndexException(getRuby(), "Negative array length: " + len); } if (beg < 0) { beg += length; } if (beg < 0) { throw new RubyInde... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/2f13ba47385b7584839c7f6f6f1abfee251cbe53/RubyArray.java/clean/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1453,
12,
5748,
16847,
16,
1525,
562,
16,
19817,
921,
6831,
13,
288,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
1897,
411,
374,
13,
288,
5411,
604,
394,
19817,
1016,
50... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1453,
12,
5748,
16847,
16,
1525,
562,
16,
19817,
921,
6831,
13,
288,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
1897,
411,
374,
13,
288,
5411,
604,
394,
19817,
1016,
50... |
if (!bodyWriteOnly) | if (bodyReadOnly) | public void writeString(String value) throws JMSException { if (!bodyWriteOnly) throw new MessageNotWriteableException("The message body is readonly"); if (value == null) ((List)payload).add(null); else ((List)payload).add(value); } | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/f957880e3959fea3b4f38d9dbb1e5dd0c710c09e/JBossStreamMessage.java/buggy/src/main/org/jboss/jms/message/JBossStreamMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
12967,
12,
780,
460,
13,
1216,
20343,
282,
288,
1377,
309,
261,
3432,
12066,
13,
540,
604,
394,
2350,
1248,
3067,
429,
503,
2932,
1986,
883,
1417,
353,
17102,
8863,
1377,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
12967,
12,
780,
460,
13,
1216,
20343,
282,
288,
1377,
309,
261,
3432,
12066,
13,
540,
604,
394,
2350,
1248,
3067,
429,
503,
2932,
1986,
883,
1417,
353,
17102,
8863,
1377,
309,
... |
newArgs[0] = RubySymbol.newSymbol(runtime, name); | newArgs[0] = RubySymbol.newSymbol(getRuntime(), name); | private IRubyObject callMethodMissing(IRubyObject receiver, String name, IRubyObject[] args) { if (name == "method_missing") { runtime.getFrameStack().push(); try { return receiver.method_missing(args); } finally { runtime.getFrameStack().pop(); ... | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyModule.java/buggy/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
15908,
10340,
921,
745,
1305,
4841,
12,
7937,
10340,
921,
5971,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
529,
422,
315,
2039,
67,
7337,
7923,
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,
15908,
10340,
921,
745,
1305,
4841,
12,
7937,
10340,
921,
5971,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
529,
422,
315,
2039,
67,
7337,
7923,
288,
... |
return getDataModel().getStringProperty(COMPONENT_NAME); } | return getDataModel().getStringProperty(COMPONENT_NAME); } | public String getModuleName() { return getDataModel().getStringProperty(COMPONENT_NAME); } | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/adfedea2b23b364bbd7b56fa3578ef4f83a91f15/J2EEComponentCreationDataModelProvider.java/clean/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/J2EEComponentCreationDataModelProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11251,
461,
1435,
288,
202,
202,
2463,
4303,
1488,
7675,
588,
780,
1396,
12,
22922,
67,
1985,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11251,
461,
1435,
288,
202,
202,
2463,
4303,
1488,
7675,
588,
780,
1396,
12,
22922,
67,
1985,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
for( int i = 0; i < this.columns.size(); i++ ) { ColumnTag tag = (ColumnTag)this.columns.get( i ); | buf.append("<th"); if (tag.getWidth() != null) buf.append(" width=\"" + tag.getWidth() + "\""); | private String getTableHeader() { StringBuffer buf = new StringBuffer( 1000 ); int pagesizeValue = this.getPagesizeValue(); HttpServletRequest req = (HttpServletRequest)this.pageContext.getRequest(); String url = this.requestURI; if( url == null ) { url = req.getRequestURI(); ... | 7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/a71dc315013464c01719d449044bb7645788f6e6/TableTag.java/clean/_OLD/displaytag08/src/org/apache/taglibs/display/TableTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
514,
5638,
1864,
1435,
282,
288,
1377,
6674,
1681,
273,
394,
6674,
12,
4336,
11272,
1377,
509,
4689,
554,
620,
273,
333,
18,
588,
5716,
554,
620,
5621,
1377,
9984,
1111,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
514,
5638,
1864,
1435,
282,
288,
1377,
6674,
1681,
273,
394,
6674,
12,
4336,
11272,
1377,
509,
4689,
554,
620,
273,
333,
18,
588,
5716,
554,
620,
5621,
1377,
9984,
1111,
273,
261,
... |
sB.append((char)c); | sB.append((char)c); | public String readLine(String endLine) { if (endLine == null || endLine.length() ==0) { if ( readLine(sB)) return sB.toString(); else return null; } sB.setLength(0); if (inStream==null) {return null; } else { try { if (remnantString.length() >0) { sB.append(remnantString.toString()); } ... | 57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/a6cca3dab0a6fd887ee6bde71a8709e5bfbd4434/MesquiteFile.java/buggy/releases/current/Mesquite Project/Source/mesquite/lib/MesquiteFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
12273,
12,
780,
31763,
13,
288,
202,
202,
430,
261,
409,
1670,
422,
446,
747,
31763,
18,
2469,
1435,
422,
20,
13,
225,
288,
1082,
202,
430,
261,
12273,
12,
87,
38,
3719... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12273,
12,
780,
31763,
13,
288,
202,
202,
430,
261,
409,
1670,
422,
446,
747,
31763,
18,
2469,
1435,
422,
20,
13,
225,
288,
1082,
202,
430,
261,
12273,
12,
87,
38,
3719... |
public abstract Isect intersect(Ray ry); | public abstract Isect intersect(Ray ray); | public abstract Isect intersect(Ray ry); | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/80a90996a87b23c561b5cc820ea57e1356c218b2/Primitive.java/buggy/src/org/objectweb/proactive/examples/c3d/prim/Primitive.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8770,
467,
5709,
9136,
12,
54,
528,
16826,
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,
... | [
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,
8770,
467,
5709,
9136,
12,
54,
528,
16826,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
System.out.println("index: " + index + " section.getName: " + ((InfoSection)allSections.get(index.intValue())).getName()); | System.out.println( "index: " + index + " section.getName: " + ((InfoSection) allSections.get(index.intValue())).getName()); | public ActionForward changeParent(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException { HttpSession session = request.getSession(); DynaActionForm sectionForm = (DynaValidatorForm) form; String sectionName = (String) sectionForm.get("name... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/4db3655eef9c9497c9847d2e335c01f532c42e41/EditSectionDispatchAction.java/clean/src/ServidorApresentacao/Action/teacher/EditSectionDispatchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
2549,
3054,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
9984,
590,
16,
12446,
766,
13,
202,
202,
15069,
478,
275,
697,
1803,
503,
288,
1082,
202,
2940,
2157,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4382,
8514,
2549,
3054,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
9984,
590,
16,
12446,
766,
13,
202,
202,
15069,
478,
275,
697,
1803,
503,
288,
1082,
202,
2940,
2157,
13... |
ls.attach((Light) spatialLights.get(i)); | ls.attach( spatialLight ); | public Node buildScene() throws IOException { buildObject(); putTranslations(); Node uberNode=new Node("TDS Scene"); LightState ls=null; for (int i=0;i<spatialNodes.size();i++){ if (spatialNodes.get(i) instanceof Spatial){ Spatial toAttach=(Spatial)spatia... | 19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/7bcc0cbf7d1d5d18c8a9da62c8cfd3cc911d9cba/TDSFile.java/buggy/src/com/jmex/model/XMLparser/Converters/TDSChunkingFiles/TDSFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
1361,
14370,
1435,
1216,
1860,
288,
3639,
1361,
921,
5621,
3639,
1378,
12297,
5621,
3639,
2029,
13910,
264,
907,
33,
2704,
2029,
2932,
56,
3948,
29347,
8863,
3639,
15992,
1119,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
1361,
14370,
1435,
1216,
1860,
288,
3639,
1361,
921,
5621,
3639,
1378,
12297,
5621,
3639,
2029,
13910,
264,
907,
33,
2704,
2029,
2932,
56,
3948,
29347,
8863,
3639,
15992,
1119,
... |
VM.sysWrite("\n-- System Queues -- \n"); wakeupQueue.dump(); | VM.sysWrite("\n-- System Queues -- \n"); | public static void dumpVirtualMachine() throws InterruptiblePragma { VM_Processor processor; VM.sysWrite("\n-- Processors --\n"); for (int i = 1; i <= numProcessors; ++i) { processor = processors[i]; processor.dumpProcessorState(); } // system queues VM.sysWrite("\n-- System Queue... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/0565f4f1937add6a77876b066511f3620583f009/VM_Scheduler.java/buggy/rvm/src/vm/scheduler/VM_Scheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
4657,
27454,
1435,
377,
1216,
3094,
4483,
1523,
2050,
9454,
225,
288,
565,
8251,
67,
5164,
6659,
31,
565,
8251,
18,
9499,
3067,
31458,
82,
413,
4389,
1383,
1493,
64,
82,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
4657,
27454,
1435,
377,
1216,
3094,
4483,
1523,
2050,
9454,
225,
288,
565,
8251,
67,
5164,
6659,
31,
565,
8251,
18,
9499,
3067,
31458,
82,
413,
4389,
1383,
1493,
64,
82,
... |
new ImageIcon(getClass().getResource("images/connected-small.gif")); | new ImageIcon("ui/images/connected-small.gif"); | private UIFactory() { fFolderIcon = new ImageIcon(getClass().getResource("images/folder-small.gif")); fNewsgroupIcon = new ImageIcon(getClass().getResource("images/newsgroup-small.gif")); fLocalStoreIcon = new ImageIcon(getClass().getResource("images/storeLocal-small.gif")); fRemoteStoreIco... | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/3cd6e9d81112e3ab17a910eaef36b9e56b2a8b6a/UIFactory.java/clean/grendel/sources/grendel/ui/UIFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
6484,
1733,
1435,
288,
565,
284,
3899,
5554,
273,
1377,
394,
3421,
5554,
12,
588,
797,
7675,
588,
1420,
2932,
7369,
19,
5609,
17,
12019,
18,
13905,
7923,
1769,
565,
284,
1908,
1055,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6484,
1733,
1435,
288,
565,
284,
3899,
5554,
273,
1377,
394,
3421,
5554,
12,
588,
797,
7675,
588,
1420,
2932,
7369,
19,
5609,
17,
12019,
18,
13905,
7923,
1769,
565,
284,
1908,
1055,... |
data = c.decompress(data, fetchContext.bucketFactory, Math.max(fetchContext.maxTempLength, fetchContext.maxOutputLength), out); | data = c.decompress(data, fetchContext.bucketFactory, maxLen, maxLen * 4, out); | private void finish() { try { synchronized(this) { if(finished) { Logger.error(this, "Was already finished"); return; } finished = true; } Bucket data = finalStatus(); // Decompress while(!decompressors.isEmpty()) { Compressor c = (Compressor) decompressors.removeLast(); try { Buc... | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/f466a9cbfdb3a13d7bde7e38d0a46b0f45645263/SplitFileFetcher.java/buggy/src/freenet/client/async/SplitFileFetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4076,
1435,
288,
202,
202,
698,
288,
1082,
202,
22043,
12,
2211,
13,
288,
9506,
202,
430,
12,
13527,
13,
288,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
14992,
1818,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4076,
1435,
288,
202,
202,
698,
288,
1082,
202,
22043,
12,
2211,
13,
288,
9506,
202,
430,
12,
13527,
13,
288,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
14992,
1818,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.