rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
_t = __t2480;
_t = __t2481;
public final void sqlexpression(AST _t) throws RecognitionException { AST sqlexpression_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OR: { AST __t2469 = _t; AST tmp1680_AST_in = (AST)_t; match(_t,OR); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; sqlexpression(_t); _t = _retTree; _t = __t2469; _t = _t.getNextSibling(); break; } case AND: { AST __t2470 = _t; AST tmp1681_AST_in = (AST)_t; match(_t,AND); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; sqlexpression(_t); _t = _retTree; _t = __t2470; _t = _t.getNextSibling(); break; } case NOT: { AST __t2471 = _t; AST tmp1682_AST_in = (AST)_t; match(_t,NOT); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; _t = __t2471; _t = _t.getNextSibling(); break; } case MATCHES: { AST __t2472 = _t; AST tmp1683_AST_in = (AST)_t; match(_t,MATCHES); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2472; _t = _t.getNextSibling(); break; } case BEGINS: { AST __t2474 = _t; AST tmp1684_AST_in = (AST)_t; match(_t,BEGINS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2474; _t = _t.getNextSibling(); break; } case CONTAINS: { AST __t2476 = _t; AST tmp1685_AST_in = (AST)_t; match(_t,CONTAINS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2476; _t = _t.getNextSibling(); break; } case EQ: { AST __t2478 = _t; AST tmp1686_AST_in = (AST)_t; match(_t,EQ); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2478; _t = _t.getNextSibling(); break; } case NE: { AST __t2480 = _t; AST tmp1687_AST_in = (AST)_t; match(_t,NE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2480; _t = _t.getNextSibling(); break; } case GTHAN: { AST __t2482 = _t; AST tmp1688_AST_in = (AST)_t; match(_t,GTHAN); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2482; _t = _t.getNextSibling(); break; } case GE: { AST __t2484 = _t; AST tmp1689_AST_in = (AST)_t; match(_t,GE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2484; _t = _t.getNextSibling(); break; } case LTHAN: { AST __t2486 = _t; AST tmp1690_AST_in = (AST)_t; match(_t,LTHAN); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2486; _t = _t.getNextSibling(); break; } case LE: { AST __t2488 = _t; AST tmp1691_AST_in = (AST)_t; match(_t,LE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2488; _t = _t.getNextSibling(); break; } case EXISTS: { AST __t2490 = _t; AST tmp1692_AST_in = (AST)_t; match(_t,EXISTS); _t = _t.getFirstChild(); AST tmp1693_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); selectstatea(_t); _t = _retTree; AST tmp1694_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2490; _t = _t.getNextSibling(); break; } case Sql_begins: { AST __t2491 = _t; AST tmp1695_AST_in = (AST)_t; match(_t,Sql_begins); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp1696_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case BEGINS: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1697_AST_in = (AST)_t; match(_t,BEGINS); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; _t = __t2491; _t = _t.getNextSibling(); break; } case Sql_between: { AST __t2493 = _t; AST tmp1698_AST_in = (AST)_t; match(_t,Sql_between); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp1699_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case BETWEEN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1700_AST_in = (AST)_t; match(_t,BETWEEN); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; AST tmp1701_AST_in = (AST)_t; match(_t,AND); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; _t = __t2493; _t = _t.getNextSibling(); break; } case Sql_in: { AST __t2495 = _t; AST tmp1702_AST_in = (AST)_t; match(_t,Sql_in); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp1703_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case IN_KW: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1704_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getNextSibling(); AST tmp1705_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SELECT: { selectstatea(_t); _t = _retTree; break; } case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LITTLEENDIAN: case NO: case NOLOCK: case NOWAIT: case NULL_KW: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TRUE_KW: case USERID: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case Field_ref: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { sql_in_val(_t); _t = _retTree; { _loop2499: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1706_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); sql_in_val(_t); _t = _retTree; } else { break _loop2499; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } AST tmp1707_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2495; _t = _t.getNextSibling(); break; } case Sql_like: { AST __t2500 = _t; AST tmp1708_AST_in = (AST)_t; match(_t,Sql_like); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp1709_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case LIKE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1710_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ESCAPE: { AST tmp1711_AST_in = (AST)_t; match(_t,ESCAPE); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2500; _t = _t.getNextSibling(); break; } case Sql_null_test: { AST __t2503 = _t; AST tmp1712_AST_in = (AST)_t; match(_t,Sql_null_test); _t = _t.getFirstChild(); AST tmp1713_AST_in = (AST)_t; match(_t,IS); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp1714_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case NULL_KW: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1715_AST_in = (AST)_t; match(_t,NULL_KW); _t = _t.getNextSibling(); _t = __t2503; _t = _t.getNextSibling(); break; } default: if (_t==null) _t=ASTNULL; if ((_tokenSet_31.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4744, 4149, 1337, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4744, 4149, 1337, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 4869, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3247, 8148, 273, 389, 88, 31, 1082, 202, 9053, 1853, 2313, 3672, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 916, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 11410, 4149, 1337, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 11410, 4149, 1337, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 3247, 8148, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 4116, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3247, 7301, 273, 389, 88, 31, 1082, 202, 9053, 1853, 2313, 11861, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4307, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 11410, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4744, 4149, 1337, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4744, 4149, 1337, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 4869, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3247, 8148, 273, 389, 88, 31, 1082, 202, 9053, 1853, 2313, 3672, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 916, 1769, 1082, 202, 67, 88, 273, 389, 2 ]
throw new EJBException("Transaction rollback failed: " + e);
throw new RemoteException("Transaction rollback failed: " + e);
public String getItems(Integer categoryId, Integer regionId, int page, int nbOfItems) { Enumeration list; ItemPK itemPK; ItemHome iHome; Item item; Query query; QueryHome qHome; String html = ""; try { qHome = (QueryHome)PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/Query"), QueryHome.class); query = qHome.create(); } catch (Exception e) { throw new EJBException("Cannot lookup Query: " +e); } try { iHome = (ItemHome)PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/Item"), ItemHome.class); } catch (Exception e) { throw new EJBException("Cannot lookup Item: " +e); } utx = sessionContext.getUserTransaction(); try { utx.begin(); list = query.getCurrentItemsInCategoryAndRegion(categoryId, regionId, page*nbOfItems, nbOfItems).elements(); while (list.hasMoreElements()) { itemPK = (ItemPK)list.nextElement(); item = iHome.findByPrimaryKey(itemPK); html = html.concat(printItem(item)); } utx.commit(); } catch (Exception e) { try { utx.rollback(); throw new EJBException("Cannot get items list: " +e); } catch (Exception se) { throw new EJBException("Transaction rollback failed: " + e); } } return html; }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/69c37257a1581e015b5a8a01582a0f0d4a10936c/SB_SearchItemsByRegionBean.java/buggy/EJB_Session_facade/edu/rice/rubis/beans/SB_SearchItemsByRegionBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 15515, 12, 4522, 28311, 16, 2144, 3020, 548, 16, 509, 1363, 16, 509, 4264, 951, 3126, 13, 282, 288, 1377, 13864, 666, 31, 1377, 4342, 8784, 1377, 761, 8784, 31, 1377, 4342, 8684, 565, 277, 8684, 31, 1377, 4342, 3639, 761, 31, 1377, 2770, 4202, 843, 31, 1377, 2770, 8684, 282, 1043, 8684, 31, 1377, 514, 1729, 273, 1408, 31, 565, 775, 377, 288, 1377, 1043, 8684, 273, 261, 1138, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 2932, 6290, 30, 2919, 19, 3074, 19, 73, 10649, 19, 1138, 6, 3631, 2770, 8684, 18, 1106, 1769, 1377, 843, 273, 1043, 8684, 18, 2640, 5621, 565, 289, 377, 1044, 261, 503, 425, 13, 565, 288, 1377, 604, 394, 12157, 503, 2932, 4515, 3689, 2770, 30, 315, 397, 73, 1769, 565, 289, 565, 775, 377, 288, 1377, 277, 8684, 273, 261, 1180, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 2932, 6290, 30, 2919, 19, 3074, 19, 73, 10649, 19, 1180, 6, 3631, 4342, 8684, 18, 1106, 1769, 565, 289, 377, 1044, 261, 503, 425, 13, 565, 288, 1377, 604, 394, 12157, 503, 2932, 4515, 3689, 4342, 30, 315, 397, 73, 1769, 565, 289, 565, 5218, 92, 273, 1339, 1042, 18, 588, 1299, 3342, 5621, 565, 775, 377, 288, 1377, 5218, 92, 18, 10086, 5621, 1377, 666, 273, 843, 18, 588, 3935, 3126, 382, 4457, 1876, 5165, 12, 4743, 548, 16, 3020, 548, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 15515, 12, 4522, 28311, 16, 2144, 3020, 548, 16, 509, 1363, 16, 509, 4264, 951, 3126, 13, 282, 288, 1377, 13864, 666, 31, 1377, 4342, 8784, 1377, 761, 8784, 31, 1377, 4342, 8684, 565, 277, 8684, 31, 1377, 4342, 3639, 761, 31, 1377, 2770, 4202, 843, 31, 1377, 2770, 8684, 282, 1043, 8684, 31, 1377, 514, 1729, 273, 1408, 31, 565, 775, 377, 288, 1377, 1043, 8684, 273, 261, 1138, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 2932, 6290, 30, 2919, 19, 3074, 19, 73, 10649, 19, 1138, 6, 3631, 2770, 8684, 18, 1106, 1769, 1377, 843, 273, 1043, 8684, 18, 2640, 5621, 565, 289, 377, 1044, 261, 503, 2 ]
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:962:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt62=11; switch ( input.LA(1) ) { case ID: alt62=1; break; case 17: alt62=2; break; case 57: alt62=3; break; case 28: alt62=4; break; case 26: alt62=5; break; case 33: alt62=6; break; case 34: alt62=7; break; case 29: alt62=8; break; case 31: alt62=9; break; case 27: alt62=10; break; case STRING: alt62=11; break; default: NoViableAltException nvae = new NoViableAltException("958:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 62, 0, input); throw nvae; } switch (alt62) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:962:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word2726); word=id.getText(); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:963:17: 'import' { match(input,17,FOLLOW_17_in_word2738); word="import"; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:964:17: 'use' { match(input,57,FOLLOW_57_in_word2747); word="use"; } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:965:17: 'rule' { match(input,28,FOLLOW_28_in_word2759); word="rule"; } break; case 5 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:966:17: 'query' { match(input,26,FOLLOW_26_in_word2770); word="query"; } break; case 6 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:967:17: 'salience' { match(input,33,FOLLOW_33_in_word2780); word="salience"; } break; case 7 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:968:17: 'no-loop' { match(input,34,FOLLOW_34_in_word2788); word="no-loop"; } break; case 8 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:969:17: 'when' { match(input,29,FOLLOW_29_in_word2796); word="when"; } break; case 9 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:970:17: 'then' { match(input,31,FOLLOW_31_in_word2807); word="then"; } break; case 10 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:971:17: 'end' { match(input,27,FOLLOW_27_in_word2818); word="end"; } break; case 11 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:972:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word2832); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 1171, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 29, 8898, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 11, 571, 609, 33, 9469, 262, 5411, 509, 3770, 8898, 33, 2499, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 1599, 30, 7734, 3770, 8898, 33, 21, 31, 7734, 898, 31, 5411, 648, 8043, 30, 7734, 3770, 8898, 33, 22, 31, 7734, 898, 31, 5411, 648, 15981, 30, 7734, 3770, 8898, 33, 23, 31, 7734, 898, 31, 5411, 648, 9131, 30, 7734, 3770, 8898, 33, 24, 31, 7734, 898, 31, 5411, 648, 10659, 30, 7734, 3770, 8898, 33, 25, 31, 7734, 898, 31, 5411, 648, 13159, 30, 7734, 3770, 8898, 33, 26, 31, 7734, 898, 31, 5411, 648, 13438, 30, 7734, 3770, 8898, 33, 27, 31, 7734, 898, 31, 5411, 648, 12899, 30, 7734, 3770, 8898, 33, 28, 31, 7734, 898, 31, 5411, 648, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 1171, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 29, 8898, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 11, 571, 2 ]
ManagedBuildManager.removeBuildInfo(project);
public void testConfigurations() throws CoreException, BuildException { final String rootName = "Root Config"; final String overrideName = "Root Override Config"; final String completeOverrideName = "Complete Override Config"; final String toolCmd = "doIt"; final String newCmd = "never"; // Open the test project IProject project = createProject(projectName); IProjectDescription description = project.getDescription(); // Make sure it has a managed nature if (description != null) { assertTrue(description.hasNature(ManagedCProjectNature.MNG_NATURE_ID)); } // Make sure there is one and only one target with 3 configs ITarget[] definedTargets = ManagedBuildManager.getTargets(project); assertEquals(1, definedTargets.length); ITarget rootTarget = definedTargets[0]; IConfiguration[] definedConfigs = rootTarget.getConfigurations(); assertEquals(3, definedConfigs.length); IConfiguration baseConfig = definedConfigs[0]; assertEquals(definedConfigs[0].getName(), rootName); assertEquals(definedConfigs[1].getName(), overrideName); assertEquals(definedConfigs[2].getName(), completeOverrideName); // Create a new configuration and test the rename function IConfiguration newConfig = rootTarget.createConfiguration(baseConfig, testConfigId); assertEquals(4, rootTarget.getConfigurations().length); newConfig.setName(testConfigName); assertEquals(newConfig.getId(), testConfigId); assertEquals(newConfig.getName(), testConfigName); // There is only one tool ITool[] definedTools = newConfig.getTools(); assertEquals(1, definedTools.length); ITool rootTool = definedTools[0]; // Test changing its command assertEquals(rootTool.getToolCommand(), toolCmd); newConfig.setToolCommand(rootTool, newCmd); assertEquals(rootTool.getToolCommand(), newCmd); // Override options in the new configuration IOptionCategory topCategory = rootTool.getTopOptionCategory(); assertEquals("Root Tool", topCategory.getName()); IOption[] options = topCategory.getOptions(null); assertEquals(2, options.length); ManagedBuildManager.setOption(newConfig, options[0], listVal); ManagedBuildManager.setOption(newConfig, options[1], boolVal); IOptionCategory[] categories = topCategory.getChildCategories(); assertEquals(1, categories.length); options = categories[0].getOptions(null); assertEquals(4, options.length); ManagedBuildManager.setOption(newConfig, options[0], stringVal); ManagedBuildManager.setOption(newConfig, options[1], anotherStringVal); ManagedBuildManager.setOption(newConfig, options[2], enumVal); ManagedBuildManager.setOption(newConfig, options[3], "False"); // Save, close, reopen and test again ManagedBuildManager.saveBuildInfo(project, false); project.close(null); ManagedBuildManager.removeBuildInfo(project); project.open(null); // Test the values in the new configuration checkOptionReferences(project); // Now delete the new configuration and test the target definedTargets = ManagedBuildManager.getTargets(project); assertEquals(1, definedTargets.length); rootTarget = definedTargets[0]; definedConfigs = rootTarget.getConfigurations(); assertEquals(4, definedConfigs.length); rootTarget.removeConfiguration(testConfigId); definedConfigs = rootTarget.getConfigurations(); assertEquals(3, definedConfigs.length); assertEquals(definedConfigs[0].getName(), rootName); assertEquals(definedConfigs[1].getName(), overrideName); ManagedBuildManager.saveBuildInfo(project, false); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/18b49394c46cbbecf041078a70e83e4975d004a7/ManagedBuildCoreTests.java/clean/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9698, 1435, 1216, 30015, 16, 18463, 288, 202, 202, 6385, 514, 1365, 461, 273, 315, 2375, 1903, 14432, 202, 202, 6385, 514, 3849, 461, 273, 315, 2375, 1439, 1903, 14432, 202, 202, 6385, 514, 3912, 6618, 461, 273, 315, 6322, 1439, 1903, 14432, 202, 202, 6385, 514, 5226, 5931, 273, 315, 2896, 7193, 14432, 202, 202, 6385, 514, 394, 5931, 273, 315, 4644, 502, 14432, 9506, 202, 759, 3502, 326, 1842, 1984, 202, 202, 45, 4109, 1984, 273, 752, 4109, 12, 4406, 461, 1769, 202, 202, 45, 4109, 3291, 2477, 273, 1984, 18, 588, 3291, 5621, 202, 202, 759, 4344, 3071, 518, 711, 279, 7016, 28700, 202, 202, 430, 261, 3384, 480, 446, 13, 288, 1082, 202, 11231, 5510, 12, 3384, 18, 5332, 50, 1231, 12, 10055, 39, 4109, 50, 1231, 18, 49, 4960, 67, 50, 10511, 67, 734, 10019, 202, 202, 97, 9506, 202, 759, 4344, 3071, 1915, 353, 1245, 471, 1338, 1245, 1018, 598, 890, 6784, 202, 202, 1285, 826, 8526, 2553, 9432, 273, 10024, 3116, 1318, 18, 588, 9432, 12, 4406, 1769, 202, 202, 11231, 8867, 12, 21, 16, 2553, 9432, 18, 2469, 1769, 202, 202, 1285, 826, 1365, 2326, 273, 2553, 9432, 63, 20, 15533, 202, 202, 45, 1750, 8526, 2553, 8062, 273, 1365, 2326, 18, 588, 9698, 5621, 4697, 202, 11231, 8867, 12, 23, 16, 2553, 8062, 18, 2469, 1769, 202, 202, 45, 1750, 1026, 809, 273, 2553, 8062, 63, 20, 15533, 202, 202, 11231, 8867, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9698, 1435, 1216, 30015, 16, 18463, 288, 202, 202, 6385, 514, 1365, 461, 273, 315, 2375, 1903, 14432, 202, 202, 6385, 514, 3849, 461, 273, 315, 2375, 1439, 1903, 14432, 202, 202, 6385, 514, 3912, 6618, 461, 273, 315, 6322, 1439, 1903, 14432, 202, 202, 6385, 514, 5226, 5931, 273, 315, 2896, 7193, 14432, 202, 202, 6385, 514, 394, 5931, 273, 315, 4644, 502, 14432, 9506, 202, 759, 3502, 326, 1842, 1984, 202, 202, 45, 4109, 1984, 273, 752, 4109, 12, 4406, 461, 1769, 202, 202, 45, 4109, 3291, 2477, 273, 1984, 18, 588, 3291, 5621, 202, 202, 759, 4344, 3071, 518, 711, 279, 7016, 28700, 202, 202, 430, 261, 3384, 480, 446, 13, 2 ]
expPriorityButtonActionPerformed(evt);
highPriorityButtonActionPerformed(evt);
public void actionPerformed(java.awt.event.ActionEvent evt) { expPriorityButtonActionPerformed(evt); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/f514b2665846a89e5fc8c1e2ca05d03360b16f3d/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 10792, 3551, 8183, 3616, 19449, 12, 73, 11734, 1769, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 10792, 3551, 8183, 3616, 19449, 12, 73, 11734, 1769, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
classFile.addLineNumberEntry((short)itsLineNumber);
cfw.addLineNumberEntry((short)itsLineNumber);
private void visitStatement(Node node) { itsLineNumber = node.getLineno(); if (itsLineNumber == -1) return; classFile.addLineNumberEntry((short)itsLineNumber); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 3406, 12, 907, 756, 13, 565, 288, 3639, 2097, 31063, 273, 756, 18, 588, 48, 267, 5764, 5621, 3639, 309, 261, 1282, 31063, 422, 300, 21, 13, 5411, 327, 31, 3639, 6080, 91, 18, 1289, 31063, 1622, 12443, 6620, 13, 1282, 31063, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 3406, 12, 907, 756, 13, 565, 288, 3639, 2097, 31063, 273, 756, 18, 588, 48, 267, 5764, 5621, 3639, 309, 261, 1282, 31063, 422, 300, 21, 13, 5411, 327, 31, 3639, 6080, 91, 18, 1289, 31063, 1622, 12443, 6620, 13, 1282, 31063, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void writeManifest(Context context, Item item, PackageParameters params, OutputStream out) throws PackageValidationException, CrosswalkException, AuthorizeException, SQLException, IOException { try { // Create the METS file Mets mets = new Mets(); // Top-level stuff mets.setID(gensym("mets")); mets.setOBJID("hdl:" + item.getHandle()); mets.setLABEL("DSpace Item"); mets.setPROFILE(getProfile()); // MetsHdr MetsHdr metsHdr = new MetsHdr(); metsHdr.setCREATEDATE(new Date()); // FIXME: CREATEDATE is now: // maybe should be item create // date? // Agent Agent agent = new Agent(); agent.setROLE(Role.CUSTODIAN); agent.setTYPE(Type.ORGANIZATION); Name name = new Name(); name.getContent() .add(new PCData(ConfigurationManager .getProperty("dspace.name"))); agent.getContent().add(name); metsHdr.getContent().add(agent); mets.getContent().add(metsHdr); // add DMD sections // Each type element MAY be either just a MODS-and-crosswalk name, OR // a combination "MODS-name:crosswalk-name" (e.g. "DC:qDC"). String dmdTypes[] = getDmdTypes(params); // record of ID of each dmdsec to make DMDID in structmap. String dmdGroup = gensym("dmd_group"); String dmdId[] = new String[dmdTypes.length]; for (int i = 0; i < dmdTypes.length; ++i) { dmdId[i] = gensym("dmd"); XmlData xmlData = new XmlData(); String xwalkName, metsName; String parts[] = dmdTypes[i].split(":", 2); if (parts.length > 1) { metsName = parts[0]; xwalkName = parts[1]; } else xwalkName = metsName = dmdTypes[i]; DisseminationCrosswalk xwalk = (DisseminationCrosswalk) PluginManager.getNamedPlugin(DisseminationCrosswalk.class, xwalkName); if (xwalk == null) throw new PackageValidationException("Cannot find "+dmdTypes[i]+" crosswalk plugin!"); else crosswalkToMets(xwalk, item, xmlData); DmdSec dmdSec = new DmdSec(); dmdSec.setID(dmdId[i]); dmdSec.setGROUPID(dmdGroup); MdWrap mdWrap = new MdWrap(); setMdType(mdWrap, metsName); mdWrap.getContent().add(xmlData); dmdSec.getContent().add(mdWrap); mets.getContent().add(dmdSec); } // only add license AMD section if there are any licenses. String licenseID = null; AmdSec amdSec = new AmdSec(); addRightsMd(context, item, amdSec); if (amdSec.getContent().size() > 0) { licenseID = gensym("license"); amdSec.setID(licenseID); mets.getContent().add(amdSec); } // FIXME: History data???? Nooooo!!!! // fileSec - all non-metadata bundles go into fileGrp, // and each bitstream therein into a file. // Create the bitstream-level techMd and div's for structmap // at the same time so we can connec the IDREFs to IDs. FileSec fileSec = new FileSec(); String techMdType = getTechMdType(params); String parts[] = techMdType.split(":", 2); String xwalkName, metsName; if (parts.length > 1) { metsName = parts[0]; xwalkName = parts[1]; } else xwalkName = metsName = techMdType; DisseminationCrosswalk xwalk = (DisseminationCrosswalk) PluginManager.getNamedPlugin(DisseminationCrosswalk.class, xwalkName); if (xwalk == null) throw new PackageValidationException("Cannot find "+xwalkName+" crosswalk plugin!"); // log the primary bitstream for structmap String primaryBitstreamFileID = null; // accumulate content DIV items to put in structMap later. List contentDivs = new ArrayList(); Bundle[] bundles = item.getBundles(); for (int i = 0; i < bundles.length; i++) { if (PackageUtils.isMetaInfoBundle(bundles[i])) continue; Bitstream[] bitstreams = bundles[i].getBitstreams(); // Create a fileGrp FileGrp fileGrp = new FileGrp(); // Bundle name for USE attribute String bName = bundles[i].getName(); if ((bName != null) && !bName.equals("")) fileGrp.setUSE(bundleToFileGrp(bName)); // watch for primary bitstream int primaryBitstreamID = -1; boolean isContentBundle = false; if ((bName != null) && bName.equals("ORIGINAL")) { isContentBundle = true; primaryBitstreamID = bundles[i].getPrimaryBitstreamID(); } for (int bits = 0; bits < bitstreams.length; bits++) { String sid = String.valueOf(bitstreams[bits].getSequenceID()); edu.harvard.hul.ois.mets.File file = new edu.harvard.hul.ois.mets.File(); String xmlIDstart = "bitstream_"; String fileID = xmlIDstart + sid; file.setID(fileID); // log primary bitstream for later (structMap) if (bitstreams[bits].getID() == primaryBitstreamID) primaryBitstreamFileID = fileID; // if this is content, add to structmap too: if (isContentBundle) { Div div = new Div(); div.setID(gensym("div")); div.setTYPE("DSpace Content Bitstream"); Fptr fptr = new Fptr(); fptr.setFILEID(fileID); div.getContent().add(fptr); contentDivs.add(div); } file.setSEQ(bitstreams[bits].getSequenceID()); String groupID = "GROUP_" + xmlIDstart + sid; /* * If we're in THUMBNAIL or TEXT bundles, the bitstream is * extracted text or a thumbnail, so we use the name to work * out which bitstream to be in the same group as */ if ((bundles[i].getName() != null) && (bundles[i].getName().equals("THUMBNAIL") || bundles[i].getName().startsWith("TEXT"))) { // Try and find the original bitstream, and chuck the // derived bitstream in the same group Bitstream original = findOriginalBitstream(item, bitstreams[bits]); if (original != null) { groupID = "GROUP_" + xmlIDstart + original.getSequenceID(); } } file.setGROUPID(groupID); file.setMIMETYPE(bitstreams[bits].getFormat().getMIMEType()); // FIXME: CREATED: no date file.setSIZE(bitstreams[bits].getSize()); // translate checksum and type to METS, if available. String csType = bitstreams[bits].getChecksumAlgorithm(); String cs = bitstreams[bits].getChecksum(); if (cs != null && csType != null) { try { file.setCHECKSUMTYPE(Checksumtype.parse(csType)); file.setCHECKSUM(cs); } catch (MetsException e) { log.warn("Cannot set bitstream checksum type="+csType+" in METS."); } } // FLocat: filename is MD5 checksum FLocat flocat = new FLocat(); flocat.setLOCTYPE(Loctype.URL); flocat.setXlinkHref(makeBitstreamName(bitstreams[bits])); // Make bitstream techMD metadata, add to file. String techID = "techMd_for_bitstream_"+bitstreams[bits].getSequenceID(); AmdSec fAmdSec = new AmdSec(); fAmdSec.setID(techID); TechMD techMd = new TechMD(); techMd.setID(gensym("tech")); MdWrap mdWrap = new MdWrap(); setMdType(mdWrap, metsName); XmlData xmlData = new XmlData(); mdWrap.getContent().add(xmlData); techMd.getContent().add(mdWrap); fAmdSec.getContent().add(techMd); mets.getContent().add(fAmdSec); crosswalkToMets(xwalk, bitstreams[bits], xmlData); file.setADMID(techID); // Add FLocat to File, and File to FileGrp file.getContent().add(flocat); fileGrp.getContent().add(file); } // Add fileGrp to fileSec fileSec.getContent().add(fileGrp); } // Add fileSec to document mets.getContent().add(fileSec); // Create simple structMap: initial div represents the Item, // and user-visible content bitstreams are in its child divs. StringBuffer dmdIds = new StringBuffer(); for (int i = 0; i < dmdId.length; ++i) dmdIds.append(" "+dmdId[i]); StructMap structMap = new StructMap(); structMap.setID(gensym("struct")); structMap.setTYPE("LOGICAL"); structMap.setLABEL("DSpace"); Div div0 = new Div(); div0.setID(gensym("div")); div0.setTYPE("DSpace Item"); div0.setDMDID(dmdIds.substring(1)); if (licenseID != null) div0.setADMID(licenseID); // if there is a primary bitstream, add FPTR to it. if (primaryBitstreamFileID != null) { Fptr fptr = new Fptr(); fptr.setFILEID(primaryBitstreamFileID); div0.getContent().add(fptr); } // add DIV for each content bitstream div0.getContent().addAll(contentDivs); structMap.getContent().add(div0); // Does subclass have something to add to structMap? addStructMap(context, item, params, mets); mets.getContent().add(structMap); mets.validate(new MetsValidator()); mets.write(new MetsWriter(out)); } catch (MetsException e) { // We don't pass up a MetsException, so callers don't need to // know the details of the METS toolkit // e.printStackTrace(); throw new PackageValidationException(e); } }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/748804adc26317566de95cc497aca1def22e5f87/AbstractMetsDissemination.java/buggy/dspace/src/org/dspace/content/packager/AbstractMetsDissemination.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 282, 918, 282, 1045, 9121, 12, 1042, 282, 819, 16, 282, 4342, 282, 761, 16, 28524, 11794, 7508, 2402, 282, 859, 16, 282, 8962, 282, 596, 13, 13491, 1216, 282, 7508, 18146, 16, 282, 19742, 11348, 503, 16, 282, 23859, 503, 16, 282, 6483, 16, 282, 1860, 5411, 288, 13491, 775, 13491, 288, 4766, 565, 368, 282, 1788, 282, 326, 282, 6791, 55, 282, 585, 4766, 565, 490, 2413, 282, 312, 2413, 282, 273, 282, 394, 282, 490, 2413, 5621, 4766, 1171, 9079, 368, 282, 7202, 17, 2815, 282, 10769, 4766, 565, 312, 2413, 18, 542, 734, 12, 23730, 2942, 2932, 81, 2413, 7923, 1769, 4766, 565, 312, 2413, 18, 542, 24547, 734, 2932, 76, 5761, 2773, 282, 397, 282, 761, 18, 588, 3259, 10663, 4766, 565, 312, 2413, 18, 542, 13545, 2932, 40, 3819, 282, 4342, 8863, 4766, 565, 312, 2413, 18, 542, 22462, 12, 588, 4029, 10663, 4766, 1171, 9079, 368, 282, 490, 2413, 14659, 4766, 565, 490, 2413, 14659, 282, 312, 2413, 14659, 282, 273, 282, 394, 282, 490, 2413, 14659, 5621, 4766, 565, 312, 2413, 14659, 18, 542, 9344, 4594, 12, 2704, 282, 2167, 10663, 282, 368, 282, 9852, 30, 282, 13278, 4594, 282, 353, 282, 2037, 30, 28524, 28524, 2398, 368, 282, 6944, 282, 1410, 282, 506, 282, 761, 282, 752, 4766, 565, 368, 282, 1509, 35, 4766, 565, 368, 282, 8669, 4766, 565, 8669, 282, 4040, 282, 273, 282, 394, 282, 8669, 5621, 4766, 565, 4040, 18, 542, 16256, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 282, 918, 282, 1045, 9121, 12, 1042, 282, 819, 16, 282, 4342, 282, 761, 16, 28524, 11794, 7508, 2402, 282, 859, 16, 282, 8962, 282, 596, 13, 13491, 1216, 282, 7508, 18146, 16, 282, 19742, 11348, 503, 16, 282, 23859, 503, 16, 282, 6483, 16, 282, 1860, 5411, 288, 13491, 775, 13491, 288, 4766, 565, 368, 282, 1788, 282, 326, 282, 6791, 55, 282, 585, 4766, 565, 490, 2413, 282, 312, 2413, 282, 273, 282, 394, 282, 490, 2413, 5621, 4766, 1171, 9079, 368, 282, 7202, 17, 2815, 282, 10769, 4766, 565, 312, 2413, 18, 542, 734, 12, 23730, 2942, 2932, 81, 2413, 7923, 1769, 4766, 565, 312, 2413, 18, 542, 24547, 734, 2932, 76, 5761, 2773, 2 ]
jar.addFile(doc.getFile(), packageNameToPath(doc.getPackageName()), doc.getFilename());
jar.addFile(doc.getFile(), packageNameToPath(doc.getPackageName()), doc.getFileName());
private void _ok() { // Always apply and save settings _saveSettings(); File jarOut = _jarFileSelector.getFileFromField(); if (jarOut == null) { JOptionPane.showMessageDialog(JarOptionsDialog.this, "You must specify an output file", "Error: No File Specified", JOptionPane.ERROR_MESSAGE); return; } else if (jarOut.exists()) { if (JOptionPane.showConfirmDialog(JarOptionsDialog.this, "Are you sure you want to overwrite the file '" + jarOut.getPath() + "'?", "Overwrite file?", JOptionPane.YES_NO_OPTION) != JOptionPane.YES_OPTION) { // I want to focus back to the dialog return; } } setEnabled(false); _processingFrame.setVisible(true); SwingWorker worker = new SwingWorker() { boolean _success = false; /** * Takes input of a file which is a directory and compresses all the class files in it * into a jar file * * @param dir the File object representing the directory * @param jarFile the JarBuilder that the data should be written to * @return true on success, false on failure */ private boolean jarBuildDirectory(File dir, JarBuilder jarFile) throws IOException { java.io.FileFilter classFilter = new java.io.FileFilter() { public boolean accept(File f) { return f.isDirectory() || f.getName().endsWith(".class"); } }; File[] files = dir.listFiles(classFilter); for (int i = 0; i < files.length; i++) { if (files[i].isDirectory()) { jarFile.addDirectoryRecursive(files[i], files[i].getName(), classFilter); } else { jarFile.addFile(files[i], "", files[i].getName()); } } return true; } /** * Takes the model and the jar and writes all the sources to the jar * * @param model the GlobalModel that the files are to come out of * @param jar the JarBuilder that the data should be written to * @return true on success, false on failure */ private boolean jarSources(GlobalModel model, JarBuilder jar) { List<OpenDefinitionsDocument> srcs = model.getProjectDocuments(); Iterator<OpenDefinitionsDocument> iter = srcs.iterator(); while (iter.hasNext()) { OpenDefinitionsDocument doc = iter.next(); if (doc.inProject() && !doc.isAuxiliaryFile()) { try { // Since the file compiled without any errors, this shouldn't have any problems jar.addFile(doc.getFile(), packageNameToPath(doc.getPackageName()), doc.getFilename()); } catch (IOException e) { e.printStackTrace(); throw new UnexpectedException(e); } catch (InvalidPackageException e) { e.printStackTrace(); throw new UnexpectedException(e); } } } return true; } /** * Helper function to convert a package name to its path form * * @param packageName the name of the package * @return the String which is should be the directory that it should be contained within */ private String packageNameToPath(String packageName) { return packageName.replaceAll("\\.", System.getProperty("file.separator").replaceAll("\\\\", "\\\\\\\\")); } /** * The method to perform the work * * @return null */ public Object construct() { try { File jarOut = _jarFileSelector.getFileFromField(); if (!jarOut.exists()) { jarOut.createNewFile(); } if (_jarClasses.isSelected() && _jarSources.isSelected()) { JarBuilder mainJar = null; if (_makeExecutable.isSelected()) { ManifestWriter mw = new ManifestWriter(); mw.setMainClass(_mainClassField.getText()); mainJar = new JarBuilder(jarOut, mw.getManifest()); } else { mainJar = new JarBuilder(jarOut); } jarBuildDirectory(_model.getBuildDirectory(), mainJar); File sourceJarFile = File.createTempFile(_model.getBuildDirectory().getName(), ".jar"); JarBuilder sourceJar = new JarBuilder(sourceJarFile); jarSources(_model, sourceJar); sourceJar.close(); mainJar.addFile(sourceJarFile, "", "source.jar"); mainJar.close(); sourceJarFile.delete(); } else if (_jarClasses.isSelected()) { JarBuilder jb; if (_makeExecutable.isSelected()) { ManifestWriter mw = new ManifestWriter(); mw.setMainClass(_mainClassField.getText()); jb = new JarBuilder(jarOut, mw.getManifest()); } else { jb = new JarBuilder(jarOut); } jarBuildDirectory(_model.getBuildDirectory(), jb); jb.close(); } else { JarBuilder jb = new JarBuilder(jarOut); jarSources(_model, jb); jb.close(); } _success = true; } catch (Exception e) { e.printStackTrace(); } return null; } public void finished() { _processingFrame.setVisible(false); JarOptionsDialog.this.setEnabled(true); if (_success) { if (_makeExecutable.isSelected()) { Object[] options = { "OK", "Run" }; int res = JOptionPane.showOptionDialog(JarOptionsDialog.this, "Jar file successfully written to '"+_jarFileSelector.getFileFromField().getName()+"'", "Jar Creation Successful", JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE, null, options, options[0]); JarOptionsDialog.this.setVisible(false); if (1==res) { SwingWorker jarRunner = new SwingWorker() { public Object construct() { try { Process jarFileProcess = ExecJVM.runJVM(_mainClassField.getText(), // mainClass new String[] {}, // classParams, new String[] { _jarFileSelector.getFileFromField().getAbsolutePath() }, // classPath, new String[] {}, // jvmParams, _jarFileSelector.getFileFromField().getParentFile()); StreamRedirectThread errThread = new StreamRedirectThread("error reader", jarFileProcess.getErrorStream(), System.err); StreamRedirectThread outThread = new StreamRedirectThread("output reader", jarFileProcess.getInputStream(), System.out); errThread.start(); outThread.start(); boolean notDead = true; while(notDead) { try { errThread.join(); outThread.join(); notDead = false; } catch (InterruptedException exc) { // ignore, we don't interrupt } } jarFileProcess.waitFor(); JOptionPane.showMessageDialog(JarOptionsDialog.this,"Execution of jar file terminated (exit value = "+ jarFileProcess.exitValue()+")", "Execution terminated.", JOptionPane.INFORMATION_MESSAGE); } catch(Exception e) { JOptionPane.showMessageDialog(JarOptionsDialog.this, "An error occured while running the jar file: \n"+e, "Error", JOptionPane.ERROR_MESSAGE); } return null; } }; jarRunner.start(); } } else { JOptionPane.showMessageDialog(JarOptionsDialog.this,"Jar file successfully written to '"+_jarFileSelector.getFileFromField().getName()+"'", "Jar Creation Successful", JOptionPane.INFORMATION_MESSAGE); JarOptionsDialog.this.setVisible(false); } } else { JOptionPane.showMessageDialog(JarOptionsDialog.this, "An error occured while creating the jar file. This could be because the file that you are writing to or the file you are reading from could not be opened.", "Error: File Access", JOptionPane.ERROR_MESSAGE); JarOptionsDialog.this.setVisible(false); } } }; worker.start(); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/838397e908a24e107f724695c1466c1c498ec946/JarOptionsDialog.java/clean/drjava/src/edu/rice/cs/drjava/ui/JarOptionsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 601, 1435, 288, 565, 368, 14178, 2230, 471, 1923, 1947, 565, 389, 5688, 2628, 5621, 565, 1387, 7334, 1182, 273, 389, 11930, 812, 4320, 18, 29925, 1265, 974, 5621, 565, 309, 261, 11930, 1182, 422, 446, 13, 288, 1377, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 10813, 1320, 6353, 18, 2211, 16, 4766, 565, 315, 6225, 1297, 4800, 392, 876, 585, 3113, 4766, 565, 315, 668, 30, 2631, 1387, 4185, 939, 3113, 4766, 565, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 1377, 327, 31, 565, 289, 565, 469, 309, 261, 11930, 1182, 18, 1808, 10756, 288, 1377, 309, 261, 46, 1895, 8485, 18, 4500, 11269, 6353, 12, 10813, 1320, 6353, 18, 2211, 16, 4766, 3639, 315, 4704, 1846, 3071, 1846, 2545, 358, 6156, 326, 585, 2119, 397, 7334, 1182, 18, 588, 743, 1435, 397, 2491, 35, 3113, 4766, 3639, 315, 20832, 585, 35, 3113, 4766, 3639, 804, 1895, 8485, 18, 29081, 67, 3417, 67, 7425, 13, 480, 804, 1895, 8485, 18, 29081, 67, 7425, 13, 288, 3639, 368, 467, 2545, 358, 7155, 1473, 358, 326, 6176, 3639, 327, 31, 1377, 289, 565, 289, 565, 12888, 12, 5743, 1769, 565, 389, 10632, 3219, 18, 542, 6207, 12, 3767, 1769, 565, 26145, 6671, 4322, 273, 394, 26145, 6671, 1435, 288, 1377, 1250, 389, 4768, 273, 629, 31, 1377, 1783, 4202, 380, 23004, 810, 434, 279, 585, 1492, 353, 279, 1867, 471, 8099, 281, 777, 326, 667, 1390, 316, 518, 4202, 380, 1368, 279, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 601, 1435, 288, 565, 368, 14178, 2230, 471, 1923, 1947, 565, 389, 5688, 2628, 5621, 565, 1387, 7334, 1182, 273, 389, 11930, 812, 4320, 18, 29925, 1265, 974, 5621, 565, 309, 261, 11930, 1182, 422, 446, 13, 288, 1377, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 10813, 1320, 6353, 18, 2211, 16, 4766, 565, 315, 6225, 1297, 4800, 392, 876, 585, 3113, 4766, 565, 315, 668, 30, 2631, 1387, 4185, 939, 3113, 4766, 565, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 1377, 327, 31, 565, 289, 565, 469, 309, 261, 11930, 1182, 18, 1808, 10756, 288, 1377, 309, 261, 46, 1895, 8485, 18, 4500, 11269, 6353, 12, 10813, 1320, 6353, 18, 2211, 16, 2 ]
final static boolean arrayRegionMatches(char[] source, int sourceStart, char[] target, int targetStart, int len) { int sourceEnd = sourceStart + len; int delta = targetStart - sourceStart; for (int i = sourceStart; i < sourceEnd; i++) { if (source[i] != target[i + delta]) return false; } return true; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/e87b31606f688d97d1580bcab4c7589a7d24935d/CompactCharArray.java/buggy/icu4j/src/com/ibm/icu/util/CompactCharArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 727, 3845, 6494, 1126, 5165, 6869, 12, 3001, 8526, 3168, 16, 474, 3168, 1685, 16, 3001, 8526, 3299, 16, 474, 3299, 1685, 16, 474, 1897, 15329, 474, 3168, 1638, 33, 3168, 1685, 15, 1897, 31, 474, 9878, 33, 3299, 1685, 17, 3168, 1685, 31, 1884, 12, 474, 77, 33, 3168, 1685, 31, 77, 32, 3168, 1638, 31, 77, 27245, 95, 430, 12, 3168, 63, 77, 65, 5, 33, 3299, 63, 77, 15, 9878, 5717, 2463, 5743, 31, 97, 2463, 3767, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 3845, 6494, 1126, 5165, 6869, 12, 3001, 8526, 3168, 16, 474, 3168, 1685, 16, 3001, 8526, 3299, 16, 474, 3299, 1685, 16, 474, 1897, 15329, 474, 3168, 1638, 33, 3168, 1685, 15, 1897, 31, 474, 9878, 33, 3299, 1685, 17, 3168, 1685, 31, 1884, 12, 474, 77, 33, 3168, 1685, 31, 77, 32, 3168, 1638, 31, 77, 27245, 95, 430, 12, 3168, 63, 77, 65, 5, 33, 3299, 63, 77, 15, 9878, 5717, 2463, 5743, 31, 97, 2463, 3767, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.println("<a href=\"" + _servletURL + "?" + fileNameWithoutExt
out.println("<a href=\"" + _servletURL + "?" + fileNameWithoutExt
private void printLogsAsLinks(PrintWriter out) throws ParseException{ final int START_TSTAMP = 3; final int END_TSTAMP = 15; File logDirFile = new File(_logDir); String[] prevBuildLogs = logDirFile.list(); Arrays.sort(prevBuildLogs); //(PENDING) print first N logs as links, place remaining in a drop down for (int i = prevBuildLogs.length - 1; i >= 0; i--) { String currFileName = prevBuildLogs[i]; if (currFileName.startsWith("log") && currFileName.endsWith(".xml")) { String label = ""; if (currFileName.indexOf("L") != -1) { label = "&nbsp;(" + currFileName.substring(currFileName.indexOf("L") + 1, currFileName.length() - 4) + ")"; } else { label = ""; } String timestamp = currFileName.substring(START_TSTAMP, END_TSTAMP); SimpleDateFormat currFormat = new SimpleDateFormat("yyyyMMddHHmm"); SimpleDateFormat targetFormat = new SimpleDateFormat ("MM/dd/yyyy HH:mm"); String dateString = targetFormat.format( new Date(currFormat.parse(timestamp).getTime())); String fileNameWithoutExt = currFileName.substring(0, currFileName.lastIndexOf(".")); out.println("<a href=\"" + _servletURL + "?" + fileNameWithoutExt + "\">" + dateString + label + "</a><br>"); } } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/d5ce2cd6cec60d2b0cd8bad8eb863c6660e7348f/BuildServlet.java/buggy/main/src/net/sourceforge/cruisecontrol/BuildServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1172, 7777, 1463, 7100, 12, 5108, 2289, 596, 13, 1216, 10616, 95, 3639, 727, 509, 10485, 67, 56, 12192, 273, 890, 31, 3639, 727, 509, 7273, 67, 56, 12192, 273, 4711, 31, 7734, 1387, 31101, 812, 273, 394, 1387, 24899, 1330, 1621, 1769, 7734, 514, 8526, 2807, 3116, 7777, 273, 31101, 812, 18, 1098, 5621, 7734, 5647, 18, 3804, 12, 10001, 3116, 7777, 1769, 7734, 368, 12, 25691, 13, 1172, 1122, 423, 5963, 487, 4716, 16, 3166, 4463, 316, 279, 3640, 2588, 7734, 364, 261, 474, 277, 273, 2807, 3116, 7777, 18, 2469, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 5411, 514, 4306, 4771, 273, 2807, 3116, 7777, 63, 77, 15533, 13491, 309, 261, 17016, 4771, 18, 17514, 1190, 2932, 1330, 7923, 597, 4306, 4771, 18, 5839, 1190, 2932, 18, 2902, 6, 3719, 288, 7734, 514, 1433, 273, 1408, 31, 7734, 309, 261, 17016, 4771, 18, 31806, 2932, 48, 7923, 480, 300, 21, 13, 288, 10792, 1433, 273, 7830, 10600, 31, 2932, 8227, 397, 4306, 4771, 18, 28023, 12, 17016, 4771, 18, 31806, 2932, 48, 7923, 397, 404, 16, 8227, 4306, 4771, 18, 2469, 1435, 300, 1059, 13, 397, 7310, 31, 7734, 289, 469, 288, 10792, 1433, 273, 1408, 31, 7734, 289, 7734, 514, 2858, 273, 4306, 4771, 18, 28023, 12, 7570, 67, 56, 12192, 16, 7273, 67, 56, 12192, 1769, 7734, 17005, 4306, 1630, 273, 394, 17005, 2932, 17722, 8206, 449, 17500, 7020, 8863, 7734, 17005, 1018, 1630, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1172, 7777, 1463, 7100, 12, 5108, 2289, 596, 13, 1216, 10616, 95, 3639, 727, 509, 10485, 67, 56, 12192, 273, 890, 31, 3639, 727, 509, 7273, 67, 56, 12192, 273, 4711, 31, 7734, 1387, 31101, 812, 273, 394, 1387, 24899, 1330, 1621, 1769, 7734, 514, 8526, 2807, 3116, 7777, 273, 31101, 812, 18, 1098, 5621, 7734, 5647, 18, 3804, 12, 10001, 3116, 7777, 1769, 7734, 368, 12, 25691, 13, 1172, 1122, 423, 5963, 487, 4716, 16, 3166, 4463, 316, 279, 3640, 2588, 7734, 364, 261, 474, 277, 273, 2807, 3116, 7777, 18, 2469, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 5411, 514, 4306, 4771, 273, 2807, 3116, 7777, 63, 77, 15533, 13491, 2 ]
int height = fontData.getHeight(); fontData.setHeight(height + 2); fontData.setStyle(SWT.BOLD); titleFont = new Font(null, fontData); title.setFont(titleFont);
title.setFont(JFaceResources.getFontRegistry().getBold(fontData.getName()));
protected void createContents(Composite parent) { TabbedPropertySheetWidgetFactory factory = getWidgetFactory(); composite = factory.createFlatFormComposite(parent); GridLayout gridLayout = new GridLayout(); gridLayout.marginTop = 0; gridLayout.marginBottom = 0; gridLayout.numColumns = 1; composite.setLayout(gridLayout); title = factory.createCLabel(composite, ""); //$NON-NLS-1$ FontData fontData = composite.getFont().getFontData()[0]; int height = fontData.getHeight(); fontData.setHeight(height + 2); fontData.setStyle(SWT.BOLD); titleFont = new Font(null, fontData); title.setFont(titleFont); title.setText(titleString + (isReadOnly ? " - " + Messages._UI_LABEL_READONLY : "")); //$NON-NLS-1$ //$NON-NLS-2$ Composite facetComposite = factory.createComposite(composite, SWT.FLAT); GridData data = new GridData(); gridLayout = new GridLayout(); gridLayout.marginTop = 0; gridLayout.marginBottom = 0; gridLayout.numColumns = 2; facetComposite.setLayout(gridLayout); data.grabExcessVerticalSpace = true; data.grabExcessHorizontalSpace = true; data.verticalAlignment = GridData.FILL; data.horizontalAlignment = GridData.FILL; facetComposite.setLayoutData(data); data = new GridData(); data.grabExcessVerticalSpace = true; data.horizontalAlignment = GridData.FILL; data.verticalAlignment = GridData.FILL; simpleTypeModifierGroup = getWidgetFactory().createGroup(facetComposite, simpleTypeModifierGroupTitle); GridLayout groupGrid = new GridLayout(); groupGrid.marginTop = 0; groupGrid.marginBottom = 0; groupGrid.numColumns = 1; simpleTypeModifierGroup.setLayoutData(data); simpleTypeModifierGroup.setLayout(groupGrid); Composite simpleTypeModifierComposite = getWidgetFactory().createFlatFormComposite(simpleTypeModifierGroup); data = new GridData(); data.grabExcessVerticalSpace = true; data.verticalAlignment = GridData.FILL; data.horizontalAlignment = GridData.FILL; GridLayout grid = new GridLayout(); grid.marginTop = 0; grid.marginBottom = 0; grid.numColumns = 3; simpleTypeModifierComposite.setLayout(grid); simpleTypeModifierComposite.setLayoutData(data); if (hasMaxMinFacets) { minLengthLabel = factory.createLabel(simpleTypeModifierComposite, minLengthString); minLengthText = factory.createText(simpleTypeModifierComposite, ""); //$NON-NLS-1$ applyAllListeners(minLengthText); GridData minGridData = new GridData(); minGridData.widthHint = 100; minLengthText.setLayoutData(minGridData); minimumInclusiveCheckbox = factory.createButton(simpleTypeModifierComposite, Messages._UI_LABEL_INCLUSIVE, SWT.CHECK); minimumInclusiveCheckbox.addSelectionListener(this); maxLengthLabel = factory.createLabel(simpleTypeModifierComposite, maxLengthString); maxLengthText = factory.createText(simpleTypeModifierComposite, ""); //$NON-NLS-1$ applyAllListeners(maxLengthText); GridData maxGridData = new GridData(); maxGridData.widthHint = 100; maxLengthText.setLayoutData(maxGridData); maximumInclusiveCheckbox = factory.createButton(simpleTypeModifierComposite, Messages._UI_LABEL_INCLUSIVE, SWT.CHECK); maximumInclusiveCheckbox.addSelectionListener(this); minimumInclusiveCheckbox.setVisible(isNumericBaseType); maximumInclusiveCheckbox.setVisible(isNumericBaseType); } collapseWhitespaceButton = factory.createButton(simpleTypeModifierComposite, Messages._UI_LABEL_COLLAPSE_WHITESPACE, SWT.CHECK); collapseWhitespaceButton.addSelectionListener(this); Group specificValueConstraintsGroup = factory.createGroup(facetComposite, Messages._UI_LABEL_SPECIFIC_CONSTRAINT_VALUES); gridLayout = new GridLayout(); gridLayout.marginTop = 0; gridLayout.marginBottom = 0; gridLayout.numColumns = 2; specificValueConstraintsGroup.setLayout(gridLayout); data = new GridData(); data.grabExcessHorizontalSpace = true; data.grabExcessVerticalSpace = true; data.horizontalAlignment = GridData.FILL; data.verticalAlignment = GridData.FILL; specificValueConstraintsGroup.setLayoutData(data); Composite compositeForButtons = factory.createFlatFormComposite(specificValueConstraintsGroup); gridLayout = new GridLayout(); gridLayout.marginTop = 0; gridLayout.verticalSpacing = 1; gridLayout.marginBottom = 0; gridLayout.numColumns = 1; compositeForButtons.setLayout(gridLayout); data = new GridData(); data.verticalAlignment = GridData.BEGINNING; compositeForButtons.setLayoutData(data); factory.createCLabel(compositeForButtons, Messages._UI_LABEL_RESTRICT_VALUES_BY);// useDefinedValuesButton = factory.createButton(compositeForButtons, "Only permit certain values", SWT.CHECK);// useDefinedValuesButton.addSelectionListener(this); Composite compositeForRadioButtons = factory.createFlatFormComposite(compositeForButtons); gridLayout = new GridLayout(); gridLayout.marginTop = 0; gridLayout.marginLeft = 0; gridLayout.marginBottom = 0; gridLayout.numColumns = 1; compositeForRadioButtons.setLayout(gridLayout); useEnumerationsButton = factory.createButton(compositeForRadioButtons, Messages._UI_LABEL_ENUMERATIONS, SWT.RADIO); useEnumerationsButton.addSelectionListener(this); usePatternsButton = factory.createButton(compositeForRadioButtons, Messages._UI_LABEL_PATTERNS, SWT.RADIO); usePatternsButton.addSelectionListener(this); constraintsWidget = new SpecificConstraintsWidget(specificValueConstraintsGroup, factory, (input instanceof XSDFeature) ? (XSDFeature)input : null, xsdSimpleTypeDefinition, this); data = new GridData(); data.grabExcessHorizontalSpace = true; data.grabExcessVerticalSpace = true; data.horizontalAlignment = GridData.FILL; data.verticalAlignment = GridData.FILL; constraintsWidget.getControl().setLayoutData(data); }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/7a5cda39be814de8248b5ec2c43ddbc10b5e75bc/XSDFacetSection.java/clean/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/XSDFacetSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 752, 6323, 12, 9400, 982, 13, 225, 288, 565, 9483, 2992, 1396, 8229, 4609, 1733, 3272, 273, 23434, 1733, 5621, 565, 9635, 273, 3272, 18, 2640, 16384, 1204, 9400, 12, 2938, 1769, 565, 7145, 3744, 3068, 3744, 273, 394, 7145, 3744, 5621, 565, 3068, 3744, 18, 10107, 3401, 273, 374, 31, 565, 3068, 3744, 18, 10107, 10393, 273, 374, 31, 565, 3068, 3744, 18, 2107, 3380, 273, 404, 31, 565, 9635, 18, 542, 3744, 12, 5222, 3744, 1769, 565, 2077, 273, 3272, 18, 2640, 39, 2224, 12, 27676, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 10063, 751, 3512, 751, 273, 9635, 18, 588, 5711, 7675, 588, 5711, 751, 1435, 63, 20, 15533, 565, 509, 2072, 273, 3512, 751, 18, 588, 2686, 5621, 565, 3512, 751, 18, 542, 2686, 12, 4210, 397, 576, 1769, 565, 3512, 751, 18, 542, 2885, 12, 55, 8588, 18, 38, 11846, 1769, 565, 2077, 5711, 273, 394, 10063, 12, 2011, 16, 3512, 751, 1769, 565, 2077, 18, 542, 5711, 12, 2649, 5711, 1769, 565, 2077, 18, 542, 1528, 12, 2649, 780, 397, 261, 291, 12066, 692, 315, 300, 315, 397, 4838, 6315, 5370, 67, 13545, 67, 6949, 10857, 294, 1408, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 565, 14728, 11082, 9400, 273, 3272, 18, 2640, 9400, 12, 27676, 16, 348, 8588, 18, 42, 12190, 1769, 565, 7145, 751, 501, 273, 394, 7145, 751, 5621, 565, 3068, 3744, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 752, 6323, 12, 9400, 982, 13, 225, 288, 565, 9483, 2992, 1396, 8229, 4609, 1733, 3272, 273, 23434, 1733, 5621, 565, 9635, 273, 3272, 18, 2640, 16384, 1204, 9400, 12, 2938, 1769, 565, 7145, 3744, 3068, 3744, 273, 394, 7145, 3744, 5621, 565, 3068, 3744, 18, 10107, 3401, 273, 374, 31, 565, 3068, 3744, 18, 10107, 10393, 273, 374, 31, 565, 3068, 3744, 18, 2107, 3380, 273, 404, 31, 565, 9635, 18, 542, 3744, 12, 5222, 3744, 1769, 565, 2077, 273, 3272, 18, 2640, 39, 2224, 12, 27676, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 10063, 751, 3512, 751, 273, 9635, 18, 588, 5711, 7675, 588, 5711, 751, 1435, 63, 20, 15533, 2 ]
private Archiver createArchiver( String format ) throws ArchiverException { Archiver archiver; if ( format.startsWith( "tar" ) ) { TarArchiver tarArchiver = new TarArchiver(); archiver = tarArchiver; int index = format.indexOf( '.' ); if ( index >= 0 ) { TarArchiver.TarCompressionMethod tarCompressionMethod = new TarArchiver.TarCompressionMethod(); String compression = format.substring( index + 1 ); if ( compression.equals( "gz" ) ) { tarCompressionMethod.setValue( "gzip" ); } else if ( compression.equals( "bz2" ) ) { tarCompressionMethod.setValue( "bzip2" ); } else { throw new IllegalArgumentException( "Unknown compression format: " + compression ); } tarArchiver.setCompression( tarCompressionMethod ); } tarArchiver.getOptions().setDirMode( "0700" ); tarArchiver.getOptions().setMode( "0700" ); } else if ( format.startsWith( "zip" ) ) { archiver = new ZipArchiver(); } else if ( format.startsWith( "jar" ) ) { JarArchiver jarArchiver = new JarArchiver(); jarArchiver.setCompress( true ); archiver = jarArchiver; } else { throw new IllegalArgumentException( "Unknown format: " + format ); } return archiver; }
private static Archiver createArchiver( String format ) throws ArchiverException { Archiver archiver; if ( format.startsWith( "tar" ) ) { TarArchiver tarArchiver = new TarArchiver(); archiver = tarArchiver; int index = format.indexOf( '.' ); if ( index >= 0 ) { TarArchiver.TarCompressionMethod tarCompressionMethod = new TarArchiver.TarCompressionMethod(); String compression = format.substring( index + 1 ); if ( compression.equals( "gz" ) ) { tarCompressionMethod.setValue( "gzip" ); } else if ( compression.equals( "bz2" ) ) { tarCompressionMethod.setValue( "bzip2" ); } else { throw new IllegalArgumentException( "Unknown compression format: " + compression ); } tarArchiver.setCompression( tarCompressionMethod ); } } else if ( format.startsWith( "zip" ) ) { archiver = new ZipArchiver(); } else if ( format.startsWith( "jar" ) ) { JarArchiver jarArchiver = new JarArchiver(); jarArchiver.setCompress( true ); archiver = jarArchiver; } else { throw new IllegalArgumentException( "Unknown format: " + format ); } return archiver; }
private Archiver createArchiver( String format ) throws ArchiverException { Archiver archiver; if ( format.startsWith( "tar" ) ) { TarArchiver tarArchiver = new TarArchiver(); archiver = tarArchiver; int index = format.indexOf( '.' ); if ( index >= 0 ) { // TODO: this needs a cleanup in plexus archiver - use a real typesafe enum TarArchiver.TarCompressionMethod tarCompressionMethod = new TarArchiver.TarCompressionMethod(); // TODO: this should accept gz and bz2 as well so we can skip over the switch String compression = format.substring( index + 1 ); if ( compression.equals( "gz" ) ) { tarCompressionMethod.setValue( "gzip" ); } else if ( compression.equals( "bz2" ) ) { tarCompressionMethod.setValue( "bzip2" ); } else { // TODO: better handling throw new IllegalArgumentException( "Unknown compression format: " + compression ); } tarArchiver.setCompression( tarCompressionMethod ); } // TODO: should be able to do this on a file/dir basis tarArchiver.getOptions().setDirMode( "0700" ); tarArchiver.getOptions().setMode( "0700" ); } else if ( format.startsWith( "zip" ) ) { archiver = new ZipArchiver(); } else if ( format.startsWith( "jar" ) ) { // TODO: use MavenArchiver for manifest? JarArchiver jarArchiver = new JarArchiver(); jarArchiver.setCompress( true ); archiver = jarArchiver; } else { // TODO: better handling throw new IllegalArgumentException( "Unknown format: " + format ); } return archiver; }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/3798417daac46fb9b9d8c1ba9514536f8ce9ea42/AssemblyMojo.java/buggy/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16959, 1667, 752, 12269, 1667, 12, 514, 740, 262, 202, 565, 1216, 16959, 1667, 503, 202, 95, 202, 565, 16959, 1667, 6637, 1667, 31, 202, 565, 309, 261, 740, 18, 17514, 1190, 12, 315, 11718, 6, 262, 262, 202, 565, 288, 202, 3639, 20334, 12269, 1667, 8232, 12269, 1667, 273, 394, 20334, 12269, 1667, 5621, 202, 3639, 6637, 1667, 273, 8232, 12269, 1667, 31, 202, 3639, 509, 770, 273, 740, 18, 31806, 12, 2611, 11272, 202, 3639, 309, 261, 770, 1545, 374, 262, 202, 3639, 288, 202, 5411, 368, 2660, 30, 333, 4260, 279, 6686, 316, 293, 4149, 407, 6637, 1667, 300, 999, 279, 2863, 1953, 2513, 2792, 202, 5411, 20334, 12269, 1667, 18, 20464, 15270, 1305, 8232, 15270, 1305, 273, 394, 20334, 12269, 1667, 18, 20464, 15270, 1305, 5621, 202, 5411, 368, 2660, 30, 333, 1410, 2791, 14136, 471, 24788, 22, 487, 5492, 1427, 732, 848, 2488, 1879, 326, 1620, 202, 5411, 514, 9154, 273, 740, 18, 28023, 12, 770, 397, 404, 11272, 202, 5411, 309, 261, 9154, 18, 14963, 12, 315, 9764, 6, 262, 262, 202, 5411, 288, 202, 7734, 8232, 15270, 1305, 18, 542, 620, 12, 315, 17380, 6, 11272, 202, 5411, 289, 202, 5411, 469, 309, 261, 9154, 18, 14963, 12, 315, 25292, 22, 6, 262, 262, 202, 5411, 288, 202, 7734, 8232, 15270, 1305, 18, 542, 620, 12, 315, 70, 4450, 22, 6, 11272, 202, 5411, 289, 202, 5411, 469, 202, 5411, 288, 202, 7734, 368, 2660, 30, 7844, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16959, 1667, 752, 12269, 1667, 12, 514, 740, 262, 202, 565, 1216, 16959, 1667, 503, 202, 95, 202, 565, 16959, 1667, 6637, 1667, 31, 202, 565, 309, 261, 740, 18, 17514, 1190, 12, 315, 11718, 6, 262, 262, 202, 565, 288, 202, 3639, 20334, 12269, 1667, 8232, 12269, 1667, 273, 394, 20334, 12269, 1667, 5621, 202, 3639, 6637, 1667, 273, 8232, 12269, 1667, 31, 202, 3639, 509, 770, 273, 740, 18, 31806, 12, 2611, 11272, 202, 3639, 309, 261, 770, 1545, 374, 262, 202, 3639, 288, 202, 5411, 368, 2660, 30, 333, 4260, 279, 6686, 316, 293, 4149, 407, 6637, 1667, 300, 999, 279, 2863, 1953, 2513, 2792, 202, 5411, 20334, 12269, 1667, 18, 20464, 15270, 2 ]
if (cueditor != null) { cueditor.fStandardActionGroups.fillActionBars(bars); }
if (part instanceof CompilationUnitEditor) { CompilationUnitEditor cuEditor= (CompilationUnitEditor)part; cuEditor.getStandardActionGroup().fillActionBars(bars); }
public void setActiveEditor(IEditorPart part) { super.setActiveEditor(part); registerListeners(part); ITextEditor textEditor= null; if (part instanceof ITextEditor) textEditor= (ITextEditor) part; CompilationUnitEditor cueditor= null; if (part instanceof CompilationUnitEditor) cueditor= (CompilationUnitEditor)part; fTogglePresentation.setEditor(textEditor); fToggleTextHover.setEditor(textEditor); fPreviousError.setEditor(textEditor); fNextError.setEditor(textEditor); fStructureSelectEnclosingAction.setAction(getAction(textEditor, StructureSelectionAction.ENCLOSING)); fStructureSelectNextAction.setAction(getAction(textEditor, StructureSelectionAction.NEXT)); fStructureSelectPreviousAction.setAction(getAction(textEditor, StructureSelectionAction.PREVIOUS)); fStructureSelectHistoryAction.setAction(getAction(textEditor, StructureSelectionAction.HISTORY)); IActionBars bars= getActionBars(); // Source menu. bars.setGlobalActionHandler(JdtActionConstants.COMMENT, getAction(textEditor, "Comment")); //$NON-NLS-1$ bars.setGlobalActionHandler(JdtActionConstants.UNCOMMENT, getAction(textEditor, "Uncomment")); //$NON-NLS-1$ bars.setGlobalActionHandler(JdtActionConstants.FORMAT, getAction(textEditor, "Format")); //$NON-NLS-1$ bars.setGlobalActionHandler(JdtActionConstants.ADD_IMPORT, getAction(textEditor, "AddImportOnSelection")); //$NON-NLS-1$ bars.setGlobalActionHandler(JdtActionConstants.ORGANIZE_IMPORTS, getAction(textEditor, "OrganizeImports")); //$NON-NLS-1$ bars.setGlobalActionHandler(JdtActionConstants.SURROUND_WITH_TRY_CATCH, getAction(textEditor, "SurroundWithTryCatch")); //$NON-NLS-1$ // Navigate menu if (cueditor != null) { cueditor.fStandardActionGroups.fillActionBars(bars); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/85b710b7231ccbb3c8b9375dab59aff746fec449/CompilationUnitEditorActionContributor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20669, 6946, 12, 45, 6946, 1988, 1087, 13, 288, 9506, 202, 9565, 18, 542, 3896, 6946, 12, 2680, 1769, 9506, 202, 4861, 5583, 12, 2680, 1769, 9506, 202, 1285, 408, 6946, 977, 6946, 33, 446, 31, 202, 202, 430, 261, 2680, 1276, 467, 1528, 6946, 13, 1082, 202, 955, 6946, 33, 261, 1285, 408, 6946, 13, 1087, 31, 202, 202, 19184, 2802, 6946, 276, 5957, 1811, 33, 446, 31, 9506, 202, 430, 261, 2680, 1276, 22416, 2802, 6946, 13, 1082, 202, 71, 5957, 1811, 33, 261, 19184, 2802, 6946, 13, 2680, 31, 9506, 202, 74, 17986, 6351, 367, 18, 542, 6946, 12, 955, 6946, 1769, 202, 202, 74, 17986, 1528, 21184, 18, 542, 6946, 12, 955, 6946, 1769, 202, 202, 74, 8351, 668, 18, 542, 6946, 12, 955, 6946, 1769, 202, 202, 74, 2134, 668, 18, 542, 6946, 12, 955, 6946, 1769, 9506, 202, 74, 6999, 3391, 21594, 1803, 18, 542, 1803, 12, 588, 1803, 12, 955, 6946, 16, 13348, 6233, 1803, 18, 1157, 22693, 23708, 10019, 202, 202, 74, 6999, 3391, 2134, 1803, 18, 542, 1803, 12, 588, 1803, 12, 955, 6946, 16, 13348, 6233, 1803, 18, 25539, 10019, 202, 202, 74, 6999, 3391, 8351, 1803, 18, 542, 1803, 12, 588, 1803, 12, 955, 6946, 16, 13348, 6233, 1803, 18, 3670, 4136, 21667, 10019, 202, 202, 74, 6999, 3391, 5623, 1803, 18, 542, 1803, 12, 588, 1803, 12, 955, 6946, 16, 13348, 6233, 1803, 18, 31746, 10019, 9506, 202, 45, 1803, 5190, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20669, 6946, 12, 45, 6946, 1988, 1087, 13, 288, 9506, 202, 9565, 18, 542, 3896, 6946, 12, 2680, 1769, 9506, 202, 4861, 5583, 12, 2680, 1769, 9506, 202, 1285, 408, 6946, 977, 6946, 33, 446, 31, 202, 202, 430, 261, 2680, 1276, 467, 1528, 6946, 13, 1082, 202, 955, 6946, 33, 261, 1285, 408, 6946, 13, 1087, 31, 202, 202, 19184, 2802, 6946, 276, 5957, 1811, 33, 446, 31, 9506, 202, 430, 261, 2680, 1276, 22416, 2802, 6946, 13, 1082, 202, 71, 5957, 1811, 33, 261, 19184, 2802, 6946, 13, 2680, 31, 9506, 202, 74, 17986, 6351, 367, 18, 542, 6946, 12, 955, 6946, 1769, 202, 202, 74, 17986, 1528, 21184, 18, 542, 6946, 12, 2 ]
if (!item.isShowing() && tabFolder.getItemCount() > 1) { try {
if (isVisibleTabs()) { if (!item.isShowing() && tabFolder.getItemCount() > 1) { try {
public void selectPart(IPresentablePart toSelect) { if (toSelect == current) { return; } IPresentablePart oldPart = current; current = toSelect; if (current != null) { CTabItem item = getTab(toSelect); if (item != null) // If the item is not currently visible, move it // to the last visible position on the right if (!item.isShowing() && tabFolder.getItemCount() > 1) { try { activationListChange = false; // Save a list of the visible items in LRU order List lruList = getVisibleItemsLRUList(); int idx = getItemInsertionIndex(); // If we remove an item from the left // decrement the index by 1 if (item.getBounds().x < 0) idx--; removePart(toSelect); // pass the LRU list and insertion index // to addPart, as it was before the remove happened List cookie = new ArrayList(2); cookie.add(lruList); cookie.add(new Integer(idx)); addPart(toSelect, cookie); } finally { activationListChange = true; } } current = toSelect; tabFolder.setSelection(indexOf(current)); current.setVisible(true); setControlSize(); // update the newly selected item in the activation order if (activationListChange) { activationList.remove(toSelect); activationList.add(toSelect); } } if (oldPart != null) { oldPart.setVisible(false); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d8137b8380dc7968cdbdfecb8f238a7620d120a6/DefaultPartPresentation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2027, 1988, 12, 2579, 1581, 429, 1988, 358, 3391, 13, 288, 202, 202, 430, 261, 869, 3391, 422, 783, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 2579, 1581, 429, 1988, 1592, 1988, 273, 783, 31, 9506, 202, 2972, 273, 358, 3391, 31, 9506, 202, 430, 261, 2972, 480, 446, 13, 288, 1082, 202, 1268, 378, 1180, 761, 273, 3181, 378, 12, 869, 3391, 1769, 1082, 202, 430, 261, 1726, 480, 446, 13, 9506, 202, 759, 971, 326, 761, 353, 486, 4551, 6021, 16, 3635, 518, 9506, 202, 759, 358, 326, 1142, 6021, 1754, 603, 326, 2145, 9506, 202, 430, 16051, 1726, 18, 291, 5706, 310, 1435, 597, 3246, 3899, 18, 588, 30687, 1435, 405, 404, 13, 9506, 202, 95, 6862, 202, 698, 288, 25083, 202, 16908, 682, 3043, 273, 629, 31, 25083, 202, 759, 7074, 279, 666, 434, 326, 6021, 1516, 316, 511, 19866, 1353, 25083, 202, 682, 23227, 682, 273, 31564, 3126, 16018, 57, 682, 5621, 25083, 202, 474, 2067, 273, 8143, 29739, 1016, 5621, 25083, 202, 759, 971, 732, 1206, 392, 761, 628, 326, 2002, 25083, 202, 759, 15267, 326, 770, 635, 404, 25083, 202, 430, 261, 1726, 18, 588, 5694, 7675, 92, 411, 374, 13, 6862, 1082, 202, 3465, 413, 31, 6862, 6862, 9506, 202, 4479, 1988, 12, 869, 3391, 1769, 6862, 6862, 9506, 202, 759, 1342, 326, 511, 19866, 666, 471, 12626, 770, 25083, 202, 759, 358, 527, 1988, 16, 487, 518, 1703, 1865, 326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2027, 1988, 12, 2579, 1581, 429, 1988, 358, 3391, 13, 288, 202, 202, 430, 261, 869, 3391, 422, 783, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 2579, 1581, 429, 1988, 1592, 1988, 273, 783, 31, 9506, 202, 2972, 273, 358, 3391, 31, 9506, 202, 430, 261, 2972, 480, 446, 13, 288, 1082, 202, 1268, 378, 1180, 761, 273, 3181, 378, 12, 869, 3391, 1769, 1082, 202, 430, 261, 1726, 480, 446, 13, 9506, 202, 759, 971, 326, 761, 353, 486, 4551, 6021, 16, 3635, 518, 9506, 202, 759, 358, 326, 1142, 6021, 1754, 603, 326, 2145, 9506, 202, 430, 16051, 1726, 18, 291, 5706, 310, 1435, 597, 3246, 3899, 18, 588, 2 ]
private void generateMessages(OMFactory fac, OMElement definitions) { Hashtable namespaceMap = new Hashtable(); String namespacePrefix = null; String namespaceURI = null; QName messagePartType = null; for (int i = 0; i < method.length; i++) { JMethod jmethod = method[i]; // only if a type for the message part has already been defined if ((messagePartType = typeTable.getComplexSchemaType(jmethod .getSimpleName())) != null) { namespaceURI = messagePartType.getNamespaceURI(); // avoid duplicate namespaces if ((namespacePrefix = (String) namespaceMap.get(namespaceURI)) == null) { namespacePrefix = generatePrefix(); namespaceMap.put(namespaceURI, namespacePrefix); } //Request Message OMElement requestMessge = fac.createOMElement( MESSAGE_LOCAL_NAME, wsdl); requestMessge.addAttribute(ATTRIBUTE_NAME, jmethod .getSimpleName() + MESSAGE_SUFFIX, null); definitions.addChild(requestMessge); OMElement requestPart = fac.createOMElement( PART_ATTRIBUTE_NAME, wsdl); requestMessge.addChild(requestPart); requestPart.addAttribute(ATTRIBUTE_NAME, "part1", null); requestPart.addAttribute(ELEMENT_ATTRIBUTE_NAME, namespacePrefix + COLON_SEPARATOR + jmethod.getSimpleName(), null); } // only if a type for the message part has already been defined if ((messagePartType = typeTable.getComplexSchemaType(jmethod .getSimpleName() + RESPONSE)) != null) { namespaceURI = messagePartType.getNamespaceURI(); if ((namespacePrefix = (String) namespaceMap.get(namespaceURI)) == null) { namespacePrefix = generatePrefix(); namespaceMap.put(namespaceURI, namespacePrefix); } //Response Message OMElement responseMessge = fac.createOMElement( MESSAGE_LOCAL_NAME, wsdl); responseMessge.addAttribute(ATTRIBUTE_NAME, jmethod .getSimpleName() + RESPONSE_MESSAGE, null); definitions.addChild(responseMessge); OMElement responsePart = fac.createOMElement( PART_ATTRIBUTE_NAME, wsdl); responseMessge.addChild(responsePart); responsePart.addAttribute(ATTRIBUTE_NAME, "part1", null); responsePart.addAttribute(ELEMENT_ATTRIBUTE_NAME, namespacePrefix + COLON_SEPARATOR + jmethod.getSimpleName() + RESPONSE, null); } } // now add these unique namespaces to the the definitions element Enumeration enumeration = namespaceMap.keys(); while (enumeration.hasMoreElements()) { namespaceURI = (String) enumeration.nextElement(); definitions.declareNamespace(namespaceURI, (String) namespaceMap .get(namespaceURI)); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/d2c5bfbbb921fb57eb8abe841587f2609e334256/Java2OMBuilder.java/clean/modules/java2wsdl/src/org/apache/ws/java2wsdl/Java2OMBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5058, 12, 1872, 1733, 5853, 16, 531, 12310, 6377, 13, 288, 3639, 18559, 1981, 863, 273, 394, 18559, 5621, 3639, 514, 1981, 2244, 273, 446, 31, 3639, 514, 19421, 273, 446, 31, 3639, 16723, 883, 1988, 559, 273, 446, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 707, 18, 2469, 31, 277, 27245, 288, 5411, 804, 1305, 525, 2039, 273, 707, 63, 77, 15533, 5411, 368, 1338, 309, 279, 618, 364, 326, 883, 1087, 711, 1818, 2118, 2553, 5411, 309, 14015, 2150, 1988, 559, 273, 618, 1388, 18, 588, 12795, 3078, 559, 12, 78, 2039, 10792, 263, 588, 5784, 461, 1435, 3719, 480, 446, 13, 288, 7734, 19421, 273, 883, 1988, 559, 18, 588, 3402, 3098, 5621, 7734, 368, 4543, 6751, 7728, 7734, 309, 14015, 4937, 2244, 273, 261, 780, 13, 1981, 863, 18, 588, 12, 4937, 3098, 3719, 422, 446, 13, 288, 10792, 1981, 2244, 273, 2103, 2244, 5621, 10792, 1981, 863, 18, 458, 12, 4937, 3098, 16, 1981, 2244, 1769, 7734, 289, 5411, 368, 691, 2350, 7734, 531, 12310, 590, 49, 403, 908, 273, 5853, 18, 2640, 51, 12310, 12, 13491, 9841, 67, 14922, 67, 1985, 16, 17642, 1769, 7734, 590, 49, 403, 908, 18, 1289, 1499, 12, 11616, 67, 1985, 16, 525, 2039, 13491, 263, 588, 5784, 461, 1435, 13491, 397, 9841, 67, 14964, 16, 446, 1769, 7734, 6377, 18, 1289, 1763, 12, 2293, 49, 403, 908, 1769, 7734, 531, 12310, 590, 1988, 273, 5853, 18, 2640, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 5058, 12, 1872, 1733, 5853, 16, 531, 12310, 6377, 13, 288, 3639, 18559, 1981, 863, 273, 394, 18559, 5621, 3639, 514, 1981, 2244, 273, 446, 31, 3639, 514, 19421, 273, 446, 31, 3639, 16723, 883, 1988, 559, 273, 446, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 707, 18, 2469, 31, 277, 27245, 288, 5411, 804, 1305, 525, 2039, 273, 707, 63, 77, 15533, 5411, 368, 1338, 309, 279, 618, 364, 326, 883, 1087, 711, 1818, 2118, 2553, 5411, 309, 14015, 2150, 1988, 559, 273, 618, 1388, 18, 588, 12795, 3078, 559, 12, 78, 2039, 10792, 263, 588, 5784, 461, 1435, 3719, 480, 446, 13, 288, 7734, 19421, 273, 883, 1988, 559, 2 ]
} infos.add(info);
} else infos.add(info);
private List getStylesheets() { List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.USER_AGENT); info.setMedia("all"); info.setType("text/css"); if (!_stylesheetFactory.containsStylesheet(uri)) { java.io.InputStream stream = _nsh.getDefaultStylesheet(); if (stream != null) { Stylesheet sheet = _stylesheetFactory.parse(stream, info); _stylesheetFactory.putStylesheet(uri, sheet); } } infos.add(info); StylesheetInfo[] refs = _nsh.getStylesheetLinks(_doc); if (refs != null) { for (int i = 0; i < refs.length; i++) { uri = _uac.resolveURI(refs[i].getUri()); refs[i].setUri(uri); } } infos.addAll(Arrays.asList(refs)); uri = _uac.getBaseURL(); info = new StylesheetInfo(); info.setUri(uri); info.setOrigin(StylesheetInfo.AUTHOR); Stylesheet sheet = null; if (_stylesheetFactory.containsStylesheet(uri)) { sheet = _stylesheetFactory.getCachedStylesheet(uri); } else { InlineStyleInfo[] inlineStyle = _nsh.getInlineStyle(_doc); sheet = _stylesheetFactory.parseInlines(inlineStyle, info); _stylesheetFactory.putStylesheet(uri, sheet); } info.setStylesheet(sheet);//add it here because matcher cannot look it up, uri:s are in a twist infos.add(info); // TODO: here we should also get user stylesheet from userAgent long el = System.currentTimeMillis() - st; XRLog.load("TIME: parse stylesheets " + el + "ms"); return infos; }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/7f7005e11a31afbcc86d2565f1b178ee8a5fe6fa/StyleReference.java/buggy/src/java/org/xhtmlrenderer/context/StyleReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 336, 9725, 10245, 1435, 288, 3639, 987, 10626, 273, 394, 10688, 5621, 3639, 1525, 384, 273, 2332, 18, 2972, 28512, 5621, 3639, 514, 2003, 273, 389, 82, 674, 18, 588, 3402, 5621, 3639, 29483, 2963, 966, 1123, 273, 394, 29483, 2963, 966, 5621, 3639, 1123, 18, 542, 3006, 24899, 82, 674, 18, 588, 3402, 10663, 3639, 1123, 18, 542, 7571, 12, 24656, 966, 18, 4714, 67, 15005, 1769, 3639, 1123, 18, 542, 5419, 2932, 454, 8863, 3639, 1123, 18, 542, 559, 2932, 955, 19, 5212, 8863, 3639, 309, 16051, 67, 19403, 1733, 18, 12298, 24656, 12, 1650, 3719, 288, 5411, 2252, 18, 1594, 18, 4348, 1407, 273, 389, 82, 674, 18, 588, 1868, 24656, 5621, 5411, 309, 261, 3256, 480, 446, 13, 288, 7734, 29483, 2963, 6202, 273, 389, 19403, 1733, 18, 2670, 12, 3256, 16, 1123, 1769, 7734, 389, 19403, 1733, 18, 458, 24656, 12, 1650, 16, 6202, 1769, 5411, 289, 3639, 289, 3639, 10626, 18, 1289, 12, 1376, 1769, 3639, 29483, 2963, 966, 8526, 9047, 273, 389, 82, 674, 18, 588, 24656, 7100, 24899, 2434, 1769, 3639, 309, 261, 9316, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 9047, 18, 2469, 31, 277, 27245, 288, 7734, 2003, 273, 389, 89, 1077, 18, 10828, 3098, 12, 9316, 63, 77, 8009, 588, 3006, 10663, 7734, 9047, 63, 77, 8009, 542, 3006, 12, 1650, 1769, 5411, 289, 3639, 289, 3639, 10626, 18, 1289, 1595, 12, 12726, 18, 345, 682, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 336, 9725, 10245, 1435, 288, 3639, 987, 10626, 273, 394, 10688, 5621, 3639, 1525, 384, 273, 2332, 18, 2972, 28512, 5621, 3639, 514, 2003, 273, 389, 82, 674, 18, 588, 3402, 5621, 3639, 29483, 2963, 966, 1123, 273, 394, 29483, 2963, 966, 5621, 3639, 1123, 18, 542, 3006, 24899, 82, 674, 18, 588, 3402, 10663, 3639, 1123, 18, 542, 7571, 12, 24656, 966, 18, 4714, 67, 15005, 1769, 3639, 1123, 18, 542, 5419, 2932, 454, 8863, 3639, 1123, 18, 542, 559, 2932, 955, 19, 5212, 8863, 3639, 309, 16051, 67, 19403, 1733, 18, 12298, 24656, 12, 1650, 3719, 288, 5411, 2252, 18, 1594, 18, 4348, 1407, 273, 389, 82, 674, 18, 588, 1868, 24656, 5621, 5411, 2 ]
public abstract Dimension preferredSize(int len);
Dimension preferredSize(int len);
public abstract Dimension preferredSize(int len);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/TextFieldPeer.java/clean/core/src/classpath/java/java/awt/peer/TextFieldPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8770, 13037, 9119, 1225, 12, 474, 562, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8770, 13037, 9119, 1225, 12, 474, 562, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
m_displayRules = true;
m_displayRules = false;
protected void resetOptions() { m_entries = null; m_decisionFeatures = null; m_debug = false; m_useIBk = false; m_CVFolds = 1; m_maxStale = 5; m_displayRules = true; }
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/9e72041e2204a61830b9cccfa8173a6ed2c39eb5/DecisionTable.java/buggy/weka/classifiers/DecisionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 2715, 1320, 1435, 282, 288, 565, 312, 67, 8219, 273, 446, 31, 565, 312, 67, 4924, 1951, 8696, 273, 446, 31, 3639, 312, 67, 4148, 273, 629, 31, 3639, 312, 67, 1202, 13450, 79, 273, 629, 31, 3639, 312, 67, 22007, 15592, 87, 273, 404, 31, 3639, 312, 67, 1896, 19155, 273, 1381, 31, 565, 312, 67, 5417, 4478, 273, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 2715, 1320, 1435, 282, 288, 565, 312, 67, 8219, 273, 446, 31, 565, 312, 67, 4924, 1951, 8696, 273, 446, 31, 3639, 312, 67, 4148, 273, 629, 31, 3639, 312, 67, 1202, 13450, 79, 273, 629, 31, 3639, 312, 67, 22007, 15592, 87, 273, 404, 31, 3639, 312, 67, 1896, 19155, 273, 1381, 31, 565, 312, 67, 5417, 4478, 273, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"Exception thrown by '" + e.getReferenceName() + "." +
"Exception thrown by '" + e.getReferenceName() + "." +
public void execute () throws BuildException { // Make sure the template path is set. if (templatePath == null && useClasspath == false) { throw new BuildException( "The template path needs to be defined if you are not using " + "the classpath for locating templates!"); } // Make sure the control template is set. if (controlTemplate == null) { throw new BuildException("The control template needs to be defined!"); } // Make sure the output directory is set. if (outputDirectory == null) { throw new BuildException("The output directory needs to be defined!"); } // Make sure there is an output file. if (outputFile == null) { throw new BuildException("The output file needs to be defined!"); } VelocityEngine ve = new VelocityEngine(); try { // Setup the Velocity Runtime. if (templatePath != null) { log("Using templatePath: " + templatePath, project.MSG_VERBOSE); ve.setProperty( ve.FILE_RESOURCE_LOADER_PATH, templatePath); } if (useClasspath) { log("Using classpath"); ve.addProperty( VelocityEngine.RESOURCE_LOADER, "classpath"); ve.setProperty( "classpath." + VelocityEngine.RESOURCE_LOADER + ".class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); ve.setProperty( "classpath." + VelocityEngine.RESOURCE_LOADER + ".cache", useResourceLoaderCache); ve.setProperty( "classpath." + VelocityEngine.RESOURCE_LOADER + ".modificationCheckInterval", resourceLoaderModificationCheckInterval); } ve.init(); // Create the text generator. Generator generator = Generator.getInstance(); generator.setVelocityEngine(ve); generator.setOutputPath(outputDirectory); generator.setInputEncoding(inputEncoding); generator.setOutputEncoding(outputEncoding); if (templatePath != null) { generator.setTemplatePath(templatePath); } // Make sure the output directory exists, if it doesn't // then create it. File file = new File(outputDirectory); if (! file.exists()) { file.mkdirs(); } String path = outputDirectory + File.separator + outputFile; log("Generating to file " + path, project.MSG_INFO); Writer writer = generator.getWriter(path, outputEncoding); // The generator and the output path should // be placed in the init context here and // not in the generator class itself. Context c = initControlContext(); // Everything in the generator class should be // pulled out and placed in here. What the generator // class does can probably be added to the Velocity // class and the generator class can probably // be removed all together. populateInitialContext(c); // Feed all the options into the initial // control context so they are available // in the control/worker templates. if (contextProperties != null) { Iterator i = contextProperties.getKeys(); while (i.hasNext()) { String property = (String) i.next(); String value = contextProperties.getString(property); // Now lets quickly check to see if what // we have is numeric and try to put it // into the context as an Integer. try { c.put(property, new Integer(value)); } catch (NumberFormatException nfe) { // Now we will try to place the value into // the context as a boolean value if it // maps to a valid boolean value. String booleanString = contextProperties.testBoolean(value); if (booleanString != null) { c.put(property, new Boolean(booleanString)); } else { // We are going to do something special // for properties that have a "file.contents" // suffix: for these properties will pull // in the contents of the file and make // them available in the context. So for // a line like the following in a properties file: // // license.file.contents = license.txt // // We will pull in the contents of license.txt // and make it available in the context as // $license. This should make texen a little // more flexible. if (property.endsWith("file.contents")) { // We need to turn the license file from relative to // absolute, and let Ant help :) value = StringUtils.fileContentsToString( project.resolveFile(value).getCanonicalPath()); property = property.substring( 0, property.indexOf("file.contents") - 1); } c.put(property, value); } } } } writer.write(generator.parse(controlTemplate, c)); writer.flush(); writer.close(); generator.shutdown(); cleanup(); } catch( BuildException e) { throw e; } catch( MethodInvocationException e ) { throw new BuildException( "Exception thrown by '" + e.getReferenceName() + "." + e.getMethodName() +"'" + ERR_MSG_FRAGMENT, e.getWrappedThrowable()); } catch( ParseErrorException e ) { throw new BuildException("Velocity syntax error" + ERR_MSG_FRAGMENT ,e); } catch( ResourceNotFoundException e ) { throw new BuildException("Resource not found" + ERR_MSG_FRAGMENT,e); } catch( Exception e ) { throw new BuildException("Generation failed" + ERR_MSG_FRAGMENT ,e); } }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/89173502837b4d67a69cd30d0b93cf47ed84c8cc/TexenTask.java/clean/src/java/org/apache/velocity/texen/ant/TexenTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1832, 3639, 1216, 18463, 565, 288, 3639, 368, 4344, 3071, 326, 1542, 589, 353, 444, 18, 3639, 309, 261, 3202, 743, 422, 446, 597, 999, 17461, 422, 629, 13, 3639, 288, 5411, 604, 394, 18463, 12, 7734, 315, 1986, 1542, 589, 4260, 358, 506, 2553, 309, 1846, 854, 486, 1450, 315, 397, 7734, 315, 5787, 10006, 364, 1515, 1776, 5539, 4442, 1769, 3639, 289, 3639, 368, 4344, 3071, 326, 3325, 1542, 353, 444, 18, 3639, 309, 261, 7098, 2283, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 3325, 1542, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 3639, 368, 4344, 3071, 326, 876, 1867, 353, 444, 18, 3639, 309, 261, 2844, 2853, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 876, 1867, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 3639, 368, 4344, 3071, 1915, 353, 392, 876, 585, 18, 3639, 309, 261, 2844, 812, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 876, 585, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 3639, 24561, 4410, 10489, 273, 394, 24561, 4410, 5621, 3639, 775, 3639, 288, 5411, 368, 10939, 326, 24561, 2509, 18, 5411, 309, 261, 3202, 743, 480, 446, 13, 5411, 288, 2398, 202, 1330, 2932, 7736, 20534, 30, 315, 397, 20534, 16, 1984, 18, 11210, 67, 21900, 1769, 7734, 10489, 18, 542, 1396, 12, 10792, 10489, 18, 3776, 67, 11395, 67, 1502, 5483, 67, 4211, 16, 20534, 1769, 5411, 289, 5411, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1832, 3639, 1216, 18463, 565, 288, 3639, 368, 4344, 3071, 326, 1542, 589, 353, 444, 18, 3639, 309, 261, 3202, 743, 422, 446, 597, 999, 17461, 422, 629, 13, 3639, 288, 5411, 604, 394, 18463, 12, 7734, 315, 1986, 1542, 589, 4260, 358, 506, 2553, 309, 1846, 854, 486, 1450, 315, 397, 7734, 315, 5787, 10006, 364, 1515, 1776, 5539, 4442, 1769, 3639, 289, 3639, 368, 4344, 3071, 326, 3325, 1542, 353, 444, 18, 3639, 309, 261, 7098, 2283, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 3325, 1542, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 3639, 368, 4344, 3071, 326, 876, 1867, 353, 444, 18, 3639, 309, 261, 2844, 2853, 2 ]
this.e = e; }
this.e = e; }
public ChannelLoader(ListSelectionEvent e) { this.e = e; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/6f6ff640e68e51000e8536aaabf379b661b82471/ChannelChooser.java/buggy/src/edu/sc/seis/fissuresUtil/chooser/ChannelChooser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5307, 2886, 12, 682, 6233, 1133, 425, 13, 288, 202, 565, 333, 18, 73, 273, 425, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5307, 2886, 12, 682, 6233, 1133, 425, 13, 288, 202, 565, 333, 18, 73, 273, 425, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw getRuntime().newErrnoENOENTError(" No such file or directory - \"" + filename.getValue() + "\"");
throw getRuntime().newErrnoENOENTError(" No such file or directory - \"" + filename + "\"");
public IRubyObject unlink(IRubyObject[] args) { for (int i = 0; i < args.length; i++) { RubyString filename = RubyString.stringValue(args[i]); filename.checkSafeString(); NormalizedFile lToDelete = new NormalizedFile(filename.getValue()); if (!lToDelete.exists()) { throw getRuntime().newErrnoENOENTError(" No such file or directory - \"" + filename.getValue() + "\""); } if (!lToDelete.delete()) { return getRuntime().getFalse(); } } return getRuntime().newFixnum(args.length); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/9f2efc63a858fa0507245b207025eab027840a04/FileMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 8255, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 540, 202, 54, 10340, 780, 1544, 273, 19817, 780, 18, 1080, 620, 12, 1968, 63, 77, 19226, 5411, 1544, 18, 1893, 9890, 780, 5621, 5411, 8769, 1235, 812, 328, 14976, 273, 394, 8769, 1235, 812, 12, 3459, 18, 24805, 10663, 5411, 309, 16051, 80, 14976, 18, 1808, 10756, 288, 9506, 202, 12849, 18814, 7675, 2704, 2524, 2135, 1157, 51, 2222, 668, 2932, 2631, 4123, 585, 578, 1867, 300, 11843, 397, 1544, 18, 24805, 1435, 397, 11143, 1769, 1082, 202, 97, 5411, 309, 16051, 80, 14976, 18, 3733, 10756, 288, 7734, 327, 18814, 7675, 588, 8381, 5621, 5411, 289, 3639, 289, 3639, 327, 18814, 7675, 2704, 8585, 2107, 12, 1968, 18, 2469, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 8255, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 540, 202, 54, 10340, 780, 1544, 273, 19817, 780, 18, 1080, 620, 12, 1968, 63, 77, 19226, 5411, 1544, 18, 1893, 9890, 780, 5621, 5411, 8769, 1235, 812, 328, 14976, 273, 394, 8769, 1235, 812, 12, 3459, 18, 24805, 10663, 5411, 309, 16051, 80, 14976, 18, 1808, 10756, 288, 9506, 202, 12849, 18814, 7675, 2704, 2524, 2135, 1157, 51, 2222, 668, 2932, 2631, 4123, 585, 578, 1867, 300, 11843, 397, 1544, 18, 24805, 1435, 397, 11143, 1769, 1082, 202, 97, 5411, 309, 16051, 80, 14976, 18, 3733, 10756, 2 ]
if (m_Seed > 0) { getInputFormat().randomize(new Random(m_Seed));
Instances instances; if (!m_FirstBatchDone) { if (m_Seed > 0) { getInputFormat().randomize(new Random(m_Seed)); } if (!m_Inverse) { instances = getInputFormat().testCV(m_NumFolds, m_Fold - 1); } else { instances = getInputFormat().trainCV(m_NumFolds, m_Fold - 1); }
public boolean batchFinished() { if (getInputFormat() == null) { throw new IllegalStateException("No input instance format defined"); } if (m_Seed > 0) { // User has provided a random number seed. getInputFormat().randomize(new Random(m_Seed)); } // Push instances for output into output queue // Select out a fold Instances instances; if (!m_Inverse) { instances = getInputFormat().testCV(m_NumFolds, m_Fold - 1); } else { instances = getInputFormat().trainCV(m_NumFolds, m_Fold - 1); } for (int i = 0; i < instances.numInstances(); i++) { push(instances.instance(i)); } m_NewBatch = true; return (numPendingOutput() != 0); }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/c954e3a4846a4911dcd7fd936124787d7728eb56/RemoveFolds.java/buggy/branches/book2ndEd-branch/weka/filters/unsupervised/instance/RemoveFolds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2581, 10577, 1435, 288, 565, 309, 261, 588, 1210, 1630, 1435, 422, 446, 13, 288, 1377, 604, 394, 5477, 2932, 2279, 810, 791, 740, 2553, 8863, 565, 289, 565, 309, 261, 81, 67, 12702, 405, 374, 13, 288, 1377, 368, 2177, 711, 2112, 279, 2744, 1300, 5009, 18, 1377, 12353, 1630, 7675, 9188, 554, 12, 2704, 8072, 12, 81, 67, 12702, 10019, 565, 289, 565, 368, 8547, 3884, 364, 876, 1368, 876, 2389, 3639, 368, 6766, 596, 279, 11590, 565, 18357, 3884, 31, 565, 309, 16051, 81, 67, 16376, 13, 288, 1377, 3884, 273, 12353, 1630, 7675, 3813, 22007, 12, 81, 67, 2578, 15592, 87, 16, 312, 67, 15592, 300, 404, 1769, 565, 289, 469, 288, 1377, 3884, 273, 12353, 1630, 7675, 9754, 22007, 12, 81, 67, 2578, 15592, 87, 16, 312, 67, 15592, 300, 404, 1769, 565, 289, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3884, 18, 2107, 5361, 5621, 277, 27245, 288, 1377, 1817, 12, 10162, 18, 1336, 12, 77, 10019, 565, 289, 565, 312, 67, 1908, 4497, 273, 638, 31, 565, 327, 261, 2107, 8579, 1447, 1435, 480, 374, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2581, 10577, 1435, 288, 565, 309, 261, 588, 1210, 1630, 1435, 422, 446, 13, 288, 1377, 604, 394, 5477, 2932, 2279, 810, 791, 740, 2553, 8863, 565, 289, 565, 309, 261, 81, 67, 12702, 405, 374, 13, 288, 1377, 368, 2177, 711, 2112, 279, 2744, 1300, 5009, 18, 1377, 12353, 1630, 7675, 9188, 554, 12, 2704, 8072, 12, 81, 67, 12702, 10019, 565, 289, 565, 368, 8547, 3884, 364, 876, 1368, 876, 2389, 3639, 368, 6766, 596, 279, 11590, 565, 18357, 3884, 31, 565, 309, 16051, 81, 67, 16376, 13, 288, 1377, 3884, 273, 12353, 1630, 7675, 3813, 22007, 12, 81, 67, 2578, 15592, 87, 16, 312, 67, 15592, 300, 404, 1769, 565, 289, 469, 288, 2 ]
xmlTemplateDocument.setData("OWNER", Utils.getFullName(cms.readOwner(file))); xmlTemplateDocument.setData("GROUP", cms.readGroup(file).getName());
xmlTemplateDocument.setData("OWNER", "" /* Utils.getFullName(cms.readOwner(file)) */ ); xmlTemplateDocument.setData("GROUP", "" /* cms.readGroup(file).getName() */);
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { CmsRequestContext requestContext = cms.getRequestContext(); I_CmsSession session = requestContext.getSession(true); // the template to be displayed String template = null; // clear session values on first load String initial = (String)parameters.get(C_PARA_INITIAL); if(initial != null) { // remove all session values session.removeValue(C_PARA_FILE); session.removeValue("lasturl"); } // get the lasturl parameter String lasturl = getLastUrl(cms, parameters); String newtype = (String)parameters.get(C_PARA_NEWTYPE); // get the filename String filename = (String)parameters.get(C_PARA_FILE); if(filename != null) { session.putValue(C_PARA_FILE, filename); } filename = (String)session.getValue(C_PARA_FILE); CmsFile file = (CmsFile)cms.readFileHeader(filename); // check if the newtype parameter is available. This parameter is set when // the new file type is selected if(newtype != null) { // get the new resource type I_CmsResourceType type = cms.getResourceType(newtype); cms.chtype(cms.readAbsolutePath(file), type.getResourceTypeName()); session.removeValue(C_PARA_FILE); // return to filelist try { if(lasturl == null || "".equals(lasturl)) { requestContext.getResponse().sendCmsRedirect(getConfigFile(cms).getWorkplaceActionPath() + CmsWorkplaceAction.getExplorerFileUri(cms)); } else { requestContext.getResponse().sendRedirect(lasturl); } } catch(Exception e) { throw new CmsException("Redirect fails :" + getConfigFile(cms).getWorkplaceActionPath() + CmsWorkplaceAction.getExplorerFileUri(cms), CmsException.C_UNKNOWN_EXCEPTION, e); } return null; } CmsXmlWpTemplateFile xmlTemplateDocument = new CmsXmlWpTemplateFile(cms, templateFile); // set all required datablocks xmlTemplateDocument.setData("OWNER", Utils.getFullName(cms.readOwner(file))); xmlTemplateDocument.setData("GROUP", cms.readGroup(file).getName()); xmlTemplateDocument.setData("FILENAME", file.getName()); getResources(cms, null, null, null, null, null); if(m_names != null) { xmlTemplateDocument.setData(C_RADIOSIZE, new Integer(m_names.size()).toString()); } // process the selected template return startProcessing(cms, xmlTemplateDocument, "", parameters, template); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/b578cd7fdb67e88db69ff83766c892199ea7498f/CmsChtype.java/clean/src/com/opencms/workplace/CmsChtype.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 5154, 12, 4747, 921, 6166, 16, 514, 28215, 16, 514, 14453, 16, 5411, 18559, 1472, 16, 514, 1542, 4320, 13, 377, 1216, 11228, 288, 202, 202, 4747, 21426, 20820, 273, 6166, 18, 588, 21426, 5621, 202, 202, 45, 67, 4747, 2157, 1339, 273, 20820, 18, 588, 2157, 12, 3767, 1769, 3639, 368, 326, 1542, 358, 506, 10453, 3639, 514, 1542, 273, 446, 31, 3639, 368, 2424, 1339, 924, 603, 1122, 1262, 3639, 514, 2172, 273, 261, 780, 13, 3977, 18, 588, 12, 39, 67, 2778, 37, 67, 28497, 1769, 3639, 309, 12, 6769, 480, 446, 13, 288, 5411, 368, 1206, 777, 1339, 924, 5411, 1339, 18, 4479, 620, 12, 39, 67, 2778, 37, 67, 3776, 1769, 5411, 1339, 18, 4479, 620, 2932, 2722, 718, 8863, 3639, 289, 3639, 368, 336, 326, 1142, 718, 1569, 3639, 514, 1142, 718, 273, 7595, 1489, 12, 6851, 16, 1472, 1769, 3639, 514, 394, 723, 273, 261, 780, 13, 3977, 18, 588, 12, 39, 67, 2778, 37, 67, 12917, 2399, 1769, 3639, 368, 336, 326, 1544, 3639, 514, 1544, 273, 261, 780, 13, 3977, 18, 588, 12, 39, 67, 2778, 37, 67, 3776, 1769, 3639, 309, 12, 3459, 480, 446, 13, 288, 5411, 1339, 18, 458, 620, 12, 39, 67, 2778, 37, 67, 3776, 16, 1544, 1769, 3639, 289, 3639, 1544, 273, 261, 780, 13, 3184, 18, 24805, 12, 39, 67, 2778, 37, 67, 3776, 1769, 3639, 28118, 585, 273, 261, 4747, 812, 13, 6851, 18, 896, 812, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 5154, 12, 4747, 921, 6166, 16, 514, 28215, 16, 514, 14453, 16, 5411, 18559, 1472, 16, 514, 1542, 4320, 13, 377, 1216, 11228, 288, 202, 202, 4747, 21426, 20820, 273, 6166, 18, 588, 21426, 5621, 202, 202, 45, 67, 4747, 2157, 1339, 273, 20820, 18, 588, 2157, 12, 3767, 1769, 3639, 368, 326, 1542, 358, 506, 10453, 3639, 514, 1542, 273, 446, 31, 3639, 368, 2424, 1339, 924, 603, 1122, 1262, 3639, 514, 2172, 273, 261, 780, 13, 3977, 18, 588, 12, 39, 67, 2778, 37, 67, 28497, 1769, 3639, 309, 12, 6769, 480, 446, 13, 288, 5411, 368, 1206, 777, 1339, 924, 5411, 1339, 18, 4479, 620, 12, 39, 67, 2778, 37, 67, 3776, 2 ]
this.localFs = FileSystem.getNamed("local", job);
this.localFs = FileSystem.getLocal(job);
public MapOutputBuffer(TaskUmbilicalProtocol umbilical, JobConf job, Reporter reporter) throws IOException { this.partitions = job.getNumReduceTasks(); this.partitioner = (Partitioner)ReflectionUtils.newInstance( job.getPartitionerClass(), job); maxBufferSize = job.getInt("io.sort.mb", 100) * 1024 * 1024; keyValBuffer = new DataOutputBuffer(); this.umbilical = umbilical; this.job = job; this.reporter = reporter; this.comparator = job.getOutputKeyComparator(); this.keyClass = job.getMapOutputKeyClass(); this.valClass = job.getMapOutputValueClass(); this.localFs = FileSystem.getNamed("local", job); this.codec = null; this.compressionType = CompressionType.NONE; if (job.getCompressMapOutput()) { // find the kind of compression to do, defaulting to record compressionType = job.getMapOutputCompressionType(); // find the right codec Class codecClass = job.getMapOutputCompressorClass(DefaultCodec.class); codec = (CompressionCodec) ReflectionUtils.newInstance(codecClass, job); } sortImpl = new BufferSorter[partitions]; for (int i = 0; i < partitions; i++) sortImpl[i] = (BufferSorter)ReflectionUtils.newInstance( job.getClass("map.sort.class", MergeSorter.class, BufferSorter.class), job); }
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/ed2da6b550c672b8d6867b05791a98214d3f9c30/MapTask.java/buggy/src/java/org/apache/hadoop/mapred/MapTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 1447, 1892, 12, 2174, 57, 1627, 330, 1706, 5752, 225, 3592, 330, 1706, 16, 3956, 3976, 1719, 16, 2398, 25585, 11528, 13, 1216, 1860, 288, 1377, 333, 18, 21275, 273, 1719, 18, 588, 2578, 12944, 6685, 5621, 1377, 333, 18, 10534, 264, 273, 261, 7003, 264, 13, 9801, 1989, 18, 2704, 1442, 12, 4766, 1377, 1719, 18, 588, 7003, 264, 797, 9334, 1719, 1769, 1377, 943, 15384, 273, 1719, 18, 588, 1702, 2932, 1594, 18, 3804, 18, 1627, 3113, 2130, 13, 380, 6250, 380, 6250, 31, 1377, 498, 3053, 1892, 273, 394, 1910, 1447, 1892, 5621, 1377, 333, 18, 3592, 330, 1706, 273, 225, 3592, 330, 1706, 31, 1377, 333, 18, 4688, 273, 1719, 31, 1377, 333, 18, 266, 7988, 273, 11528, 31, 1377, 333, 18, 832, 2528, 273, 1719, 18, 588, 1447, 653, 5559, 5621, 1377, 333, 18, 856, 797, 273, 1719, 18, 588, 863, 1447, 653, 797, 5621, 1377, 333, 18, 1125, 797, 273, 1719, 18, 588, 863, 1447, 620, 797, 5621, 1377, 333, 18, 3729, 12432, 273, 10931, 18, 588, 2042, 12, 4688, 1769, 1377, 333, 18, 21059, 273, 446, 31, 1377, 333, 18, 23766, 559, 273, 21139, 559, 18, 9826, 31, 1377, 309, 261, 4688, 18, 588, 16552, 863, 1447, 10756, 288, 3639, 368, 1104, 326, 3846, 434, 9154, 358, 741, 16, 805, 310, 358, 1409, 3639, 9154, 559, 273, 1719, 18, 588, 863, 1447, 15270, 559, 5621, 3639, 368, 1104, 326, 2145, 9196, 3639, 1659, 9196, 797, 273, 6647, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 1447, 1892, 12, 2174, 57, 1627, 330, 1706, 5752, 225, 3592, 330, 1706, 16, 3956, 3976, 1719, 16, 2398, 25585, 11528, 13, 1216, 1860, 288, 1377, 333, 18, 21275, 273, 1719, 18, 588, 2578, 12944, 6685, 5621, 1377, 333, 18, 10534, 264, 273, 261, 7003, 264, 13, 9801, 1989, 18, 2704, 1442, 12, 4766, 1377, 1719, 18, 588, 7003, 264, 797, 9334, 1719, 1769, 1377, 943, 15384, 273, 1719, 18, 588, 1702, 2932, 1594, 18, 3804, 18, 1627, 3113, 2130, 13, 380, 6250, 380, 6250, 31, 1377, 498, 3053, 1892, 273, 394, 1910, 1447, 1892, 5621, 1377, 333, 18, 3592, 330, 1706, 273, 225, 3592, 330, 1706, 31, 1377, 333, 18, 4688, 273, 1719, 31, 1377, 2 ]
try { out1.write(out0.toCharArray());
try { String contents = out0.toString(); out1.write(contents.toCharArray()); try { totalLength += getContentLength(contents); } catch (UnsupportedEncodingException e) { LOG.error("Encoding error getting content length: " + e.getMessage(),e ); }
public synchronized void flush() { if (trouble) return; super.flush(); if (out1 == null) { try { out1 = response.getWriter(); } catch (IOException e) { LOG.debug("I/O excepton flushing output in GSP response writer: " + e.getMessage(),e ); trouble = true; return; } } try { out1.write(out0.toCharArray()); out0.reset(); } catch (IOException e) { LOG.debug("I/O excepton flushing output in GSP response writer: " + e.getMessage(),e ); trouble = true; } } // flush()
52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/689ddb3a9c7caa919bf562e125e8017895bbce7c/GSPResonseWriter.java/clean/src/web/org/codehaus/groovy/grails/web/pages/GSPResonseWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 3663, 1435, 288, 202, 202, 430, 261, 88, 303, 1255, 13, 327, 31, 202, 202, 9565, 18, 11330, 5621, 202, 202, 430, 261, 659, 21, 422, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 659, 21, 273, 766, 18, 588, 2289, 5621, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 4842, 18, 4148, 2932, 45, 19, 51, 1335, 265, 30121, 876, 316, 611, 3118, 766, 2633, 30, 315, 397, 425, 18, 24906, 9334, 73, 225, 11272, 9506, 202, 88, 303, 1255, 273, 638, 31, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 659, 21, 18, 2626, 12, 659, 20, 18, 869, 15936, 10663, 1082, 202, 659, 20, 18, 6208, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 4842, 18, 4148, 2932, 45, 19, 51, 1335, 265, 30121, 876, 316, 611, 3118, 766, 2633, 30, 315, 397, 425, 18, 24906, 9334, 73, 225, 11272, 1082, 202, 88, 303, 1255, 273, 638, 31, 202, 202, 97, 202, 97, 368, 3663, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 3663, 1435, 288, 202, 202, 430, 261, 88, 303, 1255, 13, 327, 31, 202, 202, 9565, 18, 11330, 5621, 202, 202, 430, 261, 659, 21, 422, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 659, 21, 273, 766, 18, 588, 2289, 5621, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 4842, 18, 4148, 2932, 45, 19, 51, 1335, 265, 30121, 876, 316, 611, 3118, 766, 2633, 30, 315, 397, 425, 18, 24906, 9334, 73, 225, 11272, 9506, 202, 88, 303, 1255, 273, 638, 31, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 659, 21, 18, 2626, 12, 659, 20, 18, 869, 15936, 2 ]
if( !(o instanceof TemplateGroupDomainObject) )
} if ( !( o instanceof TemplateGroupDomainObject ) ) {
public boolean equals( Object o ) { if( this == o ) return true; if( !(o instanceof TemplateGroupDomainObject) ) return false; final TemplateGroupDomainObject templateGroupDomainObject = (TemplateGroupDomainObject)o; if( id != templateGroupDomainObject.id ) return false; if( name != null ? !name.equals( templateGroupDomainObject.name ) : templateGroupDomainObject.name != null ) return false; return true; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/76c0ba5de4379ef58e3ca7c07d3c43fd8eb98bec/TemplateGroupDomainObject.java/clean/server/src/imcode/server/document/TemplateGroupDomainObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 1033, 320, 262, 288, 3639, 309, 12, 333, 422, 320, 262, 5411, 327, 638, 31, 3639, 289, 309, 261, 401, 12, 320, 1276, 5035, 1114, 3748, 921, 262, 262, 288, 5411, 327, 629, 31, 3639, 727, 5035, 1114, 3748, 921, 1542, 1114, 3748, 921, 273, 261, 2283, 1114, 3748, 921, 13, 83, 31, 3639, 309, 12, 612, 480, 1542, 1114, 3748, 921, 18, 350, 262, 5411, 327, 629, 31, 3639, 309, 12, 508, 480, 446, 692, 401, 529, 18, 14963, 12, 1542, 1114, 3748, 921, 18, 529, 262, 294, 1542, 1114, 3748, 921, 18, 529, 480, 446, 262, 5411, 327, 629, 31, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 1033, 320, 262, 288, 3639, 309, 12, 333, 422, 320, 262, 5411, 327, 638, 31, 3639, 289, 309, 261, 401, 12, 320, 1276, 5035, 1114, 3748, 921, 262, 262, 288, 5411, 327, 629, 31, 3639, 727, 5035, 1114, 3748, 921, 1542, 1114, 3748, 921, 273, 261, 2283, 1114, 3748, 921, 13, 83, 31, 3639, 309, 12, 612, 480, 1542, 1114, 3748, 921, 18, 350, 262, 5411, 327, 629, 31, 3639, 309, 12, 508, 480, 446, 692, 401, 529, 18, 14963, 12, 1542, 1114, 3748, 921, 18, 529, 262, 294, 1542, 1114, 3748, 921, 18, 529, 480, 446, 262, 5411, 327, 629, 31, 3639, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
deassignButton.setIcon(shape.getIcon());
shapeIcon.setIcon(shape.getIcon());
public void update (Selection selection, SelectionHint hint) { Object entity = selection.getEntity(); if (logger.isFineEnabled()) { logger.info( "GlyphBoard " + selection.getTag() + " selfUpdating=" + selfUpdating + " : " + entity); } switch (selection.getTag()) { case VERTICAL_GLYPH : case HORIZONTAL_GLYPH : // Display Glyph parameters (while preventing circular updates) selfUpdating = true; Glyph glyph = (Glyph) entity; // Dump button and deassign button dump.setEnabled(glyph != null); deassignButton.setEnabled((glyph != null) && glyph.isKnown()); // Shape text and icon Shape shape = (glyph != null) ? glyph.getShape() : null; if (shape != null) { shapeField.setText(shape.toString()); deassignButton.setIcon(shape.getIcon()); } else { shapeField.setText(""); deassignButton.setIcon(null); } // Global Spinner if (globalSpinner != null) { if (glyph != null) { globalSpinner.setValue(glyph.getId()); } else { globalSpinner.setValue(NO_VALUE); } } // Known Spinner if (knownSpinner != null) { if (glyph != null) { knownSpinner.setValue( knownPredicate.check(glyph) ? glyph.getId() : NO_VALUE); } else { knownSpinner.setValue(NO_VALUE); } } selfUpdating = false; break; case GLYPH_SET : // Display count of glyphs in the glyph set List<Glyph> glyphs = (List<Glyph>) entity; // Compiler warning if ((glyphs != null) && (glyphs.size() > 0)) { count.setText(Integer.toString(glyphs.size())); } else { count.setText(""); } break; default : logger.severe("Unexpected selection event from " + selection); } }
37458 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37458/7d410a43df18a75561bdfc3365eaa71a438c434b/GlyphBoard.java/buggy/src/main/omr/glyph/ui/GlyphBoard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 261, 6233, 377, 4421, 16, 13491, 12977, 7002, 7380, 13, 565, 288, 3639, 1033, 1522, 273, 4421, 18, 588, 1943, 5621, 3639, 309, 261, 4901, 18, 291, 42, 558, 1526, 10756, 288, 5411, 1194, 18, 1376, 12, 7734, 315, 15141, 22233, 315, 397, 4421, 18, 588, 1805, 1435, 397, 315, 365, 17858, 1546, 397, 7734, 365, 17858, 397, 315, 294, 315, 397, 1522, 1769, 3639, 289, 3639, 1620, 261, 10705, 18, 588, 1805, 10756, 288, 3639, 648, 29109, 67, 43, 7076, 8939, 294, 3639, 648, 24606, 67, 43, 7076, 8939, 294, 5411, 368, 9311, 31572, 1472, 261, 17523, 5309, 310, 15302, 4533, 13, 5411, 365, 17858, 273, 638, 31, 5411, 31572, 9440, 273, 261, 15141, 13, 1522, 31, 5411, 368, 18242, 3568, 471, 443, 6145, 3568, 5411, 4657, 18, 542, 1526, 12, 19426, 480, 446, 1769, 5411, 443, 6145, 3616, 18, 542, 1526, 12443, 19426, 480, 446, 13, 597, 9440, 18, 291, 11925, 10663, 5411, 368, 12383, 977, 471, 4126, 5411, 12383, 2179, 273, 261, 19426, 480, 446, 13, 692, 9440, 18, 588, 8500, 1435, 294, 446, 31, 5411, 309, 261, 4867, 480, 446, 13, 288, 7734, 2179, 974, 18, 542, 1528, 12, 4867, 18, 10492, 10663, 7734, 2179, 5554, 18, 542, 5554, 12, 4867, 18, 588, 5554, 10663, 5411, 289, 469, 288, 7734, 2179, 974, 18, 542, 1528, 2932, 8863, 7734, 443, 6145, 3616, 18, 542, 5554, 12, 2011, 1769, 5411, 289, 5411, 368, 8510, 5878, 7872, 5411, 309, 261, 6347, 31676, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 261, 6233, 377, 4421, 16, 13491, 12977, 7002, 7380, 13, 565, 288, 3639, 1033, 1522, 273, 4421, 18, 588, 1943, 5621, 3639, 309, 261, 4901, 18, 291, 42, 558, 1526, 10756, 288, 5411, 1194, 18, 1376, 12, 7734, 315, 15141, 22233, 315, 397, 4421, 18, 588, 1805, 1435, 397, 315, 365, 17858, 1546, 397, 7734, 365, 17858, 397, 315, 294, 315, 397, 1522, 1769, 3639, 289, 3639, 1620, 261, 10705, 18, 588, 1805, 10756, 288, 3639, 648, 29109, 67, 43, 7076, 8939, 294, 3639, 648, 24606, 67, 43, 7076, 8939, 294, 5411, 368, 9311, 31572, 1472, 261, 17523, 5309, 310, 15302, 4533, 13, 5411, 365, 17858, 273, 638, 31, 5411, 31572, 9440, 273, 261, 15141, 2 ]
weapon.flags |= F_PROTOMECH;
weapon.flags |= F_PROTOMECH | F_MISSILE;
public static WeaponType createCLPROSRM4() { WeaponType weapon = new WeaponType(); weapon.name = "SRM 4"; weapon.setInternalName("CLSRM4"); weapon.heat = 0; weapon.damage = DAMAGE_MISSILE; weapon.rackSize = 4; weapon.ammoType = AmmoType.T_SRM; weapon.minimumRange = WEAPON_NA; weapon.shortRange = 3; weapon.mediumRange = 6; weapon.longRange = 9; weapon.extremeRange = 12; weapon.tonnage = 1f; weapon.criticals = 0; weapon.bv = 39; weapon.flags |= F_PROTOMECH; return weapon; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/3de8871e6895277c40058c53708655401dda40bd/WeaponType.java/buggy/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5017, 3373, 55, 8717, 24, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 55, 8717, 1059, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 39, 3045, 8717, 24, 8863, 3639, 732, 28629, 18, 580, 270, 273, 374, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 273, 1059, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 55, 8717, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 890, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 2468, 31, 3639, 732, 28629, 18, 408, 2764, 73, 2655, 273, 2593, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 404, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 374, 31, 3639, 732, 28629, 18, 70, 90, 273, 16977, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 25455, 958, 1792, 571, 478, 67, 7492, 1260, 13578, 31, 3639, 327, 732, 28629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5017, 3373, 55, 8717, 24, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 55, 8717, 1059, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 39, 3045, 8717, 24, 8863, 3639, 732, 28629, 18, 580, 270, 273, 374, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 273, 1059, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 55, 8717, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2 ]
VM_Magic.setIntAtOffset(toObj, STATUS_OFFSET, availBitsWord);
VM_Magic.setWordAtOffset(toObj, STATUS_OFFSET, availBitsWord);
public static Object moveObject(VM_Address toAddress, Object fromObj, int numBytes, VM_Class type, int availBitsWord) throws VM_PragmaInline { int objectEndOffset; int hashState = HASH_STATE_UNHASHED; if (ADDRESS_BASED_HASHING) hashState = availBitsWord & HASH_STATE_MASK; if (hashState == HASH_STATE_UNHASHED) { objectEndOffset = -numBytes; } else { objectEndOffset = -numBytes + HASHCODE_BYTES; } VM_Address fromAddress = VM_Magic.objectAsAddress(fromObj).add(objectEndOffset); int copyBytes = numBytes; if (VM_AllocatorHeader.STEAL_NURSERY_SCALAR_GC_HEADER) copyBytes -= GC_HEADER_BYTES; VM_Memory.aligned32Copy(toAddress, fromAddress, copyBytes); Object toObj = VM_Magic.addressAsObject(toAddress.sub(objectEndOffset)); if (hashState == HASH_STATE_HASHED) { int hashCode = VM_Magic.objectAsAddress(fromObj).toInt() >>> LOG_BYTES_IN_ADDRESS; VM_Magic.setIntAtOffset(toObj, HASHCODE_SCALAR_OFFSET, hashCode); VM_Magic.setIntAtOffset(toObj, STATUS_OFFSET, availBitsWord | HASH_STATE_HASHED_AND_MOVED); if (VM_ObjectModel.HASH_STATS) VM_ObjectModel.hashTransition2++; } else { VM_Magic.setIntAtOffset(toObj, STATUS_OFFSET, availBitsWord); } return toObj; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/e9199992b356786655ffe0ebed85eac89e929500/VM_JavaHeader.java/buggy/rvm/src/vm/objectModel/default/VM_JavaHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 3635, 921, 12, 7397, 67, 1887, 358, 1887, 16, 1033, 628, 2675, 16, 4766, 282, 509, 18633, 16, 8251, 67, 797, 618, 16, 4766, 282, 509, 15783, 6495, 3944, 13, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 509, 733, 1638, 2335, 31, 565, 509, 1651, 1119, 273, 20857, 67, 7998, 67, 2124, 15920, 2056, 31, 565, 309, 261, 15140, 67, 8369, 40, 67, 15920, 1360, 13, 1651, 1119, 273, 15783, 6495, 3944, 473, 20857, 67, 7998, 67, 11704, 31, 565, 309, 261, 2816, 1119, 422, 20857, 67, 7998, 67, 2124, 15920, 2056, 13, 288, 1377, 733, 1638, 2335, 273, 300, 2107, 2160, 31, 565, 289, 469, 288, 1377, 733, 1638, 2335, 273, 300, 2107, 2160, 397, 20857, 5572, 67, 13718, 31, 565, 289, 565, 8251, 67, 1887, 628, 1887, 273, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 2080, 2675, 2934, 1289, 12, 1612, 1638, 2335, 1769, 565, 509, 1610, 2160, 273, 18633, 31, 565, 309, 261, 7397, 67, 21156, 1864, 18, 882, 41, 1013, 67, 50, 1099, 2123, 61, 67, 2312, 1013, 985, 67, 15396, 67, 7557, 13, 1377, 1610, 2160, 3947, 15085, 67, 7557, 67, 13718, 31, 565, 8251, 67, 6031, 18, 20677, 1578, 2951, 12, 869, 1887, 16, 628, 1887, 16, 1610, 2160, 1769, 377, 1033, 358, 2675, 273, 8251, 67, 19289, 18, 2867, 1463, 921, 12, 869, 1887, 18, 1717, 12, 1612, 1638, 2335, 10019, 565, 309, 261, 2816, 1119, 422, 20857, 67, 7998, 67, 15920, 2056, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 3635, 921, 12, 7397, 67, 1887, 358, 1887, 16, 1033, 628, 2675, 16, 4766, 282, 509, 18633, 16, 8251, 67, 797, 618, 16, 4766, 282, 509, 15783, 6495, 3944, 13, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 509, 733, 1638, 2335, 31, 565, 509, 1651, 1119, 273, 20857, 67, 7998, 67, 2124, 15920, 2056, 31, 565, 309, 261, 15140, 67, 8369, 40, 67, 15920, 1360, 13, 1651, 1119, 273, 15783, 6495, 3944, 473, 20857, 67, 7998, 67, 11704, 31, 565, 309, 261, 2816, 1119, 422, 20857, 67, 7998, 67, 2124, 15920, 2056, 13, 288, 1377, 733, 1638, 2335, 273, 300, 2107, 2160, 31, 565, 289, 469, 288, 1377, 733, 1638, 2335, 273, 300, 2107, 2 ]
+ "not satisfied by " + permissions.getPermissionString() + " " + ((strongCheck) ? "(required all)" : "(required one)"));
+ "not satisfied by " + permissions.getPermissionString());
public Integer hasPermissions( CmsRequestContext context, CmsResource resource, CmsPermissionSet requiredPermissions, CmsResourceFilter filter, boolean strongCheck ) throws CmsException { // first check the filter if (filter != CmsResourceFilter.ALL) { // check if the resource is valid according to the current filter // if not, throw a CmsResourceNotFoundException if (!filter.isValid(context, resource)) { return PERM_FILTERED; } // modify the permission set, if the view permisisons must be validated if ((requiredPermissions.getPermissions() & I_CmsConstants.C_ACCESS_VISIBLE) > 0) { // the visible permissison is part of the permissions to check // so test if the current filter disables it if (!filter.includeVisiblePermission()) { requiredPermissions.setPermissions( requiredPermissions.getAllowedPermissions() | I_CmsConstants.C_ACCESS_VISIBLE, requiredPermissions.getDeniedPermissions()); } } } // checking the filter is less cost intensive then checking the cache, // this is why filter results are not cached String cacheKey = m_keyGenerator.getCacheKeyForUserPermissions(String.valueOf(strongCheck), context, resource, requiredPermissions); Integer cacheResult = (Integer)m_permissionCache.get(cacheKey); if (cacheResult != null) { return cacheResult; } int denied = 0; // if this is the onlineproject, write is rejected if (context.currentProject().isOnlineProject()) { denied |= I_CmsConstants.C_PERMISSION_WRITE; } // check if the current user is admin boolean isAdmin = isAdmin(context); // if the resource type is jsp or xml template // write is only allowed for administrators if (!isAdmin && ((resource.getType() == CmsResourceTypeXMLTemplate.C_RESOURCE_TYPE_ID) || (resource.getType() == CmsResourceTypeJsp.C_RESOURCE_TYPE_ID))) { denied |= I_CmsConstants.C_PERMISSION_WRITE; } // this means a resource MUST NOT be locked to a user, // everyone can write as long as the resource is not locked to someone else CmsLock lock = getLock(context, resource); if (!lock.isNullLock()) { // if the resource is locked by another user, write is rejected // read must still be possible, since the explorer file list needs some properties if (!context.currentUser().getId().equals(lock.getUserId())) { denied |= I_CmsConstants.C_PERMISSION_WRITE; } } CmsPermissionSet permissions; if (isAdmin) { // if the current user is administrator, anything is allowed permissions = new CmsPermissionSet(~0); } else { // otherwise, get the permissions from the access control list CmsAccessControlList acl = getAccessControlList(context, resource); permissions = acl.getPermissions(context.currentUser(), getGroupsOfUser(context, context.currentUser().getName())); } permissions.denyPermissions(denied); Integer result; if (strongCheck) { if ((requiredPermissions.getPermissions() & (permissions.getPermissions())) == requiredPermissions.getPermissions()) { result = PERM_ALLOWED; } else { result = PERM_DENIED; } } else { if ((requiredPermissions.getPermissions() & (permissions.getPermissions())) > 0) { result = PERM_ALLOWED; } else { result = PERM_DENIED; } } m_permissionCache.put(cacheKey, result); if ((result != PERM_ALLOWED) && OpenCms.getLog(this).isDebugEnabled()) { OpenCms.getLog(this).debug( "Access to resource " + resource.getRootPath() + " " + "not permitted for user " + context.currentUser().getName() + ", " + "required permissions " + requiredPermissions.getPermissionString() + " " + "not satisfied by " + permissions.getPermissionString() + " " + ((strongCheck) ? "(required all)" : "(required one)")); } return result; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/93407bb1fee28c23f97b5bfe9d6996911adfdd69/CmsDriverManager.java/clean/src/org/opencms/db/CmsDriverManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 711, 6521, 12, 3639, 2149, 21426, 819, 16, 540, 7630, 1058, 16, 540, 2149, 5041, 694, 1931, 6521, 16, 540, 21082, 1034, 16, 540, 1250, 11773, 1564, 565, 262, 1216, 11228, 288, 7734, 368, 1122, 866, 326, 1034, 3639, 309, 261, 2188, 480, 21082, 18, 4685, 13, 288, 10792, 368, 866, 309, 326, 1058, 353, 923, 4888, 358, 326, 783, 1034, 5411, 368, 309, 486, 16, 604, 279, 7630, 3990, 5411, 309, 16051, 2188, 18, 26810, 12, 2472, 16, 1058, 3719, 288, 7734, 327, 10950, 49, 67, 11126, 2056, 31, 5411, 289, 13491, 368, 5612, 326, 4132, 444, 16, 309, 326, 1476, 4641, 291, 4530, 87, 1297, 506, 10266, 2398, 309, 14015, 4718, 6521, 18, 588, 6521, 1435, 473, 467, 67, 4747, 2918, 18, 39, 67, 13204, 67, 29588, 13, 405, 374, 13, 288, 7734, 368, 326, 6021, 293, 1840, 4530, 353, 1087, 434, 326, 4371, 358, 866, 7734, 368, 1427, 1842, 309, 326, 783, 1034, 24960, 518, 7734, 309, 16051, 2188, 18, 6702, 6207, 5041, 10756, 288, 10792, 1931, 6521, 18, 542, 6521, 12, 13491, 1931, 6521, 18, 588, 5042, 6521, 1435, 571, 467, 67, 4747, 2918, 18, 39, 67, 13204, 67, 29588, 16, 7682, 1931, 6521, 18, 588, 10410, 6521, 10663, 7734, 289, 13491, 289, 5411, 289, 3639, 368, 6728, 326, 1034, 353, 5242, 6991, 509, 14315, 1508, 6728, 326, 1247, 16, 3639, 368, 333, 353, 11598, 1034, 1686, 854, 486, 3472, 3639, 514, 9097, 273, 312, 67, 856, 3908, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 711, 6521, 12, 3639, 2149, 21426, 819, 16, 540, 7630, 1058, 16, 540, 2149, 5041, 694, 1931, 6521, 16, 540, 21082, 1034, 16, 540, 1250, 11773, 1564, 565, 262, 1216, 11228, 288, 7734, 368, 1122, 866, 326, 1034, 3639, 309, 261, 2188, 480, 21082, 18, 4685, 13, 288, 10792, 368, 866, 309, 326, 1058, 353, 923, 4888, 358, 326, 783, 1034, 5411, 368, 309, 486, 16, 604, 279, 7630, 3990, 5411, 309, 16051, 2188, 18, 26810, 12, 2472, 16, 1058, 3719, 288, 7734, 327, 10950, 49, 67, 11126, 2056, 31, 5411, 289, 13491, 368, 5612, 326, 4132, 444, 16, 309, 326, 1476, 4641, 291, 4530, 87, 1297, 506, 10266, 2398, 309, 14015, 4718, 6521, 18, 588, 2 ]
private AbstractFormatterFactory getAppropriateFormatterFactory (Format format)
private AbstractFormatterFactory getAppropriateFormatterFactory(Format format)
private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)format); else newFormatter = new InternationalFormatter(format); return new DefaultFormatterFactory(newFormatter); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 4115, 5074, 1733, 336, 1294, 5986, 566, 340, 5074, 1733, 12, 1630, 740, 13, 225, 288, 565, 4115, 5074, 394, 5074, 31, 565, 309, 261, 2139, 1276, 18371, 13, 1377, 394, 5074, 273, 394, 2167, 5074, 12443, 11878, 13, 2139, 1769, 565, 469, 309, 261, 2139, 1276, 29587, 13, 1377, 394, 5074, 273, 394, 3588, 5074, 14015, 1854, 1630, 13, 2139, 1769, 565, 469, 1377, 394, 5074, 273, 394, 31048, 8371, 5074, 12, 2139, 1769, 3639, 327, 394, 2989, 5074, 1733, 12, 2704, 5074, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 4115, 5074, 1733, 336, 1294, 5986, 566, 340, 5074, 1733, 12, 1630, 740, 13, 225, 288, 565, 4115, 5074, 394, 5074, 31, 565, 309, 261, 2139, 1276, 18371, 13, 1377, 394, 5074, 273, 394, 2167, 5074, 12443, 11878, 13, 2139, 1769, 565, 469, 309, 261, 2139, 1276, 29587, 13, 1377, 394, 5074, 273, 394, 3588, 5074, 14015, 1854, 1630, 13, 2139, 1769, 565, 469, 1377, 394, 5074, 273, 394, 31048, 8371, 5074, 12, 2139, 1769, 3639, 327, 394, 2989, 5074, 1733, 12, 2704, 5074, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public int addText(char odata[], int start, int end, LinkSet ls) {
public int addText(char odata[], int start, int end, LinkSet ls, boolean ul) {
public int addText(char odata[], int start, int end, LinkSet ls) { boolean overrun = false; wordStart = start; wordLength = 0; wordWidth = 0; char[] data = new char[odata.length]; for(int count=0;count <odata.length; count++) { data[count] = odata[count]; } /* iterate over each character */ for (int i = start; i < end; i++) { int charWidth; /* get the character */ char c = data[i]; if (c > 127) { /* this class shouldn't be hard coded */ char d = org.apache.fop.render.pdf.CodePointMapping.map[c]; if (d != 0) { c = data[i] = d; } else { MessageHandler.error("ch" + (int)c + "?"); c = data[i] = '#'; } } charWidth = currentFontState.width(c); if ((c == ' ') || (c == '\n') || (c == '\r') || (c == '\t')) { // whitespace if (prev == WHITESPACE) { // if current & previous are WHITESPACE if (this.whiteSpaceTreatment == WhiteSpaceTreatment.PRESERVE) { if (c == ' ') { spaceWidth += currentFontState.width(32); } else if (c == '\n') { // force line break return i; } else if (c == '\t') { spaceWidth += 8 * currentFontState.width(32); } } // else ignore it } else if (prev == TEXT) { // if current is WHITESPACE and previous TEXT // the current word made it, so // add the space before the current word (if there // was some) if (spaceWidth > 0) { addChild(new InlineSpace(spaceWidth)); finalWidth += spaceWidth; spaceWidth = 0; } // add any pending areas Enumeration e = pendingAreas.elements(); while (e.hasMoreElements()) { InlineArea inlineArea = (InlineArea) e.nextElement(); if (ls != null) { Rectangle lr = new Rectangle(finalWidth, 0, inlineArea.getContentWidth(), fontState.getFontSize()); ls.addRect(lr, this); } addChild(inlineArea); } finalWidth += pendingWidth; // reset pending areas array pendingWidth = 0; pendingAreas = new Vector(); // add the current word if (wordLength > 0) { InlineArea ia = new InlineArea(currentFontState, this.red, this.green, this.blue, new String(data, wordStart, wordLength), wordWidth); addChild(ia); if (ls != null) { Rectangle lr = new Rectangle(finalWidth, 0, ia.getContentWidth(), fontState.getFontSize()); ls.addRect(lr, this); } finalWidth += wordWidth; // reset word width wordWidth = 0; } // deal with this new whitespace following the // word we just added prev = WHITESPACE; embeddedLinkStart=0; //reset embeddedLinkStart since a space was encountered if (this.whiteSpaceTreatment == WhiteSpaceTreatment.IGNORE) { // do nothing } else { spaceWidth = currentFontState.width(32); } if (this.whiteSpaceTreatment == WhiteSpaceTreatment.PRESERVE) { if (c == '\n') { // force a line break return i; } else if (c == '\t') { spaceWidth = currentFontState.width(32); } } } else { // if current is WHITESPACE and no previous if (this.whiteSpaceTreatment == WhiteSpaceTreatment.PRESERVE) { prev = WHITESPACE; spaceWidth = currentFontState.width(32); } else { // skip over it start++; } } } else { // current is TEXT if (prev == WHITESPACE) { // if current is TEXT and previous WHITESPACE wordWidth = charWidth; if ((finalWidth + spaceWidth + wordWidth) > this.getContentWidth()) { if (overrun) MessageHandler.error(">"); if (this.wrapOption == WrapOption.WRAP) return i; } prev = TEXT; wordStart = i; wordLength = 1; } else if (prev == TEXT) { wordLength++; wordWidth += charWidth; } else { // nothing previous prev = TEXT; wordStart = i; wordLength = 1; wordWidth = charWidth; } if ((finalWidth + spaceWidth + pendingWidth + wordWidth) > this.getContentWidth()) { // BREAK MID WORD if (wordStart == start) { // if couldn't even fit // first word overrun = true; // if not at start of line, return word start // to try again on a new line if (finalWidth > 0) { return wordStart; } } else if (this.wrapOption == WrapOption.WRAP) { return wordStart; } } } } // end of iteration over text if (prev == TEXT) { InlineArea pia = new InlineArea(currentFontState, this.red, this.green, this.blue, new String(data, wordStart, wordLength), wordWidth); if (ls != null) { Rectangle lr = new Rectangle(finalWidth + spaceWidth + embeddedLinkStart, spaceWidth, pia.getContentWidth(), fontState.getFontSize()); ls.addRect(lr, this); } embeddedLinkStart += wordWidth; pendingAreas.addElement(pia); pendingWidth += wordWidth; wordWidth = 0; } if (overrun) MessageHandler.error(">"); return -1; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/537b16281cf7268e6b76ac1687ff2f365f51c184/LineArea.java/buggy/src/org/apache/fop/layout/LineArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 25796, 12, 3001, 320, 892, 63, 6487, 509, 787, 16, 509, 679, 16, 4048, 694, 7180, 13, 288, 202, 6494, 5713, 318, 273, 629, 31, 202, 1095, 1685, 273, 787, 31, 202, 1095, 1782, 273, 374, 31, 202, 1095, 2384, 273, 374, 31, 202, 3001, 8526, 501, 273, 394, 1149, 63, 18229, 18, 2469, 15533, 202, 1884, 12, 474, 1056, 33, 20, 31, 1883, 411, 18229, 18, 2469, 31, 1056, 27245, 288, 202, 202, 892, 63, 1883, 65, 273, 320, 892, 63, 1883, 15533, 202, 97, 202, 20308, 7401, 1879, 1517, 3351, 1195, 202, 1884, 261, 474, 277, 273, 787, 31, 277, 411, 679, 31, 277, 27245, 288, 202, 565, 509, 1149, 2384, 31, 202, 565, 1748, 336, 326, 3351, 1195, 202, 565, 1149, 276, 273, 501, 63, 77, 15533, 202, 377, 202, 565, 309, 261, 71, 405, 12331, 13, 288, 202, 202, 20308, 333, 667, 12044, 1404, 506, 7877, 29512, 1195, 202, 202, 3001, 302, 273, 1082, 565, 2358, 18, 19211, 18, 74, 556, 18, 5902, 18, 7699, 18, 31536, 3233, 18, 1458, 63, 71, 15533, 202, 202, 430, 261, 72, 480, 374, 13, 288, 1082, 565, 276, 273, 501, 63, 77, 65, 273, 302, 31, 202, 202, 97, 469, 288, 1082, 565, 2350, 1503, 18, 1636, 2932, 343, 6, 6862, 4202, 397, 261, 474, 13, 71, 397, 13574, 1769, 1082, 565, 276, 273, 501, 63, 77, 65, 273, 6501, 31, 202, 202, 97, 202, 565, 289, 202, 377, 202, 565, 1149, 2384, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 25796, 12, 3001, 320, 892, 63, 6487, 509, 787, 16, 509, 679, 16, 4048, 694, 7180, 13, 288, 202, 6494, 5713, 318, 273, 629, 31, 202, 1095, 1685, 273, 787, 31, 202, 1095, 1782, 273, 374, 31, 202, 1095, 2384, 273, 374, 31, 202, 3001, 8526, 501, 273, 394, 1149, 63, 18229, 18, 2469, 15533, 202, 1884, 12, 474, 1056, 33, 20, 31, 1883, 411, 18229, 18, 2469, 31, 1056, 27245, 288, 202, 202, 892, 63, 1883, 65, 273, 320, 892, 63, 1883, 15533, 202, 97, 202, 20308, 7401, 1879, 1517, 3351, 1195, 202, 1884, 261, 474, 277, 273, 787, 31, 277, 411, 679, 31, 277, 27245, 288, 202, 565, 509, 1149, 2384, 31, 202, 565, 2 ]
break; default: error(XSLTErrorResources.ER_CANNOT_ADD, new Object[] {newChild.getNodeName(), this.getNodeName()});
public Node appendChild(Node newChild) throws DOMException { int type = ((ElemTemplateElement)newChild).getXSLToken(); switch(type) { // char-instructions case Constants.ELEMNAME_TEXTLITERALRESULT: case Constants.ELEMNAME_APPLY_TEMPLATES: case Constants.ELEMNAME_APPLY_IMPORTS: case Constants.ELEMNAME_CALLTEMPLATE: case Constants.ELEMNAME_FOREACH: case Constants.ELEMNAME_VALUEOF: case Constants.ELEMNAME_COPY_OF: case Constants.ELEMNAME_NUMBER: case Constants.ELEMNAME_CHOOSE: case Constants.ELEMNAME_IF: case Constants.ELEMNAME_TEXT: case Constants.ELEMNAME_COPY: case Constants.ELEMNAME_VARIABLE: case Constants.ELEMNAME_MESSAGE: // instructions // case Constants.ELEMNAME_PI: // case Constants.ELEMNAME_COMMENT: // case Constants.ELEMNAME_ELEMENT: // case Constants.ELEMNAME_ATTRIBUTE: break; default: error(XSLTErrorResources.ER_CANNOT_ADD, new Object[] {newChild.getNodeName(), this.getNodeName()}); //"Can not add " +((ElemTemplateElement)newChild).m_elemName + //" to " + this.m_elemName); } return super.appendChild(newChild); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/ElemAttribute.java/buggy/src/org/apache/xalan/templates/ElemAttribute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2029, 9079, 5833, 12, 907, 19783, 13, 565, 1216, 4703, 503, 225, 288, 565, 509, 618, 273, 14015, 7498, 2283, 1046, 13, 2704, 1763, 2934, 588, 60, 4559, 1345, 5621, 565, 1620, 12, 723, 13, 565, 288, 1377, 368, 1149, 17, 25758, 377, 648, 5245, 18, 41, 26817, 1985, 67, 5151, 23225, 12289, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 2203, 23893, 67, 12205, 55, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 2203, 23893, 67, 20445, 55, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 13730, 12205, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 11701, 18133, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 4051, 3932, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 24875, 67, 3932, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 9931, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 22213, 51, 1090, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 5501, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 5151, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 24875, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 16444, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 8723, 30, 5411, 368, 12509, 4202, 368, 648, 5245, 18, 41, 26817, 1985, 67, 1102, 30, 1377, 368, 648, 5245, 18, 41, 26817, 1985, 67, 12200, 30, 1377, 368, 648, 5245, 18, 41, 26817, 1985, 67, 10976, 30, 1377, 368, 648, 5245, 18, 41, 26817, 1985, 67, 11616, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2029, 9079, 5833, 12, 907, 19783, 13, 565, 1216, 4703, 503, 225, 288, 565, 509, 618, 273, 14015, 7498, 2283, 1046, 13, 2704, 1763, 2934, 588, 60, 4559, 1345, 5621, 565, 1620, 12, 723, 13, 565, 288, 1377, 368, 1149, 17, 25758, 377, 648, 5245, 18, 41, 26817, 1985, 67, 5151, 23225, 12289, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 2203, 23893, 67, 12205, 55, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 2203, 23893, 67, 20445, 55, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 13730, 12205, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 11701, 18133, 30, 565, 648, 5245, 18, 41, 26817, 1985, 67, 4051, 3932, 30, 565, 648, 2 ]
for (int j=0;j<mlen;j++) { if (s.charAt(i)==m.charAt(j)) { if (j<tlen) { s.setCharAt(i,t.charAt(j)); } else { s.deleteCharAt(i--); slen--; } continue; }
char c = sv.charAt(i); int j = m.indexOf(c); if (j >= 0) { if (j>=tlen) continue; c = t.charAt(j);
public static Object translate (Object str, Object map, Object trans) { if (str == Values.empty || map == Values.empty || trans == Values.empty) return Values.empty; String m = map.toString(); int mlen = m.length(); if (mlen==0) return str.toString(); String t = trans.toString(); StringBuffer s = new StringBuffer(str.toString()); int slen = s.length(); int tlen = t.length(); for (int i=0;i < slen;i++) { for (int j=0;j<mlen;j++) { if (s.charAt(i)==m.charAt(j)) { if (j<tlen) { s.setCharAt(i,t.charAt(j)); } else { s.deleteCharAt(i--); slen--; } continue; } } } return s.toString(); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/92d18dec25b6c6719796a034d502322bf830c93c/StringValue.java/buggy/gnu/xquery/util/StringValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 4204, 261, 921, 609, 16, 1033, 852, 16, 1033, 906, 13, 225, 288, 565, 309, 261, 701, 422, 6876, 18, 5531, 747, 852, 422, 6876, 18, 5531, 747, 906, 422, 6876, 18, 5531, 13, 1377, 327, 6876, 18, 5531, 31, 565, 514, 312, 273, 852, 18, 10492, 5621, 565, 509, 312, 1897, 273, 312, 18, 2469, 5621, 565, 309, 261, 781, 275, 631, 20, 13, 327, 609, 18, 10492, 5621, 565, 514, 268, 273, 906, 18, 10492, 5621, 565, 6674, 272, 273, 394, 6674, 12, 701, 18, 10492, 10663, 565, 509, 272, 1897, 273, 272, 18, 2469, 5621, 565, 509, 268, 1897, 273, 268, 18, 2469, 5621, 565, 364, 261, 474, 277, 33, 20, 31, 77, 411, 272, 1897, 31, 77, 27245, 1377, 288, 202, 1884, 261, 474, 525, 33, 20, 31, 78, 32, 781, 275, 31, 78, 27245, 202, 225, 288, 202, 565, 309, 261, 87, 18, 3001, 861, 12, 77, 13, 631, 81, 18, 3001, 861, 12, 78, 3719, 202, 1377, 288, 202, 202, 430, 261, 78, 32, 27560, 13, 288, 272, 18, 542, 2156, 861, 12, 77, 16, 88, 18, 3001, 861, 12, 78, 10019, 289, 202, 202, 12107, 288, 272, 18, 3733, 2156, 861, 12, 77, 413, 1769, 272, 1897, 413, 31, 289, 202, 202, 17143, 31, 202, 1377, 289, 202, 225, 289, 1377, 289, 565, 327, 272, 18, 10492, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 4204, 261, 921, 609, 16, 1033, 852, 16, 1033, 906, 13, 225, 288, 565, 309, 261, 701, 422, 6876, 18, 5531, 747, 852, 422, 6876, 18, 5531, 747, 906, 422, 6876, 18, 5531, 13, 1377, 327, 6876, 18, 5531, 31, 565, 514, 312, 273, 852, 18, 10492, 5621, 565, 509, 312, 1897, 273, 312, 18, 2469, 5621, 565, 309, 261, 781, 275, 631, 20, 13, 327, 609, 18, 10492, 5621, 565, 514, 268, 273, 906, 18, 10492, 5621, 565, 6674, 272, 273, 394, 6674, 12, 701, 18, 10492, 10663, 565, 509, 272, 1897, 273, 272, 18, 2469, 5621, 565, 509, 268, 1897, 273, 268, 18, 2469, 5621, 565, 364, 261, 474, 277, 33, 20, 31, 2 ]
DocumentBuilderSetting[] newSettings)
DocumentBuilderSetting[] newSettings)
public DOMTestDocumentBuilderFactory newInstance( DocumentBuilderSetting[] newSettings) throws DOMTestIncompatibleException { if (newSettings == null) { return this; } DocumentBuilderSetting[] mergedSettings = mergeSettings(newSettings); return new BatikTestDocumentBuilderFactory(mergedSettings); }
55441 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55441/19ecf80dd539cb3920fc52530e5ddff6102cf9f2/BatikTestDocumentBuilderFactory.java/clean/java/org/w3c/domts/BatikTestDocumentBuilderFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4703, 4709, 2519, 20692, 5984, 12, 3639, 4319, 1263, 5568, 8526, 394, 2628, 13, 3639, 1216, 4703, 4709, 24272, 503, 288, 3639, 309, 261, 2704, 2628, 422, 446, 13, 288, 5411, 327, 333, 31, 3639, 289, 3639, 4319, 1263, 5568, 8526, 5384, 2628, 273, 2691, 2628, 12, 2704, 2628, 1769, 3639, 327, 394, 605, 270, 1766, 4709, 2519, 20692, 12, 15459, 2628, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4703, 4709, 2519, 20692, 5984, 12, 3639, 4319, 1263, 5568, 8526, 394, 2628, 13, 3639, 1216, 4703, 4709, 24272, 503, 288, 3639, 309, 261, 2704, 2628, 422, 446, 13, 288, 5411, 327, 333, 31, 3639, 289, 3639, 4319, 1263, 5568, 8526, 5384, 2628, 273, 2691, 2628, 12, 2704, 2628, 1769, 3639, 327, 394, 605, 270, 1766, 4709, 2519, 20692, 12, 15459, 2628, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (uri!="") {
if (uri != "") {
public void startElement(String uri, String name, String raw, Attributes attr) throws SAXException { if (this.ignoreCount == 0) { if (uri!="") { super.startElement(uri, name, raw, attr); } else { switch (((Integer)elementNames.get(name,defaultElement)).intValue()) { case ELEMENT_INPUT: this.startInputElement(uri,name,raw,attr); break; case ELEMENT_SELECT: this.startSelectElement(uri,name,raw,attr); break; case ELEMENT_OPTION: this.startOptionElement(uri,name,raw,attr); break; case ELEMENT_TXTAREA: this.startTextareaElement(uri,name,raw,attr); break; case ELEMENT_ERROR: this.startErrorElement(uri,name,raw,attr); break; default: super.startElement(uri, name, raw, attr); } } } else { this.ignoreCount++; this.stack.push(name); if (((Integer)elementNames.get(name,defaultElement)).intValue()==ELEMENT_ERROR){ } } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/f9b25cd4ef8d17125346aeffd54035a092e5ea1d/SimpleFormTransformer.java/clean/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 508, 16, 514, 1831, 16, 9055, 1604, 13, 3639, 1216, 14366, 288, 3639, 309, 261, 2211, 18, 6185, 1380, 422, 374, 13, 288, 5411, 309, 261, 1650, 480, 1408, 13, 288, 7734, 2240, 18, 1937, 1046, 12, 1650, 16, 508, 16, 1831, 16, 1604, 1769, 5411, 289, 469, 288, 7734, 1620, 261, 12443, 4522, 13, 2956, 1557, 18, 588, 12, 529, 16, 1886, 1046, 13, 2934, 474, 620, 10756, 288, 7734, 648, 13424, 67, 15934, 30, 10792, 333, 18, 1937, 1210, 1046, 12, 1650, 16, 529, 16, 1899, 16, 1747, 1769, 10792, 898, 31, 7734, 648, 13424, 67, 4803, 30, 10792, 333, 18, 1937, 3391, 1046, 12, 1650, 16, 529, 16, 1899, 16, 1747, 1769, 10792, 898, 31, 7734, 648, 13424, 67, 7425, 30, 10792, 333, 18, 1937, 1895, 1046, 12, 1650, 16, 529, 16, 1899, 16, 1747, 1769, 10792, 898, 31, 7734, 648, 13424, 67, 29399, 20933, 30, 10792, 333, 18, 1937, 1528, 5036, 1046, 12, 1650, 16, 529, 16, 1899, 16, 1747, 1769, 10792, 898, 31, 7734, 648, 13424, 67, 3589, 30, 10792, 333, 18, 1937, 668, 1046, 12, 1650, 16, 529, 16, 1899, 16, 1747, 1769, 10792, 898, 31, 7734, 805, 30, 10792, 2240, 18, 1937, 1046, 12, 1650, 16, 508, 16, 1831, 16, 1604, 1769, 7734, 289, 5411, 289, 3639, 289, 469, 288, 5411, 333, 18, 6185, 1380, 9904, 31, 5411, 333, 18, 3772, 18, 6206, 12, 529, 1769, 5411, 309, 261, 12443, 4522, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 508, 16, 514, 1831, 16, 9055, 1604, 13, 3639, 1216, 14366, 288, 3639, 309, 261, 2211, 18, 6185, 1380, 422, 374, 13, 288, 5411, 309, 261, 1650, 480, 1408, 13, 288, 7734, 2240, 18, 1937, 1046, 12, 1650, 16, 508, 16, 1831, 16, 1604, 1769, 5411, 289, 469, 288, 7734, 1620, 261, 12443, 4522, 13, 2956, 1557, 18, 588, 12, 529, 16, 1886, 1046, 13, 2934, 474, 620, 10756, 288, 7734, 648, 13424, 67, 15934, 30, 10792, 333, 18, 1937, 1210, 1046, 12, 1650, 16, 529, 16, 1899, 16, 1747, 1769, 10792, 898, 31, 7734, 648, 13424, 67, 4803, 30, 10792, 333, 18, 1937, 3391, 1046, 12, 1650, 16, 529, 2 ]
super(jq_ClassFileConstants.jbc_FMUL); }
super(jq_ClassFileConstants.jbc_FMUL); }
public FMUL() { super(jq_ClassFileConstants.jbc_FMUL); }
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d7c792e0a316dd3ac20a9fe9f758abdde9bd79fe/Bytecodes.java/buggy/joeq_core/joeq/Compiler/BytecodeAnalysis/Bytecodes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 478, 49, 1506, 1435, 288, 5411, 2240, 12, 78, 85, 67, 797, 812, 2918, 18, 10649, 71, 67, 42, 49, 1506, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 478, 49, 1506, 1435, 288, 5411, 2240, 12, 78, 85, 67, 797, 812, 2918, 18, 10649, 71, 67, 42, 49, 1506, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testGetMinimun() throws Exception { assertEquals(new CDateTime(2001, 4, 11), dsProcessor.getMinimum(ds1)); assertEquals(new Double(-43.0), dsProcessor.getMinimum(ds2));
public void testGetMinimun( ) throws Exception { assertEquals( new Double( -43.0 ), dsProcessor.getMinimum( ds2 ) );
public void testGetMinimun() throws Exception { assertEquals(new CDateTime(2001, 4, 11), dsProcessor.getMinimum(ds1)); assertEquals(new Double(-43.0), dsProcessor.getMinimum(ds2)); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/fe41917b2706c3a4f1fd9b0efadf6d564184de0b/DataSetProcessorImplTest.java/clean/chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/datafeed/DataSetProcessorImplTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 2930, 381, 318, 1435, 1216, 1185, 288, 9506, 202, 11231, 8867, 12, 2704, 385, 5096, 12, 6976, 21, 16, 1059, 16, 4648, 3631, 3780, 5164, 18, 588, 13042, 12, 2377, 21, 10019, 202, 202, 11231, 8867, 12, 2704, 3698, 19236, 8942, 18, 20, 3631, 3780, 5164, 18, 588, 13042, 12, 2377, 22, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 2930, 381, 318, 1435, 1216, 1185, 288, 9506, 202, 11231, 8867, 12, 2704, 385, 5096, 12, 6976, 21, 16, 1059, 16, 4648, 3631, 3780, 5164, 18, 588, 13042, 12, 2377, 21, 10019, 202, 202, 11231, 8867, 12, 2704, 3698, 19236, 8942, 18, 20, 3631, 3780, 5164, 18, 588, 13042, 12, 2377, 22, 10019, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void aliasMethod(String name, String oldName) { testFrozen(); if (oldName.equals(name)) { return; } if (this == getRuntime().getClasses().getObjectClass()) { getRuntime().secure(4); } ICallable method = searchMethod(oldName); if (method.isUndefined()) { if (isModule()) { method = getRuntime().getClasses().getObjectClass().searchMethod(oldName); } if (method.isUndefined()) { throw new NameError(runtime, "undefined method '" + name + "' for " + (isModule() ? "module" : "class") + " '" + toName() + "'"); } } getMethods().put(name, new AliasMethod(method, oldName)); clearMethodCache(); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/319a529cc1666e267b662b895d6c0d0409a6a838/RubyModule.java/clean/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 4930, 1305, 12, 780, 529, 16, 780, 1673, 461, 15329, 3813, 42, 9808, 5621, 430, 12, 1673, 461, 18, 14963, 12, 529, 3719, 95, 2463, 31, 97, 430, 12, 2211, 631, 588, 5576, 7675, 588, 4818, 7675, 588, 921, 797, 10756, 95, 588, 5576, 7675, 8869, 12, 24, 1769, 97, 45, 11452, 2039, 33, 3072, 1305, 12, 1673, 461, 1769, 430, 12, 2039, 18, 291, 10317, 10756, 95, 430, 12, 291, 3120, 10756, 95, 2039, 33, 588, 5576, 7675, 588, 4818, 7675, 588, 921, 797, 7675, 3072, 1305, 12, 1673, 461, 1769, 97, 430, 12, 2039, 18, 291, 10317, 10756, 95, 12849, 2704, 461, 668, 12, 9448, 10837, 5978, 2039, 4970, 15, 529, 15, 5187, 1884, 6, 15, 12, 291, 3120, 1435, 7225, 2978, 15563, 1106, 7923, 9078, 4970, 15, 869, 461, 1435, 9078, 4970, 1769, 9090, 588, 4712, 7675, 458, 12, 529, 16, 2704, 2936, 1305, 12, 2039, 16, 1673, 461, 10019, 8507, 1305, 1649, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 4930, 1305, 12, 780, 529, 16, 780, 1673, 461, 15329, 3813, 42, 9808, 5621, 430, 12, 1673, 461, 18, 14963, 12, 529, 3719, 95, 2463, 31, 97, 430, 12, 2211, 631, 588, 5576, 7675, 588, 4818, 7675, 588, 921, 797, 10756, 95, 588, 5576, 7675, 8869, 12, 24, 1769, 97, 45, 11452, 2039, 33, 3072, 1305, 12, 1673, 461, 1769, 430, 12, 2039, 18, 291, 10317, 10756, 95, 430, 12, 291, 3120, 10756, 95, 2039, 33, 588, 5576, 7675, 588, 4818, 7675, 588, 921, 797, 7675, 3072, 1305, 12, 1673, 461, 1769, 97, 430, 12, 2039, 18, 291, 10317, 10756, 95, 12849, 2704, 461, 668, 12, 9448, 10837, 5978, 2039, 4970, 15, 529, 15, 5187, 1884, 6, 2 ]
copyToClipboard(tableTreeViewer.getSelection());
handleExport();
public void run() { copyToClipboard(tableTreeViewer.getSelection()); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/82674e955478776ae1394ec747ff424753d71996/LogView.java/buggy/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/logview/LogView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 3530, 774, 15339, 3752, 12, 2121, 2471, 18415, 18, 588, 6233, 10663, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 3530, 774, 15339, 3752, 12, 2121, 2471, 18415, 18, 588, 6233, 10663, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void startDocument(XMLLocator locator, String encoding)
public void startDocument(XMLLocator locator, String encoding, Augmentations augs)
public void startDocument(XMLLocator locator, String encoding) throws XNIException;
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/1281996de10d3af1b51f0b4d78cfcd75d8ade6fe/XMLDocumentHandler.java/buggy/src/org/apache/xerces/xni/XMLDocumentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 2519, 12, 4201, 5786, 8871, 16, 514, 2688, 16, 432, 14870, 1012, 279, 9024, 13, 540, 1216, 1139, 50, 45, 503, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 2519, 12, 4201, 5786, 8871, 16, 514, 2688, 16, 432, 14870, 1012, 279, 9024, 13, 540, 1216, 1139, 50, 45, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private Expression parsePowExpr( Lexer lexer ) throws ParseException, IOException { Expression left = parseValExpr(lexer); for (;;) { Token token = lexer.nextToken(); switch (token.getType()) { case Token.POWER: left = factory.newPower( left, parsePowExpr(lexer) ); break; default: lexer.pushBack(token); return left; } } }
private Expression parsePowExpr( Lexer lexer ) throws ParseException, IOException { Expression left = parseValExpr(lexer); for (; ;) { Token token = lexer.nextToken(); switch (token.getType()) { case Token.POWER: left = factory.newPower(left, parsePowExpr(lexer)); break; default: lexer.pushBack(token); return left; } } }
private Expression parsePowExpr( Lexer lexer ) throws ParseException, IOException { Expression left = parseValExpr(lexer); for (;;) { Token token = lexer.nextToken(); switch (token.getType()) { case Token.POWER: left = factory.newPower( left, parsePowExpr(lexer) ); break; default: lexer.pushBack(token); return left; } } }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/InfixParser.java/clean/jmock/examples/calculator/src/org/jmock/examples/calculator/InfixParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5371, 1109, 28289, 4742, 12, 14234, 8512, 262, 540, 1216, 10616, 16, 1860, 377, 288, 3639, 5371, 2002, 273, 1109, 3053, 4742, 12, 31731, 1769, 7734, 364, 261, 25708, 13, 288, 5411, 3155, 1147, 273, 8512, 18, 4285, 1345, 5621, 13491, 1620, 261, 2316, 18, 588, 559, 10756, 5411, 288, 5411, 648, 3155, 18, 2419, 18839, 30, 7734, 2002, 273, 3272, 18, 2704, 13788, 12, 2002, 16, 1109, 28289, 4742, 12, 31731, 13, 11272, 7734, 898, 31, 5411, 805, 30, 7734, 8512, 18, 6206, 2711, 12, 2316, 1769, 7734, 327, 2002, 31, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5371, 1109, 28289, 4742, 12, 14234, 8512, 262, 540, 1216, 10616, 16, 1860, 377, 288, 3639, 5371, 2002, 273, 1109, 3053, 4742, 12, 31731, 1769, 7734, 364, 261, 25708, 13, 288, 5411, 3155, 1147, 273, 8512, 18, 4285, 1345, 5621, 13491, 1620, 261, 2316, 18, 588, 559, 10756, 5411, 288, 5411, 648, 3155, 18, 2419, 18839, 30, 7734, 2002, 273, 3272, 18, 2704, 13788, 12, 2002, 16, 1109, 28289, 4742, 12, 31731, 13, 11272, 7734, 898, 31, 5411, 805, 30, 7734, 8512, 18, 6206, 2711, 12, 2316, 1769, 7734, 327, 2002, 31, 5411, 289, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ((prebuf.length - prepos) < framesPerPacket*frameSize) { int nsz = prepos + framesPerPacket*frameSize; byte[] nbuf = new byte[nsz]; System.arraycopy(prebuf, 0, nbuf, 0, precount); prebuf = nbuf; }
protected void fill() throws IOException { makeSpace(); if (first) { writeHeaderFrame(); writeCommentFrame(); first = false; } while (true) { int n = in.read(prebuf, precount, prebuf.length - precount); if (n < 0) { // inputstream has ended if ((precount-prepos) % 2 != 0) { // we don't have a complete last PCM sample throw new StreamCorruptedException("Incompleted last PCM sample when stream ended"); } while (prepos < precount) { // still data to encode if ((precount - prepos) < framesPerPacket*frameSize) { // fill end of frame with zeros if ((prebuf.length - prepos) < framesPerPacket*frameSize) { // grow prebuf int nsz = prepos + framesPerPacket*frameSize; byte[] nbuf = new byte[nsz]; System.arraycopy(prebuf, 0, nbuf, 0, precount); prebuf = nbuf; } for (;precount < (prepos+framesPerPacket*frameSize); precount++) { prebuf[precount] = 0; } } if (packetCount == 0) { writeOggPageHeader(packetsPerOggPage, 0); } for (int i=0; i<framesPerPacket; i++) { encoder.processData(prebuf, prepos, frameSize); } prepos += framesPerPacket*frameSize; int size = encoder.getProcessedDataByteSize(); while ((buf.length - oggCount) < size) { // grow buffer int nsz = buf.length * 2; byte[] nbuf = new byte[nsz]; System.arraycopy(buf, 0, nbuf, 0, oggCount); buf = nbuf; } buf[count + 27 + packetCount] = (byte)(0xff & size); encoder.getProcessedData(buf, oggCount); oggCount += size; packetCount++; if (packetCount >= packetsPerOggPage) { writeOggPageChecksum(); return; } } if (packetCount > 0) { // we have less than the normal number of packets in this page. buf[count+5] = (byte)(0xff & 4); // set page header type to end of stream buf[count+26] = (byte)(0xff & packetCount); System.arraycopy(buf, count+27+packetsPerOggPage, buf, count+27+packetCount, oggCount-(count+27+packetsPerOggPage)); oggCount -= packetsPerOggPage-packetCount; writeOggPageChecksum(); } return; } else if (n > 0) { precount += n; if ((precount - prepos) >= framesPerPacket*frameSize) { // enough data to encode frame while ((precount - prepos) >= framesPerPacket*frameSize) { // lets encode all we can if (packetCount == 0) { writeOggPageHeader(packetsPerOggPage, 0); } for (int i=0; i<framesPerPacket; i++) { encoder.processData(prebuf, prepos, frameSize); } prepos += framesPerPacket*frameSize; int size = encoder.getProcessedDataByteSize(); while ((buf.length - oggCount) < size) { // grow buffer int nsz = buf.length * 2; byte[] nbuf = new byte[nsz]; System.arraycopy(buf, 0, nbuf, 0, oggCount); buf = nbuf; } buf[count + 27 + packetCount] = (byte)(0xff & size); encoder.getProcessedData(buf, oggCount); oggCount += size; packetCount++; if (packetCount >= packetsPerOggPage) { writeOggPageChecksum(); } } System.arraycopy(prebuf, prepos, prebuf, 0, precount-prepos); precount -= prepos; prepos = 0; if (packetCount >= packetsPerOggPage) { writeOggPageChecksum(); // we have encoded some data (all that we could), // so we can leave now, otherwise we return to a potentially // blocking read of the underlying inputstream. return; } } } else { // n == 0 // read 0 bytes from underlying stream yet it is not finished. if (precount >= prebuf.length) { // no more room in buffer if (prepos > 0) { // free some space System.arraycopy(prebuf, prepos, prebuf, 0, precount-prepos); precount -= prepos; prepos = 0; } else { // we could grow the pre-buffer but that risks in turn growing the // buffer which could lead sooner or later to an // OutOfMemoryException. return; } } else { return; } } } }
6221 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6221/29014ebefddf4a33731ad5097a84ce136594f80f/Pcm2SpeexAudioInputStream.java/clean/main/trunk/src/org/xiph/speex/spi/Pcm2SpeexAudioInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 3636, 1435, 565, 1216, 1860, 225, 288, 565, 1221, 3819, 5621, 565, 309, 261, 3645, 13, 288, 1377, 1045, 1864, 3219, 5621, 1377, 1045, 4469, 3219, 5621, 1377, 1122, 273, 629, 31, 565, 289, 565, 1323, 261, 3767, 13, 288, 1377, 509, 290, 273, 316, 18, 896, 12, 1484, 4385, 16, 675, 1883, 16, 675, 4385, 18, 2469, 300, 675, 1883, 1769, 1377, 309, 261, 82, 411, 374, 13, 288, 368, 810, 3256, 711, 16926, 3639, 309, 14015, 1484, 1883, 17, 1484, 917, 13, 738, 576, 480, 374, 13, 288, 368, 732, 2727, 1404, 1240, 279, 3912, 1142, 453, 9611, 3296, 1850, 604, 394, 3961, 22701, 329, 503, 2932, 382, 13615, 1142, 453, 9611, 3296, 1347, 1407, 16926, 8863, 3639, 289, 3639, 1323, 261, 1484, 917, 411, 675, 1883, 13, 288, 368, 4859, 501, 358, 2017, 1850, 309, 14015, 1484, 1883, 300, 675, 917, 13, 411, 7793, 2173, 6667, 14, 3789, 1225, 13, 288, 5411, 368, 3636, 679, 434, 2623, 598, 4922, 5411, 309, 14015, 1484, 4385, 18, 2469, 300, 675, 917, 13, 411, 7793, 2173, 6667, 14, 3789, 1225, 13, 288, 2868, 368, 13334, 675, 4385, 2868, 509, 3153, 94, 273, 675, 917, 397, 7793, 2173, 6667, 14, 3789, 1225, 31, 2868, 1160, 8526, 4264, 696, 273, 394, 1160, 63, 2387, 94, 15533, 2868, 2332, 18, 1126, 3530, 12, 1484, 4385, 16, 374, 16, 4264, 696, 16, 374, 16, 675, 1883, 1769, 2868, 675, 4385, 273, 4264, 696, 31, 5411, 289, 5411, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 3636, 1435, 565, 1216, 1860, 225, 288, 565, 1221, 3819, 5621, 565, 309, 261, 3645, 13, 288, 1377, 1045, 1864, 3219, 5621, 1377, 1045, 4469, 3219, 5621, 1377, 1122, 273, 629, 31, 565, 289, 565, 1323, 261, 3767, 13, 288, 1377, 509, 290, 273, 316, 18, 896, 12, 1484, 4385, 16, 675, 1883, 16, 675, 4385, 18, 2469, 300, 675, 1883, 1769, 1377, 309, 261, 82, 411, 374, 13, 288, 368, 810, 3256, 711, 16926, 3639, 309, 14015, 1484, 1883, 17, 1484, 917, 13, 738, 576, 480, 374, 13, 288, 368, 732, 2727, 1404, 1240, 279, 3912, 1142, 453, 9611, 3296, 1850, 604, 394, 3961, 22701, 329, 503, 2932, 382, 13615, 1142, 453, 9611, 3296, 1347, 2 ]
String findByPrimarKeyQuery = "SELECT e FROM " + di.getBeanClass().getName() + " e WHERE ";
StringBuffer findByPrimarKeyQuery = new StringBuffer("SELECT e FROM " + di.getBeanClass().getName() + " e WHERE ");
public void init( Object id, HashMap registry, Properties properties ) throws org.openejb.OpenEJBException { containerID = id; deploymentRegistry = registry; this.props = properties; SafeToolkit toolkit = SafeToolkit.getToolkit( "CastorCMP11_EntityContainer" ); SafeProperties safeProps = toolkit.getSafeProperties( properties ); poolsize = safeProps.getPropertyAsInt(EnvProps.IM_POOL_SIZE, 100 ); Global_TX_Database = safeProps.getProperty(EnvProps.GLOBAL_TX_DATABASE); Local_TX_Database = safeProps.getProperty(EnvProps.LOCAL_TX_DATABASE); File gTxDb = null; File lTxDb = null; try { gTxDb = FileUtils.getBase(this.props).getFile( Global_TX_Database ); } catch ( Exception ignored ) { try { gTxDb = FileUtils.getHome(this.props).getFile(Global_TX_Database); } catch (Exception e) { throw new OpenEJBException("Cannot locate the " + EnvProps.GLOBAL_TX_DATABASE + " file. " + e.getMessage()); } } try { lTxDb = FileUtils.getBase(this.props).getFile( Local_TX_Database ); } catch ( Exception ignored ) { try { lTxDb = FileUtils.getHome(this.props).getFile(Local_TX_Database); } catch (Exception e) { throw new OpenEJBException("Cannot locate the " + EnvProps.LOCAL_TX_DATABASE + " file. " + e.getMessage()); } } /* * Castor JDO obtains a reference to the TransactionManager throught the InitialContext. * The new InitialContext will use the deployment's JNDI Context, which is normal inside * the container system, so we need to bind the TransactionManager to the deployment's name space * The biggest problem with this is that the bean itself may access the TransactionManager if it * knows the JNDI name, so we bind the TransactionManager into dynamically created transient name * space based every time the container starts. It nearly impossible for the bean to anticipate * and use the binding directly. It may be possible, however, to locate it using a Context listing method. */ String transactionManagerJndiName = "java:openejb/" + ( new java.rmi.dgc.VMID() ).toString().replace( ':', '_' ); /* * Because the Tyrex root (used by Castor) is different from the IntraVM root, * we have to bind the TxMgr under env in the IntraVM/comp * IntraVM/comp is bound under TyrexRoot/comp so beans can use java:comp indifferently. */ String transactionManagerJndiNameTyrex = "env/" + ( new java.rmi.dgc.VMID() ).toString().replace( ':', '_' ); /* * This container uses two different JDO objects. One whose transactions are managed by a tx manager * and which is not. The following code configures both. */ jdo_ForGlobalTransaction = new JDO(); // Assign the TransactionManager JNDI name to the dynamically generated JNDI name jdo_ForGlobalTransaction.setTransactionManager( "java:comp/" + transactionManagerJndiNameTyrex ); jdo_ForGlobalTransaction.setDatabasePooling( true ); jdo_ForGlobalTransaction.setConfiguration( gTxDb.getAbsolutePath() ); jdo_ForGlobalTransaction.setDatabaseName(EnvProps.GLOBAL_TX_DATABASE); jdo_ForGlobalTransaction.setCallbackInterceptor( this ); jdo_ForGlobalTransaction.setInstanceFactory( this ); jdo_ForGlobalTransaction.setLogInterceptor( new CMPLogger(EnvProps.GLOBAL_TX_DATABASE) ); // Make sure the DB is registered as a as synchronization object before the transaction begins. jdo_ForLocalTransaction = new JDO(); jdo_ForLocalTransaction.setConfiguration( lTxDb.getAbsolutePath() ); jdo_ForLocalTransaction.setDatabaseName(EnvProps.LOCAL_TX_DATABASE); jdo_ForLocalTransaction.setCallbackInterceptor( this ); jdo_ForLocalTransaction.setInstanceFactory( this ); jdo_ForLocalTransaction.setLogInterceptor( new CMPLogger(EnvProps.LOCAL_TX_DATABASE) ); /* * This block of code is necessary to avoid a chicken and egg problem. * The DeploymentInfo objects must have a reference to their container * during this assembly process, but the container is created after the * DeploymentInfo necessitating this loop to assign all deployment info * object's their containers. * * In addition the loop is leveraged for other oprations like creating * the method ready pool and the keyGenerator pool. */ org.openejb.DeploymentInfo[] deploys = this.deployments(); /* * the JndiTxReference will dynamically obtian a reference to the TransactionManger the first * time it used. The same Reference is shared by all deployments, which is not a problem. */ JndiTxReference txReference = new JndiTxReference(); for ( int x = 0; x < deploys.length; x++ ) { org.openejb.core.DeploymentInfo di = ( org.openejb.core.DeploymentInfo ) deploys[x]; di.setContainer( this ); // also added this line to create the Method Ready Pool for each deployment methodReadyPoolMap.put( di.getDeploymentID(), new LinkedListStack( poolsize / 2 ) ); KeyGenerator kg = null; try { kg = KeyGeneratorFactory.createKeyGenerator( di ); di.setKeyGenerator( kg ); } catch ( Exception e ) { logger.error( "Unable to create KeyGenerator for deployment id = " + di.getDeploymentID(), e ); throw new org.openejb.SystemException( "Unable to create KeyGenerator for deployment id = " + di.getDeploymentID(), e ); } // bind the TransactionManager to the dynamically generated JNDI name try { di.getJndiEnc().bind( transactionManagerJndiName, txReference ); jdo_ForGlobalTransaction.setTransactionManager( transactionManagerJndiName ); } catch ( Exception e ) { logger.error( "Unable to bind TransactionManager to deployment id = " + di.getDeploymentID() + " using JNDI name = \"" + transactionManagerJndiName + "\"", e ); throw new org.openejb.SystemException( "Unable to bind TransactionManager to deployment id = " + di.getDeploymentID() + " using JNDI name = \"" + transactionManagerJndiName + "\"", e ); } try { /** * The following code adds a findByPrimaryKey query-statement to the list of queries * held by the deployment descriptor. The container is required to generate this query * automatically, which is what this code does. */ String findByPrimarKeyQuery = "SELECT e FROM " + di.getBeanClass().getName() + " e WHERE "; if ( kg.isKeyComplex() ) { Field[] pkFields = di.getPrimaryKeyClass().getFields(); for ( int i = 1; i <= pkFields.length; i++ ) { findByPrimarKeyQuery += "e." + pkFields[i - 1].getName() + " = $" + i; if ( ( i + 1 ) <= pkFields.length ) findByPrimarKeyQuery += " AND "; } } else { findByPrimarKeyQuery += "e." + di.getPrimaryKeyField().getName() + " = $1"; } Method findByPrimaryKeyMethod = di.getHomeInterface().getMethod( "findByPrimaryKey", new Class[]{di.getPrimaryKeyClass()} ); di.addQuery( findByPrimaryKeyMethod, findByPrimarKeyQuery ); } catch ( Exception e ) { throw new org.openejb.SystemException( "Could not generate a query statement for the findByPrimaryKey method of the deployment = " + di.getDeploymentID(), e ); } } resetMap = new HashMap(); resetMap.put( byte.class, new Byte( ( byte ) 0 ) ); resetMap.put( boolean.class, new Boolean( false ) ); resetMap.put( char.class, new Character( ( char ) 0 ) ); resetMap.put( short.class, new Short( ( short ) 0 ) ); resetMap.put( int.class, new Integer( 0 ) ); resetMap.put( long.class, new Long( 0 ) ); resetMap.put( float.class, new Float( 0 ) ); resetMap.put( double.class, new Double( 0.0 ) ); }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/4f52760bc3704be4f698b6ed3a2b5ae33ca1fa83/CastorCMP11_EntityContainer.java/clean/openejb1/modules/core/src/java/org/openejb/alt/containers/castor_cmp11/CastorCMP11_EntityContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 1033, 612, 16, 4317, 4023, 16, 6183, 1790, 262, 565, 1216, 2358, 18, 3190, 73, 10649, 18, 3678, 22719, 503, 288, 3639, 24257, 273, 612, 31, 3639, 6314, 4243, 273, 4023, 31, 3639, 333, 18, 9693, 273, 1790, 31, 3639, 14060, 6364, 8691, 5226, 8691, 273, 14060, 6364, 8691, 18, 588, 6364, 8691, 12, 315, 9735, 280, 39, 4566, 2499, 67, 1943, 2170, 6, 11272, 3639, 14060, 2297, 4183, 5047, 273, 5226, 8691, 18, 588, 9890, 2297, 12, 1790, 11272, 3639, 2845, 1467, 273, 4183, 5047, 18, 588, 1396, 31720, 12, 3491, 5047, 18, 3445, 67, 20339, 67, 4574, 16, 2130, 11272, 3639, 8510, 67, 16556, 67, 4254, 273, 4183, 5047, 18, 588, 1396, 12, 3491, 5047, 18, 20402, 67, 16556, 67, 22366, 1769, 3639, 3566, 67, 16556, 67, 4254, 273, 4183, 5047, 18, 588, 1396, 12, 3491, 5047, 18, 14922, 67, 16556, 67, 22366, 1769, 3639, 1387, 314, 4188, 4331, 273, 446, 31, 3639, 1387, 328, 4188, 4331, 273, 446, 31, 3639, 775, 288, 5411, 314, 4188, 4331, 273, 13779, 18, 588, 2171, 12, 2211, 18, 9693, 2934, 29925, 12, 8510, 67, 16556, 67, 4254, 11272, 3639, 289, 1044, 261, 1185, 5455, 262, 288, 5411, 775, 288, 7734, 314, 4188, 4331, 273, 13779, 18, 588, 8684, 12, 2211, 18, 9693, 2934, 29925, 12, 5160, 67, 16556, 67, 4254, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 604, 394, 3502, 22719, 503, 2932, 4515, 10627, 326, 315, 397, 5266, 5047, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 1033, 612, 16, 4317, 4023, 16, 6183, 1790, 262, 565, 1216, 2358, 18, 3190, 73, 10649, 18, 3678, 22719, 503, 288, 3639, 24257, 273, 612, 31, 3639, 6314, 4243, 273, 4023, 31, 3639, 333, 18, 9693, 273, 1790, 31, 3639, 14060, 6364, 8691, 5226, 8691, 273, 14060, 6364, 8691, 18, 588, 6364, 8691, 12, 315, 9735, 280, 39, 4566, 2499, 67, 1943, 2170, 6, 11272, 3639, 14060, 2297, 4183, 5047, 273, 5226, 8691, 18, 588, 9890, 2297, 12, 1790, 11272, 3639, 2845, 1467, 273, 4183, 5047, 18, 588, 1396, 31720, 12, 3491, 5047, 18, 3445, 67, 20339, 67, 4574, 16, 2130, 11272, 3639, 8510, 67, 16556, 67, 4254, 273, 4183, 5047, 18, 588, 1396, 2 ]
config = null; config = new MuleConfiguration(); instance = null;
public synchronized void dispose() { if (disposed.get()) { return; } try { if (started.get()) { stop(); } } catch (UMOException e) { logger.error("Failed to stop manager: " + e.getMessage(), e); } disposed.set(true); disposeConnectors(); if (model != null) { model.dispose(); } disposeAgents(); transformers.clear(); endpoints.clear(); endpointIdentifiers.clear(); containerContext.dispose(); containerContext = null; // props.clear(); fireSystemEvent(new ManagerEvent(this, ManagerEvent.MANAGER_DISPOSED)); transformers = null; endpoints = null; endpointIdentifiers = null; // props = null; initialised.set(false); if (eventManager != null) { eventManager.dispose(); } if (workManager != null) { workManager.dispose(); } config = null; config = new MuleConfiguration(); instance = null; if(!config.isEmbedded()) { if (logger.isInfoEnabled()) { logger.info(getEndSplash()); } else { System.out.println(getEndSplash()); } } }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/52017c1e601c5799605acbc0ccb383996a153288/MuleManager.java/clean/mule/src/java/org/mule/MuleManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 15825, 1435, 565, 288, 3639, 309, 261, 2251, 7423, 18, 588, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 309, 261, 14561, 18, 588, 10756, 288, 7734, 2132, 5621, 5411, 289, 3639, 289, 1044, 261, 2799, 51, 503, 425, 13, 288, 5411, 1194, 18, 1636, 2932, 2925, 358, 2132, 3301, 30, 315, 397, 425, 18, 24906, 9334, 425, 1769, 3639, 289, 3639, 1015, 7423, 18, 542, 12, 3767, 1769, 3639, 15825, 7487, 87, 5621, 3639, 309, 261, 2284, 480, 446, 13, 288, 5411, 938, 18, 2251, 4150, 5621, 3639, 289, 3639, 15825, 23400, 5621, 3639, 20522, 18, 8507, 5621, 3639, 7902, 18, 8507, 5621, 3639, 2494, 12745, 18, 8507, 5621, 3639, 1478, 1042, 18, 2251, 4150, 5621, 3639, 1478, 1042, 273, 446, 31, 3639, 368, 3458, 18, 8507, 5621, 3639, 4452, 3163, 1133, 12, 2704, 8558, 1133, 12, 2211, 16, 8558, 1133, 18, 19402, 67, 13498, 2419, 18204, 10019, 3639, 20522, 273, 446, 31, 3639, 7902, 273, 446, 31, 3639, 2494, 12745, 273, 446, 31, 3639, 368, 3458, 273, 446, 31, 3639, 30372, 18, 542, 12, 5743, 1769, 3639, 309, 261, 2575, 1318, 480, 446, 13, 288, 5411, 23040, 18, 2251, 4150, 5621, 3639, 289, 3639, 309, 261, 1252, 1318, 480, 446, 13, 288, 5411, 1440, 1318, 18, 2251, 4150, 5621, 3639, 289, 3639, 642, 273, 446, 31, 3639, 642, 273, 394, 490, 725, 1750, 5621, 3639, 791, 273, 446, 31, 3639, 309, 12, 5, 1425, 18, 291, 14980, 10756, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 15825, 1435, 565, 288, 3639, 309, 261, 2251, 7423, 18, 588, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 309, 261, 14561, 18, 588, 10756, 288, 7734, 2132, 5621, 5411, 289, 3639, 289, 1044, 261, 2799, 51, 503, 425, 13, 288, 5411, 1194, 18, 1636, 2932, 2925, 358, 2132, 3301, 30, 315, 397, 425, 18, 24906, 9334, 425, 1769, 3639, 289, 3639, 1015, 7423, 18, 542, 12, 3767, 1769, 3639, 15825, 7487, 87, 5621, 3639, 309, 261, 2284, 480, 446, 13, 288, 5411, 938, 18, 2251, 4150, 5621, 3639, 289, 3639, 15825, 23400, 5621, 3639, 20522, 18, 8507, 5621, 3639, 7902, 18, 8507, 5621, 3639, 2494, 12745, 18, 8507, 5621, 3639, 1478, 2 ]
setDataPoint((DataPoint)null);
setDataPoint((DataPoint) null);
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.SCATTER_SERIES__VISIBLE: unsetVisible(); return; case TypePackage.SCATTER_SERIES__LABEL: setLabel((Label)null); return; case TypePackage.SCATTER_SERIES__DATA_DEFINITION: getDataDefinition().clear(); return; case TypePackage.SCATTER_SERIES__SERIES_IDENTIFIER: setSeriesIdentifier(SERIES_IDENTIFIER_EDEFAULT); return; case TypePackage.SCATTER_SERIES__DATA_POINT: setDataPoint((DataPoint)null); return; case TypePackage.SCATTER_SERIES__DATA_SET: setDataSet((DataSet)null); return; case TypePackage.SCATTER_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)null); return; case TypePackage.SCATTER_SERIES__LABEL_POSITION: unsetLabelPosition(); return; case TypePackage.SCATTER_SERIES__STACKED: unsetStacked(); return; case TypePackage.SCATTER_SERIES__TRIGGERS: getTriggers().clear(); return; case TypePackage.SCATTER_SERIES__TRANSLUCENT: unsetTranslucent(); return; case TypePackage.SCATTER_SERIES__MARKER: setMarker((Marker)null); return; case TypePackage.SCATTER_SERIES__LINE_ATTRIBUTES: setLineAttributes((LineAttributes)null); return; case TypePackage.SCATTER_SERIES__CURVE: unsetCurve(); return; case TypePackage.SCATTER_SERIES__SHADOW_COLOR: setShadowColor((ColorDefinition)null); return; } eDynamicUnset(eFeature); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ScatterSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/ScatterSeriesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 29588, 30, 7734, 2646, 6207, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12, 2123, 8805, 67, 16606, 67, 11236, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 8941, 30, 7734, 7929, 2148, 12443, 751, 2148, 13, 446, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 4043, 30, 7734, 7929, 694, 12443, 13676, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 7254, 67, 13847, 10591, 30, 7734, 26251, 21416, 12443, 1630, 21416, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 13545, 67, 15258, 30, 7734, 2646, 2224, 2555, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 29588, 30, 7734, 2646, 6207, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 2312, 789, 2560, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12, 2 ]
EditAction.getView((Component)evt.getSource())
GUIUtilities.getView((Component)evt.getSource())
public void actionPerformed(ActionEvent evt) { // Let input handler do recording, repeating, etc EditAction.getView((Component)evt.getSource()) .getInputHandler().invokeAction(action); }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/99dde32cdbff549ab55741bacca7a22239096c47/EditAction.java/buggy/org/gjt/sp/jedit/EditAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 202, 202, 95, 1082, 202, 759, 10559, 810, 1838, 741, 14949, 16, 30571, 16, 5527, 1082, 202, 4666, 1803, 18, 588, 1767, 12443, 1841, 13, 73, 11734, 18, 588, 1830, 10756, 9506, 202, 18, 588, 1210, 1503, 7675, 14407, 1803, 12, 1128, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 202, 202, 95, 1082, 202, 759, 10559, 810, 1838, 741, 14949, 16, 30571, 16, 5527, 1082, 202, 4666, 1803, 18, 588, 1767, 12443, 1841, 13, 73, 11734, 18, 588, 1830, 10756, 9506, 202, 18, 588, 1210, 1503, 7675, 14407, 1803, 12, 1128, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
DumpVisitor lVisitor = new DumpVisitor(); lScript.accept(lVisitor); ruby.getRuntime().getOutputStream().println(lVisitor.dump());
protected static void runInterpreter(Reader iReader2Eval, String iFileName, String[] args) { // Initialize Runtime Ruby ruby = Ruby.getDefaultInstance(sRegexpAdapter); // Parse and interpret file IRubyObject lArgv = JavaUtil.convertJavaToRuby(ruby, args); ruby.setVerbose(warning); ruby.defineReadonlyVariable("$VERBOSE", warning ? ruby.getTrue() : ruby.getNil()); ruby.defineGlobalConstant("ARGV", lArgv); ruby.defineReadonlyVariable("$-p", (sDoPrint ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$-n", (sDoLoop ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$-a", (sDoSplit ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$-l", (sDoLine ? ruby.getTrue() : ruby.getNil())); ruby.defineReadonlyVariable("$*", lArgv); ruby.defineVariable(new RubyGlobal.StringGlobalVariable(ruby, "$0", RubyString.newString(ruby, iFileName))); ruby.initLoad(sLoadDirectories); //require additional libraries int lNbRequire = sRequireFirst.size(); try { for (int i = 0; i < lNbRequire; i++) RubyKernel.require(ruby.getRubyTopSelf(), new RubyString(ruby, (String) sRequireFirst.get(i))); // +++ INode lScript = ruby.parse(iReader2Eval, iFileName); // DumpVisitor laVisitor = new DumpVisitor(); // lScript.accept(laVisitor); // ruby.getRuntime().getOutputStream().println(laVisitor.dump()); if (sDoPrint) { // FIXME lScript = new ParserSupport().appendPrintToBlock(lScript); // ruby.getParserHelper().rb_parser_append_print(); } if (sDoLoop) { // FIXME lScript = new ParserSupport().appendWhileLoopToBlock(lScript, sDoLine, sDoSplit); // ruby.getParserHelper().rb_parser_while_loop(sDoLine, sDoSplit); } if (sCheckOnly) { DumpVisitor lVisitor = new DumpVisitor(); lScript.accept(lVisitor); ruby.getRuntime().getOutputStream().println(lVisitor.dump()); } else { ruby.eval(lScript); } } catch (RaiseException rExcptn) { ruby.getRuntime().printError(rExcptn.getException()); } catch (ThrowJump throwJump) { ruby.getRuntime().printError(throwJump.getNameError()); } catch (RubyBugException lBug) { ruby.getRuntime().getErrorStream().print(lBug.getMessage()); } }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/615c030e9e2e4f7129fe3e92d877dd15dd313c3d/Main.java/buggy/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1086, 30010, 12, 2514, 277, 2514, 22, 13904, 16, 514, 277, 4771, 16, 514, 8526, 833, 13, 288, 3639, 368, 9190, 2509, 3639, 19817, 22155, 273, 19817, 18, 588, 1868, 1442, 12, 87, 14621, 4216, 1769, 3639, 368, 2884, 471, 10634, 585, 3639, 15908, 10340, 921, 328, 4117, 90, 273, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 833, 1769, 3639, 22155, 18, 542, 14489, 12, 8551, 1769, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 21900, 3113, 3436, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 10663, 3639, 22155, 18, 11255, 5160, 6902, 2932, 10973, 58, 3113, 328, 4117, 90, 1769, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 84, 3113, 261, 87, 3244, 5108, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 82, 3113, 261, 87, 3244, 6452, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 69, 3113, 261, 87, 3244, 5521, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 17, 80, 3113, 261, 87, 3244, 1670, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 1435, 10019, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 14, 3113, 328, 4117, 90, 1769, 3639, 22155, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1086, 30010, 12, 2514, 277, 2514, 22, 13904, 16, 514, 277, 4771, 16, 514, 8526, 833, 13, 288, 3639, 368, 9190, 2509, 3639, 19817, 22155, 273, 19817, 18, 588, 1868, 1442, 12, 87, 14621, 4216, 1769, 3639, 368, 2884, 471, 10634, 585, 3639, 15908, 10340, 921, 328, 4117, 90, 273, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 833, 1769, 3639, 22155, 18, 542, 14489, 12, 8551, 1769, 3639, 22155, 18, 11255, 1994, 3700, 3092, 2932, 8, 21900, 3113, 3436, 692, 22155, 18, 588, 5510, 1435, 294, 22155, 18, 588, 12616, 10663, 3639, 22155, 18, 11255, 5160, 6902, 2932, 10973, 58, 3113, 328, 4117, 90, 1769, 3639, 22155, 18, 11255, 1994, 3700, 2 ]
}
MockService svc2 = m_network.getService(1, "192.168.1.2", "SMTP"); assertEquals(1, svc2.getPollingPackages().size()); assertEquals("TestPackage", svc2.getPollingPackages().iterator().next()); }
public void testPolling() throws Exception { m_pollerConfig.setNodeOutageProcessingEnabled(false); // create a poll anticipator PollAnticipator anticipator = new PollAnticipator(); // register it with the interfaces services MockInterface iface = m_network.getInterface(1, "192.168.1.2"); iface.addAnticipator(anticipator); // // first ensure that polls are working while it is up // // anticipate three polls on all the interfaces services anticipator.anticipateAllServices(iface); anticipator.anticipateAllServices(iface); anticipator.anticipateAllServices(iface); // start the poller startDaemons(); // wait for the polls to occur while its up... 1 poll per second plus // overhead assertEquals(0, anticipator.waitForAnticipated(4000L).size()); // ensure that the 192.168.1.3/HTTP service is only polled by TestPkg2 MockService svc = m_network.getService(2, "192.168.1.3", "HTTP"); assertEquals(1, svc.getPollingPackages().size()); assertEquals("TestPkg2", svc.getPollingPackages().iterator().next()); // ensure that another service has the TestPackage package MockService svc2 = m_network.getService(1, "192.168.1.2", "SMTP"); assertEquals(1, svc2.getPollingPackages().size()); assertEquals("TestPackage", svc2.getPollingPackages().iterator().next()); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/e3db1312e8cc2636034eb4d7b29db88850613e3b/PollerTest.java/clean/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 24767, 1435, 1216, 1185, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 5743, 1769, 3639, 368, 752, 279, 7672, 17841, 24629, 639, 3639, 19160, 14925, 24629, 639, 17841, 24629, 639, 273, 394, 19160, 14925, 24629, 639, 5621, 3639, 368, 1744, 518, 598, 326, 7349, 4028, 3639, 7867, 1358, 9751, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 9751, 18, 1289, 14925, 24629, 639, 12, 9941, 625, 639, 1769, 3639, 368, 3639, 368, 1122, 3387, 716, 2952, 3251, 854, 5960, 1323, 518, 353, 731, 3639, 368, 3639, 368, 17841, 24629, 340, 8925, 2952, 3251, 603, 777, 326, 7349, 4028, 3639, 17841, 24629, 639, 18, 9941, 625, 340, 1595, 5676, 12, 31479, 1769, 3639, 17841, 24629, 639, 18, 9941, 625, 340, 1595, 5676, 12, 31479, 1769, 3639, 17841, 24629, 639, 18, 9941, 625, 340, 1595, 5676, 12, 31479, 1769, 3639, 368, 787, 326, 24525, 3639, 787, 12858, 87, 5621, 3639, 368, 2529, 364, 326, 2952, 3251, 358, 3334, 1323, 2097, 731, 2777, 404, 7672, 1534, 2205, 8737, 3639, 368, 23188, 3639, 1815, 8867, 12, 20, 16, 17841, 24629, 639, 18, 7048, 1290, 14925, 24629, 690, 12, 24, 3784, 48, 2934, 1467, 10663, 7734, 368, 3387, 716, 326, 20217, 18, 23329, 18, 21, 18, 23, 19, 3693, 1156, 353, 1338, 2952, 1259, 635, 7766, 11264, 22, 3639, 7867, 1179, 7538, 273, 312, 67, 5185, 18, 588, 1179, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 24767, 1435, 1216, 1185, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 5743, 1769, 3639, 368, 752, 279, 7672, 17841, 24629, 639, 3639, 19160, 14925, 24629, 639, 17841, 24629, 639, 273, 394, 19160, 14925, 24629, 639, 5621, 3639, 368, 1744, 518, 598, 326, 7349, 4028, 3639, 7867, 1358, 9751, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 9751, 18, 1289, 14925, 24629, 639, 12, 9941, 625, 639, 1769, 3639, 368, 3639, 368, 1122, 3387, 716, 2952, 3251, 854, 5960, 1323, 518, 353, 731, 3639, 368, 3639, 368, 17841, 24629, 340, 8925, 2952, 3251, 603, 777, 326, 2 ]
MylarStatusHandler.setStatusNotifier(new TestingStatusNotifier());
public static Test suite() { TestSuite suite = new TestSuite("Test for org.eclipse.mylar.tests.integration"); MylarStatusHandler.setStatusNotifier(new TestingStatusNotifier()); // $JUnit-BEGIN$ suite.addTestSuite(TaskListFilterTest.class); suite.addTestSuite(DefaultPreferenceConfigTest.class); suite.addTestSuite(ExtensionPointInitializationTest.class); suite.addTestSuite(ChangeDataDirTest.class); // $JUnit-END$ return suite; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8f5f4e4a5cf6e48bb1604ba57546ee3b180b8868/AllIntegrationTests.java/clean/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/AllIntegrationTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 2932, 4709, 364, 2358, 18, 20416, 18, 4811, 7901, 18, 16341, 18, 27667, 8863, 202, 202, 12062, 7901, 1482, 1503, 18, 542, 1482, 14889, 12, 2704, 7766, 310, 1482, 14889, 10663, 202, 202, 759, 271, 46, 2802, 17, 16061, 8, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 2174, 682, 1586, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 1868, 9624, 809, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 3625, 2148, 17701, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 3043, 751, 1621, 4709, 18, 1106, 1769, 202, 202, 759, 271, 46, 2802, 17, 4415, 8, 202, 202, 2463, 11371, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 2932, 4709, 364, 2358, 18, 20416, 18, 4811, 7901, 18, 16341, 18, 27667, 8863, 202, 202, 12062, 7901, 1482, 1503, 18, 542, 1482, 14889, 12, 2704, 7766, 310, 1482, 14889, 10663, 202, 202, 759, 271, 46, 2802, 17, 16061, 8, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 2174, 682, 1586, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 1868, 9624, 809, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 3625, 2148, 17701, 4709, 18, 1106, 1769, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 3043, 751, 1621, 4709, 18, 1106, 1769, 202, 202, 2 ]
in.read ();
in.read();
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { String cname = in.readUTF(); if (!cname.equals("")) { if (cname.equals ("UnicastRef2")) { // hack for interoperating with JDK cname = "UnicastRef"; in.read (); //some unknown UnicastRef2 field } // It would be nice to use RemoteRef.packagePrefix here, but for binary // compatibility with the JDK that has to contain "sun.rmi.server"... cname = "gnu.java.rmi.server." + cname; try { Class cls = Class.forName(cname); ref = (RemoteRef)cls.newInstance(); } catch (InstantiationException e1) { throw new UnmarshalException("failed to create ref", e1); } catch (IllegalAccessException e2) { throw new UnmarshalException("failed to create ref", e2); } ref.readExternal(in); } else { ref = (RemoteRef)in.readObject(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/RemoteObject.java/clean/core/src/classpath/java/java/rmi/server/RemoteObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 17362, 12, 921, 4348, 316, 13, 1216, 1860, 16, 10403, 282, 288, 565, 514, 18290, 273, 316, 18, 896, 5159, 5621, 565, 309, 16051, 71, 529, 18, 14963, 2932, 6, 3719, 4202, 288, 202, 430, 261, 71, 529, 18, 14963, 7566, 984, 12544, 1957, 22, 6, 3719, 202, 225, 288, 3196, 565, 368, 11769, 364, 1554, 4063, 1776, 598, 24387, 202, 565, 18290, 273, 315, 984, 12544, 1957, 14432, 202, 565, 316, 18, 896, 5621, 368, 19068, 5917, 1351, 12544, 1957, 22, 652, 202, 225, 289, 225, 368, 2597, 4102, 506, 13752, 358, 999, 6304, 1957, 18, 5610, 2244, 2674, 16, 1496, 364, 3112, 225, 368, 8926, 598, 326, 24387, 716, 711, 358, 912, 315, 16924, 18, 8864, 77, 18, 3567, 6, 2777, 202, 71, 529, 273, 315, 1600, 89, 18, 6290, 18, 8864, 77, 18, 3567, 1199, 397, 18290, 31, 202, 698, 3196, 225, 288, 202, 565, 1659, 2028, 273, 1659, 18, 1884, 461, 12, 71, 529, 1769, 202, 565, 1278, 273, 261, 5169, 1957, 13, 6429, 18, 2704, 1442, 5621, 202, 225, 289, 202, 14683, 261, 10675, 7072, 503, 425, 21, 13, 3196, 225, 288, 202, 565, 604, 394, 3814, 503, 2932, 7307, 358, 752, 1278, 3113, 425, 21, 1769, 202, 225, 289, 202, 14683, 261, 12195, 9773, 425, 22, 13, 3196, 225, 288, 202, 565, 604, 394, 3814, 503, 2932, 7307, 358, 752, 1278, 3113, 425, 22, 1769, 202, 225, 289, 202, 1734, 18, 896, 6841, 12, 267, 1769, 1377, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 17362, 12, 921, 4348, 316, 13, 1216, 1860, 16, 10403, 282, 288, 565, 514, 18290, 273, 316, 18, 896, 5159, 5621, 565, 309, 16051, 71, 529, 18, 14963, 2932, 6, 3719, 4202, 288, 202, 430, 261, 71, 529, 18, 14963, 7566, 984, 12544, 1957, 22, 6, 3719, 202, 225, 288, 3196, 565, 368, 11769, 364, 1554, 4063, 1776, 598, 24387, 202, 565, 18290, 273, 315, 984, 12544, 1957, 14432, 202, 565, 316, 18, 896, 5621, 368, 19068, 5917, 1351, 12544, 1957, 22, 652, 202, 225, 289, 225, 368, 2597, 4102, 506, 13752, 358, 999, 6304, 1957, 18, 5610, 2244, 2674, 16, 1496, 364, 3112, 225, 368, 8926, 598, 326, 24387, 716, 711, 358, 912, 315, 16924, 2 ]
+"test=E8\r\n"
+"test=80\r\n"
protected String getMultipartMessageExpected1() { return "Subject: test\r\n" +"MIME-Version: 1.0\r\n" +"Content-Type: multipart/alternative; \r\n" +"\tboundary=\"----=_Part_0_XXXXXXXXXXX.XXXXXXXXXXX\"\r\n" +"\r\n" +"------=_Part_0_XXXXXXXXXXX.XXXXXXXXXXX\r\n" +"X-header: test1\r\n" +"Content-Transfer-Encoding: quoted-printable\r\n" +"Content-Type: text/plain; charset=Cp1252\r\n" +"\r\n" +"test=E8\r\n" +"------=_Part_0_XXXXXXXXXXX.XXXXXXXXXXX\r\n" +"X-header: test2\r\n" +"Content-Transfer-Encoding: quoted-printable\r\n" +"Content-Type: text/plain; charset=Cp1252\r\n" +"\r\n" +"second part =E8=E8\r\n" +"------=_Part_0_XXXXXXXXXXX.XXXXXXXXXXX--\r\n"; }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/55098f240f74e8c15e74915e03b277b5094458ff/MimeMessageTest.java/clean/trunk/src/test/org/apache/james/core/MimeMessageTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 30226, 5762, 1079, 6861, 21, 1435, 288, 3639, 327, 315, 6638, 30, 1842, 64, 86, 64, 82, 6, 5411, 397, 6, 18178, 17, 1444, 30, 404, 18, 20, 64, 86, 64, 82, 6, 5411, 397, 6, 1350, 17, 559, 30, 10263, 19, 27071, 31, 521, 86, 64, 82, 6, 2398, 397, 12691, 88, 16604, 5189, 553, 33, 67, 1988, 67, 20, 67, 24303, 24303, 15639, 18, 24303, 24303, 15639, 31670, 86, 64, 82, 6, 5411, 397, 12691, 86, 64, 82, 6, 5411, 397, 6, 13093, 33, 67, 1988, 67, 20, 67, 24303, 24303, 15639, 18, 24303, 24303, 15639, 64, 86, 64, 82, 6, 5411, 397, 6, 60, 17, 3374, 30, 1842, 21, 64, 86, 64, 82, 6, 5411, 397, 6, 1350, 17, 5912, 17, 4705, 30, 9298, 17, 1188, 429, 64, 86, 64, 82, 6, 5411, 397, 6, 1350, 17, 559, 30, 977, 19, 7446, 31, 4856, 33, 28954, 2138, 9401, 64, 86, 64, 82, 6, 5411, 397, 12691, 86, 64, 82, 6, 5411, 397, 6, 3813, 33, 3672, 64, 86, 64, 82, 6, 5411, 397, 6, 13093, 33, 67, 1988, 67, 20, 67, 24303, 24303, 15639, 18, 24303, 24303, 15639, 64, 86, 64, 82, 6, 5411, 397, 6, 60, 17, 3374, 30, 1842, 22, 64, 86, 64, 82, 6, 5411, 397, 6, 1350, 17, 5912, 17, 4705, 30, 9298, 17, 1188, 429, 64, 86, 64, 82, 6, 5411, 397, 6, 1350, 17, 559, 30, 977, 19, 7446, 31, 4856, 33, 28954, 2138, 9401, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 30226, 5762, 1079, 6861, 21, 1435, 288, 3639, 327, 315, 6638, 30, 1842, 64, 86, 64, 82, 6, 5411, 397, 6, 18178, 17, 1444, 30, 404, 18, 20, 64, 86, 64, 82, 6, 5411, 397, 6, 1350, 17, 559, 30, 10263, 19, 27071, 31, 521, 86, 64, 82, 6, 2398, 397, 12691, 88, 16604, 5189, 553, 33, 67, 1988, 67, 20, 67, 24303, 24303, 15639, 18, 24303, 24303, 15639, 31670, 86, 64, 82, 6, 5411, 397, 12691, 86, 64, 82, 6, 5411, 397, 6, 13093, 33, 67, 1988, 67, 20, 67, 24303, 24303, 15639, 18, 24303, 24303, 15639, 64, 86, 64, 82, 6, 5411, 397, 6, 60, 17, 3374, 30, 1842, 21, 64, 86, 64, 82, 2 ]
return false;
return true;
protected void updateAnnotations(CompilationUnit ast, IProgressMonitor progressMonitor) { if (ast == null || progressMonitor.isCanceled()) return; final Map annotationMap= new HashMap(50); ast.accept(new ASTVisitor(false) { /* * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.MethodDeclaration) */ public boolean visit(MethodDeclaration node) { IMethodBinding binding= node.resolveBinding(); if (binding != null) { IMethodBinding definingMethod= Bindings.findMethodDefininition(binding, true); if (definingMethod != null) { ITypeBinding definingType= definingMethod.getDeclaringClass(); String qualifiedMethodName= definingType.getQualifiedName() + "." + binding.getName(); //$NON-NLS-1$ boolean isImplements= JdtFlags.isAbstract(definingMethod); String text; if (isImplements) text= JavaEditorMessages.getFormattedString("OverrideIndicatorManager.implements", qualifiedMethodName); //$NON-NLS-1$ else text= JavaEditorMessages.getFormattedString("OverrideIndicatorManager.overrides", qualifiedMethodName); //$NON-NLS-1$ SimpleName name= node.getName(); Position position= new Position(name.getStartPosition(), name.getLength()); annotationMap.put( new OverrideIndicator(isImplements, text, binding.getKey()), //$NON-NLS-1$ position); } } return false; } }); if (progressMonitor.isCanceled()) return; synchronized (fAnnotationModelLockObject) { if (fAnnotationModel instanceof IAnnotationModelExtension) { ((IAnnotationModelExtension)fAnnotationModel).replaceAnnotations(fOverrideAnnotations, annotationMap); } else { removeAnnotations(); Iterator iter= annotationMap.entrySet().iterator(); while (iter.hasNext()) { Map.Entry mapEntry= (Map.Entry)iter.next(); fAnnotationModel.addAnnotation((Annotation)mapEntry.getKey(), (Position)mapEntry.getValue()); } } fOverrideAnnotations= (Annotation[])annotationMap.keySet().toArray(new Annotation[annotationMap.keySet().size()]); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/6a4220085b35b8bf8f8e5f586ffd139f442a8a70/OverrideIndicatorManager.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OverrideIndicatorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 5655, 12, 19184, 2802, 3364, 16, 467, 5491, 7187, 4007, 7187, 13, 288, 9506, 202, 430, 261, 689, 422, 446, 747, 4007, 7187, 18, 291, 23163, 10756, 1082, 202, 2463, 31, 9506, 202, 6385, 1635, 3204, 863, 33, 394, 4317, 12, 3361, 1769, 202, 202, 689, 18, 9436, 12, 2704, 9183, 7413, 12, 5743, 13, 288, 1082, 202, 20308, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 78, 7510, 18, 3644, 18, 9859, 18, 9053, 7413, 7, 11658, 12, 3341, 18, 20416, 18, 78, 7510, 18, 3644, 18, 9859, 18, 1305, 6094, 13, 9506, 1195, 1082, 202, 482, 1250, 3757, 12, 1305, 6094, 756, 13, 288, 9506, 202, 45, 1305, 5250, 5085, 33, 756, 18, 10828, 5250, 5621, 9506, 202, 430, 261, 7374, 480, 446, 13, 288, 6862, 202, 45, 1305, 5250, 9364, 1305, 33, 6936, 899, 18, 4720, 1305, 6443, 267, 608, 12, 7374, 16, 638, 1769, 6862, 202, 430, 261, 5649, 310, 1305, 480, 446, 13, 288, 6862, 6862, 9506, 202, 45, 559, 5250, 9364, 559, 33, 9364, 1305, 18, 588, 3456, 14682, 5621, 25083, 202, 780, 9348, 11666, 33, 9364, 559, 18, 588, 12345, 1435, 397, 4585, 397, 5085, 18, 17994, 5621, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 6862, 9506, 202, 6494, 353, 17516, 33, 804, 7510, 5094, 18, 291, 7469, 12, 5649, 310, 1305, 1769, 25083, 202, 780, 977, 31, 25083, 202, 430, 261, 291, 17516, 13, 6862, 1082, 202, 955, 33, 5110, 6946, 5058, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 5655, 12, 19184, 2802, 3364, 16, 467, 5491, 7187, 4007, 7187, 13, 288, 9506, 202, 430, 261, 689, 422, 446, 747, 4007, 7187, 18, 291, 23163, 10756, 1082, 202, 2463, 31, 9506, 202, 6385, 1635, 3204, 863, 33, 394, 4317, 12, 3361, 1769, 202, 202, 689, 18, 9436, 12, 2704, 9183, 7413, 12, 5743, 13, 288, 1082, 202, 20308, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 78, 7510, 18, 3644, 18, 9859, 18, 9053, 7413, 7, 11658, 12, 3341, 18, 20416, 18, 78, 7510, 18, 3644, 18, 9859, 18, 1305, 6094, 13, 9506, 1195, 1082, 202, 482, 1250, 3757, 12, 1305, 6094, 756, 13, 288, 9506, 202, 45, 1305, 5250, 5085, 33, 756, 2 ]
{ return 8192; }
{ return 8192; }
public int getMaxRowSize() throws SQLException { return 8192; }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/buggy/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 1999, 1225, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 26730, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 1999, 1225, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 26730, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return fFilter; }
return fFilter; }
public String getFilter() { return fFilter; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/6ef8cc8526a49e2e659df68cd1dbeef6fd842dc6/FilteredList.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12267, 1435, 288, 3639, 327, 284, 1586, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12267, 1435, 288, 3639, 327, 284, 1586, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getRuntime().newArray(args);
RubyArray array = (RubyArray)allocateObject(); array.setMetaClass(this); if (args.length > 1) { for (int i = 0; i < args.length; i++) { array.add(args[i]); } } return array;
public IRubyObject create(IRubyObject[] args) { return getRuntime().newArray(args); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/4464dc9d096f5840c7920b6bc0d4de218d241503/ArrayMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/ArrayMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 752, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 19817, 1076, 526, 273, 261, 54, 10340, 1076, 13, 16247, 921, 5621, 526, 18, 542, 2781, 797, 12, 2211, 1769, 225, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 526, 18, 1289, 12, 1968, 63, 77, 19226, 289, 289, 225, 327, 526, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 752, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 19817, 1076, 526, 273, 261, 54, 10340, 1076, 13, 16247, 921, 5621, 526, 18, 542, 2781, 797, 12, 2211, 1769, 225, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 526, 18, 1289, 12, 1968, 63, 77, 19226, 289, 289, 225, 327, 526, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void virtualMaterializeItem(TreeItem treeItem) {
private void virtualMaterializeItem(TreeItem treeItem) {
protected void virtualMaterializeItem(TreeItem treeItem) { if (treeItem.getData() != null) { // already materialized return; } if (!(getContentProvider() instanceof ILazyTreeContentProvider)) { return; } ILazyTreeContentProvider lazyTreeContentProvider = (ILazyTreeContentProvider) getContentProvider(); int index; Widget parent = treeItem.getParentItem(); if (parent == null) { parent = treeItem.getParent(); } Object parentElement = parent.getData(); if (parentElement != null) { if (parent instanceof Tree) { index = ((Tree) parent).indexOf(treeItem); } else { index = ((TreeItem) parent).indexOf(treeItem); } lazyTreeContentProvider.updateElement(parentElement, index); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/623c80769a41b43f850b1a1b15fd1bb215aa0126/TreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 5024, 49, 31624, 1180, 12, 2471, 1180, 2151, 1180, 13, 288, 202, 202, 430, 261, 3413, 1180, 18, 588, 751, 1435, 480, 446, 13, 288, 1082, 202, 759, 1818, 9390, 1235, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 16051, 12, 588, 1350, 2249, 1435, 1276, 467, 14443, 2471, 1350, 2249, 3719, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2627, 5038, 2471, 1350, 2249, 7962, 2471, 1350, 2249, 273, 261, 2627, 5038, 2471, 1350, 2249, 13, 5154, 2249, 5621, 202, 202, 474, 770, 31, 202, 202, 4609, 982, 273, 2151, 1180, 18, 588, 3054, 1180, 5621, 202, 202, 430, 261, 2938, 422, 446, 13, 288, 1082, 202, 2938, 273, 2151, 1180, 18, 588, 3054, 5621, 202, 202, 97, 202, 202, 921, 30363, 273, 982, 18, 588, 751, 5621, 202, 202, 430, 261, 2938, 1046, 480, 446, 13, 288, 1082, 202, 430, 261, 2938, 1276, 4902, 13, 288, 9506, 202, 1615, 273, 14015, 2471, 13, 982, 2934, 31806, 12, 3413, 1180, 1769, 1082, 202, 97, 469, 288, 9506, 202, 1615, 273, 14015, 2471, 1180, 13, 982, 2934, 31806, 12, 3413, 1180, 1769, 1082, 202, 97, 1082, 202, 15998, 2471, 1350, 2249, 18, 2725, 1046, 12, 2938, 1046, 16, 770, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1117, 918, 5024, 49, 31624, 1180, 12, 2471, 1180, 2151, 1180, 13, 288, 202, 202, 430, 261, 3413, 1180, 18, 588, 751, 1435, 480, 446, 13, 288, 1082, 202, 759, 1818, 9390, 1235, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 16051, 12, 588, 1350, 2249, 1435, 1276, 467, 14443, 2471, 1350, 2249, 3719, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2627, 5038, 2471, 1350, 2249, 7962, 2471, 1350, 2249, 273, 261, 2627, 5038, 2471, 1350, 2249, 13, 5154, 2249, 5621, 202, 202, 474, 770, 31, 202, 202, 4609, 982, 273, 2151, 1180, 18, 588, 3054, 1180, 5621, 202, 202, 430, 261, 2938, 422, 446, 13, 288, 1082, 202, 2938, 273, 2151, 2 ]
setQueryUrl(repositoryUrl + MylarJiraPlugin.FILTER_URL_PREFIX + filter.getId());
setUrl(repositoryUrl + MylarJiraPlugin.FILTER_URL_PREFIX + filter.getId());
public JiraRepositoryQuery(String repositoryUrl, NamedFilter filter, TaskList taskList) { super(filter.getName(), taskList); setMaxHits(MAX_HITS); this.filter = filter; super.repositoryUrl = repositoryUrl; setQueryUrl(repositoryUrl + MylarJiraPlugin.FILTER_URL_PREFIX + filter.getId());// super.setDescription(filter.getName()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1ed4a2d3633b75ea84df37cf42458b448996f38d/JiraRepositoryQuery.java/buggy/org.eclipse.mylyn.jira.ui/src/org/eclipse/mylyn/internal/jira/JiraRepositoryQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 804, 11547, 3305, 1138, 12, 780, 3352, 1489, 16, 9796, 1586, 1034, 16, 3837, 682, 1562, 682, 13, 288, 202, 202, 9565, 12, 2188, 18, 17994, 9334, 1562, 682, 1769, 202, 202, 542, 2747, 20950, 12, 6694, 67, 44, 10158, 1769, 202, 202, 2211, 18, 2188, 273, 1034, 31, 202, 202, 9565, 18, 9071, 1489, 273, 3352, 1489, 31, 202, 202, 542, 1138, 1489, 12, 9071, 1489, 397, 8005, 7901, 46, 11547, 3773, 18, 11126, 67, 1785, 67, 6307, 397, 1034, 18, 26321, 10663, 759, 202, 202, 9565, 18, 542, 3291, 12, 2188, 18, 17994, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 804, 11547, 3305, 1138, 12, 780, 3352, 1489, 16, 9796, 1586, 1034, 16, 3837, 682, 1562, 682, 13, 288, 202, 202, 9565, 12, 2188, 18, 17994, 9334, 1562, 682, 1769, 202, 202, 542, 2747, 20950, 12, 6694, 67, 44, 10158, 1769, 202, 202, 2211, 18, 2188, 273, 1034, 31, 202, 202, 9565, 18, 9071, 1489, 273, 3352, 1489, 31, 202, 202, 542, 1138, 1489, 12, 9071, 1489, 397, 8005, 7901, 46, 11547, 3773, 18, 11126, 67, 1785, 67, 6307, 397, 1034, 18, 26321, 10663, 759, 202, 202, 9565, 18, 542, 3291, 12, 2188, 18, 17994, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String type = columnTypeStringForAttribute(eoattribute); if ("timestamp".equals(type)) {
if ("T".equals(eoattribute.valueType())) {
public boolean shouldUseBindVariableForAttribute(EOAttribute eoattribute) { String type = columnTypeStringForAttribute(eoattribute); if ("timestamp".equals(type)) { return false; } else { return true; } }
22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/6324cd7e095bf0be7e2caad4cb638f01af8186ec/PostgresqlExpression.java/clean/PlugIns/PostgresqlPlugIn/Sources/com/webobjects/jdbcadaptor/PostgresqlExpression.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1410, 3727, 3357, 3092, 1290, 1499, 12, 41, 51, 1499, 425, 83, 4589, 13, 288, 3639, 514, 618, 273, 27280, 780, 1290, 1499, 12, 4361, 4589, 1769, 3639, 309, 7566, 5508, 9654, 14963, 12, 723, 3719, 288, 5411, 327, 629, 31, 3639, 289, 469, 288, 5411, 327, 638, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1410, 3727, 3357, 3092, 1290, 1499, 12, 41, 51, 1499, 425, 83, 4589, 13, 288, 3639, 514, 618, 273, 27280, 780, 1290, 1499, 12, 4361, 4589, 1769, 3639, 309, 7566, 5508, 9654, 14963, 12, 723, 3719, 288, 5411, 327, 629, 31, 3639, 289, 469, 288, 5411, 327, 638, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (node instanceof IBinding) { if (level > 0 && match[level - 1] == (IBinding)node) --level;
final int idx= currentPath.size()-1; if (idx >= 0 && currentPath.get(idx) == node) { currentPath.remove(idx); matchesUpToLevel= (BitSet) matchStack.remove(matchStack.size()-1);
public void leave(IPDOMNode node) throws CoreException { if (node instanceof IBinding) { if (level > 0 && match[level - 1] == (IBinding)node) // pop the stack --level; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/f5a4ba1d7638b16bde80c2f1086c78aa03af1f90/PDOM.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 8851, 12, 2579, 8168, 907, 756, 13, 1216, 30015, 288, 1082, 202, 430, 261, 2159, 1276, 467, 5250, 13, 288, 9506, 202, 430, 261, 2815, 405, 374, 597, 845, 63, 2815, 300, 404, 65, 422, 261, 45, 5250, 13, 2159, 13, 6862, 202, 759, 1843, 326, 2110, 6862, 202, 413, 2815, 31, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 8851, 12, 2579, 8168, 907, 756, 13, 1216, 30015, 288, 1082, 202, 430, 261, 2159, 1276, 467, 5250, 13, 288, 9506, 202, 430, 261, 2815, 405, 374, 597, 845, 63, 2815, 300, 404, 65, 422, 261, 45, 5250, 13, 2159, 13, 6862, 202, 759, 1843, 326, 2110, 6862, 202, 413, 2815, 31, 1082, 202, 97, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super( reportContext );
super( context );
public DataSourceScriptExecutor( DataSourceHandle dataSourceHandle, IReportContext reportContext ) { super( reportContext ); this.dataSourceHandle = dataSourceHandle; String className = dataSourceHandle.getEventHandlerClass( ); initEventHandler( className ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c0422a1db84842d1e332663c3d4c7e2a8109aca8/DataSourceScriptExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/DataSourceScriptExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12806, 3651, 6325, 12, 12806, 3259, 10233, 3259, 16, 1082, 202, 45, 4820, 1042, 2605, 1042, 262, 202, 95, 202, 202, 9565, 12, 2605, 1042, 11272, 202, 202, 2211, 18, 892, 1830, 3259, 273, 10233, 3259, 31, 202, 202, 780, 2658, 273, 10233, 3259, 18, 588, 16402, 797, 12, 11272, 202, 202, 2738, 16402, 12, 2658, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12806, 3651, 6325, 12, 12806, 3259, 10233, 3259, 16, 1082, 202, 45, 4820, 1042, 2605, 1042, 262, 202, 95, 202, 202, 9565, 12, 2605, 1042, 11272, 202, 202, 2211, 18, 892, 1830, 3259, 273, 10233, 3259, 31, 202, 202, 780, 2658, 273, 10233, 3259, 18, 588, 16402, 797, 12, 11272, 202, 202, 2738, 16402, 12, 2658, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!u1[i].getName().equals(u2[i].getName())) {
String errorMessage = ""; if (u1[i] == null) { errorMessage = ("Unit " + i + " of word `" + word + "' in FastDictionary is null. "); } if (u2[i] == null) { errorMessage += ("Unit " + i + " of word `" + word + "' in FullDictionary is null."); } if (errorMessage.length() > 0) { throw new Error(errorMessage); } String name1 = u1[i].getName(); String name2 = u2[i].getName(); if (name1 == null) { throw new Error("No name for " + u1); } if (name2 == null) { throw new Error("No name for " + u2); } if (!name1.equals(name2)) {
private void compareUnits(String word, Unit[] u1, Unit[] u2) { if (u1.length != u2.length) { System.out.println("Different # units for " + word); } else { for (int i = 0; i < u1.length; i++) { if (!u1[i].getName().equals(u2[i].getName())) { System.out.println("Mismatched units " + u1[i].getName() + " and " + u2[i].getName()); } } } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/dbf7c2a23d14346d6c2be709a479eaa467ca3901/FullDictionaryTest.java/clean/tests/knowledge/dictionary/FullDictionaryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3400, 7537, 12, 780, 2076, 16, 8380, 8526, 582, 21, 16, 202, 565, 8380, 8526, 582, 22, 13, 288, 202, 430, 261, 89, 21, 18, 2469, 480, 582, 22, 18, 2469, 13, 288, 202, 565, 2332, 18, 659, 18, 8222, 2932, 26270, 468, 4971, 364, 315, 397, 2076, 1769, 202, 97, 469, 288, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 582, 21, 18, 2469, 31, 277, 27245, 288, 202, 202, 430, 16051, 89, 21, 63, 77, 8009, 17994, 7675, 14963, 12, 89, 22, 63, 77, 8009, 17994, 1435, 3719, 288, 1082, 565, 2332, 18, 659, 18, 8222, 2932, 11729, 11073, 4971, 315, 397, 9506, 565, 582, 21, 63, 77, 8009, 17994, 1435, 397, 315, 471, 315, 397, 9506, 565, 582, 22, 63, 77, 8009, 17994, 10663, 202, 202, 97, 202, 565, 289, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3400, 7537, 12, 780, 2076, 16, 8380, 8526, 582, 21, 16, 202, 565, 8380, 8526, 582, 22, 13, 288, 202, 430, 261, 89, 21, 18, 2469, 480, 582, 22, 18, 2469, 13, 288, 202, 565, 2332, 18, 659, 18, 8222, 2932, 26270, 468, 4971, 364, 315, 397, 2076, 1769, 202, 97, 469, 288, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 582, 21, 18, 2469, 31, 277, 27245, 288, 202, 202, 430, 16051, 89, 21, 63, 77, 8009, 17994, 7675, 14963, 12, 89, 22, 63, 77, 8009, 17994, 1435, 3719, 288, 1082, 565, 2332, 18, 659, 18, 8222, 2932, 11729, 11073, 4971, 315, 397, 9506, 565, 582, 21, 63, 77, 8009, 17994, 1435, 2 ]
jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_18(); } catch (LookaheadSuccess ls) { return true; } finally { jj_save(17, xla); } }
jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_18(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(17, xla); } }
final private boolean jj_2_18(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_18(); } catch (LookaheadSuccess ls) { return true; } finally { jj_save(17, xla); } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 3238, 1250, 10684, 67, 22, 67, 2643, 12, 474, 619, 11821, 13, 288, 3639, 10684, 67, 11821, 273, 619, 11821, 31, 3639, 10684, 67, 2722, 917, 273, 10684, 67, 9871, 917, 273, 1147, 31, 3639, 775, 288, 5411, 327, 401, 78, 78, 67, 23, 67, 2643, 5621, 3639, 289, 1044, 261, 9794, 11617, 4510, 7180, 13, 288, 5411, 327, 638, 31, 3639, 289, 3095, 288, 5411, 10684, 67, 5688, 12, 4033, 16, 619, 11821, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 3238, 1250, 10684, 67, 22, 67, 2643, 12, 474, 619, 11821, 13, 288, 3639, 10684, 67, 11821, 273, 619, 11821, 31, 3639, 10684, 67, 2722, 917, 273, 10684, 67, 9871, 917, 273, 1147, 31, 3639, 775, 288, 5411, 327, 401, 78, 78, 67, 23, 67, 2643, 5621, 3639, 289, 1044, 261, 9794, 11617, 4510, 7180, 13, 288, 5411, 327, 638, 31, 3639, 289, 3095, 288, 5411, 10684, 67, 5688, 12, 4033, 16, 619, 11821, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
dialog.setState(SIPDialog.TERMINATED_STATE);
dialog.delete();
protected void fireTimeoutTimer() { if (sipStack.isLoggingEnabled()) sipStack.logWriter.logDebug("fireTimeoutTimer " + this); SIPDialog dialog = (SIPDialog) this.getDialog(); if (TransactionState.CALLING == this.getState() || TransactionState.TRYING == this.getState() || TransactionState.PROCEEDING == this.getState()) { // Timeout occured. If this is asociated with a transaction // creation then kill the dialog. if (dialog != null) { if (((SIPTransactionStack) getSIPStack()).isDialogCreated(this .getOriginalRequest().getMethod())) { // terminate the enclosing dialog. dialog.setState(SIPDialog.TERMINATED_STATE); } else if (getOriginalRequest().getMethod().equalsIgnoreCase( Request.BYE) && dialog.isTerminatedOnBye()) { // Terminate the associated dialog on BYE Timeout. dialog.setState(SIPDialog.TERMINATED_STATE); } } } if (TransactionState.COMPLETED != this.getState()) { raiseErrorEvent(SIPTransactionErrorEvent.TIMEOUT_ERROR); } else { this.setState(TransactionState.TERMINATED); } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/a6ae5886f33414b95b6cbcfb13e3394808af02e7/SIPClientTransaction.java/clean/src/gov/nist/javax/sip/stack/SIPClientTransaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4452, 2694, 6777, 1435, 288, 202, 202, 430, 261, 28477, 2624, 18, 291, 7735, 1526, 10756, 1082, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 2829, 2932, 12179, 2694, 6777, 315, 397, 333, 1769, 202, 202, 17739, 6353, 6176, 273, 261, 17739, 6353, 13, 333, 18, 588, 6353, 5621, 202, 202, 430, 261, 3342, 1119, 18, 13730, 1360, 422, 333, 18, 588, 1119, 1435, 9506, 202, 20081, 5947, 1119, 18, 17805, 1360, 422, 333, 18, 588, 1119, 1435, 9506, 202, 20081, 5947, 1119, 18, 3373, 1441, 2056, 1360, 422, 333, 18, 588, 1119, 10756, 288, 1082, 202, 759, 7804, 16206, 18, 971, 333, 353, 487, 1882, 690, 598, 279, 2492, 1082, 202, 759, 6710, 1508, 8673, 326, 6176, 18, 1082, 202, 430, 261, 12730, 480, 446, 13, 288, 9506, 202, 430, 261, 12443, 17739, 3342, 2624, 13, 1322, 2579, 2624, 1435, 2934, 291, 6353, 6119, 12, 2211, 25083, 202, 18, 588, 8176, 691, 7675, 588, 1305, 1435, 3719, 288, 6862, 202, 759, 10850, 326, 16307, 6176, 18, 6862, 202, 12730, 18, 542, 1119, 12, 17739, 6353, 18, 29516, 6344, 67, 7998, 1769, 9506, 202, 97, 469, 309, 261, 588, 8176, 691, 7675, 588, 1305, 7675, 14963, 5556, 12, 25083, 202, 691, 18, 6486, 41, 13, 25083, 202, 10, 10, 6176, 18, 291, 21888, 1398, 858, 73, 10756, 288, 6862, 202, 759, 23945, 326, 3627, 6176, 603, 6953, 41, 7804, 18, 6862, 202, 12730, 18, 542, 1119, 12, 17739, 6353, 18, 29516, 6344, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4452, 2694, 6777, 1435, 288, 202, 202, 430, 261, 28477, 2624, 18, 291, 7735, 1526, 10756, 1082, 202, 28477, 2624, 18, 1330, 2289, 18, 1330, 2829, 2932, 12179, 2694, 6777, 315, 397, 333, 1769, 202, 202, 17739, 6353, 6176, 273, 261, 17739, 6353, 13, 333, 18, 588, 6353, 5621, 202, 202, 430, 261, 3342, 1119, 18, 13730, 1360, 422, 333, 18, 588, 1119, 1435, 9506, 202, 20081, 5947, 1119, 18, 17805, 1360, 422, 333, 18, 588, 1119, 1435, 9506, 202, 20081, 5947, 1119, 18, 3373, 1441, 2056, 1360, 422, 333, 18, 588, 1119, 10756, 288, 1082, 202, 759, 7804, 16206, 18, 971, 333, 353, 487, 1882, 690, 598, 279, 2492, 1082, 202, 759, 6710, 1508, 2 ]
maybeStart(false);
public synchronized void nonfatalError(SplitfileBlock block, int reasonCode) { if(callOnProgress) callback.onProgress(); nonfatalErrors.inc(reasonCode); runningBlocks.remove(block); int levelNumber = block.getRetryCount(); levelNumber++; Logger.minor(this, "Non-fatal error on "+block+" -> "+levelNumber); if(levelNumber > maxLevel) { failedBlocksTooManyRetries.add(block); Logger.minor(this, "Finished with "+block); } else { Level newLevel = makeLevel(levelNumber); newLevel.add(block); } maybeStart(false); }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/4494127894552d90423b4da0a9e9e08341b4b073/RetryTracker.java/buggy/src/freenet/client/RetryTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1661, 30709, 668, 12, 5521, 768, 1768, 1203, 16, 509, 3971, 1085, 13, 288, 202, 202, 430, 12, 1991, 1398, 5491, 13, 1082, 202, 3394, 18, 265, 5491, 5621, 202, 202, 5836, 30709, 4229, 18, 9523, 12, 10579, 1085, 1769, 202, 202, 8704, 6450, 18, 4479, 12, 2629, 1769, 202, 202, 474, 1801, 1854, 273, 1203, 18, 588, 7539, 1380, 5621, 202, 202, 2815, 1854, 9904, 31, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3989, 17, 30709, 555, 603, 13773, 2629, 9078, 317, 13773, 2815, 1854, 1769, 202, 202, 430, 12, 2815, 1854, 405, 943, 2355, 13, 288, 1082, 202, 7307, 6450, 10703, 5594, 13656, 18, 1289, 12, 2629, 1769, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 10577, 598, 13773, 2629, 1769, 202, 202, 97, 469, 288, 1082, 202, 2355, 394, 2355, 273, 1221, 2355, 12, 2815, 1854, 1769, 1082, 202, 2704, 2355, 18, 1289, 12, 2629, 1769, 202, 202, 97, 202, 202, 19133, 1685, 12, 5743, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1661, 30709, 668, 12, 5521, 768, 1768, 1203, 16, 509, 3971, 1085, 13, 288, 202, 202, 430, 12, 1991, 1398, 5491, 13, 1082, 202, 3394, 18, 265, 5491, 5621, 202, 202, 5836, 30709, 4229, 18, 9523, 12, 10579, 1085, 1769, 202, 202, 8704, 6450, 18, 4479, 12, 2629, 1769, 202, 202, 474, 1801, 1854, 273, 1203, 18, 588, 7539, 1380, 5621, 202, 202, 2815, 1854, 9904, 31, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3989, 17, 30709, 555, 603, 13773, 2629, 9078, 317, 13773, 2815, 1854, 1769, 202, 202, 430, 12, 2815, 1854, 405, 943, 2355, 13, 288, 1082, 202, 7307, 6450, 10703, 5594, 13656, 18, 1289, 12, 2629, 1769, 1082, 202, 2 ]
} catch (RemoteException e) { e.printStackTrace(); } catch (FinderException e) {
} catch (RemoteException e) {
protected void control(IWContext iwc) { Collection groups =null; try { groups = getFinanceService().getTariffGroupHome().findByCategory(getFinanceCategoryId()); } catch (RemoteException e1) { e1.printStackTrace(); } catch (FinderException e1) { e1.printStackTrace(); } //List groups = FinanceFinder.getInstance().listOfTariffGroups(iCategoryId); TariffGroup group = null; if (iwc.isParameterSet(prmGroup)) groupId = Integer.valueOf(iwc.getParameter(prmGroup)); if (groupId!=null && groupId.intValue() > 0) { try { //group = FinanceFinder.getInstance().getTariffGroup(iGroupId); group = getFinanceService().getTariffGroupHome().findByPrimaryKey(groupId); } catch (RemoteException e) { e.printStackTrace(); } catch (FinderException e) { e.printStackTrace(); } } else if (groups != null) { //group = (TariffGroup) groups.get(0); //iGroupId = group.getID(); } if (isAdmin) { try { PresentationObject MO = new Text(); if (iwc.getParameter("updateindex") != null) { MO = doUpdateIndex(iwc,group); } else if (iwc.getParameter("savetariffs") != null) { MO = doUpdate(iwc,group); } else if (iwc.getParameter(strAction) != null) { String sAct = iwc.getParameter(strAction); int iAct = Integer.parseInt(sAct); switch (iAct) { case ACT1 : MO = getMain(iwc,group); break; case ACT2 : MO = getSingleLineChange(iwc, false, false,group); break; case ACT3 : MO = doUpdate(iwc,group); break; case ACT4 : MO = getSingleLineChange(iwc, true, false,group); break; default : MO = getMain(iwc,group); break; } } else { MO = getMain(iwc, group); } String groupName = group != null ? group.getName() : ""; setTitle(localize("tariffs", "Tariffs") + " " + groupName); setTabPanel(getGroupLinks( groups)); setSearchPanel(makeLinkTable(1, group)); setMainPanel(MO); } catch (Exception S) { S.printStackTrace(); } } else add(localize("access_denied", "Access denies")); }
57001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57001/33e5c85ca31478329116ab80b95fd07320394530/TariffEditor.java/clean/src/java/com/idega/block/finance/presentation/TariffEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3325, 12, 45, 59, 1042, 25522, 71, 13, 288, 9506, 202, 2532, 3252, 273, 2011, 31, 202, 202, 698, 288, 1082, 202, 4650, 273, 2812, 267, 1359, 1179, 7675, 588, 20464, 3048, 1114, 8684, 7675, 4720, 858, 4457, 12, 588, 6187, 1359, 21197, 10663, 202, 202, 97, 1044, 261, 5169, 503, 425, 21, 13, 288, 1082, 202, 73, 21, 18, 1188, 6332, 5621, 202, 202, 97, 1044, 261, 8441, 503, 425, 21, 13, 288, 1082, 202, 73, 21, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 759, 682, 3252, 273, 9458, 1359, 8441, 18, 588, 1442, 7675, 1098, 951, 20464, 3048, 3621, 12, 77, 21197, 1769, 202, 202, 20464, 3048, 1114, 1041, 273, 446, 31, 202, 202, 430, 261, 22315, 71, 18, 291, 1662, 694, 12, 683, 81, 1114, 3719, 1082, 202, 27547, 273, 2144, 18, 1132, 951, 12, 22315, 71, 18, 588, 1662, 12, 683, 81, 1114, 10019, 202, 202, 430, 261, 27547, 5, 33, 2011, 597, 6612, 18, 474, 620, 1435, 405, 374, 13, 288, 1082, 202, 698, 288, 9506, 202, 759, 1655, 273, 9458, 1359, 8441, 18, 588, 1442, 7675, 588, 20464, 3048, 1114, 12, 77, 8722, 1769, 9506, 202, 1655, 273, 2812, 267, 1359, 1179, 7675, 588, 20464, 3048, 1114, 8684, 7675, 4720, 858, 11575, 12, 27547, 1769, 1082, 202, 97, 1044, 261, 5169, 503, 425, 13, 288, 9506, 202, 73, 18, 1188, 6332, 5621, 1082, 202, 97, 1044, 261, 8441, 503, 425, 13, 288, 9506, 202, 73, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3325, 12, 45, 59, 1042, 25522, 71, 13, 288, 9506, 202, 2532, 3252, 273, 2011, 31, 202, 202, 698, 288, 1082, 202, 4650, 273, 2812, 267, 1359, 1179, 7675, 588, 20464, 3048, 1114, 8684, 7675, 4720, 858, 4457, 12, 588, 6187, 1359, 21197, 10663, 202, 202, 97, 1044, 261, 5169, 503, 425, 21, 13, 288, 1082, 202, 73, 21, 18, 1188, 6332, 5621, 202, 202, 97, 1044, 261, 8441, 503, 425, 21, 13, 288, 1082, 202, 73, 21, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 759, 682, 3252, 273, 9458, 1359, 8441, 18, 588, 1442, 7675, 1098, 951, 20464, 3048, 3621, 12, 77, 21197, 1769, 202, 202, 20464, 3048, 1114, 1041, 273, 446, 2 ]
if (primary.equalsIgnoreCase("multipart")) { if (sub.equalsIgnoreCase("related")) { String type = contentType.getParameter("type");
if (primary.equalsIgnoreCase("multipart") && sub.equalsIgnoreCase("related")) { String type = contentType.getParameter("type"); if (type != null) {
private static int identifyContentType(ContentType contentType) { String primary = contentType.getPrimaryType(); String sub = contentType.getSubType(); if (primary.equalsIgnoreCase("multipart")) { if (sub.equalsIgnoreCase("related")) { String type = contentType.getParameter("type"); if (isXMLType(type)) { return MIME_MULTIPART_FLAG; } else if (isFastInfosetType(type)) { return MIME_MULTIPART_FLAG | FI_ENCODED_FLAG; } else { throw new XMLMessageException( "xml.content-type.mustbe.multipart"); } } else { throw new XMLMessageException("xml.invalid.content-type", new Object[] { primary+"/"+sub } ); } } else if (isXMLType(primary, sub)) { return PLAIN_XML_FLAG; } else if (isFastInfosetType(primary, sub)) { return PLAIN_XML_FLAG | FI_ENCODED_FLAG; } else { throw new XMLMessageException("xml.invalid.content-type", new Object[] { primary+"/"+sub } ); } }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/e62b376a7d7ff394179b2e7a9a3b852f1156f10d/XMLMessage.java/clean/jaxws-ri/rt/src/com/sun/xml/ws/encoding/xml/XMLMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 9786, 8046, 12, 8046, 5064, 13, 288, 3639, 514, 3354, 273, 5064, 18, 588, 6793, 559, 5621, 3639, 514, 720, 273, 5064, 18, 588, 30511, 5621, 3639, 309, 261, 8258, 18, 14963, 5556, 2932, 16404, 6, 3719, 288, 5411, 309, 261, 1717, 18, 14963, 5556, 2932, 9243, 6, 3719, 288, 7734, 514, 618, 273, 5064, 18, 588, 1662, 2932, 723, 8863, 7734, 309, 261, 291, 4201, 559, 12, 723, 3719, 288, 10792, 327, 13195, 67, 24683, 4928, 67, 9651, 31, 7734, 289, 7734, 469, 309, 261, 291, 12305, 7655, 278, 559, 12, 723, 3719, 288, 10792, 327, 13195, 67, 24683, 4928, 67, 9651, 571, 4011, 67, 1157, 9086, 2056, 67, 9651, 31, 7734, 289, 7734, 469, 288, 10792, 604, 394, 3167, 31270, 12, 18701, 315, 2902, 18, 1745, 17, 723, 18, 11926, 2196, 18, 16404, 8863, 7734, 289, 5411, 289, 5411, 469, 288, 7734, 604, 394, 3167, 31270, 2932, 2902, 18, 5387, 18, 1745, 17, 723, 3113, 13491, 394, 1033, 8526, 288, 3354, 9078, 4898, 15, 1717, 289, 11272, 5411, 289, 3639, 289, 3639, 469, 309, 261, 291, 4201, 559, 12, 8258, 16, 720, 3719, 288, 5411, 327, 25564, 706, 67, 4201, 67, 9651, 31, 3639, 289, 3639, 469, 309, 261, 291, 12305, 7655, 278, 559, 12, 8258, 16, 720, 3719, 288, 5411, 327, 25564, 706, 67, 4201, 67, 9651, 571, 4011, 67, 1157, 9086, 2056, 67, 9651, 31, 3639, 289, 3639, 469, 288, 5411, 604, 394, 3167, 31270, 2932, 2902, 18, 5387, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 9786, 8046, 12, 8046, 5064, 13, 288, 3639, 514, 3354, 273, 5064, 18, 588, 6793, 559, 5621, 3639, 514, 720, 273, 5064, 18, 588, 30511, 5621, 3639, 309, 261, 8258, 18, 14963, 5556, 2932, 16404, 6, 3719, 288, 5411, 309, 261, 1717, 18, 14963, 5556, 2932, 9243, 6, 3719, 288, 7734, 514, 618, 273, 5064, 18, 588, 1662, 2932, 723, 8863, 7734, 309, 261, 291, 4201, 559, 12, 723, 3719, 288, 10792, 327, 13195, 67, 24683, 4928, 67, 9651, 31, 7734, 289, 7734, 469, 309, 261, 291, 12305, 7655, 278, 559, 12, 723, 3719, 288, 10792, 327, 13195, 67, 24683, 4928, 67, 9651, 571, 4011, 67, 1157, 9086, 2056, 67, 9651, 31, 7734, 289, 7734, 2 ]
if (hasConflictingDeclaration) { return; } if (block.equals(exceptBlock)) { return; } super.visitCodeBlock(block); }
if (hasConflictingDeclaration) { return; } if (block.equals(exceptBlock)) { return; } super.visitCodeBlock(block); }
public void visitCodeBlock(PsiCodeBlock block) { if (hasConflictingDeclaration) { return; } if (block.equals(exceptBlock)) { return; } super.visitCodeBlock(block); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/0c22d3bce35a1ee7d70c329328f649614cf6f21a/ConstantIfStatementInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/controlflow/ConstantIfStatementInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1085, 1768, 12, 52, 7722, 1085, 1768, 1203, 13, 288, 1377, 309, 261, 5332, 10732, 310, 6094, 13, 288, 3639, 327, 31, 1377, 289, 1377, 309, 261, 2629, 18, 14963, 12, 14137, 1768, 3719, 288, 3639, 327, 31, 1377, 289, 1377, 2240, 18, 11658, 1085, 1768, 12, 2629, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 1085, 1768, 12, 52, 7722, 1085, 1768, 1203, 13, 288, 1377, 309, 261, 5332, 10732, 310, 6094, 13, 288, 3639, 327, 31, 1377, 289, 1377, 309, 261, 2629, 18, 14963, 12, 14137, 1768, 3719, 288, 3639, 327, 31, 1377, 289, 1377, 2240, 18, 11658, 1085, 1768, 12, 2629, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void validateDuplicateUtilJars(WorkbenchComponent module) { List utilJars = module.getReferencedComponents();
protected void validateDuplicateUtilJars(EARArtifactEdit edit, IVirtualComponent module) { List utilJars = edit.getUtilityModuleReferences();
protected void validateDuplicateUtilJars(WorkbenchComponent module) { List utilJars = module.getReferencedComponents(); Set visitedUtilUri = new HashSet(); if (utilJars == null) return; for (int i = 0; i < utilJars.size(); i++) { UtilityJARMapping utilModule = (UtilityJARMapping) utilJars.get(i); if (utilModule != null) { if (visitedUtilUri.contains(utilModule.getUri())) { String projectName = utilModule.getProjectName(); duplicateUtilError(module.getName(), utilModule.getUri(), projectName); } else visitedUtilUri.add(utilModule.getUri()); } // if } // for } // validateModuleMapsDuplicateUtil
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/bd1d82feddb32c88ee26411c61e8222da58ef403/UIEarValidator.java/clean/plugins/org.eclipse.jst.j2ee/j2eeplugin/org/eclipse/jst/j2ee/internal/validation/UIEarValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1954, 11826, 1304, 46, 5913, 12, 2421, 22144, 1841, 1605, 13, 288, 202, 202, 682, 1709, 46, 5913, 273, 1605, 18, 588, 22344, 7171, 5621, 202, 202, 694, 9711, 1304, 3006, 273, 394, 6847, 5621, 202, 202, 430, 261, 1367, 46, 5913, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1709, 46, 5913, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 6497, 46, 985, 3233, 1709, 3120, 273, 261, 6497, 46, 985, 3233, 13, 1709, 46, 5913, 18, 588, 12, 77, 1769, 1082, 202, 430, 261, 1367, 3120, 480, 446, 13, 288, 9506, 202, 430, 261, 30129, 1304, 3006, 18, 12298, 12, 1367, 3120, 18, 588, 3006, 1435, 3719, 288, 6862, 202, 780, 17234, 273, 1709, 3120, 18, 588, 4109, 461, 5621, 6862, 202, 17342, 1304, 668, 12, 2978, 18, 17994, 9334, 1709, 3120, 18, 588, 3006, 9334, 17234, 1769, 9506, 202, 97, 469, 6862, 202, 30129, 1304, 3006, 18, 1289, 12, 1367, 3120, 18, 588, 3006, 10663, 1082, 202, 97, 368, 309, 202, 202, 97, 368, 364, 202, 97, 368, 1954, 3120, 8903, 11826, 1304, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1954, 11826, 1304, 46, 5913, 12, 2421, 22144, 1841, 1605, 13, 288, 202, 202, 682, 1709, 46, 5913, 273, 1605, 18, 588, 22344, 7171, 5621, 202, 202, 694, 9711, 1304, 3006, 273, 394, 6847, 5621, 202, 202, 430, 261, 1367, 46, 5913, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1709, 46, 5913, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 6497, 46, 985, 3233, 1709, 3120, 273, 261, 6497, 46, 985, 3233, 13, 1709, 46, 5913, 18, 588, 12, 77, 1769, 1082, 202, 430, 261, 1367, 3120, 480, 446, 13, 288, 9506, 202, 430, 261, 30129, 1304, 3006, 18, 12298, 12, 1367, 3120, 18, 2 ]
delete.setImageDescriptor(MylarImages.REMOVE);
delete.setImageDescriptor(TaskListImages.REMOVE);
private void defineActions() { delete = new Action() { @Override public void run() { removeLink(); } }; delete.setText("Delete"); delete.setToolTipText("Delete"); delete.setImageDescriptor(MylarImages.REMOVE); add = new Action() { @Override public void run() { addLink(); } }; add.setText("Add"); add.setToolTipText("Add"); //add.setImageDescriptor(MylarImages.REMOVE); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7fc296d93c4ea78623f31a1d48beae1e9fcee9fc/TaskSummaryEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4426, 6100, 1435, 288, 1082, 1850, 1430, 273, 394, 4382, 1435, 288, 1082, 202, 36, 6618, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 4479, 2098, 5621, 1082, 202, 97, 202, 202, 20451, 3639, 1430, 18, 542, 1528, 2932, 2613, 8863, 3639, 1430, 18, 542, 29250, 1528, 2932, 2613, 8863, 3639, 1430, 18, 542, 2040, 3187, 12, 2174, 682, 8946, 18, 22122, 1769, 7734, 527, 273, 394, 4382, 1435, 288, 1082, 202, 36, 6618, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 1289, 2098, 5621, 1082, 202, 97, 202, 202, 20451, 202, 202, 1289, 18, 542, 1528, 2932, 986, 8863, 202, 202, 1289, 18, 542, 29250, 1528, 2932, 986, 8863, 202, 202, 759, 1289, 18, 542, 2040, 3187, 12, 12062, 7901, 8946, 18, 22122, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4426, 6100, 1435, 288, 1082, 1850, 1430, 273, 394, 4382, 1435, 288, 1082, 202, 36, 6618, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 4479, 2098, 5621, 1082, 202, 97, 202, 202, 20451, 3639, 1430, 18, 542, 1528, 2932, 2613, 8863, 3639, 1430, 18, 542, 29250, 1528, 2932, 2613, 8863, 3639, 1430, 18, 542, 2040, 3187, 12, 2174, 682, 8946, 18, 22122, 1769, 7734, 527, 273, 394, 4382, 1435, 288, 1082, 202, 36, 6618, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 1289, 2098, 5621, 1082, 202, 97, 202, 202, 20451, 202, 202, 1289, 18, 542, 1528, 2932, 986, 8863, 202, 202, 1289, 18, 542, 29250, 1528, 2932, 986, 8863, 202, 202, 759, 2 ]
DateRangeContainer newPastWeeks = MylarTaskListPlugin.getTaskListManager().getActivityPast(); DateRangeContainer newPreviousWeek = MylarTaskListPlugin.getTaskListManager().getActivityPrevious(); DateRangeContainer newThisWeek = MylarTaskListPlugin.getTaskListManager().getActivityThisWeek(); DateRangeContainer newNextWeek = MylarTaskListPlugin.getTaskListManager().getActivityNextWeek();
DateRangeContainer newPastWeeks = TasksUiPlugin.getTaskListManager().getActivityPast(); DateRangeContainer newPreviousWeek = TasksUiPlugin.getTaskListManager().getActivityPrevious(); DateRangeContainer newThisWeek = TasksUiPlugin.getTaskListManager().getActivityThisWeek(); DateRangeContainer newNextWeek = TasksUiPlugin.getTaskListManager().getActivityNextWeek();
public void testResetAndRollOver() { DateRangeContainer pastWeeks = MylarTaskListPlugin.getTaskListManager().getActivityPast(); DateRangeContainer previousWeek = MylarTaskListPlugin.getTaskListManager().getActivityPrevious(); DateRangeContainer thisWeek = MylarTaskListPlugin.getTaskListManager().getActivityThisWeek(); DateRangeContainer nextWeek = MylarTaskListPlugin.getTaskListManager().getActivityNextWeek(); DateRangeContainer futureWeeks = MylarTaskListPlugin.getTaskListManager().getActivityFuture(); assertTrue(thisWeek.isPresent()); assertTrue(nextWeek.isFuture()); long pastStartTime = pastWeeks.getEnd().getTimeInMillis(); long previousStartTime = previousWeek.getStart().getTimeInMillis(); long thisWeekStartTime = thisWeek.getStart().getTimeInMillis(); long nextStartTime = nextWeek.getStart().getTimeInMillis(); long futureStartTime = futureWeeks.getStart().getTimeInMillis(); Calendar pastWeeksTaskStart = Calendar.getInstance(); pastWeeksTaskStart.setTimeInMillis(pastStartTime - 10); assertTrue(pastWeeks.includes(pastWeeksTaskStart)); Calendar previousWeekTaskStart = Calendar.getInstance(); previousWeekTaskStart.setTimeInMillis(previousStartTime + 10); assertTrue(previousWeek.includes(previousWeekTaskStart)); Calendar thisWeekTaskStart = Calendar.getInstance(); thisWeekTaskStart.setTimeInMillis(thisWeekStartTime + 10); assertTrue(thisWeek.includes(thisWeekTaskStart)); Calendar thisWeekTaskStop = Calendar.getInstance(); thisWeekTaskStop.setTimeInMillis(thisWeek.getEnd().getTimeInMillis() - 10); assertTrue(thisWeek.includes(thisWeekTaskStop)); Calendar nextWeekTaskStart = Calendar.getInstance(); nextWeekTaskStart.setTimeInMillis(nextStartTime + 10); assertTrue(nextWeek.includes(nextWeekTaskStart)); Calendar futureWeekTaskStart = Calendar.getInstance(); futureWeekTaskStart.setTimeInMillis(futureStartTime + 10); assertTrue(futureWeeks.includes(futureWeekTaskStart)); ITask task1 = new Task("task 1", "Task 1", true); MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(task1); InteractionEvent event1 = new InteractionEvent(InteractionEvent.Kind.SELECTION, "structureKind", task1 .getHandleIdentifier(), "originId", "navigatedRelation", MylarContextManager.ACTIVITY_DELTA_ACTIVATED, 2f, thisWeekTaskStart.getTime(), thisWeekTaskStart.getTime()); InteractionEvent event2 = new InteractionEvent(InteractionEvent.Kind.SELECTION, "structureKind", task1 .getHandleIdentifier(), "originId", "navigatedRelation", MylarContextManager.ACTIVITY_DELTA_DEACTIVATED, 2f, thisWeekTaskStop.getTime(), thisWeekTaskStop.getTime()); MylarTaskListPlugin.getTaskListManager().parseInteractionEvent(event1); MylarTaskListPlugin.getTaskListManager().parseInteractionEvent(event2); assertEquals(1, thisWeek.getChildren().size()); assertEquals(thisWeekTaskStop.getTime().getTime() - thisWeekTaskStart.getTime().getTime(), thisWeek.getTotalElapsed()); // ROLL OVER MylarTaskListPlugin.getTaskListManager().startTime = new Date(nextWeek.getStart().getTimeInMillis() + 10); MylarTaskListPlugin.getTaskListManager().resetAndRollOver(); MylarTaskListPlugin.getTaskListManager().parseInteractionEvent(event1); MylarTaskListPlugin.getTaskListManager().parseInteractionEvent(event2); DateRangeContainer newPastWeeks = MylarTaskListPlugin.getTaskListManager().getActivityPast(); DateRangeContainer newPreviousWeek = MylarTaskListPlugin.getTaskListManager().getActivityPrevious(); DateRangeContainer newThisWeek = MylarTaskListPlugin.getTaskListManager().getActivityThisWeek(); DateRangeContainer newNextWeek = MylarTaskListPlugin.getTaskListManager().getActivityNextWeek(); //DateRangeContainer newFutureWeeks = MylarTaskListPlugin.getTaskListManager().getActivityFuture(); assertTrue(newPastWeeks.includes(previousWeekTaskStart)); assertTrue(newPreviousWeek.includes(thisWeekTaskStart)); assertTrue(newThisWeek.includes(nextWeekTaskStart)); assertTrue(newNextWeek.includes(futureWeekTaskStart)); assertFalse(newThisWeek.includes(thisWeekTaskStart)); assertFalse(newThisWeek.isPresent()); assertTrue(newThisWeek.isFuture()); assertEquals(1, newPreviousWeek.getChildren().size()); assertEquals(thisWeekTaskStop.getTime().getTime() - thisWeekTaskStart.getTime().getTime(), newPreviousWeek.getTotalElapsed()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b23efbfef800ff6f85224f036d6a11e9fab7acba/TaskActivityViewTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskActivityViewTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7013, 1876, 24194, 4851, 1435, 288, 9506, 202, 1626, 2655, 2170, 8854, 6630, 87, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 52, 689, 5621, 202, 202, 1626, 2655, 2170, 2416, 6630, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 8351, 5621, 202, 202, 1626, 2655, 2170, 333, 6630, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 2503, 6630, 5621, 202, 202, 1626, 2655, 2170, 1024, 6630, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 2134, 6630, 5621, 202, 202, 1626, 2655, 2170, 3563, 6630, 87, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 4118, 5621, 9506, 202, 11231, 5510, 12, 2211, 6630, 18, 291, 6351, 10663, 202, 202, 11231, 5510, 12, 4285, 6630, 18, 291, 4118, 10663, 9506, 202, 5748, 8854, 13649, 273, 8854, 6630, 87, 18, 588, 1638, 7675, 588, 950, 16620, 5621, 202, 202, 5748, 2416, 13649, 273, 2416, 6630, 18, 588, 1685, 7675, 588, 950, 16620, 5621, 202, 202, 5748, 333, 6630, 13649, 273, 333, 6630, 18, 588, 1685, 7675, 588, 950, 16620, 5621, 202, 202, 5748, 1024, 13649, 273, 1024, 6630, 18, 588, 1685, 7675, 588, 950, 16620, 5621, 202, 202, 5748, 3563, 13649, 273, 3563, 6630, 87, 18, 588, 1685, 7675, 588, 950, 16620, 5621, 1082, 202, 7335, 8854, 6630, 87, 2174, 1685, 273, 5542, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7013, 1876, 24194, 4851, 1435, 288, 9506, 202, 1626, 2655, 2170, 8854, 6630, 87, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 52, 689, 5621, 202, 202, 1626, 2655, 2170, 2416, 6630, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 8351, 5621, 202, 202, 1626, 2655, 2170, 333, 6630, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 2503, 6630, 5621, 202, 202, 1626, 2655, 2170, 1024, 6630, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 6193, 2134, 6630, 5621, 202, 202, 1626, 2655, 2170, 3563, 6630, 87, 273, 8005, 7901, 2174, 2 ]
"imageSize", imageData,
"imageSize", imageSize,
public String render( DocumentDomainObject document, HttpServletRequest request ) { UserDomainObject user = Utility.getLoggedOnUser( request ); ImageData imageData = getImageDataFromFileDocument( (FileDocumentDomainObject)document ); List values = Arrays.asList( new Object[]{ "imageUrl", "GetDoc?meta_id=" + document.getId(), "imageSize", imageData, } ); return ApplicationServer.getIMCServiceInterface().getAdminTemplate( "images/thumbnail.frag", user, values ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/bd959962ffbc3c6793504d637043fba705cac05a/ChangeImage.java/buggy/server/src/com/imcode/imcms/servlet/admin/ChangeImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1743, 12, 4319, 3748, 921, 1668, 16, 9984, 590, 262, 288, 5411, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 590, 11272, 5411, 3421, 751, 26229, 273, 10567, 751, 13087, 2519, 12, 261, 812, 2519, 3748, 921, 13, 5457, 11272, 5411, 987, 924, 273, 5647, 18, 345, 682, 12, 394, 1033, 63, 7073, 7734, 315, 2730, 1489, 3113, 315, 967, 1759, 35, 3901, 67, 350, 1546, 397, 1668, 18, 26321, 9334, 7734, 315, 2730, 1225, 3113, 29344, 16, 5411, 289, 11272, 5411, 327, 4257, 2081, 18, 588, 3445, 39, 18348, 7675, 588, 4446, 2283, 12, 315, 7369, 19, 14904, 18, 17073, 3113, 729, 16, 924, 11272, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1743, 12, 4319, 3748, 921, 1668, 16, 9984, 590, 262, 288, 5411, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 590, 11272, 5411, 3421, 751, 26229, 273, 10567, 751, 13087, 2519, 12, 261, 812, 2519, 3748, 921, 13, 5457, 11272, 5411, 987, 924, 273, 5647, 18, 345, 682, 12, 394, 1033, 63, 7073, 7734, 315, 2730, 1489, 3113, 315, 967, 1759, 35, 3901, 67, 350, 1546, 397, 1668, 18, 26321, 9334, 7734, 315, 2730, 1225, 3113, 29344, 16, 5411, 289, 11272, 5411, 327, 4257, 2081, 18, 588, 3445, 39, 18348, 7675, 588, 4446, 2283, 12, 315, 7369, 19, 14904, 18, 17073, 3113, 729, 16, 924, 11272, 3639, 289, 2, -100, -100, -100, -100 ]
Logger.normal(this, "now is more than 10 seconds past oldNow ("+(now - oldNow)+") in PacketSender");
Logger.error(this, "now is more than 10 seconds past oldNow ("+(now - oldNow)+") in PacketSender");
private void realRun() { long now = System.currentTimeMillis(); lastTimeInSeconds = (int) (now / 1000); PeerManager pm = node.peers; PeerNode[] nodes = pm.myPeers; // Run the time sensitive status updater separately for(int i=0;i<nodes.length;i++) { PeerNode pn = nodes[i]; pn.setPeerNodeStatus(now); } node.maybeLogPeerNodeStatusSummary(now); long nextActionTime = Long.MAX_VALUE; long oldTempNow = now; for(int i=0;i<nodes.length;i++) { PeerNode pn = nodes[i]; lastReceivedPacketFromAnyNode = Math.max(pn.lastReceivedPacketTime(), lastReceivedPacketFromAnyNode); if(pn.isConnected()) { // Is the node dead? if(now - pn.lastReceivedPacketTime() > pn.maxTimeBetweenReceivedPackets()) { Logger.error(this, "Disconnecting from "+pn+" - haven't received packets recently"); pn.disconnected(); continue; } // Any urgent notifications to send? long urgentTime = pn.getNextUrgentTime(); // Should spam the logs, unless there is a deadlock Logger.minor(this, "Next urgent time: "+urgentTime+" for "+pn.getDetectedPeer()); if(urgentTime <= now) { // Send them try { pn.sendAnyUrgentNotifications(); } catch (PacketSequenceException e) { Logger.error(this, "Caught "+e+" - disconnecting", e); pn.forceDisconnect(); } } else { nextActionTime = Math.min(nextActionTime, urgentTime); } // Any packets to resend? for(int j=0;j<2;j++) { KeyTracker kt; if(j == 0) kt = pn.getCurrentKeyTracker(); else if(j == 1) kt = pn.getPreviousKeyTracker(); else break; // impossible if(kt == null) continue; ResendPacketItem[] resendItems = kt.grabResendPackets(); if(resendItems == null) continue; for(int k=0;k<resendItems.length;k++) { ResendPacketItem item = resendItems[k]; if(item == null) continue; try { Logger.minor(this, "Resending "+item.packetNumber+" to "+item.kt); node.packetMangler.processOutgoingPreformatted(item.buf, 0, item.buf.length, item.kt, item.packetNumber, item.callbacks); } catch (KeyChangedException e) { Logger.error(this, "Caught "+e+" resending packets to "+kt); pn.requeueResendItems(resendItems); break; } catch (NotConnectedException e) { Logger.normal(this, "Caught "+e+" resending packets to "+kt); pn.requeueResendItems(resendItems); break; } catch (PacketSequenceException e) { Logger.error(this, "Caught "+e+" - disconnecting", e); pn.forceDisconnect(); } catch (WouldBlockException e) { Logger.error(this, "Impossible: "+e, e); } } } if(node.packetMangler == null) continue; // Any messages to send? MessageItem[] messages = null; messages = pn.grabQueuedMessageItems(); if(messages != null && messages.length > 0) { long l = Long.MAX_VALUE; int sz = 56; // overhead; FIXME should be a constant or something for(int j=0;j<messages.length;j++) { if(l > messages[j].submitted) l = messages[j].submitted; sz += 2 + /* FIXME only 2? */ messages[j].getData(node.packetMangler, pn).length; } if(l + 100 > now && sz < 1024) { // Don't send immediately if(nextActionTime > (l+100)) nextActionTime = l+100; pn.requeueMessageItems(messages, 0, messages.length, true, "TrafficCoalescing"); } else { for(int j=0;j<messages.length;j++) { Logger.minor(this, "PS Sending: "+(messages[j].msg == null ? "(not a Message)" : messages[j].msg.getSpec().getName())); if (messages[j].msg != null) { pn.addToLocalNodeSentMessagesToStatistic(messages[j].msg); } } // Send packets, right now, blocking, including any active notifications node.packetMangler.processOutgoingOrRequeue(messages, pn, true, false); continue; } } // Need to send a keepalive packet? if(now - pn.lastSentPacketTime() > Node.KEEPALIVE_INTERVAL) { Logger.minor(this, "Sending keepalive"); // Force packet to have a sequence number. Message m = DMT.createFNPVoid(); pn.addToLocalNodeSentMessagesToStatistic(m); node.packetMangler.processOutgoingOrRequeue(new MessageItem[] { new MessageItem(m, null) }, pn, true, true); } } else { // Not connected // Send handshake if necessary long beforeHandshakeTime = System.currentTimeMillis(); if(pn.shouldSendHandshake()) node.packetMangler.sendHandshake(pn); long afterHandshakeTime = System.currentTimeMillis(); if((afterHandshakeTime - beforeHandshakeTime) > (2*1000)) Logger.normal(this, "afterHandshakeTime is more than 2 seconds past beforeHandshakeTime ("+(afterHandshakeTime - beforeHandshakeTime)+") in PacketSender working with "+pn.getPeer()+" named "+pn.getName()); } long tempNow = System.currentTimeMillis(); if((tempNow - oldTempNow) > (5*1000)) Logger.normal(this, "tempNow is more than 5 seconds past oldTempNow ("+(tempNow - oldTempNow)+") in PacketSender working with "+pn.getPeer()+" named "+pn.getName()); oldTempNow = tempNow; } if(now - lastClearedOldSwapChains > 10000) { node.lm.clearOldSwapChains(); lastClearedOldSwapChains = now; } long oldNow = System.currentTimeMillis(); // Send may have taken some time now = System.currentTimeMillis(); lastTimeInSeconds = (int) (now / 1000); if((now - oldNow) > (10*1000)) Logger.normal(this, "now is more than 10 seconds past oldNow ("+(now - oldNow)+") in PacketSender"); Vector jobsToRun = null; synchronized(timedJobsByTime) { while(!timedJobsByTime.isEmpty()) { Long tRun = (Long) timedJobsByTime.firstKey(); if(tRun.longValue() <= now) { if(jobsToRun == null) jobsToRun = new Vector(); Object o = timedJobsByTime.remove(tRun); if(o instanceof Runnable[]) { Runnable[] r = (Runnable[]) o; for(int i=0;i<r.length;i++) jobsToRun.add(r[i]); } else { Runnable r = (Runnable) o; jobsToRun.add(r); } } else break; } } if(jobsToRun != null) for(int i=0;i<jobsToRun.size();i++) { Runnable r = (Runnable) jobsToRun.get(i); Logger.minor(this, "Running "+r); if(r instanceof FastRunnable) { // Run in-line try { r.run(); } catch (Throwable t) { Logger.error(this, "Caught "+t+" running "+r, t); } } else { Thread t = new Thread(r, "Scheduled job: "+r); t.setDaemon(true); t.start(); } } long sleepTime = nextActionTime - now; // 200ms maximum sleep time sleepTime = Math.min(sleepTime, 200); if(now - node.startupTime > 60*1000*5) { if(now - lastReceivedPacketFromAnyNode > Node.ALARM_TIME) { Logger.error(this, "Have not received any packets from any node in last "+Node.ALARM_TIME/1000+" seconds"); lastReportedNoPackets = now; } } if(sleepTime > 0) { try { synchronized(this) { wait(sleepTime); } } catch (InterruptedException e) { // Ignore, just wake up. Probably we got interrupt()ed // because a new packet came in. } } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/eeca3bcf6e867de2577f41461470a78057554d0b/PacketSender.java/clean/src/freenet/node/PacketSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2863, 1997, 1435, 288, 3639, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 31323, 17840, 273, 261, 474, 13, 261, 3338, 342, 4336, 1769, 3639, 10669, 1318, 7430, 273, 756, 18, 30502, 31, 3639, 10669, 907, 8526, 2199, 273, 7430, 18, 4811, 14858, 31, 3639, 368, 1939, 326, 813, 16692, 1267, 7760, 18190, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 4690, 18, 2469, 31, 77, 27245, 288, 5411, 10669, 907, 11059, 273, 2199, 63, 77, 15533, 5411, 11059, 18, 542, 6813, 907, 1482, 12, 3338, 1769, 3639, 289, 3639, 756, 18, 19133, 1343, 6813, 907, 1482, 4733, 12, 3338, 1769, 3639, 1525, 1024, 1803, 950, 273, 3407, 18, 6694, 67, 4051, 31, 3639, 1525, 1592, 7185, 8674, 273, 2037, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 4690, 18, 2469, 31, 77, 27245, 288, 5411, 10669, 907, 11059, 273, 2199, 63, 77, 15533, 5411, 1142, 8872, 6667, 1265, 2961, 907, 273, 7734, 2361, 18, 1896, 12, 7449, 18, 2722, 8872, 6667, 950, 9334, 1142, 8872, 6667, 1265, 2961, 907, 1769, 5411, 309, 12, 7449, 18, 291, 8932, 10756, 288, 7734, 368, 2585, 326, 756, 8363, 35, 7734, 309, 12, 3338, 300, 11059, 18, 2722, 8872, 6667, 950, 1435, 405, 11059, 18, 1896, 950, 11831, 8872, 27328, 10756, 288, 1171, 202, 3328, 18, 1636, 12, 2211, 16, 315, 18895, 310, 628, 13773, 7449, 9078, 300, 15032, 1404, 5079, 12640, 19907, 8863, 10792, 11059, 18, 2251, 8537, 5621, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2863, 1997, 1435, 288, 3639, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 31323, 17840, 273, 261, 474, 13, 261, 3338, 342, 4336, 1769, 3639, 10669, 1318, 7430, 273, 756, 18, 30502, 31, 3639, 10669, 907, 8526, 2199, 273, 7430, 18, 4811, 14858, 31, 3639, 368, 1939, 326, 813, 16692, 1267, 7760, 18190, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 4690, 18, 2469, 31, 77, 27245, 288, 5411, 10669, 907, 11059, 273, 2199, 63, 77, 15533, 5411, 11059, 18, 542, 6813, 907, 1482, 12, 3338, 1769, 3639, 289, 3639, 756, 18, 19133, 1343, 6813, 907, 1482, 4733, 12, 3338, 1769, 3639, 1525, 1024, 1803, 950, 273, 3407, 18, 6694, 67, 4051, 31, 2 ]
} else if (currentTool == LINE_TOOL && brokenLine==true) {
} else if (currentTool == LINE_TOOL && brokenLine == true) {
private void formMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseDragged Main.getGUI().setCoords(evt.getX(), evt.getY()); if (currentTool == PEN_TOOL) { if (lastX < 0 || lastY < 0) { lastX = evt.getX(); lastY = evt.getY(); return; } if (lastButton == 1) { currentColor = currentOutlineColor; } else if (lastButton == 3) { currentColor = currentFillColor; } drawLine(evt.getX(), evt.getY(), lastX, lastY); lastX = evt.getX(); lastY = evt.getY(); repaint(); } else if (currentTool == EREASER_TOOL) { if (lastX < 0 || lastY < 0) { lastX = evt.getX(); lastY = evt.getY(); return; } if (lastButton == 1) { currentColor = java.awt.Color.white; } else if (lastButton == 3) { currentColor = currentFillColor; } drawErase(evt.getX() - 12, evt.getY() - 12, 25, 25); lastX = evt.getX(); lastY = evt.getY(); repaint(); } else if (currentTool == RECT_TOOL) { int x = (evt.getX() - lastX > 0) ? lastX : evt.getX(); int y = (evt.getY() - lastY > 0) ? lastY : evt.getY(); if (lastXorX >= 0 && lastXorY >= 0) { if (lastXorW > 0 && lastXorH > 0) { drawXorRect(lastXorX, lastXorY, lastXorW, lastXorH); } drawXorRect(x, y, Math.abs(lastX - evt.getX()), Math.abs(lastY - evt.getY())); lastXorW = Math.abs(evt.getX() - lastX); lastXorH = Math.abs(evt.getY() - lastY); } lastXorX = x; lastXorY = y; } else if (currentTool == OVAL_TOOL) { int x = (evt.getX() - lastX > 0) ? lastX : evt.getX(); int y = (evt.getY() - lastY > 0) ? lastY : evt.getY(); if (lastXorX >= 0 && lastXorY >= 0) { if (lastXorW > 0 && lastXorH > 0) { drawXorOval(lastXorX, lastXorY, lastXorW, lastXorH); } drawXorOval(x, y, Math.abs(lastX - evt.getX()), Math.abs(lastY - evt.getY())); lastXorW = Math.abs(evt.getX() - lastX); lastXorH = Math.abs(evt.getY() - lastY); } lastXorX = x; lastXorY = y; } else if (currentTool == LINE_TOOL && lastButton == 1) { if (lastXorX >= 0 && lastXorY >= 0) { drawXorLine(lastXorX, lastXorY, lastX, lastY); } drawXorLine(evt.getX(),evt.getY(), lastX, lastY); lastXorX = evt.getX(); lastXorY = evt.getY(); } else if (currentTool == LINE_TOOL && brokenLine==true) { if (lastXorX >= 0 && lastXorY >= 0) { drawXorLine(lastXorX, lastXorY, lastX, lastY); } drawXorLine(evt.getX(),evt.getY(), lastX, lastY); lastXorX = evt.getX(); lastXorY = evt.getY(); } repaint(); }//GEN-LAST:event_formMouseDragged
11087 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11087/ea5cb1611d3f30717ecb90bfe697ef9f408caea4/DrawingPanel.java/buggy/netboard/DrawingPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 646, 9186, 11728, 2423, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 759, 16652, 17, 15354, 30, 2575, 67, 687, 9186, 11728, 2423, 3639, 12740, 18, 588, 43, 5370, 7675, 542, 13089, 12, 73, 11734, 18, 588, 60, 9334, 6324, 18, 588, 61, 10663, 7734, 309, 261, 2972, 6364, 422, 453, 1157, 67, 26263, 13, 288, 5411, 309, 261, 2722, 60, 411, 374, 747, 1142, 61, 411, 374, 13, 288, 7734, 1142, 60, 273, 6324, 18, 588, 60, 5621, 7734, 1142, 61, 273, 6324, 18, 588, 61, 5621, 7734, 327, 31, 5411, 289, 13491, 309, 261, 2722, 3616, 422, 404, 13, 288, 7734, 783, 2957, 273, 783, 21805, 2957, 31, 5411, 289, 469, 309, 261, 2722, 3616, 422, 890, 13, 288, 7734, 783, 2957, 273, 783, 8026, 2957, 31, 5411, 289, 13491, 30732, 12, 73, 11734, 18, 588, 60, 9334, 6324, 18, 588, 61, 9334, 1142, 60, 16, 1142, 61, 1769, 5411, 1142, 60, 273, 6324, 18, 588, 60, 5621, 5411, 1142, 61, 273, 6324, 18, 588, 61, 5621, 5411, 24962, 5621, 3639, 289, 469, 309, 261, 2972, 6364, 422, 512, 29416, 2123, 67, 26263, 13, 288, 5411, 309, 261, 2722, 60, 411, 374, 747, 1142, 61, 411, 374, 13, 288, 7734, 1142, 60, 273, 6324, 18, 588, 60, 5621, 7734, 1142, 61, 273, 6324, 18, 588, 61, 5621, 7734, 327, 31, 5411, 289, 13491, 309, 261, 2722, 3616, 422, 404, 13, 288, 7734, 783, 2957, 273, 2252, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 646, 9186, 11728, 2423, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 759, 16652, 17, 15354, 30, 2575, 67, 687, 9186, 11728, 2423, 3639, 12740, 18, 588, 43, 5370, 7675, 542, 13089, 12, 73, 11734, 18, 588, 60, 9334, 6324, 18, 588, 61, 10663, 7734, 309, 261, 2972, 6364, 422, 453, 1157, 67, 26263, 13, 288, 5411, 309, 261, 2722, 60, 411, 374, 747, 1142, 61, 411, 374, 13, 288, 7734, 1142, 60, 273, 6324, 18, 588, 60, 5621, 7734, 1142, 61, 273, 6324, 18, 588, 61, 5621, 7734, 327, 31, 5411, 289, 13491, 309, 261, 2722, 3616, 422, 404, 13, 288, 7734, 783, 2957, 273, 783, 21805, 2957, 31, 5411, 2 ]
declarator.getNameStartOffset(), declarator.getConstructorExpression());
declarator.getNameStartOffset(), declarator.getNameEndOffset(), declarator.getConstructorExpression());
private IASTVariable createVariableASTNode(Declarator declarator, boolean nested ) throws ASTSemanticException { return astFactory.createVariable( scope, nested ? declarator.getOwnedDeclarator().getName() : declarator.getName(), isAuto(), declarator.getInitializerClause(), declarator.getBitFieldExpression(), astFactory.createAbstractDeclaration( constt, volatil, getTypeSpecifier(), declarator.getPointerOperators(), declarator.getArrayModifiers(), null, null), mutable, extern, register, staticc, getStartingOffset(), declarator.getNameStartOffset(), declarator.getConstructorExpression()); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e95da4dadebf96c72bbb248f97571b58e92fb39c/DeclarationWrapper.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/DeclarationWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 9053, 3092, 752, 3092, 9053, 907, 12, 31419, 3496, 5880, 16, 1250, 4764, 262, 1216, 9183, 13185, 9941, 503, 565, 288, 3639, 327, 3364, 1733, 18, 2640, 3092, 12, 5411, 2146, 16, 1082, 202, 12985, 692, 3496, 5880, 18, 588, 5460, 329, 31419, 7675, 17994, 1435, 294, 3496, 5880, 18, 17994, 9334, 5411, 27079, 9334, 5411, 3496, 5880, 18, 588, 14729, 7044, 9334, 5411, 3496, 5880, 18, 588, 5775, 974, 2300, 9334, 5411, 3364, 1733, 18, 2640, 7469, 6094, 12, 7734, 1866, 88, 16, 7734, 6626, 270, 330, 16, 7734, 3130, 21416, 9334, 7734, 3496, 5880, 18, 588, 4926, 24473, 9334, 3496, 5880, 18, 588, 1076, 11948, 9334, 446, 16, 446, 3631, 5411, 16074, 16, 5411, 18885, 16, 5411, 1744, 16, 5411, 760, 71, 16, 5411, 8635, 310, 2335, 9334, 5411, 3496, 5880, 18, 17994, 1685, 2335, 9334, 3496, 5880, 18, 17994, 1638, 2335, 9334, 3496, 5880, 18, 588, 6293, 2300, 10663, 565, 289, 540, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 9053, 3092, 752, 3092, 9053, 907, 12, 31419, 3496, 5880, 16, 1250, 4764, 262, 1216, 9183, 13185, 9941, 503, 565, 288, 3639, 327, 3364, 1733, 18, 2640, 3092, 12, 5411, 2146, 16, 1082, 202, 12985, 692, 3496, 5880, 18, 588, 5460, 329, 31419, 7675, 17994, 1435, 294, 3496, 5880, 18, 17994, 9334, 5411, 27079, 9334, 5411, 3496, 5880, 18, 588, 14729, 7044, 9334, 5411, 3496, 5880, 18, 588, 5775, 974, 2300, 9334, 5411, 3364, 1733, 18, 2640, 7469, 6094, 12, 7734, 1866, 88, 16, 7734, 6626, 270, 330, 16, 7734, 3130, 21416, 9334, 7734, 3496, 5880, 18, 588, 4926, 24473, 9334, 3496, 5880, 18, 588, 1076, 11948, 9334, 446, 16, 446, 3631, 5411, 16074, 16, 5411, 2 ]
mode = ((RubyString) args[1]).getValue();
mode = ((RubyString) args[1]).toString();
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); // close the old handler before it gets overwritten if (handler.isOpen()) { try { handler.close(); } catch (IOHandler.BadDescriptorException e) { throw getRuntime().newErrnoEBADFError(); } catch (IOException e) { throw getRuntime().newIOError(e.getMessage()); } } // When we reopen, we want our fileno to be preserved even // though we have a new IOHandler. // Note: When we clone we get a new fileno...then we replace it. // This ends up incrementing our fileno index up, which makes the // fileno we choose different from ruby. Since this seems a bit // too implementation specific, I did not bother trying to get // these to agree (what scary code would depend on fileno generating // a particular way?) try { handler = ios.handler.cloneIOHandler(); } catch (IOHandler.InvalidValueException e) { throw getRuntime().newErrnoEINVALError(); } catch (IOHandler.PipeException e) { throw getRuntime().newErrnoESPIPEError(); } catch (FileNotFoundException e) { throw getRuntime().newErrnoENOENTError(); } catch (IOException e) { throw getRuntime().newIOError(e.getMessage()); } handler.setFileno(keepFileno); // Update fileno list with our new handler registerIOHandler(handler); } else if (args[0].isKindOf(getRuntime().getClass("String"))) { String path = ((RubyString) args[0]).getValue(); String mode = "r"; if (args.length > 1) { if (!args[1].isKindOf(getRuntime().getClass("String"))) { throw getRuntime().newTypeError(args[1], getRuntime().getClass("String")); } mode = ((RubyString) args[1]).getValue(); } try { if (handler != null) { close(); } modes = new IOModes(getRuntime(), mode); handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOHandler.InvalidValueException e) { throw getRuntime().newErrnoEINVALError(); } catch (IOException e) { throw getRuntime().newIOError(e.toString()); } } // A potentially previously close IO is being 'reopened'. isOpen = true; return this; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/9f2efc63a858fa0507245b207025eab027840a04/RubyIO.java/clean/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 31563, 12, 7937, 10340, 921, 8526, 833, 13, 288, 377, 202, 430, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 18814, 7675, 2704, 1379, 668, 2932, 21530, 1300, 434, 1775, 8863, 377, 202, 97, 377, 202, 3639, 309, 261, 1968, 63, 20, 8009, 291, 5677, 951, 12, 588, 5576, 7675, 588, 797, 2932, 4294, 6, 20349, 288, 5411, 19817, 4294, 30993, 273, 261, 54, 10340, 4294, 13, 833, 63, 20, 15533, 5411, 509, 3455, 25579, 5764, 273, 1838, 18, 588, 25579, 5764, 5621, 13491, 368, 1746, 326, 1592, 1838, 1865, 518, 5571, 15345, 5411, 309, 261, 4176, 18, 291, 3678, 10756, 288, 7734, 775, 288, 10792, 1838, 18, 4412, 5621, 7734, 289, 1044, 261, 4294, 1503, 18, 6434, 3187, 503, 425, 13, 288, 1171, 202, 12849, 18814, 7675, 2704, 2524, 2135, 41, 16234, 42, 668, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 604, 18814, 7675, 2704, 4294, 668, 12, 73, 18, 24906, 10663, 7734, 289, 5411, 289, 5411, 368, 5203, 732, 31563, 16, 732, 2545, 3134, 24256, 358, 506, 21096, 5456, 5411, 368, 11376, 732, 1240, 279, 394, 1665, 1503, 18, 5411, 368, 3609, 30, 5203, 732, 3236, 732, 336, 279, 394, 24256, 2777, 15991, 732, 1453, 518, 18, 5411, 368, 1220, 3930, 731, 5504, 310, 3134, 24256, 770, 731, 16, 1492, 7297, 326, 5411, 368, 24256, 732, 9876, 3775, 628, 22155, 18, 225, 7897, 333, 12001, 279, 2831, 5411, 368, 4885, 4471, 2923, 16, 467, 5061, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 31563, 12, 7937, 10340, 921, 8526, 833, 13, 288, 377, 202, 430, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 18814, 7675, 2704, 1379, 668, 2932, 21530, 1300, 434, 1775, 8863, 377, 202, 97, 377, 202, 3639, 309, 261, 1968, 63, 20, 8009, 291, 5677, 951, 12, 588, 5576, 7675, 588, 797, 2932, 4294, 6, 20349, 288, 5411, 19817, 4294, 30993, 273, 261, 54, 10340, 4294, 13, 833, 63, 20, 15533, 5411, 509, 3455, 25579, 5764, 273, 1838, 18, 588, 25579, 5764, 5621, 13491, 368, 1746, 326, 1592, 1838, 1865, 518, 5571, 15345, 5411, 309, 261, 4176, 18, 291, 3678, 10756, 288, 7734, 775, 288, 10792, 1838, 18, 4412, 5621, 7734, 289, 2 ]
return ( ( rgb.red & 0xff ) << 16 ) | ( ( rgb.green & 0xff ) << 8 )
return ( ( rgb.red & 0xff ) << 16 ) | ( ( rgb.green & 0xff ) << 8 )
public static int getRGBInt( RGB rgb ) { if ( rgb == null ) { return -1; } return ( ( rgb.red & 0xff ) << 16 ) | ( ( rgb.green & 0xff ) << 8 ) | ( rgb.blue & 0xff ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bd4d66f78a2177b14abd81505fa39cd4e4abe645/DEUtil.java/clean/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 4170, 5887, 1702, 12, 11510, 6917, 262, 202, 95, 202, 202, 430, 261, 6917, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 300, 21, 31, 202, 202, 97, 202, 202, 2463, 261, 261, 6917, 18, 1118, 473, 374, 5297, 262, 2296, 2872, 262, 9506, 202, 96, 261, 261, 6917, 18, 11571, 473, 374, 5297, 262, 2296, 1725, 262, 9506, 202, 96, 261, 6917, 18, 14081, 473, 374, 5297, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 4170, 5887, 1702, 12, 11510, 6917, 262, 202, 95, 202, 202, 430, 261, 6917, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 300, 21, 31, 202, 202, 97, 202, 202, 2463, 261, 261, 6917, 18, 1118, 473, 374, 5297, 262, 2296, 2872, 262, 9506, 202, 96, 261, 261, 6917, 18, 11571, 473, 374, 5297, 262, 2296, 1725, 262, 9506, 202, 96, 261, 6917, 18, 14081, 473, 374, 5297, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (AUTOACTIVATION_TRIGGERS_DOT.equals(key)) {
if ( (AUTOACTIVATION_TRIGGERS_DOT.equals(key)) || (AUTOACTIVATION_TRIGGERS_ARROW.equals(key)) || (AUTOACTIVATION_TRIGGERS_DOUBLECOLON.equals(key)) ){
private static void changeCProcessor(ContentAssistant assistant, IPreferenceStore store, String key) { CCompletionProcessor jcp= getCProcessor(assistant); if (jcp == null) return; if (AUTOACTIVATION_TRIGGERS_DOT.equals(key)) { boolean useDotAsTrigger = store.getBoolean(AUTOACTIVATION_TRIGGERS_DOT); if (useDotAsTrigger){ String triggers= "."; //$NON-NLS-1$ jcp.setCompletionProposalAutoActivationCharacters(triggers.toCharArray()); } } else if (AUTOACTIVATION_TRIGGERS_ARROW.equals(key)) { boolean useArrowAsTrigger = store.getBoolean(AUTOACTIVATION_TRIGGERS_ARROW); if (useArrowAsTrigger){ String triggers= ">"; //$NON-NLS-1$ jcp.setCompletionProposalAutoActivationCharacters(triggers.toCharArray()); } } else if (AUTOACTIVATION_TRIGGERS_DOUBLECOLON.equals(key)) { boolean useDoubleColonAsTrigger = store.getBoolean(AUTOACTIVATION_TRIGGERS_DOUBLECOLON); if (useDoubleColonAsTrigger){ String triggers= ":"; //$NON-NLS-1$ jcp.setCompletionProposalAutoActivationCharacters(triggers.toCharArray()); } } else if (SHOW_DOCUMENTED_PROPOSALS.equals(key)) { //boolean enabled= store.getBoolean(SHOW_DOCUMENTED_PROPOSALS); //jcp.restrictProposalsToVisibility(enabled); } //else if (CASE_SENSITIVITY.equals(key)) { // boolean enabled= store.getBoolean(CASE_SENSITIVITY); // jcp.restrictProposalsToMatchingCases(enabled); // } else if (ORDER_PROPOSALS.equals(key)) { boolean enable= store.getBoolean(ORDER_PROPOSALS); jcp.orderProposalsAlphabetically(enable); } else if (ADD_INCLUDE.equals(key)) { boolean enabled= store.getBoolean(ADD_INCLUDE); jcp.allowAddingIncludes(enabled); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e6bcfeaf82fe52867701eb2f3c9573ecef4e6a7a/ContentAssistPreference.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/ContentAssistPreference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 2549, 39, 5164, 12, 1350, 2610, 17175, 28779, 16, 467, 9624, 2257, 1707, 16, 514, 498, 13, 288, 202, 202, 39, 11238, 5164, 525, 4057, 33, 1927, 5164, 12, 428, 17175, 1769, 202, 202, 430, 261, 78, 4057, 422, 446, 13, 1082, 202, 2463, 31, 6862, 202, 430, 261, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 17591, 18, 14963, 12, 856, 3719, 288, 1082, 202, 6494, 999, 10412, 1463, 6518, 273, 1707, 18, 588, 5507, 12, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 17591, 1769, 1082, 202, 430, 261, 1202, 10412, 1463, 6518, 15329, 9506, 202, 780, 11752, 33, 4585, 31, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 78, 4057, 18, 542, 11238, 14592, 4965, 14857, 11600, 12, 313, 8060, 18, 869, 15936, 10663, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 985, 11226, 18, 14963, 12, 856, 3719, 288, 1082, 202, 6494, 999, 18691, 1463, 6518, 273, 1707, 18, 588, 5507, 12, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 985, 11226, 1769, 1082, 202, 430, 261, 1202, 18691, 1463, 6518, 15329, 9506, 202, 780, 11752, 33, 14675, 31, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 78, 4057, 18, 542, 11238, 14592, 4965, 14857, 11600, 12, 313, 8060, 18, 869, 15936, 10663, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 17088, 4935, 673, 18, 14963, 12, 856, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 2549, 39, 5164, 12, 1350, 2610, 17175, 28779, 16, 467, 9624, 2257, 1707, 16, 514, 498, 13, 288, 202, 202, 39, 11238, 5164, 525, 4057, 33, 1927, 5164, 12, 428, 17175, 1769, 202, 202, 430, 261, 78, 4057, 422, 446, 13, 1082, 202, 2463, 31, 6862, 202, 430, 261, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 17591, 18, 14963, 12, 856, 3719, 288, 1082, 202, 6494, 999, 10412, 1463, 6518, 273, 1707, 18, 588, 5507, 12, 18909, 22271, 2689, 67, 6566, 27399, 55, 67, 17591, 1769, 1082, 202, 430, 261, 1202, 10412, 1463, 6518, 15329, 9506, 202, 780, 11752, 33, 4585, 31, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 78, 4057, 2 ]
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText();
public quickfix.field.EncodedText getEncodedText() throws FieldNotFound { quickfix.field.EncodedText value = new quickfix.field.EncodedText();
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/DontKnowTrade.java/buggy/src/java/src/quickfix/fix44/DontKnowTrade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 28799, 1528, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 28799, 1528, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Object getSelection(GraphicsNodeRenderContext rc) {
public Object getSelection() {
public Object getSelection(GraphicsNodeRenderContext rc) { int[] ranges = textPainter.getSelected(aci, beginMark, endMark); Object o = null; // TODO: later we can return more complex things like // noncontiguous selections if ((ranges != null) && (ranges.length > 1)) { // make sure that they are in order if (ranges[0] > ranges[1]) { int temp = ranges[1]; ranges[1] = ranges[0]; ranges[0] = temp; } o = new AttributedCharacterSpanIterator (aci, ranges[0], ranges[1]+1); } return o; }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/4c1a37c6e3e260eb88efd61d61285ad704f7c64a/TextNode.java/clean/sources/org/apache/batik/gvt/TextNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 23204, 1435, 288, 540, 509, 8526, 7322, 273, 977, 15775, 18, 588, 7416, 12, 1077, 77, 16, 2376, 3882, 16, 679, 3882, 1769, 3639, 1033, 320, 273, 446, 31, 202, 759, 2660, 30, 5137, 732, 848, 327, 1898, 7233, 9198, 3007, 3639, 368, 1661, 30611, 21738, 3639, 309, 14015, 14530, 480, 446, 13, 597, 261, 14530, 18, 2469, 405, 404, 3719, 288, 5411, 368, 1221, 3071, 716, 2898, 854, 316, 1353, 5411, 309, 261, 14530, 63, 20, 65, 405, 7322, 63, 21, 5717, 288, 7734, 509, 1906, 273, 7322, 63, 21, 15533, 7734, 7322, 63, 21, 65, 273, 7322, 63, 20, 15533, 7734, 7322, 63, 20, 65, 273, 1906, 31, 5411, 289, 5411, 320, 273, 394, 2380, 11050, 7069, 6952, 3198, 202, 202, 12, 1077, 77, 16, 7322, 63, 20, 6487, 7322, 63, 21, 3737, 21, 1769, 3639, 289, 3639, 327, 320, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 23204, 1435, 288, 540, 509, 8526, 7322, 273, 977, 15775, 18, 588, 7416, 12, 1077, 77, 16, 2376, 3882, 16, 679, 3882, 1769, 3639, 1033, 320, 273, 446, 31, 202, 759, 2660, 30, 5137, 732, 848, 327, 1898, 7233, 9198, 3007, 3639, 368, 1661, 30611, 21738, 3639, 309, 14015, 14530, 480, 446, 13, 597, 261, 14530, 18, 2469, 405, 404, 3719, 288, 5411, 368, 1221, 3071, 716, 2898, 854, 316, 1353, 5411, 309, 261, 14530, 63, 20, 65, 405, 7322, 63, 21, 5717, 288, 7734, 509, 1906, 273, 7322, 63, 21, 15533, 7734, 7322, 63, 21, 65, 273, 7322, 63, 20, 15533, 7734, 7322, 63, 20, 65, 273, 1906, 31, 5411, 289, 5411, 320, 273, 394, 2 ]
+ "; level " + mhex.getElevation() + "; " + Terrain.TERRAIN_NAMES[mhex.getTerrainType()];
+ "; level " + mhex.getElevation();
private String[] getTipText(Point point) { // check if it's on an attack for (Iterator i = attackSprites.iterator(); i.hasNext();) { final AttackSprite sprite = (AttackSprite)i.next(); if (sprite.isInside(point)) { return sprite.getTooltip(); } } // check if it's on an entity for (Iterator i = entitySprites.iterator(); i.hasNext();) { final EntitySprite sprite = (EntitySprite)i.next(); if (sprite.isInside(point)) { return sprite.getTooltip(); } } // then return a tip for the hex it's on final Coords mcoords = getCoordsAt(point); if (!game.board.contains(mcoords)) { return null; } Hex mhex = game.board.getHex(mcoords); String[] strings = new String[1]; strings[0] = "Hex " + mcoords.getBoardNum() + "; level " + mhex.getElevation() + "; " + Terrain.TERRAIN_NAMES[mhex.getTerrainType()]; return strings; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/3045e322f5d70e8d851c863279a5680bed754e84/BoardView1.java/buggy/megamek/src/megamek/client/ui/AWT/BoardView1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 3181, 625, 1528, 12, 2148, 1634, 13, 288, 3639, 368, 866, 309, 518, 1807, 603, 392, 13843, 3639, 364, 261, 3198, 277, 273, 13843, 3389, 24047, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 727, 6020, 484, 3389, 796, 16839, 273, 261, 3075, 484, 3389, 796, 13, 77, 18, 4285, 5621, 5411, 309, 261, 1752, 796, 18, 291, 18619, 12, 1153, 3719, 288, 7734, 327, 16839, 18, 588, 22444, 5621, 5411, 289, 3639, 289, 7734, 368, 866, 309, 518, 1807, 603, 392, 1522, 3639, 364, 261, 3198, 277, 273, 1522, 3389, 24047, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 727, 3887, 3389, 796, 16839, 273, 261, 1943, 3389, 796, 13, 77, 18, 4285, 5621, 5411, 309, 261, 1752, 796, 18, 291, 18619, 12, 1153, 3719, 288, 7734, 327, 16839, 18, 588, 22444, 5621, 5411, 289, 3639, 289, 7734, 368, 1508, 327, 279, 9529, 364, 326, 3827, 518, 1807, 603, 3639, 727, 10320, 87, 312, 9076, 273, 19850, 517, 87, 861, 12, 1153, 1769, 3639, 309, 16051, 13957, 18, 3752, 18, 12298, 12, 81, 9076, 3719, 288, 5411, 327, 446, 31, 3639, 289, 3639, 15734, 312, 7118, 273, 7920, 18, 3752, 18, 588, 7037, 12, 81, 9076, 1769, 3639, 514, 8526, 2064, 273, 394, 514, 63, 21, 15533, 3639, 2064, 63, 20, 65, 273, 315, 7037, 315, 397, 312, 9076, 18, 588, 22233, 2578, 1435, 5397, 397, 13636, 1801, 315, 397, 312, 7118, 18, 588, 17274, 7112, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 3181, 625, 1528, 12, 2148, 1634, 13, 288, 3639, 368, 866, 309, 518, 1807, 603, 392, 13843, 3639, 364, 261, 3198, 277, 273, 13843, 3389, 24047, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 727, 6020, 484, 3389, 796, 16839, 273, 261, 3075, 484, 3389, 796, 13, 77, 18, 4285, 5621, 5411, 309, 261, 1752, 796, 18, 291, 18619, 12, 1153, 3719, 288, 7734, 327, 16839, 18, 588, 22444, 5621, 5411, 289, 3639, 289, 7734, 368, 866, 309, 518, 1807, 603, 392, 1522, 3639, 364, 261, 3198, 277, 273, 1522, 3389, 24047, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 727, 3887, 3389, 796, 16839, 273, 261, 1943, 3389, 2 ]
finish(); return; } else if(returnType == ClientGetMessage.RETURN_TYPE_DISK) { FileOutputStream fos; try { fos = new FileOutputStream(tempFile); } catch (FileNotFoundException e) { postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_WRITE_FILE, false, null, identifier); trySendDataFoundOrGetFailed(); data.free(); finish(); return; } try { BucketTools.copyTo(data, fos, data.size()); } catch (IOException e) { postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_WRITE_FILE, false, null, identifier); trySendDataFoundOrGetFailed(); data.free(); try { fos.close(); } catch (IOException e1) { } finish(); return; } try { fos.close(); } catch (IOException e) { Logger.error(this, "Caught "+e+" closing file "+tempFile, e); } if(!tempFile.renameTo(targetFile)) { postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_RENAME_FILE, false, null, identifier); trySendDataFoundOrGetFailed(); } data.free(); trySendDataFoundOrGetFailed(); finish(); return; }
finish();
public void onSuccess(FetchResult result, ClientGetter state) { progressPending = null; FCPMessage msg = new DataFoundMessage(result, identifier); Bucket data = result.asBucket(); this.foundDataLength = data.size(); this.foundDataMimeType = result.getMimeType(); this.succeeded = true; finished = true; if(returnType == ClientGetMessage.RETURN_TYPE_DIRECT) { // Send all the data at once // FIXME there should be other options trySendDataFoundOrGetFailed(); AllDataMessage m = new AllDataMessage(data, identifier); if(persistenceType == PERSIST_CONNECTION) m.setFreeOnSent(); trySendAllDataMessage(m); finish(); return; } else if(returnType == ClientGetMessage.RETURN_TYPE_NONE) { // Do nothing trySendDataFoundOrGetFailed(); data.free(); finish(); return; } else if(returnType == ClientGetMessage.RETURN_TYPE_DISK) { // Write to temp file, then rename over filename FileOutputStream fos; try { fos = new FileOutputStream(tempFile); } catch (FileNotFoundException e) { postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_WRITE_FILE, false, null, identifier); trySendDataFoundOrGetFailed(); data.free(); finish(); return; } try { BucketTools.copyTo(data, fos, data.size()); } catch (IOException e) { postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_WRITE_FILE, false, null, identifier); trySendDataFoundOrGetFailed(); data.free(); try { fos.close(); } catch (IOException e1) { // Ignore } finish(); return; } try { fos.close(); } catch (IOException e) { Logger.error(this, "Caught "+e+" closing file "+tempFile, e); } if(!tempFile.renameTo(targetFile)) { postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_RENAME_FILE, false, null, identifier); trySendDataFoundOrGetFailed(); // Don't delete temp file, user might want it. } data.free(); trySendDataFoundOrGetFailed(); finish(); return; } }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/2feef30f4266f2b8f54b92445661044a936a611a/ClientGet.java/clean/src/freenet/node/fcp/ClientGet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20613, 12, 5005, 1253, 563, 16, 2445, 8461, 919, 13, 288, 202, 202, 8298, 8579, 273, 446, 31, 202, 202, 42, 4258, 1079, 1234, 273, 394, 1910, 2043, 1079, 12, 2088, 16, 2756, 1769, 202, 202, 4103, 501, 273, 563, 18, 345, 4103, 5621, 202, 202, 2211, 18, 7015, 751, 1782, 273, 501, 18, 1467, 5621, 202, 202, 2211, 18, 7015, 751, 16821, 273, 563, 18, 588, 16821, 5621, 202, 202, 2211, 18, 87, 20983, 273, 638, 31, 202, 202, 13527, 273, 638, 31, 202, 202, 430, 12, 2463, 559, 422, 2445, 967, 1079, 18, 14033, 67, 2399, 67, 17541, 13, 288, 1082, 202, 759, 2479, 777, 326, 501, 622, 3647, 1082, 202, 759, 9852, 1915, 1410, 506, 1308, 702, 1082, 202, 698, 3826, 751, 2043, 1162, 967, 2925, 5621, 1082, 202, 1595, 751, 1079, 312, 273, 394, 4826, 751, 1079, 12, 892, 16, 2756, 1769, 1082, 202, 430, 12, 24854, 559, 422, 10950, 18732, 67, 15461, 13, 9506, 202, 81, 18, 542, 9194, 1398, 7828, 5621, 1082, 202, 698, 3826, 1595, 751, 1079, 12, 81, 1769, 1082, 202, 13749, 5621, 1082, 202, 2463, 31, 202, 202, 97, 469, 309, 12, 2463, 559, 422, 2445, 967, 1079, 18, 14033, 67, 2399, 67, 9826, 13, 288, 1082, 202, 759, 2256, 5083, 1082, 202, 698, 3826, 751, 2043, 1162, 967, 2925, 5621, 1082, 202, 892, 18, 9156, 5621, 1082, 202, 13749, 5621, 1082, 202, 2463, 31, 202, 202, 97, 469, 309, 12, 2463, 559, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20613, 12, 5005, 1253, 563, 16, 2445, 8461, 919, 13, 288, 202, 202, 8298, 8579, 273, 446, 31, 202, 202, 42, 4258, 1079, 1234, 273, 394, 1910, 2043, 1079, 12, 2088, 16, 2756, 1769, 202, 202, 4103, 501, 273, 563, 18, 345, 4103, 5621, 202, 202, 2211, 18, 7015, 751, 1782, 273, 501, 18, 1467, 5621, 202, 202, 2211, 18, 7015, 751, 16821, 273, 563, 18, 588, 16821, 5621, 202, 202, 2211, 18, 87, 20983, 273, 638, 31, 202, 202, 13527, 273, 638, 31, 202, 202, 430, 12, 2463, 559, 422, 2445, 967, 1079, 18, 14033, 67, 2399, 67, 17541, 13, 288, 1082, 202, 759, 2479, 777, 326, 501, 622, 3647, 1082, 202, 759, 9852, 2 ]
GrouperLog.error(LOG, s, ERR_EFF_LOG + eS.getMessage());
ErrorLog.error(EventLog.class, E.EVENT_EFFADD + eS.getMessage());
private void _delEffs( GrouperSession s, String name, Subject subj, Field f, Set effs ) { try { GrouperSession root = GrouperSessionFinder.getTransientRootSession(); Iterator iter = effs.iterator(); while (iter.hasNext()) { Membership eff = (Membership) iter.next(); if (eff.getList().getType().equals(FieldType.ACCESS)) { this._eff(root, s, G_RP_E, name, subj, f, eff, "priv="); } else if (eff.getList().getType().equals(FieldType.LIST)) { this._eff(root, s, G_DM_E, name, subj, f, eff, "list="); } else if (eff.getList().getType().equals(FieldType.NAMING)) { this._eff(root, s, S_RP_E, name, subj, f, eff, "priv="); } } root.stop(); } catch (SessionException eS) { GrouperLog.error(LOG, s, ERR_EFF_LOG + eS.getMessage()); } } // private void _delEffs(s, name, subj, f, effs)
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/11170f2a782492e4c1e43aa1adabfc484a62c9f3/EventLog.java/clean/grouper/src/grouper/edu/internet2/middleware/grouper/EventLog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 3771, 41, 1403, 87, 12, 565, 3756, 264, 2157, 272, 16, 514, 508, 16, 9912, 15333, 16, 2286, 284, 16, 1000, 16419, 87, 225, 262, 225, 288, 565, 775, 288, 1377, 3756, 264, 2157, 1365, 273, 3756, 264, 2157, 8441, 18, 588, 19638, 2375, 2157, 5621, 1377, 4498, 1400, 273, 16419, 87, 18, 9838, 5621, 1377, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 3639, 28100, 16419, 273, 261, 13447, 13, 1400, 18, 4285, 5621, 3639, 309, 1377, 261, 17098, 18, 588, 682, 7675, 588, 559, 7675, 14963, 12, 13715, 18, 13204, 3719, 288, 1850, 333, 6315, 17098, 12, 3085, 16, 272, 16, 611, 67, 54, 52, 67, 41, 16, 508, 16, 15333, 16, 284, 16, 16419, 16, 315, 11365, 1546, 1769, 540, 289, 3639, 469, 309, 261, 17098, 18, 588, 682, 7675, 588, 559, 7675, 14963, 12, 13715, 18, 7085, 3719, 288, 1850, 333, 6315, 17098, 12, 3085, 16, 272, 16, 611, 67, 16125, 67, 41, 16, 508, 16, 15333, 16, 284, 16, 16419, 16, 315, 1098, 1546, 1769, 540, 289, 3639, 469, 309, 261, 17098, 18, 588, 682, 7675, 588, 559, 7675, 14963, 12, 13715, 18, 50, 2192, 1360, 3719, 288, 1850, 333, 6315, 17098, 12, 3085, 16, 272, 16, 348, 67, 54, 52, 67, 41, 16, 508, 16, 15333, 16, 284, 16, 16419, 16, 315, 11365, 1546, 1769, 540, 289, 1377, 289, 1377, 1365, 18, 5681, 5621, 565, 289, 565, 1044, 261, 2157, 503, 425, 55, 13, 288, 1377, 1068, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 3771, 41, 1403, 87, 12, 565, 3756, 264, 2157, 272, 16, 514, 508, 16, 9912, 15333, 16, 2286, 284, 16, 1000, 16419, 87, 225, 262, 225, 288, 565, 775, 288, 1377, 3756, 264, 2157, 1365, 273, 3756, 264, 2157, 8441, 18, 588, 19638, 2375, 2157, 5621, 1377, 4498, 1400, 273, 16419, 87, 18, 9838, 5621, 1377, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 3639, 28100, 16419, 273, 261, 13447, 13, 1400, 18, 4285, 5621, 3639, 309, 1377, 261, 17098, 18, 588, 682, 7675, 588, 559, 7675, 14963, 12, 13715, 18, 13204, 3719, 288, 1850, 333, 6315, 17098, 12, 3085, 16, 272, 16, 611, 67, 54, 52, 67, 41, 16, 508, 16, 15333, 16, 284, 2 ]
return InternalValue.create(ValueHelper.convert(value, targetType), nsContext);
return InternalValue.create(ValueHelper.convert( value, targetType, ValueFactoryImpl.getInstance()), nsContext);
public InternalValue getInternalValue(int targetType) throws ValueFormatException, RepositoryException { try { if (targetType == PropertyType.BINARY) { // base64 encoded BINARY type; // decode using Reader ByteArrayOutputStream baos = new ByteArrayOutputStream(); Base64.decode(value, baos); return InternalValue.create(baos.toByteArray()); } else { // convert serialized value to InternalValue using // current namespace context of xml document return InternalValue.create(ValueHelper.convert(value, targetType), nsContext); } } catch (IOException e) { throw new RepositoryException("Error decoding Base64 content", e); } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/2b2fda09f04d8121a2f338acca40726a79f5ee13/StringValue.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/core/xml/StringValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3186, 620, 16918, 620, 12, 474, 16065, 13, 5411, 1216, 1445, 9291, 16, 13367, 288, 3639, 775, 288, 5411, 309, 261, 3299, 559, 422, 22983, 18, 16813, 13, 288, 7734, 368, 1026, 1105, 3749, 22468, 618, 31, 7734, 368, 2495, 1450, 5393, 7734, 11559, 17548, 273, 394, 11559, 5621, 7734, 3360, 1105, 18, 3922, 12, 1132, 16, 17548, 1769, 7734, 327, 3186, 620, 18, 2640, 12, 12124, 538, 18, 869, 8826, 10663, 5411, 289, 469, 288, 7734, 368, 1765, 5343, 460, 358, 3186, 620, 1450, 7734, 368, 783, 1981, 819, 434, 2025, 1668, 7734, 327, 3186, 620, 18, 2640, 12, 620, 2276, 18, 6283, 12, 460, 16, 16065, 16, 1445, 1733, 2828, 18, 588, 1442, 1435, 3631, 3153, 1042, 1769, 5411, 289, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 604, 394, 13367, 2932, 668, 13547, 3360, 1105, 913, 3113, 425, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3186, 620, 16918, 620, 12, 474, 16065, 13, 5411, 1216, 1445, 9291, 16, 13367, 288, 3639, 775, 288, 5411, 309, 261, 3299, 559, 422, 22983, 18, 16813, 13, 288, 7734, 368, 1026, 1105, 3749, 22468, 618, 31, 7734, 368, 2495, 1450, 5393, 7734, 11559, 17548, 273, 394, 11559, 5621, 7734, 3360, 1105, 18, 3922, 12, 1132, 16, 17548, 1769, 7734, 327, 3186, 620, 18, 2640, 12, 12124, 538, 18, 869, 8826, 10663, 5411, 289, 469, 288, 7734, 368, 1765, 5343, 460, 358, 3186, 620, 1450, 7734, 368, 783, 1981, 819, 434, 2025, 1668, 7734, 327, 3186, 620, 18, 2640, 12, 620, 2276, 18, 6283, 12, 460, 16, 16065, 16, 1445, 1733, 2828, 18, 588, 1442, 1435, 3631, 2 ]
"{[Time].[1997].[Q2]})"); String expected = "[Time].[1997].[Q1]" + nl +
"{[Time].[1997].[Q2]})", "[Time].[1997].[Q1]" + nl +
public void testToggleDrillState3(FoodMartTestCase test) { Axis axis = test.executeAxis2( "ToggleDrillState(" + "{[Time].[1997].[Q1]," + " [Time].[1997].[Q2]," + " [Time].[1997].[Q2].[4]," + " [Time].[1997].[Q2].[6]," + " [Time].[1997].[Q3]}," + "{[Time].[1997].[Q2]})"); String expected = "[Time].[1997].[Q1]" + nl + "[Time].[1997].[Q2]" + nl + "[Time].[1997].[Q3]"; test.assertEquals(expected, test.toString(axis.positions)); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/70c4270c1bff30f538d792913a6023b7dd613649/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1842, 17986, 8956, 737, 1119, 23, 12, 42, 4773, 49, 485, 4709, 2449, 1842, 13, 288, 25083, 202, 6558, 2654, 273, 1842, 18, 8837, 6558, 22, 12, 6862, 9506, 202, 6, 17986, 8956, 737, 1119, 2932, 397, 6862, 9506, 202, 18767, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 21, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 8009, 63, 24, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 8009, 63, 26, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 23, 65, 5779, 6, 397, 6862, 9506, 202, 18767, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 65, 12646, 1769, 25083, 202, 780, 2665, 273, 5158, 950, 8009, 63, 19818, 27, 8009, 63, 53, 21, 4279, 397, 7741, 397, 6862, 9506, 202, 6, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 4279, 397, 7741, 397, 6862, 9506, 202, 6, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 23, 4279, 31, 25083, 202, 3813, 18, 11231, 8867, 12, 3825, 16, 1842, 18, 10492, 12, 4890, 18, 12388, 10019, 6862, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4405, 202, 482, 918, 1842, 17986, 8956, 737, 1119, 23, 12, 42, 4773, 49, 485, 4709, 2449, 1842, 13, 288, 25083, 202, 6558, 2654, 273, 1842, 18, 8837, 6558, 22, 12, 6862, 9506, 202, 6, 17986, 8956, 737, 1119, 2932, 397, 6862, 9506, 202, 18767, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 21, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 8009, 63, 24, 6487, 6, 397, 6862, 9506, 202, 6, 306, 950, 8009, 63, 19818, 27, 8009, 63, 53, 22, 8009, 63, 26, 6487, 6, 397, 6862, 9506, 202, 6, 2 ]
public void widgetDefaultSelected( SelectionEvent e ) { saveDecision = false; } } );
public void widgetDefaultSelected( SelectionEvent e ) { saveDecision = false; } } );
protected Control createCustomArea( Composite parent ) { Composite container = new Composite( parent, SWT.NONE ); GridLayout gridLayout = new GridLayout( ); gridLayout.marginWidth = 20; // gridLayout.marginTop = 15; container.setLayout( gridLayout ); Button chkbox = new Button( container, SWT.CHECK ); chkbox.setText( REMEMBER_DECISION ); chkbox.addSelectionListener( new SelectionListener( ) { public void widgetSelected( SelectionEvent e ) { saveDecision = !saveDecision; } public void widgetDefaultSelected( SelectionEvent e ) { saveDecision = false; } } ); return super.createCustomArea( parent ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6f2bf55f121981dcb9b70c8145124efef6d7ada0/ExportToLibraryAction.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/ExportToLibraryAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 1117, 8888, 752, 3802, 5484, 12, 14728, 982, 262, 6862, 1082, 202, 95, 6862, 9506, 202, 9400, 1478, 273, 394, 14728, 12, 982, 16, 6862, 25083, 202, 55, 8588, 18, 9826, 11272, 6862, 9506, 202, 6313, 3744, 3068, 3744, 273, 394, 7145, 3744, 12, 11272, 6862, 9506, 202, 5222, 3744, 18, 10107, 2384, 273, 4200, 31, 6862, 9506, 202, 759, 3068, 3744, 18, 10107, 3401, 273, 4711, 31, 6862, 9506, 202, 3782, 18, 542, 3744, 12, 3068, 3744, 11272, 6862, 9506, 202, 3616, 15000, 2147, 273, 394, 12569, 12, 1478, 16, 6862, 25083, 202, 55, 8588, 18, 10687, 11272, 6862, 9506, 202, 27038, 2147, 18, 542, 1528, 12, 2438, 19630, 67, 1639, 26913, 11272, 6862, 9506, 202, 27038, 2147, 18, 1289, 6233, 2223, 12, 394, 12977, 2223, 12, 262, 288, 6862, 6862, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 6862, 6862, 202, 95, 6862, 25083, 202, 5688, 15861, 273, 401, 5688, 15861, 31, 6862, 6862, 202, 97, 6862, 6862, 202, 482, 918, 3604, 1868, 7416, 12, 6862, 6862, 1082, 202, 6233, 1133, 425, 262, 6862, 6862, 202, 95, 6862, 25083, 202, 5688, 15861, 273, 629, 31, 6862, 6862, 202, 97, 6862, 9506, 202, 97, 11272, 6862, 9506, 202, 2463, 2240, 18, 2640, 3802, 5484, 12, 982, 11272, 6862, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 1117, 8888, 752, 3802, 5484, 12, 14728, 982, 262, 6862, 1082, 202, 95, 6862, 9506, 202, 9400, 1478, 273, 394, 14728, 12, 982, 16, 6862, 25083, 202, 55, 8588, 18, 9826, 11272, 6862, 9506, 202, 6313, 3744, 3068, 3744, 273, 394, 7145, 3744, 12, 11272, 6862, 9506, 202, 5222, 3744, 18, 10107, 2384, 273, 4200, 31, 6862, 9506, 202, 759, 3068, 3744, 18, 10107, 3401, 273, 4711, 31, 6862, 9506, 202, 3782, 18, 542, 3744, 12, 3068, 3744, 11272, 6862, 9506, 202, 3616, 15000, 2147, 273, 394, 12569, 12, 1478, 16, 6862, 25083, 202, 55, 8588, 18, 10687, 11272, 6862, 9506, 202, 27038, 2147, 18, 542, 1528, 12, 2438, 19630, 67, 1639, 26913, 11272, 6862, 9506, 202, 2 ]
sbNewRepresentation.append("'");
sbNewRepresentation.append("'");
private String getConvertedBaseSampleDataRepresentation(String sOldRepresentation) { StringTokenizer strtok = new StringTokenizer(sOldRepresentation, ","); StringBuffer sbNewRepresentation = new StringBuffer(""); while (strtok.hasMoreTokens()) { String sElement = strtok.nextToken().trim(); if (!sElement.startsWith("'")) { sbNewRepresentation.append("'"); sbNewRepresentation.append(sElement); sbNewRepresentation.append("'"); } else { sbNewRepresentation.append(sElement); } sbNewRepresentation.append(","); } return sbNewRepresentation.toString().substring(0, sbNewRepresentation.length() - 1); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7793e94b4d7fab5891f226c6c937e37d85bebad8/LineChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 336, 22063, 2171, 8504, 751, 13742, 12, 780, 272, 7617, 13742, 13, 565, 288, 3639, 16370, 609, 17692, 273, 394, 16370, 12, 87, 7617, 13742, 16, 5753, 1769, 3639, 6674, 2393, 1908, 13742, 273, 394, 6674, 2932, 8863, 3639, 1323, 261, 701, 17692, 18, 5332, 7417, 5157, 10756, 3639, 288, 5411, 514, 272, 1046, 273, 609, 17692, 18, 4285, 1345, 7675, 5290, 5621, 5411, 309, 16051, 87, 1046, 18, 17514, 1190, 2932, 4970, 3719, 5411, 288, 7734, 2393, 1908, 13742, 18, 6923, 2932, 4970, 1769, 7734, 2393, 1908, 13742, 18, 6923, 12, 87, 1046, 1769, 7734, 2393, 1908, 13742, 18, 6923, 2932, 4970, 1769, 5411, 289, 5411, 469, 5411, 288, 7734, 2393, 1908, 13742, 18, 6923, 12, 87, 1046, 1769, 5411, 289, 5411, 2393, 1908, 13742, 18, 6923, 2932, 16, 8863, 3639, 289, 3639, 327, 2393, 1908, 13742, 18, 10492, 7675, 28023, 12, 20, 16, 2393, 1908, 13742, 18, 2469, 1435, 300, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 336, 22063, 2171, 8504, 751, 13742, 12, 780, 272, 7617, 13742, 13, 565, 288, 3639, 16370, 609, 17692, 273, 394, 16370, 12, 87, 7617, 13742, 16, 5753, 1769, 3639, 6674, 2393, 1908, 13742, 273, 394, 6674, 2932, 8863, 3639, 1323, 261, 701, 17692, 18, 5332, 7417, 5157, 10756, 3639, 288, 5411, 514, 272, 1046, 273, 609, 17692, 18, 4285, 1345, 7675, 5290, 5621, 5411, 309, 16051, 87, 1046, 18, 17514, 1190, 2932, 4970, 3719, 5411, 288, 7734, 2393, 1908, 13742, 18, 6923, 2932, 4970, 1769, 7734, 2393, 1908, 13742, 18, 6923, 12, 87, 1046, 1769, 7734, 2393, 1908, 13742, 18, 6923, 2932, 4970, 1769, 5411, 289, 5411, 469, 5411, 288, 7734, 2393, 1908, 13742, 18, 6923, 2 ]
return 0;
return this.choiceGroup.getSelectedFlags(selectedArray_return);
public int getSelectedFlags(boolean[] selectedArray_return) { return 0; //TODO implement getSelectedFlags }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/4e8983ac96e4e1a995d9f8434572c31f4d05d76c/List.java/clean/enough-polish-j2me/source/src/de/enough/polish/ui/List.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 16625, 5094, 12, 6494, 8526, 3170, 1076, 67, 2463, 13, 202, 95, 202, 202, 2463, 374, 31, 202, 202, 759, 6241, 2348, 16625, 5094, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 16625, 5094, 12, 6494, 8526, 3170, 1076, 67, 2463, 13, 202, 95, 202, 202, 2463, 374, 31, 202, 202, 759, 6241, 2348, 16625, 5094, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void eventDispatched(WebclientEvent event){ boolean enabledState; String status; if (event instanceof DocumentLoadEvent) { switch ((int) event.getType()) { case ((int) DocumentLoadEvent.START_DOCUMENT_LOAD_EVENT_MASK): stopButton.setEnabled(true); refreshButton.setEnabled(true); currentURL = (String) event.getEventData(); System.out.println("debug: edburns: Currently Viewing: " + currentURL); statusLabel.setText("Starting to load " + currentURL); urlField.setText(currentURL); currentDocument = null; break; case ((int) DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK): stopButton.setEnabled(false); backButton.setEnabled(history.canBack()); backMenuItem.setEnabled(history.canBack()); forwardButton.setEnabled(history.canForward()); forwardMenuItem.setEnabled(history.canForward()); populateHistoryMenu(); statusLabel.setText("Done."); urlStatusLabel.setText(""); currentDocument = currentPage.getDOM(); // add the new document to the domViewer if (null != currentDocument && null != domViewer) { domViewer.setDocument(currentDocument); } break; case ((int) DocumentLoadEvent.PROGRESS_URL_LOAD_EVENT_MASK): status = "Status: " + (String) event.getEventData(); statusLabel.setText(status); break; case ((int) DocumentLoadEvent.STATUS_URL_LOAD_EVENT_MASK): status = "Status: " + (String) event.getEventData(); statusLabel.setText(status); break; case ((int) DocumentLoadEvent.START_URL_LOAD_EVENT_MASK): status = (String) event.getEventData(); urlStatusLabel.setText("startURL: " + status); break; case ((int) DocumentLoadEvent.END_URL_LOAD_EVENT_MASK): status = (String) event.getEventData(); urlStatusLabel.setText(" endURL: " + status); break; } }}
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/afee19ff581e3d13844917014bf035cd25e515ae/EMWindow.java/clean/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 871, 5325, 329, 12, 4079, 2625, 1133, 871, 15329, 565, 1250, 3696, 1119, 31, 565, 514, 1267, 31, 565, 309, 261, 2575, 1276, 4319, 2563, 1133, 13, 288, 3639, 1620, 14015, 474, 13, 871, 18, 588, 559, 10756, 288, 3639, 648, 14015, 474, 13, 4319, 2563, 1133, 18, 7570, 67, 18450, 67, 7783, 67, 10454, 67, 11704, 4672, 5411, 2132, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 4460, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 783, 1785, 273, 261, 780, 13, 871, 18, 588, 21299, 5621, 5411, 2332, 18, 659, 18, 8222, 2932, 4148, 30, 1675, 70, 321, 87, 30, 15212, 4441, 310, 30, 315, 397, 27573, 783, 1785, 1769, 5411, 1267, 2224, 18, 542, 1528, 2932, 11715, 358, 1262, 315, 397, 783, 1785, 1769, 5411, 880, 974, 18, 542, 1528, 12, 2972, 1785, 1769, 5411, 783, 2519, 273, 446, 31, 5411, 898, 31, 3639, 648, 14015, 474, 13, 4319, 2563, 1133, 18, 4415, 67, 18450, 67, 7783, 67, 10454, 67, 11704, 4672, 5411, 2132, 3616, 18, 542, 1526, 12, 5743, 1769, 5411, 1473, 3616, 18, 542, 1526, 12, 8189, 18, 4169, 2711, 10663, 5411, 1473, 12958, 18, 542, 1526, 12, 8189, 18, 4169, 2711, 10663, 5411, 5104, 3616, 18, 542, 1526, 12, 8189, 18, 4169, 8514, 10663, 5411, 5104, 12958, 18, 542, 1526, 12, 8189, 18, 4169, 8514, 10663, 5411, 6490, 5623, 4599, 5621, 5411, 1267, 2224, 18, 542, 1528, 2932, 7387, 1199, 1769, 5411, 880, 1482, 2224, 18, 542, 1528, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 871, 5325, 329, 12, 4079, 2625, 1133, 871, 15329, 565, 1250, 3696, 1119, 31, 565, 514, 1267, 31, 565, 309, 261, 2575, 1276, 4319, 2563, 1133, 13, 288, 3639, 1620, 14015, 474, 13, 871, 18, 588, 559, 10756, 288, 3639, 648, 14015, 474, 13, 4319, 2563, 1133, 18, 7570, 67, 18450, 67, 7783, 67, 10454, 67, 11704, 4672, 5411, 2132, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 4460, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 783, 1785, 273, 261, 780, 13, 871, 18, 588, 21299, 5621, 5411, 2332, 18, 659, 18, 8222, 2932, 4148, 30, 1675, 70, 321, 87, 30, 15212, 4441, 310, 30, 315, 397, 27573, 783, 1785, 1769, 5411, 1267, 2224, 18, 542, 2 ]
ISearchScope searchScope = SModelSearchUtil.createModelAndImportedModelsScope(sourceNode.getModel(), false, scope);
ISearchScope searchScope = (ISearchScope) status.getUserObject();
private static List<INodeSubstituteAction> createPrimaryReferentSubstituteActions(SNode sourceNode, SNode currentReferent, LinkDeclaration linkDeclaration, final Condition<SNode> filterCondition, final IScope scope) { final ConceptDeclaration referentConcept = linkDeclaration.getTarget(); if (referentConcept == null) { return Collections.emptyList(); } // test { ConceptDeclaration referenceNodeConcept = SModelUtil.getConceptDeclaration(sourceNode, scope); INodeReferentSearchScopeProvider scopeProvider = ModelConstraintsManager.getInstance().getNodeReferentSearchScopeProvider(referenceNodeConcept, linkDeclaration.getRole()); if (scopeProvider != null) { String errorDescr = scopeProvider.canCreateNodeReferentSearchScope(sourceNode.getModel(), sourceNode.getParent(), sourceNode, referenceNodeConcept, linkDeclaration.getRole(), scope); if (errorDescr != null) return Collections.emptyList(); ISearchScope searchScope = scopeProvider.createNodeReferentSearchScope(sourceNode.getModel(), sourceNode.getParent(), sourceNode, referenceNodeConcept, linkDeclaration.getRole(), scope); return createDefaultReferentSubstituteActions(sourceNode, currentReferent, linkDeclaration, searchScope, filterCondition, scope); } } //todo i changed roots only to false because OWL and MSP4Web depends on this behaviour (kostik) ISearchScope searchScope = SModelSearchUtil.createModelAndImportedModelsScope(sourceNode.getModel(), false, scope); return createDefaultReferentSubstituteActions(sourceNode, currentReferent, linkDeclaration, searchScope, filterCondition, scope); }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/bd6ce20dc1007bda8ad2a120dd334d2cb440f3f9/ReferentSubstituteActionsHelper.java/clean/source/jetbrains/mps/smodel/action/ReferentSubstituteActionsHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 987, 32, 23184, 1676, 17207, 1803, 34, 752, 6793, 426, 3518, 1676, 17207, 6100, 12, 55, 907, 26799, 16, 348, 907, 783, 426, 3518, 16, 4048, 6094, 1692, 6094, 16, 727, 7949, 32, 55, 907, 34, 1034, 3418, 16, 727, 467, 3876, 2146, 13, 288, 565, 727, 27842, 6094, 283, 3518, 15433, 273, 1692, 6094, 18, 588, 2326, 5621, 565, 309, 261, 266, 3518, 15433, 422, 446, 13, 288, 1377, 327, 5737, 18, 5531, 682, 5621, 565, 289, 565, 368, 1842, 565, 288, 1377, 27842, 6094, 2114, 907, 15433, 273, 348, 1488, 1304, 18, 588, 15433, 6094, 12, 3168, 907, 16, 2146, 1769, 1377, 21176, 426, 3518, 2979, 3876, 2249, 2146, 2249, 273, 3164, 4878, 1318, 18, 588, 1442, 7675, 588, 907, 426, 3518, 2979, 3876, 2249, 12, 6180, 907, 15433, 16, 1692, 6094, 18, 588, 2996, 10663, 1377, 309, 261, 4887, 2249, 480, 446, 13, 288, 3639, 514, 555, 16198, 273, 2146, 2249, 18, 4169, 1684, 907, 426, 3518, 2979, 3876, 12, 3168, 907, 18, 588, 1488, 9334, 26799, 18, 588, 3054, 9334, 26799, 16, 2114, 907, 15433, 16, 1692, 6094, 18, 588, 2996, 9334, 2146, 1769, 3639, 309, 261, 1636, 16198, 480, 446, 13, 327, 5737, 18, 5531, 682, 5621, 3639, 467, 2979, 3876, 1623, 3876, 273, 2146, 2249, 18, 2640, 907, 426, 3518, 2979, 3876, 12, 3168, 907, 18, 588, 1488, 9334, 26799, 18, 588, 3054, 9334, 26799, 16, 2114, 907, 15433, 16, 1692, 6094, 18, 588, 2996, 9334, 2146, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 987, 32, 23184, 1676, 17207, 1803, 34, 752, 6793, 426, 3518, 1676, 17207, 6100, 12, 55, 907, 26799, 16, 348, 907, 783, 426, 3518, 16, 4048, 6094, 1692, 6094, 16, 727, 7949, 32, 55, 907, 34, 1034, 3418, 16, 727, 467, 3876, 2146, 13, 288, 565, 727, 27842, 6094, 283, 3518, 15433, 273, 1692, 6094, 18, 588, 2326, 5621, 565, 309, 261, 266, 3518, 15433, 422, 446, 13, 288, 1377, 327, 5737, 18, 5531, 682, 5621, 565, 289, 565, 368, 1842, 565, 288, 1377, 27842, 6094, 2114, 907, 15433, 273, 348, 1488, 1304, 18, 588, 15433, 6094, 12, 3168, 907, 16, 2146, 1769, 1377, 21176, 426, 3518, 2979, 3876, 2249, 2146, 2249, 273, 3164, 4878, 1318, 2 ]
if (currentListener == listener) currentListener = null;
if (currentListener == listener) { currentListener = null; }
public void removeDropTargetListener(TransferDropTargetListener listener) { if (currentListener == listener) currentListener = null; listeners.remove(listener); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/391f2606b4ea2c1fb5052d938ca90877ee7631f6/DelegatingDropAdapter.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/util/DelegatingDropAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 7544, 2326, 2223, 12, 5912, 7544, 2326, 2223, 2991, 13, 288, 3639, 309, 261, 2972, 2223, 422, 2991, 13, 5411, 783, 2223, 273, 446, 31, 3639, 4679, 18, 4479, 12, 12757, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 7544, 2326, 2223, 12, 5912, 7544, 2326, 2223, 2991, 13, 288, 3639, 309, 261, 2972, 2223, 422, 2991, 13, 5411, 783, 2223, 273, 446, 31, 3639, 4679, 18, 4479, 12, 12757, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i=0; i<filesets.size(); i++) {
for (int i = 0; i < filesets.size(); i++) {
public void execute() throws BuildException { Vector savedTransaction = (Vector) transactions.clone(); String savedSqlCommand = sqlCommand; sqlCommand = sqlCommand.trim(); try { if (srcFile == null && sqlCommand.length()==0 && filesets.isEmpty()) { if (transactions.size() == 0) { throw new BuildException("Source file or fileset, " + "transactions or sql statement " + "must be set!", location); } } if (driver == null) { throw new BuildException("Driver attribute must be set!", location); } if (userId == null) { throw new BuildException("User Id attribute must be set!", location); } if (password == null) { throw new BuildException("Password attribute must be set!", location); } if (url == null) { throw new BuildException("Url attribute must be set!", location); } if (srcFile != null && !srcFile.exists()) { throw new BuildException("Source file does not exist!", location); } Driver driverInstance = null; try { Class dc; if (classpath != null) { // check first that it is not already loaded otherwise // consecutive runs seems to end into an OutOfMemoryError // or it fails when there is a native library to load // several times. // this is far from being perfect but should work // in most cases. synchronized (loaderMap){ if (caching){ loader = (AntClassLoader)loaderMap.get(driver); } if (loader == null){ log( "Loading " + driver + " using AntClassLoader with classpath " + classpath, Project.MSG_VERBOSE ); loader = new AntClassLoader(project, classpath); if (caching){ loaderMap.put(driver, loader); } } else { log("Loading " + driver + " using a cached AntClassLoader.", Project.MSG_VERBOSE); } } dc = loader.loadClass(driver); } else { log("Loading " + driver + " using system loader.", Project.MSG_VERBOSE); dc = Class.forName(driver); } driverInstance = (Driver) dc.newInstance(); }catch(ClassNotFoundException e){ throw new BuildException("Class Not Found: JDBC driver " + driver + " could not be loaded", location); }catch(IllegalAccessException e){ throw new BuildException("Illegal Access: JDBC driver " + driver + " could not be loaded", location); }catch(InstantiationException e) { throw new BuildException("Instantiation Exception: JDBC driver " + driver + " could not be loaded", location); } // deal with the filesets for (int i=0; i<filesets.size(); i++) { FileSet fs = (FileSet) filesets.elementAt(i); DirectoryScanner ds = fs.getDirectoryScanner(project); File srcDir = fs.getDir(project); String[] srcFiles = ds.getIncludedFiles(); // Make a transaction for each file for ( int j=0 ; j<srcFiles.length ; j++ ) { Transaction t = createTransaction(); t.setSrc(new File(srcDir, srcFiles[j])); } } // Make a transaction group for the outer command Transaction t = createTransaction(); t.setSrc(srcFile); t.addText(sqlCommand); try{ log("connecting to " + url, Project.MSG_VERBOSE ); Properties info = new Properties(); info.put("user", userId); info.put("password", password); conn = driverInstance.connect(url, info); if (conn == null) { // Driver doesn't understand the URL throw new SQLException("No suitable Driver for "+url); } if (!isValidRdbms(conn)) { return; } conn.setAutoCommit(autocommit); statement = conn.createStatement(); PrintStream out = System.out; try { if (output != null) { log("Opening PrintStream to output file " + output, Project.MSG_VERBOSE); out = new PrintStream( new BufferedOutputStream( new FileOutputStream(output .getAbsolutePath(), append))); } // Process all transactions for (Enumeration e = transactions.elements(); e.hasMoreElements();) { ((Transaction) e.nextElement()).runTransaction(out); if (!autocommit) { log("Commiting transaction", Project.MSG_VERBOSE); conn.commit(); } } } finally { if (out != null && out != System.out) { out.close(); } } } catch(IOException e){ if (!autocommit && conn != null && onError.equals("abort")) { try { conn.rollback(); } catch (SQLException ex) {} } throw new BuildException(e, location); } catch(SQLException e){ if (!autocommit && conn != null && onError.equals("abort")) { try { conn.rollback(); } catch (SQLException ex) {} } throw new BuildException(e, location); } finally { try { if (statement != null) { statement.close(); } if (conn != null) { conn.close(); } } catch (SQLException e) {} } log(goodSql + " of " + totalSql + " SQL statements executed successfully"); } finally { transactions = savedTransaction; sqlCommand = savedSqlCommand; } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/SQLExec.java/buggy/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 5589, 5198, 3342, 273, 261, 5018, 13, 8938, 18, 14056, 5621, 3639, 514, 5198, 5101, 2189, 273, 1847, 2189, 31, 3639, 1847, 2189, 273, 1847, 2189, 18, 5290, 5621, 3639, 775, 288, 5411, 309, 261, 4816, 812, 422, 446, 597, 1847, 2189, 18, 2469, 1435, 631, 20, 1171, 597, 1390, 2413, 18, 291, 1921, 10756, 288, 1171, 309, 261, 20376, 18, 1467, 1435, 422, 374, 13, 288, 10792, 604, 394, 18463, 2932, 1830, 585, 578, 1390, 278, 16, 315, 4766, 2398, 397, 315, 20376, 578, 1847, 3021, 315, 4766, 2398, 397, 315, 11926, 506, 444, 5, 3113, 2117, 1769, 7734, 289, 5411, 289, 5411, 309, 261, 7407, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 4668, 1566, 1297, 506, 444, 5, 3113, 4766, 1850, 2117, 1769, 5411, 289, 5411, 309, 261, 18991, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 1299, 3124, 1566, 1297, 506, 444, 5, 3113, 4766, 1850, 2117, 1769, 5411, 289, 5411, 309, 261, 3664, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 3913, 1566, 1297, 506, 444, 5, 3113, 4766, 1850, 2117, 1769, 5411, 289, 5411, 309, 261, 718, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 1489, 1566, 1297, 506, 444, 5, 3113, 4766, 1850, 2117, 1769, 5411, 289, 5411, 309, 261, 4816, 812, 480, 446, 597, 401, 4816, 812, 18, 1808, 10756, 288, 7734, 604, 394, 18463, 2932, 1830, 585, 1552, 486, 1005, 5, 3113, 4766, 1850, 2117, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 5589, 5198, 3342, 273, 261, 5018, 13, 8938, 18, 14056, 5621, 3639, 514, 5198, 5101, 2189, 273, 1847, 2189, 31, 3639, 1847, 2189, 273, 1847, 2189, 18, 5290, 5621, 3639, 775, 288, 5411, 309, 261, 4816, 812, 422, 446, 597, 1847, 2189, 18, 2469, 1435, 631, 20, 1171, 597, 1390, 2413, 18, 291, 1921, 10756, 288, 1171, 309, 261, 20376, 18, 1467, 1435, 422, 374, 13, 288, 10792, 604, 394, 18463, 2932, 1830, 585, 578, 1390, 278, 16, 315, 4766, 2398, 397, 315, 20376, 578, 1847, 3021, 315, 4766, 2398, 397, 315, 11926, 506, 444, 5, 3113, 2117, 1769, 7734, 289, 5411, 289, 5411, 309, 261, 7407, 422, 446, 13, 2 ]
AST __t273 = _t; AST tmp18_AST_in = (AST)_t;
AST __t282 = _t; AST tmp20_AST_in = (AST)_t;
public final void expr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { AST expr_AST_in = (AST)_t; AST t = null; AST varName = null; AST posVar = null; AST letVarName = null; Expression step= null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_cast: { AST __t247 = _t; AST tmp3_AST_in = (AST)_t; match(_t,LITERAL_cast); _t = _t.getFirstChild(); PathExpr expr = new PathExpr(context); int cardinality = Cardinality.EXACTLY_ONE; expr(_t,expr); _t = _retTree; t = (AST)_t; match(_t,ATOMIC_TYPE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QUESTION: { AST tmp4_AST_in = (AST)_t; match(_t,QUESTION); _t = _t.getNextSibling(); cardinality = Cardinality.ZERO_OR_ONE; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } QName qn= QName.parse(context, t.getText()); int code= Type.getType(qn); CastExpression castExpr = new CastExpression(context, expr, code, cardinality); path.add(castExpr); _t = __t247; _t = _t.getNextSibling(); break; } case COMMA: { AST __t249 = _t; AST tmp5_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; SequenceConstructor sc= new SequenceConstructor(context); sc.addExpression(left); sc.addExpression(right); path.add(sc); _t = __t249; _t = _t.getNextSibling(); break; } case LITERAL_if: { AST __t250 = _t; AST tmp6_AST_in = (AST)_t; match(_t,LITERAL_if); _t = _t.getFirstChild(); PathExpr testExpr= new PathExpr(context); PathExpr thenExpr= new PathExpr(context); PathExpr elseExpr= new PathExpr(context); expr(_t,testExpr); _t = _retTree; expr(_t,thenExpr); _t = _retTree; expr(_t,elseExpr); _t = _retTree; ConditionalExpression cond= new ConditionalExpression(context, testExpr, thenExpr, elseExpr); path.add(cond); _t = __t250; _t = _t.getNextSibling(); break; } case LITERAL_return: { AST __t251 = _t; AST tmp7_AST_in = (AST)_t; match(_t,LITERAL_return); _t = _t.getFirstChild(); List clauses= new ArrayList(); Expression action= new PathExpr(context); PathExpr whereExpr= null; List orderBy= null; { int _cnt262=0; _loop262: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_for: { AST __t253 = _t; AST tmp8_AST_in = (AST)_t; match(_t,LITERAL_for); _t = _t.getFirstChild(); { int _cnt257=0; _loop257: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t255 = _t; varName = _t==ASTNULL ? null :(AST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); PathExpr inputSequence= new PathExpr(context); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case POSITIONAL_VAR: { posVar = (AST)_t; match(_t,POSITIONAL_VAR); _t = _t.getNextSibling(); clause.posVar = posVar.getText(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } expr(_t,inputSequence); _t = _retTree; clause.varName= varName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t255; _t = _t.getNextSibling(); } else { if ( _cnt257>=1 ) { break _loop257; } else {throw new NoViableAltException(_t);} } _cnt257++; } while (true); } _t = __t253; _t = _t.getNextSibling(); break; } case LITERAL_let: { AST __t258 = _t; AST tmp9_AST_in = (AST)_t; match(_t,LITERAL_let); _t = _t.getFirstChild(); { int _cnt261=0; _loop261: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==VARIABLE_BINDING)) { AST __t260 = _t; letVarName = _t==ASTNULL ? null :(AST)_t; match(_t,VARIABLE_BINDING); _t = _t.getFirstChild(); ForLetClause clause= new ForLetClause(); clause.isForClause= false; PathExpr inputSequence= new PathExpr(context); expr(_t,inputSequence); _t = _retTree; clause.varName= letVarName.getText(); clause.inputSequence= inputSequence; clauses.add(clause); _t = __t260; _t = _t.getNextSibling(); } else { if ( _cnt261>=1 ) { break _loop261; } else {throw new NoViableAltException(_t);} } _cnt261++; } while (true); } _t = __t258; _t = _t.getNextSibling(); break; } default: { if ( _cnt262>=1 ) { break _loop262; } else {throw new NoViableAltException(_t);} } } _cnt262++; } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_where: { AST tmp10_AST_in = (AST)_t; match(_t,LITERAL_where); _t = _t.getNextSibling(); whereExpr= new PathExpr(context); expr(_t,whereExpr); _t = _retTree; break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case ORDER_BY: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ORDER_BY: { AST __t265 = _t; AST tmp11_AST_in = (AST)_t; match(_t,ORDER_BY); _t = _t.getFirstChild(); orderBy= new ArrayList(3); { int _cnt271=0; _loop271: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_0.member(_t.getType()))) { PathExpr orderSpecExpr= new PathExpr(context); expr(_t,orderSpecExpr); _t = _retTree; OrderSpec orderSpec= new OrderSpec(orderSpecExpr); int modifiers= 0; orderBy.add(orderSpec); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: case LITERAL_descending: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_ascending: { AST tmp12_AST_in = (AST)_t; match(_t,LITERAL_ascending); _t = _t.getNextSibling(); break; } case LITERAL_descending: { AST tmp13_AST_in = (AST)_t; match(_t,LITERAL_descending); _t = _t.getNextSibling(); modifiers= OrderSpec.DESCENDING_ORDER; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case LITERAL_empty: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_empty: { AST tmp14_AST_in = (AST)_t; match(_t,LITERAL_empty); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_greatest: { AST tmp15_AST_in = (AST)_t; match(_t,LITERAL_greatest); _t = _t.getNextSibling(); break; } case LITERAL_least: { AST tmp16_AST_in = (AST)_t; match(_t,LITERAL_least); _t = _t.getNextSibling(); modifiers |= OrderSpec.EMPTY_LEAST; orderSpec.setModifiers(modifiers); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } } else { if ( _cnt271>=1 ) { break _loop271; } else {throw new NoViableAltException(_t);} } _cnt271++; } while (true); } _t = __t265; _t = _t.getNextSibling(); break; } case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { break; } default: { throw new NoViableAltException(_t); } } } expr(_t,(PathExpr) action); _t = _retTree; for (int i= clauses.size() - 1; i >= 0; i--) { ForLetClause clause= (ForLetClause) clauses.get(i); BindingExpression expr; if (clause.isForClause) expr= new ForExpr(context); else expr= new LetExpr(context); expr.setVariable(clause.varName); expr.setInputSequence(clause.inputSequence); expr.setReturnExpression(action); if (clause.isForClause) ((ForExpr)expr).setPositionalVariable(clause.posVar); if (whereExpr != null) { expr.setWhereExpression(whereExpr); whereExpr= null; } if (orderBy != null) { OrderSpec orderSpecs[]= new OrderSpec[orderBy.size()]; int k= 0; for (Iterator j= orderBy.iterator(); j.hasNext(); k++) { OrderSpec orderSpec= (OrderSpec) j.next(); orderSpecs[k]= orderSpec; } expr.setOrderSpecs(orderSpecs); } action= expr; } path.add(action); _t = __t251; _t = _t.getNextSibling(); break; } case LITERAL_or: { AST __t272 = _t; AST tmp17_AST_in = (AST)_t; match(_t,LITERAL_or); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t272; _t = _t.getNextSibling(); OpOr or= new OpOr(context); or.add(left); or.add(right); path.addPath(or); break; } case LITERAL_and: { AST __t273 = _t; AST tmp18_AST_in = (AST)_t; match(_t,LITERAL_and); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t273; _t = _t.getNextSibling(); OpAnd and= new OpAnd(context); and.add(left); and.add(right); path.addPath(and); break; } case PARENTHESIZED: { AST __t274 = _t; AST tmp19_AST_in = (AST)_t; match(_t,PARENTHESIZED); _t = _t.getFirstChild(); PathExpr pathExpr= new PathExpr(context); path.addPath(pathExpr); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { expr(_t,pathExpr); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t274; _t = _t.getNextSibling(); break; } case UNION: { AST __t276 = _t; AST tmp20_AST_in = (AST)_t; match(_t,UNION); _t = _t.getFirstChild(); PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t276; _t = _t.getNextSibling(); Union union= new Union(context, left, right); path.add(union); break; } case ABSOLUTE_SLASH: { AST __t277 = _t; AST tmp21_AST_in = (AST)_t; match(_t,ABSOLUTE_SLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { expr(_t,path); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t277; _t = _t.getNextSibling(); break; } case ABSOLUTE_DSLASH: { AST __t279 = _t; AST tmp22_AST_in = (AST)_t; match(_t,ABSOLUTE_DSLASH); _t = _t.getFirstChild(); RootNode root= new RootNode(context); path.add(root); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case VARIABLE_REF: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { step=pathExpr(_t,path); _t = _retTree; if (step instanceof LocationStep) { LocationStep s= (LocationStep) step; if (s.getAxis() == Constants.ATTRIBUTE_AXIS) // combines descendant-or-self::node()/attribute:* s.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else s.setAxis(Constants.DESCENDANT_SELF_AXIS); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t279; _t = _t.getNextSibling(); break; } case LITERAL_to: { AST __t281 = _t; AST tmp23_AST_in = (AST)_t; match(_t,LITERAL_to); _t = _t.getFirstChild(); PathExpr start= new PathExpr(context); PathExpr end= new PathExpr(context); List args= new ArrayList(2); args.add(start); args.add(end); expr(_t,start); _t = _retTree; expr(_t,end); _t = _retTree; RangeExpression range= new RangeExpression(context); range.setArguments(args); path.addPath(range); _t = __t281; _t = _t.getNextSibling(); break; } case EQ: case NEQ: case GT: case GTEQ: case LT: case LTEQ: { step=generalComp(_t,path); _t = _retTree; break; } case ANDEQ: case OREQ: { step=fulltextComp(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case VARIABLE_REF: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { step=pathExpr(_t,path); _t = _retTree; break; } case UNARY_MINUS: case UNARY_PLUS: case STAR: case PLUS: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: { step=numericExpr(_t,path); _t = _retTree; break; } case ELEMENT: case TEXT: case LCURLY: case XML_COMMENT: case XML_PI: { step=constructor(_t,path); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ca3671ce7c752480b17278b434be7f75e3ec7d57/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3065, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 9506, 202, 9053, 3065, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 268, 273, 446, 31, 202, 202, 9053, 13722, 273, 446, 31, 202, 202, 9053, 949, 1537, 273, 446, 31, 202, 202, 9053, 2231, 18129, 273, 446, 31, 202, 202, 2300, 2235, 33, 446, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 511, 18454, 67, 4155, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3247, 27, 273, 389, 88, 31, 1082, 202, 9053, 1853, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 23225, 67, 4155, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 6862, 6862, 202, 743, 4742, 3065, 273, 394, 2666, 4742, 12, 2472, 1769, 25083, 202, 474, 14379, 273, 14338, 9232, 18, 2294, 6526, 7076, 67, 5998, 31, 6862, 9506, 202, 8638, 24899, 88, 16, 8638, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 88, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 28146, 2871, 67, 2399, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3065, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 9506, 202, 9053, 3065, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 268, 273, 446, 31, 202, 202, 9053, 13722, 273, 446, 31, 202, 202, 9053, 949, 1537, 273, 446, 31, 202, 202, 9053, 2231, 18129, 273, 446, 31, 202, 202, 2300, 2235, 33, 446, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 511, 18454, 67, 4155, 30, 202, 202, 2 ]
public byte[] getData(int tagSignature)
public byte[] getData()
public byte[] getData(int tagSignature) { if (tagSignature == icSigHead) return header.getData(getSize()); TagEntry t = (TagEntry) tagTable.get(TagEntry.tagHashKey(tagSignature)); if (t == null) return null; return t.getData(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/ICC_Profile.java/buggy/core/src/classpath/java/java/awt/color/ICC_Profile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 8526, 4303, 1435, 225, 288, 565, 309, 261, 2692, 5374, 422, 13579, 8267, 1414, 13, 1377, 327, 1446, 18, 588, 751, 12, 588, 1225, 10663, 565, 4034, 1622, 268, 273, 261, 1805, 1622, 13, 1047, 1388, 18, 588, 12, 1805, 1622, 18, 2692, 31006, 12, 2692, 5374, 10019, 565, 309, 261, 88, 422, 446, 13, 1377, 327, 446, 31, 565, 327, 268, 18, 588, 751, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 8526, 4303, 1435, 225, 288, 565, 309, 261, 2692, 5374, 422, 13579, 8267, 1414, 13, 1377, 327, 1446, 18, 588, 751, 12, 588, 1225, 10663, 565, 4034, 1622, 268, 273, 261, 1805, 1622, 13, 1047, 1388, 18, 588, 12, 1805, 1622, 18, 2692, 31006, 12, 2692, 5374, 10019, 565, 309, 261, 88, 422, 446, 13, 1377, 327, 446, 31, 565, 327, 268, 18, 588, 751, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
stringBuffer.append(TEXT_216);
stringBuffer.append(TEXT_183);
public String generate(Object argument) { final StringBuffer stringBuffer = new StringBuffer(); final GenCommonBase genElement = (GenCommonBase) ((Object[]) argument)[0];final GenNodeLabel genLabel = (GenNodeLabel) genElement;final ImportAssistant importManager = (ImportAssistant) ((Object[]) argument)[1];GenNode genHost = genLabel.getNode();GenClass underlyingMetaClass = genHost.getDomainMetaClass();GenDiagram genDiagram = genLabel.getDiagram();LabelModelFacet labelModelFacet = genLabel.getModelFacet();final boolean isReadOnly = genLabel.isReadOnly(); stringBuffer.append(TEXT_1); String copyrightText = genDiagram.getEditorGen().getCopyrightText();if (copyrightText != null && copyrightText.trim().length() > 0) { stringBuffer.append(TEXT_2); stringBuffer.append(copyrightText.replaceAll("\n", "\n * ")); stringBuffer.append(TEXT_3); } stringBuffer.append(TEXT_4); stringBuffer.append(TEXT_5); class FeatureGetAccessorHelper { /** * @param containerName the name of the container * @param feature the feature whose value is in interest * @param containerMetaClass the <code>GenClass</code> of the container, or <code>null</code>, if the container is declared as an <code>EObject</code>. * @param needsCastToResultType whether the cast to the result type is required (this parameter is only used if the <code>EClass</code> this feature belongs to is an external interface). */ public void appendFeatureValueGetter(String containerName, GenFeature feature, GenClass containerMetaClass, boolean needsCastToResultType) { if (feature.getGenClass().isExternalInterface()) { boolean needsCastToEObject = containerMetaClass != null && containerMetaClass.isExternalInterface(); if (needsCastToResultType) { stringBuffer.append(TEXT_6); stringBuffer.append(importManager.getImportedName(feature.isListType() ? "java.util.Collection" : feature.getTypeGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_7); } if (needsCastToEObject) { stringBuffer.append(TEXT_8); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_9); } stringBuffer.append(containerName); if (needsCastToEObject) { stringBuffer.append(TEXT_10); } stringBuffer.append(TEXT_11); stringBuffer.append(importManager.getImportedName(feature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_12); stringBuffer.append(feature.getFeatureAccessorName()); stringBuffer.append(TEXT_13); if (needsCastToResultType) { stringBuffer.append(TEXT_14); } } else { boolean needsCastToFeatureGenType = containerMetaClass == null || containerMetaClass.isExternalInterface(); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_15); stringBuffer.append(importManager.getImportedName(feature.getGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_16); } stringBuffer.append(containerName); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_17); } stringBuffer.append(TEXT_18); stringBuffer.append(feature.getGetAccessor()); stringBuffer.append(TEXT_19); } }}final FeatureGetAccessorHelper myFeatureGetAccessorHelper = new FeatureGetAccessorHelper(); stringBuffer.append(TEXT_20); importManager.emitPackageStatement(stringBuffer); stringBuffer.append(TEXT_21); importManager.addImport("org.eclipse.gef.EditPart");importManager.addImport("org.eclipse.gef.EditPolicy");importManager.addImport("org.eclipse.gmf.runtime.notation.View");importManager.markImportLocation(stringBuffer); stringBuffer.append(TEXT_22); stringBuffer.append(genLabel.getEditPartClassName()); stringBuffer.append(TEXT_23); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editparts.AbstractGraphicalEditPart")); stringBuffer.append(TEXT_24); {GenCommonBase genCommonBase = genLabel; stringBuffer.append(TEXT_25); stringBuffer.append(TEXT_26); stringBuffer.append(genCommonBase.getVisualID()); stringBuffer.append(TEXT_27); } stringBuffer.append(TEXT_28); if (!isReadOnly) { stringBuffer.append(TEXT_29); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.DirectEditManager")); stringBuffer.append(TEXT_30); } stringBuffer.append(TEXT_31); stringBuffer.append(genLabel.getEditPartClassName()); stringBuffer.append(TEXT_32); final String primaryView = "getUpdatableParent().getDiagramNode()"; final String resolvedSemanticElement = "resolveSemanticElement()"; if (!isReadOnly) { String editPatternCode = "EDIT_PATTERN"; //declared in labelText.javajetinc, used in directEditCommand.jetinc. stringBuffer.append(TEXT_33); stringBuffer.append(TEXT_34); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPolicy")); stringBuffer.append(TEXT_35); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.editpolicies.DirectEditPolicy")); stringBuffer.append(TEXT_36); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.DirectEditRequest")); stringBuffer.append(TEXT_37); stringBuffer.append(TEXT_38); stringBuffer.append(TEXT_39); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.Command")); stringBuffer.append(TEXT_40); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.requests.DirectEditRequest")); stringBuffer.append(TEXT_41); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_42); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_43); stringBuffer.append(editPatternCode); stringBuffer.append(TEXT_44); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_45); stringBuffer.append(importManager.getImportedName("java.text.ParseException")); stringBuffer.append(TEXT_46); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_47); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_48); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.util.TransactionUtil")); stringBuffer.append(TEXT_49); stringBuffer.append(primaryView); stringBuffer.append(TEXT_50); if (labelModelFacet instanceof FeatureLabelModelFacet) { GenFeature featureToSet = ((FeatureLabelModelFacet)labelModelFacet).getMetaFeature(); EStructuralFeature ecoreFeature = featureToSet.getEcoreFeature(); stringBuffer.append(TEXT_51); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_52); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_53); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_54); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_55); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_56); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_57); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_58); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_59); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_60); stringBuffer.append(importManager.getImportedName(featureToSet.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_61); stringBuffer.append(featureToSet.getFeatureAccessorName()); stringBuffer.append(TEXT_62); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.ParserUtil")); stringBuffer.append(TEXT_63); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.UnexecutableCommand")); stringBuffer.append(TEXT_64); if (ecoreFeature.isMany()) { stringBuffer.append(TEXT_65); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_66); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_67); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(TEXT_68); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_69); stringBuffer.append(featureToSet.getAccessorName()); stringBuffer.append(TEXT_70); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_71); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.AddCommand")); stringBuffer.append(TEXT_72); } else { stringBuffer.append(TEXT_73); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_74); } stringBuffer.append(TEXT_75); } else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; List metaFeatures = compositeFeatureLabelModelFacet.getMetaFeatures(); stringBuffer.append(TEXT_76); stringBuffer.append(metaFeatures.size()); stringBuffer.append(TEXT_77); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.commands.UnexecutableCommand")); stringBuffer.append(TEXT_78); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_79); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_80); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_81); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_82); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_83); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_84); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_85); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.CompoundCommand")); stringBuffer.append(TEXT_86); boolean haveDeclaredValues = false; for(int i = 0; i < metaFeatures.size(); i++) { GenFeature nextFeatureToSet = (GenFeature) metaFeatures.get(i); EStructuralFeature nextEcoreFeature = nextFeatureToSet.getEcoreFeature(); stringBuffer.append(TEXT_87); if (i == 0) { stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_88); } stringBuffer.append(TEXT_89); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EAttribute")); stringBuffer.append(TEXT_90); stringBuffer.append(importManager.getImportedName(nextFeatureToSet.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_91); stringBuffer.append(nextFeatureToSet.getFeatureAccessorName()); stringBuffer.append(TEXT_92); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.ParserUtil")); stringBuffer.append(TEXT_93); stringBuffer.append(i); stringBuffer.append(TEXT_94); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.UnexecutableCommand")); stringBuffer.append(TEXT_95); if (nextEcoreFeature.isMany()) { stringBuffer.append(TEXT_96); if (!haveDeclaredValues) { haveDeclaredValues = true; stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(TEXT_97); } stringBuffer.append(TEXT_98); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_99); stringBuffer.append(nextFeatureToSet.getAccessorName()); stringBuffer.append(TEXT_100); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.RemoveCommand")); stringBuffer.append(TEXT_101); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.AddCommand")); stringBuffer.append(TEXT_102); } else { stringBuffer.append(TEXT_103); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.command.SetCommand")); stringBuffer.append(TEXT_104); } } stringBuffer.append(TEXT_105); } stringBuffer.append(TEXT_106); } stringBuffer.append(TEXT_107); if (!isReadOnly) { stringBuffer.append(TEXT_108); stringBuffer.append(TEXT_109); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.Request")); stringBuffer.append(TEXT_110); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.RequestConstants")); stringBuffer.append(TEXT_111); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.DirectEditManager")); stringBuffer.append(TEXT_112); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.DirectEditManager")); stringBuffer.append(TEXT_113); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TextCellEditor")); stringBuffer.append(TEXT_114); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.tools.CellEditorLocator")); stringBuffer.append(TEXT_115); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.CellEditor")); stringBuffer.append(TEXT_116); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Rectangle")); stringBuffer.append(TEXT_117); } stringBuffer.append(TEXT_118); stringBuffer.append(TEXT_119); /*genFeature.getObjectType() throws NPE on primitive types. This is a workaround. */HashMap primitiveTypeToWrapperClassName = new HashMap();primitiveTypeToWrapperClassName.put(Boolean.TYPE, "Boolean");primitiveTypeToWrapperClassName.put(Byte.TYPE, "Byte");primitiveTypeToWrapperClassName.put(Character.TYPE, "Character");primitiveTypeToWrapperClassName.put(Double.TYPE, "Double");primitiveTypeToWrapperClassName.put(Float.TYPE, "Float");primitiveTypeToWrapperClassName.put(Integer.TYPE, "Integer");primitiveTypeToWrapperClassName.put(Long.TYPE, "Long");primitiveTypeToWrapperClassName.put(Short.TYPE, "Short");String viewPattern = null;String editPattern = null;if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet featureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; viewPattern = featureLabelModelFacet.getViewPattern(); if (viewPattern == null || viewPattern.length() == 0) { viewPattern = "{0}"; } editPattern = featureLabelModelFacet.getEditPattern(); if (editPattern == null || editPattern.length() == 0) { editPattern = "{0}"; }} else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; viewPattern = compositeFeatureLabelModelFacet.getViewPattern(); if (viewPattern == null || viewPattern.length() == 0) { StringBuffer patternBuffer = new StringBuffer(); for(int i = 0; i < compositeFeatureLabelModelFacet.getMetaFeatures().size(); i++) { patternBuffer.append("{").append(i).append("} "); } viewPattern = patternBuffer.toString().trim(); } editPattern = compositeFeatureLabelModelFacet.getEditPattern(); if (editPattern == null || editPattern.length() == 0) { StringBuffer patternBuffer = new StringBuffer(); for(int i = 0; i < compositeFeatureLabelModelFacet.getMetaFeatures().size(); i++) { patternBuffer.append("{").append(i).append("} "); } editPattern = patternBuffer.toString().trim(); }} stringBuffer.append(TEXT_120); stringBuffer.append(viewPattern); stringBuffer.append(TEXT_121); stringBuffer.append(editPattern); stringBuffer.append(TEXT_122); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_123); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_124); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_125); stringBuffer.append(resolvedSemanticElement); stringBuffer.append(TEXT_126); stringBuffer.append(importManager.getImportedName(underlyingMetaClass.getQualifiedInterfaceName())); stringBuffer.append(TEXT_127); if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet featureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; GenFeature feature = featureLabelModelFacet.getMetaFeature(); if (!feature.isPrimitiveType()) { stringBuffer.append(TEXT_128); myFeatureGetAccessorHelper.appendFeatureValueGetter("element", feature, underlyingMetaClass, false); stringBuffer.append(TEXT_129); } stringBuffer.append(TEXT_130); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_131); if (feature.isPrimitiveType()) { stringBuffer.append(TEXT_132); stringBuffer.append(primitiveTypeToWrapperClassName.get(feature.getTypeGenClassifier().getEcoreClassifier().getInstanceClass())); stringBuffer.append(TEXT_133); } myFeatureGetAccessorHelper.appendFeatureValueGetter("element", feature, underlyingMetaClass, false); if (feature.isPrimitiveType()) { stringBuffer.append(TEXT_134); } stringBuffer.append(TEXT_135); } else if (labelModelFacet instanceof CompositeFeatureLabelModelFacet) { CompositeFeatureLabelModelFacet compositeFeatureLabelModelFacet = (CompositeFeatureLabelModelFacet) labelModelFacet; stringBuffer.append(TEXT_136); stringBuffer.append(importManager.getImportedName("java.text.MessageFormat")); stringBuffer.append(TEXT_137); for(Iterator it = compositeFeatureLabelModelFacet.getMetaFeatures().iterator(); it.hasNext(); ) { GenFeature next = (GenFeature) it.next(); if (next.isPrimitiveType()) { stringBuffer.append(TEXT_138); stringBuffer.append(primitiveTypeToWrapperClassName.get(next.getTypeGenClassifier().getEcoreClassifier().getInstanceClass())); stringBuffer.append(TEXT_139); } myFeatureGetAccessorHelper.appendFeatureValueGetter("element", next, underlyingMetaClass, false); if (next.isPrimitiveType()) { stringBuffer.append(TEXT_140); } if (it.hasNext()) { stringBuffer.append(TEXT_141); } } stringBuffer.append(TEXT_142); } else { stringBuffer.append(TEXT_143); } stringBuffer.append(TEXT_144); stringBuffer.append(TEXT_145); boolean isFixedFontSetInFigure;{ StyleAttributes styleAttributes = (genElement.getViewmap() == null) ? null : (StyleAttributes)genElement.getViewmap().find(StyleAttributes.class); isFixedFontSetInFigure = styleAttributes != null && styleAttributes.isFixedFont();} stringBuffer.append(TEXT_146); if (!isFixedFontSetInFigure) { stringBuffer.append(TEXT_147); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_148); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_149); stringBuffer.append(primaryView); stringBuffer.append(TEXT_150); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_151); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_152); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_153); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_154); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_155); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_156); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.FontData")); stringBuffer.append(TEXT_157); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_158); } stringBuffer.append(TEXT_159); if (!isFixedFontSetInFigure) { stringBuffer.append(TEXT_160); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Font")); stringBuffer.append(TEXT_161); } stringBuffer.append(TEXT_162); stringBuffer.append(TEXT_163); stringBuffer.append(TEXT_164); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_165); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.FontStyle")); stringBuffer.append(TEXT_166); stringBuffer.append(primaryView); stringBuffer.append(TEXT_167); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_168); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_169); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_170); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_171); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Color")); stringBuffer.append(TEXT_172); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.graphics.Image")); stringBuffer.append(TEXT_173); if (genLabel.isElementIcon()) { stringBuffer.append(TEXT_174); stringBuffer.append(importManager.getImportedName(genHost.getDomainMetaClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_175); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.resource.ImageDescriptor")); stringBuffer.append(TEXT_176); stringBuffer.append(importManager.getImportedName(genDiagram.getEditorGen().getPlugin().getActivatorQualifiedClassName())); stringBuffer.append(TEXT_177); } stringBuffer.append(TEXT_178); stringBuffer.append(importManager.getImportedName(genHost.getDomainMetaClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_179); stringBuffer.append(importManager.getImportedName(genHost.getDomainMetaClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_180); stringBuffer.append(importManager.getImportedName(genHost.getDomainMetaClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_181); stringBuffer.append(importManager.getImportedName(genHost.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_182); stringBuffer.append(importManager.getImportedName(genHost.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_183); stringBuffer.append(importManager.getImportedName(genHost.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_184); stringBuffer.append(importManager.getImportedName(genHost.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_185); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_186); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_187); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_188); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_189); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_190); if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet compositeFeatureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; for(Iterator it = compositeFeatureLabelModelFacet.getMetaFeatures().iterator(); it.hasNext(); ) { GenFeature next = (GenFeature) it.next(); stringBuffer.append(TEXT_191); stringBuffer.append(importManager.getImportedName(next.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_192); stringBuffer.append(next.getFeatureAccessorName()); stringBuffer.append(TEXT_193); }} stringBuffer.append(TEXT_194); stringBuffer.append(importManager.getImportedName(genHost.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_195); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_196); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_197); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_198); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_199); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage")); stringBuffer.append(TEXT_200); if (labelModelFacet instanceof FeatureLabelModelFacet) { FeatureLabelModelFacet compositeFeatureLabelModelFacet = (FeatureLabelModelFacet) labelModelFacet; for(Iterator it = compositeFeatureLabelModelFacet.getMetaFeatures().iterator(); it.hasNext(); ) { GenFeature next = (GenFeature) it.next(); stringBuffer.append(TEXT_201); stringBuffer.append(importManager.getImportedName(next.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_202); stringBuffer.append(next.getFeatureAccessorName()); stringBuffer.append(TEXT_203); }} stringBuffer.append(TEXT_204); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_205); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_206); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_207); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_208); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_209); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.IUpdatableEditPart")); stringBuffer.append(TEXT_210); final Viewmap viewmap = genLabel.getViewmap(); stringBuffer.append(TEXT_211); final String figureQualifiedClassName;if (viewmap instanceof ParentAssignedViewmap) { ParentAssignedViewmap parentAssignedViewmap = (ParentAssignedViewmap) viewmap; figureQualifiedClassName = parentAssignedViewmap.getFigureQualifiedClassName() == null ? "org.eclipse.draw2d.IFigure" : parentAssignedViewmap.getFigureQualifiedClassName();} else if (viewmap instanceof FigureViewmap) { String figureQualifiedClassNameCandidate = ((FigureViewmap) viewmap).getFigureQualifiedClassName(); if (figureQualifiedClassNameCandidate == null || figureQualifiedClassNameCandidate.trim().length() == 0) { figureQualifiedClassName = "org.eclipse.draw2d.Label"; } else { figureQualifiedClassName = figureQualifiedClassNameCandidate; }} else if (viewmap instanceof SnippetViewmap) { figureQualifiedClassName = "org.eclipse.draw2d.IFigure";} else if (viewmap instanceof InnerClassViewmap) { figureQualifiedClassName = ((InnerClassViewmap) viewmap).getClassName();} else { figureQualifiedClassName = "org.eclipse.draw2d.IFigure";}final String figureImportedName;if (viewmap instanceof InnerClassViewmap) { figureImportedName = figureQualifiedClassName; //do not import inner class} else { figureImportedName = importManager.getImportedName(figureQualifiedClassName);}if (viewmap instanceof ParentAssignedViewmap) { final ParentAssignedViewmap parentAssignedViewmap = (ParentAssignedViewmap) viewmap; stringBuffer.append(TEXT_212); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.IFigure")); stringBuffer.append(TEXT_213); stringBuffer.append((parentAssignedViewmap.getSetterName() == null ? "setLabel" : parentAssignedViewmap.getSetterName())); stringBuffer.append(TEXT_214); } else { stringBuffer.append(TEXT_215); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_216); if (viewmap instanceof FigureViewmap) { stringBuffer.append(TEXT_217); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_218); } // instanceof FigureViewmap else if (viewmap instanceof SnippetViewmap) { stringBuffer.append(TEXT_219); stringBuffer.append(((SnippetViewmap) viewmap).getBody()); stringBuffer.append(TEXT_220); } // instanceof SnippetViewmap; FIXME : obtain figure class name to generate getter else if (viewmap instanceof InnerClassViewmap) { stringBuffer.append(TEXT_221); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_222); } stringBuffer.append(TEXT_223); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.IFigure")); stringBuffer.append(TEXT_224); stringBuffer.append(figureImportedName); stringBuffer.append(TEXT_225); if ("org.eclipse.draw2d.Label".equals(figureQualifiedClassName) || viewmap instanceof InnerClassViewmap) { stringBuffer.append(TEXT_226); } else { stringBuffer.append(TEXT_227); } stringBuffer.append(TEXT_228); } /*not parent-assigned*/ stringBuffer.append(TEXT_229); if (!"org.eclipse.draw2d.Label".equals(figureQualifiedClassName) && viewmap instanceof InnerClassViewmap==false) { stringBuffer.append(TEXT_230); } stringBuffer.append(TEXT_231); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.Label")); stringBuffer.append(TEXT_232); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.Label")); stringBuffer.append(TEXT_233); String labelSetterName = "setLabel"; // same assumption in NodeEditPartString labelFigureClassName = "org.eclipse.draw2d.IFigure";if (viewmap instanceof ParentAssignedViewmap) { ParentAssignedViewmap parentAssignedViewmap = (ParentAssignedViewmap) viewmap; if (parentAssignedViewmap.getSetterName() != null) { labelSetterName = parentAssignedViewmap.getSetterName(); } if (parentAssignedViewmap.getFigureQualifiedClassName() != null) { labelFigureClassName = parentAssignedViewmap.getFigureQualifiedClassName(); }} // FIXME perhaps, there's no sense to have setLabel for any other viewmap than ParentAssigned? stringBuffer.append(TEXT_234); stringBuffer.append(labelSetterName); stringBuffer.append(TEXT_235); stringBuffer.append(importManager.getImportedName(labelFigureClassName)); stringBuffer.append(TEXT_236); if ("org.eclipse.draw2d.Label".equals(labelFigureClassName)) { stringBuffer.append(TEXT_237); } else { stringBuffer.append(TEXT_238); } stringBuffer.append(TEXT_239); if (viewmap instanceof InnerClassViewmap) { String classBody = ((InnerClassViewmap) viewmap).getClassBody(); stringBuffer.append(TEXT_240); stringBuffer.append(classBody); stringBuffer.append(TEXT_241); if (classBody.indexOf("DPtoLP") != -1) { stringBuffer.append(TEXT_242); } } stringBuffer.append(TEXT_243); importManager.emitSortedImports(); stringBuffer.append(TEXT_244); return stringBuffer.toString(); }
7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/de70953cec74fbba0ed0cfbed37c36c0b594b3db/NodeLabelEditPartGenerator.java/clean/plugins/org.eclipse.gmf.codegen.lite/src-templates/org/eclipse/gmf/codegen/templates/lite/parts/NodeLabelEditPartGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 12, 921, 1237, 13, 225, 288, 565, 727, 6674, 533, 1892, 273, 394, 6674, 5621, 565, 727, 10938, 6517, 2171, 3157, 1046, 273, 261, 7642, 6517, 2171, 13, 14015, 921, 63, 5717, 1237, 25146, 20, 15533, 6385, 10938, 907, 2224, 3157, 2224, 273, 261, 7642, 907, 2224, 13, 3157, 1046, 31, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 7642, 907, 3157, 2594, 273, 3157, 2224, 18, 588, 907, 5621, 7642, 797, 6808, 2781, 797, 273, 3157, 2594, 18, 588, 3748, 2781, 797, 5621, 7642, 14058, 1940, 3157, 14058, 1940, 273, 3157, 2224, 18, 588, 14058, 1940, 5621, 2224, 1488, 11137, 1433, 1488, 11137, 273, 3157, 2224, 18, 588, 1488, 11137, 5621, 6385, 1250, 26249, 273, 3157, 2224, 18, 291, 12066, 5621, 565, 533, 1892, 18, 6923, 12, 5151, 67, 21, 1769, 565, 514, 22245, 1528, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 7675, 588, 2951, 4083, 1528, 5621, 430, 261, 29187, 1528, 480, 446, 597, 22245, 1528, 18, 5290, 7675, 2469, 1435, 405, 374, 13, 288, 565, 533, 1892, 18, 6923, 12, 5151, 67, 22, 1769, 565, 533, 1892, 18, 6923, 12, 29187, 1528, 18, 2079, 1595, 31458, 82, 3113, 1548, 82, 380, 9369, 1769, 565, 533, 1892, 18, 6923, 12, 5151, 67, 23, 1769, 565, 289, 565, 533, 1892, 18, 6923, 12, 5151, 67, 24, 1769, 565, 533, 1892, 18, 6923, 12, 5151, 67, 25, 1769, 565, 667, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 12, 921, 1237, 13, 225, 288, 565, 727, 6674, 533, 1892, 273, 394, 6674, 5621, 565, 727, 10938, 6517, 2171, 3157, 1046, 273, 261, 7642, 6517, 2171, 13, 14015, 921, 63, 5717, 1237, 25146, 20, 15533, 6385, 10938, 907, 2224, 3157, 2224, 273, 261, 7642, 907, 2224, 13, 3157, 1046, 31, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 7642, 907, 3157, 2594, 273, 3157, 2224, 18, 588, 907, 5621, 7642, 797, 6808, 2781, 797, 273, 3157, 2594, 18, 588, 3748, 2781, 797, 5621, 7642, 14058, 1940, 3157, 14058, 1940, 273, 3157, 2224, 18, 588, 14058, 1940, 5621, 2224, 1488, 11137, 1433, 1488, 2 ]
for (Object object : l) { iQuery.evict(object); }
public Set findContainerHierarchies(@NotNull Class rootNodeType, @NotNull @Validate(Integer.class) Set imageIds, Map options) { PojoOptions po = new PojoOptions(options); Query q = queryFactory.lookup( PojosFindHierarchiesQueryDefinition.class.getName(), PojosQP.klass(rootNodeType), PojosQP.ids(imageIds), PojosQP.options(po.map())); List l = (List) iQuery.execute(q); collectCounts(l,po); // TODO; this if-else statement could be removed if Transformations // did their own dispatching // TODO: logging, null checking. daos should never return null // TODO then size! if (Project.class.equals(rootNodeType)) { if (imageIds.size()==0){ return new HashSet(); } return HierarchyTransformations.invertPDI(new HashSet(l)); } else if (CategoryGroup.class.equals(rootNodeType)){ if (imageIds.size()==0){ return new HashSet(); } return HierarchyTransformations.invertCGCI(new HashSet(l)); } else {throw new IllegalArgumentException( "Class parameter for findContainerHierarchies() must be" + " in {Project,CategoryGroup}, not " + rootNodeType); } }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/0b36a8e77f5bacb7e122d76ffce01866205b09d7/PojosImpl.java/clean/components/server/src/ome/logic/PojosImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 1000, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 1104, 2170, 44, 5148, 606, 26964, 5962, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 1659, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 10181, 559, 16, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 1000, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 1104, 2170, 44, 5148, 606, 26964, 5962, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 1659, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 225, 10181, 559, 16, 565, 364, 261, 921, 733, 294, 328, 13, 288, 277, 1138, 18, 73, 11946, 12, 1612, 1769, 289, 1377, 364, 261, 921, 733, 294, 328, 13, 288, 277, 2 ]
action = new IndexManagementHelper.IndexReuser(hsqldb, core.getQueueManager(), browserPanel.getUnknownIndexList(), browserPanel.getIndexTree(), button);
action = new IndexManagementHelper.IndexReuser(hsqldb, core.getQueueManager(), browserPanel.getUnknownIndexList(), browserPanel.getIndexTree(), core.getMainWindow(), button);
public boolean run(Core core) { this.core = core; if(core.getPluginManager().getPlugin("thaw.plugins.Hsqldb") == null) { Logger.info(this, "Loading Hsqldb plugin"); if(!core.getPluginManager().loadPlugin("thaw.plugins.Hsqldb") || !core.getPluginManager().runPlugin("thaw.plugins.Hsqldb")) { Logger.error(this, "Unable to load thaw.plugins.Hsqldb !"); return false; } } hsqldb = (Hsqldb)core.getPluginManager().getPlugin("thaw.plugins.Hsqldb"); hsqldb.registerChild(this); boolean newDb; newDb = false; if (core.getConfig().getValue("indexDatabaseVersion") == null) { TableCreator.createTables(hsqldb); newDb = true; core.getConfig().setValue("indexDatabaseVersion", "1"); } browserPanel = new IndexBrowserPanel(hsqldb, core.getQueueManager(), core.getConfig()); setMainWindow(core.getMainWindow()); core.getMainWindow().getTabbedPane().addChangeListener(this); core.getMainWindow().addTab(I18n.getMessage("thaw.plugin.index.indexes"), IconBox.minIndexBrowser, browserPanel.getPanel()); browserPanel.restoreState(); JButton button; IndexManagementHelper.IndexAction action; button = new JButton(IconBox.refreshAction); button.setToolTipText(I18n.getMessage("thaw.plugin.index.downloadIndexes")); action = new IndexManagementHelper.IndexDownloader(button); action.setTarget(browserPanel.getIndexTree().getRoot()); /* TODO : Listen to tree to only refresh the selected node */ addButtonToTheToolbar(button); button = new JButton(IconBox.indexReuse); button.setToolTipText(I18n.getMessage("thaw.plugin.index.addAlreadyExistingIndex")); action = new IndexManagementHelper.IndexReuser(hsqldb, core.getQueueManager(), browserPanel.getUnknownIndexList(), browserPanel.getIndexTree(), button); action.setTarget(browserPanel.getIndexTree().getRoot()); addButtonToTheToolbar(button); button = new JButton(IconBox.indexNew); button.setToolTipText(I18n.getMessage("thaw.plugin.index.createIndex")); action = new IndexManagementHelper.IndexCreator(hsqldb, core.getQueueManager(), browserPanel.getUnknownIndexList(), browserPanel.getIndexTree(), button); action.setTarget(browserPanel.getIndexTree().getRoot()); addButtonToTheToolbar(button); if (newDb) { IndexManagementHelper.addIndex(hsqldb, core.getQueueManager(), browserPanel.getUnknownIndexList(), browserPanel.getIndexTree(), browserPanel.getIndexTree().getRoot(), DEFAULT_INDEX); } stateChanged(null); return true; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/e471bc762e2a8fa953ffc9556bb69ca89bb11c82/IndexBrowser.java/buggy/src/thaw/plugins/IndexBrowser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1086, 12, 4670, 2922, 13, 288, 202, 202, 2211, 18, 3644, 273, 2922, 31, 202, 202, 430, 12, 3644, 18, 588, 3773, 1318, 7675, 588, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 7923, 422, 446, 13, 288, 1082, 202, 3328, 18, 1376, 12, 2211, 16, 315, 10515, 31714, 1966, 1909, 8863, 1082, 202, 430, 12, 5, 3644, 18, 588, 3773, 1318, 7675, 945, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 7923, 9506, 282, 747, 401, 3644, 18, 588, 3773, 1318, 7675, 2681, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 6, 3719, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 3370, 358, 1262, 286, 2219, 18, 8057, 18, 44, 4669, 1966, 401, 8863, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 4487, 1217, 1966, 273, 261, 44, 4669, 1966, 13, 3644, 18, 588, 3773, 1318, 7675, 588, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 8863, 202, 202, 4487, 1217, 1966, 18, 4861, 1763, 12, 2211, 1769, 202, 202, 6494, 394, 4331, 31, 202, 202, 2704, 4331, 273, 629, 31, 202, 202, 430, 261, 3644, 18, 588, 809, 7675, 24805, 2932, 1615, 4254, 1444, 7923, 422, 446, 13, 288, 1082, 202, 1388, 10636, 18, 2640, 6905, 12, 4487, 1217, 1966, 1769, 1082, 202, 2704, 4331, 273, 638, 31, 1082, 202, 3644, 18, 588, 809, 7675, 542, 620, 2932, 1615, 4254, 1444, 3113, 315, 21, 8863, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1086, 12, 4670, 2922, 13, 288, 202, 202, 2211, 18, 3644, 273, 2922, 31, 202, 202, 430, 12, 3644, 18, 588, 3773, 1318, 7675, 588, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 7923, 422, 446, 13, 288, 1082, 202, 3328, 18, 1376, 12, 2211, 16, 315, 10515, 31714, 1966, 1909, 8863, 1082, 202, 430, 12, 5, 3644, 18, 588, 3773, 1318, 7675, 945, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 7923, 9506, 282, 747, 401, 3644, 18, 588, 3773, 1318, 7675, 2681, 3773, 2932, 451, 2219, 18, 8057, 18, 44, 4669, 1966, 6, 3719, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 3370, 358, 1262, 286, 2219, 2 ]
res.writeExternal( out );
try { res.writeExternal( out ); } catch (java.io.IOException ie) { logger.fatal("Couldn't write EjbResponse to output stream", ie); }
public void processEjbRequest(ObjectInputStream in, ObjectOutputStream out) throws Exception{ EJBRequest req = new EJBRequest(); EJBResponse res = new EJBResponse(); // TODO:2: This method can throw a large number of exceptions, we should // be prepared to handle them all. Look in the ObejctOutputStream code // for a full list of the exceptions thrown. // java.io.WriteAbortedException can be thrown containing a // try { req.readExternal( in ); } catch (java.io.WriteAbortedException e){ if ( e.detail instanceof java.io.NotSerializableException){ //TODO:1: Log this warning better. Include information on what bean is to blame throw new Exception("Client attempting to serialize unserializable object: "+ e.detail.getMessage()); } else { throw e.detail; } } catch (java.io.EOFException e) { throw new Exception("Reached the end of the stream before the full request could be read"); } catch (Throwable t){ throw new Exception("Cannot read client request: "+ t.getClass().getName()+" "+ t.getMessage()); } CallContext call = null; DeploymentInfo di = null; RpcContainer c = null;; try{ di = getDeployment(req); } catch (RemoteException e){ logger.warn( req + "No such deployment: "+e.getMessage()); res.setResponse( EJB_SYS_EXCEPTION, e); res.writeExternal( out ); return; } catch ( Throwable t ){ String message = "Unkown error occured while retreiving deployment:"+t.getMessage(); logger.fatal( req + message, t); RemoteException e = new RemoteException("The server has encountered a fatal error and must be restarted."+message); res.setResponse( EJB_ERROR , e ); res.writeExternal( out ); return; } try { call = CallContext.getCallContext(); call.setEJBRequest( req ); call.setDeploymentInfo( di ); } catch ( Throwable t ){ logger.fatal( req + "Unable to set the thread context for this request: ", t); RemoteException e = new RemoteException("The server has encountered a fatal error and must be restarted."); res.setResponse( EJB_ERROR , e ); res.writeExternal( out ); return; } logger.info( "EJB REQUEST : "+req ); try { switch (req.getRequestMethod()) { // Remote interface methods case EJB_OBJECT_BUSINESS_METHOD: doEjbObject_BUSINESS_METHOD( req, res ); break; // Home interface methods case EJB_HOME_CREATE: doEjbHome_CREATE( req, res ); break; case EJB_HOME_FIND: doEjbHome_FIND( req, res ); break; // javax.ejb.EJBObject methods case EJB_OBJECT_GET_EJB_HOME: doEjbObject_GET_EJB_HOME( req, res ); break; case EJB_OBJECT_GET_HANDLE: doEjbObject_GET_HANDLE( req, res ); break; case EJB_OBJECT_GET_PRIMARY_KEY: doEjbObject_GET_PRIMARY_KEY( req, res ); break; case EJB_OBJECT_IS_IDENTICAL: doEjbObject_IS_IDENTICAL( req, res ); break; case EJB_OBJECT_REMOVE: doEjbObject_REMOVE( req, res ); break; // javax.ejb.EJBHome methods case EJB_HOME_GET_EJB_META_DATA: doEjbHome_GET_EJB_META_DATA( req, res ); break; case EJB_HOME_GET_HOME_HANDLE: doEjbHome_GET_HOME_HANDLE( req, res ); break; case EJB_HOME_REMOVE_BY_HANDLE: doEjbHome_REMOVE_BY_HANDLE( req, res ); break; case EJB_HOME_REMOVE_BY_PKEY: doEjbHome_REMOVE_BY_PKEY( req, res ); break; } } catch (org.openejb.InvalidateReferenceException e) { res.setResponse(EJB_SYS_EXCEPTION, e.getRootCause()); } catch (org.openejb.ApplicationException e) { res.setResponse(EJB_APP_EXCEPTION, e.getRootCause()); } catch (org.openejb.SystemException e){ res.setResponse(EJB_ERROR, e.getRootCause()); // TODO:2: This means a severe error occured in OpenEJB // we should restart the container system or take other // aggressive actions to attempt recovery. logger.fatal( req+": OpenEJB encountered an unknown system error in container: ", e); } catch (java.lang.Throwable t){ //System.out.println(req+": Unkown error in container: "); res.setResponse(EJB_ERROR, t); logger.fatal( req+": Unkown error in container: ", t); } finally { logger.info( "EJB RESPONSE: "+res ); res.writeExternal( out ); call.reset(); } }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/e6d37e7c20825a3f7812d90f38772c91519a585a/EjbDaemon.java/buggy/openejb0/src/server/org/openejb/server/EjbDaemon.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 41, 10649, 691, 12, 921, 4348, 316, 16, 23438, 596, 13, 1216, 1185, 95, 7734, 12157, 691, 1111, 273, 394, 12157, 691, 5621, 3639, 12157, 1064, 400, 273, 394, 12157, 1064, 5621, 3639, 368, 2660, 30, 22, 30, 1220, 707, 848, 604, 279, 7876, 1300, 434, 4798, 16, 732, 1410, 540, 368, 506, 8208, 358, 1640, 2182, 777, 18, 225, 10176, 316, 326, 531, 2196, 78, 299, 4632, 981, 3639, 368, 364, 279, 1983, 666, 434, 326, 4798, 6718, 18, 3639, 368, 2252, 18, 1594, 18, 3067, 27821, 503, 225, 848, 506, 6718, 4191, 279, 3639, 368, 3639, 775, 288, 5411, 1111, 18, 896, 6841, 12, 316, 11272, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 3067, 27821, 503, 425, 15329, 5411, 309, 261, 425, 18, 8992, 1276, 2252, 18, 1594, 18, 1248, 21682, 503, 15329, 7734, 368, 6241, 30, 21, 30, 1827, 333, 3436, 7844, 18, 12672, 1779, 603, 4121, 3931, 353, 358, 2811, 339, 7734, 604, 394, 1185, 2932, 1227, 15600, 358, 4472, 640, 8818, 6934, 733, 30, 13773, 425, 18, 8992, 18, 24906, 10663, 5411, 289, 469, 288, 7734, 604, 425, 18, 8992, 31, 5411, 289, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 12706, 503, 425, 13, 288, 5411, 604, 394, 1185, 2932, 23646, 326, 679, 434, 326, 1407, 1865, 326, 1983, 590, 3377, 506, 855, 8863, 7734, 289, 1044, 261, 15155, 268, 15329, 5411, 604, 394, 1185, 2932, 4515, 855, 1004, 590, 30, 13773, 268, 18, 588, 797, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 41, 10649, 691, 12, 921, 4348, 316, 16, 23438, 596, 13, 1216, 1185, 95, 7734, 12157, 691, 1111, 273, 394, 12157, 691, 5621, 3639, 12157, 1064, 400, 273, 394, 12157, 1064, 5621, 3639, 368, 2660, 30, 22, 30, 1220, 707, 848, 604, 279, 7876, 1300, 434, 4798, 16, 732, 1410, 540, 368, 506, 8208, 358, 1640, 2182, 777, 18, 225, 10176, 316, 326, 531, 2196, 78, 299, 4632, 981, 3639, 368, 364, 279, 1983, 666, 434, 326, 4798, 6718, 18, 3639, 368, 2252, 18, 1594, 18, 3067, 27821, 503, 225, 848, 506, 6718, 4191, 279, 3639, 368, 3639, 775, 288, 5411, 1111, 18, 896, 6841, 12, 316, 11272, 3639, 289, 1044, 261, 6290, 18, 1594, 2 ]
public static double jsFunction_setUTCFullYear(Context cx, Scriptable thisObj, Object[] args, Function funObj) { return makeDate(thisObj, args, 3, false, funObj);
private double jsFunction_setUTCFullYear(Object[] args) { return makeDate(args, 3, false);
public static double jsFunction_setUTCFullYear(Context cx, Scriptable thisObj, Object[] args, Function funObj) { return makeDate(thisObj, args, 3, false, funObj); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/1f40b84b6c54487dd6f26829d1ebda36a7567a38/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 3828, 2083, 67, 542, 11471, 5080, 5593, 12, 1042, 9494, 16, 4766, 10402, 22780, 15261, 16, 4766, 10402, 1033, 8526, 833, 16, 4766, 10402, 4284, 9831, 2675, 13, 565, 288, 3639, 327, 1221, 1626, 12, 2211, 2675, 16, 833, 16, 890, 16, 629, 16, 9831, 2675, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 3828, 2083, 67, 542, 11471, 5080, 5593, 12, 1042, 9494, 16, 4766, 10402, 22780, 15261, 16, 4766, 10402, 1033, 8526, 833, 16, 4766, 10402, 4284, 9831, 2675, 13, 565, 288, 3639, 327, 1221, 1626, 12, 2211, 2675, 16, 833, 16, 890, 16, 629, 16, 9831, 2675, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
midletClassNames[i] = midlets[i].getClassName();
String className = midlets[i].getClassName(); if (useDefaultPackage) { int dotIndex = className.lastIndexOf('.'); if (dotIndex != -1) { className = className.substring( dotIndex + 1 ); } } midletClassNames[i] = className;
public String[] getMidletClassNames() { Midlet[] midlets = getMidlets(); String[] midletClassNames = new String[ midlets.length ]; for (int i = 0; i < midlets.length; i++) { midletClassNames[i] = midlets[i].getClassName(); } return midletClassNames; }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/3b8c8b6c4d94de23963f563b591ccfed1277b62e/BuildSetting.java/buggy/enough-polish-build/source/src/de/enough/polish/ant/build/BuildSetting.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 2108, 350, 1810, 18127, 1435, 288, 202, 202, 20711, 1810, 8526, 7501, 17307, 273, 2108, 350, 17307, 5621, 202, 202, 780, 8526, 7501, 1810, 18127, 273, 394, 514, 63, 7501, 17307, 18, 2469, 308, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 7501, 17307, 18, 2469, 31, 277, 27245, 288, 1082, 202, 13138, 1810, 18127, 63, 77, 65, 273, 7501, 17307, 63, 77, 8009, 588, 3834, 5621, 202, 202, 97, 202, 202, 2463, 7501, 1810, 18127, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 2108, 350, 1810, 18127, 1435, 288, 202, 202, 20711, 1810, 8526, 7501, 17307, 273, 2108, 350, 17307, 5621, 202, 202, 780, 8526, 7501, 1810, 18127, 273, 394, 514, 63, 7501, 17307, 18, 2469, 308, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 7501, 17307, 18, 2469, 31, 277, 27245, 288, 1082, 202, 13138, 1810, 18127, 63, 77, 65, 273, 7501, 17307, 63, 77, 8009, 588, 3834, 5621, 202, 202, 97, 202, 202, 2463, 7501, 1810, 18127, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]