rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
final AOFigure target = (AOFigure)((AbstractGraphicalEditPart)getViewer().getEditPartRegistry().get((AOObject)arg)).getFigure(); | public void update(Observable o, Object arg) { if(arg != null){ // State updated if(arg instanceof State){ final State state = (State)arg; final IFigure panel = ((WorldEditPart)getParent().getParent().getParent().getParent()).getFigure().getParent(); Display.getDefault().asyncExec(new Runnable() { pu... | 14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/64a00b6d313fc2b3680346148d1257ba4095e408/AOEditPart.java/buggy/ic2d-plugins/org.objectweb.proactive.ic2d.monitoring/src/org/objectweb/proactive/ic2d/monitoring/editparts/AOEditPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
15279,
320,
16,
1033,
1501,
13,
288,
202,
202,
430,
12,
3175,
480,
446,
15329,
1082,
202,
759,
3287,
3526,
1082,
202,
430,
12,
3175,
1276,
3287,
15329,
9506,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
15279,
320,
16,
1033,
1501,
13,
288,
202,
202,
430,
12,
3175,
480,
446,
15329,
1082,
202,
759,
3287,
3526,
1082,
202,
430,
12,
3175,
1276,
3287,
15329,
9506,
20... | |
protected Coords getCoordsAround(Entity deploy_me, Coords c) { // check the requested coords if (game.getBoard().isLegalDeployment(c, this.getLocalPlayer()) && game.getFirstEntity(c) == null) { // Verify that the unit can be placed in this hex if (!deploy_me.isHexProhibited(game.... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/47f4d48feb80d6eb31a38505d1ee15b051ed58ec/BotClient.java/clean/megamek/src/megamek/client/bot/BotClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
10320,
87,
19850,
517,
87,
30022,
12,
1943,
7286,
67,
3501,
16,
10320,
87,
276,
13,
288,
3639,
368,
866,
326,
3764,
6074,
3639,
309,
261,
13957,
18,
588,
22233,
7675,
291,
30697,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10320,
87,
19850,
517,
87,
30022,
12,
1943,
7286,
67,
3501,
16,
10320,
87,
276,
13,
288,
3639,
368,
866,
326,
3764,
6074,
3639,
309,
261,
13957,
18,
588,
22233,
7675,
291,
30697,
... | ||
boolean parentFound = false; for (int i = 0; i < refs.size(); i++) { DBReferenceNode cur = (DBReferenceNode)refs.get(i); ReferenceNode found = cur.getByUniqueId(parentGroupId); if (found != null) { found.addChild(ref); parentFound = true; break; } | groupIdToNode.put(new Long(groupId), ref); } List roots = new ArrayList(); for (Iterator iter = groupIdToNode.values().iterator(); iter.hasNext(); ) { DBReferenceNode cur = (DBReferenceNode)iter.next(); long parentId = cur.getParentGroupId(); if (parentId >= 0) { DBReferenceNode parent = (DBReferenceNode)groupIdToNod... | public ChannelInfo getChannel(long channelId) { ensureLoggedIn(); ChannelInfo info = new ChannelInfo(); PreparedStatement stmt = null; ResultSet rs = null; try { stmt = _con.prepareStatement(SQL_GET_CHANNEL_INFO); stmt.setLong(1, channelId); rs = s... | 27487 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27487/faa7191e3c6c23c9bf8c3a1ef3c62476b25b1150/DBClient.java/buggy/src/syndie/db/DBClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5307,
966,
16454,
12,
5748,
27709,
13,
288,
3639,
3387,
29327,
5621,
3639,
5307,
966,
1123,
273,
394,
5307,
966,
5621,
3639,
16913,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5307,
966,
16454,
12,
5748,
27709,
13,
288,
3639,
3387,
29327,
5621,
3639,
5307,
966,
1123,
273,
394,
5307,
966,
5621,
3639,
16913,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
... |
if (message == null) { message = new NullPayload(); } if (messageAdapter != null) { try { return (UMOMessageAdapter) ClassHelper.instanciateClass(messageAdapter, new Object[] { message }); } catch (Exception e) { throw new ConnectorServiceException(new Message(Messages.FAILED_TO_CREATE_X_WITH_X, "Message Adapter", mess... | return createMessageAdapter(message, messageAdapter); | public UMOMessageAdapter createMessageAdapter(Object message) throws ConnectorServiceException { if (message == null) { message = new NullPayload(); } if (messageAdapter != null) { try { return (UMOMessageAdapter) ClassHelper.instanciateClass(messageAdapt... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/c6f6cd58073cb481556e83916c280bc896e75771/ConnectorServiceDescriptor.java/clean/mule/src/java/org/mule/providers/service/ConnectorServiceDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
4216,
23836,
4216,
12,
921,
883,
13,
1216,
15779,
15133,
565,
288,
3639,
309,
261,
2150,
422,
446,
13,
288,
5411,
883,
273,
394,
4112,
6110,
5621,
3639,
289,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
4216,
23836,
4216,
12,
921,
883,
13,
1216,
15779,
15133,
565,
288,
3639,
309,
261,
2150,
422,
446,
13,
288,
5411,
883,
273,
394,
4112,
6110,
5621,
3639,
289,
3639,
... |
if ( obj instanceof DesignElementHandle ) { DesignElementHandle handle = (DesignElementHandle) obj; String elementName = handle.getDefn( ).getDisplayName( ); String displayName = handle.getDisplayLabel( DesignElementHandle.USER_LABEL ); if ( !StringUtil.isBlank( displayName ) ) { return elementName + " - " + displayNam... | return getDisplayLabel( obj, true ); | public static String getDisplayLabel( Object obj ) { if ( obj instanceof DesignElementHandle ) { DesignElementHandle handle = (DesignElementHandle) obj; String elementName = handle.getDefn( ).getDisplayName( ); String displayName = handle.getDisplayLabel( DesignElementHandle.USER_LABEL ); if ( !StringUtil.is... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/54a65dd73bba1effaa68099dfb54509007fcdc8b/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,
514,
13854,
2224,
12,
1033,
1081,
262,
202,
95,
202,
202,
430,
261,
1081,
1276,
29703,
1046,
3259,
262,
202,
202,
95,
1082,
202,
15478,
1046,
3259,
1640,
273,
261,
15478,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
13854,
2224,
12,
1033,
1081,
262,
202,
95,
202,
202,
430,
261,
1081,
1276,
29703,
1046,
3259,
262,
202,
202,
95,
1082,
202,
15478,
1046,
3259,
1640,
273,
261,
15478,
... |
if (entryType != IPathEntry.CDT_INCLUDE_FILE && | if (entryType != IPathEntry.CDT_INCLUDE && | private List readToolsOptions(int entryType, List entries, boolean builtIns, IBuildObject obj) { ITool[] t = null; IPath resPath = Path.EMPTY; // check that entryType is correct if (entryType != IPathEntry.CDT_INCLUDE_FILE &&//TODO: we need to implement the proper CDT_LIBRARY handling//calculating the CDT_LIBRARY ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1ca39e56f9431304d032b8a7dd29e4d8ef421912/ManagedBuildInfo.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedBuildInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
855,
10348,
1320,
12,
474,
1241,
559,
16,
987,
3222,
16,
1250,
6650,
5048,
16,
467,
3116,
921,
1081,
13,
288,
202,
202,
45,
6364,
8526,
268,
273,
446,
31,
202,
202,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
855,
10348,
1320,
12,
474,
1241,
559,
16,
987,
3222,
16,
1250,
6650,
5048,
16,
467,
3116,
921,
1081,
13,
288,
202,
202,
45,
6364,
8526,
268,
273,
446,
31,
202,
202,
45... |
log(message, Project.MSG_VERBOSE); break; | private URL fileToURL() { String message = null; if (!(file.exists())) { message = "File " + file + " does not exist"; } if (message == null && !(file.isFile())) { message = "File " + file + " is not a file"; } try { if (message == null) { ... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/f7cfa0b305b543958f837f45f429365015ae09f8/Definer.java/clean/src/main/org/apache/tools/ant/taskdefs/Definer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
613,
12,
2150,
16,
5420,
18,
11210,
67,
21900,
1769,
898,
31,
225,
613,
12,
2150,
16,
5420,
18,
11210,
67,
21900,
1769,
898,
31,
225,
613,
12,
2150,
16,
5420,
18,
11210,
67,
21900,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
613,
12,
2150,
16,
5420,
18,
11210,
67,
21900,
1769,
898,
31,
225,
613,
12,
2150,
16,
5420,
18,
11210,
67,
21900,
1769,
898,
31,
225,
613,
12,
2150,
16,
5420,
18,
11210,
67,
21900,
17... | |
return this; | isOpen = false; return getRuntime().getNil(); | public IRubyObject close() { // I don't think we need to close since we don't actually have // an open stream... return this; } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/af80e8f70b3c6d7fab314143b5f1e641350602b1/RubyDir.java/buggy/src/org/jruby/RubyDir.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1746,
1435,
288,
3639,
368,
467,
2727,
1404,
15507,
732,
1608,
358,
1746,
3241,
732,
2727,
1404,
6013,
1240,
3639,
368,
392,
1696,
1407,
2777,
4202,
16633,
273,
629... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1746,
1435,
288,
3639,
368,
467,
2727,
1404,
15507,
732,
1608,
358,
1746,
3241,
732,
2727,
1404,
6013,
1240,
3639,
368,
392,
1696,
1407,
2777,
4202,
16633,
273,
629... |
public Hashtable checkAttributes(Element element, int eleContext) throws Exception { if (element == null) return null; // Get the proper name: // G_ for global; // LN_ for local + name; // LR_ for local + ref; String elName = element.getLocalName(), name; ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/149e07e14f146c4481ddf14d3477ade18abbe9cd/GeneralAttrCheck.java/buggy/src/org/apache/xerces/validators/schema/GeneralAttrCheck.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
18559,
866,
2498,
12,
1046,
930,
16,
509,
5043,
1042,
13,
1216,
1185,
288,
225,
309,
261,
2956,
422,
446,
13,
282,
327,
446,
31,
225,
368,
968,
326,
5338,
508,
30,
225,
368,
611... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
18559,
866,
2498,
12,
1046,
930,
16,
509,
5043,
1042,
13,
1216,
1185,
288,
225,
309,
261,
2956,
422,
446,
13,
282,
327,
446,
31,
225,
368,
968,
326,
5338,
508,
30,
225,
368,
611... | ||
assertTrue( p.getType() instanceof IPointerType ); assertTrue( ((IPointerType)p.getType()).getType() instanceof IArrayType ); IArrayType at = (IArrayType) ((IPointerType)p.getType()).getType(); assertTrue( at.getType() instanceof IBasicType ); assertInstances( col, p, 2 ); } | assertTrue(p.getType() instanceof IPointerType); assertTrue(((IPointerType) p.getType()).getType() instanceof IArrayType); IArrayType at = (IArrayType) ((IPointerType) p.getType()).getType(); assertTrue(at.getType() instanceof IBasicType); assertInstances(col, p, 2); } | public void testBug84185() throws Exception{ StringBuffer buffer = new StringBuffer(); buffer.append("void f() { \n"); //$NON-NLS-1$ buffer.append(" int ( *p ) [2]; \n"); //$NON-NLS-1$ buffer.append(" (&p)[0] = 1; \n"); //$NON-NLS-1$ buffer.append("} ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
19865,
5193,
30489,
1435,
1216,
1185,
95,
565,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
565,
202,
202,
4106,
18,
6923,
2932,
6459,
284,
1435,
288,
1171,
521,
82,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
19865,
5193,
30489,
1435,
1216,
1185,
95,
565,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
565,
202,
202,
4106,
18,
6923,
2932,
6459,
284,
1435,
288,
1171,
521,
82,
... |
getExtendedProperties().addAll((Collection)newValue); | getExtendedProperties().addAll((Collection) newValue); | public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case ModelPackage.CHART_WITHOUT_AXES__VERSION: setVersion((String)newValue); return; case ModelPackage.CHART_WITHOUT_AXES__TYPE: ... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ChartWithoutAxesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartWithoutAxesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
3164,
2261,
18,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
3164,
2261,
18,
1... |
titleArea = new Composite(parent, SWT.NONE); initializeDialogUnits(titleArea); FormData titleAreaData = new FormData(); titleAreaData.top = new FormAttachment(0,0); titleAreaData.left = new FormAttachment(0,0); titleAreaData.right = new FormAttachment(100,0); titleArea.setLayoutData(titleAreaData); FormLayout layout ... | parent.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { if (titleAreaColor != null) { | private Control createTitleArea(Composite parent) { titleArea = new Composite(parent, SWT.NONE); initializeDialogUnits(titleArea); FormData titleAreaData = new FormData(); titleAreaData.top = new FormAttachment(0,0); titleAreaData.left = new FormAttachment(0,0); titleAreaData.right =... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/da161fa58798fc8bc17f94c43475620ff52e72c2/TitleAreaDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
8888,
752,
4247,
5484,
12,
9400,
982,
13,
288,
377,
202,
2649,
5484,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
4046,
6353,
7537,
12,
2649,
5484,
1769,
377,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
8888,
752,
4247,
5484,
12,
9400,
982,
13,
288,
377,
202,
2649,
5484,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
3639,
4046,
6353,
7537,
12,
2649,
5484,
1769,
377,
2... |
if (n.getKey().toLowerCase().equals("new comment")) { | if (n.getKey().toLowerCase().equals(RepositoryTaskOutlineNode.LABEL_NEW_COMMENT)) { | public void selectionChanged(IWorkbenchPart part, ISelection selection) { if ((part instanceof ContentOutline) && (selection instanceof StructuredSelection)) { Object select = ((StructuredSelection) selection).getFirstElement(); if (select instanceof RepositoryTaskOutlineNode) { RepositoryTaskOutlineNode ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c43887aa6c2b349d0c875bd0ef037be5a88efa23/AbstractRepositoryTaskEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AbstractRepositoryTaskEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
4421,
5033,
12,
45,
2421,
22144,
1988,
1087,
16,
467,
6233,
4421,
13,
288,
1082,
202,
430,
14015,
2680,
1276,
3697,
21805,
13,
597,
261,
10705,
1276,
7362,
2862,
6233,
371... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
4421,
5033,
12,
45,
2421,
22144,
1988,
1087,
16,
467,
6233,
4421,
13,
288,
1082,
202,
430,
14015,
2680,
1276,
3697,
21805,
13,
597,
261,
10705,
1276,
7362,
2862,
6233,
371... |
Pattern pattern = Pattern.compile("(\\p{Cntrl}|\\\\|\\.|\\-|\\*|\\+|\\?|\\]|\\[|\\^|\\{|\\}|\\(|\\)|\\|)"); | public static boolean pg_copy_from(Env env, @NotNull Postgres conn, String tableName, ArrayValue rows, @Optional("") String delimiter, @Op... | 3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/5b9bed335af4b566e6f4514641668c02324b6b0e/PostgresModule.java/buggy/quercus/src/main/java/com/caucho/quercus/lib/db/PostgresModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
7184,
67,
3530,
67,
2080,
12,
3491,
1550,
16,
19694,
632,
5962,
5616,
14107,
1487,
16,
19694,
514,
4775,
16,
19694,
1510,
620,
2595,
16,
19694,
632,
6542,
2932,
7923,
514... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
7184,
67,
3530,
67,
2080,
12,
3491,
1550,
16,
19694,
632,
5962,
5616,
14107,
1487,
16,
19694,
514,
4775,
16,
19694,
1510,
620,
2595,
16,
19694,
632,
6542,
2932,
7923,
514... | |
result.append('='); | result.append("=\""); | private String tagify(String begin, String end, String value) { StringBuffer result = new StringBuffer(); result.append('<'); result.append(begin); if (value != null) { result.append('='); result.append(value); } result.append('>'); result.appen... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/252be96009f138b4a8d480b18c516405490f114a/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
1047,
1164,
12,
780,
2376,
16,
514,
679,
16,
514,
460,
13,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
563,
18,
6923,
2668,
32,
8284,
3639,
563,
18,
6923,
12,
10086,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1047,
1164,
12,
780,
2376,
16,
514,
679,
16,
514,
460,
13,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
563,
18,
6923,
2668,
32,
8284,
3639,
563,
18,
6923,
12,
10086,
... |
synchronized (labels) { labels.add(label); } | public void fill(Composite parent) { final CLabel label = new CLabel(parent, SWT.SHADOW_IN); StatusLineLayoutData statusLineLayoutData = new StatusLineLayoutData(); if (widthHint < 0) { GC gc = new GC(parent); gc.setFont(parent.getFont()); widthHint = gc.getFontMetrics().getAverageCharWidth() * charWidth; ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/edd4f9eab6fd7016da3fc2c181c9eac74a2bc5d1/StatusLineContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/util/StatusLineContributionItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
12,
9400,
982,
13,
288,
1082,
202,
6385,
385,
2224,
1433,
273,
394,
385,
2224,
12,
2938,
16,
348,
8588,
18,
2664,
1880,
7306,
67,
706,
1769,
202,
202,
1482,
1670,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3636,
12,
9400,
982,
13,
288,
1082,
202,
6385,
385,
2224,
1433,
273,
394,
385,
2224,
12,
2938,
16,
348,
8588,
18,
2664,
1880,
7306,
67,
706,
1769,
202,
202,
1482,
1670,
... | |
if (loc!=-1 && loc != name.length()) name = name.substring(loc+1, name.length()); | if (loc != -1 && loc != name.length()) name = name.substring(loc + 1, name.length()); | private IFile createFeatureManifest( IProject project, IFeaturePlugin[] plugins, IFeatureModel featureModel) throws CoreException { IFile file = project.getFile("feature.xml"); //$NON-NLS-1$ WorkspaceFeatureModel model = new WorkspaceFeatureModel(); model.setFile(file); IFeature feature = model.getFeature();... | 14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/9e2be0720da771829ea1c3ada35811a3cf66494d/NewFeaturePatchWizard.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/feature/NewFeaturePatchWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
812,
752,
4595,
9121,
12,
1082,
202,
45,
4109,
1984,
16,
1082,
202,
45,
4595,
3773,
8526,
4799,
16,
1082,
202,
45,
4595,
1488,
2572,
1488,
13,
202,
15069,
30015,
288,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
812,
752,
4595,
9121,
12,
1082,
202,
45,
4109,
1984,
16,
1082,
202,
45,
4595,
3773,
8526,
4799,
16,
1082,
202,
45,
4595,
1488,
2572,
1488,
13,
202,
15069,
30015,
288,
20... |
private Collection getParametersList() throws IllegalAccessException, InvocationTargetException, Exception { | private Collection<?> getParametersList() throws IllegalAccessException, InvocationTargetException, Exception { | private Collection getParametersList() throws IllegalAccessException, InvocationTargetException, Exception { return (Collection) getParametersMethod().invoke(null); } | 46243 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46243/0cdf29715af64edd05229c400f214417fecdef89/Parameterized.java/buggy/org/junit/runners/Parameterized.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
2200,
10028,
682,
1435,
1216,
11900,
16,
15342,
16,
1185,
288,
1082,
202,
2463,
261,
2532,
13,
10028,
1305,
7675,
14407,
12,
2011,
1769,
202,
202,
97,
2,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
2200,
10028,
682,
1435,
1216,
11900,
16,
15342,
16,
1185,
288,
1082,
202,
2463,
261,
2532,
13,
10028,
1305,
7675,
14407,
12,
2011,
1769,
202,
202,
97,
2,
-100,
-100,
-100,
-10... |
BreakpointManager bMgr = (BreakpointManager)getSession().getBreakpointManager(); | BreakpointManager bMgr = ((Session)getSession()).getBreakpointManager(); | public void deleteAllBreakpoints() throws CDIException { BreakpointManager bMgr = (BreakpointManager)getSession().getBreakpointManager(); bMgr.deleteAllBreakpoints(this); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/cbf2f0c899b632244f6abb3b3ecd9a4169172a29/Target.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
27283,
7634,
4139,
1435,
1216,
385,
2565,
503,
288,
202,
202,
20552,
1318,
324,
9455,
273,
261,
20552,
1318,
13,
588,
2157,
7675,
588,
20552,
1318,
5621,
202,
202,
70,
9455... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
27283,
7634,
4139,
1435,
1216,
385,
2565,
503,
288,
202,
202,
20552,
1318,
324,
9455,
273,
261,
20552,
1318,
13,
588,
2157,
7675,
588,
20552,
1318,
5621,
202,
202,
70,
9455... |
AST tmp2325_AST_in = (AST)_t; | AST tmp2324_AST_in = (AST)_t; | public final void radiosetphrase(AST _t) throws RecognitionException { AST radiosetphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2185 = _t; AST tmp2321_AST_in = (AST)_t; match(_t,RADIOSET); _t = _t.getFirstChild(); { _loop2197: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case H... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/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,
12094,
538,
278,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
12094,
538,
278,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
69... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12094,
538,
278,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
12094,
538,
278,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
69... |
private ReportEngineService( ServletConfig servletConfig ) | private ReportEngineService( ServletContext servletContext ) | private ReportEngineService( ServletConfig servletConfig ) { System.setProperty( "RUN_UNDER_ECLIPSE", "false" ); //$NON-NLS-1$ //$NON-NLS-2$ if ( servletConfig == null ) { return; } config = new EngineConfig( ); // Register new image handler HTMLEmitterConfig emitterConfig = new HTMLEmitterConfig( ); emitter... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/4ea91dbf969b6a2c94d239aeb7a50028eecd14bb/ReportEngineService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8706,
4410,
1179,
12,
7971,
809,
8100,
809,
262,
202,
95,
202,
202,
3163,
18,
542,
1396,
12,
315,
15238,
67,
31625,
67,
7228,
2053,
52,
1090,
3113,
315,
5743,
6,
11272,
4329,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8706,
4410,
1179,
12,
7971,
809,
8100,
809,
262,
202,
95,
202,
202,
3163,
18,
542,
1396,
12,
315,
15238,
67,
31625,
67,
7228,
2053,
52,
1090,
3113,
315,
5743,
6,
11272,
4329,... |
for (Iterator it = editorsToClose.iterator(); it.hasNext();) { | for (Iterator it = partsToClose.iterator(); it.hasNext();) { | public Object preCloseParts(List editorsToClose, boolean save, final IWorkbenchWindow window) { // reference count (how many occurrences of a model will go away?) PostCloseInfo postCloseInfo = new PostCloseInfo(); for (Iterator it = editorsToClose.iterator(); it.hasNext();) { IWorkbenchPart part = (IWorkbenchPa... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/bfb038cbd8b17b684fa4e61df7a94e2c6f9f48ee/SaveablesList.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/SaveablesList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
675,
4605,
4305,
12,
682,
29431,
774,
4605,
16,
1250,
1923,
16,
1082,
202,
6385,
467,
2421,
22144,
3829,
2742,
13,
288,
202,
202,
759,
2114,
1056,
261,
13606,
4906,
15698,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
675,
4605,
4305,
12,
682,
29431,
774,
4605,
16,
1250,
1923,
16,
1082,
202,
6385,
467,
2421,
22144,
3829,
2742,
13,
288,
202,
202,
759,
2114,
1056,
261,
13606,
4906,
15698,... |
public static IGroupsManagerPermissions getInstance() { | public static synchronized IGroupsManagerPermissions getInstance(){ | public static IGroupsManagerPermissions getInstance() { if (_instance == null){ _instance = new GroupsManagerBlockEntitySelectPermissions(); } return _instance; } | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/0a3b53aea01f571283e3cab97a49f80eac5987f4/GroupsManagerBlockEntitySelectPermissions.java/clean/source/org/jasig/portal/channels/groupsmanager/permissions/GroupsManagerBlockEntitySelectPermissions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
467,
3621,
1318,
6521,
3694,
1435,
282,
288,
1377,
309,
261,
67,
1336,
422,
446,
15329,
540,
389,
1336,
273,
394,
14712,
1318,
1768,
1943,
3391,
6521,
5621,
1377,
289,
1377,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
467,
3621,
1318,
6521,
3694,
1435,
282,
288,
1377,
309,
261,
67,
1336,
422,
446,
15329,
540,
389,
1336,
273,
394,
14712,
1318,
1768,
1943,
3391,
6521,
5621,
1377,
289,
1377,
32... |
return defaultConfig; | return defaultConfig; | String getDefault() { return defaultConfig; } | 1353 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1353/d83720b96b6d901484f23dd2ad240894c6484fe3/Configuration.java/clean/src/org/doit/muffin/Configuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
4829,
1435,
565,
288,
202,
2463,
26161,
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,... | [
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
4829,
1435,
565,
288,
202,
2463,
26161,
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,
... |
return reader.getPdfObject(pages[pageNumber - 1].get(PdfName.RESOURCES)); | return PdfReader.getPdfObject(pages[pageNumber - 1].get(PdfName.RESOURCES)); | PdfObject getResources(int pageNumber) { return reader.getPdfObject(pages[pageNumber - 1].get(PdfName.RESOURCES)); } | 3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/d5ea4c51096461cb5209f62da9c94ef3cf85c500/PdfReaderInstance.java/clean/itext/src/com/lowagie/text/pdf/PdfReaderInstance.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
9989,
921,
14590,
12,
474,
26484,
13,
288,
3639,
327,
9989,
2514,
18,
588,
18562,
921,
12,
7267,
63,
2433,
1854,
300,
404,
8009,
588,
12,
18562,
461,
18,
11395,
55,
10019,
565,
289,
2,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
9989,
921,
14590,
12,
474,
26484,
13,
288,
3639,
327,
9989,
2514,
18,
588,
18562,
921,
12,
7267,
63,
2433,
1854,
300,
404,
8009,
588,
12,
18562,
461,
18,
11395,
55,
10019,
565,
289,
2,
... |
Pattern p = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE | Pattern.MULTILINE | Pattern.DOTALL | Pattern.UNICODE_CASE | Pattern.CANON_EQ); Matcher matcher = p.matcher(resource); | try { return performQuery(fetchResource(queryUrl, repositoryUser, repositoryPassword), queryPattern, taskPrefix, repositoryUrl, monitor, resultCollector); | public static IStatus performQuery(String resource, String regexp, String taskPrefix, String repositoryUrl, IProgressMonitor monitor, QueryHitCollector collector) { // List<AbstractQueryHit> hits = new ArrayList<AbstractQueryHit>(); Pattern p = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE | Pattern.MULTILINE |... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1c3379fdf418709b655f508e2e5662afac107d22/WebRepositoryConnector.java/buggy/sandbox/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/web/WebRepositoryConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
1482,
3073,
1138,
12,
780,
1058,
16,
514,
7195,
16,
514,
1562,
2244,
16,
514,
3352,
1489,
16,
1082,
202,
45,
5491,
7187,
6438,
16,
2770,
13616,
7134,
8543,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
1482,
3073,
1138,
12,
780,
1058,
16,
514,
7195,
16,
514,
1562,
2244,
16,
514,
3352,
1489,
16,
1082,
202,
45,
5491,
7187,
6438,
16,
2770,
13616,
7134,
8543,
13,
288,
... |
this.name = name; | OdaProperty( String name, String value, String tagName ) { this.name = name; this.value = value; this.tagName = tagName; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/OdaDummyProvider.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/oda/OdaDummyProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
51,
2414,
1396,
12,
514,
508,
16,
514,
460,
16,
514,
7196,
262,
202,
202,
95,
1082,
202,
2211,
18,
529,
273,
508,
31,
1082,
202,
2211,
18,
1132,
273,
460,
31,
1082,
202,
2211,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
51,
2414,
1396,
12,
514,
508,
16,
514,
460,
16,
514,
7196,
262,
202,
202,
95,
1082,
202,
2211,
18,
529,
273,
508,
31,
1082,
202,
2211,
18,
1132,
273,
460,
31,
1082,
202,
2211,
... | |
public void redo() { // Shorthand TreeContext tree = parent.getTree(); OutlineLayoutManager layout = tree.doc.panel.layout; // Find fallback node for drawing and editing boolean allWillBeDeleted = false; Node fallbackNode = null; if (deleteMode) { fallbackNode = ((PrimitiveUndoableReplace) primitives.lastElem... | 49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/f4a141516549e52ddb2c885e626957144ad704c8/CompoundUndoableReplace.java/buggy/outliner/src/com/organic/maynard/outliner/CompoundUndoableReplace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
1118,
83,
1435,
95,
202,
202,
759,
1555,
15830,
202,
202,
2471,
1042,
3413,
33,
2938,
18,
588,
2471,
5621,
202,
202,
21805,
3744,
1318,
6741,
33,
3413,
18,
2434,
18,
139... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
1118,
83,
1435,
95,
202,
202,
759,
1555,
15830,
202,
202,
2471,
1042,
3413,
33,
2938,
18,
588,
2471,
5621,
202,
202,
21805,
3744,
1318,
6741,
33,
3413,
18,
2434,
18,
139... | ||
NamingContextExt context=rootContext; TreePath path=null; int length=0; | NamingContextExt context = rootContext; TreePath path = null; int length = 0; | public void unbind() { DefaultMutableTreeNode node; NamingContextExt context=rootContext; TreePath path=null; int length=0; try { path=getSelectionPath(); length=path.getPathCount(); if (length>1) { for (int i=1;i<length-1;i++) { node=(DefaultMutableTreeNode) path.getPathComponent(i); ... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/6bcfe850c93f1148978263364e80cb2d4b984bea/NSTree.java/buggy/src/org/jacorb/naming/namemanager/NSTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17449,
1435,
565,
288,
202,
1868,
19536,
12513,
756,
31,
202,
24102,
1042,
2482,
819,
33,
3085,
1042,
31,
202,
2471,
743,
589,
33,
2011,
31,
202,
474,
769,
33,
20,
31,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17449,
1435,
565,
288,
202,
1868,
19536,
12513,
756,
31,
202,
24102,
1042,
2482,
819,
33,
3085,
1042,
31,
202,
2471,
743,
589,
33,
2011,
31,
202,
474,
769,
33,
20,
31,
202,
... |
E jtEdge = m_jtGraph.getEdgeFactory().createEdge(jtSource, jtTarget); | E jtEdge = m_jtGraph.addEdge(jtSource, jtTarget); | void handleJGraphInsertedEdge(org.jgraph.graph.Edge jEdge) { if (isDangling(jEdge)) { // JGraphT forbid dangling edges so we cannot add the edge yet. // If later the edge becomes connected, we will add it. } else { // FIXME hb 28-nov-05: waiting for jgraph to go gen... | 47032 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47032/c3e5aa9fad3b9e0927939b2a916ae5049377758b/JGraphModelAdapter.java/buggy/src/org/jgrapht/ext/JGraphModelAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1640,
46,
4137,
27329,
6098,
12,
3341,
18,
78,
4660,
18,
4660,
18,
6098,
525,
6098,
13,
565,
288,
3639,
309,
261,
291,
40,
539,
2456,
12,
78,
6098,
3719,
288,
5411,
368,
804,
413... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1640,
46,
4137,
27329,
6098,
12,
3341,
18,
78,
4660,
18,
4660,
18,
6098,
525,
6098,
13,
565,
288,
3639,
309,
261,
291,
40,
539,
2456,
12,
78,
6098,
3719,
288,
5411,
368,
804,
413... |
result.append("<input type=\"checkbox\" name=\"").append(PARAM_OVERWRITEINHERITED).append("\" value=\"true\"").append(disabled); | result.append("<input type=\"checkbox\" name=\"").append(PARAM_OVERWRITEINHERITED).append( "\" value=\"true\"").append(disabled); | private StringBuffer buildPermissionEntryForm(CmsAccessControlEntry entry, boolean editable, boolean extendedView, String inheritRes) { StringBuffer result = new StringBuffer(8); // get name and type of the current entry I_CmsPrincipal principal = getCms().lookupPrincipal(entry.... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/332d87a4507ea84a05602410389902e16f82b5e4/CmsChacc.java/buggy/src/org/opencms/workplace/commons/CmsChacc.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6674,
1361,
5041,
1622,
1204,
12,
4747,
16541,
1622,
1241,
16,
1250,
13754,
16,
1250,
7021,
1767,
16,
514,
6811,
607,
13,
288,
7734,
6674,
563,
273,
394,
6674,
12,
28,
1769,
7734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6674,
1361,
5041,
1622,
1204,
12,
4747,
16541,
1622,
1241,
16,
1250,
13754,
16,
1250,
7021,
1767,
16,
514,
6811,
607,
13,
288,
7734,
6674,
563,
273,
394,
6674,
12,
28,
1769,
7734,
... |
add(texDesc); } if(entity.hasC3() || entity.hasC3i()) { | tempPanel.add(texDesc); } if (entity.hasC3() || entity.hasC3i()) { | public CustomMechDialog(ClientGUI clientgui, Client client, Entity entity, boolean editable) { super(clientgui.frame, "Customize pilot/mech stats...", true); this.entity = entity; this.clientgui = clientgui; this.client = client; this.options = entity.getCrew().getOptions(... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/9b5ed26a31d4a1f411b5b0325a290050df49ee82/CustomMechDialog.java/clean/megamek/src/megamek/client/ui/AWT/CustomMechDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6082,
4667,
343,
6353,
12,
1227,
43,
5370,
1004,
20292,
16,
2445,
1004,
16,
3887,
1522,
16,
1250,
13754,
13,
288,
3639,
2240,
12,
2625,
20292,
18,
3789,
16,
315,
3802,
554,
293,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6082,
4667,
343,
6353,
12,
1227,
43,
5370,
1004,
20292,
16,
2445,
1004,
16,
3887,
1522,
16,
1250,
13754,
13,
288,
3639,
2240,
12,
2625,
20292,
18,
3789,
16,
315,
3802,
554,
293,
2... |
return minMaxMean()[2]; | return minMaxMean()[2]; | public double mean(){ return minMaxMean()[2]; } | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/d5982e47e849069464a67e7ba4da486d79130155/Statistics.java/clean/src/edu/sc/seis/fissuresUtil/bag/Statistics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
3722,
1435,
95,
565,
327,
1131,
2747,
15312,
1435,
63,
22,
15533,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
3722,
1435,
95,
565,
327,
1131,
2747,
15312,
1435,
63,
22,
15533,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
{ return(getName().hashCode()); } | { return(getName().hashCode()); } | hashCode(){ return(getName().hashCode());} | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/929d12f9c1cf27322f4228118023127504d9e8ac/BasicPermission.java/buggy/java/security/BasicPermission.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
13374,
1435,
95,
225,
327,
12,
17994,
7675,
2816,
1085,
10663,
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,
... | [
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
13374,
1435,
95,
225,
327,
12,
17994,
7675,
2816,
1085,
10663,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
testfail = false; | public void testRecord() { testfail = true; if (supportsSymlinks) { executeTarget("test-record"); p = getProject(); assertNotNull("Failed to create dir1", p.getProperty("test.record.dir1.created")); assertNotNull("Failed to create di... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/e5cde210869afc05506dcb3bc5070b7f2014e673/SymlinkTest.java/buggy/src/testcases/org/apache/tools/ant/taskdefs/optional/unix/SymlinkTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2115,
1435,
288,
3639,
1842,
6870,
273,
638,
31,
3639,
309,
261,
28064,
18475,
87,
13,
288,
5411,
1836,
2326,
2932,
3813,
17,
3366,
8863,
5411,
293,
273,
11080,
5621,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2115,
1435,
288,
3639,
1842,
6870,
273,
638,
31,
3639,
309,
261,
28064,
18475,
87,
13,
288,
5411,
1836,
2326,
2932,
3813,
17,
3366,
8863,
5411,
293,
273,
11080,
5621,
541... | |
mbd.trackSync = rs.getBoolean(5); mbd.indexVolumeId = rs.getShort(6); | mbd.trackSync = rs.getInt(5); mbd.trackImap = rs.getBoolean(6); mbd.indexVolumeId = rs.getShort(7); | public static Mailbox.MailboxData getMailboxStats(Connection conn, int mailboxId) throws ServiceException { PreparedStatement stmt = null; ResultSet rs = null; try { stmt = conn.prepareStatement( "SELECT account_id, item_id_checkpoint, size_checkpoint, change_check... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4c89ff9f70777fd0b4b98edb0f794c8e0720288c/DbMailbox.java/buggy/ZimbraServer/src/java/com/zimbra/cs/db/DbMailbox.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
11542,
2147,
18,
30239,
751,
31991,
2147,
4195,
12,
1952,
1487,
16,
509,
14187,
548,
13,
1216,
16489,
288,
3639,
16913,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
31,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
11542,
2147,
18,
30239,
751,
31991,
2147,
4195,
12,
1952,
1487,
16,
509,
14187,
548,
13,
1216,
16489,
288,
3639,
16913,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
31,
363... |
Thread.sleep(500); | synchronized (roster) { long waitTime = SmackConfiguration.getPacketReplyTimeout(); long start = System.currentTimeMillis(); while (!roster.rosterInitialized) { if (waitTime <= 0) { break; } roster.wait(waitTime); waitTime -= System.currentTimeMillis() - start; } } | public Roster getRoster() { if (roster == null) { return null; } // If this is the first time the user has asked for the roster after calling // login, we want to wait up to 2 seconds for the server to send back the // user's roster. This behavior shields API users from... | 966 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/966/fb22583ea746bf1a577bada3ffb2d8356ad716d7/XMPPConnection.java/clean/source/org/jivesoftware/smack/XMPPConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
534,
29811,
4170,
29811,
1435,
288,
3639,
309,
261,
303,
8190,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
368,
971,
333,
353,
326,
1122,
813,
326,
729,
711,
19279,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
534,
29811,
4170,
29811,
1435,
288,
3639,
309,
261,
303,
8190,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
368,
971,
333,
353,
326,
1122,
813,
326,
729,
711,
19279,
36... |
if(parent != null) { | if (parent != null) { | protected Object[] getChildren() { if(children != null) return children; Context cx = Context.enter(); try { Object value = getObject(); if(value == null) return children = empty; if(value == ScriptableObject.NOT_FOUND || value == Undefined.instanc... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/bebd557da53b74c60ab8525aa96904d4cee6224c/VariableModel.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/VariableModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1033,
8526,
10268,
1435,
288,
3639,
309,
12,
5906,
480,
446,
13,
327,
2325,
31,
3639,
1772,
9494,
273,
1772,
18,
2328,
5621,
3639,
775,
288,
5411,
1033,
460,
273,
6455,
5621,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1033,
8526,
10268,
1435,
288,
3639,
309,
12,
5906,
480,
446,
13,
327,
2325,
31,
3639,
1772,
9494,
273,
1772,
18,
2328,
5621,
3639,
775,
288,
5411,
1033,
460,
273,
6455,
5621,
5411,
... |
return Key.decompress(key.isCompressed(), output, bf, Math.min(maxLength, MAX_LENGTH_BEFORE_COMPRESSION), key.compressionAlgorithm, false); | return Key.decompress(dontCompress ? false : key.isCompressed(), output, bf, Math.min(maxLength, MAX_LENGTH_BEFORE_COMPRESSION), key.compressionAlgorithm, false); | public Bucket decode(BucketFactory bf, int maxLength) throws CHKDecodeException, IOException { // Overall hash already verified, so first job is to decrypt. if(key.cryptoAlgorithm != Key.ALGO_AES_PCFB_256_SHA256) throw new UnsupportedOperationException(); BlockCipher cipher; t... | 51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/453d4b996fb63d69f900accadc2e27f5ed795af0/ClientCHKBlock.java/buggy/src/freenet/keys/ClientCHKBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7408,
2495,
12,
4103,
1733,
16222,
16,
509,
13642,
13,
1216,
6469,
47,
6615,
503,
16,
1860,
288,
3639,
368,
10752,
454,
1651,
1818,
13808,
16,
1427,
1122,
1719,
353,
358,
8420,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7408,
2495,
12,
4103,
1733,
16222,
16,
509,
13642,
13,
1216,
6469,
47,
6615,
503,
16,
1860,
288,
3639,
368,
10752,
454,
1651,
1818,
13808,
16,
1427,
1122,
1719,
353,
358,
8420,
18,
... |
final ColorDefinition cdStart = (ColorDefinition) g.getStartColor( ); final ColorDefinition cdEnd = (ColorDefinition) g.getEndColor( ); | final ColorDefinition cdStart = g.getStartColor( ); final ColorDefinition cdEnd = g.getEndColor( ); | public void fillArea( AreaRenderEvent are ) throws ChartException { // SETUP SWING DATA STRUCTURES final GeneralPath gp = new GeneralPath( ); PrimitiveRenderEvent pre; for ( int i = 0; i < are.getElementCount( ); i++ ) { pre = are.getElement( i ); if ( pre instanceof ArcRenderEvent ) { final ArcRenderEve... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c4bcda86484a5d4eaab2a9d4e16806675e8928c8/SwingRendererImpl.java/clean/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
5484,
12,
16668,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
7855,
3079,
16392,
1360,
8730,
7128,
9749,
4830,
55,
202,
202,
6385,
9544,
743,
4178,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3636,
5484,
12,
16668,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
7855,
3079,
16392,
1360,
8730,
7128,
9749,
4830,
55,
202,
202,
6385,
9544,
743,
4178,... |
public static ClassMember makePropertyNamesField(List/*<PropertyDecl>*/ properties, X10NodeFactory nf) { | public static ClassMember makePropertyNamesField(List<PropertyDecl> properties, X10NodeFactory nf) { | public static ClassMember makePropertyNamesField(List/*<PropertyDecl>*/ properties, X10NodeFactory nf) { final Position pos = Position.COMPILER_GENERATED; TypeSystem ts = nf.extensionInfo().typeSystem(); TypeNode tn = nf.CanonicalTypeNode(pos, ts.String()); // get the initial... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/c6a9c5919552b91fb0c4af00afd67a30f78acfc4/PropertyDecl_c.java/clean/x10.compiler/src/polyglot/ext/x10/ast/PropertyDecl_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
1659,
4419,
1221,
29932,
974,
12,
682,
20308,
32,
1396,
3456,
34,
5549,
1790,
16,
1082,
282,
1139,
2163,
907,
1733,
13958,
13,
288,
6647,
727,
11010,
949,
273,
11010,
18,
31075... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
1659,
4419,
1221,
29932,
974,
12,
682,
20308,
32,
1396,
3456,
34,
5549,
1790,
16,
1082,
282,
1139,
2163,
907,
1733,
13958,
13,
288,
6647,
727,
11010,
949,
273,
11010,
18,
31075... |
viewer.setContentProvider(new TasklistContentProvider(TaskListView.getDefault())); viewer.refresh(); | public void testUiFilter() { try { assertNotNull(TaskListView.getDefault()); TreeViewer viewer = TaskListView.getDefault().getViewer(); viewer.setContentProvider(new TasklistContentProvider(TaskListView.getDefault())); viewer.refresh(); TaskListView.getDefault().addFilter(TaskListView.getDefault().getCompleteF... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7b018a7e23bc28485d05a2e67dff6e9e326e3336/TaskListUiTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListUiTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
13943,
1586,
1435,
288,
202,
202,
698,
288,
202,
202,
11231,
5962,
12,
2174,
682,
1767,
18,
588,
1868,
10663,
21114,
202,
2471,
18415,
14157,
273,
3837,
682,
1767,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
13943,
1586,
1435,
288,
202,
202,
698,
288,
202,
202,
11231,
5962,
12,
2174,
682,
1767,
18,
588,
1868,
10663,
21114,
202,
2471,
18415,
14157,
273,
3837,
682,
1767,
18... | |
int maxBytes = (pf.length() - bytesCopied < buffer.length ? (int) (pf.length() - bytesCopied) : buffer.length); | int maxBytes = (int)Math.min(pf.length() - bytesCopied, buffer.length); | public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p... | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/670d2dce35e3033459b7343ab34ed921bd2331ed/Unpacker.java/clean/src/lib/com/izforge/izpack/installer/Unpacker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
225,
288,
565,
3884,
18,
1289,
12,
2211,
1769,
565,
775,
565,
288,
1377,
368,
1377,
368,
10188,
291,
1012,
1377,
12942,
596,
273,
446,
31,
1377,
2407,
13249,
1538,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
225,
288,
565,
3884,
18,
1289,
12,
2211,
1769,
565,
775,
565,
288,
1377,
368,
1377,
368,
10188,
291,
1012,
1377,
12942,
596,
273,
446,
31,
1377,
2407,
13249,
1538,
... |
if ( (bootclasspath == null) || (bootclasspath.size() == 0) ) { | if (bootclasspath == null || bootclasspath.size() == 0) { | public boolean execute() throws BuildException { attributes.log("Using jikes compiler", Project.MSG_VERBOSE); Path classpath = new Path(project); // Jikes doesn't support bootclasspath dir (-bootclasspath) // so we'll emulate it for compatibility and convenience. if (bootclasspath... | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/0e1127c22ce00b23a65cbf90b3abf1cee81133ab/Jikes.java/buggy/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1836,
1435,
1216,
18463,
288,
3639,
1677,
18,
1330,
2932,
7736,
525,
25235,
5274,
3113,
5420,
18,
11210,
67,
21900,
1769,
3639,
2666,
10006,
273,
394,
2666,
12,
4406,
1769,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1836,
1435,
1216,
18463,
288,
3639,
1677,
18,
1330,
2932,
7736,
525,
25235,
5274,
3113,
5420,
18,
11210,
67,
21900,
1769,
3639,
2666,
10006,
273,
394,
2666,
12,
4406,
1769,
3639... |
actions.add(new MyDeleteAction(new Condition<Object>() { public boolean value(final Object object) { return true; } })); | actions.add(new MyDeleteAction(Conditions.alwaysTrue())); | protected ArrayList<AnAction> createActions(final boolean fromPopup) { final ArrayList<AnAction> actions = new ArrayList<AnAction>(); DefaultActionGroup group = new DefaultActionGroup(ProjectBundle.message("add.new.jdk.text"), true); group.getTemplatePresentation().setIcon(Icons.ADD_ICON); myProjectJdksMo... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4cd6cb8331020e1184c369a59466b2ec1e14ec03/ProjectJdksConfigurable.java/buggy/source/com/intellij/openapi/roots/ui/configuration/ProjectJdksConfigurable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
2407,
32,
979,
1803,
34,
752,
6100,
12,
6385,
1250,
628,
13770,
13,
288,
565,
727,
2407,
32,
979,
1803,
34,
4209,
273,
394,
2407,
32,
979,
1803,
34,
5621,
565,
2989,
1803,
1114,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2407,
32,
979,
1803,
34,
752,
6100,
12,
6385,
1250,
628,
13770,
13,
288,
565,
727,
2407,
32,
979,
1803,
34,
4209,
273,
394,
2407,
32,
979,
1803,
34,
5621,
565,
2989,
1803,
1114,
... |
Object invoke(Object component, UMOEventContext context) throws InvocationTargetException, IllegalAccessException, TransformerException; | Object invoke(Object component, UMOEventContext context) throws Exception; | Object invoke(Object component, UMOEventContext context) throws InvocationTargetException, IllegalAccessException, TransformerException; | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/3b6db82aada710315fc8a2dd59b863cf7351f292/UMOEntryPoint.java/clean/src/java/org/mule/umo/model/UMOEntryPoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1033,
4356,
12,
921,
1794,
16,
587,
5980,
1133,
1042,
819,
13,
1216,
15342,
16,
5411,
11900,
16,
21684,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1033,
4356,
12,
921,
1794,
16,
587,
5980,
1133,
1042,
819,
13,
1216,
15342,
16,
5411,
11900,
16,
21684,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
domainCs = DomainObjectFactory.newClassificationScheme(); domainCs.setLongName("essai-UML"); | domainCsi = DomainObjectFactory.newClassificationSchemeItem(); domainCsi.setName("Essai-Domain Model"); domainCsi.setType("TEST"); List result = classificationSchemeItemDAO.find(domainCsi); if(result.size() == 0) throw new PersisterException("Classification Scheme Item: " + domainCsi.getName() + " does not exist on... | private void initClassifications() throws PersisterException { domainCs = DomainObjectFactory.newClassificationScheme(); domainCs.setLongName("essai-UML"); ArrayList eager = new ArrayList(); eager.add(EagerConstants.CS_CSI); List result = classificationSchemeDAO.find(domainCs, eager); if(result.size... | 55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/f5c39d666697063ca445fd917a23df758d827d03/UMLPersister.java/buggy/src/gov/nih/nci/ncicb/cadsr/loader/persister/UMLPersister.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
797,
6640,
1435,
1216,
453,
414,
1249,
503,
288,
565,
2461,
14272,
273,
6648,
921,
1733,
18,
2704,
19168,
9321,
5621,
565,
2461,
14272,
18,
542,
3708,
461,
2932,
403,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
797,
6640,
1435,
1216,
453,
414,
1249,
503,
288,
565,
2461,
14272,
273,
6648,
921,
1733,
18,
2704,
19168,
9321,
5621,
565,
2461,
14272,
18,
542,
3708,
461,
2932,
403,
106... |
char [] cbuf = new char [1]; | while (true) { reader.mark(1); int c = reader.read(); | public boolean readSequence(BufferedReader reader, SymbolParser symParser, SeqIOListener listener) throws IllegalSymbolException, IOException, ParseException { ((ParseErrorSource)(listener)).addParseErrorListener(this); String line; StreamParser sparser = null; boolean hasMoreSequenc... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/2fd053162b0d8c1b080386e5a495cde4038b325b/EmblLikeFormat.java/buggy/src/org/biojava/bio/seq/io/EmblLikeFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
855,
4021,
12,
17947,
2514,
2949,
16,
9506,
202,
5335,
2678,
282,
5382,
2678,
16,
9506,
202,
6926,
4294,
2223,
225,
2991,
13,
202,
15069,
2141,
5335,
503,
16,
1860,
16,
10616,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
855,
4021,
12,
17947,
2514,
2949,
16,
9506,
202,
5335,
2678,
282,
5382,
2678,
16,
9506,
202,
6926,
4294,
2223,
225,
2991,
13,
202,
15069,
2141,
5335,
503,
16,
1860,
16,
10616,... |
if (this.application == null) | if (this.application == null) { | public ActionMessages getActionMessages() { if (this.application == null) return null; return (ActionMessages) this.application.getAttribute(Globals.MESSAGE_KEY); } | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/ef68ef66f0feb3bc08bb217fe9abcd99045ef301/ConfigHelper.java/clean/src/share/org/apache/struts/config/ConfigHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
5058,
12473,
5058,
1435,
288,
3639,
309,
261,
2211,
18,
3685,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
327,
261,
1803,
5058,
13,
333,
18,
3685,
18,
588,
1499,
12,
19834,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
5058,
12473,
5058,
1435,
288,
3639,
309,
261,
2211,
18,
3685,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
327,
261,
1803,
5058,
13,
333,
18,
3685,
18,
588,
1499,
12,
19834,... |
final InitializationReadUtils iru; iru = new InitializationReadUtils(); | final InitializationReadUtils iru = new InitializationReadUtils(); | public void visitField(@NotNull PsiField field) { if (!field.hasModifierProperty(PsiModifier.STATIC)) { return; } if (field.getInitializer() != null) { return; } final PsiClass containingClass = field.getContainingClass(); ... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/8189192314f13a88915b80bf3b8b8b1aa7ba3942/StaticVariableUninitializedUseInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/initialization/StaticVariableUninitializedUseInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
974,
26964,
5962,
453,
7722,
974,
652,
13,
288,
5411,
309,
16051,
1518,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
974,
26964,
5962,
453,
7722,
974,
652,
13,
288,
5411,
309,
16051,
1518,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
... |
public static InstructionList createConversion( InstructionFactory fact, Type fromType, Type toType) { InstructionList il = new InstructionList(); if ((fromType.equals(Type.BYTE) || fromType.equals(Type.CHAR) || fromType.equals(Type.SHORT)) && (toType.equals(Type.INT))) { return il; } if (fromType.equals(toType)) ... | public static InstructionList createConversion(InstructionFactory factory,Type fromType,Type toType) { return createConversion(factory,fromType,toType,false); | public static InstructionList createConversion( InstructionFactory fact, Type fromType, Type toType) { //System.out.println("cast to: " + toType); InstructionList il = new InstructionList(); //PR71273 if ((fromType.equals(Type.BYTE) || fromType.eq... | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/8b87db5ac266514d35e1632546d6888e7ca2f6d0/Utility.java/buggy/weaver/src/org/aspectj/weaver/bcel/Utility.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
24605,
682,
752,
6814,
12,
5411,
24605,
1733,
5410,
16,
5411,
1412,
628,
559,
16,
5411,
1412,
28234,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
4155,
358,
30,
315,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
24605,
682,
752,
6814,
12,
5411,
24605,
1733,
5410,
16,
5411,
1412,
628,
559,
16,
5411,
1412,
28234,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
4155,
358,
30,
315,
39... |
if(ActivePlan.global().isCurrentGCNursery()) { | if (ActivePlan.global().isCurrentGCNursery()) { | protected int sanityExpectedRC(ObjectReference object, int sanityRootRC) { Space space = Space.getSpaceForObject(object); // Nursery if (space == Gen.nurserySpace) { return global().preGCSanity() ? SanityChecker.UNSURE : SanityChecker.DEAD; ... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/GenSanityCheckerLocal.java/buggy/MMTk/src/org/mmtk/plan/generational/GenSanityCheckerLocal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
509,
16267,
6861,
11529,
12,
22101,
733,
16,
4766,
5411,
509,
16267,
2375,
11529,
13,
288,
565,
14059,
3476,
273,
14059,
18,
588,
3819,
1290,
921,
12,
1612,
1769,
3639,
368,
423,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
509,
16267,
6861,
11529,
12,
22101,
733,
16,
4766,
5411,
509,
16267,
2375,
11529,
13,
288,
565,
14059,
3476,
273,
14059,
18,
588,
3819,
1290,
921,
12,
1612,
1769,
3639,
368,
423,
29... |
IContentProvider cp = getContentProvider(); if (cp instanceof ITreePathContentProvider) { | IContentProvider cp = getContentProvider(); if (cp instanceof ITreePathContentProvider) { | public boolean isExpandable(Object elementOrTreePath) { Object element; TreePath path; if (elementOrTreePath instanceof TreePath) { path = (TreePath) elementOrTreePath; element = path.getLastSegment(); } else { element = elementOrTreePath; path = null; } IContentProvider cp = getContent... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7dea322b00f8363f209617dc36ba0b47497db00d/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
12271,
429,
12,
921,
930,
1162,
2471,
743,
13,
288,
377,
202,
921,
930,
31,
377,
202,
2471,
743,
589,
31,
377,
202,
430,
261,
2956,
1162,
2471,
743,
1276,
4902,
743,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
12271,
429,
12,
921,
930,
1162,
2471,
743,
13,
288,
377,
202,
921,
930,
31,
377,
202,
2471,
743,
589,
31,
377,
202,
430,
261,
2956,
1162,
2471,
743,
1276,
4902,
743,
... |
sb.append(seconds).append("s"); | sb.append(seconds).append('s'); | public static String formatTime(long timeInterval, int maxTerms, boolean withSecondFractions) { StringBuffer sb = new StringBuffer(64); long l = timeInterval; int termCount = 0; // int weeks = (int)(l / ((long)7*24*60*60*1000)); if (weeks > 0) { sb.append(weeks).append("w"); termCount++; l = l -... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/62fd59041864b4ed1f43adc676de6bfb5ea977f3/TimeUtil.java/buggy/src/freenet/support/TimeUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
740,
950,
12,
5748,
813,
4006,
16,
509,
943,
11673,
16,
1250,
598,
8211,
13724,
87,
13,
288,
202,
202,
780,
1892,
2393,
273,
394,
6674,
12,
1105,
1769,
202,
202,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
740,
950,
12,
5748,
813,
4006,
16,
509,
943,
11673,
16,
1250,
598,
8211,
13724,
87,
13,
288,
202,
202,
780,
1892,
2393,
273,
394,
6674,
12,
1105,
1769,
202,
202,
5... |
withContext(new ContextAction() { public Object run(Context cx) { Object[] array = new Object[args.length]; System.arraycopy(args, 0, array, 0, args.length); Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); for (int i=0; i < fileList.size(); i+... | IProxy iproxy = new IProxy(IProxy.PROCESS_FILES); iproxy.args = args; shellContextFactory.call(iproxy); | public static int exec(String origArgs[]) { for (int i=0; i < origArgs.length; i++) { String arg = origArgs[i]; if (arg.equals("-sealedlib")) { sealedStdLib = true; break; } } global = getGlobal(); errorReporter = new Tool... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/fe1695149a5be9f5989e68d9eea04d2a3e60152f/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
1196,
12,
780,
1647,
2615,
63,
5717,
565,
288,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
411,
1647,
2615,
18,
2469,
31,
277,
27245,
288,
5411,
514,
1501,
273,
1647,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
1196,
12,
780,
1647,
2615,
63,
5717,
565,
288,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
411,
1647,
2615,
18,
2469,
31,
277,
27245,
288,
5411,
514,
1501,
273,
1647,
2... |
exportResourcesAction = new ExportResourcesAction(workbench, WorkbenchMessages.getString("ExportResourcesAction.fileMenuText")); | exportResourcesAction = new ExportResourcesAction(getWindow(), WorkbenchMessages.getString("ExportResourcesAction.fileMenuText")); | private void makeActions() { // The actions in jface do not have menu vs. enable, vs. disable vs. color // There are actions in here being passed the workbench - problem // Get services for notification. IPartService partService = getWindow().getPartService(); WWinKeyBindingService keyBindingService = getWindo... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3abf7e666b049e8686c7447ef2d2ac3b9c94f944/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchActionBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1221,
6100,
1435,
288,
202,
202,
759,
1021,
4209,
316,
525,
865,
741,
486,
1240,
3824,
6195,
18,
4237,
16,
6195,
18,
4056,
6195,
18,
2036,
202,
202,
759,
6149,
854,
4209... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1221,
6100,
1435,
288,
202,
202,
759,
1021,
4209,
316,
525,
865,
741,
486,
1240,
3824,
6195,
18,
4237,
16,
6195,
18,
4056,
6195,
18,
2036,
202,
202,
759,
6149,
854,
4209... |
} else if (nt == st.TT_WORD) { | } else if (nt == StreamTokenizer.TT_WORD) { | public Meme(InputStream is, SymbolTokenization symParser) throws IOException, IllegalSymbolException, IllegalAlphabetException { StreamTokenizer st = new StreamTokenizer( new BufferedReader(new InputStreamReader(is))); st.eolIsSignificant(true); st.wordChars('*', '*'); st.parseNumbers(); S... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/fcbeda1e0bc8dc82a3c505af04fa6bb0330580f8/Meme.java/clean/src/org/biojava/bio/program/Meme.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
490,
4698,
12,
4348,
353,
16,
8565,
1345,
1588,
5382,
2678,
13,
540,
1216,
1860,
16,
2141,
5335,
503,
16,
2141,
27316,
503,
288,
565,
3961,
10524,
384,
273,
394,
3961,
10524,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
490,
4698,
12,
4348,
353,
16,
8565,
1345,
1588,
5382,
2678,
13,
540,
1216,
1860,
16,
2141,
5335,
503,
16,
2141,
27316,
503,
288,
565,
3961,
10524,
384,
273,
394,
3961,
10524,
12,
... |
writeBodyPart(outStream, rootMimeBodyPart, boundary, charSetEncoding); | writeBodyPart(outStream, rootMimeBodyPart, boundary); | public static void complete(OutputStream outStream, OutputStream bufferedSoapOutStream, LinkedList binaryNodeList, String boundary, String contentId, String charSetEncoding,String SOAPContentType) { try { startWritingMime(outStream, bou... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/fed77b32800d850cf7cc1aaf68bb68800baf5c71/MIMEOutputUtils.java/buggy/modules/xml/src/org/apache/axis2/om/impl/MIMEOutputUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
3912,
12,
4632,
28997,
16,
27573,
8962,
11445,
20601,
1182,
1228,
16,
10688,
3112,
19914,
16,
27573,
514,
7679,
16,
514,
16095,
16,
514,
1149,
694,
4705,
16,
780,
16434,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
3912,
12,
4632,
28997,
16,
27573,
8962,
11445,
20601,
1182,
1228,
16,
10688,
3112,
19914,
16,
27573,
514,
7679,
16,
514,
16095,
16,
514,
1149,
694,
4705,
16,
780,
16434,
8... |
break _loop453; | break _loop457; | protected final void mDECIMAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = DECIMAL_LITERAL; int _saveIndex; if (((LA(1)=='.'))&&( !(inElementContent || inAttributeContent) )) { { match(... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/b779c75ce0b21b86c9e0bdc063e6252c8bd1072c/XQueryLexer.java/buggy/src/org/exist/xquery/parser/XQueryLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
918,
312,
23816,
67,
23225,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
312,
23816,
67,
23225,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
... |
Asserts.isTrue(isCurrent()); | assert isCurrent(); | public void exceptionRaised(RaiseException exception) { Asserts.isTrue(isCurrent()); if (abortOnException()) { // FIXME: printError explodes on some nullpointer //getRuntime().getRuntime().printError(exception.getException()); threadService.getMainThread().raise(RubyEx... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/RubyThread.java/clean/src/org/jruby/RubyThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1520,
12649,
5918,
12,
30570,
503,
1520,
13,
288,
3639,
1815,
25694,
5621,
3639,
309,
261,
18623,
1398,
503,
10756,
288,
5411,
368,
9852,
30,
1172,
668,
22991,
1145,
603,
2690,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1520,
12649,
5918,
12,
30570,
503,
1520,
13,
288,
3639,
1815,
25694,
5621,
3639,
309,
261,
18623,
1398,
503,
10756,
288,
5411,
368,
9852,
30,
1172,
668,
22991,
1145,
603,
2690,
... |
logger.debug(message); | logger.debug( RuntimeConstants.DEBUG_PREFIX + message); | public void logVelocityMessage(int level, String message) { switch (level) { case LogSystem.WARN_ID: logger.warn( message ); break; case LogSystem.INFO_ID: logger.info(message); break; case LogSystem.DEBUG... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/d247c305d3e3c2c7d4e74d17b922c0dc0f68482f/AvalonLogSystem.java/buggy/src/java/org/apache/velocity/runtime/log/AvalonLogSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
613,
27522,
1079,
12,
474,
1801,
16,
514,
883,
13,
565,
288,
3639,
1620,
261,
2815,
13,
540,
288,
5411,
648,
1827,
3163,
18,
27999,
67,
734,
30,
7734,
1194,
18,
8935,
12,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
613,
27522,
1079,
12,
474,
1801,
16,
514,
883,
13,
565,
288,
3639,
1620,
261,
2815,
13,
540,
288,
5411,
648,
1827,
3163,
18,
27999,
67,
734,
30,
7734,
1194,
18,
8935,
12,
8... |
final boolean _starts_with (Node context, String s1, String s2) | static boolean _starts_with (Node context, String s1, String s2) | final boolean _starts_with (Node context, String s1, String s2) { return s1.startsWith (s2); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/fa1829d3996dacab7d19f1cbf604faa6b626e0e5/Expr.java/clean/libraries/javalib/gnu/xml/xpath/Expr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1250,
389,
17514,
67,
1918,
261,
907,
819,
16,
514,
272,
21,
16,
514,
272,
22,
13,
225,
288,
565,
327,
272,
21,
18,
17514,
1190,
261,
87,
22,
1769,
225,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1250,
389,
17514,
67,
1918,
261,
907,
819,
16,
514,
272,
21,
16,
514,
272,
22,
13,
225,
288,
565,
327,
272,
21,
18,
17514,
1190,
261,
87,
22,
1769,
225,
289,
2,
-100,
-100,
-10... |
int context) | int context) | public final Address readBarrier(ObjectReference src, Address slot, int context) throws InlinePragma { // read barrier currently unimplemented if (Assert.VERIFY_ASSERTIONS) Assert._assert(false); return Address.max(); } | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/fcd75edc79dd2d11a22c8bdd22f8fcd19eb62a3c/BasePlan.java/clean/MMTk/src/org/mmtk/plan/BasePlan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
5267,
855,
5190,
10342,
12,
22101,
1705,
16,
5267,
4694,
16,
6862,
282,
509,
819,
13,
565,
1216,
16355,
2050,
9454,
288,
565,
368,
855,
24651,
4551,
640,
21099,
565,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
5267,
855,
5190,
10342,
12,
22101,
1705,
16,
5267,
4694,
16,
6862,
282,
509,
819,
13,
565,
1216,
16355,
2050,
9454,
288,
565,
368,
855,
24651,
4551,
640,
21099,
565,
309,
261,
... |
ISymbol look = table.getCompilationUnit().lookupTemplate( "String", args ); | ISymbol look = table.getCompilationUnit().lookupTemplateId( "String", args ); | public void test_14_3__4_ParameterDefaults() throws Exception{ newTable(); ITemplateSymbol template = table.newTemplateSymbol( "String" ); table.getCompilationUnit().addSymbol( template ); ISymbol param = table.newSymbol( "T", TypeInfo.t_templateParameter ); param.getTypeInfo().setDefault( new TypeInfo( TypeI... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/5a0369683c183e148f3c496273fb138a89fe9911/ParserSymbolTableTemplateTests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ParserSymbolTableTemplateTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
3461,
67,
23,
972,
24,
67,
1662,
7019,
1435,
1216,
1185,
95,
202,
202,
2704,
1388,
5621,
9506,
202,
1285,
29761,
5335,
1542,
273,
1014,
18,
2704,
2283,
5335,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
3461,
67,
23,
972,
24,
67,
1662,
7019,
1435,
1216,
1185,
95,
202,
202,
2704,
1388,
5621,
9506,
202,
1285,
29761,
5335,
1542,
273,
1014,
18,
2704,
2283,
5335,
12... |
throw org.postgresql.Driver.notImplemented(); | return new BlobOutputStream(this); | public OutputStream getOutputStream() throws SQLException { throw org.postgresql.Driver.notImplemented(); } | 45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/8439a83d84fb159a790ed2b6d14d4151b9890857/LargeObject.java/buggy/src/interfaces/jdbc/org/postgresql/largeobject/LargeObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8962,
22553,
1435,
1216,
6483,
225,
288,
565,
327,
394,
12741,
4632,
12,
2211,
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... | [
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8962,
22553,
1435,
1216,
6483,
225,
288,
565,
327,
394,
12741,
4632,
12,
2211,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
rb_define_method(rb_cString, "capitalize", rb_str_capitalize, 0); rb_define_method(rb_cString, "swapcase", rb_str_swapcase, 0); | */ stringClass.defineMethod("capitalize", getMethod("m_capitalize", false)); /*rb_define_method(rb_cString, "swapcase", rb_str_swapcase, 0); | public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getObjectClass()); stringClass.includeModule(ruby.getRubyClass("Comparable")); // stringClass.includeModule(ruby.getModules().getEnumerable()); stringClass.defin... | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/8e00ad1c7ae96f50ae0bd521483380788f891b7b/RbString.java/buggy/org/jruby/core/RbString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
780,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
533,
797,
273,
22155,
18,
11255,
797,
2932,
780,
3113,
22155,
18,
588,
921,
797,
10663,
7734,
533,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
780,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
533,
797,
273,
22155,
18,
11255,
797,
2932,
780,
3113,
22155,
18,
588,
921,
797,
10663,
7734,
533,
... |
int pos = bufferPos[bufferStackPos]; switch (buffer[pos]) { | int p = bufferPos[bufferStackPos]; switch (buffer[p]) { | private void skipWhiteSpace() { char[] buffer = bufferStack[bufferStackPos]; int limit = bufferLimit[bufferStackPos]; while (++bufferPos[bufferStackPos] < limit) { int pos = bufferPos[bufferStackPos]; switch (buffer[pos]) { case ' ': case '\t': case '\r': continue; case '/': if (pos + 1 < ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/19ffaa04f2b230e0f17600fdd302594b6781c07e/ExpressionEvaluator.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/ExpressionEvaluator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2488,
23108,
1435,
288,
202,
202,
3001,
8526,
1613,
273,
1613,
2624,
63,
4106,
2624,
1616,
15533,
202,
202,
474,
1800,
273,
1613,
3039,
63,
4106,
2624,
1616,
15533,
9506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2488,
23108,
1435,
288,
202,
202,
3001,
8526,
1613,
273,
1613,
2624,
63,
4106,
2624,
1616,
15533,
202,
202,
474,
1800,
273,
1613,
3039,
63,
4106,
2624,
1616,
15533,
9506,
... |
ModelField currentField = (ModelField) i.next(); if ( version.inside( currentField.getVersionRange() ) ) { allFieldsList.add( currentField ); } | fields = new ArrayList(); | public List getAllFields( Version version, boolean withInheritedField ) { ArrayList allFieldsList = new ArrayList(); ArrayList fieldList = new ArrayList(); for (Iterator i = getAllFields( withInheritedField ).iterator(); i.hasNext(); ) { ModelField currentField = (ModelFiel... | 47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/26e89bef1e211c2a80c0086754d9782f578a1e31/ModelClass.java/buggy/modello-core/src/main/java/org/codehaus/modello/model/ModelClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
5514,
2314,
12,
4049,
1177,
16,
1250,
598,
29078,
974,
262,
565,
288,
3639,
2407,
777,
2314,
682,
273,
394,
2407,
5621,
3639,
2407,
25325,
273,
394,
2407,
5621,
3639,
364,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
5514,
2314,
12,
4049,
1177,
16,
1250,
598,
29078,
974,
262,
565,
288,
3639,
2407,
777,
2314,
682,
273,
394,
2407,
5621,
3639,
2407,
25325,
273,
394,
2407,
5621,
3639,
364,
261,... |
log.error(e); | System.err.println(e); | public static void main(String[] args) { char defaultChar = 'A'; int default_mode=0; // receiver int MSG_SIZE=30000; int num_msgs=5; long timeout=1000; int frag_size=8195; for(int i=0; i < args.length; i++) { if("-help".equals(args[i])) { usage(); return; } if("-sender".equals(args[i])) { default... | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/5ad015d9a78e1da3350d9b398b46b2f5d4508564/FragTestUnicast.java/clean/tests/other/org/jgroups/tests/FragTestUnicast.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
202,
3001,
805,
2156,
273,
296,
37,
13506,
202,
474,
225,
805,
67,
3188,
33,
20,
31,
368,
5971,
202,
474,
225,
13771,
67,
4574,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
202,
3001,
805,
2156,
273,
296,
37,
13506,
202,
474,
225,
805,
67,
3188,
33,
20,
31,
368,
5971,
202,
474,
225,
13771,
67,
4574,
33,
... |
public String[] getTriggerNames(SchedulingContext ctxt, String groupName) throws SchedulerException, RemoteException; | String[] getTriggerNames(SchedulingContext ctxt, String groupName) throws SchedulerException, RemoteException; | public String[] getTriggerNames(SchedulingContext ctxt, String groupName) throws SchedulerException, RemoteException; | 3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/RemotableQuartzScheduler.java/clean/src/java/org/quartz/core/RemotableQuartzScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
6518,
1557,
12,
25401,
1042,
14286,
16,
514,
11619,
13,
5411,
1216,
12620,
503,
16,
18361,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
336,
6518,
1557,
12,
25401,
1042,
14286,
16,
514,
11619,
13,
5411,
1216,
12620,
503,
16,
18361,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
private void createInitialContent(IJavaProject project) | private void createInitialContent(IJavaProject project, IProgressMonitor monitor) | private void createInitialContent(IJavaProject project) throws CoreException, JavaModelException, IOException { createRuleSampleLauncher(project); createRule(project); } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7caef71316a31d6e10aafdd596304b5688614924/NewDroolsProjectWizard.java/buggy/drools-ide/src/main/java/org/drools/ide/wizard/project/NewDroolsProjectWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
4435,
1350,
12,
45,
5852,
4109,
1984,
16,
467,
5491,
7187,
6438,
13,
5411,
1216,
30015,
16,
5110,
1488,
503,
16,
1860,
288,
202,
202,
2640,
2175,
8504,
28820,
12,
4406,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
4435,
1350,
12,
45,
5852,
4109,
1984,
16,
467,
5491,
7187,
6438,
13,
5411,
1216,
30015,
16,
5110,
1488,
503,
16,
1860,
288,
202,
202,
2640,
2175,
8504,
28820,
12,
4406,
... |
return gEscapedUserDir; | return gUserDirURI; | private static synchronized String getUserDir() { // get the user.dir property String userDir = ""; try { userDir = System.getProperty("user.dir"); } catch (SecurityException se) { } // return empty string if property value is empty string. if (user... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/057d137239f946cae88b3a7ef32de0e11d4acb9c/XMLEntityManager.java/buggy/src/org/apache/xerces/impl/XMLEntityManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
3852,
514,
4735,
1621,
1435,
288,
3639,
368,
336,
326,
729,
18,
1214,
1272,
3639,
514,
729,
1621,
273,
1408,
31,
3639,
775,
288,
5411,
729,
1621,
273,
2332,
18,
588,
1396,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
3852,
514,
4735,
1621,
1435,
288,
3639,
368,
336,
326,
729,
18,
1214,
1272,
3639,
514,
729,
1621,
273,
1408,
31,
3639,
775,
288,
5411,
729,
1621,
273,
2332,
18,
588,
1396,
29... |
public void testParmToFunction() throws Exception { IASTTranslationUnit tu = parse( "int f(int g(void)) { return g();}", ParserLanguage.C); //$NON-NLS-1$ IASTFunctionDefinition def = (IASTFunctionDefinition) tu .getDeclarations()[0]; IFunction f = (IFunction) def.g... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/75cbff035e927043ff1116bbd1e33e89ab93b9cb/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
27144,
774,
2083,
1435,
1216,
1185,
288,
3639,
467,
9053,
6717,
2802,
28325,
273,
1109,
12,
7734,
315,
474,
284,
12,
474,
314,
12,
6459,
3719,
288,
327,
314,
5621,
1532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27144,
774,
2083,
1435,
1216,
1185,
288,
3639,
467,
9053,
6717,
2802,
28325,
273,
1109,
12,
7734,
315,
474,
284,
12,
474,
314,
12,
6459,
3719,
288,
327,
314,
5621,
1532,
... | ||
public org.quickfix.field.CashOrderQty getCashOrderQty() throws FieldNotFound { org.quickfix.field.CashOrderQty value = new org.quickfix.field.CashOrderQty(); | public quickfix.field.CashOrderQty getCashOrderQty() throws FieldNotFound { quickfix.field.CashOrderQty value = new quickfix.field.CashOrderQty(); | public org.quickfix.field.CashOrderQty getCashOrderQty() throws FieldNotFound { org.quickfix.field.CashOrderQty value = new org.quickfix.field.CashOrderQty(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelRequest.java/clean/src/java/src/quickfix/fix43/OrderCancelRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
39,
961,
2448,
53,
4098,
1927,
961,
2448,
53,
4098,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
39,
961,
2448,
53,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
39,
961,
2448,
53,
4098,
1927,
961,
2448,
53,
4098,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
39,
961,
2448,
53,
... |
GridSphereEvent event = new GridSphereEventImpl(context, req, res); | GridSphereEvent event = new GridSphereEventImpl(aclService, context, req, res); | public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException { GridSphereEvent event = new GridSphereEventImpl(context, req, res); PortletRequest portletReq = event.getPortletRequest(); PortletResponse portletRes = event.getPortletResponse(); //... | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/46c37de5381c81d9871cd5c076208045b426fc41/GridSphereServlet.java/buggy/src/org/gridlab/gridsphere/portletcontainer/GridSphereServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
1216,
1860,
16,
16517,
288,
3639,
7145,
22747,
1133,
871,
273,
394,
7145,
22747,
1133,
2828,
12,
10150,
1179,
16,
819,
16,
111... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
1216,
1860,
16,
16517,
288,
3639,
7145,
22747,
1133,
871,
273,
394,
7145,
22747,
1133,
2828,
12,
10150,
1179,
16,
819,
16,
111... |
server = HTTPSocketFactory.getInstance().createServerSocket(port); | server = HTTPSocketFactory.getInstance().createServerSocket(port); /*#DOTNET_INCLUDE_BEGIN server = new ServerSocket(port); #DOTNET_INCLUDE_END*/ | public HTTPServer(int p, InChannel.Dispatcher d, int m, String s, int t, boolean changePortIfBusy) throws IOException { port = p; dispatcher = d; maxKA = m; threads = new Vector(maxKA); if (s != null) { CODEC = s; } timeout = t; try { //server = new ServerSocket(port)... | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/e6aceb11135184d1a9f0885916d02a3384e9ea6c/HTTPServer.java/clean/src/jade/mtp/http/HTTPServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2239,
2081,
12,
474,
293,
16,
657,
2909,
18,
6681,
302,
16,
509,
312,
16,
514,
272,
16,
509,
268,
16,
1250,
2549,
2617,
2047,
29289,
13,
377,
1216,
1860,
288,
377,
1756,
420... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2239,
2081,
12,
474,
293,
16,
657,
2909,
18,
6681,
302,
16,
509,
312,
16,
514,
272,
16,
509,
268,
16,
1250,
2549,
2617,
2047,
29289,
13,
377,
1216,
1860,
288,
377,
1756,
420... |
fSourceViewer.doOperation(SourceViewer.PASTE); | fSourceViewer.doOperation(ITextOperationTarget.PASTE); | public boolean doGlobalAction(String actionId) { if (actionId.equals(ActionFactory.CUT.getId())) { fSourceViewer.doOperation(SourceViewer.CUT); return true; } else if ( actionId.equals(ActionFactory.COPY.getId())) { fSourceViewer.doOperation(SourceViewer.COPY); return true; } else if ( actionId.equals(A... | 14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/3a3538f68d4a9b275b0fde4fc78ba63950250285/DescriptionSection.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/schema/DescriptionSection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
741,
5160,
1803,
12,
780,
1301,
548,
13,
288,
202,
202,
430,
261,
1128,
548,
18,
14963,
12,
1803,
1733,
18,
39,
1693,
18,
26321,
1435,
3719,
288,
1082,
202,
74,
1830,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
5160,
1803,
12,
780,
1301,
548,
13,
288,
202,
202,
430,
261,
1128,
548,
18,
14963,
12,
1803,
1733,
18,
39,
1693,
18,
26321,
1435,
3719,
288,
1082,
202,
74,
1830,
... |
} else { | } else{ | private static boolean switchStatementContainsUnnecessaryDefault(PsiSwitchStatement statement) { final PsiExpression expression = statement.getExpression(); if (expression == null) { return false; } final PsiType type = expression.getType(); ... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2d46d291193579a7564649b4881c7ea8e02eda5b/UnnecessaryDefaultInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/UnnecessaryDefaultInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
1250,
1620,
3406,
10846,
984,
82,
4128,
1868,
12,
52,
7722,
10200,
3406,
3021,
13,
288,
5411,
727,
453,
7722,
2300,
2652,
273,
3021,
18,
588,
2300,
5621,
5411,
309,
261,
8692,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
760,
1250,
1620,
3406,
10846,
984,
82,
4128,
1868,
12,
52,
7722,
10200,
3406,
3021,
13,
288,
5411,
727,
453,
7722,
2300,
2652,
273,
3021,
18,
588,
2300,
5621,
5411,
309,
261,
8692,
... |
doOpenFirstTimeWindow(); }}); | doOpenFirstTimeWindow(); } | public void run() { doOpenFirstTimeWindow(); }}); | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/75ec763366f8b2daceae7a8cb2180d4d251f0611/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
2896,
3678,
3759,
950,
3829,
5621,
6862,
202,
9090,
1769,
2,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
2896,
3678,
3759,
950,
3829,
5621,
6862,
202,
9090,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
protected void saveEditorState(IMemento mem, IEditorPart ed, MultiStatus res) { final IEditorPart editor = ed; | protected void saveEditorState(IMemento mem, IEditorReference ed, MultiStatus res) { final Editor editorRef = (Editor)ed; final IEditorPart editor = ed.getEditor(false); | protected void saveEditorState(IMemento mem, IEditorPart ed, MultiStatus res) { final IEditorPart editor = ed; final IMemento memento = mem; final MultiStatus result = res; final EditorSite site = (EditorSite)editor.getEditorSite(); if(site.getPane() instanceof MultiEditorInnerPane) return; Platform.run(new ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/de079ab96737361d5d75a0187a9cf4701530d4cc/EditorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1923,
6946,
1119,
12,
3445,
820,
83,
1663,
16,
467,
6946,
1988,
1675,
16,
5991,
1482,
400,
13,
288,
202,
202,
6385,
467,
6946,
1988,
4858,
273,
1675,
31,
202,
202,
6385,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1923,
6946,
1119,
12,
3445,
820,
83,
1663,
16,
467,
6946,
1988,
1675,
16,
5991,
1482,
400,
13,
288,
202,
202,
6385,
467,
6946,
1988,
4858,
273,
1675,
31,
202,
202,
6385,... |
data[0]=417814423273472L; data[1]=16777216L; data[2]=6597069766656L; data[3]=32L; | data[0]=835628841828352L; data[1]=33554432L; data[2]=26388279066624L; data[3]=128L; | private static final long[] mk_tokenSet_2() { long[] data = new long[8]; data[0]=417814423273472L; data[1]=16777216L; data[2]=6597069766656L; data[3]=32L; return data; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/44415d5ab271629cb9c572bd44ec8cedcc36aaca/XQueryTreeParser.java/buggy/src/org/exist/xquery/parser/XQueryTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1525,
8526,
5028,
67,
2316,
694,
67,
22,
1435,
288,
202,
202,
5748,
8526,
501,
273,
394,
1525,
63,
28,
15533,
202,
202,
892,
63,
20,
65,
33,
24,
4033,
28,
3461,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
1525,
8526,
5028,
67,
2316,
694,
67,
22,
1435,
288,
202,
202,
5748,
8526,
501,
273,
394,
1525,
63,
28,
15533,
202,
202,
892,
63,
20,
65,
33,
24,
4033,
28,
3461,
... |
public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2134,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2134,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
... |
joinCost = joinCostFunction.cost(prevUnit, candidateUnit, newPath); | joinCost = joinCostFunction.cost(prevUnit, candidateUnit); | private ViterbiPath getPath(ViterbiPath path, ViterbiCandidate candidate) { int cost; ViterbiPath newPath = new ViterbiPath(); Unit candidateUnit = candidate.getUnit(); newPath.setCandidate(candidate); newPath.setPrevious(path); int joinCost; int targetCo... | 24259 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24259/7873d2d8762d997ab7ec8918af0ef1b743f5925d/Viterbi.java/clean/java/de/dfki/lt/mary/unitselection/viterbi/Viterbi.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
776,
2165,
13266,
743,
4339,
12,
58,
2165,
13266,
743,
589,
16,
4697,
202,
58,
2165,
13266,
11910,
5500,
13,
288,
3639,
509,
6991,
31,
3639,
776,
2165,
13266,
743,
14954,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
776,
2165,
13266,
743,
4339,
12,
58,
2165,
13266,
743,
589,
16,
4697,
202,
58,
2165,
13266,
11910,
5500,
13,
288,
3639,
509,
6991,
31,
3639,
776,
2165,
13266,
743,
14954,
273,
394,
... |
channel.setInstanceIDAttribute ("c" + (iHighest + 1)); | String sInstanceID = "c" + (iHighest + 1); channel.setInstanceIDAttribute (sInstanceID); | public org.jasig.portal.layout.IChannel getChannel(HttpServletRequest req) { IXml channelXml = getChannelXml (req); channel =(org.jasig.portal.layout.IChannel) channelXml.getRoot (); List instanceIDs = new ArrayList (); HttpSession session = req.getSession (false); ILayoutBean layoutBean = (ILayoutB... | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/34fe075352ad39ebb08294328dbe68e830a0af8d/SubscriberBean.java/buggy/source/org/jasig/portal/SubscriberBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
2358,
18,
78,
345,
360,
18,
24386,
18,
6741,
18,
45,
2909,
16454,
12,
2940,
18572,
1111,
13,
282,
288,
565,
467,
4432,
1904,
4432,
273,
16454,
4432,
261,
3658,
1769,
565,
1904,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
2358,
18,
78,
345,
360,
18,
24386,
18,
6741,
18,
45,
2909,
16454,
12,
2940,
18572,
1111,
13,
282,
288,
565,
467,
4432,
1904,
4432,
273,
16454,
4432,
261,
3658,
1769,
565,
1904,
27... |
public RubyClass newSubClass(String name, RubyModule parent) { return new IntegerMetaClass(name, this, parent); | public RubyClass newSubClass(String name, SinglyLinkedList parentCRef) { return new IntegerMetaClass(name, this, parentCRef); | public RubyClass newSubClass(String name, RubyModule parent) { return new IntegerMetaClass(name, this, parent); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/a1b8fc1d456e3d5c6e01579b88773383068aa85c/IntegerMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/IntegerMetaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
394,
1676,
797,
12,
780,
508,
16,
19817,
3120,
982,
13,
288,
3639,
327,
394,
2144,
2781,
797,
12,
529,
16,
333,
16,
982,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
394,
1676,
797,
12,
780,
508,
16,
19817,
3120,
982,
13,
288,
3639,
327,
394,
2144,
2781,
797,
12,
529,
16,
333,
16,
982,
1769,
202,
97,
2,
-100,
-100,
-100,
-100... |
colorBuffer.append( line.replaceAll( "\n", "\n<br>" ) ); | colorBuffer.append( wordWrappedLine.toString().replaceAll( "\n", "<br>" ) ); | public static void printLine( String line ) { outputStream.println( line ); mirrorStream.println( line ); getDebugStream().println( line ); getSessionStream().println( line ); StringBuffer colorBuffer = new StringBuffer(); colorBuffer.append( "<font color=black>" ); colorBuffer.append( line.replaceAll( "\n", "\... | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/f09f180a2077bc670147865875bfadc51bc19fdb/KoLmafiaCLI.java/clean/src/net/sourceforge/kolmafia/KoLmafiaCLI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1172,
1670,
12,
514,
980,
262,
202,
95,
202,
202,
2844,
1228,
18,
8222,
12,
980,
11272,
202,
202,
27197,
1228,
18,
8222,
12,
980,
11272,
202,
202,
588,
2829,
1228,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1172,
1670,
12,
514,
980,
262,
202,
95,
202,
202,
2844,
1228,
18,
8222,
12,
980,
11272,
202,
202,
27197,
1228,
18,
8222,
12,
980,
11272,
202,
202,
588,
2829,
1228,
... |
} else if (param instanceof Complex) { return ((Complex)param).neg(); } | public Object umin(Object param) throws ParseException { if (param instanceof Number) { return new Double(-((Number)param).doubleValue()); } else if (param instanceof Complex) { return ((Complex)param).neg(); } throw new ParseException("Invalid parameter type"); } | 54194 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54194/b456a9b7946cbfb810782358fd6466140381d6d1/UMinus.java/buggy/src/org/nfunk/jep/function/UMinus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
9570,
267,
12,
921,
579,
13,
1216,
10616,
288,
202,
202,
430,
261,
891,
1276,
3588,
13,
288,
1082,
202,
2463,
394,
3698,
19236,
12443,
1854,
13,
891,
2934,
9056,
620,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
9570,
267,
12,
921,
579,
13,
1216,
10616,
288,
202,
202,
430,
261,
891,
1276,
3588,
13,
288,
1082,
202,
2463,
394,
3698,
19236,
12443,
1854,
13,
891,
2934,
9056,
620,
10... | |
mojoDescriptors.put( mojoDescriptor.getId(), mojoDescriptor ); | mojoDescriptors.put( mojoDescriptor.getFullGoalName(), mojoDescriptor ); | public void processPluginDescriptor( MavenPluginDescriptor mavenPluginDescriptor ) throws CycleDetectedException { PluginDescriptor pluginDescriptor = mavenPluginDescriptor.getPluginDescriptor(); String key = pluginDescriptor.getId(); if ( pluginsInProcess.contains( key ) ) { ... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/24c6328ad361f8e709e2b3fddefd9cde220a0628/DefaultPluginManager.java/clean/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
3773,
3187,
12,
17176,
3773,
3187,
20499,
3773,
3187,
262,
3639,
1216,
385,
3409,
22614,
503,
565,
288,
3639,
6258,
3187,
1909,
3187,
273,
20499,
3773,
3187,
18,
588,
3773,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3773,
3187,
12,
17176,
3773,
3187,
20499,
3773,
3187,
262,
3639,
1216,
385,
3409,
22614,
503,
565,
288,
3639,
6258,
3187,
1909,
3187,
273,
20499,
3773,
3187,
18,
588,
3773,... |
public void deleteFolder(CmsUser currentUser, CmsProject currentProject, String foldername) throws CmsException { CmsResource onlineFolder; // read the folder, that shold be deleted CmsFolder cmsFolder = readFolder(currentUser,currentProject,foldername); try { onlineFolder = readFolder(currentUser,on... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/9847b45dd645efdb2ad2880b1204871363eb60b9/CmsResourceBroker.java/buggy/src/com/opencms/file/mySql/CmsResourceBroker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1430,
3899,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
6862,
9506,
514,
3009,
529,
13,
202,
202,
15069,
11228,
288,
9506,
202,
4747,
1420,
12365,
3899,
31,
9506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1430,
3899,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
6862,
9506,
514,
3009,
529,
13,
202,
202,
15069,
11228,
288,
9506,
202,
4747,
1420,
12365,
3899,
31,
9506,... | ||
Element scalar = convertor.createElement("scalar"); scalar.setAttribute("dictRef", "pdb:segID"); scalar.appendChild(convertor.createTextNode(pdbAtom.getSegID())); | Element scalar = new CMLScalar(); scalar.addAttribute(new Attribute("dictRef", "pdb:segID")); scalar.appendChild(pdbAtom.getSegID()); | public void customize(Object object, Atom atom, Element nodeToAdd) throws Exception { if (!(object instanceof Convertor)) { throw new CDKException("The convertor is not instanceof Convertor!"); } Convertor convertor = (Convertor)object; if (atom instanceof PDBAtom) { ... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/055202470434dc981bccb7243c82b36a0efe9b87/PDBAtomCustomizer.java/clean/src/org/openscience/cdk/libio/cml/PDBAtomCustomizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20236,
12,
921,
733,
16,
7149,
3179,
16,
3010,
756,
13786,
13,
1216,
1185,
288,
3639,
309,
16051,
12,
1612,
1276,
4037,
280,
3719,
288,
5411,
604,
394,
24570,
2932,
1986,
1765,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20236,
12,
921,
733,
16,
7149,
3179,
16,
3010,
756,
13786,
13,
1216,
1185,
288,
3639,
309,
16051,
12,
1612,
1276,
4037,
280,
3719,
288,
5411,
604,
394,
24570,
2932,
1986,
1765,... |
Object[] l_statement = (Object[])batch.elementAt(i); | Object[] l_statement = (Object[])batch.elementAt(i); | public int[] executeBatch() throws SQLException { if (batch == null) batch = new Vector(); int size = batch.size(); int[] result = new int[size]; int i = 0; try { //copy current state of statement String[] l_origSqlFragments = m_sqlFragments; Object[] l_origBinds = m_binds; String[] l_origBind... | 45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/1b80e0122f09051cc9f9d60687cf70eee87a97d8/AbstractJdbc2Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8526,
1836,
4497,
1435,
1216,
6483,
202,
95,
202,
202,
430,
261,
5303,
422,
446,
13,
1082,
202,
5303,
273,
394,
5589,
5621,
202,
202,
474,
963,
273,
2581,
18,
1467,
5621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8526,
1836,
4497,
1435,
1216,
6483,
202,
95,
202,
202,
430,
261,
5303,
422,
446,
13,
1082,
202,
5303,
273,
394,
5589,
5621,
202,
202,
474,
963,
273,
2581,
18,
1467,
5621,... |
/* * (non-Javadoc) @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ | /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ | public void done(IJobChangeEvent event) { JobInfo info = getJobInfo(event.getJob()); if (event.getResult().getSeverity() == IStatus.ERROR) { info.setError(event.getResult()); UIJob job = new UIJob(ProgressMessages.getString("JobProgressManager.OpenProgressJob")) {//$NON-NLS-1$ /* * (non-Javadoc) @see org... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d3b4b31ecabe1d86134fe8862237288d7938f95b/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2731,
12,
45,
2278,
20930,
871,
13,
288,
202,
202,
2278,
966,
1123,
273,
13024,
966,
12,
2575,
18,
588,
2278,
10663,
202,
202,
430,
261,
2575,
18,
588,
1253,
7675,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2731,
12,
45,
2278,
20930,
871,
13,
288,
202,
202,
2278,
966,
1123,
273,
13024,
966,
12,
2575,
18,
588,
2278,
10663,
202,
202,
430,
261,
2575,
18,
588,
1253,
7675,
588,
... |
addCommand("getAccountGroups", "gag", GET_ACCOUNT_GROUPS); | private void initCommands() { mCommandIndex = new HashMap<String, Integer>(); addCommand("addAccountAlias", "aaa", ADD_ACCOUNT_ALIAS); addCommand("createAccount", "ca", CREATE_ACCOUNT); addCommand("createBulkAccounts", "cabulk", CREATE_BULK_ACCOUNTS); addCommand("copyAccount", "cp... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/8412908b5588eacdad58ae113aeb326bc30b1fee/ProvUtil.java/buggy/ZimbraServer/src/java/com/zimbra/cs/account/ProvUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
9127,
1435,
288,
3639,
312,
2189,
1016,
273,
394,
4317,
32,
780,
16,
2144,
34,
5621,
3639,
20008,
2932,
1289,
3032,
2936,
3113,
315,
26676,
3113,
11689,
67,
21690,
67,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
9127,
1435,
288,
3639,
312,
2189,
1016,
273,
394,
4317,
32,
780,
16,
2144,
34,
5621,
3639,
20008,
2932,
1289,
3032,
2936,
3113,
315,
26676,
3113,
11689,
67,
21690,
67,
23... | |
if ("WORK".equals(element.getParentNode().getFirstChild().getNodeName())) { | if ("HOME".equals(element.getParentNode().getFirstChild().getNodeName())) { vCard.setEmailHome(getTextContent(element)); } else { | private void setupEmails() { NodeList nodes = document.getElementsByTagName("USERID"); for (int i = 0; i < nodes.getLength(); i++) { Element element = (Element) nodes.item(i); if ("WORK".equals(element.getParentNode().getFirstChild().getNodeName())) { ... | 4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/237ab44301a7f04522e1c943e66dc5aad4f17a33/VCardProvider.java/clean/source/org/jivesoftware/smackx/provider/VCardProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
3875,
26614,
1435,
288,
5411,
16781,
2199,
273,
1668,
18,
588,
3471,
10401,
2932,
4714,
734,
8863,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2199,
18,
588,
1782,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
3875,
26614,
1435,
288,
5411,
16781,
2199,
273,
1668,
18,
588,
3471,
10401,
2932,
4714,
734,
8863,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2199,
18,
588,
1782,
5621,
... |
elPaletteEntries.remove( iSmaller ); elPaletteEntries.remove( iSmaller ); | elPaletteEntries1.remove( iSmaller ); elPaletteEntries1.remove( iSmaller ); | private final void swap( int iIndex1, int iIndex2 ) { final Object o1 = elPaletteEntries.get( iIndex1 ); final Object o2 = elPaletteEntries.get( iIndex2 ); int iSmaller = Math.min( iIndex1, iIndex2 ); elPaletteEntries.remove( iSmaller ); elPaletteEntries.remove( iSmaller ); if ( iIndex1 < iIndex2 ) { elPalett... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c26dc595f3d1f8104ed79c12c67f1e8ba7acccc6/PaletteEditorComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/PaletteEditorComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
7720,
12,
509,
22696,
21,
16,
509,
22696,
22,
262,
202,
95,
202,
202,
6385,
1033,
320,
21,
273,
415,
25863,
5400,
18,
588,
12,
22696,
21,
11272,
202,
202,
6385,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
7720,
12,
509,
22696,
21,
16,
509,
22696,
22,
262,
202,
95,
202,
202,
6385,
1033,
320,
21,
273,
415,
25863,
5400,
18,
588,
12,
22696,
21,
11272,
202,
202,
6385,
1... |
s = s.substring(0, index+1) + descriptions[status]; | s = s.substring(0, index+3) + descriptions[status]; | public void setStatus(int newStatus) { if (newStatus < 0 || newStatus > STATUS_MAX) return; // invalid status // if there's an error, add the warning icon if (newStatus == STATUS_NOTIFY || newStatus == STATUS_STD_ERROR) { URL iconURL = getClass().getResource("Bang.gif"); if (iconURL != null) {... | 9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/874393b70bd757d86f655b31b4d563da4716ff3a/NodeStatusButton.java/buggy/csmart/src/org/cougaar/tools/csmart/ui/console/NodeStatusButton.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
9433,
12,
474,
394,
1482,
13,
288,
565,
309,
261,
2704,
1482,
411,
374,
747,
394,
1482,
405,
7136,
67,
6694,
13,
1377,
327,
31,
368,
2057,
1267,
565,
368,
309,
1915,
1807,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
9433,
12,
474,
394,
1482,
13,
288,
565,
309,
261,
2704,
1482,
411,
374,
747,
394,
1482,
405,
7136,
67,
6694,
13,
1377,
327,
31,
368,
2057,
1267,
565,
368,
309,
1915,
1807,
... |
private Header addCookieKillers(Header h) | private Header addCookieKillers(RequestLine rl, Header h) | private Header addCookieKillers(Header h) { List cookieKillers = (List)cookieQueue.remove(0); for (Iterator i = cookieKillers.iterator(); i.hasNext(); ) { String killer = (String)i.next(); logger.debug("adding killer to header: " + killer); h.addField("Set-Cookie", ... | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/858eacdb9a813cb806a97a3e3ee503ae037263dc/SpywareHttpHandler.java/clean/tran/spyware/main/com/metavize/tran/spyware/SpywareHttpHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4304,
527,
6151,
19045,
414,
12,
691,
1670,
11618,
16,
4304,
366,
13,
565,
288,
3639,
987,
3878,
19045,
414,
273,
261,
682,
13,
8417,
3183,
18,
4479,
12,
20,
1769,
3639,
364,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4304,
527,
6151,
19045,
414,
12,
691,
1670,
11618,
16,
4304,
366,
13,
565,
288,
3639,
987,
3878,
19045,
414,
273,
261,
682,
13,
8417,
3183,
18,
4479,
12,
20,
1769,
3639,
364,
261,... |
assertNotNull(((ICScope) tu.getScope()).getBinding( ICScope.NAMESPACE_TYPE_TAG, new String("x").toCharArray())); assertNotNull(((ICScope) tu.getScope()).getBinding( ICScope.NAMESPACE_TYPE_OTHER, new String("f").toCharArray())); assertNotNull(((ICScope) compound.getScope()).getBinding( ICScope.NAMESPACE_TYPE_OTHER, new ... | assertNotNull(((ICScope) tu.getScope()).getBinding( ICScope.NAMESPACE_TYPE_TAG, new String("x").toCharArray())); assertNotNull(((ICScope) tu.getScope()).getBinding( ICScope.NAMESPACE_TYPE_OTHER, new String("f").toCharArray())); assertNotNull(((ICScope) compound.getScope()).getBinding( ICScope.NAMESPACE_TYPE_OTHER, new ... | public void testStructureNamespace() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("struct x {}; \n"); //$NON-NLS-1$ buffer.append("void f( int x ) { \n"); //$NON-NLS-1$ buffer.append(" struct x i; \n"); //$NON-NLS-1$ buffer.append("} ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
6999,
3402,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1697,
619,
2618,
31,
3639,
521,
82,
8863,
4329,
3993,
17,
5106,
17,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
6999,
3402,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1697,
619,
2618,
31,
3639,
521,
82,
8863,
4329,
3993,
17,
5106,
17,... |
Evaluation e = Tester.evaluate(trainTestParams.seqLearner,(SequenceDataset)baseParams.trainData,trainTestParams.splitter); | Evaluation e = Tester.evaluate(trainTestParams.seqLnr.seqLearner,(SequenceDataset)baseParams.trainData,trainTestParams.splitter); | public void doMain() { if (baseParams.trainData==null) { System.out.println("The training data needs to be specified with the -data option."); return; } if (baseParams.sequential && (!(baseParams.trainData instanceof SequenceDataset))) { System.out.println("The training data should be a sequence dataset... | 51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/f0ae4d63d954144d0e0130010d9ddeeda99b4b1b/UI.java/clean/src/edu/cmu/minorthird/classify/UI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
6376,
1435,
202,
95,
202,
565,
309,
261,
1969,
1370,
18,
9754,
751,
631,
2011,
13,
288,
202,
202,
3163,
18,
659,
18,
8222,
2932,
1986,
8277,
501,
4260,
358,
506,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
6376,
1435,
202,
95,
202,
565,
309,
261,
1969,
1370,
18,
9754,
751,
631,
2011,
13,
288,
202,
202,
3163,
18,
659,
18,
8222,
2932,
1986,
8277,
501,
4260,
358,
506,
1... |
logger.debug("got "+xlinks.length+" datasetRef ids from "+xlinktmps.length+" datasetRefs"); | String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/4f23740a9be2f86b9534905b393d4924911cc4c0/XMLDataSet.java/buggy/src/edu/sc/seis/fissuresUtil/xml/XMLDataSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
8526,
4303,
694,
1957,
2673,
1435,
288,
3639,
514,
8526,
619,
1232,
16925,
1121,
273,
5514,
1463,
7957,
2932,
8682,
1957,
8863,
3639,
514,
619,
1232,
3156,
33,
315,
2505,
2207,
5591,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
8526,
4303,
694,
1957,
2673,
1435,
288,
3639,
514,
8526,
619,
1232,
16925,
1121,
273,
5514,
1463,
7957,
2932,
8682,
1957,
8863,
3639,
514,
619,
1232,
3156,
33,
315,
2505,
2207,
5591,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.