rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
lasttarget = -1; jpc = NO_JUMP; h = new Hashtable(); | FuncState(Syntax ls) { f = new Proto(ls.source()); L = ls.L ; prev = ls.linkfs(this); this.ls = ls; // pc = 0; lasttarget = -1; jpc = NO_JUMP; // freereg = 0; // nk = 0; // np = 0; // nlocvars = 0; // nactvar = 0; // bl = null; h = new Hashtable(); } | 47685 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47685/39c804eea03b754b9527c4834d29873104c539a1/FuncState.java/buggy/code/FuncState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
6165,
1119,
12,
8070,
7180,
13,
225,
288,
565,
284,
273,
394,
7440,
12,
3251,
18,
3168,
10663,
565,
511,
273,
7180,
18,
48,
274,
565,
2807,
273,
7180,
18,
1232,
2556,
12,
2211,
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,
6165,
1119,
12,
8070,
7180,
13,
225,
288,
565,
284,
273,
394,
7440,
12,
3251,
18,
3168,
10663,
565,
511,
273,
7180,
18,
48,
274,
565,
2807,
273,
7180,
18,
1232,
2556,
12,
2211,
1769,
... | |
Node.Target finallyTarget = tryNode.getFinally(); | Node finallyTarget = tryNode.getFinally(); | private void visitStatement(Node node) { int type = node.getType(); Node child = node.getFirstChild(); switch (type) { case Token.FUNCTION: { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); int fnType = scriptOrFn.getFunctionNode(f... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/bef182034b96d54a2938fe141217e83b8644cf25/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
3406,
12,
907,
756,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
1620,
261,
723,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
3406,
12,
907,
756,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
1620,
261,
723,
13,
288,
... |
return os.toString(); | try { return os.toString("UTF-8"); } catch (UnsupportedEncodingException ex) { s_log.error("UTF-8 encoding not supported!!!"); return os.toString(); } | public static String toString(org.w3c.dom.Document document, boolean indent) { Transformer identity; ByteArrayOutputStream os = new ByteArrayOutputStream(); try { StreamSource identitySource = new StreamSource(new StringReader(identityX... | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/92eea7f366546d8233d38e25dda883294e21e707/Document.java/buggy/archive/core-platform/src/com/arsdigita/xml/Document.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1762,
12,
3341,
18,
91,
23,
71,
18,
9859,
18,
2519,
1668,
16,
21394,
1250,
3504,
13,
288,
3639,
11519,
4215,
31,
3639,
11559,
1140,
273,
394,
11559,
5621,
3639,
775,
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,
1071,
760,
514,
1762,
12,
3341,
18,
91,
23,
71,
18,
9859,
18,
2519,
1668,
16,
21394,
1250,
3504,
13,
288,
3639,
11519,
4215,
31,
3639,
11559,
1140,
273,
394,
11559,
5621,
3639,
775,
288... |
RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; | RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; | public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if (body.getBodyNode() == null) { ary.push(getRuby().getNil()); ary.push(RubyString.m_newString(getRuby(), id.toName())); ... | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
509,
1836,
12,
921,
498,
16,
1033,
460,
16,
1033,
1501,
13,
288,
9506,
202,
759,
4812,
833,
9506,
202,
54,
10340,
548,
612,
273,
261,
54,
10340,
548,
13,
498,
31,
9506,
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,
1875,
202,
482,
509,
1836,
12,
921,
498,
16,
1033,
460,
16,
1033,
1501,
13,
288,
9506,
202,
759,
4812,
833,
9506,
202,
54,
10340,
548,
612,
273,
261,
54,
10340,
548,
13,
498,
31,
9506,
202... |
case GE: | case Operators.GE: | public void translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen) { if (hasNodeSetArgs() || hasReferenceArgs()) { translate(classGen, methodGen); desynthesize(classGen, methodGen); } else { BranchInstruction bi = null; final InstructionList il = methodGen.getInstructio... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/2d07c253b814672a82d969836d58577bfa628b88/RelationalExpr.java/clean/src/org/apache/xalan/xsltc/compiler/RelationalExpr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
6305,
878,
7915,
1235,
12,
797,
3908,
667,
7642,
16,
6862,
4202,
2985,
3908,
707,
7642,
13,
288,
202,
430,
261,
5332,
907,
694,
2615,
1435,
747,
711,
2404,
2615,
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,
377,
1071,
918,
4204,
6305,
878,
7915,
1235,
12,
797,
3908,
667,
7642,
16,
6862,
4202,
2985,
3908,
707,
7642,
13,
288,
202,
430,
261,
5332,
907,
694,
2615,
1435,
747,
711,
2404,
2615,
10756,
... |
ruby.getLastCallStatus().setPrivate(); return callMethodMissing(recv, name, args); | public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name); }... | 48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/cfb1b4132c30e5186c41e9dbf0b92acca72fcf81/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
22155,
18,
588,
3024,
1477,
1482,
7675,
542,
6014,
5621,
327,
745,
1305,
4841,
12,
18334,
16,
508,
16,
833,
1769,
22155,
18,
588,
3024,
1477,
1482,
7675,
542,
6014,
5621,
327,
745,
1305,
4841,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22155,
18,
588,
3024,
1477,
1482,
7675,
542,
6014,
5621,
327,
745,
1305,
4841,
12,
18334,
16,
508,
16,
833,
1769,
22155,
18,
588,
3024,
1477,
1482,
7675,
542,
6014,
5621,
327,
745,
1305,
4841,... | |
return null; } | return null; } | public final Component get(final String path) { // Reference to this container if (path == null || path.trim().equals("")) { return this; } // Get child's name, if any final String childName = Strings.firstPathComponent(path, '.'); // Get child by name ... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/ea253df0f24068fbb4fbff6339c23005e16c95ad/Container.java/buggy/wicket/src/java/wicket/Container.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
5435,
336,
12,
6385,
514,
589,
13,
565,
288,
3639,
368,
6268,
358,
333,
1478,
3639,
309,
261,
803,
422,
446,
747,
589,
18,
5290,
7675,
14963,
2932,
6,
3719,
3639,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
5435,
336,
12,
6385,
514,
589,
13,
565,
288,
3639,
368,
6268,
358,
333,
1478,
3639,
309,
261,
803,
422,
446,
747,
589,
18,
5290,
7675,
14963,
2932,
6,
3719,
3639,
288,
5411,
... |
CellHandle handle = ( CellHandle ) cellDesign.getHandle( ); if ( handle != null ) { ICellEventHandler eh = ( ICellEventHandler ) getInstance( ( CellHandle ) cellDesign .getHandle( ) ); if ( eh != null ) eh.onCreate( cell, rowData, context.getReportContext( ) ); } | ICellEventHandler eh = getEventHandler( cellDesign, context ); if ( eh != null ) eh.onCreate( cell, rowData, context.getReportContext( ) ); | public static void handleOnCreate( CellContent content, IRowData rowData, ExecutionContext context ) { try { ReportItemDesign cellDesign = ( ReportItemDesign ) content .getGenerateBy( ); ICellInstance cell = new CellInstance( content, context ); if ( handleJS( cell, cellDesign.getOnCreate( ), context ).d... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c0422a1db84842d1e332663c3d4c7e2a8109aca8/CellScriptExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/CellScriptExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1640,
1398,
1684,
12,
8614,
1350,
913,
16,
467,
1999,
751,
24124,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
1398,
1684,
12,
8614,
1350,
913,
16,
467,
1999,
751,
24124,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
... |
BattleEndMessage msg = new BattleEndMessage(m_defender.getName() + " win"); bridge.sendMessage(msg, m_attacker); bridge.sendMessage(msg, m_defender); | getDisplay(bridge).battleEnd(m_battleID, m_defender.getName()+ " win"); | private void defenderWins(IDelegateBridge bridge) { BattleEndMessage msg = new BattleEndMessage(m_defender.getName() + " win"); bridge.sendMessage(msg, m_attacker); bridge.sendMessage(msg, m_defender); bridge.getHistoryWriter() .addChildToEvent(m_defender... | 8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/94dcbc456ee416c732facb9e512450d43ee98531/MustFightBattle.java/buggy/src/games/strategy/triplea/delegate/MustFightBattle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1652,
2345,
59,
2679,
12,
734,
292,
4784,
13691,
10105,
13,
565,
288,
3639,
605,
4558,
298,
1638,
1079,
1234,
273,
394,
605,
4558,
298,
1638,
1079,
12,
81,
67,
536,
2345,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1652,
2345,
59,
2679,
12,
734,
292,
4784,
13691,
10105,
13,
565,
288,
3639,
605,
4558,
298,
1638,
1079,
1234,
273,
394,
605,
4558,
298,
1638,
1079,
12,
81,
67,
536,
2345,
18,... |
} | } | public boolean isCellEditable(int row,int col) { if (col == 0) return true; else return false; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
1250,
353,
4020,
15470,
12,
474,
1027,
16,
474,
645,
13,
288,
540,
309,
261,
1293,
422,
374,
13,
5411,
327,
638,
31,
540,
469,
5411,
327,
629,
31,
1377,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
1250,
353,
4020,
15470,
12,
474,
1027,
16,
474,
645,
13,
288,
540,
309,
261,
1293,
422,
374,
13,
5411,
327,
638,
31,
540,
469,
5411,
327,
629,
31,
1377,
289,
2,
-100,
-100,
-10... |
VFSManager.error(browser,"vfs.browser.mkdir-error",args); | VFSManager.error(browser,path1,"ioerror.mkdir-error",null); | private void mkdir() { try { setAbortable(true); String[] args = { path1 }; setStatus(jEdit.getProperty("vfs.status.mkdir",args)); try { path1 = vfs._canonPath(session,path1,browser); if(!vfs._mkdir(session,path1,browser)) VFSManager.error(browser,"vfs.browser.mkdir-error",args); } catch(IOEx... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/b20a306d85153e340b55107bf8a75f3d1c48f5bb/BrowserIORequest.java/clean/org/gjt/sp/jedit/browser/BrowserIORequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6535,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
542,
13572,
429,
12,
3767,
1769,
1082,
202,
780,
8526,
833,
273,
288,
589,
21,
289,
31,
1082,
202,
542,
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,
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,
6535,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
542,
13572,
429,
12,
3767,
1769,
1082,
202,
780,
8526,
833,
273,
288,
589,
21,
289,
31,
1082,
202,
542,
14... |
SchemaGrammar grammar = findSchemaGrammar( XSDDescription.CONTEXT_ATTRIBUTE , fTempQName.uri , element , fTempQName , attributes); | SchemaGrammar grammar = findSchemaGrammar( XSDDescription.CONTEXT_ATTRIBUTE , fTempQName.uri , element , fTempQName , attributes); | void processAttributes(QName element, XMLAttributes attributes, XSAttributeGroupDecl attrGrp) { // REVISIT: should we assume that XMLAttributeImpl removes // all augmentations from Augmentations? if yes.. we loose objects // if no - we always produce attribute psvi objects whic... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/cf8fca03a702621ccd014c61dde15932b0f3b075/XMLSchemaValidator.java/clean/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1207,
2498,
12,
13688,
930,
16,
3167,
2498,
1677,
16,
1139,
55,
1499,
1114,
3456,
1604,
43,
13832,
13,
288,
3639,
368,
2438,
26780,
1285,
30,
1410,
732,
6750,
716,
3167,
1499,
2828,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1207,
2498,
12,
13688,
930,
16,
3167,
2498,
1677,
16,
1139,
55,
1499,
1114,
3456,
1604,
43,
13832,
13,
288,
3639,
368,
2438,
26780,
1285,
30,
1410,
732,
6750,
716,
3167,
1499,
2828,
... |
public void opt_eol() throws RecognitionException { try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:82:17: ( ( EOL )* ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:82:17: ( EOL )* { ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/61acd40072560afada3f7897673309e5b51b402d/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2153,
67,
30951,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
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,
377,
1071,
918,
2153,
67,
30951,
1435,
1216,
9539,
288,
6647,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
6... | ||
assertEquals( IntersectionType.MIN_LITERAL, IntersectionType.get("Min") ); assertEquals( IntersectionType.MAX_LITERAL, IntersectionType.get("Max") ); assertEquals( IntersectionType.VALUE_LITERAL, IntersectionType.get("Value") ); assertNull(IntersectionType.get("No Match") ); | assertEquals( IntersectionType.MIN_LITERAL, IntersectionType.get("Min") ); assertEquals( IntersectionType.MAX_LITERAL, IntersectionType.get("Max") ); assertEquals( IntersectionType.VALUE_LITERAL, IntersectionType.get("Value") ); assertNull(IntersectionType.get("No Match") ); | public void testGet() { assertEquals( IntersectionType.MIN_LITERAL, IntersectionType.get(IntersectionType.MIN) ); assertEquals( IntersectionType.MAX_LITERAL, IntersectionType.get(IntersectionType.MAX) ); assertEquals( IntersectionType.VALUE_LITERAL, IntersectionType.get(2) ); assertNull(IntersectionType.get("3") ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e757044daa53d502ecf969354d3f5ec94aa76fd1/IntersectionTypeTest.java/clean/chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/model/attribute/IntersectionTypeTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1435,
225,
202,
95,
202,
202,
11231,
8867,
12,
5294,
3464,
559,
18,
6236,
67,
23225,
16,
5294,
3464,
559,
18,
588,
12,
23634,
559,
18,
6236,
13,
11272,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1435,
225,
202,
95,
202,
202,
11231,
8867,
12,
5294,
3464,
559,
18,
6236,
67,
23225,
16,
5294,
3464,
559,
18,
588,
12,
23634,
559,
18,
6236,
13,
11272,
202,
... |
index.acquireWriteLock(1); try { codeReaderFactory.clearMacroAttachements(); | if (pm.isCanceled()) { return; } codeReaderFactory.clearMacroAttachements(); | protected void doParseTU(ITranslationUnit tu) throws CoreException, InterruptedException { IPath path = tu.getLocation(); if (path == null) { return; } ILanguage language = tu.getLanguage(); if (language == null) return; // skip if no scanner info IScannerInfo scanner= tu.getScannerInfo(getIndexAllFiles())... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2d8f966f3b06d96391a0bfd91b2bae084e95bcda/PDOMFastIndexerJob.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/fast/PDOMFastIndexerJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
3201,
56,
57,
12,
45,
6717,
2802,
28325,
13,
1216,
30015,
16,
7558,
288,
202,
202,
45,
743,
589,
273,
28325,
18,
588,
2735,
5621,
202,
202,
430,
261,
803,
422,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3201,
56,
57,
12,
45,
6717,
2802,
28325,
13,
1216,
30015,
16,
7558,
288,
202,
202,
45,
743,
589,
273,
28325,
18,
588,
2735,
5621,
202,
202,
430,
261,
803,
422,
44... |
org.wings.plaf.Utils.write(device, button.getURL()); | Utils.write(device, button.getURL()); | public void writeContent(final Device device, final SComponent component) throws IOException { final SClickable button = (SClickable) component; if (button.getShowAsFormComponent()) { device.print("<button name=\""); Utils.write(device, button.getEventTarget().getEncod... | 3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/a13e1e051952689f51f8e2bee7381d6e03645ee4/ClickableCG.java/clean/wings2/src/java/org/wings/plaf/css/ClickableCG.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
1350,
12,
6385,
6077,
2346,
16,
727,
348,
1841,
1794,
13,
5411,
1216,
1860,
288,
3639,
727,
348,
6563,
429,
3568,
273,
261,
55,
6563,
429,
13,
1794,
31,
3639,
309,
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,
377,
1071,
918,
1045,
1350,
12,
6385,
6077,
2346,
16,
727,
348,
1841,
1794,
13,
5411,
1216,
1860,
288,
3639,
727,
348,
6563,
429,
3568,
273,
261,
55,
6563,
429,
13,
1794,
31,
3639,
309,
261,... |
private void draw_lines(float vertices[][], int max, | private void draw_lines(float vertices[][], int max, | private void draw_lines(float vertices[][], int max, int offset, int increment, int skip) { if (strokeWeight < 2) { for (int i = 0; i < max; i += increment) { if ((skip != 0) && (((i+offset) % skip) == 0)) continue; float a[] = vertices[i]; float b[] = vertices[i... | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/d877999f6e97d3c619ae60b800d586ac00acf618/PGraphics.java/clean/core/PGraphics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3724,
67,
3548,
12,
5659,
6928,
63,
6362,
6487,
509,
943,
16,
21821,
509,
1384,
16,
509,
5504,
16,
509,
2488,
13,
288,
565,
309,
261,
16181,
6544,
411,
576,
13,
288,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3724,
67,
3548,
12,
5659,
6928,
63,
6362,
6487,
509,
943,
16,
21821,
509,
1384,
16,
509,
5504,
16,
509,
2488,
13,
288,
565,
309,
261,
16181,
6544,
411,
576,
13,
288,
1377,
... |
for (int i=0; i<numberOfPolys; i++) { | for (int i = 0; i < numberOfPolys; i++) { | public void write(int tagID, EMFOutputStream emf) throws IOException { emf.writeRECTL(bounds); emf.writeDWORD(numberOfPolys); int c = 0; for (int i=0; i<numberOfPolys; i++) { c += numberOfPoints[i]; } emf.writeDWORD(c); for (int i=0; i<numberOfPolys; i++) ... | 57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/PolyPolygon16.java/clean/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/PolyPolygon16.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
12,
474,
1047,
734,
16,
7141,
42,
4632,
801,
74,
13,
1216,
1860,
288,
3639,
801,
74,
18,
2626,
4512,
48,
12,
10576,
1769,
3639,
801,
74,
18,
2626,
40,
7952,
12,
2696,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
12,
474,
1047,
734,
16,
7141,
42,
4632,
801,
74,
13,
1216,
1860,
288,
3639,
801,
74,
18,
2626,
4512,
48,
12,
10576,
1769,
3639,
801,
74,
18,
2626,
40,
7952,
12,
2696,... |
valueParam = m_tools.modifyParameter(valueParam, m_servletPrefix); | if (!m_tools.shouldReplaceUrl(m_url,valueParam)) { tempReplaceString = "$parameter$"; } else { valueParam = m_tools.modifyParameter(m_url, valueParam, m_servletPrefix); } | private boolean transformStartElement (Node node,int replaceBlock,int replaceTag) { String tempReplaceString,valueParam; /* remove complete block, interrupt recursion in printDocument */ if (m_tools.checkTag(node.getNodeName(),m_configuration.getRemoveBlocks())) { return true; ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/15631bd8423067dd0c5a5c96be16f93bef38faa2/CmsHtmlConverter.java/buggy/src/com/opencms/htmlconverter/CmsHtmlConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
2510,
1685,
1046,
261,
907,
756,
16,
474,
1453,
1768,
16,
474,
1453,
1805,
13,
288,
3639,
514,
1906,
5729,
780,
16,
1132,
786,
31,
3639,
1748,
1206,
3912,
1203,
16,
13123,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
2510,
1685,
1046,
261,
907,
756,
16,
474,
1453,
1768,
16,
474,
1453,
1805,
13,
288,
3639,
514,
1906,
5729,
780,
16,
1132,
786,
31,
3639,
1748,
1206,
3912,
1203,
16,
13123,
1... |
case TypePackage.SCATTER_SERIES__LABEL : setLabel( (Label) newValue ); | case TypePackage.SCATTER_SERIES__LABEL: setLabel((Label)newValue); | public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case TypePackage.SCATTER_SERIES__VISIBLE : setVisible( ( (Boolean) newValue ).booleanValue( ) ); return; case TypePackage.SCATTER_SERIES__LABEL : setLabel( (Label) newValue ); retur... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/bdab78403751f288b76844a99f50b999c34fb491/ScatterSeriesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/ScatterSeriesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,... |
Panel main = new Panel(new BorderLayout()); Panel btns = new Panel(new BorderLayout()); txt = new TextArea(); Button clear = new Button("Clear"); Button close = new Button("Close"); | txt = new JTextArea(); txt.setEditable(false); scroll = new JScrollPane( txt ); JPanel main = new JPanel(new BorderLayout()); JPanel btns = new JPanel(new BorderLayout()); JButton clear = new JButton("Clear"); JButton close = new JButton("Close"); | public KJASConsole() { super("Java Console"); Panel main = new Panel(new BorderLayout()); Panel btns = new Panel(new BorderLayout()); txt = new TextArea(); Button clear = new Button("Clear"); Button close = new Button("Close"); btns.add(clear, "West"); ... | 45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/e5817d0232fa324d737a75370dab7be2b3032047/KJASConsole.java/buggy/khtml/java/org/kde/kjas/server/KJASConsole.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1475,
46,
3033,
10215,
1435,
565,
288,
3639,
2240,
2932,
5852,
9657,
8863,
3639,
23641,
2774,
273,
394,
23641,
12,
2704,
30814,
10663,
3639,
23641,
10921,
2387,
273,
394,
23641,
12,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1475,
46,
3033,
10215,
1435,
565,
288,
3639,
2240,
2932,
5852,
9657,
8863,
3639,
23641,
2774,
273,
394,
23641,
12,
2704,
30814,
10663,
3639,
23641,
10921,
2387,
273,
394,
23641,
12,
2... |
public Individual(int numLines) { this.markers = new Vector(numLines); this.zeroed = new boolean[numLines]; | public Individual(int numMarkers) { markersa = new byte[numMarkers]; markersb = new byte[numMarkers]; this.zeroed = new boolean[numMarkers]; | public Individual(int numLines) { this.markers = new Vector(numLines); //this.zeroed = new Vector(numLines); this.zeroed = new boolean[numLines]; this.currMarker = 0; } | 51222 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51222/f3075d50dec65afcd971e7afa99f36e79b7cfe08/Individual.java/buggy/edu/mit/wi/pedfile/Individual.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
24147,
12,
474,
818,
5763,
13,
288,
3639,
333,
18,
22807,
273,
394,
5589,
12,
2107,
5763,
1769,
3639,
368,
2211,
18,
7124,
329,
273,
394,
5589,
12,
2107,
5763,
1769,
3639,
333,
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,
24147,
12,
474,
818,
5763,
13,
288,
3639,
333,
18,
22807,
273,
394,
5589,
12,
2107,
5763,
1769,
3639,
368,
2211,
18,
7124,
329,
273,
394,
5589,
12,
2107,
5763,
1769,
3639,
333,
18... |
protected void renderBackground( IPrimitiveRenderer ipr, Plot p ) throws ChartException { // PLOT BLOCK STUFF super.renderBackground( ipr, p ); final ChartWithAxes cwa = (ChartWithAxes) getModel( ); final PlotWithAxes pwa = (PlotWithAxes) getComputations( ); // PLOT CLIENT AREA final ClientArea ca = p.getClien... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d7e086870fe52851435c652945101a8fea388eb6/AxesRenderer.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1743,
8199,
12,
467,
9840,
6747,
277,
683,
16,
15211,
293,
262,
1082,
202,
15069,
14804,
503,
202,
95,
202,
202,
759,
453,
1502,
56,
14073,
2347,
57,
2246,
202,
202,
956... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1743,
8199,
12,
467,
9840,
6747,
277,
683,
16,
15211,
293,
262,
1082,
202,
15069,
14804,
503,
202,
95,
202,
202,
759,
453,
1502,
56,
14073,
2347,
57,
2246,
202,
202,
956... | ||
public ConnectorArtifactEdit(ComponentHandle aHandle, boolean toAccessAsReadOnly) throws IllegalArgumentException { super(aHandle, toAccessAsReadOnly); | public ConnectorArtifactEdit() { super(); | public ConnectorArtifactEdit(ComponentHandle aHandle, boolean toAccessAsReadOnly) throws IllegalArgumentException { super(aHandle, toAccessAsReadOnly); // TODO Auto-generated constructor stub } | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/2c89d8f80942c1486f25d9dd8cc1c14e789ce6b8/ConnectorArtifactEdit.java/buggy/plugins/org.eclipse.jst.j2ee.jca/rarproject/org/eclipse/jst/j2ee/jca/modulecore/util/ConnectorArtifactEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15779,
7581,
4666,
12,
1841,
3259,
279,
3259,
16,
1250,
358,
1862,
1463,
12066,
13,
1216,
2754,
288,
202,
202,
9565,
12,
69,
3259,
16,
358,
1862,
1463,
12066,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15779,
7581,
4666,
12,
1841,
3259,
279,
3259,
16,
1250,
358,
1862,
1463,
12066,
13,
1216,
2754,
288,
202,
202,
9565,
12,
69,
3259,
16,
358,
1862,
1463,
12066,
1769,
202,
202,
... |
public void addFinalResource(File file) { addResource(finalResources, file); | public void addFinalResource(String name) { addResource(finalResources, name); | public void addFinalResource(File file) { addResource(finalResources, file); } | 49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/628adbdc4a3a1116217663710bf591bf73c01fc3/Configuration.java/buggy/src/java/org/apache/hadoop/conf/Configuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
7951,
1420,
12,
812,
585,
13,
288,
565,
23812,
12,
6385,
3805,
16,
585,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
7951,
1420,
12,
812,
585,
13,
288,
565,
23812,
12,
6385,
3805,
16,
585,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public void mBOOL() throws RecognitionException { int BOOL_StartIndex = input.index(); try { int type = BOOL; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; ... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/fb2f51ad0fb80e03d0cc7f4644cb7a7e17027618/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
19040,
1435,
1216,
9539,
288,
3639,
509,
9784,
1741,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9784,
1741,
31,
5411,
509,
787,
273,
23577,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
312,
19040,
1435,
1216,
9539,
288,
3639,
509,
9784,
1741,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9784,
1741,
31,
5411,
509,
787,
273,
23577,
... | ||
return object.callMethod(context, "to_i"); | return object.callMethod(context,"to_i"); | public static IRubyObject new_integer(IRubyObject recv, IRubyObject object) { ThreadContext context = recv.getRuntime().getCurrentContext(); if(object instanceof RubyString) { String val = object.toString(); if(val.length() > 0 && val.charAt(0) == '0') { if... | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/a8583bc4b548ea3f09cf86cc0ce0b77670255f40/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
394,
67,
7745,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
733,
13,
288,
3639,
4884,
1042,
819,
273,
10665,
18,
588,
5576,
7675,
588,
3935,
1042,
562... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
394,
67,
7745,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
733,
13,
288,
3639,
4884,
1042,
819,
273,
10665,
18,
588,
5576,
7675,
588,
3935,
1042,
562... |
public void eUnset( EStructuralFeature eFeature ) | public void eUnset( int featureID ) | public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.EXTENDED_PROPERTY__NAME : setName( NAME_EDEFAULT ); return; case AttributePackage.EXTENDED_PROPERTY__VALUE : setValue( VALUE_EDEFAULT ); return; } eDynamicUnset( eFeature )... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/ExtendedPropertyImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/ExtendedPropertyImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
226... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
226... |
else if (type == DTM.NAMESPACE_NODE) { handler.namespaceAfterStartElement(getNodeNameX(makeNodeHandle(current)), getNodeValue(makeNodeHandle(current))); } else break; } | public void copyNS(final int nodeID, SerializationHandler handler) throws SAXException { int current = nodeID; try{ while (true) { current++; int eType = _exptype2(current); int type = _exptype2Type(eType); if (type ==... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/50b76a71f76d5227a5d9e45733076ebbd1d5564d/SAX2DTM2.java/buggy/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1610,
3156,
12,
6385,
509,
14871,
16,
15253,
1503,
1838,
13,
3639,
1216,
14366,
565,
288,
1377,
509,
783,
273,
14871,
31,
1377,
775,
95,
1850,
1323,
261,
3767,
13,
1850,
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,
565,
1071,
918,
1610,
3156,
12,
6385,
509,
14871,
16,
15253,
1503,
1838,
13,
3639,
1216,
14366,
565,
288,
1377,
509,
783,
273,
14871,
31,
1377,
775,
95,
1850,
1323,
261,
3767,
13,
1850,
288,
... | |
getContentPane().add(consoleSplitter, java.awt.BorderLayout.CENTER); | gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; getContentPane().add(consoleSplitter, grid... | private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; consoleSplitter = new javax.swing.JSplitPane(); viewPanel = new javax.swing.JPanel(); emptyPanel = new javax.swing.JPanel(); reportPanel = new javax.swing.JPanel(); edi... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/f1735350a82bed8583295d11319850cb040559b6/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
2983,
26738,
273,
394,
6863,
18,
5328,
310,
18,
46,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
2983,
26738,
273,
394,
6863,
18,
5328,
310,
18,
46,
55... |
new Label( topContainer, SWT.NONE ) .setText( LABEL_FORMAT_DATE_TIME_PAGE ); | new Label( topContainer, SWT.NONE ).setText( LABEL_FORMAT_DATE_TIME_PAGE ); | protected void createContents( ) { setLayout( UIUtil.createGridLayoutWithoutMargin( ) ); initChoiceArray( ); getFormatTypes( ); Composite topContainer = new Composite( this, SWT.NONE ); GridData data = new GridData( GridData.FILL_HORIZONTAL ); topContainer.setLayoutData( data ); topContainer.setLayout( new Grid... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1123f2b44bade54e4b5714c702c79b94bb65dca3/FormatDateTimePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatDateTimePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
6323,
12,
262,
202,
95,
202,
202,
542,
3744,
12,
6484,
1304,
18,
2640,
6313,
3744,
8073,
9524,
12,
262,
11272,
202,
202,
2738,
10538,
1076,
12,
11272,
202,
202,
588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
6323,
12,
262,
202,
95,
202,
202,
542,
3744,
12,
6484,
1304,
18,
2640,
6313,
3744,
8073,
9524,
12,
262,
11272,
202,
202,
2738,
10538,
1076,
12,
11272,
202,
202,
588... |
private void importMeta() { | private void importMeta() throws IOException { | private void importMeta() { Properties meta = readProps(new File(_entryDir, EntryExtractor.META)); _format = getInt(meta, "format"); _size = getInt(meta, "size"); _blog = new BlogURI(new Hash(Base64.decode(meta.getProperty("blog"))), getLong(meta, "entry")); } | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/20c42a175da627708ee774bfd159b62827258221/CachedEntry.java/buggy/apps/syndie/java/src/net/i2p/syndie/CachedEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1930,
2781,
1435,
1216,
1860,
288,
3639,
6183,
2191,
273,
855,
5047,
12,
2704,
1387,
24899,
4099,
1621,
16,
3841,
10958,
18,
19294,
10019,
3639,
389,
2139,
273,
8145,
12,
3901,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1930,
2781,
1435,
1216,
1860,
288,
3639,
6183,
2191,
273,
855,
5047,
12,
2704,
1387,
24899,
4099,
1621,
16,
3841,
10958,
18,
19294,
10019,
3639,
389,
2139,
273,
8145,
12,
3901,
... |
public QueryDescr query() throws RecognitionException { QueryDescr query; Token loc=null; String queryName = null; query = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:372:17: ( opt_eol loc= 'qu... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cb210a30853642e270a3bba6ce570409f6046852/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2770,
16198,
843,
1435,
1216,
9539,
288,
6647,
2770,
16198,
843,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
514,
843,
461,
273,
446,
31,
540,
202,
202,
2271,
273,
446,
31,
540,
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,
377,
1071,
2770,
16198,
843,
1435,
1216,
9539,
288,
6647,
2770,
16198,
843,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
514,
843,
461,
273,
446,
31,
540,
202,
202,
2271,
273,
446,
31,
540,
202... | ||
cg = new ClientGet(this, message); requestsByIdentifier.put(id, cg); | try { cg = new ClientGet(this, message); if(!persistent) requestsByIdentifier.put(id, cg); } catch (IdentifierCollisionException e) { success = false; } | public void startClientGet(ClientGetMessage message) { String id = message.identifier; ClientGet cg = null; boolean success; synchronized(this) { if(isClosed) return; success = !requestsByIdentifier.containsKey(id); if(success) { cg = new ClientGet(this, message); requestsByIdentifier.put(id, cg); } ... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/5172c6eaf3d3ff5aaaf0703e2a38ccebe1b75ec3/FCPConnectionHandler.java/buggy/src/freenet/node/fcp/FCPConnectionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1227,
967,
12,
1227,
967,
1079,
883,
13,
288,
202,
202,
780,
612,
273,
883,
18,
5644,
31,
202,
202,
1227,
967,
14947,
273,
446,
31,
202,
202,
6494,
2216,
31,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1227,
967,
12,
1227,
967,
1079,
883,
13,
288,
202,
202,
780,
612,
273,
883,
18,
5644,
31,
202,
202,
1227,
967,
14947,
273,
446,
31,
202,
202,
6494,
2216,
31,
202,
... |
this(text, 1, 1); | this(text, text, 1, 1); | public TokenStringLiteral (String text) { this(text, 1, 1); } | 5345 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5345/6676d99df452023146df224343fbbc77da7ccc7b/TokenStringLiteral.java/buggy/danga/s2/TokenStringLiteral.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3155,
28565,
261,
780,
977,
13,
288,
202,
2211,
12,
955,
16,
977,
16,
404,
16,
404,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3155,
28565,
261,
780,
977,
13,
288,
202,
2211,
12,
955,
16,
977,
16,
404,
16,
404,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (localFile.exists()) { String bytesString = Long.toString(localFile.length()); return MessageFormat.format(BYTES_LABEL, new Object[] { bytesString }); } return NOT_EXIST_TEXT; | if (localFile.exists()) { String bytesString = Long.toString(localFile.length()); return MessageFormat.format(BYTES_LABEL, new Object[] { bytesString }); | private String getSizeString(IFile file) { if (!file.isLocal(IResource.DEPTH_ZERO)) return NOT_LOCAL_TEXT; IPath location = file.getLocation(); if (location == null) { if (file.isLinked()) return MISSING_PATH_VARIABLE_TEXT; return NOT_EXIST_TEXT; } else { File localFile = location.toFile(); if (localF... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/647303195df4ad4885ae8f3a3e70f141f1777eb8/ResourceInfoPage.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
9950,
780,
12,
45,
812,
585,
13,
288,
202,
202,
430,
16051,
768,
18,
291,
2042,
12,
45,
1420,
18,
27479,
67,
24968,
3719,
1082,
202,
2463,
4269,
67,
14922,
67,
5151,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
9950,
780,
12,
45,
812,
585,
13,
288,
202,
202,
430,
16051,
768,
18,
291,
2042,
12,
45,
1420,
18,
27479,
67,
24968,
3719,
1082,
202,
2463,
4269,
67,
14922,
67,
5151,
3... |
ph.setCommandStart(true); | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/75e51682c6dfb1ff67ffb81cea2dfd23c3e3a9f4/DefaultRubyParser.java/clean/org/jruby/parser/DefaultRubyParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
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,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
273... | |
add(splitter, BorderLayout.CENTER); | add(mySplitter, BorderLayout.CENTER); | public InspectionResultsView(final Project project, InspectionProfile inspectionProfile, AnalysisScope scope) { setLayout(new BorderLayout()); myProject = project; myInspectionProfile = inspectionProfile; myScope = scope; myTree = new InspectionTree(project); myOccurenceNavigator = new OccurenceNavi... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/a8c458ccadb63729cc057f72199e325c8e861025/InspectionResultsView.java/buggy/source/com/intellij/codeInspection/ui/InspectionResultsView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
22085,
7017,
3447,
1767,
12,
6385,
5420,
1984,
16,
22085,
7017,
4029,
2763,
7017,
4029,
16,
16318,
3876,
2146,
13,
288,
565,
18479,
12,
2704,
30814,
10663,
565,
3399,
4109,
273,
1984,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22085,
7017,
3447,
1767,
12,
6385,
5420,
1984,
16,
22085,
7017,
4029,
2763,
7017,
4029,
16,
16318,
3876,
2146,
13,
288,
565,
18479,
12,
2704,
30814,
10663,
565,
3399,
4109,
273,
1984,... |
Thread.sleep(3000); | Thread.sleep(300000); | public void testLiveReconnect() throws Exception { System.out.println("Please stop and restart the Asterisk server..."); while (true) { Thread.sleep(3000); } } | 25582 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25582/defab4e9e16aa25ec263b1b665eae49e6d7d4ddd/TestLiveReconnect.java/clean/src/integrationtest/org/asteriskjava/live/TestLiveReconnect.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
12328,
20427,
1435,
1216,
1185,
565,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
8496,
2132,
471,
7870,
326,
432,
8190,
10175,
1438,
7070,
1769,
3639,
1323,
261,
3767,
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,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
12328,
20427,
1435,
1216,
1185,
565,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
8496,
2132,
471,
7870,
326,
432,
8190,
10175,
1438,
7070,
1769,
3639,
1323,
261,
3767,
13,
... |
state.bottomInputs.put(outputInfo.getName(), bottomInput); | state.bottomInputs.put(outputName, bottomInput); | public void start(PipelineContext context) { State state = (State) getState(context); if (!state.started) { Processor processor = JavaProcessor.this.getProcessor(context); // Check user processor does not have a config input for (Iterator i = processor.getInputsInfo().... | 57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/0c50d4acf43136ebf44eeddf98996a02a89f939c/JavaProcessor.java/clean/src/java/org/orbeon/oxf/processor/JavaProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
12,
8798,
1042,
819,
13,
288,
3639,
3287,
919,
273,
261,
1119,
13,
8997,
12,
2472,
1769,
3639,
309,
16051,
2019,
18,
14561,
13,
288,
5411,
15476,
6659,
273,
5110,
5164,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
787,
12,
8798,
1042,
819,
13,
288,
3639,
3287,
919,
273,
261,
1119,
13,
8997,
12,
2472,
1769,
3639,
309,
16051,
2019,
18,
14561,
13,
288,
5411,
15476,
6659,
273,
5110,
5164,
... |
public OutputHandler(OutputStream out, ServerConnection parent) { | public OutputHandler(OutputStream out) { | public OutputHandler(OutputStream out, ServerConnection parent) { this.out = out; this.parent = parent; this.setName("Output Handler (client -> server)"); keeprunning = true; } | 47073 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47073/15e8c540792ed0b7f2128357d3880c352119f47e/ServerConnection.java/clean/src/goat/core/ServerConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3633,
1503,
12,
4632,
596,
13,
288,
5411,
333,
18,
659,
273,
596,
31,
5411,
333,
18,
2938,
273,
982,
31,
5411,
333,
18,
542,
461,
2932,
1447,
4663,
261,
2625,
317,
1438,
2225,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3633,
1503,
12,
4632,
596,
13,
288,
5411,
333,
18,
659,
273,
596,
31,
5411,
333,
18,
2938,
273,
982,
31,
5411,
333,
18,
542,
461,
2932,
1447,
4663,
261,
2625,
317,
1438,
2225,
1... |
return new Integer(AbstractDynamicMock.this.hashCode()); } | return new Integer(AbstractDynamicMock.this.hashCode()); } | public Object invoke( Invocation invocation ) throws Throwable { return new Integer(AbstractDynamicMock.this.hashCode()); } | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/AbstractDynamicMock.java/clean/jmock/core/src/org/jmock/core/AbstractDynamicMock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1033,
4356,
12,
11298,
9495,
262,
1216,
4206,
288,
5411,
327,
394,
2144,
12,
7469,
9791,
9865,
18,
2211,
18,
2816,
1085,
10663,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1033,
4356,
12,
11298,
9495,
262,
1216,
4206,
288,
5411,
327,
394,
2144,
12,
7469,
9791,
9865,
18,
2211,
18,
2816,
1085,
10663,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
return null; | return JaxenConstants.EMPTY_ITERATOR; | public Object getParentNode(Object contextNode) { if ( contextNode instanceof Element ) { return ((Element)contextNode).getParent(); } return null; } | 12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/c4fc5760f694eb94d37e66961a12faa59de78178/DocumentNavigator.java/clean/src/java/main/org/jaxen/javabean/DocumentNavigator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5089,
907,
12,
921,
819,
907,
13,
565,
288,
3639,
309,
261,
819,
907,
1276,
3010,
262,
3639,
288,
5411,
327,
14015,
1046,
13,
2472,
907,
2934,
588,
3054,
5621,
3639,
289,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5089,
907,
12,
921,
819,
907,
13,
565,
288,
3639,
309,
261,
819,
907,
1276,
3010,
262,
3639,
288,
5411,
327,
14015,
1046,
13,
2472,
907,
2934,
588,
3054,
5621,
3639,
289,
36... |
ParenthesesUtils.stripParentheses(rExpression); | PsiUtil.deparenthesizeExpression(rExpression); | private static String getSystemArrayCopyText( PsiForStatement forStatement) throws IncorrectOperationException { final PsiBinaryExpression condition = (PsiBinaryExpression)forStatement.getCondition(); if (condition == null) { ... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/3dc9c2dae8f9ce8fcdd13e8c1b00c89c82a53d92/ManualArrayCopyInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/ManualArrayCopyInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
514,
12996,
1076,
2951,
1528,
12,
7734,
453,
7722,
1290,
3406,
364,
3406,
13,
7734,
1216,
657,
6746,
10602,
288,
5411,
727,
453,
7722,
5905,
2300,
2269,
273,
10792,
261,
52,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
514,
12996,
1076,
2951,
1528,
12,
7734,
453,
7722,
1290,
3406,
364,
3406,
13,
7734,
1216,
657,
6746,
10602,
288,
5411,
727,
453,
7722,
5905,
2300,
2269,
273,
10792,
261,
52,
77... |
Logger.minor(this, "Headers: "+headerLen+" bytes, hash "+Fields.hashCode(headers)); | Logger.minor(this, "Headers: "+headerLen+" bytes, hash "+Fields.hashCode(buf)); | public CHKBlock fetch(NodeCHK chk) throws IOException { byte[] data = dataStore.getDataForBlock(chk); if(data == null) { if(headersStore.getDataForBlock(chk) != null) { Logger.normal(this, "Deleting: "+chk+" headers, no data"); headersStore.delete(chk); ... | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/27f407d086a1dbf43da0232680fb0f61503732d4/BaseFreenetStore.java/clean/src/freenet/store/BaseFreenetStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6469,
47,
1768,
2158,
12,
907,
1792,
47,
15000,
13,
1216,
1860,
288,
3639,
1160,
8526,
501,
273,
31927,
18,
588,
751,
1290,
1768,
12,
27038,
1769,
3639,
309,
12,
892,
422,
446,
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,
377,
1071,
6469,
47,
1768,
2158,
12,
907,
1792,
47,
15000,
13,
1216,
1860,
288,
3639,
1160,
8526,
501,
273,
31927,
18,
588,
751,
1290,
1768,
12,
27038,
1769,
3639,
309,
12,
892,
422,
446,
13... |
public Node apply(ASTFunNode node, Node[] children) throws ParseException { OperatorSet opSet = xj.getOperatorSet(); TreeUtils tu = xj.getTreeUtils(); Operator lhsOp = tu.getOperator(children[0]); int n = tu.intValue(children[1]); Node sub1 = children[0].jjtGetChild(0); Node sub2 = children[0].jjtGetChild(1);... | 54194 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54194/5d181473dd1ee3caca86484e98ff7c44ed644489/ExpandPower.java/buggy/src/org/lsmp/djep/rewrite/ExpandPower.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
907,
9010,
12,
9053,
22783,
50,
369,
20680,
16,
907,
8526,
5906,
13,
15069,
13047,
95,
202,
202,
5592,
694,
556,
694,
33,
92,
78,
18,
588,
5592,
694,
5621,
202,
202,
2471,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
907,
9010,
12,
9053,
22783,
50,
369,
20680,
16,
907,
8526,
5906,
13,
15069,
13047,
95,
202,
202,
5592,
694,
556,
694,
33,
92,
78,
18,
588,
5592,
694,
5621,
202,
202,
2471,
1... | ||
public void visitReturnStatement(@NotNull PsiReturnStatement statement) { super.visitReturnStatement(statement); if (statement.getContainingFile() instanceof JspFile) { return; } final PsiMethod method = PsiTreeUtil.getParentOfType(statement, PsiMethod.class); if (method == null) { return; } if (!method.isConstructor(... | public void visitReturnStatement( @NotNull PsiReturnStatement statement) { super.visitReturnStatement(statement); if (statement.getContainingFile() instanceof JspFile) { return; } final PsiMethod method = PsiTreeUtil.getParentOfType(statement, PsiMethod.class); if (method == null) { return; } if (!method.isConstructor(... | public void visitReturnStatement(@NotNull PsiReturnStatement statement) { super.visitReturnStatement(statement); if (statement.getContainingFile() instanceof JspFile) { return; } final PsiMethod method = PsiTreeUtil.getParentOfType(statement, PsiMethod.class); if (method == nu... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/3c14a4501b28727698da3ce9c1f4b1d36ca90baf/UnnecessaryReturnInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/controlflow/UnnecessaryReturnInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
990,
3406,
26964,
5962,
453,
7722,
990,
3406,
3021,
13,
288,
1377,
2240,
18,
11658,
990,
3406,
12,
11516,
1769,
1377,
309,
261,
11516,
18,
588,
24344,
812,
1435,
1276,
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,
3757,
990,
3406,
26964,
5962,
453,
7722,
990,
3406,
3021,
13,
288,
1377,
2240,
18,
11658,
990,
3406,
12,
11516,
1769,
1377,
309,
261,
11516,
18,
588,
24344,
812,
1435,
1276,
19... |
return parseResult; } | return parseResult; } | protected IASTTranslationUnit parse(IFile code, ParserLanguage language) throws Exception { InputStream stream = code.getContents(); IScanner scanner = new DOMScanner(new CodeReader(code.getLocation() .toOSString(), stream), SCANNER_INFO, ParserMode.COMPLETE_PARSE, language, NULL_LOG, getScannerConfig(lan... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/69d98316f4a76398de5c961029bb4f2f6fa351fe/DOMLocationInclusionTests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMLocationInclusionTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
6717,
2802,
1109,
12,
45,
812,
981,
16,
6783,
3779,
2653,
13,
1082,
202,
15069,
1185,
288,
202,
202,
4348,
1407,
273,
981,
18,
588,
6323,
5621,
202,
202,
45,
11338... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
6717,
2802,
1109,
12,
45,
812,
981,
16,
6783,
3779,
2653,
13,
1082,
202,
15069,
1185,
288,
202,
202,
4348,
1407,
273,
981,
18,
588,
6323,
5621,
202,
202,
45,
11338... |
foundControl = controlInfo; break; } } | } else { newIndex = ((Integer) xformsControls.getCurrentControlsState().getRepeatIdToIndex().get(repeatId)).intValue(); } | public void startVisitControl(XFormsControls.ControlInfo controlInfo) { if (controlInfo instanceof XFormsControls.RepeatControlInfo) { // Found an xforms:repeat final XFormsControls.RepeatControlInfo repeatControlInfo = (XF... | 10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/34ec45c59ca9f574ad5456070850b39e527a1d4c/XFormsActionInterpreter.java/buggy/src/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
787,
10432,
3367,
12,
60,
18529,
16795,
18,
3367,
966,
3325,
966,
13,
288,
13491,
309,
261,
7098,
966,
1276,
1139,
18529,
16795,
18,
16750,
3367,
966,
13,
288,
18701,
368,
107... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5397,
1071,
918,
787,
10432,
3367,
12,
60,
18529,
16795,
18,
3367,
966,
3325,
966,
13,
288,
13491,
309,
261,
7098,
966,
1276,
1139,
18529,
16795,
18,
16750,
3367,
966,
13,
288,
18701,
368,
107... |
} else { | } else if (dataFile.getDataAsString("type")[0].equals("IS Level 1")) { t.setTechLevel(TechConstants.T_IS_LEVEL_1); } else if (dataFile.getDataAsString("type")[0].equals("IS Level 2")) { t.setTechLevel(TechConstants.T_IS_LEVEL_2); } else if (dataFile.getDataAsString("type")[0].equals("IS Level 3")) { t.setTechLevel(Tech... | public Entity getEntity() throws EntityLoadingException { BattleArmor t = new BattleArmor(); if (!dataFile.exists("name")) throw new EntityLoadingException("Could not find name block."); t.setChassis(dataFile.getDataAsString("Name")[0]); // Model is not strictly necessary. if (dat... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/27a83ab80db0375151630b6e20acf6b75b8e337d/BLKBattleArmorFile.java/clean/megamek/src/megamek/common/loaders/BLKBattleArmorFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3887,
6352,
1435,
1216,
3887,
10515,
503,
288,
3639,
605,
4558,
298,
25583,
280,
268,
273,
394,
605,
4558,
298,
25583,
280,
5621,
3639,
309,
16051,
892,
812,
18,
1808,
2932,
529,
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,
377,
1071,
3887,
6352,
1435,
1216,
3887,
10515,
503,
288,
3639,
605,
4558,
298,
25583,
280,
268,
273,
394,
605,
4558,
298,
25583,
280,
5621,
3639,
309,
16051,
892,
812,
18,
1808,
2932,
529,
6,... |
ins.add(Path.fromOSString(paths[i])); | if (paths[i].length() > 0) { ins.add(Path.fromOSString(paths[i])); } | public IPath[] getAdditionalResources() { List ins = new ArrayList(); Iterator typeIter = getAdditionalInputList().iterator(); while (typeIter.hasNext()) { AdditionalInput current = (AdditionalInput)typeIter.next(); int kind = current.getKind(); if (kind == IAdditionalInput.KIND_ADDITIONAL_INPUT || kind ==... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1eb10a46a0557db040085203edd85b33f11279dd/InputType.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/InputType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
743,
8526,
26660,
3805,
1435,
288,
202,
202,
682,
2763,
273,
394,
2407,
5621,
202,
202,
3198,
618,
2360,
273,
26660,
1210,
682,
7675,
9838,
5621,
202,
202,
17523,
261,
723,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
743,
8526,
26660,
3805,
1435,
288,
202,
202,
682,
2763,
273,
394,
2407,
5621,
202,
202,
3198,
618,
2360,
273,
26660,
1210,
682,
7675,
9838,
5621,
202,
202,
17523,
261,
723,... |
switch ( eDerivedStructuralFeatureID( eFeature ) ) | switch ( featureID ) | public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case TypePackage.STOCK_SERIES__VISIBLE : setVisible( ( (Boolean) newValue ).booleanValue( ) ); return; case TypePackage.STOCK_SERIES__LABEL : setLabel( (Label) newValue ); return; ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/036e8c78765730b146e5854b9d6c397a296fed86/StockSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/StockSeriesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20199,
12,
512,
14372,
4595,
425,
4595,
16,
1033,
6129,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,... |
while(keys.hasMoreElements()) { | while (keys.hasMoreElements()) { | private Properties loadLinks(Vector fileSets) { Properties finalList = new Properties(); Enumeration keys; String key, value; String[] includedFiles; // loop through the supplied file sets FSLoop: for (int i=0; i<fileSets.size(); i++){ String workingDir; ... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/eb5089ac6ae575212236df47f75c168a3c6d298a/Symlink.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6183,
1262,
7100,
12,
5018,
585,
2785,
13,
288,
3639,
6183,
727,
682,
273,
394,
6183,
5621,
3639,
13864,
1311,
31,
3639,
514,
498,
16,
460,
31,
3639,
514,
8526,
5849,
2697,
31,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6183,
1262,
7100,
12,
5018,
585,
2785,
13,
288,
3639,
6183,
727,
682,
273,
394,
6183,
5621,
3639,
13864,
1311,
31,
3639,
514,
498,
16,
460,
31,
3639,
514,
8526,
5849,
2697,
31,
36... |
for (int i = 0; i < size; i++) { double alpha = pixels[i * numComponents + numColors] * alphaScale; for (int c = 0; c < numColors; c++) { int offset = i * numComponents + c; | for (int i=0; i<size; i++) { double alpha = pixels[i*numComponents+numColors]*alphaScale; for (int c=0; c<numColors; c++) { int offset = i*numComponents+c; | public ColorModel coerceData(WritableRaster raster, boolean isAlphaPremultiplied) { if (this.isAlphaPremultiplied == isAlphaPremultiplied) return this; int w = raster.getWidth(); int h = raster.getHeight(); int x = raster.getMinX(); int y = raster.getMinY(); int size = w * h; int numColors = getNumColorCompon... | 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,
5563,
1488,
12270,
751,
12,
12061,
18637,
12553,
16,
1250,
353,
9690,
1386,
7027,
3110,
13,
288,
202,
202,
430,
261,
2211,
18,
291,
9690,
1386,
7027,
3110,
422,
353,
9690,
1386,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5563,
1488,
12270,
751,
12,
12061,
18637,
12553,
16,
1250,
353,
9690,
1386,
7027,
3110,
13,
288,
202,
202,
430,
261,
2211,
18,
291,
9690,
1386,
7027,
3110,
422,
353,
9690,
1386,... |
if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</title></head><body>Error: "+HTMLEncoder.encode(msg)+extra+"</body></html>"); | if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, "/"+e.newURI.toString()); } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</titl... | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTab... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/315e01325509f76afb76d8e34c18f27e04549674/FproxyToadlet.java/buggy/src/freenet/clients/http/FproxyToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... |
void storeLocations(String sLocation, String nsLocation){ if (sLocation != null) { StringTokenizer t = new StringTokenizer(sLocation, " \n\t\r"); String namespace, location; while (t.hasMoreTokens()) { namespace = fSymbolTable.addSymbol(t.nextToken ());... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/f8b05e04b15329b6392d97d9c2a70edc1ee5efba/XMLSchemaValidator.java/clean/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1707,
10985,
12,
780,
272,
2735,
16,
514,
3153,
2735,
15329,
7734,
309,
261,
87,
2735,
480,
446,
13,
288,
5411,
16370,
268,
273,
394,
16370,
12,
87,
2735,
16,
315,
521,
82,
64,
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,
377,
918,
1707,
10985,
12,
780,
272,
2735,
16,
514,
3153,
2735,
15329,
7734,
309,
261,
87,
2735,
480,
446,
13,
288,
5411,
16370,
268,
273,
394,
16370,
12,
87,
2735,
16,
315,
521,
82,
64,
8... | ||
public RubyFixnum aref(RubyNumeric pos) { boolean isSet = getValue().testBit((int) pos.getLongValue()); | public RubyFixnum aref(IRubyObject other) { long pos = num2long(other); boolean isSet = getValue().testBit((int) pos); | public RubyFixnum aref(RubyNumeric pos) { boolean isSet = getValue().testBit((int) pos.getLongValue()); return getRuntime().newFixnum(isSet ? 1 : 0); } | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/ae3178fbb3656e01c3d379a6255e1af956725271/RubyBignum.java/buggy/src/org/jruby/RubyBignum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
8585,
2107,
854,
74,
12,
54,
10340,
9902,
949,
13,
288,
3639,
1250,
13532,
273,
2366,
7675,
3813,
5775,
12443,
474,
13,
949,
18,
588,
3708,
620,
10663,
3639,
327,
18814,
7675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
8585,
2107,
854,
74,
12,
54,
10340,
9902,
949,
13,
288,
3639,
1250,
13532,
273,
2366,
7675,
3813,
5775,
12443,
474,
13,
949,
18,
588,
3708,
620,
10663,
3639,
327,
18814,
7675... |
UpgradeJDialog.this.actionJProgressBar.setString("finished refreshing upgrade table."); | if( Util.isArrayEmpty(upgradable) ){ UpgradeJDialog.this.upgradeJButton.setEnabled(false); } else{ UpgradeJDialog.this.upgradeJButton.setEnabled(true); } | SwingUtilities.invokeAndWait( new Runnable(){ public void run(){ UpgradeJDialog.this.actionJProgressBar.setValue(100); UpgradeJDialog.this.actionJProgressBar.setString("finished refreshing upgrade table."); }}); | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/e21d7e0148fc9a508a6a33664a025979e352bccd/UpgradeJDialog.java/buggy/gui/main/com/metavize/gui/upgrade/UpgradeJDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
26145,
11864,
18,
14407,
1876,
5480,
12,
394,
10254,
1435,
95,
1071,
918,
1086,
1435,
95,
10792,
17699,
46,
6353,
18,
2211,
18,
1128,
46,
31547,
18,
542,
620,
12,
6625,
1769,
10792,
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,
1171,
26145,
11864,
18,
14407,
1876,
5480,
12,
394,
10254,
1435,
95,
1071,
918,
1086,
1435,
95,
10792,
17699,
46,
6353,
18,
2211,
18,
1128,
46,
31547,
18,
542,
620,
12,
6625,
1769,
10792,
309,... |
Vector assignmentIds = (Vector) state.getAttribute(DELETE_ASSIGNMENT_IDS); boolean allowRemove = false; for (int i = 0; !allowRemove && i < assignmentIds.size(); i++) { String aReference = AssignmentService.assignmentReference(contextString, (String) assignmentIds.get(i)); if (AssignmentService.allowRemoveAssignment(aR... | justDelivered(state); | public String buildMainPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state) { String template = null; context.put("tlang", rb); context.put("cheffeedbackhelper", this); String contextString = (String) state.getAttribute(STATE_CONTEXT_STRING); // allow add assignment? boolean... | 54270 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54270/e8bafd0f21cb0b792fe782b5d0a94885bca08fd7/AssignmentAction.java/clean/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1361,
6376,
5537,
1042,
12,
27522,
18566,
13114,
16,
1772,
819,
16,
1939,
751,
501,
16,
3877,
1119,
919,
13,
202,
95,
202,
202,
780,
1542,
273,
446,
31,
9506,
202,
2472,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1361,
6376,
5537,
1042,
12,
27522,
18566,
13114,
16,
1772,
819,
16,
1939,
751,
501,
16,
3877,
1119,
919,
13,
202,
95,
202,
202,
780,
1542,
273,
446,
31,
9506,
202,
2472,
... |
addTestSuite(DefaultBindSupportFactoryBooleanPrimitiveTest.class); addTestSuite(DefaultBindSupportFactoryBytePrimitiveTest.class); addTestSuite(DefaultBindSupportFactoryDoublePrimitiveTest.class); addTestSuite(DefaultBindSupportFactoryFloatPrimitiveTest.class); addTestSuite(DefaultBindSupportFactoryIntTest.class); add... | addTestSuite(JavaBeanObservableValueTest.class); | public BindingTestSuite() { //org.eclipse.core.tests.databinding.beans addTestSuite(BeansObservablesTest.class); // org.eclipse.jface.internal.databinding.provisional.conversion addTestSuite(IdentityConverterTest.class); // org.eclipse.jface.internal.databinding.provisional.factori... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c8f2cc5874f2e6247a2cbb9878a80029b7203e0a/BindingTestSuite.java/clean/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/BindingTestSuite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15689,
4709,
13587,
1435,
288,
377,
202,
759,
3341,
18,
20416,
18,
3644,
18,
16341,
18,
3404,
378,
728,
310,
18,
2196,
634,
377,
202,
1289,
4709,
13587,
12,
14495,
26199,
1538,
4709... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15689,
4709,
13587,
1435,
288,
377,
202,
759,
3341,
18,
20416,
18,
3644,
18,
16341,
18,
3404,
378,
728,
310,
18,
2196,
634,
377,
202,
1289,
4709,
13587,
12,
14495,
26199,
1538,
4709... |
if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(child); if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode++; | if (expressionHashCode == HASH_CODE_NOT_COMPUTED) { expressionHashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(child); if (expressionHashCode == HASH_CODE_NOT_COMPUTED) { expressionHashCode++; | public final int hashCode() { if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode = HASH_INITIAL * HASH_FACTOR + Util.hashCode(child); if (hashCode == HASH_CODE_NOT_COMPUTED) { hashCode++; } } return hashCode; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fbfdc1c13611716bf96a9bb570c014778c84352c/ActionExpression.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
727,
509,
13374,
1435,
288,
1082,
202,
430,
261,
2816,
1085,
422,
20857,
67,
5572,
67,
4400,
67,
10057,
57,
6404,
13,
288,
9506,
202,
2816,
1085,
273,
20857,
67,
28497,
380,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
727,
509,
13374,
1435,
288,
1082,
202,
430,
261,
2816,
1085,
422,
20857,
67,
5572,
67,
4400,
67,
10057,
57,
6404,
13,
288,
9506,
202,
2816,
1085,
273,
20857,
67,
28497,
380,
... |
public ProcessWorker(String workerName, | public ProcessWorker(WorkerIdentity workerIdentity, | public ProcessWorker(String workerName, String[] commandArray, OutputStream outputStream, OutputStream errorStream) throws EngineException { m_workerName = workerName; try { m_process = Runtime.getRuntime().exec(commandArray); } cat... | 7770 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7770/f1e4b2fafbc0269b824bf103bac621a6e06606bc/ProcessWorker.java/buggy/src/net/grinder/engine/agent/ProcessWorker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4389,
6671,
12,
6671,
4334,
4322,
4334,
16,
15604,
514,
8526,
1296,
1076,
16,
15604,
8962,
14956,
16,
15604,
8962,
555,
1228,
13,
565,
1216,
10507,
503,
288,
565,
312,
67,
10124,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4389,
6671,
12,
6671,
4334,
4322,
4334,
16,
15604,
514,
8526,
1296,
1076,
16,
15604,
8962,
14956,
16,
15604,
8962,
555,
1228,
13,
565,
1216,
10507,
503,
288,
565,
312,
67,
10124,
46... |
String keyConfigurationId = memento.getString(TAG_KEY_CONFIGURATION_ID); if (keyConfigurationId == null) keyConfigurationId = memento.getString("value"); String sourceId = sourceIdOverride != null ? sourceIdOverride : memento .getString(TAG_SOURCE_ID); if (sourceIdOverride == null && sourceId == null) sourceId = ... | final String keyConfigurationId = store .getString(IPreferenceConstants.KEY_CONFIGURATION_ID); return new ActiveKeyConfigurationDefinition(keyConfigurationId, null); | static ActiveKeyConfigurationDefinition readActiveKeyConfigurationDefinition( IMemento memento, String sourceIdOverride) { if (memento == null) throw new NullPointerException(); String keyConfigurationId = memento.getString(TAG_KEY_CONFIGURATION_ID); // TODO deprecated sta... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ba9608257e923623d3b8a58d00aa904933ae3144/Persistence.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/Persistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
8857,
653,
1750,
1852,
855,
3896,
653,
1750,
1852,
12,
5411,
6246,
820,
83,
312,
820,
83,
16,
514,
27572,
6618,
13,
288,
3639,
309,
261,
81,
820,
83,
422,
446,
13,
5411,
604,
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,
377,
760,
8857,
653,
1750,
1852,
855,
3896,
653,
1750,
1852,
12,
5411,
6246,
820,
83,
312,
820,
83,
16,
514,
27572,
6618,
13,
288,
3639,
309,
261,
81,
820,
83,
422,
446,
13,
5411,
604,
394... |
optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "formPassword", core.formPassword }); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTab... | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/7b992ac7b46f4eaaf97e9e0e1b7e5c18e1c89deb/FProxyToadlet.java/clean/src/freenet/clients/http/FProxyToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... | |
getRenderingContext().getTextRenderer().setupGraphics( c.getGraphics() ); | getRenderingContext().getTextRenderer().setupGraphics(c.getGraphics()); | public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/b8e7e882552e228be1abb30206bccdead75ecbac/BasicPanel.java/buggy/src/java/org/xhtmlrenderer/swing/BasicPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
3744,
12,
16830,
314,
262,
288,
3639,
333,
18,
4479,
1595,
5621,
3639,
309,
261,
314,
422,
446,
262,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
997,
422,
446,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
787,
3744,
12,
16830,
314,
262,
288,
3639,
333,
18,
4479,
1595,
5621,
3639,
309,
261,
314,
422,
446,
262,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
997,
422,
446,
262,
... |
if ( IReportElementConstants.REPORT_ELEMENT_LABEL.equalsIgnoreCase( (String) request.getNewObjectType( ) ) ) | if ( IReportElementConstants.REPORT_ELEMENT_LABEL .equalsIgnoreCase( (String) request.getNewObjectType( ) ) ) | public boolean preHandleMouseUp( ) { CreateRequest request = getRequest( ); if ( IReportElementConstants.REPORT_ELEMENT_LABEL.equalsIgnoreCase( (String) request.getNewObjectType( ) ) ) { // LabelHandle labelItemHandle = // SessionHandleAdapter.getInstance( ) // .getReportDesignHandle( ) // .getElem... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4f0c26ca98ecbb792f2b5f93329f788413e6ba1a/BasePaletteFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/BasePaletteFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
675,
3259,
9186,
1211,
12,
262,
202,
202,
95,
1082,
202,
1684,
691,
590,
273,
4328,
12,
11272,
1082,
202,
430,
261,
467,
4820,
1046,
2918,
18,
22710,
67,
10976,
67,
135... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
675,
3259,
9186,
1211,
12,
262,
202,
202,
95,
1082,
202,
1684,
691,
590,
273,
4328,
12,
11272,
1082,
202,
430,
261,
467,
4820,
1046,
2918,
18,
22710,
67,
10976,
67,
135... |
RubyObject result = rubyRecv.funcall(method, rubyArgs); return JavaUtil.convertRubyToJava(ruby, result, Object.class); | public Object call(Object recv, String method, Object[] args) throws BSFException { RubyObject rubyRecv = JavaUtil.convertJavaToRuby(ruby, recv, recv.getClass()); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0; i--) { rubyArgs[i] = JavaUtil.conv... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/786cea08c1dd2092a02d1254b49fbee371ace5f9/JRubyEngine.java/buggy/org/jruby/javasupport/bsf/JRubyEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
921,
10665,
16,
514,
707,
16,
1033,
8526,
833,
13,
1216,
605,
22395,
503,
288,
3639,
19817,
921,
22155,
28470,
273,
5110,
1304,
18,
6283,
5852,
774,
54,
10340,
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,
377,
1071,
1033,
745,
12,
921,
10665,
16,
514,
707,
16,
1033,
8526,
833,
13,
1216,
605,
22395,
503,
288,
3639,
19817,
921,
22155,
28470,
273,
5110,
1304,
18,
6283,
5852,
774,
54,
10340,
12,
... | |
CellContextInfo contextInfo = (CellContextInfo) data.getCells( ) .get( 0 ); assertEquals( 2, contextInfo.getRowSpan( ) ); | assertEquals( 2, ApiTestUtil.getCopiedCell( data, 0 ).getRowSpan( design ) ); | public void testColumnCopy( ) throws Exception { openDesign( fileName ); GridHandle grid = (GridHandle) designHandle.findElement( "My grid1" ); //$NON-NLS-1$ assertNotNull( grid ); ColumnBandData data = grid.copyColumn( 1 ); assertEquals( 2, data.getCells( ).size( ) ); grid = (GridHandle) designHandle.findElemen... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/de4e32d64d24337e8801521456bb895f21408aa9/GridColumnHandleTest.java/buggy/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/GridColumnHandleTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1494,
2951,
12,
262,
1216,
1185,
202,
95,
202,
202,
3190,
15478,
12,
3968,
11272,
202,
202,
6313,
3259,
3068,
273,
261,
6313,
3259,
13,
8281,
3259,
18,
4720,
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,
225,
202,
482,
918,
1842,
1494,
2951,
12,
262,
1216,
1185,
202,
95,
202,
202,
3190,
15478,
12,
3968,
11272,
202,
202,
6313,
3259,
3068,
273,
261,
6313,
3259,
13,
8281,
3259,
18,
4720,
1046,
... |
error = e.getMessage(); | error = getStackTrace(e); | public void run() { LOG.info(getName() + ": starting"); SERVER.set(Server.this); while (running) { try { Call call; synchronized (callQueue) { while (running && callQueue.size()==0) { // wait for a call callQueue.wait(timeout); } ... | 51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/0d5fb2926a6aa30b5a0a837e13dea3821024b06c/Server.java/buggy/src/java/org/apache/hadoop/ipc/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
2018,
18,
1376,
12,
17994,
1435,
397,
6398,
5023,
8863,
1377,
15061,
18,
542,
12,
2081,
18,
2211,
1769,
1377,
1323,
261,
8704,
13,
288,
3639,
775,
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,
1071,
918,
1086,
1435,
288,
1377,
2018,
18,
1376,
12,
17994,
1435,
397,
6398,
5023,
8863,
1377,
15061,
18,
542,
12,
2081,
18,
2211,
1769,
1377,
1323,
261,
8704,
13,
288,
3639,
775,
288,
... |
isStarting = false; | forceOpenPerspective(); | private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager();... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/9337b828e86179850647141c34d497be28275ed2/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1208,
12,
4236,
2562,
13,
288,
3639,
368,
3875,
1198,
1965,
309,
1931,
18,
3639,
309,
261,
2421,
22144,
3773,
18,
588,
1868,
7675,
291,
2829,
1998,
10756,
288,
5411,
4147,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1208,
12,
4236,
2562,
13,
288,
3639,
368,
3875,
1198,
1965,
309,
1931,
18,
3639,
309,
261,
2421,
22144,
3773,
18,
588,
1868,
7675,
291,
2829,
1998,
10756,
288,
5411,
4147,
221... |
if (!(initialization instanceof PsiDeclarationStatement)) { | if(!(initialization instanceof PsiDeclarationStatement)){ | private static boolean updateUsesInitializer(PsiForStatement statement) { final PsiStatement initialization = statement.getInitialization(); final PsiStatement update = statement.getUpdate(); if (initialization == null) { return true; } if (update == null) { ... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForLoopThatDoesntUseLoopVariableInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/ForLoopThatDoesntUseLoopVariableInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
1089,
15128,
14729,
12,
52,
7722,
1290,
3406,
3021,
13,
288,
3639,
727,
453,
7722,
3406,
10313,
273,
3021,
18,
588,
17701,
5621,
3639,
727,
453,
7722,
3406,
1089,
273,
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,
3238,
760,
1250,
1089,
15128,
14729,
12,
52,
7722,
1290,
3406,
3021,
13,
288,
3639,
727,
453,
7722,
3406,
10313,
273,
3021,
18,
588,
17701,
5621,
3639,
727,
453,
7722,
3406,
1089,
273,
30... |
this.value = Amoeba.this.f.evaluate(arg); | double val = Amoeba.this.f.evaluate(arg); if (Double.isNaN(val)) { this.value = Double.MAX_VALUE; } else { this.value = val; } | public Point(final double arg[]) { this.arg = (double[]) arg.clone(); this.value = Amoeba.this.f.evaluate(arg); ++Amoeba.this.steps; } | 9751 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9751/c042e0d7be9dcfddf469e60ca2aa2143550ff284/Amoeba.java/clean/src/org/gavrog/jane/algorithms/Amoeba.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
4686,
12,
6385,
1645,
1501,
63,
5717,
288,
5411,
333,
18,
3175,
273,
261,
9056,
63,
5717,
1501,
18,
14056,
5621,
5411,
1645,
1244,
273,
3986,
15548,
12124,
18,
2211,
18,
74,
18,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
4686,
12,
6385,
1645,
1501,
63,
5717,
288,
5411,
333,
18,
3175,
273,
261,
9056,
63,
5717,
1501,
18,
14056,
5621,
5411,
1645,
1244,
273,
3986,
15548,
12124,
18,
2211,
18,
74,
18,
2... |
public void readImpl(PipelineContext context, ContentHandler contentHandler) { | public void readImpl(PipelineContext pipelineContext, ContentHandler contentHandler) { | public ProcessorOutput createOutput(String name) { ProcessorOutput output = new ProcessorImpl.ProcessorOutputImpl(getClass(), name) { public void readImpl(PipelineContext context, ContentHandler contentHandler) { final ExternalContext externalContext = (ExternalContext) context.getA... | 51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/ae1d0661cd6881846f830d97929a07c4ee98d979/PortletContainerProcessor.java/buggy/src/java/org/orbeon/oxf/portlet/processor/PortletContainerProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15476,
1447,
752,
1447,
12,
780,
508,
13,
288,
3639,
15476,
1447,
876,
273,
394,
15476,
2828,
18,
5164,
1447,
2828,
12,
588,
797,
9334,
508,
13,
288,
5411,
1071,
918,
855,
2828,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15476,
1447,
752,
1447,
12,
780,
508,
13,
288,
3639,
15476,
1447,
876,
273,
394,
15476,
2828,
18,
5164,
1447,
2828,
12,
588,
797,
9334,
508,
13,
288,
5411,
1071,
918,
855,
2828,
1... |
public MethodCall(String dest, String path, String iface, String member, String sig, Object... args) { super(Message.Endian.BIG, Message.MessageType.METHOD_CALL, (byte) 0); headers.put(Message.HeaderField.PATH,path); headers.put(Message.HeaderField.DESTINATION,dest); headers.put(Message.HeaderField.MEMBER,member); Ve... | MethodCall() { } | public MethodCall(String dest, String path, String iface, String member, String sig, Object... args) { super(Message.Endian.BIG, Message.MessageType.METHOD_CALL, (byte) 0); headers.put(Message.HeaderField.PATH,path); headers.put(Message.HeaderField.DESTINATION,dest); headers.put(Message.Header... | 5401 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5401/0a09fa0be7cff934fa14dfe85870de0d7755b88a/MethodCall.java/buggy/org/freedesktop/dbus/MethodCall.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
2985,
1477,
12,
780,
1570,
16,
514,
589,
16,
514,
9751,
16,
514,
3140,
16,
514,
3553,
16,
1033,
2777,
833,
13,
565,
288,
1377,
2240,
12,
1079,
18,
7583,
18,
19044,
16,
2350,
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,
565,
1071,
2985,
1477,
12,
780,
1570,
16,
514,
589,
16,
514,
9751,
16,
514,
3140,
16,
514,
3553,
16,
1033,
2777,
833,
13,
565,
288,
1377,
2240,
12,
1079,
18,
7583,
18,
19044,
16,
2350,
18,... |
setStringProperty( Style.WIDOWS_PROP, value ); | setStringProperty( IStyleModel.WIDOWS_PROP, value ); | public void setWidows( String value ) throws SemanticException { setStringProperty( Style.WIDOWS_PROP, value ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/StyleHandle.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/StyleHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
59,
350,
543,
87,
12,
514,
460,
262,
1216,
24747,
503,
202,
95,
202,
202,
542,
780,
1396,
12,
9767,
18,
59,
734,
22973,
67,
15811,
16,
460,
11272,
202,
97,
2,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
59,
350,
543,
87,
12,
514,
460,
262,
1216,
24747,
503,
202,
95,
202,
202,
542,
780,
1396,
12,
9767,
18,
59,
734,
22973,
67,
15811,
16,
460,
11272,
202,
97,
2,
-1... |
e.printStackTrace(); | throw new RuntimeException("Interrupted while trying to add connection to pool"); | public void put(ManagerConnection connection) { try { connections.put(connection); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } | 52801 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52801/bc775586138e4f88e52b7ab5068feb494e4f5644/ManagerConnectionPool.java/buggy/src/main/java/org/asteriskjava/live/internal/ManagerConnectionPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1378,
12,
1318,
1952,
1459,
13,
565,
288,
3639,
775,
3639,
288,
5411,
5921,
18,
458,
12,
4071,
1769,
3639,
289,
3639,
1044,
261,
24485,
503,
425,
13,
3639,
288,
5411,
368,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1378,
12,
1318,
1952,
1459,
13,
565,
288,
3639,
775,
3639,
288,
5411,
5921,
18,
458,
12,
4071,
1769,
3639,
289,
3639,
1044,
261,
24485,
503,
425,
13,
3639,
288,
5411,
368,
26... |
data[h]=parseInt(buffer, start,stop); | data.hour=parseInt(buffer, start,stop); | protected void getTime (String buffer, int start, int end, int[] data, int[] timeZone) throws RuntimeException{ int stop = start+2; //get hours (hh) data[h]=parseInt(buffer, start,stop); //get minutes (mm) if (buffer.charAt(stop++)!=':') { throw new RuntimeExceptio... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/7569f1e56b929395f70c2717a33b9ea5e6583d7a/AbstractDateTimeDV.java/buggy/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
225,
918,
6135,
261,
780,
1613,
16,
509,
787,
16,
509,
679,
16,
509,
8526,
501,
16,
509,
8526,
17512,
13,
1216,
3235,
95,
3639,
509,
2132,
273,
787,
15,
22,
31,
3639,
368,
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,
4750,
225,
918,
6135,
261,
780,
1613,
16,
509,
787,
16,
509,
679,
16,
509,
8526,
501,
16,
509,
8526,
17512,
13,
1216,
3235,
95,
3639,
509,
2132,
273,
787,
15,
22,
31,
3639,
368,
588,
... |
if (zentry.isDirectory()) continue; | if (zentry.isDirectory()) continue; | public StdKunststoffPackager(String outputFilename, PackagerListener plistener) throws Exception { super(outputFilename, plistener); // Copies the Kunststoff library sendMsg("Copying the Kunststoff library ..."); InputStream istream = getClass().getResourceAsStream("/lib/kunststoff.jar"); ZipInput... | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/StdKunststoffPackager.java/buggy/src/lib/com/izforge/izpack/compiler/StdKunststoffPackager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6276,
47,
23412,
334,
3674,
4420,
6817,
12,
780,
876,
5359,
16,
7930,
6817,
2223,
21074,
708,
13,
377,
1216,
1185,
225,
288,
565,
2240,
12,
2844,
5359,
16,
21074,
708,
1769,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
6276,
47,
23412,
334,
3674,
4420,
6817,
12,
780,
876,
5359,
16,
7930,
6817,
2223,
21074,
708,
13,
377,
1216,
1185,
225,
288,
565,
2240,
12,
2844,
5359,
16,
21074,
708,
1769,
565,
... |
s = (String) (data.getTransferData(DataFlavor.stringFlavor)); | DataFlavor df = DataFlavor.getTextPlainUnicodeFlavor(); Reader sr = df.getReaderForText(data); s = StringTools.readerToString(sr); | private void restoreFromTray() { // get text from clipboard or selection: Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemSelection(); if (clipboard == null) { // on Windows clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); } String s = null; Transferable data = clipbo... | 10628 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10628/4c1c0fdf73ded253fd70602667c975738d811da5/Main.java/buggy/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
5217,
1265,
56,
435,
1435,
288,
565,
368,
336,
977,
628,
20304,
578,
4421,
30,
565,
385,
3169,
3752,
20304,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
3163,
6233,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5217,
1265,
56,
435,
1435,
288,
565,
368,
336,
977,
628,
20304,
578,
4421,
30,
565,
385,
3169,
3752,
20304,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
3163,
6233,
... |
public org.quickfix.field.RFQReqID getRFQReqID() throws FieldNotFound { org.quickfix.field.RFQReqID value = new org.quickfix.field.RFQReqID(); | public quickfix.field.RFQReqID getRFQReqID() throws FieldNotFound { quickfix.field.RFQReqID value = new quickfix.field.RFQReqID(); | public org.quickfix.field.RFQReqID getRFQReqID() throws FieldNotFound { org.quickfix.field.RFQReqID value = new org.quickfix.field.RFQReqID(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/RFQRequest.java/buggy/src/java/src/quickfix/fix43/RFQRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12918,
53,
6113,
734,
4170,
23032,
6113,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12918,
53,
6113,
734,
460,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12918,
53,
6113,
734,
4170,
23032,
6113,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12918,
53,
6113,
734,
460,
... |
if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { | if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || support.getCharAt(1) == '>')) { | private int yylex() { int c; int space_seen = 0; kwtable kw; retry : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of script. return 0;... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
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,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261... |
elements.add(element); | if (element != null) { elements.add(element); } | protected void restoreState(IMemento memento) { TreeViewer viewer = getTreeViewer(); IMemento frameMemento = memento.getChild(TAG_CURRENT_FRAME); if (frameMemento != null) { TreeFrame frame = new TreeFrame(viewer); frame.restoreState(frameMemento); frame.setName(getFrameName(frame.getInput())); frame.setT... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d1dfc320306a2b9a03025db84d18bac161194cbe/ResourceNavigator.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5217,
1119,
12,
3445,
820,
83,
312,
820,
83,
13,
288,
202,
202,
2471,
18415,
14157,
273,
15867,
18415,
5621,
202,
202,
3445,
820,
83,
2623,
49,
820,
83,
273,
312,
820,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5217,
1119,
12,
3445,
820,
83,
312,
820,
83,
13,
288,
202,
202,
2471,
18415,
14157,
273,
15867,
18415,
5621,
202,
202,
3445,
820,
83,
2623,
49,
820,
83,
273,
312,
820,
... |
return (int)Math.ceil(fTons / 5.0); | if (entity.getTechLevel() == TechConstants.T_CLAN_LEVEL_2) { return (int)Math.ceil(fTons / 5.0f); } else { return (int)Math.ceil(fTons / 4.0f); } | public int getCriticals(Entity entity) { if (criticals != CRITICALS_VARIABLE) { return criticals; } // check for known formulas if (hasFlag(F_HATCHET)) { return (int)Math.ceil(entity.getWeight() / 15.0); } else if (hasFlag(F_DOUBLE_HEAT_SINK) && entity.getTec... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/61e393b7db266bb7eaf84a90c93bd5d7f236dd01/MiscType.java/clean/megamek/src/megamek/common/MiscType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1927,
583,
335,
1031,
12,
1943,
1522,
13,
288,
3639,
309,
261,
27826,
335,
1031,
480,
28588,
55,
67,
16444,
13,
288,
5411,
327,
7921,
335,
1031,
31,
3639,
289,
3639,
368,
866... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
1927,
583,
335,
1031,
12,
1943,
1522,
13,
288,
3639,
309,
261,
27826,
335,
1031,
480,
28588,
55,
67,
16444,
13,
288,
5411,
327,
7921,
335,
1031,
31,
3639,
289,
3639,
368,
866... |
("file: | ("file: | public ProcessorTest (String testName, String propertiesFile, String audioSourceFile) throws Exception { context = testName; batchMode = Boolean.getBoolean ("tests.frontend." + testName + ".batchMode"); dumpTimes = Boolean.getBoolean ... | 47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/204a76687188d0444810174c2ab5c4135c1e859e/ProcessorTest.java/buggy/sphinx4/tests/frontend/ProcessorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15476,
4709,
565,
261,
780,
1842,
461,
16,
514,
1790,
812,
16,
514,
7447,
31150,
13,
1216,
565,
1185,
288,
19694,
819,
273,
1842,
461,
31,
7734,
2581,
2309,
273,
3411,
18,
588,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15476,
4709,
565,
261,
780,
1842,
461,
16,
514,
1790,
812,
16,
514,
7447,
31150,
13,
1216,
565,
1185,
288,
19694,
819,
273,
1842,
461,
31,
7734,
2581,
2309,
273,
3411,
18,
588,
55... |
if (leftESet) result.append(left); else result.append("<unset>"); | if (leftESet) result.append(left); else result.append("<unset>"); | public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (left: "); if (leftESet) result.append(left); else result.append("<unset>"); result.append(", top: "); if (topESet) result.append... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/BoundsImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/BoundsImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
73,
2520,
3886,
10756,
327,
2240,
18,
10492,
5621,
3639,
6674,
563,
273,
394,
6674,
12,
9565,
18,
10492,
10663,
3639,
563,
18,
6923,
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,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
73,
2520,
3886,
10756,
327,
2240,
18,
10492,
5621,
3639,
6674,
563,
273,
394,
6674,
12,
9565,
18,
10492,
10663,
3639,
563,
18,
6923,
2932,... |
public static void logError(Throwable t, String msg, String module) { log(Debug.ERROR, t, msg, module); | public static void logError(String msg, String module) { log(Debug.ERROR, null, msg, module); | public static void logError(Throwable t, String msg, String module) { log(Debug.ERROR, t, msg, module); } | 45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/674ac0aaae1138d72aab8865ac87ed037c31ca37/Debug.java/buggy/framework/base/src/base/org/ofbiz/base/util/Debug.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
20638,
12,
15155,
268,
16,
514,
1234,
16,
514,
1605,
13,
288,
3639,
613,
12,
2829,
18,
3589,
16,
268,
16,
1234,
16,
1605,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
20638,
12,
15155,
268,
16,
514,
1234,
16,
514,
1605,
13,
288,
3639,
613,
12,
2829,
18,
3589,
16,
268,
16,
1234,
16,
1605,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-1... |
protected List<AbstractQueryHit> performQuery(AbstractRepositoryQuery repositoryQuery, final IProgressMonitor monitor, MultiStatus queryStatus) { if (!(repositoryQuery instanceof JiraRepositoryQuery)) { return Collections.emptyList(); } final JiraRepositoryQuery jiraRepositoryQuery = (JiraRepositoryQuery)reposito... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/61115439d0b1cb89b27e637205643eae4b5b2273/JiraRepositoryConnector.java/buggy/org.eclipse.mylyn.jira.ui/src/org/eclipse/mylyn/internal/jira/JiraRepositoryConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
682,
32,
7469,
1138,
13616,
34,
16092,
1138,
12,
7469,
3305,
1138,
9071,
1138,
16,
6385,
45,
5491,
11415,
305,
535,
4089,
16,
5002,
1482,
2271,
1482,
15329,
202,
202,
430,
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,
1117,
682,
32,
7469,
1138,
13616,
34,
16092,
1138,
12,
7469,
3305,
1138,
9071,
1138,
16,
6385,
45,
5491,
11415,
305,
535,
4089,
16,
5002,
1482,
2271,
1482,
15329,
202,
202,
430,
12,
... | ||
case (byte) 'r': | case (byte) 'r': | public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String types[]) throws SQLException { // Handle default value for types if (types == null) types = defaultTableTypes; if (tableNamePattern == null) tableNamePattern = "%"; // the field descriptors for the new Res... | 45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
29002,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
1953,
63,
5717,
1216,
6483,
202,
95,
202,
202,
759,
5004,
805,
460,
364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
29002,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
1953,
63,
5717,
1216,
6483,
202,
95,
202,
202,
759,
5004,
805,
460,
364,
... |
synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = listeners[i]; if (!isNonDisplayableJob(info.getJob(), listener.showsDebug())) { | synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = listeners[i]; if (!isNonDisplayableJob(info.getJob(), listener.showsDebug())) { | public void removeJobInfo(JobInfo info) { Job job = info.getJob(); jobs.remove(job); synchronized (monitorKey) { if (runnableMonitors.containsKey(job)) { runnableMonitors.remove(job); } } synchronized (listenersKey) { for (int i = 0; i < listeners.length; i++) { IJobProgressManagerListener listener = ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/82e45bfb168fa5c37a8ced4976d2cc8fef6ce0f2/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
2278,
966,
12,
2278,
966,
1123,
13,
288,
202,
202,
2278,
1719,
273,
1123,
18,
588,
2278,
5621,
202,
202,
10088,
18,
4479,
12,
4688,
1769,
202,
202,
22043,
261,
1025... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1206,
2278,
966,
12,
2278,
966,
1123,
13,
288,
202,
202,
2278,
1719,
273,
1123,
18,
588,
2278,
5621,
202,
202,
10088,
18,
4479,
12,
4688,
1769,
202,
202,
22043,
261,
1025... |
buf.insert(0, ((PDOMBinding)parent).getName() + "::"); | buf.insert(0, ((PDOMBinding)parent).getName() + "::"); | public static String getBindingQualifiedName(PDOMBinding pdomBinding) throws CoreException { StringBuffer buf = new StringBuffer(pdomBinding.getName()); PDOMNode parent = pdomBinding.getParentNode(); while (parent != null) { if (parent instanceof PDOMBinding) { buf.insert(0, ((PDOMBinding)parent).ge... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3acc9f3c5de5259ed001a803cbe9e7d8a74c172d/NewClassWizardUtil.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassWizardUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
29471,
12345,
12,
52,
8168,
5250,
4863,
362,
5250,
13,
1216,
30015,
202,
95,
202,
202,
780,
1892,
1681,
273,
394,
6674,
12,
84,
9859,
5250,
18,
17994,
10663,
1082,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
29471,
12345,
12,
52,
8168,
5250,
4863,
362,
5250,
13,
1216,
30015,
202,
95,
202,
202,
780,
1892,
1681,
273,
394,
6674,
12,
84,
9859,
5250,
18,
17994,
10663,
1082,
2... |
public int size() { | public int size() { | public int size() { return itsVariables.size(); } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/13c17e9f4326e4e47b5e45bd238e7e6dc3c09063/VariableTable.java/buggy/js/rhino/src/org/mozilla/javascript/VariableTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
963,
1435,
565,
288,
3639,
327,
2097,
6158,
18,
1467,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
963,
1435,
565,
288,
3639,
327,
2097,
6158,
18,
1467,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Query query = session.createQuery(queryString); return query.uniqueResult(); } | Query query = session.createQuery(queryString); for (int i = 0; i < queryArgs.length; i++) { query.setParameter(i, queryArgs[i]); } return query.uniqueResult(); } | public Object doInHibernate(Session session) throws HibernateException, SQLException { Query query = session.createQuery(queryString); return query.uniqueResult(); } | 51576 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51576/4fccc86f70758d328337f970eedd7c2fbcfc0fdc/GetPersistentMethod.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/GetPersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
1033,
741,
382,
44,
24360,
12,
2157,
1339,
13,
1216,
670,
24360,
503,
16,
6483,
288,
6862,
202,
1138,
843,
273,
1339,
18,
2640,
1138,
12,
2271,
780,
1769,
6862,
202,
2463,
84... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
1033,
741,
382,
44,
24360,
12,
2157,
1339,
13,
1216,
670,
24360,
503,
16,
6483,
288,
6862,
202,
1138,
843,
273,
1339,
18,
2640,
1138,
12,
2271,
780,
1769,
6862,
202,
2463,
84... |
Set rows = row_texts.keySet(); do { Random random = new Random(); the_row = random.nextInt(max_row); } while(!rows.contains(new Integer(the_row))); theText = (String)row_texts.get(new Integer(the_row)); } if( type.equals("pic")) { out.println( "<img src=\" " + theText + "\"> "); } else if(type.equals("quot")) {... | out.write( theText ); | public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; //get todays date Date theDate = new Date(); GregorianCalendar cal = new GregorianCalendar(); int... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/cd29304b3d5e074ab6bcd5b7551ecf16e3a1a5d1/QEngine.java/clean/servlets/QEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
225,
202,
95,
9506,
202,
780,
1479,
273,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
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,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
225,
202,
95,
9506,
202,
780,
1479,
273,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
2... |
Class[] args = method.getParameterTypes(); | private void generateMethod(String fieldName, Method method, Method invokeSuper, Method afterReturn) { Class[] args = method.getParameterTypes(); Class returnType = method.getReturnType(); boolean returnsValue = !returnType.equals(Void.TYPE); int mod = method.getModifiers(); boole... | 1154 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1154/3123214982f515c3fd4771e8b99480517bff054b/EnhancerGenerator.java/buggy/src/proxy/net/sf/cglib/EnhancerGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
1305,
12,
780,
4289,
16,
2985,
707,
16,
2985,
4356,
8051,
16,
2985,
1839,
990,
13,
288,
9079,
1659,
9424,
273,
707,
18,
588,
9102,
5621,
3639,
1250,
1135,
620,
273,
401... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2103,
1305,
12,
780,
4289,
16,
2985,
707,
16,
2985,
4356,
8051,
16,
2985,
1839,
990,
13,
288,
9079,
1659,
9424,
273,
707,
18,
588,
9102,
5621,
3639,
1250,
1135,
620,
273,
401... | |
throws SQLException, IOException, AuthorizeException | throws SQLException | void delete() throws SQLException, IOException, AuthorizeException { // changed to a check on remove // Check authorisation //AuthorizeManager.authorizeAction(bContext, this, Constants.DELETE); log.info(LogManager.getHeader(bContext, "delete_bitstream", "b... | 25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/b670e5e2a3946a0fd719a9d3f1a67ca275e27fd0/Bitstream.java/clean/dspace/src/org/dspace/content/Bitstream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1430,
1435,
3639,
1216,
6483,
565,
288,
3639,
368,
3550,
358,
279,
866,
603,
1206,
3639,
368,
2073,
2869,
10742,
3639,
368,
18987,
1318,
18,
22488,
1803,
12,
70,
1042,
16,
333,
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,
377,
918,
1430,
1435,
3639,
1216,
6483,
565,
288,
3639,
368,
3550,
358,
279,
866,
603,
1206,
3639,
368,
2073,
2869,
10742,
3639,
368,
18987,
1318,
18,
22488,
1803,
12,
70,
1042,
16,
333,
16,
... |
Mock mockProjectService = new Mock(ProjectService.class); ((JiraSoapServiceImpl)service).setProjectService((ProjectService) mockProjectService.proxy()); | public void testDelegatedProjectService() throws RemoteException, RemotePermissionException, RemoteAuthenticationException { mockTokenM.expects(atLeastOnce()).method("retrieveUser"); Mock mockProjectService = new Mock(ProjectService.class); ((JiraSoapServiceImpl)service).setProjectService((P... | 21772 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/21772/607bcdf5af460e7c19d70bde73c612e1cc8dfd52/TestJiraSoapServiceImpl.java/clean/src/test/java/com/atlassian/jira/rpc/soap/TestJiraSoapServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
15608,
690,
4109,
1179,
1435,
1216,
18361,
16,
6304,
5041,
503,
16,
6304,
6492,
503,
565,
288,
3639,
5416,
1345,
49,
18,
12339,
87,
12,
270,
17319,
12212,
1435,
2934,
203... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15608,
690,
4109,
1179,
1435,
1216,
18361,
16,
6304,
5041,
503,
16,
6304,
6492,
503,
565,
288,
3639,
5416,
1345,
49,
18,
12339,
87,
12,
270,
17319,
12212,
1435,
2934,
203... | |
AuthToken authToken = new AuthToken(context.authAccount); context.authTokenCookie = authToken.getEncoded(); | context.authTokenCookie = new AuthToken(context.authAccount).getEncoded(); | private void getAccount(Context context) throws IOException, ServletException, UserServletException { try { // check cookie first if (context.cookieAuthAllowed()) { context.authAccount = cookieAuthRequest(context.req, context.resp, true); if (con... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4a7cfa65157112bd679b53a1cad54251dea8832c/UserServlet.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/UserServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
23393,
12,
1042,
819,
13,
1216,
1860,
16,
5411,
16517,
16,
2177,
4745,
503,
288,
3639,
775,
288,
5411,
368,
866,
3878,
1122,
5411,
309,
261,
2472,
18,
8417,
1730,
5042,
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,
377,
3238,
918,
23393,
12,
1042,
819,
13,
1216,
1860,
16,
5411,
16517,
16,
2177,
4745,
503,
288,
3639,
775,
288,
5411,
368,
866,
3878,
1122,
5411,
309,
261,
2472,
18,
8417,
1730,
5042,
10756,
... |
_rtRuns[0] = new RichTextRun(this,0,s.length(), pCol, cCol); | _rtRuns[0] = new RichTextRun(this,0,s.length(), pCol, cCol, false, false); | public synchronized void setText(String s) { // Save the new text to the atoms storeText(s); // Finally, zap and re-do the RichTextRuns for(int i=0; i<_rtRuns.length; i++) { _rtRuns[i] = null; } _rtRuns = new RichTextRun[1]; // Now handle record stylings: // If there isn't styling // no change, stays with n... | 509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/c0d50d0c841f4bee76072c5959074fb784e1c74e/TextRun.java/clean/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
7883,
12,
780,
272,
13,
288,
202,
202,
759,
7074,
326,
394,
977,
358,
326,
9006,
202,
202,
2233,
1528,
12,
87,
1769,
9506,
202,
759,
15768,
16,
11419,
471,
283,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
7883,
12,
780,
272,
13,
288,
202,
202,
759,
7074,
326,
394,
977,
358,
326,
9006,
202,
202,
2233,
1528,
12,
87,
1769,
9506,
202,
759,
15768,
16,
11419,
471,
283,
1... |
handlers.append(" disabled=\"true\""); | handlers.append(" disabled=\"disabled\""); | private void prepareFocusEvents(StringBuffer handlers) { if (onblur != null) { handlers.append(" onblur=\""); handlers.append(onblur); handlers.append("\""); } if (onfocus != null) { handlers.append(" onfocus=\""); handlers.append(onfocus);... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/a7f8f9b496877b9652c91fba0d452f3c56b07358/BaseHandlerTag.java/clean/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2911,
9233,
3783,
12,
780,
1892,
4919,
13,
288,
3639,
309,
261,
265,
27065,
480,
446,
13,
288,
5411,
4919,
18,
6923,
2932,
603,
27065,
5189,
8863,
5411,
4919,
18,
6923,
12,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2911,
9233,
3783,
12,
780,
1892,
4919,
13,
288,
3639,
309,
261,
265,
27065,
480,
446,
13,
288,
5411,
4919,
18,
6923,
2932,
603,
27065,
5189,
8863,
5411,
4919,
18,
6923,
12,
2... |
cmbBlockColor = new FillChooserComposite( cmpBasic, SWT.DROP_DOWN | SWT.READ_ONLY, getChart( ).getPlot( ).getBackground( ), true, true ); | cmbBlockColor = new FillChooserComposite( cmpBasic, SWT.DROP_DOWN | SWT.READ_ONLY, getContext( ), getChart( ).getPlot( ) .getBackground( ), true, true ); | public void getComponent( Composite parent ) { cmpContent = new Composite( parent, SWT.NONE ); { GridLayout glContent = new GridLayout( 2, false ); cmpContent.setLayout( glContent ); GridData gd = new GridData( GridData.FILL_BOTH ); cmpContent.setLayoutData( gd ); } Composite cmpBasic = new Composite( cmpC... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/9d8486a7f0171324b11e48825eceffef31458cf9/ChartPlotSheetImpl.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/chart/ChartPlotSheetImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10322,
12,
14728,
982,
262,
202,
95,
202,
202,
9625,
1350,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
3744,
5118,
1350,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10322,
12,
14728,
982,
262,
202,
95,
202,
202,
9625,
1350,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
3744,
5118,
1350,
273,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.