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 |
|---|---|---|---|---|---|---|
Zimlet zim = Provisioning.getInstance().getZimlet(zimlet); | Provisioning prov = Provisioning.getInstance(); Zimlet zim = prov.getZimlet(zimlet); | public static void updateZimletConfig(String zimlet, String config) throws ServiceException { Zimlet zim = Provisioning.getInstance().getZimlet(zimlet); if (zim == null) throw ServiceException.INVALID_REQUEST("no such zimlet:" + zimlet, null); Map<String, String> map = new HashMap<String, Strin... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/3428326c667dcf3488cfba79f39b26a108daf42b/ZimletUtil.java/clean/ZimbraServer/src/java/com/zimbra/cs/zimlet/ZimletUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1089,
62,
381,
1810,
809,
12,
780,
998,
381,
1810,
16,
514,
642,
13,
1216,
16489,
288,
3639,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
2285,
381,
1810,
998,
381,
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,
377,
1071,
760,
918,
1089,
62,
381,
1810,
809,
12,
780,
998,
381,
1810,
16,
514,
642,
13,
1216,
16489,
288,
3639,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
2285,
381,
1810,
998,
381,
27... |
ret_val = facetCount * facetCount; | ret_val = (facetCount + 1) * facetCount; | public int getVertexCount(GeometryData data) throws UnsupportedTypeException { int ret_val = 0; switch(data.geometryType) { case GeometryData.TRIANGLES: ret_val = facetCount * facetCount * 6; break; case GeometryData.QUADS: ... | 46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/810889e7aefdf5161f615d3e31a4cfc83d406afa/SphereGenerator.java/clean/src/java/org/j3d/geom/SphereGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
6475,
1380,
12,
9823,
751,
501,
13,
3639,
1216,
7221,
14144,
565,
288,
3639,
509,
325,
67,
1125,
273,
374,
31,
3639,
1620,
12,
892,
18,
14330,
559,
13,
3639,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
6475,
1380,
12,
9823,
751,
501,
13,
3639,
1216,
7221,
14144,
565,
288,
3639,
509,
325,
67,
1125,
273,
374,
31,
3639,
1620,
12,
892,
18,
14330,
559,
13,
3639,
288,
5411,
... |
add(bar, se.shortName, new Dim[] { se.dimension }, se.scenarioName); | if (se.comment==null) add(bar, se.shortName, new Dim[] { se.dimension }, se.scenarioName); else{ if (scenarioComments==null) scenarioComments=new Hashtable(); scenarioComments.put(se.scenarioName,se.comment); add(bar, se.shortName, new Dim[] { se.dimension }, se.scenarioName,se.comment); } | public void run(Object[] entries) { new File(outputDirectory).mkdirs(); String referenceName=referenceBuildId; int underscoreIndex=referenceBuildId.indexOf('_'); if (underscoreIndex!=-1) referenceName=referenceBuildId.substring(0,underscoreIndex); title="Performanc... | 14684 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14684/f03799ac3693fa1352b79a306936204686d32097/FingerPrint.java/clean/bundles/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/FingerPrint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
921,
8526,
3222,
13,
288,
3639,
394,
1387,
12,
2844,
2853,
2934,
24816,
8291,
5621,
3639,
514,
2114,
461,
33,
6180,
3116,
548,
31,
3639,
509,
13677,
1016,
33,
6180,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
921,
8526,
3222,
13,
288,
3639,
394,
1387,
12,
2844,
2853,
2934,
24816,
8291,
5621,
3639,
514,
2114,
461,
33,
6180,
3116,
548,
31,
3639,
509,
13677,
1016,
33,
6180,
... |
if (!currentTitle.equals("")) { | if (!currentTitle.equals(Util.ZERO_LENGTH_STRING)) { | public void setControlSize() { // Set up the top-right controls List topRight = new ArrayList(3); Control currentTop = tabFolder; String currentTitle = getCurrentTitle(); if (!currentTitle.equals("")) { titleLabel.moveAbove(currentTop); currentTop = titleLabel; topRight.add(titleLabel); layout.setNu... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7f5de39e9e8533473d8bbd4f9f6a307bc8135d23/BasicStackPresentation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/BasicStackPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3367,
1225,
1435,
288,
202,
202,
759,
1000,
731,
326,
1760,
17,
4083,
11022,
202,
202,
682,
1760,
4726,
273,
394,
2407,
12,
23,
1769,
9506,
202,
3367,
783,
3401,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3367,
1225,
1435,
288,
202,
202,
759,
1000,
731,
326,
1760,
17,
4083,
11022,
202,
202,
682,
1760,
4726,
273,
394,
2407,
12,
23,
1769,
9506,
202,
3367,
783,
3401,
273... |
getLogger().debug("ExtensionAttachment of category " + attachment.getCategory() + " added to " + getName() + ": " + attachment); | getLogger().debug("ExtensionAttachment of category " + attachment.getCategory() + " added to " + getName() + ": " + attachment); | public void addExtensionAttachment(ExtensionAttachment attachment) { if (attachment == null) { throw new NullPointerException("Parameter attachment must not be null"); } if (extensionAttachments == null) { extensionAttachments = new java.util.ArrayList(); } i... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/a4c54d584966cdfe42e7df9142696e5b0b959885/FObj.java/clean/src/java/org/apache/fop/fo/FObj.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
31798,
6803,
12,
3625,
6803,
6042,
13,
288,
3639,
309,
261,
11461,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
1662,
6042,
1297,
486,
506,
446,
8863,
3639,
289,
3639,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
31798,
6803,
12,
3625,
6803,
6042,
13,
288,
3639,
309,
261,
11461,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
1662,
6042,
1297,
486,
506,
446,
8863,
3639,
289,
3639,
309,
... |
if (Main.pref.getBoolean(dlg.action.prefname+".visible")) dlg.action.actionPerformed(new ActionEvent(this, 0, "")); | private void addIconToggle(JPanel toggleDialogs, ToggleDialog dlg) { IconToggleButton button = new IconToggleButton(dlg.action); dlg.action.button = button; toolBarActions.add(button); toggleDialogs.add(dlg); if (Main.pref.getBoolean(dlg.action.prefname+".visible")) dlg.action.actionPerformed(new Ac... | 2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/65d8ba1e1c7192a02b1c996304587a81a85155f1/MapFrame.java/clean/src/org/openstreetmap/josm/gui/MapFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
5554,
17986,
12,
46,
5537,
10486,
11885,
14072,
16,
399,
9891,
6353,
25840,
13,
288,
3639,
16011,
17986,
3616,
3568,
273,
394,
16011,
17986,
3616,
12,
5761,
75,
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,
225,
202,
1152,
918,
527,
5554,
17986,
12,
46,
5537,
10486,
11885,
14072,
16,
399,
9891,
6353,
25840,
13,
288,
3639,
16011,
17986,
3616,
3568,
273,
394,
16011,
17986,
3616,
12,
5761,
75,
18,
1... | |
super(IDEWorkbenchMessages.OpenWorkspaceAction_text, IAction.AS_DROP_DOWN_MENU); | super(IDEWorkbenchMessages.OpenWorkspaceAction_text, IAction.AS_DROP_DOWN_MENU); | public OpenWorkspaceAction(IWorkbenchWindow window) { super(IDEWorkbenchMessages.OpenWorkspaceAction_text, IAction.AS_DROP_DOWN_MENU); if (window == null) { throw new IllegalArgumentException(); } // TODO help? this.window = window; setToolTipText(IDEWorkbenchMessages.OpenWorks... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/4c330e67056f9376502c63a5ba3e642e01d4d826/OpenWorkspaceAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/OpenWorkspaceAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3502,
8241,
1803,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
3639,
2240,
12,
10385,
2421,
22144,
5058,
18,
3678,
8241,
1803,
67,
955,
16,
467,
1803,
18,
3033,
67,
18768,
67,
12711,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3502,
8241,
1803,
12,
45,
2421,
22144,
3829,
2742,
13,
288,
3639,
2240,
12,
10385,
2421,
22144,
5058,
18,
3678,
8241,
1803,
67,
955,
16,
467,
1803,
18,
3033,
67,
18768,
67,
12711,
... |
private final void walkWaitingThreads(VmThread thread) throws UninterruptiblePragma { | private final void walkWaitingThreads(VmThread thread) { | private final void walkWaitingThreads(VmThread thread) throws UninterruptiblePragma { if (thread == null) { return; } final Monitor waitForMonitor = thread.waitForMonitor; if (waitForMonitor == null) { return; } final VmThread owner = waitForMonitor.ge... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/cac0b47a8329d3094c8467598a4576704004e163/VmThread.java/buggy/core/src/core/org/jnode/vm/scheduler/VmThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
918,
5442,
15946,
13233,
12,
22143,
3830,
2650,
13,
288,
3639,
309,
261,
5930,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
727,
14086,
10712,
7187,
273,
2650,
18,
7048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
918,
5442,
15946,
13233,
12,
22143,
3830,
2650,
13,
288,
3639,
309,
261,
5930,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
727,
14086,
10712,
7187,
273,
2650,
18,
7048,
... |
defaultConstraints.gridheight = aGridHeight; } | defaultConstraints.gridheight = aGridHeight; } | public void setGridHeight(int aGridHeight) { defaultConstraints.gridheight = aGridHeight; } | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/b723a0ed6d31e14b737f03996f1e35c7db8d7236/ToolBarLayout.java/buggy/grendel/ui/ToolBarLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6313,
2686,
12,
474,
279,
6313,
2686,
13,
288,
202,
1886,
4878,
18,
5222,
4210,
273,
279,
6313,
2686,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6313,
2686,
12,
474,
279,
6313,
2686,
13,
288,
202,
1886,
4878,
18,
5222,
4210,
273,
279,
6313,
2686,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
if( apache != null ){ restartApacheAlso = Boolean.valueOf(apache.toLowerCase()).booleanValue(); } unload(); String prePath = System.getProperty("user.dir"); System.out.println("IWMainApplication: restarting application server at : " +prePath); try{ if(System.getProperty("os.name").toLowerCase().indexOf("win")!=-1){ ... | if (apache != null) { restartApacheAlso = Boolean.valueOf(apache.toLowerCase()) .booleanValue(); | public boolean restartApplication(){ String apache = this.getSettings().getProperty(APACHE_RESTART_PARAMETER);//restart string String restartScript = "/idega/bin/apache_restart.sh"; boolean restartApacheAlso = false; if( apache != null ){ restartApacheAlso = Boolean.valueOf(apache.toLowerCase()).bool... | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/cb860f7233cedc5cf73274117359509a0825ff06/IWMainApplication.java/clean/src/java/com/idega/idegaweb/IWMainApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
7870,
3208,
1435,
95,
565,
514,
12291,
273,
333,
18,
588,
2628,
7675,
588,
1396,
12,
2203,
37,
5007,
67,
862,
7570,
67,
9819,
1769,
759,
19164,
533,
565,
514,
7870,
3651,
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,
282,
1071,
1250,
7870,
3208,
1435,
95,
565,
514,
12291,
273,
333,
18,
588,
2628,
7675,
588,
1396,
12,
2203,
37,
5007,
67,
862,
7570,
67,
9819,
1769,
759,
19164,
533,
565,
514,
7870,
3651,
27... |
private void adjustWidth( ) { float amt = 0; if ( minWidthAmt > tableWidth ) { for ( int i = 0; i < tableWidthValues.length; i++ ) { tableWidthValues[i] = colMinSize; } return; } for ( int i = 0; i < tableWidthValues.length; i++ ) { amt = amt + tableWidthValues[i]; } float adjustValue = 0; if ( t... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c300dfa2ab22b4ef551bb0c1bf2205fbe818d4fd/FixTableLayoutCalculator.java/clean/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/FixTableLayoutCalculator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5765,
2384,
12,
262,
202,
95,
202,
202,
5659,
25123,
273,
374,
31,
202,
202,
430,
261,
1131,
2384,
31787,
405,
1014,
2384,
262,
202,
202,
95,
1082,
202,
1884,
261,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5765,
2384,
12,
262,
202,
95,
202,
202,
5659,
25123,
273,
374,
31,
202,
202,
430,
261,
1131,
2384,
31787,
405,
1014,
2384,
262,
202,
202,
95,
1082,
202,
1884,
261,
509,
... | ||
public org.quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { org.quickfix.field.NoPartyIDs value = new org.quickfix.field.NoPartyIDs(); | public quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { quickfix.field.NoPartyIDs value = new quickfix.field.NoPartyIDs(); | public org.quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { org.quickfix.field.NoPartyIDs value = new org.quickfix.field.NoPartyIDs(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/clean/src/java/src/quickfix/fix44/Confirmation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
17619,
5103,
336,
2279,
17619,
5103,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
17619,
5103,
460,
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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
17619,
5103,
336,
2279,
17619,
5103,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
17619,
5103,
460,
273,
394... |
private IJobProgressManagerListener getProgressListener(){ return new IJobProgressManagerListener(){ | private IJobProgressManagerListener getProgressListener() { return new IJobProgressManagerListener() { | private IJobProgressManagerListener getProgressListener(){ return new IJobProgressManagerListener(){ HashSet jobs = new HashSet(); /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#add(org.eclipse.ui.internal.progress.JobInfo) */ public void add(JobInfo info) { ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/cc72ec84df4d93cc632406d8e555ffcc65f0b1b1/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
2278,
5491,
1318,
2223,
3570,
2329,
2223,
1435,
95,
202,
202,
2463,
394,
467,
2278,
5491,
1318,
2223,
1435,
95,
25083,
202,
13482,
6550,
273,
394,
6847,
5621,
25083,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
2278,
5491,
1318,
2223,
3570,
2329,
2223,
1435,
95,
202,
202,
2463,
394,
467,
2278,
5491,
1318,
2223,
1435,
95,
25083,
202,
13482,
6550,
273,
394,
6847,
5621,
25083,
202,
... |
private Context checkContext() { Transaction txn; synchronized (lock) { if (txnProxy == null) { throw new IllegalStateException("Not configured"); } txn = txnProxy.getCurrentTransaction(); } Context context = currentContext.get(); if (context == null) { logger.log(Level.FINER, "join txn:{0}", txn); txn.join(this); cont... | static void checkContext(Context context) { context.txnProxy.getCurrentTransaction(); if (context != currentContext.get()) { throw new TransactionNotActiveException( "No transaction is active"); | private Context checkContext() { Transaction txn; synchronized (lock) { if (txnProxy == null) { throw new IllegalStateException("Not configured"); } txn = txnProxy.getCurrentTransaction(); } Context context = currentContext.get(); if (context == null) { logger.log(Level.FINER, "join txn:{0}", txn);... | 48631 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48631/51014428559746a71eea60ff89c4bc5babf778c1/DataServiceImpl.java/clean/src/server/j2se/com/sun/sgs/impl/service/data/DataServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1772,
866,
1042,
1435,
288,
202,
3342,
7827,
31,
202,
22043,
261,
739,
13,
288,
202,
565,
309,
261,
24790,
3886,
422,
446,
13,
288,
202,
202,
12849,
394,
5477,
2932,
1248,
4351,
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,
3238,
1772,
866,
1042,
1435,
288,
202,
3342,
7827,
31,
202,
22043,
261,
739,
13,
288,
202,
565,
309,
261,
24790,
3886,
422,
446,
13,
288,
202,
202,
12849,
394,
5477,
2932,
1248,
4351,
8... |
public org.quickfix.field.AccountType getAccountType() throws FieldNotFound { org.quickfix.field.AccountType value = new org.quickfix.field.AccountType(); | public quickfix.field.AccountType getAccountType() throws FieldNotFound { quickfix.field.AccountType value = new quickfix.field.AccountType(); | public org.quickfix.field.AccountType getAccountType() throws FieldNotFound { org.quickfix.field.AccountType value = new org.quickfix.field.AccountType(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
559,
23393,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
559,
460,
273,
394,
2358,
18,
19525,
904,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
559,
23393,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
559,
460,
273,
394,
2358,
18,
19525,
904,
18... |
Object compiler = cons.newInstance( new Object[]{err, "javac"} ); | Object compiler = cons.newInstance( new Object[] { err, "javac" } ); | public List compile( String[] classpathElements, String[] sourceDirectories, String destinationDirectory ) throws Exception { /* for ( int i = 0; i < classpathElements.length; i++ ) { System.out.println( "classpathElement = " + classpathElements[i] ); } */ ... | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/763811d0fa4fda452edf7e18caa3acd3ab71f0cb/JavacCompiler.java/clean/maven-mboot2/src/main/java/compile/JavacCompiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
4074,
12,
514,
8526,
10006,
3471,
16,
514,
8526,
1084,
13071,
16,
514,
2929,
2853,
262,
3639,
1216,
1185,
565,
288,
3639,
1748,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
4074,
12,
514,
8526,
10006,
3471,
16,
514,
8526,
1084,
13071,
16,
514,
2929,
2853,
262,
3639,
1216,
1185,
565,
288,
3639,
1748,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
4... |
Object type = info.type; | public MappingInfo lookupNamespaceBinding (String prefix, char[] uriChars, int uriStart, int uriLength, int uriHash, NamespaceBinding oldBindi... | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/0b6520a8fb59cc3d7abd531d03fef53cb941a847/XMLFilter.java/buggy/gnu/xml/XMLFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9408,
966,
3689,
3402,
5250,
261,
780,
1633,
16,
4766,
2398,
1149,
8526,
2003,
7803,
16,
4766,
2398,
509,
2003,
1685,
16,
509,
2003,
1782,
16,
4766,
2398,
509,
2003,
2310,
16,
4766,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9408,
966,
3689,
3402,
5250,
261,
780,
1633,
16,
4766,
2398,
1149,
8526,
2003,
7803,
16,
4766,
2398,
509,
2003,
1685,
16,
509,
2003,
1782,
16,
4766,
2398,
509,
2003,
2310,
16,
4766,... | |
final DiffBuilder builder = new DiffBuilder(file); | final ASTDiffBuilder builder = new ASTDiffBuilder(file); | public PomModelEvent runInner() throws IncorrectOperationException { final DiffBuilder builder = new DiffBuilder(file); DiffTree.diff(new ASTDiffTreeStructure(oldRoot), new ASTDiffTreeStructure(newRoot), new ASTShallowComparator(), builder); file.subtreeChanged(); r... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/861c681cc7935120b47c55d28c7871a6cd77bffb/BlockSupportImpl.java/buggy/source/com/intellij/psi/impl/source/text/BlockSupportImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
453,
362,
1488,
1133,
1086,
2857,
1435,
1216,
657,
6746,
10602,
288,
5411,
727,
9183,
5938,
1263,
2089,
273,
394,
9183,
5938,
1263,
12,
768,
1769,
5411,
13008,
2471,
18,
5413,
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,
6647,
1071,
453,
362,
1488,
1133,
1086,
2857,
1435,
1216,
657,
6746,
10602,
288,
5411,
727,
9183,
5938,
1263,
2089,
273,
394,
9183,
5938,
1263,
12,
768,
1769,
5411,
13008,
2471,
18,
5413,
12,
... |
internalStore.setValue(IPreferenceConstants.DONT_PROMPT_WHEN_SAVEABLE_STILL_OPEN, true); | apiPreferenceStore.setValue(IWorkbenchPreferenceConstants.PROMPT_WHEN_SAVEABLE_STILL_OPEN, false); | private boolean promptForSaving(List modelsToSave, final IWorkbenchWindow window, final boolean canCancel, boolean stillOpenElsewhere) { // Save parts, exit the method if cancel is pressed. if (modelsToSave.size() > 0) { IPreferenceStore internalStore = PrefUtil.getInternalPreferenceStore(); boolean dontPrompt... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a823d5df2ef0ece1049b49e3a61227d522c0e333/SaveablesList.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/SaveablesList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
6866,
1290,
24660,
12,
682,
3679,
774,
4755,
16,
1082,
202,
6385,
467,
2421,
22144,
3829,
2742,
16,
727,
1250,
848,
6691,
16,
1250,
4859,
3678,
12427,
6051,
13,
288,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
6866,
1290,
24660,
12,
682,
3679,
774,
4755,
16,
1082,
202,
6385,
467,
2421,
22144,
3829,
2742,
16,
727,
1250,
848,
6691,
16,
1250,
4859,
3678,
12427,
6051,
13,
288,
202,... |
ncb.setName(authentication.getPrincipal().toString()); | String username = ""; Object principal = authentication.getPrincipal(); if (principal instanceof UserDetails) { username = ((UserDetails) principal).getUsername(); } else { username = principal.toString(); } ncb.setName(username); | public void handle(Callback callback, Authentication authentication) throws IOException, UnsupportedCallbackException { if (callback instanceof NameCallback) { NameCallback ncb = (NameCallback) callback; ncb.setName(authentication.getPrincipal().toString()); } } | 57740 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57740/2bda6ec25c13295b44176bdb841737344bfc0f0a/JaasNameCallbackHandler.java/buggy/core/src/main/java/org/acegisecurity/providers/jaas/JaasNameCallbackHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
12,
2428,
1348,
16,
8665,
5107,
13,
3639,
1216,
1860,
16,
7221,
2428,
503,
288,
3639,
309,
261,
3394,
1276,
1770,
2428,
13,
288,
5411,
1770,
2428,
290,
7358,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
12,
2428,
1348,
16,
8665,
5107,
13,
3639,
1216,
1860,
16,
7221,
2428,
503,
288,
3639,
309,
261,
3394,
1276,
1770,
2428,
13,
288,
5411,
1770,
2428,
290,
7358,
273,
261,
... |
double returnLoc = m.getDouble(DMT.RETURN_LOCATION); Message reply = DMT.createFNPRoutedPong(id, returnLoc, Node.MAX_HTL, x); handleRouted(reply); | Message reply = DMT.createFNPRoutedPong(id, x); src.sendAsync(reply); | private boolean dispatchRoutedMessage(Message m, long id) { if(m.getSpec() == DMT.FNPRoutedPing) { Logger.minor(this, "RoutedPing reached other side!"); int x = m.getInt(DMT.COUNTER); double returnLoc = m.getDouble(DMT.RETURN_LOCATION); Message reply = DMT.createFN... | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/67ffc74c653c146c3327643dba419ef696af844a/NodeDispatcher.java/buggy/src/freenet/node/NodeDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
3435,
4583,
329,
1079,
12,
1079,
312,
16,
1525,
612,
13,
288,
3639,
309,
12,
81,
18,
588,
1990,
1435,
422,
463,
6152,
18,
19793,
52,
4583,
329,
17223,
13,
288,
5411,
4242,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
3435,
4583,
329,
1079,
12,
1079,
312,
16,
1525,
612,
13,
288,
3639,
309,
12,
81,
18,
588,
1990,
1435,
422,
463,
6152,
18,
19793,
52,
4583,
329,
17223,
13,
288,
5411,
4242,
... |
if (missingClassList.isEmpty()) return false; else | if (missingClassList.isEmpty()) { return answer; } else | public boolean isSubtype(XObjectType subtype, XObjectType supertype) throws ClassNotFoundException { if (Debug.VERIFY_INTEGRITY) { if (!inheritanceGraph.containsVertex(subtype)) throw new IllegalStateException("Inheritance graph does not contain node " + subtype.getSignature()); if (!inheritanceGraph.containsV... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/7b5f378504f46d5a926323cfe540db720c15a378/XTypeRepository.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/type/XTypeRepository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
16523,
723,
12,
60,
17610,
12308,
16,
1139,
17610,
2240,
723,
13,
1216,
10403,
288,
202,
202,
430,
261,
2829,
18,
23756,
67,
706,
1448,
6997,
4107,
13,
288,
1082,
202,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
16523,
723,
12,
60,
17610,
12308,
16,
1139,
17610,
2240,
723,
13,
1216,
10403,
288,
202,
202,
430,
261,
2829,
18,
23756,
67,
706,
1448,
6997,
4107,
13,
288,
1082,
202,
4... |
System.out.print("Forward... "); | protected double singleSequenceIteration( ModelTrainer trainer, SymbolList symList ) throws IllegalSymbolException, IllegalTransitionException, IllegalAlphabetException { ScoreType scoreType = ScoreType.PROBABILITY; SingleDP dp = (SingleDP) getDP(); State [] states = dp.getStates(); int [][] forwar... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/857426eb0b8d24a30fbebb340adf3c87a3f642cc/BaumWelchSampler.java/clean/src/org/biojava/bio/dp/BaumWelchSampler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1645,
2202,
4021,
10795,
12,
565,
3164,
1609,
14522,
28974,
16,
565,
8565,
682,
5382,
682,
225,
262,
1216,
2141,
5335,
503,
16,
2141,
8850,
503,
16,
2141,
27316,
503,
288,
565,
2067... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
2202,
4021,
10795,
12,
565,
3164,
1609,
14522,
28974,
16,
565,
8565,
682,
5382,
682,
225,
262,
1216,
2141,
5335,
503,
16,
2141,
8850,
503,
16,
2141,
27316,
503,
288,
565,
2067... | |
public org.quickfix.field.CustOrderCapacity getCustOrderCapacity() throws FieldNotFound { org.quickfix.field.CustOrderCapacity value = new org.quickfix.field.CustOrderCapacity(); | public quickfix.field.CustOrderCapacity getCustOrderCapacity() throws FieldNotFound { quickfix.field.CustOrderCapacity value = new quickfix.field.CustOrderCapacity(); | public org.quickfix.field.CustOrderCapacity getCustOrderCapacity() throws FieldNotFound { org.quickfix.field.CustOrderCapacity value = new org.quickfix.field.CustOrderCapacity(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/clean/src/java/src/quickfix/fix43/TradeCaptureReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
39,
641,
2448,
7437,
1927,
641,
2448,
7437,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
39,
641,
2448,
7437,
460,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
39,
641,
2448,
7437,
1927,
641,
2448,
7437,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
39,
641,
2448,
7437,
460,
273... |
if (resolveMemberMethod == null || !MylarPlugin.getContextManager().hasActiveContext()) return proposals; try { TreeMap<Float, ICompletionProposal> interesting = new TreeMap<Float, ICompletionProposal>(); List<ICompletionProposal> rest = new ArrayList<ICompletionProposal>(); int unresolvedProposals = 0; for (Object pro... | if (resolveMemberMethod == null || !MylarPlugin.getContextManager().hasActiveContext()) return proposals; try { TreeMap<Float, ICompletionProposal> interesting = new TreeMap<Float, ICompletionProposal>(); List<ICompletionProposal> rest = new ArrayList<ICompletionProposal>(); int unresolvedProposals = 0; for (Object pro... | protected List filterAndSortProposals(List proposals, IProgressMonitor monitor, TextContentAssistInvocationContext context) { super.filterAndSortProposals(proposals, monitor, context); if (resolveMemberMethod == null || !MylarPlugin.getContextManager().hasActiveContext()) return proposals; try { Tr... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/82ad6195303975a11d6d72f263b724229b055b50/MylarJavaCompletionProcessor.java/buggy/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/java/ui/editor/MylarJavaCompletionProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
987,
1034,
1876,
4416,
626,
22536,
12,
682,
450,
22536,
16,
467,
5491,
7187,
6438,
16,
3867,
1350,
2610,
376,
9267,
1042,
819,
13,
288,
202,
202,
9565,
18,
2188,
1876,
4416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
1034,
1876,
4416,
626,
22536,
12,
682,
450,
22536,
16,
467,
5491,
7187,
6438,
16,
3867,
1350,
2610,
376,
9267,
1042,
819,
13,
288,
202,
202,
9565,
18,
2188,
1876,
4416,
... |
else if (object instanceof Date) { return UTC_FORMAT.format(object); } | static String encode(Object object) { if (object instanceof String) { return object.toString(); } else if (object instanceof Date) { return UTC_FORMAT.format(object); } else if (object instanceof Boolean) { return Boolean.TRUE.equals(object) ? "1" ... | 8076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8076/33e316debe9e8406ab85026f6e9fc01b6162317e/DataForm.java/clean/source/java/org/xmpp/forms/DataForm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
514,
2017,
12,
921,
733,
13,
288,
3639,
309,
261,
1612,
1276,
514,
13,
288,
5411,
327,
733,
18,
10492,
5621,
3639,
289,
3639,
469,
309,
261,
1612,
1276,
2167,
13,
288,
5411,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
514,
2017,
12,
921,
733,
13,
288,
3639,
309,
261,
1612,
1276,
514,
13,
288,
5411,
327,
733,
18,
10492,
5621,
3639,
289,
3639,
469,
309,
261,
1612,
1276,
2167,
13,
288,
5411,
327,
... | |
Class clazz = cl.parseClass("class TestService { @Property boolean byName; @Property boolean available = true }"); | Class clazz = cl.parseClass("class TestService { boolean byName; boolean available = true }"); | public void testAbstractInjectableGrailsClassNullProperty() throws Exception { GroovyClassLoader cl = new GroovyClassLoader(); Class clazz = cl.parseClass("class TestService { @Property boolean byName; @Property boolean available = true }"); InjectableGrailsClass grailsClass = new AbstractInjectableGrailsClass(claz... | 50465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50465/6c70911e98a037e9497c0c2c91dabe6dffa481c8/AbstractInjectableGrailsClassTests.java/buggy/test/commons/org/codehaus/groovy/grails/commons/AbstractInjectableGrailsClassTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
7469,
15598,
429,
14571,
14573,
797,
2041,
1396,
1435,
1216,
1185,
288,
202,
202,
43,
12859,
7805,
927,
273,
394,
20841,
7805,
5621,
202,
202,
797,
4003,
273,
927,
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,
7469,
15598,
429,
14571,
14573,
797,
2041,
1396,
1435,
1216,
1185,
288,
202,
202,
43,
12859,
7805,
927,
273,
394,
20841,
7805,
5621,
202,
202,
797,
4003,
273,
927,
18... |
NewTaskEditorInput editorInput = new NewTaskEditorInput(repository, model); | NewTaskEditorInput editorInput = new NewTaskEditorInput(repository, taskData); | public boolean performFinish() { try { productPage.saveDataToModel(); NewTaskEditorInput editorInput = new NewTaskEditorInput(repository, model); IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); TasksUiUtil.openEditor(editorInput, TaskListPreferenceConstants.TASK_ED... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/50ce0932bac3248de959d9f6344b40f51d5b7b67/NewBugzillaTaskWizard.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/NewBugzillaTaskWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
1435,
288,
202,
202,
698,
288,
1082,
202,
5896,
1964,
18,
5688,
751,
774,
1488,
5621,
1082,
202,
1908,
2174,
6946,
1210,
4858,
1210,
273,
394,
1166,
2174,
694... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3073,
11641,
1435,
288,
202,
202,
698,
288,
1082,
202,
5896,
1964,
18,
5688,
751,
774,
1488,
5621,
1082,
202,
1908,
2174,
6946,
1210,
4858,
1210,
273,
394,
1166,
2174,
694... |
throw new IllegalArgumentException("Unrecognized object " + handle + " or " + value); | throw new IllegalArgumentException("Unrecognized object " + handle + " or " + value); | public static void removeOwnedElement(Object handle, Object value) { if (handle instanceof MNamespace && value instanceof MModelElement) { ((MNamespace) handle).removeOwnedElement((MModelElement) value); } throw new IllegalArgumentException("Unrecognized object... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/23464f9cbc3169e9d2f1919998cae2c59b514985/ModelFacade.java/buggy/src_new/org/argouml/model/ModelFacade.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1206,
5460,
329,
1046,
12,
921,
1640,
16,
1033,
460,
13,
288,
3639,
309,
261,
4110,
1276,
490,
3402,
597,
460,
1276,
490,
1488,
1046,
13,
288,
5411,
14015,
49,
3402,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1206,
5460,
329,
1046,
12,
921,
1640,
16,
1033,
460,
13,
288,
3639,
309,
261,
4110,
1276,
490,
3402,
597,
460,
1276,
490,
1488,
1046,
13,
288,
5411,
14015,
49,
3402,
13,... |
if (sessionID != null) { oscForSession.put(sessionID, os); } | public EOObjectStore currentRootObjectStore() { String sessionID = sessionID(); EOObjectStore os = null; if (sessionID != null) { os = (EOObjectStore) oscForSession.get(sessionID); } else { os = nextObjectStore(); if (sessionID != null) { o... | 22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/acd453b1c03efe243b0b9226b936fba67d163db1/ERXObjectStoreCoordinatorPool.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXObjectStoreCoordinatorPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
512,
51,
921,
2257,
783,
2375,
921,
2257,
1435,
288,
3639,
514,
13737,
273,
13737,
5621,
3639,
512,
51,
921,
2257,
1140,
273,
446,
31,
3639,
309,
261,
17255,
480,
446,
13,
288,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
512,
51,
921,
2257,
783,
2375,
921,
2257,
1435,
288,
3639,
514,
13737,
273,
13737,
5621,
3639,
512,
51,
921,
2257,
1140,
273,
446,
31,
3639,
309,
261,
17255,
480,
446,
13,
288,
54... | |
copyCursor.next(); | _cursor.next(); | private void _checkPreviousInsertBackSlash(ModelList<ReducedToken>.Iterator copyCursor) { if (!copyCursor.atStart() && !copyCursor.atFirstItem()) { if (copyCursor.prevItem().getType().equals("\\")) { copyCursor.prevItem().setType("\\\\"); _updateBase... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/826853cc9405a53970a4e3ba9d7145b4ff5544e8/ReducedModelComment.java/buggy/drjava/src/edu/rice/cs/drjava/ReducedModelComment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
389,
1893,
8351,
4600,
2711,
11033,
12,
1488,
682,
32,
16911,
3263,
1345,
18652,
3198,
4766,
2398,
1610,
6688,
13,
225,
288,
565,
309,
16051,
3530,
6688,
18,
270,
1685,
1435,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
389,
1893,
8351,
4600,
2711,
11033,
12,
1488,
682,
32,
16911,
3263,
1345,
18652,
3198,
4766,
2398,
1610,
6688,
13,
225,
288,
565,
309,
16051,
3530,
6688,
18,
270,
1685,
1435,
2... |
checkWidget (); | void setSortDirection (int direction) { checkWidget (); if (OS.COMCTL32_MAJOR >= 6) { int hwndHeader = parent.hwndHeader; if (hwndHeader != 0) { int index = parent.indexOf (this); if (index == -1) return; HDITEM hdItem = new HDITEM (); hdItem.mask = OS.HDI_FORMAT | OS.HDI_IMAGE; OS.SendMessage (hwndHeader, ... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/5537992d5a14397c0aad8a28f74b24d2826422fc/TreeColumn.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
444,
4416,
8212,
261,
474,
4068,
13,
288,
202,
1893,
4609,
261,
1769,
202,
430,
261,
4618,
18,
4208,
1268,
48,
1578,
67,
26976,
916,
1545,
1666,
13,
288,
202,
202,
474,
16139,
4880,
186... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
444,
4416,
8212,
261,
474,
4068,
13,
288,
202,
1893,
4609,
261,
1769,
202,
430,
261,
4618,
18,
4208,
1268,
48,
1578,
67,
26976,
916,
1545,
1666,
13,
288,
202,
202,
474,
16139,
4880,
186... | |
sb.append(" array[" + dimension + "]" + " of " + (hasChild() ? child.verbose() : "")); | sb.append(" array[" + dimension + "]" + " of " + (hasChild() ? child.verbose() : "")); | public String verbose() { StringBuffer sb = new StringBuffer(); switch (getType()) { case FUNCTION : sb.append(" function returning " + (hasChild() ? child.verbose() : "")); //$NON-NLS-2$ break; case ARRAY : sb.append(" array[" + dimension + "]" + " of " + (hasChild() ? child.verbose() : "")); /... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/86875f78717e5dd3846d38dba256dc8b1c955219/GDBTypeParser.java/clean/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
514,
3988,
1435,
288,
1082,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
1082,
202,
9610,
261,
588,
559,
10756,
288,
9506,
202,
3593,
13690,
294,
6862,
202,
18366,
18,
6923,
293... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
3988,
1435,
288,
1082,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
1082,
202,
9610,
261,
588,
559,
10756,
288,
9506,
202,
3593,
13690,
294,
6862,
202,
18366,
18,
6923,
293... |
if (VM.VerifyAssertions) VM.assert(declaringClass.isResolved()); | if (VM.VerifyAssertions) VM._assert(declaringClass.isResolved()); | final synchronized void compile() { if (VM.VerifyAssertions) VM.assert(isLoaded()); if (isCompiled()) return; if (VM.VerifyBytecode) { VM_Verifier verifier = new VM_Verifier(); try { boolean success = verifier.verifyMethod(this); if (!success) { VM.sysWrite("Method " + this +... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/a5a05b105574ec4e1a0bacfcc731385b09418803/VM_Method.java/buggy/rvm/src/vm/classLoader/VM_Method.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3852,
918,
4074,
1435,
288,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
291,
8835,
10663,
565,
309,
261,
291,
20733,
10756,
327,
31,
565,
309,
261,
7397,
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,
282,
727,
3852,
918,
4074,
1435,
288,
565,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
291,
8835,
10663,
565,
309,
261,
291,
20733,
10756,
327,
31,
565,
309,
261,
7397,
18... |
sm.putParentRelative(idx, true); v = value.getFloatValue(); p = CSSEngine.getParentCSSStylableElement(elt); if (p == null) { ctx = engine.getCSSContext(); fs = ctx.getMediumFontSize(); } else { fs = engine.getComputedStyle(p, null, idx).getFloatValue(); } return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v * fs * 0.... | doParentRelative = true; scale = value.getFloatValue()*0.5f; break; | public Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value) { switch (value.getPrimitiveType()) { c... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/8d03ce5e4f1f836a7a182162a820e4f42e2f60de/FontSizeManager.java/clean/sources/org/apache/batik/css/engine/value/css2/FontSizeManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1445,
3671,
620,
12,
10276,
24273,
80,
429,
1046,
11572,
16,
17311,
514,
12454,
16,
17311,
6765,
4410,
4073,
16,
17311,
509,
2067,
16,
17311,
9767,
863,
3029,
16,
17311,
1445,
460,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1445,
3671,
620,
12,
10276,
24273,
80,
429,
1046,
11572,
16,
17311,
514,
12454,
16,
17311,
6765,
4410,
4073,
16,
17311,
509,
2067,
16,
17311,
9767,
863,
3029,
16,
17311,
1445,
460,
... |
assertFalse("Unexcepted exception: " + e.getMessage(), true); | assertFalse("Unexpected exception: " + e.getMessage(), true); | public void testSetGetValidCharacters() { try { formatter.setMask("****"); formatter.setValidCharacters("012345678abc"); assertEquals("012345678abc", formatter.getValidCharacters()); formatter.stringToValue("acb4"); } catch (ParseException e) { as... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/87f9b296c72b9c79e26774019e145f4b43632216/MaskFormatterTest.java/buggy/modules/swing/src/test/api/java/common/javax/swing/text/MaskFormatterTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
694,
967,
1556,
11600,
1435,
288,
3639,
775,
288,
5411,
4453,
18,
542,
5796,
2932,
1007,
8863,
5411,
4453,
18,
542,
1556,
11600,
2932,
25413,
4313,
8285,
18947,
8863,
5411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
694,
967,
1556,
11600,
1435,
288,
3639,
775,
288,
5411,
4453,
18,
542,
5796,
2932,
1007,
8863,
5411,
4453,
18,
542,
1556,
11600,
2932,
25413,
4313,
8285,
18947,
8863,
5411,... |
} else { | } else { | public Spacing getSpacing(Block child1, Block child2) { final AbstractSyntheticBlock syntheticBlock1 = ((AbstractSyntheticBlock)child1); final AbstractSyntheticBlock syntheticBlock2 = ((AbstractSyntheticBlock)child2); if (syntheticBlock2.startsWithCDATA() || syntheticBlock1.endsWithCDATA()) { return Spa... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/4e8c076c41bc11460466154c3349f88d881cf2cb/XmlTagBlock.java/buggy/source/com/intellij/psi/formatter/xml/XmlTagBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5878,
5330,
1322,
84,
5330,
12,
1768,
1151,
21,
16,
3914,
1151,
22,
13,
288,
565,
727,
4115,
10503,
16466,
1768,
25535,
1768,
21,
273,
14015,
7469,
10503,
16466,
1768,
13,
3624,
21,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5878,
5330,
1322,
84,
5330,
12,
1768,
1151,
21,
16,
3914,
1151,
22,
13,
288,
565,
727,
4115,
10503,
16466,
1768,
25535,
1768,
21,
273,
14015,
7469,
10503,
16466,
1768,
13,
3624,
21,... |
{ | { | public void statement() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:336:17: ( compoundStatement | declaration SEMI | expression SEMI | modifiers classDefinition | IDENT COLON statement | '... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParser.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
1850,
775,
288,
6647,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3021,
1435,
1216,
9539,
288,
1850,
775,
288,
6647,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
6290... |
private PBProject getPBProject(IContainer aProject) { IFile aPBProject = aProject.getFile( new Path(IWOLipsPluginConstants.PROJECT_FILE_NAME)); File aFile = aPBProject.getLocation().toFile(); boolean isWOApp; if (aProject instanceof IProject) { try { isWOApp = ((IProject) aProject).hasNature( IW... | 50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/d542796f617ee9c0e45881308a11ba364b64bb45/PBProjectUpdater.java/buggy/src/wolips/java/org/objectstyle/wolips/project/PBProjectUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
20724,
4109,
588,
20724,
4109,
12,
45,
2170,
69,
4109,
15329,
202,
202,
45,
812,
69,
20724,
4109,
33,
1082,
202,
69,
4109,
18,
29925,
12,
9506,
202,
2704,
743,
12,
45,
59,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20724,
4109,
588,
20724,
4109,
12,
45,
2170,
69,
4109,
15329,
202,
202,
45,
812,
69,
20724,
4109,
33,
1082,
202,
69,
4109,
18,
29925,
12,
9506,
202,
2704,
743,
12,
45,
59,
... | ||
public static void cleanup() throws SQLException, IOException { Context context = null; try { context = new Context(); String myQuery = null; if ("oracle".equals(ConfigurationManager.getProperty("db.name"))) { myQuery = "select * fro... | 47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/1fa8cb061e30402c53fca9f2a1d975fbe6581803/BitstreamStorageManager.java/clean/dspace/src/org/dspace/storage/bitstore/BitstreamStorageManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
16732,
1435,
15069,
23116,
16,
14106,
95,
1042,
2472,
33,
2011,
31,
698,
95,
2472,
33,
2704,
1042,
5621,
780,
4811,
1138,
33,
2011,
31,
430,
2932,
280,
16066,
9654,
14963,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
16732,
1435,
15069,
23116,
16,
14106,
95,
1042,
2472,
33,
2011,
31,
698,
95,
2472,
33,
2704,
1042,
5621,
780,
4811,
1138,
33,
2011,
31,
430,
2932,
280,
16066,
9654,
14963,
12... | ||
new USKFetcherWrapper(usk, prioClass, chkRequestScheduler, sskRequestScheduler), 3, false); | new USKFetcherWrapper(usk, prioClass, chkRequestScheduler, sskRequestScheduler), 3, false, true); | public USKFetcher getFetcherForInsertDontSchedule(USK usk, short prioClass, USKFetcherCallback cb) { USKFetcher f = new USKFetcher(usk, this, backgroundFetchContext, new USKFetcherWrapper(usk, prioClass, chkRequestScheduler, sskRequestScheduler), 3, false); f.addCallback(cb); return f; } | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/ba61984610fbdc6ae89adf37e39660cc27c3f343/USKManager.java/buggy/src/freenet/client/async/USKManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
587,
11129,
16855,
2812,
1593,
264,
1290,
4600,
40,
1580,
6061,
12,
3378,
47,
584,
79,
16,
3025,
14705,
83,
797,
16,
587,
11129,
16855,
2428,
2875,
13,
288,
202,
202,
3378,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
587,
11129,
16855,
2812,
1593,
264,
1290,
4600,
40,
1580,
6061,
12,
3378,
47,
584,
79,
16,
3025,
14705,
83,
797,
16,
587,
11129,
16855,
2428,
2875,
13,
288,
202,
202,
3378,
47... |
child.baseline = 0; | public void addInlineChild(Context c, InlineBox ib) { if (ib == null) throw new NullPointerException("trying to add null child"); if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (child.getSubstring().start... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/71b2cfce5b6554582e24848d6c3702480ac8ba6c/LineBox.java/buggy/src/java/org/xhtmlrenderer/render/LineBox.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
10870,
1763,
12,
1042,
276,
16,
16355,
3514,
9834,
13,
288,
3639,
309,
261,
495,
422,
446,
13,
604,
394,
10108,
2932,
698,
310,
358,
527,
446,
1151,
8863,
3639,
309,
261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
10870,
1763,
12,
1042,
276,
16,
16355,
3514,
9834,
13,
288,
3639,
309,
261,
495,
422,
446,
13,
604,
394,
10108,
2932,
698,
310,
358,
527,
446,
1151,
8863,
3639,
309,
261... | |
assertNull(Stretch.get("No Match") ); assertNull(Stretch.get(3) ); | assertNull(Stretch.get("No Match") ); | public void testGet() { assertEquals( Stretch.HORIZONTAL_LITERAL, Stretch.get(Stretch.HORIZONTAL) ); assertEquals( Stretch.VERTICAL_LITERAL, Stretch.get(Stretch.VERTICAL) ); assertEquals( Stretch.BOTH_LITERAL, Stretch.get(2) ); assertEquals( Stretch.HORIZONTAL_LITERAL, Stretch.get("Horizontal") ); assertEquals... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e757044daa53d502ecf969354d3f5ec94aa76fd1/StretchTest.java/buggy/chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/model/attribute/StretchTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1435,
225,
202,
95,
202,
202,
11231,
8867,
12,
934,
20783,
18,
44,
20344,
67,
23225,
16,
934,
20783,
18,
588,
12,
510,
20783,
18,
44,
20344,
13,
11272,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
1435,
225,
202,
95,
202,
202,
11231,
8867,
12,
934,
20783,
18,
44,
20344,
67,
23225,
16,
934,
20783,
18,
588,
12,
510,
20783,
18,
44,
20344,
13,
11272,
202,
... |
client.synchronize(newTask); | client.synchronize(newTask, true); | public boolean performFinish() { super.performFinish(); String bugIdString = this.getId(); int bugId = -1; boolean validId = false; try { if (bugIdString != null) { bugId = Integer.parseInt(bugIdString); validId = true; } } catch (NumberFormatException nfe) { // ignore } if (!validId) { MessageD... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/a61eda919b94216ec61b40848c1bac006f65e958/NewBugzillaReportWizard.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/NewBugzillaReportWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
1435,
288,
202,
202,
9565,
18,
16092,
11641,
5621,
202,
202,
780,
7934,
548,
780,
273,
333,
18,
26321,
5621,
202,
202,
474,
7934,
548,
273,
300,
21,
31,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
1435,
288,
202,
202,
9565,
18,
16092,
11641,
5621,
202,
202,
780,
7934,
548,
780,
273,
333,
18,
26321,
5621,
202,
202,
474,
7934,
548,
273,
300,
21,
31,
202... |
Object[] newArray = (Object[]) Array.newInstance(c, index + 1); for( int i = 0; i <= index; i++ ){ newArray[i] = array[i]; } | Object[] newArray = (Object[]) Array.newInstance(c, newLen); System.arraycopy(array, 0, newArray, 0, newLen); | public static Object[] removeNullsAfter(Class c, Object[] array, int index) { if( array == null || index < 0) return (Object[]) Array.newInstance( c, 0 ); if( array.length == index + 1 ) return array; Object[] newArray = (Object[]) Array.newInstance(c, index + 1)... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/6ac289f8203885031a79a3324dc4b14f52460aef/ArrayUtil.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/util/ArrayUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
1206,
31326,
4436,
12,
797,
276,
16,
1033,
8526,
526,
16,
509,
770,
13,
288,
3639,
309,
12,
526,
422,
446,
747,
770,
411,
374,
13,
5411,
327,
261,
921,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8526,
1206,
31326,
4436,
12,
797,
276,
16,
1033,
8526,
526,
16,
509,
770,
13,
288,
3639,
309,
12,
526,
422,
446,
747,
770,
411,
374,
13,
5411,
327,
261,
921,
63,
... |
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "InsertSuccessful goes from server to client not the other way around", identifier); | throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "InsertSuccessful goes from server to client not the other way around", identifier, global); | public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_MESSAGE, "InsertSuccessful goes from server to client not the other way around", identifier); } | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/PutSuccessfulMessage.java/buggy/src/freenet/node/fcp/PutSuccessfulMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
42,
4258,
1952,
1503,
1838,
16,
2029,
756,
13,
1082,
202,
15069,
2350,
1941,
503,
288,
202,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
9347,
67,
872... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
42,
4258,
1952,
1503,
1838,
16,
2029,
756,
13,
1082,
202,
15069,
2350,
1941,
503,
288,
202,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
9347,
67,
872... |
public void notifyChanged() { getData().notifyTerritoryUnitsChanged(this); } | public void notifyChanged() { getData().notifyTerritoryUnitsChanged(this); } | public void notifyChanged() { getData().notifyTerritoryUnitsChanged(this); } | 8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/97354e1edd51c59ed7609c02b629bb8a6a4fbbad/Territory.java/buggy/src/games/strategy/engine/data/Territory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5066,
5033,
1435,
225,
202,
95,
202,
202,
588,
751,
7675,
12336,
56,
25313,
7537,
5033,
12,
2211,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5066,
5033,
1435,
225,
202,
95,
202,
202,
588,
751,
7675,
12336,
56,
25313,
7537,
5033,
12,
2211,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
assertTrue(vcs.hasEntry(p("file1"))); assertTrue(vcs.hasEntry(p("file2"))); | assertTrue(vcs.hasEntry(p("/file1"))); assertTrue(vcs.hasEntry(p("/file2"))); | public void testRevertingSeveralTimesRunning() { vcs.createFile(p("file1"), null); vcs.apply(); vcs.createFile(p("file2"), null); vcs.apply(); assertTrue(vcs.hasEntry(p("file1"))); assertTrue(vcs.hasEntry(p("file2"))); vcs._revert(); assertTrue(vcs.hasEntry(p("file1"))); assertFalse(vcs.has... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
426,
1097,
310,
1761,
502,
287,
10694,
7051,
1435,
288,
565,
20255,
18,
2640,
812,
12,
84,
2932,
768,
21,
6,
3631,
446,
1769,
565,
20255,
18,
9010,
5621,
565,
20255,
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,
282,
1071,
918,
1842,
426,
1097,
310,
1761,
502,
287,
10694,
7051,
1435,
288,
565,
20255,
18,
2640,
812,
12,
84,
2932,
768,
21,
6,
3631,
446,
1769,
565,
20255,
18,
9010,
5621,
565,
20255,
18... |
((PresentationObjectContainer) obj).add(getPasteIcon(Integer.toString(obj.getICObjectInstanceID()), iwc)); | container.add(getPasteIcon(instanceId,container.getLabel(), iwc)); | private void transformObject(Page currentPage,String pageKey, PresentationObject obj, int index, PresentationObjectContainer parent, String parentKey, IWContext iwc) { XMLElement pasted = (XMLElement) iwc.getSessionAttribute(CLIPBOARD); boolean clipboardEmpty = true; if (pasted != null) clipboardEmpty = false; i... | 54061 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54061/5e789efa8069f0a5684374a0aa2aa84e0b02c934/BuilderLogic.java/buggy/src/java/com/idega/builder/business/BuilderLogic.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2510,
921,
12,
1964,
15117,
16,
780,
1363,
653,
16,
25130,
367,
921,
1081,
16,
509,
770,
16,
25130,
367,
921,
2170,
982,
16,
514,
26993,
16,
467,
59,
1042,
25522,
71,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2510,
921,
12,
1964,
15117,
16,
780,
1363,
653,
16,
25130,
367,
921,
1081,
16,
509,
770,
16,
25130,
367,
921,
2170,
982,
16,
514,
26993,
16,
467,
59,
1042,
25522,
71,
... |
return conn.getSQLType(getBaseTypeName()); | return Field.getSQLType( getBaseTypeName() ); | public int getBaseType() throws SQLException { return conn.getSQLType(getBaseTypeName()); } | 45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/46d7ae759b2a1bcead162a7768cac057ef48de48/Array.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8297,
559,
1435,
1216,
6483,
288,
7734,
327,
1487,
18,
588,
3997,
559,
12,
588,
2171,
7947,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
8297,
559,
1435,
1216,
6483,
288,
7734,
327,
1487,
18,
588,
3997,
559,
12,
588,
2171,
7947,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public void processValueChange(ValueChangeEvent ae) throws AbortProcessingException { log.info("ReorderQuestionsListener valueChangeLISTENER."); SectionContentsBean partBean = (SectionContentsBean) ContextUtil.lookupBean("partBean"); AssessmentBean assessmentBean = (AssessmentBean) ContextUtil.lookupBean(... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/3c89b01fa480fbcb3b96d7521527a10b42acd515/ReorderPartsListener.java/buggy/samigo/src/org/sakaiproject/tool/assessment/ui/listener/author/ReorderPartsListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1207,
620,
3043,
12,
620,
20930,
14221,
13,
1216,
14263,
23684,
225,
288,
613,
18,
1376,
2932,
426,
1019,
30791,
1115,
2223,
460,
3043,
26421,
1199,
1769,
10092,
6323,
3381,
1087... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
620,
3043,
12,
620,
20930,
14221,
13,
1216,
14263,
23684,
225,
288,
613,
18,
1376,
2932,
426,
1019,
30791,
1115,
2223,
460,
3043,
26421,
1199,
1769,
10092,
6323,
3381,
1087... | ||
result[0] = EditorManager.saveAll(dirtyParts, finalConfirm, false, w); | result[0] = EditorManager.saveAll(dirtyParts, finalConfirm, false, w); | public boolean saveAllEditors(boolean confirm) { final boolean finalConfirm = confirm; final boolean[] result = new boolean[1]; result[0] = true; Platform.run(new SafeRunnable(WorkbenchMessages.ErrorClosing) { public void run() { // Collect dirtyParts ArrayList dirtyParts = new ArrayList(); ArrayList di... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/73333dbcd42e60f1026cd0a1b14e2ddb08c2b396/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1923,
1595,
4666,
1383,
12,
6494,
6932,
13,
288,
202,
202,
6385,
1250,
727,
11269,
273,
6932,
31,
202,
202,
6385,
1250,
8526,
563,
273,
394,
1250,
63,
21,
15533,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1923,
1595,
4666,
1383,
12,
6494,
6932,
13,
288,
202,
202,
6385,
1250,
727,
11269,
273,
6932,
31,
202,
202,
6385,
1250,
8526,
563,
273,
394,
1250,
63,
21,
15533,
202,
20... |
frame.setSize(500, 400); | this.frame.setSize(500, 400); | public String askForAnIndexURI(Hsqldb db) { frame = new JFrame(I18n.getMessage("thaw.plugin.index.selectIndex")); frame.setVisible(false); upPanel = new JPanel(); Logger.info(this, "indexes"); localIndexes = new IndexTree(I18n.getMessage("thaw.plugin.index.yourIndexes"), true, true, null, db); otherIndexes = new... | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/IndexSelecter.java/buggy/src/thaw/plugins/index/IndexSelecter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
6827,
1290,
979,
1016,
3098,
12,
44,
4669,
1966,
1319,
13,
288,
202,
202,
3789,
273,
394,
804,
3219,
12,
45,
2643,
82,
18,
24906,
2932,
451,
2219,
18,
4094,
18,
1615,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
6827,
1290,
979,
1016,
3098,
12,
44,
4669,
1966,
1319,
13,
288,
202,
202,
3789,
273,
394,
804,
3219,
12,
45,
2643,
82,
18,
24906,
2932,
451,
2219,
18,
4094,
18,
1615,
1... |
width *= STROKE_MITER_LIMIT_FACTOR.get(this); | width *= STROKE_MITER_LIMIT.get(this); | public Rectangle2D.Double getFigureDrawBounds() { double width = AttributeKeys.getStrokeTotalWidth(this) / 2d; if (STROKE_JOIN.get(this) == BasicStroke.JOIN_MITER) { width *= STROKE_MITER_LIMIT_FACTOR.get(this); } width++; Rectangle2D.Double r = getBounds(); Geom... | 5626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5626/f9964b9ccd8d9e7e2d31f3c7131cbbc7b84f1920/AbstractAttributedCompositeFigure.java/buggy/jhotdraw7/src/main/java/org/jhotdraw/draw/AbstractAttributedCompositeFigure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13264,
22,
40,
18,
5265,
2812,
15906,
6493,
5694,
1435,
288,
3639,
1645,
1835,
273,
3601,
2396,
18,
588,
14602,
5269,
2384,
12,
2211,
13,
342,
576,
72,
31,
3639,
309,
261,
25870,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13264,
22,
40,
18,
5265,
2812,
15906,
6493,
5694,
1435,
288,
3639,
1645,
1835,
273,
3601,
2396,
18,
588,
14602,
5269,
2384,
12,
2211,
13,
342,
576,
72,
31,
3639,
309,
261,
25870,
... |
if(LOG.isDebugEnabled()) { | if(LOG.isDebugEnabled() && !response.isCommitted()) { | public Writer writeTo(Writer out) throws IOException { if (showSource) { // Set it to TEXT response.setContentType("text/plain"); // must come before response.getOutputStream() send(pageMeta.groovySource, out); pageMeta.groovySource = nu... | 51763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51763/3afaa6d2bd300ddf0fa9f8f8cbff50e1f3676464/GroovyPagesTemplateEngine.java/buggy/src/web/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
5497,
12870,
12,
2289,
596,
13,
1216,
1860,
288,
5411,
309,
261,
4500,
1830,
13,
288,
10792,
368,
1000,
518,
358,
9204,
7734,
766,
18,
542,
8046,
2932,
955,
19,
7446,
8863,
368,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
5497,
12870,
12,
2289,
596,
13,
1216,
1860,
288,
5411,
309,
261,
4500,
1830,
13,
288,
10792,
368,
1000,
518,
358,
9204,
7734,
766,
18,
542,
8046,
2932,
955,
19,
7446,
8863,
368,
1... |
VM_Interface.rendezvous(); | VM_Interface.rendezvous(4400); | public final void release(boolean time) { flushFreeLists(); if (time) Statistics.rcIncTime.start(); if (Options.verbose > 2) processIncBufsAndCount(); else processIncBufs(); if (time) Statistics.rcIncTime.stop(); VM_Interface.rendezvous(); if (time) Statistics.rcDecTime.start(); processDecBufs();... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/66199c9b5ebeca3ae72fe5f1012e0307e1ed6c4f/RefCountLocal.java/clean/MMTk/src/org/mmtk/policy/RefCountLocal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
3992,
12,
6494,
813,
13,
288,
565,
3663,
9194,
7432,
5621,
565,
309,
261,
957,
13,
22964,
18,
1310,
14559,
950,
18,
1937,
5621,
565,
309,
261,
1320,
18,
11369,
405,
576,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
3992,
12,
6494,
813,
13,
288,
565,
3663,
9194,
7432,
5621,
565,
309,
261,
957,
13,
22964,
18,
1310,
14559,
950,
18,
1937,
5621,
565,
309,
261,
1320,
18,
11369,
405,
576,... |
public Box layout(Context c, Element elem) { // this is to keep track of when we are inside of a form if(elem.getNodeName().equals("form")) { if(elem.hasAttribute("name")) { String name = elem.getAttribute("name"); String action = elem.getAttribute("action"); ... | 57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/clean/src/java/org/joshy/html/BoxLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3514,
6741,
12,
1042,
71,
16,
1046,
10037,
15329,
759,
2211,
376,
601,
2661,
4101,
792,
13723,
1814,
834,
2679,
4504,
507,
687,
430,
12,
10037,
18,
588,
18948,
7675,
14963,
2932,
687,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3514,
6741,
12,
1042,
71,
16,
1046,
10037,
15329,
759,
2211,
376,
601,
2661,
4101,
792,
13723,
1814,
834,
2679,
4504,
507,
687,
430,
12,
10037,
18,
588,
18948,
7675,
14963,
2932,
687,
6,... | ||
return res.elements(); | if (Model.getFacade().isAModelElement(o)) { return Collections.enumeration(Model.getFacade() .getModelElementAssociated(o)); } throw new IllegalArgumentException("Unknown element type " + o); | public Enumeration gen(Object o) { Vector res = new Vector(); if (Model.getFacade().isAPackage(o)) { Collection ownedElements = Model.getFacade().getOwnedElements(o); if (ownedElements != null) { return null; } } if (Model.getFacade().isACl... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/b069e9c79781e8b229b759e73c53bf43f6c5665a/ChildGenRelated.java/buggy/src_new/org/argouml/uml/ChildGenRelated.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13864,
3157,
12,
921,
320,
13,
288,
3639,
5589,
400,
273,
394,
5589,
5621,
3639,
309,
261,
1488,
18,
588,
12467,
7675,
291,
2203,
1270,
12,
83,
3719,
288,
5411,
2200,
16199,
3471,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13864,
3157,
12,
921,
320,
13,
288,
3639,
5589,
400,
273,
394,
5589,
5621,
3639,
309,
261,
1488,
18,
588,
12467,
7675,
291,
2203,
1270,
12,
83,
3719,
288,
5411,
2200,
16199,
3471,
... |
public synchronized boolean isReceived(int packetNo) { | public synchronized boolean isReceived(int packetNo) throws AbortedException { | public synchronized boolean isReceived(int packetNo) { if (_aborted) { throw new RuntimeException("PRB is aborted"); } return _received[packetNo]; } | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/b4ecaa4055b5835413830d4125c72de27d68e306/PartiallyReceivedBlock.java/clean/src/freenet/io/xfer/PartiallyReceivedBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
1250,
353,
8872,
12,
474,
4414,
2279,
13,
288,
202,
202,
430,
261,
67,
18623,
329,
13,
288,
1082,
202,
12849,
394,
3235,
2932,
8025,
38,
353,
18166,
8863,
202,
202,
97,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
1250,
353,
8872,
12,
474,
4414,
2279,
13,
288,
202,
202,
430,
261,
67,
18623,
329,
13,
288,
1082,
202,
12849,
394,
3235,
2932,
8025,
38,
353,
18166,
8863,
202,
202,
97,
... |
Enumeration role_sched = inventory.getRoleSchedule().getRoleScheduleElements(); long earliest_demand = Long.MAX_VALUE; while (role_sched.hasMoreElements()) { PlanElement pe = (PlanElement)role_sched.nextElement(); Task dueOut = pe.getTask(); try { long time; if (TaskUtils.isProjection(dueOut)) { time = TaskUtils.g... | private void initializeTime(Inventory inventory, long today) { try { // Today is AlpTime, i.e. now Enumeration role_sched = inventory.getRoleSchedule().getRoleScheduleElements(); long earliest_demand = Long.MAX_VALUE; // StartTime_ is day 0 for this inventory. It is set to the ... | 7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/b300fffd4d5900d9cfb71e2900b5ad8fbe0ebe58/InventoryBG.java/buggy/glm/src/org/cougaar/domain/glm/ldm/asset/InventoryBG.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4046,
950,
12,
15059,
13086,
16,
1525,
10074,
13,
288,
202,
698,
288,
202,
565,
368,
399,
20136,
353,
2262,
84,
950,
16,
277,
18,
73,
18,
2037,
5411,
13864,
2478,
67,
87,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4046,
950,
12,
15059,
13086,
16,
1525,
10074,
13,
288,
202,
698,
288,
202,
565,
368,
399,
20136,
353,
2262,
84,
950,
16,
277,
18,
73,
18,
2037,
5411,
13864,
2478,
67,
87,
2... | |
public static String d2s(double n, int decimalPlaces) { if (n==Float.MAX_VALUE) return "3.4e38"; boolean negative = n<0.0; if (negative) n = -n; double whole = Math.round(n * Math.pow(10, decimalPlaces)); double rounded = whole/Math.pow(10, decimalPlaces); if (negative) rounded = -rounded; if (decimalPlaces!=dfDigits) ... | public static String d2s(double n) { return d2s(n, 2); | public static String d2s(double n, int decimalPlaces) { if (n==Float.MAX_VALUE) // divide by 0 in FloatProcessor return "3.4e38"; boolean negative = n<0.0; if (negative) n = -n; double whole = Math.round(n * Math.pow(10, decimalPlaces)); double rounded = whole/Math.pow(10, decimalPlaces); if (negative) rou... | 7783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7783/e250803a1d69222184f715ac59ba98d082f7cfd6/IJ.java/buggy/fudge/image_editor/src/ij/IJ.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
302,
22,
87,
12,
9056,
290,
16,
509,
6970,
24791,
13,
288,
202,
202,
430,
261,
82,
631,
4723,
18,
6694,
67,
4051,
13,
368,
12326,
635,
374,
316,
5450,
5164,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
302,
22,
87,
12,
9056,
290,
16,
509,
6970,
24791,
13,
288,
202,
202,
430,
261,
82,
631,
4723,
18,
6694,
67,
4051,
13,
368,
12326,
635,
374,
316,
5450,
5164,
1082,
... |
java.io.Reader stringReader = new java.io.StringReader(treeString); NewickImporter importer = new NewickImporter(stringReader); tree = importer.importNextTree(); } | java.io.Reader stringReader = new java.io.StringReader(treeString); NewickImporter importer = new NewickImporter(stringReader); tree = importer.importNextTree(); } | public static void main(String[] args) throws IOException, ImportException { if (args.length > 3) { int sampleFrequency = Integer.parseInt(args[1]); boolean includeBranchLengths = Boolean.getBoolean(args[2]); boolean isNexus = Boolean.getBoolean(args[3]); NexusImpo... | 49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/ecc2159a8784301f4d88a04d811fbdeb62513ba3/NexusImporter.java/buggy/branches/1.4/src/dr/evolution/io/NexusImporter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
16,
6164,
503,
288,
3639,
309,
261,
1968,
18,
2469,
405,
890,
13,
288,
5411,
509,
3296,
13865,
273,
2144,
18,
2670,
1702,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
16,
6164,
503,
288,
3639,
309,
261,
1968,
18,
2469,
405,
890,
13,
288,
5411,
509,
3296,
13865,
273,
2144,
18,
2670,
1702,
12,
... |
public void updatePerspectiveShortcut(IPerspectiveDescriptor oldDesc, IPerspectiveDescriptor newDesc, WorkbenchPage page) { | private void updatePerspectiveShortcut(IPerspectiveDescriptor oldDesc, IPerspectiveDescriptor newDesc, IWorkbenchPage page) { | public void updatePerspectiveShortcut(IPerspectiveDescriptor oldDesc, IPerspectiveDescriptor newDesc, WorkbenchPage page) { IContributionItem item = findPerspectiveShortcut(oldDesc, page); if (item != null && (item instanceof PerspectiveBarContributionItem)) ((PerspectiveBarContributionItem) item).update(newDesc... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7492b2d89e421d819724566c58a91d81b97ce989/PerspectiveSwitcher.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveSwitcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
14781,
16772,
15576,
12,
2579,
414,
16772,
3187,
1592,
4217,
16,
1082,
202,
2579,
414,
16772,
3187,
394,
4217,
16,
4147,
22144,
1964,
1363,
13,
288,
202,
202,
45,
442... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14781,
16772,
15576,
12,
2579,
414,
16772,
3187,
1592,
4217,
16,
1082,
202,
2579,
414,
16772,
3187,
394,
4217,
16,
4147,
22144,
1964,
1363,
13,
288,
202,
202,
45,
442... |
backColor.setChoiceSet( ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, | backColor.setChoiceSet( ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, | protected Control createContents( Composite parent ) { GridData gdata; GridLayout glayout; createTitleArea( parent ); Composite composite = new Composite( parent, 0 ); glayout = new GridLayout( ); glayout.marginHeight = 0; glayout.marginWidth = 0; glayout.verticalSpacing = 0; composite.setLayout( glayout ); ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e2b6eafcb11806e8cec2333182f81de479004998/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
14728,
982,
262,
202,
95,
202,
202,
6313,
751,
314,
892,
31,
202,
202,
6313,
3744,
5118,
2012,
31,
202,
202,
2640,
4247,
5484,
12,
982,
11272,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
14728,
982,
262,
202,
95,
202,
202,
6313,
751,
314,
892,
31,
202,
202,
6313,
3744,
5118,
2012,
31,
202,
202,
2640,
4247,
5484,
12,
982,
11272,
202,
202,
... |
public boolean stringIsCompilableUnit(String source) | public final boolean stringIsCompilableUnit(String source) | public boolean stringIsCompilableUnit(String source) { boolean errorseen = false; CompilerEnvirons compilerEnv = new CompilerEnvirons(); compilerEnv.initFromContext(this); compilerEnv.setErrorReporter(DefaultErrorReporter.instance); // no source name or source text manager, bec... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/5586a284813f024a7d52061d1ea71ae99876066e/Context.java/buggy/js/rhino/src/org/mozilla/javascript/Context.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
533,
2520,
2945,
330,
429,
2802,
12,
780,
1084,
13,
565,
288,
3639,
1250,
555,
15156,
273,
629,
31,
3639,
12972,
28248,
87,
5274,
3491,
273,
394,
12972,
28248,
87,
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,
377,
1071,
727,
1250,
533,
2520,
2945,
330,
429,
2802,
12,
780,
1084,
13,
565,
288,
3639,
1250,
555,
15156,
273,
629,
31,
3639,
12972,
28248,
87,
5274,
3491,
273,
394,
12972,
28248,
87,
5621,
... |
StringBuffer sb = new StringBuffer(); | StringBuilder sb = new StringBuilder(); | private InitParam() { StringBuffer sb = new StringBuffer(); String[] parts = name().split("_"); sb.append(parts[0].toLowerCase()); for (int i = 1, cnt = parts.length; i < cnt; i++) { sb.append(parts[i].charAt(0)).append(parts[i].toLowerCase(... | 51553 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51553/f1782c774313ba79c127ba5da30580c5ce1f4c32/WebServlet.java/clean/src/thinwire/render/web/WebServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
4378,
786,
1435,
288,
5411,
3225,
2393,
273,
394,
3225,
5621,
5411,
514,
8526,
2140,
273,
508,
7675,
4939,
2932,
67,
8863,
5411,
2393,
18,
6923,
12,
6019,
63,
20,
8009,
869,
5630,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4378,
786,
1435,
288,
5411,
3225,
2393,
273,
394,
3225,
5621,
5411,
514,
8526,
2140,
273,
508,
7675,
4939,
2932,
67,
8863,
5411,
2393,
18,
6923,
12,
6019,
63,
20,
8009,
869,
5630,
... |
if (!isEnabled()) { return; } Object obj = getStructuredSelection().getFirstElement(); if (!(obj instanceof IMarker)) { return; } IMarker marker = (IMarker) obj; | IMarker marker = getSelectedMarker(); | public void run() { if (!isEnabled()) { return; } Object obj = getStructuredSelection().getFirstElement(); if (!(obj instanceof IMarker)) { return; } IMarker marker = (IMarker) obj; DialogMarkerProperties dialog = new DialogProblemProperties(par... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cd30df30dfb88f9bda2fa203f31e3dd26ff697b7/ActionProblemProperties.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionProblemProperties.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
309,
16051,
291,
1526,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
1033,
1081,
273,
1322,
8813,
2862,
6233,
7675,
588,
3759,
1046,
5621,
3639,
309,
16051,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
309,
16051,
291,
1526,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
1033,
1081,
273,
1322,
8813,
2862,
6233,
7675,
588,
3759,
1046,
5621,
3639,
309,
16051,
... |
public org.quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { org.quickfix.field.NoUnderlyingSecurityAltID value = new org.quickfix.field.NoUnderlyingSecurityAltID(); | public quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { quickfix.field.NoUnderlyingSecurityAltID value = new quickfix.field.NoUnderlyingSecurityAltID(); | public org.quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { org.quickfix.field.NoUnderlyingSecurityAltID value = new org.quickfix.field.NoUnderlyingSecurityAltID(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/DerivativeSecurityList.java/clean/src/java/src/quickfix/fix43/DerivativeSecurityList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
2279,
14655,
6291,
4368,
10655,
734,
336,
2279,
14655,
6291,
4368,
10655,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2279,
14655,
6291,
4368,
10655,
734,
336,
2279,
14655,
6291,
4368,
10655,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
... |
encodeIntLittleEndian(result, (int) (l & 0xffffffff)); encodeIntLittleEndian(result, (int) (l >>> 32)); } | encodeIntLittleEndian(result, (int) (l & 0xffffffff)); encodeIntLittleEndian(result, (int) (l >>> 32)); } | private static void encodeLongLittleEndian(StringBuffer result, long l) { encodeIntLittleEndian(result, (int) (l & 0xffffffff)); encodeIntLittleEndian(result, (int) (l >>> 32)); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/clean/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2017,
3708,
48,
10609,
12,
780,
1892,
563,
16,
1525,
328,
13,
288,
202,
565,
2017,
1702,
48,
10609,
12,
2088,
16,
261,
474,
13,
261,
80,
473,
374,
28857,
10019,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2017,
3708,
48,
10609,
12,
780,
1892,
563,
16,
1525,
328,
13,
288,
202,
565,
2017,
1702,
48,
10609,
12,
2088,
16,
261,
474,
13,
261,
80,
473,
374,
28857,
10019,
2... |
int value = Byte.parseByte(textRep); if (value == 0) { return Boolean.FALSE; } else if (value == 1) { return Boolean.TRUE; } else { throw new IllegalArgumentException("Cannot convert string "+textRep); } | targetClass = Boolean.class; break; | public Object convertFromString(String textRep, int sqlTypeCode) throws Exception { if (textRep == null) { return null; } else { if (Jdbc3Utils.supportsJava14JdbcTypes() && (sqlTypeCode == Jdbc3Utils.determineBooleanTypeCode())) {... | 1224 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1224/9793738e7c2126c365a079d84722e394b0c70381/NumberConverter.java/buggy/src/java/org/apache/ddlutils/io/converters/NumberConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1765,
9193,
12,
780,
977,
18933,
16,
509,
1847,
15460,
13,
1216,
1185,
565,
288,
3639,
309,
261,
955,
18933,
422,
446,
13,
3639,
288,
5411,
327,
446,
31,
3639,
289,
3639,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1765,
9193,
12,
780,
977,
18933,
16,
509,
1847,
15460,
13,
1216,
1185,
565,
288,
3639,
309,
261,
955,
18933,
422,
446,
13,
3639,
288,
5411,
327,
446,
31,
3639,
289,
3639,
46... |
msg.append("\n type " + type); | msg.append("\n type "); msg.append(type); | protected synchronized Node readNode(int nodeID) { // try to get from cache Node node = (Node) cache.get(nodeID); if (node != null) { return node; } // get from file and put to cache ioAccess++; StringBuffer msg = new StringBuffer(); try { int index = headerSize + nodeID * nodeSize; ... | 5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/2a7f8b0ca07847f10eeab7b18da066ce27327cdd/PersistentRTreeFile.java/buggy/src/de/lmu/ifi/dbs/index/spatial/rtree/PersistentRTreeFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
3852,
2029,
855,
907,
12,
474,
14871,
13,
288,
565,
368,
775,
358,
336,
628,
1247,
565,
2029,
756,
273,
261,
907,
13,
1247,
18,
588,
12,
2159,
734,
1769,
565,
309,
261,
2159,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
2029,
855,
907,
12,
474,
14871,
13,
288,
565,
368,
775,
358,
336,
628,
1247,
565,
2029,
756,
273,
261,
907,
13,
1247,
18,
588,
12,
2159,
734,
1769,
565,
309,
261,
2159,
48... |
"round(" + atAttribute + ")", getCurrentPrefixToURIMap(), null, functionLibrary, null); | "round(" + atAttribute + ")", Dom4jUtils.getNamespaceContextNoDefault(eventHandlerElement), null, functionLibrary, null); | private void runAction(final PipelineContext pipelineContext, Element eventHandlerElement, XFormsEvent XFormsEvent) { final String actionNamespaceURI = eventHandlerElement.getNamespaceURI(); if (!XFormsConstants.XFORMS_NAMESPACE_URI.equals(actionNamespaceURI)) { throw new OXFException("Inva... | 10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/09c35466a143dbf8e12c7971da739c22cc148d11/XFormsControls.java/buggy/src/java/org/orbeon/oxf/xforms/XFormsControls.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
1803,
12,
6385,
13671,
1042,
5873,
1042,
16,
3010,
30441,
1046,
16,
1139,
18529,
1133,
1139,
18529,
1133,
13,
288,
3639,
727,
514,
1301,
3402,
3098,
273,
30441,
1046,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1086,
1803,
12,
6385,
13671,
1042,
5873,
1042,
16,
3010,
30441,
1046,
16,
1139,
18529,
1133,
1139,
18529,
1133,
13,
288,
3639,
727,
514,
1301,
3402,
3098,
273,
30441,
1046,
18,
... |
if (!alreadyExists) { if (job.getTiming().getStartAfter() <= _context.clock().now()) { job.getTiming().setStartAfter(_context.clock().now()); if (job instanceof JobImpl) ((JobImpl)job).madeReady(); _readyJobs.add(job); _jobLock.notifyAll(); } else { _timedJobs.add(job); _jobLock.notifyAll(); } } else { if (_log.should... | public void addJob(Job job) { if (job == null) return; if (job instanceof JobImpl) ((JobImpl)job).addedToQueue(); long numReady = 0; boolean alreadyExists = false; synchronized (_jobLock) { if (_readyJobs.contains(job)) alreadyExists = true; ... | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/df4b998a6afd124088b4b4377b4aebb5d6cc080b/JobQueue.java/clean/router/java/src/net/i2p/router/JobQueue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
2278,
12,
2278,
1719,
13,
288,
3639,
309,
261,
4688,
422,
446,
13,
327,
31,
3639,
309,
261,
4688,
1276,
3956,
2828,
13,
5411,
14015,
2278,
2828,
13,
4688,
2934,
9665,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
2278,
12,
2278,
1719,
13,
288,
3639,
309,
261,
4688,
422,
446,
13,
327,
31,
3639,
309,
261,
4688,
1276,
3956,
2828,
13,
5411,
14015,
2278,
2828,
13,
4688,
2934,
9665,
77... | |
public RubyModule defineModuleUnder(String name, RubyModule parentModule); | public RubyModule defineModuleUnder(String name, SinglyLinkedList parentCRef); | public RubyModule defineModuleUnder(String name, RubyModule parentModule); | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/a1b8fc1d456e3d5c6e01579b88773383068aa85c/IRuby.java/buggy/src/org/jruby/IRuby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
16,
19817,
3120,
982,
3120,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
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,
225,
202,
482,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
16,
19817,
3120,
982,
3120,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
for ( int i = 0; i < names.size( ); i++ ) { extensionPropValues.remove( names.get( i ) ); } | public void initializeReportItem( Module module ) throws ExtendedElementException { if ( reportItem != null ) return; PeerExtensionElementDefn extDefn = (PeerExtensionElementDefn) getExtDefn( ); if ( extDefn == null ) throw new ExtendedElementException( ExtendedElementException.PLUGIN_ID, SemanticErro... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/da44fecb5c6e05db9ce8a4fda5141c73c044f818/PeerExtensibilityProvider.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4046,
4820,
1180,
12,
5924,
1605,
262,
1082,
202,
15069,
14094,
20826,
202,
95,
202,
202,
430,
261,
2605,
1180,
480,
446,
262,
1082,
202,
2463,
31,
202,
202,
6813,
3625,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
4820,
1180,
12,
5924,
1605,
262,
1082,
202,
15069,
14094,
20826,
202,
95,
202,
202,
430,
261,
2605,
1180,
480,
446,
262,
1082,
202,
2463,
31,
202,
202,
6813,
3625,
... | |
GridData gd = new GridData( GridData.FILL_HORIZONTAL ); | GridData gd = new GridData( GridData.FILL_VERTICAL ); | private void placeComponents( ) { // Initialize and layout UI components of the framework Composite cmpHeader = new Composite( shell, SWT.NONE ); { cmpHeader.setBackground( Display.getDefault( ) .getSystemColor( SWT.COLOR_WHITE ) ); GridLayout layout = new GridLayout( 2, false ); layout.marginHeight = 0; ... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/870e4f276cf4da01217adcfdba3dbd4191005a63/WizardBase.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/WizardBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
12,
262,
202,
95,
202,
202,
759,
9190,
471,
3511,
6484,
4085,
434,
326,
8257,
202,
202,
9400,
9411,
1864,
273,
394,
14728,
12,
5972,
16,
348,
8588,
18,
9826,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
12,
262,
202,
95,
202,
202,
759,
9190,
471,
3511,
6484,
4085,
434,
326,
8257,
202,
202,
9400,
9411,
1864,
273,
394,
14728,
12,
5972,
16,
348,
8588,
18,
9826,... |
for (int i=0; contextListeners != null && i < contextListeners.size(); i++) ((ContextListener)contextListeners.elementAt(i)).contextCreated(this); | Object[] array = contextListeners; if (array != null) { for (int i = array.length; i-- != 0;) { ((ContextListener)array[i]).contextCreated(this); } } | private void init() { setLanguageVersion(VERSION_DEFAULT); optimizationLevel = codegenClass != null ? 0 : -1; for (int i=0; contextListeners != null && i < contextListeners.size(); i++) ((ContextListener)contextListeners.elementAt(i)).contextCreated(this); } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/9129bdc5d65ed077c2c6a878ab1465b321e7ecf8/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1435,
288,
3639,
28993,
1444,
12,
5757,
67,
5280,
1769,
3639,
14850,
2355,
273,
23198,
797,
480,
446,
692,
374,
294,
300,
21,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1435,
288,
3639,
28993,
1444,
12,
5757,
67,
5280,
1769,
3639,
14850,
2355,
273,
23198,
797,
480,
446,
692,
374,
294,
300,
21,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
... |
super(report); | super( report ); | public DataContent(ReportContent report) { super(report); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/223285a5b7d82da9ab4bfb2f5c755c9f974f2aba/DataContent.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/DataContent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1910,
1350,
12,
4820,
1350,
2605,
13,
202,
95,
202,
202,
9565,
12,
6006,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1910,
1350,
12,
4820,
1350,
2605,
13,
202,
95,
202,
202,
9565,
12,
6006,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
return "general"; | return "general"; | private String getExtendedError(int code) { switch (code) { case CDERR_GENERALCODES: return "general"; case CDERR_STRUCTSIZE: return "structure size"; case CDERR_INITIALIZATION: return "init"; case CDERR_NOTEMPLATE: return "no template";... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/e6ce79da0ad0459deff86829b48b541975a9b721/WinFileDialog.java/buggy/modules/awt/src/main/java/windows/org/apache/harmony/awt/theme/windows/WinFileDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
336,
11456,
668,
12,
474,
981,
13,
288,
3639,
1620,
261,
710,
13,
288,
3639,
648,
385,
25617,
67,
13990,
1013,
17070,
30,
5411,
327,
315,
12259,
14432,
3639,
648,
385,
25617,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
336,
11456,
668,
12,
474,
981,
13,
288,
3639,
1620,
261,
710,
13,
288,
3639,
648,
385,
25617,
67,
13990,
1013,
17070,
30,
5411,
327,
315,
12259,
14432,
3639,
648,
385,
25617,
... |
} else { if( paramClass == null ) { throw new InvalidAlgorithmParameterException(algorithm+ " does not take a parameter"); } else if( ! ( paramClass.isInstance(params) ) ) { throw new InvalidAlgorithmParameterException(algorithm+ " expects a parameter of type "+paramClass); } | throw new InvalidAlgorithmParameterException(algorithm + " cannot use a " + name + " parameter"); | private void checkParams(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException { Class paramClass = algorithm.getParameterClass(); if(params==null) { if(paramClass != null) { // this algorithm takes a parameter, but none was given t... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/ad556c8a455ab9f08de22d57a98135406a313426/PK11Cipher.java/buggy/security/jss/org/mozilla/jss/pkcs11/PK11Cipher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
1370,
12,
6801,
1662,
1990,
859,
13,
3639,
1216,
1962,
6801,
14819,
565,
288,
3639,
1659,
579,
797,
273,
4886,
18,
588,
1662,
797,
5621,
3639,
309,
12,
2010,
631,
2011,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
1370,
12,
6801,
1662,
1990,
859,
13,
3639,
1216,
1962,
6801,
14819,
565,
288,
3639,
1659,
579,
797,
273,
4886,
18,
588,
1662,
797,
5621,
3639,
309,
12,
2010,
631,
2011,
... |
mInstance = null; | public void windowClosing(WindowEvent e) { MainFrame.getInstance().updateToolbar(); mInstance = null; this.dispose(); } | 9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/7fee01841cd3499c1ecc7bbeb284bed0d9a8811e/ToolBarDragAndDropSettings.java/clean/tvbrowser/src/tvbrowser/ui/settings/ToolBarDragAndDropSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
565,
12740,
3219,
18,
588,
1442,
7675,
2725,
17907,
5621,
4202,
333,
18,
2251,
4150,
5621,
225,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
565,
12740,
3219,
18,
588,
1442,
7675,
2725,
17907,
5621,
4202,
333,
18,
2251,
4150,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,... | |
if(clientSite == null) return; | public void doSaveAs() { WorkspaceModifyOperation op = saveNewFileOperation(); Shell shell = clientSite.getShell(); try { new ProgressMonitorDialog(shell).run(false, true, op); } catch (InterruptedException interrupt) { //Nothing to reset so do nothing } catch (InvocationTargetException invocationException) {... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c926be01ea94b18a057095fa5cfb0c4d1a19231e/OleEditor.java/clean/bundles/org.eclipse.ui/Eclipse UI Editor Support/org/eclipse/ui/internal/editorsupport/OleEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
430,
12,
2625,
4956,
422,
446,
13,
327,
31,
918,
430,
12,
2625,
4956,
422,
446,
13,
327,
31,
741,
4755,
1463,
1435,
430,
12,
2625,
4956,
422,
446,
13,
327,
31,
288,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
430,
12,
2625,
4956,
422,
446,
13,
327,
31,
918,
430,
12,
2625,
4956,
422,
446,
13,
327,
31,
741,
4755,
1463,
1435,
430,
12,
2625,
4956,
422,
446,
13,
327,
31,
288,
202,
2... | |
XMLWriterBase b = new XMLWriterBase(stream); | XMLWriterBase b = new XMLWriterBase(stream); | public XMLStreamWriter createXMLStreamWriter(java.io.Writer stream) throws XMLStreamException { XMLWriterBase b = new XMLWriterBase(stream); b.setConfigurationContext(config); return b; } | 2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/0044a3d8fa184706ba22d96e6fb246bc52142c8a/XMLOutputFactoryBase.java/buggy/dev/src/com/bea/xml/stream/XMLOutputFactoryBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
15595,
2289,
752,
4201,
29421,
12,
6290,
18,
1594,
18,
2289,
1407,
13,
377,
1216,
21526,
225,
288,
565,
3167,
2289,
2171,
324,
273,
4202,
394,
3167,
2289,
2171,
12,
3256,
1769,
377,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
15595,
2289,
752,
4201,
29421,
12,
6290,
18,
1594,
18,
2289,
1407,
13,
377,
1216,
21526,
225,
288,
565,
3167,
2289,
2171,
324,
273,
4202,
394,
3167,
2289,
2171,
12,
3256,
1769,
377,... |
return RubyBoolean.newBoolean(runtime, includes(item)); | return getRuntime().newBoolean(includes(item)); | public RubyBoolean include_p(IRubyObject item) { return RubyBoolean.newBoolean(runtime, includes(item)); } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArray.java/buggy/src/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
2341,
67,
84,
12,
7937,
10340,
921,
761,
13,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
18499,
12,
1726,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
2341,
67,
84,
12,
7937,
10340,
921,
761,
13,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
18499,
12,
1726,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
(float) fsize, | fsize, | public IStyle getStyle( Chart model, StyledComponent name ) { SimpleStyle ss = null; if ( cache == null || !useCache ) { StyleHandle style = handle.getPrivateStyle( ); ss = new SimpleStyle( ); String fname = style.getFontFamilyHandle( ).getStringValue( ); int fsize = getFontSizeIntValue( handle ); boolean... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/6527daa4abd71203047f538f423adcacce733516/ChartReportStyleProcessor.java/clean/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportStyleProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2885,
14210,
12,
14804,
938,
16,
934,
93,
1259,
1841,
508,
262,
202,
95,
202,
202,
5784,
2885,
5202,
273,
446,
31,
202,
202,
430,
261,
1247,
422,
446,
747,
401,
1202,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2885,
14210,
12,
14804,
938,
16,
934,
93,
1259,
1841,
508,
262,
202,
95,
202,
202,
5784,
2885,
5202,
273,
446,
31,
202,
202,
430,
261,
1247,
422,
446,
747,
401,
1202,
1... |
{ isName = 0; len = yytext().length(); name = new NameType(); name.prefix = yytext().substring(1,len-1); name.localname = "*"; return sym(NAME,name); } case 105: break; case 25: | public java_cup.runtime.Symbol next_token() throws java.io.IOException, XPathParseException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; ... | 3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/e82ac672c7e0c82ff83eba840ba855bb66c735b1/Yylex.java/clean/com/ximpleware/xpath/Yylex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
67,
71,
416,
18,
9448,
18,
5335,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
16,
10172,
13047,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
67,
71,
416,
18,
9448,
18,
5335,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
16,
10172,
13047,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368... | |
Member m1 = (Member) o1, m2 = (Member) o2; int c = compareInternal(m1, m2); if (false) { System.out.println( "compare " + m1.getUniqueName() + "(" + mapMemberToValue.get(m1) + "), " + m2.getUniqueName() + "(" + mapMemberToValue.get(m2) + ")" + " yields " + c); } return c; } | Member m1 = (Member) o1, m2 = (Member) o2; int c = compareInternal(m1, m2); if (false) { System.out.println( "compare " + m1.getUniqueName() + "(" + mapMemberToValue.get(m1) + "), " + m2.getUniqueName() + "(" + mapMemberToValue.get(m2) + ")" + " yields " + c); } return c; } | public int compare(Object o1, Object o2) { Member m1 = (Member) o1, m2 = (Member) o2; int c = compareInternal(m1, m2); if (false) { System.out.println( "compare " + m1.getUniqueName() + "(" + mapMemberToValue.get(m1) + "), " + m2.getUniqueName() + "(" + mapMemberToValue.get(m2) + ")" + " yields... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/FunUtil.java/clean/src/main/mondrian/olap/fun/FunUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
3400,
12,
921,
320,
21,
16,
1033,
320,
22,
13,
288,
202,
202,
4419,
312,
21,
273,
261,
4419,
13,
320,
21,
16,
9506,
202,
81,
22,
273,
261,
4419,
13,
320,
22,
31,
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,
509,
3400,
12,
921,
320,
21,
16,
1033,
320,
22,
13,
288,
202,
202,
4419,
312,
21,
273,
261,
4419,
13,
320,
21,
16,
9506,
202,
81,
22,
273,
261,
4419,
13,
320,
22,
31,
20... |
System.out.println("Pasamos por Mem"); | public Par Mem() throws Exception{ System.out.println("Pasamos por Mem"); Atributos atrDeRMem; Par a = new Par(); Token tk = lexico.getLookahead(); if (!lexico.reconoce(Tipos.TKIDEN)){ a = null; throw new Exception ("ERROR: Deberiamos haber leido un iden."); } System.out.println("Pasamos por Mem y es un... | 10474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10474/60364b0314e688499d61f0b874bca17ba731b85f/Sintactico.java/buggy/plg/procesador/Sintactico.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2280,
5890,
1435,
1216,
1185,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
52,
345,
301,
538,
22471,
5890,
8863,
9506,
202,
37,
665,
322,
538,
622,
86,
758,
54,
3545,
31,
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,
2280,
5890,
1435,
1216,
1185,
95,
202,
202,
3163,
18,
659,
18,
8222,
2932,
52,
345,
301,
538,
22471,
5890,
8863,
9506,
202,
37,
665,
322,
538,
622,
86,
758,
54,
3545,
31,
20... | |
public float getTonnage(Entity entity) { if (tonnage != TONNAGE_VARIABLE) { return tonnage; } // check for known formulas if (hasFlag(F_JUMP_JET)) { if (entity.getWeight() >= 55.0) { return 0.5f; } else if (entity.getWeight() >= 85.0) { ... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/3f2b1f8fe1d7766ef2e470309a8eeee338087562/MiscType.java/clean/megamek/src/megamek/common/MiscType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
3181,
265,
82,
410,
12,
1943,
1522,
13,
288,
3639,
309,
261,
1917,
82,
410,
480,
399,
673,
50,
2833,
67,
16444,
13,
288,
5411,
327,
268,
265,
82,
410,
31,
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,
1431,
3181,
265,
82,
410,
12,
1943,
1522,
13,
288,
3639,
309,
261,
1917,
82,
410,
480,
399,
673,
50,
2833,
67,
16444,
13,
288,
5411,
327,
268,
265,
82,
410,
31,
3639,
289,
3639,... | ||
} catch (MissingResourceException e) {} | int dir = (pass == 0) ? Transliterator.FORWARD : direction; return new Object[] { new LocaleEntry(subres[i+1], dir) }; } } catch (MissingResourceException e) {} } | private Object[] findInBundle(Spec specToOpen, Spec specToFind, String variant, String tagPrefix) { // assert(specToOpen.isLocale()); ResourceBundle res = specToOpen.getBundle(); if (res == null) ... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/2da0c75ff8153ad27296c84f4b2e62667eeebf2a/TransliteratorRegistry.java/clean/icu4j/src/com/ibm/icu/text/TransliteratorRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8526,
1104,
382,
3405,
12,
1990,
857,
774,
3678,
16,
21394,
4185,
857,
774,
3125,
16,
21394,
514,
5437,
16,
21394,
514,
1047,
2244,
13,
288,
3639,
368,
1815,
12,
2793,
774,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8526,
1104,
382,
3405,
12,
1990,
857,
774,
3678,
16,
21394,
4185,
857,
774,
3125,
16,
21394,
514,
5437,
16,
21394,
514,
1047,
2244,
13,
288,
3639,
368,
1815,
12,
2793,
774,
... |
if( text != null ) { | if (text != null) { | protected String getText(Event event) { if( text != null ) { return text; } return super.getText(event); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/834fd62f7f66137ce069da1196168574b96681d9/ToolTipSupport.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ToolTipSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
6701,
12,
1133,
871,
13,
288,
202,
202,
430,
12,
977,
480,
446,
262,
288,
1082,
202,
2463,
977,
31,
202,
202,
97,
9506,
202,
2463,
2240,
18,
588,
1528,
12,
2575,
1769,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
6701,
12,
1133,
871,
13,
288,
202,
202,
430,
12,
977,
480,
446,
262,
288,
1082,
202,
2463,
977,
31,
202,
202,
97,
9506,
202,
2463,
2240,
18,
588,
1528,
12,
2575,
1769,... |
if (!hashCodeComputed) { hashCode = HASH_INITIAL; | if (hashCode == HASH_INITIAL) { | public int hashCode() { if (!hashCodeComputed) { hashCode = HASH_INITIAL; hashCode = hashCode * HASH_FACTOR + Util.hashCode(activityIds); hashCode = hashCode * HASH_FACTOR + Util.hashCode(enabled); hashCode = hashCode * HASH_FACTOR + Util.hashCode(id); h... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/656aceed8fe4b7861391608975573bcdfb416f65/Identifier.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/Identifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
288,
3639,
309,
16051,
2816,
1085,
17934,
13,
288,
5411,
13374,
273,
20857,
67,
28497,
31,
5411,
13374,
273,
13374,
380,
20857,
67,
26835,
397,
3564,
18,
2816,
1085,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
288,
3639,
309,
16051,
2816,
1085,
17934,
13,
288,
5411,
13374,
273,
20857,
67,
28497,
31,
5411,
13374,
273,
13374,
380,
20857,
67,
26835,
397,
3564,
18,
2816,
1085,... |
size = DataTools.read4SignedBytes(in, little); | size = in.readInt(); | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessStream(id); offsets = new Vector(); byte[] list = new byte[4]; String listString; type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); ... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/2df09d33bfdc966378aae0cc09cb503afb983bc2/AVIReader.java/buggy/loci/formats/in/AVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
1862,
1228,
12,
350,
1769,
565,
8738,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
1862,
1228,
12,
350,
1769,
565,
8738,
273,
3... |
Vector ticketResult = (Vector) getMultiCallResult(item); | Object[] ticketResult = (Object[]) getMultiCallResult(item); | public List<TracTicket> getTickets(int[] ids) throws TracException { Hashtable<String, Object>[] calls = new Hashtable[ids.length]; for (int i = 0; i < calls.length; i++) { calls[i] = createMultiCall("ticket.get", ids[i]); } Vector result = multicall(calls); assert result.size() == ids.length; List<TracTicket>... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c5cf8b0e7a877d581dcc585d30d25f67f636f0b2/TracXmlRpcClient.java/clean/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
32,
1609,
71,
13614,
34,
3181,
1200,
2413,
12,
474,
8526,
3258,
13,
1216,
2197,
71,
503,
288,
202,
202,
5582,
14544,
32,
780,
16,
1033,
34,
8526,
4097,
273,
394,
18559,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
32,
1609,
71,
13614,
34,
3181,
1200,
2413,
12,
474,
8526,
3258,
13,
1216,
2197,
71,
503,
288,
202,
202,
5582,
14544,
32,
780,
16,
1033,
34,
8526,
4097,
273,
394,
18559,
... |
supported = PortletModeHelper.isPortletModeAllowedByPortlet(portletWindow, this._getHttpServletRequest().getContentType(), portletMode); | supported = PortletModeHelper.isPortletModeAllowedByPortlet(portletWindow, portletMode); | public boolean isPortletModeAllowed(PortletMode portletMode) { // check if portal supports portlet mode boolean supported = provider.isPortletModeAllowed(portletMode); // check if portlet supports portlet mode as well if (supported) { supported = PortletModeHelper.is... | 51810 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51810/6d1e68135738d977a530ae599c4fdd7db86bd7c2/PortletRequestImpl.java/buggy/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
18566,
2309,
5042,
12,
18566,
2309,
13114,
2309,
13,
565,
288,
3639,
368,
866,
309,
11899,
6146,
13114,
1965,
3639,
1250,
3260,
273,
2893,
18,
291,
18566,
2309,
5042,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
18566,
2309,
5042,
12,
18566,
2309,
13114,
2309,
13,
565,
288,
3639,
368,
866,
309,
11899,
6146,
13114,
1965,
3639,
1250,
3260,
273,
2893,
18,
291,
18566,
2309,
5042,
12,
... |
protected void setColumnCount(int columnCount) { if (columnCount < 1 || columnCount > columns.length) { throw new IllegalArgumentException("columnCount " + columnCount + " is invalid"); } this.columnCount = columnCount; } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/b577c620a26828be0e8aca80131dae52e1045422/JtdsResultSet.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/JtdsResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
25918,
1380,
12,
474,
22429,
13,
288,
3639,
309,
261,
2827,
1380,
411,
404,
747,
22429,
405,
2168,
18,
2469,
13,
288,
5411,
604,
394,
2754,
2932,
2827,
1380,
315,
10792,
397,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
25918,
1380,
12,
474,
22429,
13,
288,
3639,
309,
261,
2827,
1380,
411,
404,
747,
22429,
405,
2168,
18,
2469,
13,
288,
5411,
604,
394,
2754,
2932,
2827,
1380,
315,
10792,
397,
... | ||
return ((ContactHit)hit).getContact(); | return ((ContactHit) hit).getContact(); | public Object next() { try { ZimbraHit hit = mResults.getNext(); if (hit == null) return null; if (hit instanceof MessageHit) { return ((MessageHit)hit).getMessage(); } else if (hit instanceof ContactHit) { ... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d94d94ccfc28bc6773f90f5bc2546fbc976237a2/Formatter.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/formatter/Formatter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1033,
1024,
1435,
288,
5411,
775,
288,
7734,
2285,
381,
15397,
13616,
6800,
273,
312,
3447,
18,
588,
2134,
5621,
7734,
309,
261,
15989,
422,
446,
13,
327,
446,
31,
7734,
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,
540,
1071,
1033,
1024,
1435,
288,
5411,
775,
288,
7734,
2285,
381,
15397,
13616,
6800,
273,
312,
3447,
18,
588,
2134,
5621,
7734,
309,
261,
15989,
422,
446,
13,
327,
446,
31,
7734,
309,
261,
... |
private void loadControllerClass(Class loadedClass, boolean isNew) { | void loadControllerClass(Class loadedClass, boolean isNew) { | private void loadControllerClass(Class loadedClass, boolean isNew) { GrailsControllerClass controllerClass = application.addControllerClass(loadedClass); if(controllerClass != null) { // if its a new controller re-generate web.xml, reload app context if(isNew) { /... | 52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/8a4f2a84a30e3f842df4276e0dab4dc69518d7a1/GrailsReloadServletFilter.java/buggy/src/web/org/codehaus/groovy/grails/web/servlet/filter/GrailsReloadServletFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1262,
2933,
797,
12,
797,
4203,
797,
16,
1250,
10783,
13,
288,
3639,
10812,
14573,
2933,
797,
29345,
273,
2521,
18,
1289,
2933,
797,
12,
4230,
797,
1769,
3639,
309,
12,
5723,
797,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
2933,
797,
12,
797,
4203,
797,
16,
1250,
10783,
13,
288,
3639,
10812,
14573,
2933,
797,
29345,
273,
2521,
18,
1289,
2933,
797,
12,
4230,
797,
1769,
3639,
309,
12,
5723,
797,
... |
VM_Memory.memcopy(newFP, myFP, myDepth.toInt()); | VM_Memory.memcopy(newFP, myFP, myDepth.toWord().toExtent()); | private static Offset copyStack (byte[] newStack) { VM_Thread myThread = getCurrentThread(); byte[] myStack = myThread.stack; Address myTop = VM_Magic.objectAsAddress(myStack).add(myStack.length); Address newTop = VM_Magic.objectAsAddress(newStack).add(newStack.length); Address myFP = VM_Mag... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/9b22bffbb06319b08a93aed2a8f11de10ba3fecf/VM_Thread.java/buggy/rvm/src/vm/scheduler/VM_Thread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
9874,
1610,
2624,
261,
7229,
8526,
394,
2624,
13,
288,
565,
8251,
67,
3830,
3399,
3830,
273,
5175,
3830,
5621,
565,
1160,
8526,
377,
3399,
2624,
225,
273,
3399,
3830,
18,
3772,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
9874,
1610,
2624,
261,
7229,
8526,
394,
2624,
13,
288,
565,
8251,
67,
3830,
3399,
3830,
273,
5175,
3830,
5621,
565,
1160,
8526,
377,
3399,
2624,
225,
273,
3399,
3830,
18,
3772,... |
super.copyFromDomain(enrolmentEvaluation); if (enrolmentEvaluation != null) { setInfoPersonResponsibleForGrade(InfoPerson.newInfoFromDomain(enrolmentEvaluation .getPersonResponsibleForGrade())); } | super.copyFromDomain(enrolmentEvaluation); if (enrolmentEvaluation != null) { setInfoPersonResponsibleForGrade(InfoPerson.newInfoFromDomain(enrolmentEvaluation .getPersonResponsibleForGrade())); if (enrolmentEvaluation.getEmployee() != null) { setInfoEmployee(InfoPerson.newInfoFromDomain(enrolmentEvaluation.getEmployee... | public void copyFromDomain(EnrolmentEvaluation enrolmentEvaluation) { super.copyFromDomain(enrolmentEvaluation); if (enrolmentEvaluation != null) { setInfoPersonResponsibleForGrade(InfoPerson.newInfoFromDomain(enrolmentEvaluation .getPersonResponsibleForGrade())); ... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/de6e8f914dfd691106b1ab7df19d5cd7902ad255/InfoEnrolmentEvaluationWithResponsibleForGrade.java/clean/src/net/sourceforge/fenixedu/dataTransferObject/InfoEnrolmentEvaluationWithResponsibleForGrade.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
25189,
3748,
12,
664,
922,
475,
13468,
14905,
475,
13468,
13,
288,
3639,
2240,
18,
3530,
1265,
3748,
12,
12401,
475,
13468,
1769,
3639,
309,
261,
12401,
475,
13468,
480,
446,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
25189,
3748,
12,
664,
922,
475,
13468,
14905,
475,
13468,
13,
288,
3639,
2240,
18,
3530,
1265,
3748,
12,
12401,
475,
13468,
1769,
3639,
309,
261,
12401,
475,
13468,
480,
446,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.