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 |
|---|---|---|---|---|---|---|
public Class<?> getType(ELContext context, Object base, Object property) | public Class getType(ELContext context, Object base, Object property) | public Class<?> getType(ELContext context, Object base, Object property) throws NullPointerException, PropertyNotFoundException, ELException { if (context == null) { throw new NullPointerException(); } if (base == null) { context.setPropertyResolved(true); return Object.class; } return null; } | 46196 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46196/423b950886cf6e10fa1f9b4e3acf983689d7d1f5/ScopedAttributeELResolver.java/buggy/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1659,
12880,
34,
3130,
12,
2247,
1042,
819,
16,
1033,
1026,
16,
1033,
1272,
13,
1082,
202,
15069,
10108,
16,
4276,
3990,
16,
14801,
503,
288,
202,
202,
430,
261,
2472,
422,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1659,
12880,
34,
3130,
12,
2247,
1042,
819,
16,
1033,
1026,
16,
1033,
1272,
13,
1082,
202,
15069,
10108,
16,
4276,
3990,
16,
14801,
503,
288,
202,
202,
430,
261,
2472,
422,
44... |
public void setTarget(JPanel f) { | public void setTarget(JLayeredPane f) { | public void setTarget(JPanel f) { target = f; } | 2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/e523c185a7aa966fa823ce43061923a68f855933/PanelEditor.java/clean/jmri/jmrit/display/PanelEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18367,
12,
46,
4576,
329,
8485,
284,
13,
288,
3639,
1018,
273,
284,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18367,
12,
46,
4576,
329,
8485,
284,
13,
288,
3639,
1018,
273,
284,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Integer alarmId = new Integer(rs.getInt("alarmId")); OnmsAlarm alarm = (alarmId.intValue() == 0) ? null : (OnmsAlarm)Cache.obtain(OnmsAlarm.class, alarmId); event.setAlarm(alarm); | public Object mapRow(ResultSet rs, int rowNumber) throws SQLException { final Integer id = (Integer) rs.getObject("eventid"); LazyEvent event = (LazyEvent)Cache.obtain(OnmsEvent.class, id); event.setLoaded(true); Integer nodeId = new Integer(rs.getInt("nodeID")); OnmsNode ... | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/ee04bed1b7970f17eca757a8fa948f8852579245/EventMappingQuery.java/buggy/opennms-model/src/main/java/org/opennms/netmgt/dao/jdbc/event/EventMappingQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2144,
13721,
548,
273,
394,
2144,
12,
5453,
18,
588,
1702,
2932,
20681,
548,
7923,
1769,
2755,
959,
16779,
13721,
273,
261,
20681,
548,
18,
474,
620,
1435,
422,
374,
13,
692,
446,
294,
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,
2144,
13721,
548,
273,
394,
2144,
12,
5453,
18,
588,
1702,
2932,
20681,
548,
7923,
1769,
2755,
959,
16779,
13721,
273,
261,
20681,
548,
18,
474,
620,
1435,
422,
374,
13,
692,
446,
294,
261,
... | |
public void send(LockssDatagram ld, ArchivalUnit au) throws IOException { | public void send(LockssDatagram ld, ArchivalUnit au, RateLimiter limiter) throws IOException { | public void send(LockssDatagram ld, ArchivalUnit au) throws IOException { if (multiPort < 0) { throw new IllegalStateException("Multicast port not configured"); } if (group == null) { throw new IllegalStateException("Multicast group not configured"); } updateOutStats(ld, multiPort, true); ... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/35a115f02b782a04e9828687d3c267231695abc0/LcapDatagramComm.java/buggy/src/org/lockss/protocol/LcapDatagramComm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1366,
12,
2531,
1049,
5139,
17049,
16916,
16,
16959,
5162,
2802,
20309,
16,
13025,
22329,
25057,
13,
1216,
1860,
288,
565,
309,
261,
7027,
2617,
411,
374,
13,
288,
1377,
604,
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,
1071,
918,
1366,
12,
2531,
1049,
5139,
17049,
16916,
16,
16959,
5162,
2802,
20309,
16,
13025,
22329,
25057,
13,
1216,
1860,
288,
565,
309,
261,
7027,
2617,
411,
374,
13,
288,
1377,
604,
3... |
public OptionPanel(String title) { super(new TableLayout()); if (title != null) setBorder(BorderFactory.createTitledBorder( BorderFactory.createEtchedBorder(), title)); | public OptionPanel() { this(null); | public OptionPanel(String title) { super(new TableLayout()); if (title != null) setBorder(BorderFactory.createTitledBorder( BorderFactory.createEtchedBorder(), title)); } | 57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/OptionPanel.java/buggy/freehep-graphicsio/src/main/java/org/freehep/graphicsio/exportchooser/OptionPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2698,
5537,
12,
780,
2077,
13,
288,
3639,
2240,
12,
2704,
3555,
3744,
10663,
3639,
309,
261,
2649,
480,
446,
13,
25715,
12,
8107,
1733,
18,
2640,
56,
305,
1259,
8107,
12,
19694,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2698,
5537,
12,
780,
2077,
13,
288,
3639,
2240,
12,
2704,
3555,
3744,
10663,
3639,
309,
261,
2649,
480,
446,
13,
25715,
12,
8107,
1733,
18,
2640,
56,
305,
1259,
8107,
12,
19694,
1... |
VariableNode(Object object, Object id) { | public VariableNode(Object object, Object id) { | VariableNode(Object object, Object id) { this.object = object; this.id = id; } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/2d4fc75b74d717c754829dde488ff0a7456682cc/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
7110,
907,
12,
921,
733,
16,
1033,
612,
13,
288,
5411,
333,
18,
1612,
273,
733,
31,
5411,
333,
18,
350,
273,
612,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
7110,
907,
12,
921,
733,
16,
1033,
612,
13,
288,
5411,
333,
18,
1612,
273,
733,
31,
5411,
333,
18,
350,
273,
612,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
static Object coerceType(Class type, Object value, boolean useErrorHandler) { if (value != null && value.getClass() == type) { return value; } switch (getJSTypeCode(value)) { case JSTYPE_NULL: if (type.isPrimitive()) { reportConversionError(value, type, !useErrorHandler); } return null; case JSTYPE_UNDEFINED: if (t... | public static Object coerceType(Class type, Object value) { return coerceType(type, value, true); | static Object coerceType(Class type, Object value, boolean useErrorHandler) { if (value != null && value.getClass() == type) { return value; } switch (getJSTypeCode(value)) { case JSTYPE_NULL: // raise error if type.isPrimitive() ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/004397fe5ef540e453f60552849d0320b106ace4/NativeJavaObject.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
12270,
559,
12,
797,
618,
16,
1033,
460,
16,
11794,
1250,
999,
17729,
13,
565,
288,
3639,
309,
261,
1132,
480,
446,
597,
460,
18,
588,
797,
1435,
422,
618,
13,
288,
5411,
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,
377,
760,
1033,
12270,
559,
12,
797,
618,
16,
1033,
460,
16,
11794,
1250,
999,
17729,
13,
565,
288,
3639,
309,
261,
1132,
480,
446,
597,
460,
18,
588,
797,
1435,
422,
618,
13,
288,
5411,
3... |
super (value); | super(value); | public DateTimeAtCompleted(Date value) { super (value); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/76d66c542831682bab339f2d172bb8e87585eec7/DateTimeAtCompleted.java/clean/modules/print/src/main/java/common/javax/print/attribute/standard/DateTimeAtCompleted.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3716,
861,
9556,
12,
1626,
460,
13,
288,
3639,
2240,
12,
1132,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3716,
861,
9556,
12,
1626,
460,
13,
288,
3639,
2240,
12,
1132,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if (subMonitor != null) subMonitor.subTask(Util.bind("engine.searching.matching", participant.getDescription())); | if (subMonitor != null) subMonitor.subTask(Messages.bind(Messages.engine_searching_matching, (new String[] {participant.getDescription()}))); | public void findMatches(SearchPattern pattern, SearchParticipant[] participants, IJavaSearchScope scope, SearchRequestor requestor, IProgressMonitor monitor) throws CoreException { if (monitor != null && monitor.isCanceled()) throw new OperationCanceledException(); /* initialize progress monitor */ if (monitor != ... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/7ed8fb3f335f5407b01a590a0c668733ebc19aa6/BasicSearchEngine.java/clean/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1104,
6869,
12,
2979,
3234,
1936,
16,
5167,
22540,
8526,
22346,
16,
467,
5852,
2979,
3876,
2146,
16,
5167,
691,
280,
590,
280,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1104,
6869,
12,
2979,
3234,
1936,
16,
5167,
22540,
8526,
22346,
16,
467,
5852,
2979,
3876,
2146,
16,
5167,
691,
280,
590,
280,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
... |
KeySequence modeBeforeKeyStroke = getMode(); | KeySequence sequenceBeforeKeyStroke = state.getCurrentSequence(); | public boolean press(List potentialKeyStrokes, Event event) { KeySequence modeBeforeKeyStroke = getMode(); for (Iterator iterator = potentialKeyStrokes.iterator(); iterator.hasNext();) { KeySequence modeAfterKeyStroke = KeySequence.getInstance(modeBeforeKeyStroke, (KeyStroke) iterator.next()); if (isPartialMa... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8fade70812602707904f82fb8b9dec3028fb7005/WorkbenchKeyboard.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/WorkbenchKeyboard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
11779,
12,
682,
8555,
653,
510,
3250,
281,
16,
2587,
871,
13,
288,
202,
202,
653,
4021,
1965,
4649,
653,
14602,
273,
24588,
5621,
202,
202,
1884,
261,
3198,
2775,
273,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
11779,
12,
682,
8555,
653,
510,
3250,
281,
16,
2587,
871,
13,
288,
202,
202,
653,
4021,
1965,
4649,
653,
14602,
273,
24588,
5621,
202,
202,
1884,
261,
3198,
2775,
273,
8... |
logui.tabbedPane.setTabPlacement(JTabbedPane.TOP); | levelDisplay = ChainsawConstants.LEVEL_DISPLAY_TEXT; SettingsManager.getInstance().saveSettings(); SettingsManager.getInstance().loadSettings(); | public void actionPerformed(ActionEvent e) { logui.tabbedPane.setTabPlacement(JTabbedPane.TOP); } | 47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/a7a0857389570ed5b5db195dbf0ada2a28fd0e1b/ChainsawToolBarAndMenus.java/clean/src/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1850,
1801,
4236,
273,
1680,
4167,
2219,
2918,
18,
10398,
67,
17463,
67,
5151,
31,
8709,
1318,
18,
588,
1442,
7675,
5688,
2628,
5621,
8709,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1850,
1801,
4236,
273,
1680,
4167,
2219,
2918,
18,
10398,
67,
17463,
67,
5151,
31,
8709,
1318,
18,
588,
1442,
7675,
5688,
2628,
5621,
8709,... |
int x = arg.indexOf('.'); | int x = arg.lastIndexOf('.'); | public static String guessMIMEType(String arg) { int x = arg.indexOf('.'); if(x == -1 || x == arg.length()-1) return DEFAULT_MIME_TYPE; String ext = arg.substring(x+1).toLowerCase(); Short mimeIndexOb = (Short) mimeTypesByExtension.get(ext); if(mimeIndexOb != null) { return (String) mimeTypesByNumber.get(mime... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/3d5222502ae6d8d92f60556c81536c4b281feaf6/DefaultMIMETypes.java/buggy/src/freenet/client/DefaultMIMETypes.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
7274,
18178,
559,
12,
780,
1501,
13,
288,
202,
202,
474,
619,
273,
1501,
18,
31806,
2668,
1093,
1769,
202,
202,
430,
12,
92,
422,
300,
21,
747,
619,
422,
1501,
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,
760,
514,
7274,
18178,
559,
12,
780,
1501,
13,
288,
202,
202,
474,
619,
273,
1501,
18,
31806,
2668,
1093,
1769,
202,
202,
430,
12,
92,
422,
300,
21,
747,
619,
422,
1501,
18,... |
System.exit(status); return recv.getRuntime().getNil(); | throw new SystemExit(recv.getRuntime(), status); | public static IRubyObject exit(IRubyObject recv, IRubyObject args[]) { int status = 0; if (args.length > 0) { status = RubyNumeric.fix2int(args[0]); } System.exit(status); return recv.getRuntime().getNil(); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/d9317e0eeee3391f47aa759e650cc97132b1f4f7/KernelModule.java/buggy/org/jruby/KernelModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
2427,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
833,
63,
5717,
288,
3639,
509,
1267,
273,
374,
31,
3639,
309,
261,
1968,
18,
2469,
405,
374,
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,
15908,
10340,
921,
2427,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
833,
63,
5717,
288,
3639,
509,
1267,
273,
374,
31,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
... |
public static URL createURL(String context, String spec) throws MalformedURLException { return createURL(context == null ? null : createURL(context), spec); | public static URL createURL(String spec) throws MalformedURLException { return createURL((URL) null, spec); | public static URL createURL(String context, String spec) throws MalformedURLException { return createURL(context == null ? null : createURL(context), spec); } | 51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/7433e82c814bcf3c52c1c63768be8b768747c1d3/URLFactory.java/buggy/src/java/org/orbeon/oxf/resources/URLFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1976,
752,
1785,
12,
780,
819,
16,
514,
857,
13,
1216,
20710,
288,
3639,
327,
752,
1785,
12,
2472,
422,
446,
692,
446,
294,
752,
1785,
12,
2472,
3631,
857,
1769,
565,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1976,
752,
1785,
12,
780,
819,
16,
514,
857,
13,
1216,
20710,
288,
3639,
327,
752,
1785,
12,
2472,
422,
446,
692,
446,
294,
752,
1785,
12,
2472,
3631,
857,
1769,
565,
289,
... |
constant = p.getConstantAt(name); if (constant != null) return constant; } | constant = p.getConstantAt(name); if (constant != null) { return constant; } } | public IRubyObject getConstantAtOrConstantMissing(String name) { IRubyObject constant = getConstantAt(name); if (constant != null) { return constant; } for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { constant = p.getConstantAt(name); if (... | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/abfe85d15f992ecf4447b155d177050fe2239c3b/RubyModule.java/buggy/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
24337,
861,
1162,
6902,
4841,
12,
780,
508,
13,
288,
3639,
15908,
10340,
921,
5381,
273,
24337,
861,
12,
529,
1769,
3639,
309,
261,
14384,
480,
446,
13,
288,
2398... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
24337,
861,
1162,
6902,
4841,
12,
780,
508,
13,
288,
3639,
15908,
10340,
921,
5381,
273,
24337,
861,
12,
529,
1769,
3639,
309,
261,
14384,
480,
446,
13,
288,
2398... |
String fieldValue = node.getStringLiteral().getText().replaceAll("\\s+", " "); String[] fieldValues = new String[0]; | String fieldValue = tsl.getText().replaceAll("\\s+", " "); | public void outAValueValOrSid(AValueValOrSid node) { //currEntryInfo.append(node.getStringLiteral().getText().replaceAll("\\s+", " ")); String fieldValue = node.getStringLiteral().getText().replaceAll("\\s+", " "); String[] fieldValues = new String[0]; currEntryInfo.append(fieldV... | 48893 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48893/9ba080b0c901d335db2cb543a5bc7d76ff474439/EntryRetriever.java/clean/source/net/sourceforge/texlipse/bibparser/EntryRetriever.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
596,
37,
620,
3053,
1162,
11067,
12,
37,
620,
3053,
1162,
11067,
756,
13,
288,
3639,
368,
17016,
1622,
966,
18,
6923,
12,
2159,
18,
588,
28565,
7675,
588,
1528,
7675,
2079,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
596,
37,
620,
3053,
1162,
11067,
12,
37,
620,
3053,
1162,
11067,
756,
13,
288,
3639,
368,
17016,
1622,
966,
18,
6923,
12,
2159,
18,
588,
28565,
7675,
588,
1528,
7675,
2079,
1... |
protected Object[] getRawChildren(Object parent) { | protected Object[] getRawChildren(Object parentElementOrTreePath) { Object parent; TreePath path; if (parentElementOrTreePath instanceof TreePath) { path = (TreePath) parentElementOrTreePath; parent = path.getLastSegment(); } else { parent = parentElementOrTreePath; path = null; } | protected Object[] getRawChildren(Object parent) { if (parent != null) { if (equals(parent, getRoot())) return super.getRawChildren(parent); ITreeContentProvider cp = (ITreeContentProvider) getContentProvider(); if (cp != null) { Object[] result ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/990698bdd0a4b0271c66c276d567bcde732bfa70/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1033,
8526,
10547,
4212,
12,
921,
30363,
1162,
2471,
743,
13,
288,
1033,
982,
31,
4902,
743,
589,
31,
309,
261,
2938,
1046,
1162,
2471,
743,
1276,
4902,
743,
13,
288,
589,
273,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1033,
8526,
10547,
4212,
12,
921,
30363,
1162,
2471,
743,
13,
288,
1033,
982,
31,
4902,
743,
589,
31,
309,
261,
2938,
1046,
1162,
2471,
743,
1276,
4902,
743,
13,
288,
589,
273,
26... |
newPlugin.startPlugin(); | node.ps.queueTimedJob(new Runnable() { public void run() { try{ while(!node.isHasStarted()) Thread.sleep(1000); }catch (InterruptedException e) {} newPlugin.startPlugin(); } }, 0); | public void addPlugin(String pluginName, boolean store) throws IllegalArgumentException { Plugin newPlugin = createPlugin(pluginName); if (newPlugin == null) { throw new IllegalArgumentException(); } newPlugin.setPluginManager(this); newPlugin.startPlugin(); synchronized (syncObject) { plugins.add(newPlugin)... | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/cc33677feac3f31dbdc409462de91ffe52bdd8ef/PluginManager.java/clean/src/freenet/plugin/PluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
3773,
12,
780,
15909,
16,
1250,
1707,
13,
1216,
2754,
288,
202,
202,
3773,
394,
3773,
273,
752,
3773,
12,
4094,
461,
1769,
202,
202,
430,
261,
2704,
3773,
422,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
3773,
12,
780,
15909,
16,
1250,
1707,
13,
1216,
2754,
288,
202,
202,
3773,
394,
3773,
273,
752,
3773,
12,
4094,
461,
1769,
202,
202,
430,
261,
2704,
3773,
422,
446,
... |
private static Node mergeLDMLDocuments(Document source, Node override, StringBuffer xpath, String thisName, String sourceDir){ if(source==null){ return override; } if(xpath.length()==0){ xpath.append("/"); } // boolean got... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/69acd57cf3f2d6e275e46e99827a58157c31694a/LDMLUtilities.java/buggy/tools/java/org/unicode/cldr/util/LDMLUtilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
2029,
2691,
12069,
1495,
12922,
12,
2519,
1084,
16,
2029,
3849,
16,
6674,
6748,
16,
4766,
6647,
514,
333,
461,
16,
514,
26844,
15329,
377,
202,
430,
12,
3168,
631,
2011,
15329,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
2029,
2691,
12069,
1495,
12922,
12,
2519,
1084,
16,
2029,
3849,
16,
6674,
6748,
16,
4766,
6647,
514,
333,
461,
16,
514,
26844,
15329,
377,
202,
430,
12,
3168,
631,
2011,
15329,... | ||
ruby_cref = new NODE(NODE_CREF, c, null, ruby_cref); | ruby.setRubyCRef(new NODE(NODE.NODE_CREF, c, null, ruby.getRubyCRef())); | private void PUSH_CREF(Object c) { ruby_cref = new NODE(NODE_CREF, c, null, ruby_cref); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/cf644c556d410c47305ebeba5728efa25f7756dc/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
28591,
67,
5458,
42,
12,
921,
276,
13,
288,
3639,
22155,
18,
542,
54,
10340,
39,
1957,
12,
2704,
11922,
12,
8744,
18,
8744,
67,
5458,
42,
16,
276,
16,
446,
16,
22155,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
28591,
67,
5458,
42,
12,
921,
276,
13,
288,
3639,
22155,
18,
542,
54,
10340,
39,
1957,
12,
2704,
11922,
12,
8744,
18,
8744,
67,
5458,
42,
16,
276,
16,
446,
16,
22155,
18,
... |
static void codeBug() { | public static void codeBug() throws RuntimeException { | static void codeBug() { throw new RuntimeException("FAILED ASSERTION"); } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/d42d684b62c628834ea9214a064715899c0008f9/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
981,
19865,
1435,
1216,
3235,
288,
3639,
604,
394,
3235,
2932,
11965,
17289,
11539,
1146,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
981,
19865,
1435,
1216,
3235,
288,
3639,
604,
394,
3235,
2932,
11965,
17289,
11539,
1146,
8863,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
return new MoreThanOneTable_langprefixes_language( rs ); } | return new Table_templates( rs ); }; | Object mapOneRowFromResultsetToObject( ResultSet rs ) throws SQLException { return new MoreThanOneTable_langprefixes_language( rs ); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/038e53b4558ddc7040be78beaaf14e7b48d7a765/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1033,
852,
3335,
1999,
1265,
1253,
542,
19121,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
16053,
9516,
3335,
1388,
67,
4936,
17777,
67,
4923,
12,
3597,
11272,
5411,
289,
2,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2398,
1033,
852,
3335,
1999,
1265,
1253,
542,
19121,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
16053,
9516,
3335,
1388,
67,
4936,
17777,
67,
4923,
12,
3597,
11272,
5411,
289,
2,
-... |
if (gameData.getMoveCount() < -plyDifference) | if ((gameData.getMoveCount() < -plyDifference) || ((boardData.getPlayedPlyCount() == 0) && !gameData.game.isPlayed())) | protected boolean processStyle12(Style12Struct boardData){ Integer gameNumber = new Integer(boardData.getGameNumber()); InternalGameData gameData = (InternalGameData)ongoingGamesData.get(gameNumber); GameInfoStruct unstartedGameInfo = (GameInfoStruct)unstartedGamesData.remove(gameNumber); if (unstartedGam... | 1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/18e5803e73976e2977d3d263960c3a32daf0cf8e/JinFreechessConnection.java/buggy/src/free/jin/freechess/JinFreechessConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
1207,
2885,
2138,
12,
2885,
2138,
3823,
11094,
751,
15329,
565,
2144,
7920,
1854,
273,
394,
2144,
12,
3752,
751,
18,
588,
12496,
1854,
10663,
565,
3186,
12496,
751,
7920,
751,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1207,
2885,
2138,
12,
2885,
2138,
3823,
11094,
751,
15329,
565,
2144,
7920,
1854,
273,
394,
2144,
12,
3752,
751,
18,
588,
12496,
1854,
10663,
565,
3186,
12496,
751,
7920,
751,
... |
options.addOption("e", "errors", false, "Report Errors Only"); | options.addOption("v", "verbose", false, "Report all processing"); | public static void main(String[] args) { // set up command line parser CommandLineParser parser = new PosixParser(); CommandLine line = null; // create an options object and populate it Options options = new Options(); options.addOption("l", "looping", false, "Loop throu... | 25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/6c35684c85aea40f564514743cf353881f53e165/ChecksumChecker.java/buggy/dspace/src/org/dspace/app/checker/ChecksumChecker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
3639,
368,
444,
731,
1296,
980,
2082,
3639,
15893,
2678,
2082,
273,
394,
6818,
697,
2678,
5621,
3639,
15893,
980,
273,
446,
31,
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,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
3639,
368,
444,
731,
1296,
980,
2082,
3639,
15893,
2678,
2082,
273,
394,
6818,
697,
2678,
5621,
3639,
15893,
980,
273,
446,
31,
3... |
Log.log(Log.WARNING,jEdit.class,"Not loading" + " obsolete plugin: " + path); | String[] args = { plugin }; GUIUtilities.error(null,"plugin.obsolete",args); | public static void loadPlugins(String directory) { Log.log(Log.NOTICE,jEdit.class,"Loading plugins from " + directory); File file = new File(directory); if(!(file.exists() && file.isDirectory())) return; String[] plugins = file.list(); if(plugins == null) return; MiscUtilities.quicksort(plugins,new MiscUti... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/0c3e5bbb6652be0afe9a03ce3824456aa2457e67/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1262,
9461,
12,
780,
1867,
13,
202,
95,
202,
202,
1343,
18,
1330,
12,
1343,
18,
20559,
16,
78,
4666,
18,
1106,
10837,
10515,
4799,
628,
315,
1082,
202,
15,
1867,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1262,
9461,
12,
780,
1867,
13,
202,
95,
202,
202,
1343,
18,
1330,
12,
1343,
18,
20559,
16,
78,
4666,
18,
1106,
10837,
10515,
4799,
628,
315,
1082,
202,
15,
1867,
1... |
Object a = Array.newInstance(type.getType(cl), size); | Class clazz; if (type == null) { clazz = method.getReturnType().getComponentType(); if (clazz == null || size > 0) throw new ClassNotFoundException("broken array type: " + method.getName()); } else clazz = type.getType(cl); Object a = Array.newInstance(clazz, size); | Object getValue(ClassLoader cl, ClassPool cp) throws ClassNotFoundException { if (type == null || values == null) throw new ClassNotFoundException("no array elements specified"); int size = values.length; Object a = Array.newInstance(type.getType(cl), size); for (int i = 0; i ... | 56357 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56357/5292871f7db7057392530d77c18dee8a7492f91b/ArrayMemberValue.java/clean/src/main/javassist/bytecode/annotation/ArrayMemberValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1033,
2366,
12,
7805,
927,
16,
1659,
2864,
3283,
13,
1216,
10403,
288,
3639,
309,
261,
723,
422,
446,
747,
924,
422,
446,
13,
5411,
604,
394,
10403,
2932,
2135,
526,
2186,
1269,
8863,
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,
377,
1033,
2366,
12,
7805,
927,
16,
1659,
2864,
3283,
13,
1216,
10403,
288,
3639,
309,
261,
723,
422,
446,
747,
924,
422,
446,
13,
5411,
604,
394,
10403,
2932,
2135,
526,
2186,
1269,
8863,
3... |
if (os.startsWith("linux") && cpu.equals("amd64")) { | if ((os.startsWith("linux") && cpu.equals("amd64")) || (os.startsWith("linux") && cpu.equals("ia64"))) { | public void run(String[] args) { try { Reader reader = null; String filename = null; String emitterClass = null; java.util.List cfgFiles = new ArrayList(); if (args.length == 0) { usage(); } java.util.List includePaths = new ArrayList(); for (int i = 0; i < args.lengt... | 46813 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46813/24c5dd419e8094b030a55ea86acee4dce0c61f06/GlueGen.java/buggy/src/net/java/games/gluegen/GlueGen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
12,
780,
8526,
833,
13,
288,
565,
775,
288,
1377,
5393,
2949,
273,
446,
31,
1377,
514,
1544,
273,
446,
31,
1377,
514,
11520,
797,
273,
446,
31,
1377,
2252,
18,
1367,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
12,
780,
8526,
833,
13,
288,
565,
775,
288,
1377,
5393,
2949,
273,
446,
31,
1377,
514,
1544,
273,
446,
31,
1377,
514,
11520,
797,
273,
446,
31,
1377,
2252,
18,
1367,
... |
protected String getOptions() { // Set the options StringBuffer options = new StringBuffer(); if (dbVendor != null) { options.append(" -dbvendor ").append(dbVendor); } if (dbName != null) { options.append(" -dbname \"").append(dbName).append("\""); } ... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c6c232893c39257745a8f7a618bcdb5c59791cae/WebsphereDeploymentTool.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
9849,
1435,
288,
3639,
368,
1000,
326,
702,
3639,
6674,
702,
273,
394,
6674,
5621,
3639,
309,
261,
1966,
14786,
480,
446,
13,
288,
5411,
702,
18,
6923,
2932,
300,
1966,
10645,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
9849,
1435,
288,
3639,
368,
1000,
326,
702,
3639,
6674,
702,
273,
394,
6674,
5621,
3639,
309,
261,
1966,
14786,
480,
446,
13,
288,
5411,
702,
18,
6923,
2932,
300,
1966,
10645,
... | ||
IASTIdExpression ref_y = (IASTIdExpression) init_z.getOperand2(); IASTName name_ref_y = ref_y.getName(); assertEquals("y", name_ref_y.toString()); | IASTIdExpression ref_y = (IASTIdExpression) init_z.getOperand2(); IASTName name_ref_y = ref_y.getName(); assertEquals("y", name_ref_y.toString()); | public void testBasicFunction() throws Exception { StringBuffer buff = new StringBuffer(); buff.append("int x;\n"); //$NON-NLS-1$ buff.append("void f(int y) {\n"); //$NON-NLS-1$ buff.append(" int z = x + y;\n"); //$NON-NLS-1$ buff.append("}\n"); //$NON-NLS-1$ IASTTranslationUnit tu = ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
8252,
2083,
1435,
1216,
1185,
288,
1377,
6674,
6139,
273,
394,
6674,
5621,
1377,
6139,
18,
6923,
2932,
474,
619,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
8252,
2083,
1435,
1216,
1185,
288,
1377,
6674,
6139,
273,
394,
6674,
5621,
1377,
6139,
18,
6923,
2932,
474,
619,
9747,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1377,
... |
} | } | public boolean accept(Program program) { int h = program.getHours(); return (h<mToTime%24 && h>=mFromTime); } | 9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/5eada911a84ec4c760fe9f852a701208e864b692/TimeFilterComponent.java/clean/tvbrowser/src/tvbrowser/core/filters/filtercomponents/TimeFilterComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2791,
12,
9459,
5402,
13,
288,
3639,
509,
366,
273,
5402,
18,
588,
14910,
5621,
565,
327,
261,
76,
32,
81,
774,
950,
9,
3247,
597,
366,
34,
33,
81,
1265,
950,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2791,
12,
9459,
5402,
13,
288,
3639,
509,
366,
273,
5402,
18,
588,
14910,
5621,
565,
327,
261,
76,
32,
81,
774,
950,
9,
3247,
597,
366,
34,
33,
81,
1265,
950,
1769,
... |
TemplatePosition[] variables= templateBuffer.getVariables(); | TemplateVariable[] variables= templateBuffer.getVariables(); | private static void trimBegin(TemplateBuffer templateBuffer) throws CoreException { String string= templateBuffer.getString(); TemplatePosition[] variables= templateBuffer.getVariables(); MultiTextEdit positions= variablesToPositions(variables); int i= 0; while ((i != string.length()) && Character.isWhitespace(st... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3c9660722e94023d2d75aec85e55cbb5ff731977/CFormatter.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/c/CFormatter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
2209,
8149,
12,
2283,
1892,
1542,
1892,
13,
1216,
30015,
288,
202,
202,
780,
533,
33,
1542,
1892,
18,
588,
780,
5621,
202,
202,
2283,
2555,
8526,
3152,
33,
1542,
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,
1152,
760,
918,
2209,
8149,
12,
2283,
1892,
1542,
1892,
13,
1216,
30015,
288,
202,
202,
780,
533,
33,
1542,
1892,
18,
588,
780,
5621,
202,
202,
2283,
2555,
8526,
3152,
33,
1542,
18... |
entity = (EntityImpl)fDocumentImpl.createEntity(name); entity.setBaseURI((String)fBaseURIStack.peek()); entities.setNamedItem(entity); | entity = (EntityImpl)fDocumentImpl.createEntity (name); entity.setBaseURI ((String)fBaseURIStack.peek ()); entities.setNamedItem (entity); | public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augs) throws XNIException { if (DEBUG_EVENTS) { System.out.println("==>internalEntityDecl: "+name); if (DEBUG_BASEU... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/9d1dbf89c75cf6f564facc2b605dd9f2cf2dac4d/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2713,
1943,
3456,
12,
780,
508,
16,
3167,
780,
977,
16,
4766,
565,
3167,
780,
1661,
15577,
1528,
16,
4766,
282,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2713,
1943,
3456,
12,
780,
508,
16,
3167,
780,
977,
16,
4766,
565,
3167,
780,
1661,
15577,
1528,
16,
4766,
282,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,... |
public void testExitState_Valid() | public void testExitState_Valid() throws Exception | public void testExitState_Valid() { this.processContext.startProcess( this.process ); assertSame( this.process, this.processContext.getCurrentProcess() ); assertNull( this.processContext.getCurrentState() ); try { this.processContext.enterState( th... | 4520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4520/7f657df1e798ae8dc4b5bce7475d85219d56a2f2/ProcessContextTest.java/buggy/blissed-core/src/java/test/com/werken/blissed/ProcessContextTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6767,
1119,
67,
1556,
1435,
1216,
1185,
565,
288,
3639,
333,
18,
2567,
1042,
18,
1937,
2227,
12,
333,
18,
2567,
11272,
3639,
1815,
8650,
12,
333,
18,
2567,
16,
10792,
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,
377,
1071,
918,
1842,
6767,
1119,
67,
1556,
1435,
1216,
1185,
565,
288,
3639,
333,
18,
2567,
1042,
18,
1937,
2227,
12,
333,
18,
2567,
11272,
3639,
1815,
8650,
12,
333,
18,
2567,
16,
10792,
3... |
Class resultType ) throws Throwable { try { defaultResultStub.invoke(invocationReturning(resultType)); fail("stub should not support return type " + resultType); } catch( AssertionFailedError expected ) { return; } } | Class resultType ) throws Throwable { try { defaultResultStub.invoke(invocationReturning(resultType)); fail("stub should not support return type " + resultType); } catch (AssertionFailedError expected) { return; } } | public void assertHasNotRegisteredReturnType( DefaultResultStub defaultResultStub, Class resultType ) throws Throwable { try { defaultResultStub.invoke(invocationReturning(resultType)); fail("stub should not support return type " + resultType); } catch(... | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/DefaultResultStubTest.java/buggy/jmock/core/src/test/jmock/core/stub/DefaultResultStubTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1815,
5582,
1248,
10868,
9102,
12,
2989,
1253,
11974,
805,
1253,
11974,
16,
6862,
6862,
6862,
225,
1659,
25820,
262,
3639,
1216,
4206,
565,
288,
377,
202,
698,
288,
5411,
805,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1815,
5582,
1248,
10868,
9102,
12,
2989,
1253,
11974,
805,
1253,
11974,
16,
6862,
6862,
6862,
225,
1659,
25820,
262,
3639,
1216,
4206,
565,
288,
377,
202,
698,
288,
5411,
805,
... |
pattern, rese); | pattern, rese); | public void configure(Configuration configuration) throws ConfigurationException { Configuration[] children; children = configuration.getChildren(INCLUDE_CONFIG); if (children.length > 0) { includeCrawlingURL = new HashSet(); for (int i = 0; i < children.length;... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/805d6a24030fe6358e5025d56d6cd59398315030/SimpleCocoonCrawlerImpl.java/clean/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
12,
1750,
1664,
13,
5411,
1216,
22196,
288,
3639,
4659,
8526,
2325,
31,
3639,
2325,
273,
1664,
18,
588,
4212,
12,
26003,
67,
7203,
1769,
3639,
309,
261,
5906,
18,
2469,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5068,
12,
1750,
1664,
13,
5411,
1216,
22196,
288,
3639,
4659,
8526,
2325,
31,
3639,
2325,
273,
1664,
18,
588,
4212,
12,
26003,
67,
7203,
1769,
3639,
309,
261,
5906,
18,
2469,
... |
scheduler.stop(); /* I should find a safer way */ | stopThread = true; | public void stopScheduler() { scheduler.stop(); /* I should find a safer way */ } | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/5b2448e756eb7490149f7dd210f2bc116626e043/FCPQueueManager.java/buggy/src/thaw/fcp/FCPQueueManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2132,
11870,
1435,
288,
202,
202,
19972,
18,
5681,
5621,
1748,
467,
1410,
1104,
279,
7864,
586,
4031,
1195,
202,
97,
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,
0,
0,
0,
0,
0,
0,
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,
2132,
11870,
1435,
288,
202,
202,
19972,
18,
5681,
5621,
1748,
467,
1410,
1104,
279,
7864,
586,
4031,
1195,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
layout.draw(currentNode,outlineLayoutManager.TEXT); | layout.draw(currentNode,OutlineLayoutManager.TEXT); | private void promote(TreeContext tree, outlineLayoutManager layout) { Node currentNode = textArea.node; // Put the Undoable onto the UndoQueue Node targetNode = currentNode.getParent().getParent(); int targetIndex = currentNode.getParent().currentIndex() + 1; if (currentNode.getParent().isRoot()) { // Our paren... | 49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/2361eab2eca8fbf91d8b2ce4fb68e843e088736a/TextKeyListener.java/clean/outliner/src/com/organic/maynard/outliner/TextKeyListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
28374,
12,
2471,
1042,
2151,
16,
16363,
3744,
1318,
3511,
13,
288,
202,
202,
907,
13425,
273,
977,
5484,
18,
2159,
31,
202,
202,
759,
4399,
326,
1351,
2896,
429,
10170,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28374,
12,
2471,
1042,
2151,
16,
16363,
3744,
1318,
3511,
13,
288,
202,
202,
907,
13425,
273,
977,
5484,
18,
2159,
31,
202,
202,
759,
4399,
326,
1351,
2896,
429,
10170,
... |
IConfigurationElement[] children = element.getChildren(); if (children.length != 1) throw new IllegalStateException( "Single expression does not contain only 1 expression"); child = createExpression(children[0]); } | if (expression != null) child = expression; else throw new IllegalStateException( "Single expression must contain 1 expression"); } | public SingleExpression(IConfigurationElement element) throws IllegalStateException { super(); IConfigurationElement[] children = element.getChildren(); if (children.length != 1) throw new IllegalStateException( "Single expres... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5cfb5f88a049bbc9efcf0fade7d5687d0ec50ed3/ActionExpression.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
10326,
2300,
12,
45,
1750,
1046,
930,
13,
7734,
1216,
5477,
288,
5411,
2240,
5621,
5411,
467,
1750,
1046,
8526,
2325,
273,
930,
18,
588,
4212,
5621,
5411,
309,
261,
5906,
18,
2469,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10326,
2300,
12,
45,
1750,
1046,
930,
13,
7734,
1216,
5477,
288,
5411,
2240,
5621,
5411,
467,
1750,
1046,
8526,
2325,
273,
930,
18,
588,
4212,
5621,
5411,
309,
261,
5906,
18,
2469,
... |
wireToData(length, in, c); | if (in == null) return; data = new byte[length]; in.read(data); | dnsUNKRecord(dnsName _name, short _type, short _dclass, int _ttl, int length, CountedDataInputStream in, dnsCompression c) throws IOException{ super(_name, _type, _dclass, _ttl); wireToData(length, in, c);} | 4227 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4227/eab19ae1a2d6b028d8d0c3a26d740a5520f4fec6/UNKRecord.java/buggy/org/xbill/DNS/UNKRecord.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
6605,
16141,
2115,
12,
14926,
461,
389,
529,
16,
3025,
389,
723,
16,
3025,
389,
72,
1106,
16,
509,
389,
12546,
16,
509,
769,
16,
202,
377,
6974,
329,
751,
4348,
316,
16,
6605,
15270,
276,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
6605,
16141,
2115,
12,
14926,
461,
389,
529,
16,
3025,
389,
723,
16,
3025,
389,
72,
1106,
16,
509,
389,
12546,
16,
509,
769,
16,
202,
377,
6974,
329,
751,
4348,
316,
16,
6605,
15270,
276,
... |
r.run(); | r.run(); | public void themeChanged(ConfigurableMetalTheme theme) { // we should really only be getting messages from our own current themes, // but, hey, it never hurts to check. if (currentTheme != null && currentTheme == theme) { Runnable r = new Runnable() { public void run() { try { Pooka.getUIFac... | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/55c2ef8139608f0f93fb72272ca8300eb9ac663e/PreviewContentPanel.java/buggy/src/net/suberic/pooka/gui/PreviewContentPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5006,
5033,
12,
31660,
26365,
8335,
5006,
13,
288,
565,
368,
732,
1410,
8654,
1338,
506,
8742,
2743,
628,
3134,
4953,
783,
15455,
16,
565,
368,
1496,
16,
366,
402,
16,
518,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5006,
5033,
12,
31660,
26365,
8335,
5006,
13,
288,
565,
368,
732,
1410,
8654,
1338,
506,
8742,
2743,
628,
3134,
4953,
783,
15455,
16,
565,
368,
1496,
16,
366,
402,
16,
518,
5... |
public static P2PService getLocalP2PService() throws ProActiveException { return (P2PService) ProActiveRuntimeImpl.getProActiveRuntime() .getActiveObjects(P2P_NODE_NAME, P2PService.class.getName()).get(0); | public static P2PService getLocalP2PService() throws Exception { UniversalBody body = (UniversalBody) ProActiveRuntimeImpl.getProActiveRuntime() .getActiveObjects(P2P_NODE_NAME, P2PService.class.getName()).get(0); return (P2PService) MOP.newInstance(P2PService.class.getName(), (Object[]) null, Constants.DEFAULT_BODY_PR... | public static P2PService getLocalP2PService() throws ProActiveException { return (P2PService) ProActiveRuntimeImpl.getProActiveRuntime() .getActiveObjects(P2P_NODE_NAME, P2PService.class.getName()).get(0); } | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/e158e55a4afae409f23ffc500c6cedbf92d73a1e/P2PService.java/clean/src/org/objectweb/proactive/p2p/service/P2PService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
453,
22,
52,
1179,
6993,
52,
22,
52,
1179,
1435,
1216,
1186,
3896,
503,
288,
3639,
327,
261,
52,
22,
52,
1179,
13,
1186,
3896,
5576,
2828,
18,
588,
626,
3896,
5576,
1435,
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,
760,
453,
22,
52,
1179,
6993,
52,
22,
52,
1179,
1435,
1216,
1186,
3896,
503,
288,
3639,
327,
261,
52,
22,
52,
1179,
13,
1186,
3896,
5576,
2828,
18,
588,
626,
3896,
5576,
1435,
4... |
HighWireArchivalUnit hwau1 = makeAu(new URL(stem1 + "/"), 10); | ConfigurableArchivalUnit hwau1 = makeAu(new URL(stem1 + "/"), 10); | public void testGetUrlStems() throws Exception { String stem1 = "http://www.example.com"; HighWireArchivalUnit hwau1 = makeAu(new URL(stem1 + "/"), 10); assertEquals(ListUtil.list(stem1), hwau1.getUrlStems()); String stem2 = "http://www.example.com:8080"; HighWireArchivalUnit hwau2 = makeAu(new URL(ste... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/7213af99d56a7766716f5d711aa30ad85c71d195/TestHighWireArchivalUnit.java/clean/test/src/org/lockss/plugin/highwire/TestHighWireArchivalUnit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
1489,
510,
7424,
1435,
1216,
1185,
288,
565,
514,
13119,
21,
273,
315,
2505,
2207,
5591,
18,
8236,
18,
832,
14432,
565,
29312,
12269,
5162,
2802,
16139,
8377,
21,
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,
918,
1842,
967,
1489,
510,
7424,
1435,
1216,
1185,
288,
565,
514,
13119,
21,
273,
315,
2505,
2207,
5591,
18,
8236,
18,
832,
14432,
565,
29312,
12269,
5162,
2802,
16139,
8377,
21,
27... |
this.type = type; | public ExtRegexp(StaticContext context, int type) { super(context, signature); this.type = type; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/78bd70965f202738e2ca56dacfd71f5d58c0db69/ExtRegexp.java/buggy/src/org/exist/xpath/functions/ExtRegexp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6419,
14621,
12,
5788,
1042,
819,
16,
509,
618,
13,
288,
202,
202,
9565,
12,
2472,
16,
3372,
1769,
202,
202,
2211,
18,
723,
273,
618,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6419,
14621,
12,
5788,
1042,
819,
16,
509,
618,
13,
288,
202,
202,
9565,
12,
2472,
16,
3372,
1769,
202,
202,
2211,
18,
723,
273,
618,
31,
202,
97,
2,
-100,
-100,
-100,
-100,... | |
final String ref = actionElement.attributeValue("ref"); | public void execute(XFormsActionInterpreter actionInterpreter, PipelineContext pipelineContext, String targetId, XFormsEventHandlerContainer eventHandlerContainer, Element actionElement) { final XFormsControls xformsControls = actionInterpreter.getXFormsControls(); final XFormsContainingDocument conta... | 57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/1f6e69c7f197c885fc896f24caf56bf95e02abab/XFormsLoadAction.java/buggy/src/java/org/orbeon/oxf/xforms/action/actions/XFormsLoadAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
12,
60,
18529,
1803,
30010,
1301,
30010,
16,
13671,
1042,
5873,
1042,
16,
514,
27729,
16,
1139,
18529,
16402,
2170,
30441,
2170,
16,
3010,
1301,
1046,
13,
288,
3639,
727,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
12,
60,
18529,
1803,
30010,
1301,
30010,
16,
13671,
1042,
5873,
1042,
16,
514,
27729,
16,
1139,
18529,
16402,
2170,
30441,
2170,
16,
3010,
1301,
1046,
13,
288,
3639,
727,
... | |
if (jj_scan_token(LSQUAREBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_106()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RSQUAREBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; | Token xsp; xsp = jj_scanpos; if (jj_3R_212()) { jj_scanpos = xsp; if (jj_3R_213()) return true; | static final private boolean jj_3R_130() { if (jj_scan_token(LSQUAREBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_106()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RSQUAREBRACKET)) return tr... | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/23e69d576250f417c265d779703b8da08a67aaed/CPPParser.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
727,
3238,
1250,
10684,
67,
23,
54,
67,
24417,
1435,
288,
3639,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
3045,
17483,
21217,
3719,
327,
638,
31,
3639,
309,
261,
78,
78,
67,
1182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
24417,
1435,
288,
3639,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
3045,
17483,
21217,
3719,
327,
638,
31,
3639,
309,
261,
78,
78,
67,
1182... |
if ( ( (File) selected ).isDirectory( ) ) | menu.add( addLibraryAction ); if(useLibraryAction.isEnabled( )) | public void buildContextMenu( IMenuManager menu ) { if ( Policy.TRACING_MENU_SHOW ) { System.out.println( "Menu(for Views) >> Shows for library" ); //$NON-NLS-1$ } menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) ); IStructuredSelection selection = (IStructuredSelection) getViewer( ).getSelecti... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/01d3e223c033017db804ca07b300d653a2166458/LibraryExplorerContextMenuProvider.java/buggy/UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerContextMenuProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1361,
27315,
12,
467,
4599,
1318,
3824,
262,
202,
95,
202,
202,
430,
261,
7436,
18,
4349,
2226,
1360,
67,
29227,
67,
16677,
262,
202,
202,
95,
1082,
202,
3163,
18,
659,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
27315,
12,
467,
4599,
1318,
3824,
262,
202,
95,
202,
202,
430,
261,
7436,
18,
4349,
2226,
1360,
67,
29227,
67,
16677,
262,
202,
202,
95,
1082,
202,
3163,
18,
659,
... |
public static TestSuite suite() { TestSuite suite = new TestSuite(); // // Add one line per class in our test cases. These should be in order of // complexity. // ANTTest should be first as it ensures that test parameters are // being sent to the suite. It also initialises the database (if required) // with som... | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/Jdbc2TestSuite.java/buggy/src/interfaces/jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
4709,
22024,
9519,
1435,
202,
95,
202,
202,
4709,
22024,
9519,
33,
2704,
4709,
13587,
5621,
202,
202,
759,
202,
202,
759,
27901,
3027,
457,
1106,
267,
477,
3813,
22186,
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,
3845,
4709,
22024,
9519,
1435,
202,
95,
202,
202,
4709,
22024,
9519,
33,
2704,
4709,
13587,
5621,
202,
202,
759,
202,
202,
759,
27901,
3027,
457,
1106,
267,
477,
3813,
22186,
18... | ||
in.seek(offset); | in.skipBytes((int) (in.available() - fileLength + offset)); | protected void initStandardMetadata() { try { Hashtable ifd = ifds[0]; super.initStandardMetadata(); Integer obj = new Integer(0); int offset; Integer k = new Integer(UIC4TAG); long[] temp = (long[]) ifd.get(k); Long[] q = new Long[temp.length]; for (int i=0; i<q.length; i++... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/91859a26506b8a1d312b398da2c3ecd94e02fa60/MetamorphReader.java/buggy/loci/formats/MetamorphReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
8336,
2277,
1435,
288,
565,
775,
288,
1377,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
1377,
2240,
18,
2738,
8336,
2277,
5621,
1377,
2144,
1081,
273,
394,
2144,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
8336,
2277,
1435,
288,
565,
775,
288,
1377,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
1377,
2240,
18,
2738,
8336,
2277,
5621,
1377,
2144,
1081,
273,
394,
2144,
12,
... |
return Binding2JavaModel.find(tb, fInputClass.getJavaProject()); | IType result= Binding2JavaModel.find(tb, fInputClass.getJavaProject()); if (result == null) return result; return (IType)WorkingCopyUtil.getWorkingCopyIfExists(result); | private IType findType(ITypeBinding tb) throws JavaModelException{ if (tb == null) return null; return Binding2JavaModel.find(tb, fInputClass.getJavaProject()); } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/75687ba739593e0fcc033390dd6fdb378f4ef3a0/UseSupertypeWherePossibleUtil.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSupertypeWherePossibleUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
559,
1104,
559,
12,
45,
559,
5250,
8739,
13,
1216,
5110,
1488,
503,
95,
202,
202,
430,
261,
18587,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
2463,
15689,
22,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
559,
1104,
559,
12,
45,
559,
5250,
8739,
13,
1216,
5110,
1488,
503,
95,
202,
202,
430,
261,
18587,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
2463,
15689,
22,
5... |
openDesign( "DesignWithSaveStateTest.xml" ); openLibrary( "LibraryWithSaveStateTest.xml" ); | List fileNames = new ArrayList( ); fileNames.add( INPUT_FOLDER + "DesignWithSaveStateTest.xml" ); fileNames.add( INPUT_FOLDER + "LibraryWithSaveStateTest.xml" ); List filePaths = dumpDesignAndLibrariesToFile( fileNames ); String designFilePath = (String) filePaths.get( 0 ); openDesign( designFilePath, false ); String... | public void testErrorLibraryNeedsSave( ) throws Exception { openDesign( "DesignWithSaveStateTest.xml" ); //$NON-NLS-1$ openLibrary( "LibraryWithSaveStateTest.xml" );//$NON-NLS-1$ LabelHandle labelHandle = designHandle.getElementFactory( ).newLabel( "new test label" );//$NON-NLS-1$ designHandle.getBody( ).add( l... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/14f7f5097c347fb97b4edd5251bb64dc3c62527b/ReloadLibraryTest.java/buggy/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/ReloadLibraryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
668,
9313,
26419,
4755,
12,
262,
1216,
1185,
202,
95,
202,
202,
3190,
15478,
12,
315,
15478,
1190,
4755,
1119,
4709,
18,
2902,
6,
11272,
4329,
3993,
17,
5106,
17,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
668,
9313,
26419,
4755,
12,
262,
1216,
1185,
202,
95,
202,
202,
3190,
15478,
12,
315,
15478,
1190,
4755,
1119,
4709,
18,
2902,
6,
11272,
4329,
3993,
17,
5106,
17,
2... |
assertEqual(t.toString(), expecting); | assertEquals(t.toString(), expecting); | public void testNullOptionSingleNullValue() throws Exception { StringTemplateGroup group = new StringTemplateGroup("test", AngleBracketTemplateLexer.class); StringTemplate t = group.defineTemplate("t", "<data; null=\"0\">"); //System.out.println(t); String expecting="0"; assertEqual(t.toString(), expecting);... | 51898 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51898/0c15a856afe727f6355e53ebf153d3bf274ab655/TestStringTemplate.java/buggy/java/main/src/org/antlr/stringtemplate/test/TestStringTemplate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2041,
1895,
5281,
2041,
620,
1435,
1216,
1185,
288,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
2932,
3813,
3113,
24154,
11450,
2283,
13356,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2041,
1895,
5281,
2041,
620,
1435,
1216,
1185,
288,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
2932,
3813,
3113,
24154,
11450,
2283,
13356,... |
public String(String str) | public String() | public String(String str) { value = str.value; offset = str.offset; count = str.count; cachedHashCode = str.cachedHashCode; } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/0dad3a00f48fa9092e8be66b398d5305129c8115/String.java/buggy/java/lang/String.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1435,
225,
288,
565,
460,
273,
609,
18,
1132,
31,
565,
1384,
273,
609,
18,
3348,
31,
565,
1056,
273,
609,
18,
1883,
31,
565,
3472,
21952,
273,
609,
18,
7097,
21952,
31,
225... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1435,
225,
288,
565,
460,
273,
609,
18,
1132,
31,
565,
1384,
273,
609,
18,
3348,
31,
565,
1056,
273,
609,
18,
1883,
31,
565,
3472,
21952,
273,
609,
18,
7097,
21952,
31,
225... |
for (Iterator<EventHandlerInfo> i = _eventHandlers.iterator();i.hasNext();) { EventHandlerInfo ehi = i.next(); if (!ehi.stopRequested && !ehi.terminateRequested) { ehi.cc.stop(); ehi.stopRequested = true; | for (Iterator<EventHandlerInfo> i = _eventHandlers.iterator();i.hasNext();) { EventHandlerInfo ehi = i.next(); if (!ehi.stopRequested && !ehi.terminateRequested) { ehi.cc.stop(); ehi.stopRequested = true; } } | private void stopEventHandlers() { for (Iterator<EventHandlerInfo> i = _eventHandlers.iterator();i.hasNext();) { EventHandlerInfo ehi = i.next(); if (!ehi.stopRequested && !ehi.terminateRequested) { ehi.cc.stop(); ehi.stopRequested = true; } } } | 47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/5a424b5c30fb33ea6a31f42e354ed700333c104e/SCOPE.java/buggy/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2132,
1133,
6919,
1435,
288,
1377,
364,
261,
3198,
32,
16402,
966,
34,
277,
273,
389,
2575,
6919,
18,
9838,
5621,
77,
18,
5332,
2134,
5621,
13,
288,
3639,
26012,
966,
425,
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,
3238,
918,
2132,
1133,
6919,
1435,
288,
1377,
364,
261,
3198,
32,
16402,
966,
34,
277,
273,
389,
2575,
6919,
18,
9838,
5621,
77,
18,
5332,
2134,
5621,
13,
288,
3639,
26012,
966,
425,
12... |
public void shutdown() {} | public void shutdown() { GalleryRemote.shutdownInstance(); } | public void shutdown() {} | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/eee6874752dda5d54fcb6e94dd728b29353a018e/GRAppletMini.java/buggy/gallery_remote/com/gallery/GalleryRemote/GRAppletMini.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5731,
1435,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5731,
1435,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
invalidateProperties(elt, props); | invalidateProperties(elt, props, null); | protected void nonCSSPresentationalHintUpdated(CSSStylableElement elt, StyleMap style, String property, MutationEvent evt) { // System.err.println("update: " +... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/1812b215effcdd7ed3575a7bab5eea3f35443b8f/CSSEngine.java/buggy/sources/org/apache/batik/css/engine/CSSEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1661,
10276,
6351,
8371,
7002,
7381,
12,
10276,
24273,
80,
429,
1046,
11572,
16,
4766,
10402,
9767,
863,
2154,
16,
4766,
10402,
514,
1272,
16,
4766,
10402,
22891,
1133,
6324,
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,
4750,
918,
1661,
10276,
6351,
8371,
7002,
7381,
12,
10276,
24273,
80,
429,
1046,
11572,
16,
4766,
10402,
9767,
863,
2154,
16,
4766,
10402,
514,
1272,
16,
4766,
10402,
22891,
1133,
6324,
13,... |
public JSLFrame editPatch(IPatch p) | public JSLFrame editPatch(Patch p) | public JSLFrame editPatch(IPatch p) { return super.editPatch(p); } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/8de9e9d107eb8c0487bbadf2f24d3a5cc9bc1add/YamahaTX802MicroTuningSingleDriver.java/clean/JSynthLib/synthdrivers/YamahaTX802/YamahaTX802MicroTuningSingleDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
4559,
3219,
3874,
7332,
12,
2579,
505,
293,
13,
202,
95,
202,
202,
2463,
2240,
18,
4619,
7332,
12,
84,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
4559,
3219,
3874,
7332,
12,
2579,
505,
293,
13,
202,
95,
202,
202,
2463,
2240,
18,
4619,
7332,
12,
84,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Object content = mp.getContent(); | Object content = Mime.getMessageContent(mp); | void getStructure(PrintStream ps, MimePart mp, boolean extensions) throws IOException, MessagingException { ps.write('('); ContentType ct = new ContentType(mp.getContentType()); String primary = nATOM(ct.getPrimaryType()), subtype = nATOM(ct.getSubType()); if (primary.equals("\"MULTIPART... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f7f023cf2e26d9d5f9dee370eadac3a15cd387f4/ImapMessage.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/ImapMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
18730,
12,
5108,
1228,
4250,
16,
22059,
1988,
6749,
16,
1250,
4418,
13,
1216,
1860,
16,
23794,
503,
288,
3639,
4250,
18,
2626,
2668,
2668,
1769,
3639,
11691,
5691,
273,
394,
11691,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18730,
12,
5108,
1228,
4250,
16,
22059,
1988,
6749,
16,
1250,
4418,
13,
1216,
1860,
16,
23794,
503,
288,
3639,
4250,
18,
2626,
2668,
2668,
1769,
3639,
11691,
5691,
273,
394,
11691,
1... |
proposals.add(new CastCompletionProposal(label, cu, target, null, 3)); | proposals.add(new CastCompletionProposal(label, cu, target, (String)null, 3)); | private static void addMissingCastParentsProposal(ICompilationUnit cu, MethodInvocation invocationNode, Collection proposals) { Expression sender= invocationNode.getExpression(); if (sender instanceof ThisExpression) { return; } ITypeBinding senderBinding= sender.resolveTypeBinding(); if (senderBinding == nul... | 13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/0bc298a384484828abfde887649944983c9b8cc1/UnresolvedElementsSubProcessor.java/buggy/org.eclipse.ajdt.ui/src31/org/eclipse/ajdt/internal/ui/editor/quickfix/UnresolvedElementsSubProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
527,
4841,
9735,
13733,
14592,
12,
45,
19184,
2802,
15985,
16,
2985,
9267,
9495,
907,
16,
2200,
450,
22536,
13,
288,
202,
202,
2300,
5793,
33,
9495,
907,
18,
588,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
527,
4841,
9735,
13733,
14592,
12,
45,
19184,
2802,
15985,
16,
2985,
9267,
9495,
907,
16,
2200,
450,
22536,
13,
288,
202,
202,
2300,
5793,
33,
9495,
907,
18,
588,
2... |
addStringAttribute(ATTR_CONTENT_ENCODING, contentEncoding); | this.contentEncoding = contentEncoding; | public void setContentEncoding(String contentEncoding) { // allow for nulls addStringAttribute(ATTR_CONTENT_ENCODING, contentEncoding); } | 47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/52d35d7db46168c629bc1598ca5732c0d9ff6dfd/ContentItem.java/buggy/src/main/java/org/osaf/cosmo/model/ContentItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10651,
4705,
12,
780,
913,
4705,
13,
288,
3639,
368,
1699,
364,
27778,
4202,
333,
18,
1745,
4705,
273,
913,
4705,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
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,
10651,
4705,
12,
780,
913,
4705,
13,
288,
3639,
368,
1699,
364,
27778,
4202,
333,
18,
1745,
4705,
273,
913,
4705,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
this.frequency = frequency; } | this.frequency = frequency; } | public void setFrequency(int frequency) { this.frequency = frequency; } | 49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/5fe7bce159b1f86b58cfbf34a296c91d93ca32f9/TreeAnnotator.java/buggy/trunk/src/dr/app/tools/TreeAnnotator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
444,
13865,
12,
474,
8670,
13,
288,
9506,
202,
2211,
18,
14092,
273,
8670,
31,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
444,
13865,
12,
474,
8670,
13,
288,
9506,
202,
2211,
18,
14092,
273,
8670,
31,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
(PsiClass)PsiTreeUtil.getParentOfType(element, PsiClass.class); | ClassUtils.getContainingClass(element); | public void visitReferenceElement(PsiJavaCodeReferenceElement reference) { super.visitReferenceElement(reference); final PsiElement parentClass = PsiTreeUtil.getParentOfType(reference, PsiClass.class); if (reference.getParent() instanceof PsiTypeElement) { return; } ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/SerialVersionUIDBuilder.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/fixes/SerialVersionUIDBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
2404,
1046,
12,
52,
7722,
5852,
1085,
2404,
1046,
2114,
13,
565,
288,
3639,
2240,
18,
11658,
2404,
1046,
12,
6180,
1769,
3639,
727,
453,
7722,
1046,
21366,
273,
453,
7722... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
2404,
1046,
12,
52,
7722,
5852,
1085,
2404,
1046,
2114,
13,
565,
288,
3639,
2240,
18,
11658,
2404,
1046,
12,
6180,
1769,
3639,
727,
453,
7722,
1046,
21366,
273,
453,
7722... |
documentNumber = cd.assignDocumentNumber(); | documentNumber = cd.assignDocumentNumber(); | protected int getNodeNumber() { if (documentNumber==0) { CoreDOMImplementationImpl cd = (CoreDOMImplementationImpl)CoreDOMImplementationImpl.getDOMImplementation(); documentNumber = cd.assignDocumentNumber(); } return documentNumber; } | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/39bb7f6f50e7b98f13cc703c50da536dce255a27/CoreDocumentImpl.java/clean/src/org/apache/xerces/dom/CoreDocumentImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
5973,
1854,
1435,
288,
540,
309,
261,
5457,
1854,
631,
20,
13,
288,
8227,
4586,
8168,
13621,
2828,
7976,
273,
261,
4670,
8168,
13621,
2828,
13,
4670,
8168,
13621,
2828,
18,
588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
5973,
1854,
1435,
288,
540,
309,
261,
5457,
1854,
631,
20,
13,
288,
8227,
4586,
8168,
13621,
2828,
7976,
273,
261,
4670,
8168,
13621,
2828,
13,
4670,
8168,
13621,
2828,
18,
588... |
_decisions.addElement(Decision.UNSPEC); } | _decisions.addElement(Decision.UNSPEC); } | public DecisionModel() { _decisions.addElement(Decision.UNSPEC); } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/DecisionModel.java/clean/src_new/org/argouml/cognitive/DecisionModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
23193,
1488,
1435,
288,
565,
389,
4924,
12682,
18,
1289,
1046,
12,
15861,
18,
2124,
13847,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
23193,
1488,
1435,
288,
565,
389,
4924,
12682,
18,
1289,
1046,
12,
15861,
18,
2124,
13847,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
String result = sb.toString(); | String result = sb.substring(0); | public String encodedata(final String value) { sb.setLength(0); for (int i = 0; i < value.length(); ++i) { char c = value.charAt(i); if (isLegalCharacter(c)) { sb.append(c); } } String result = sb.toString(); int cdEnd = result.index... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/3bb2c149aba3553aa4d57f8047d41510d1c1b622/DOMElementWriter.java/buggy/src/main/org/apache/tools/ant/util/DOMElementWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2017,
892,
12,
6385,
514,
460,
13,
288,
3639,
2393,
18,
542,
1782,
12,
20,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
460,
18,
2469,
5621,
965,
77,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2017,
892,
12,
6385,
514,
460,
13,
288,
3639,
2393,
18,
542,
1782,
12,
20,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
460,
18,
2469,
5621,
965,
77,
13,
288,
... |
return new NearSpans(this, reader); | return inOrder ? (Spans) new NearSpansOrdered(this, reader) : (Spans) new NearSpansUnordered(this, reader); | public Spans getSpans(final IndexReader reader) throws IOException { if (clauses.size() == 0) // optimize 0-clause case return new SpanOrQuery(getClauses()).getSpans(reader); if (clauses.size() == 1) // optimize 1-clause case return ((SpanQuery)clauses.get(0))... | 50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/1a5ac808c84b8453eb0f6dfeb30adad38e15f6d7/SpanNearQuery.java/clean/src/java/org/apache/lucene/search/spans/SpanNearQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5878,
634,
1322,
84,
634,
12,
6385,
3340,
2514,
2949,
13,
1216,
1860,
288,
565,
309,
261,
830,
9608,
18,
1467,
1435,
422,
374,
13,
8227,
368,
10979,
374,
17,
18128,
648,
1377,
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,
282,
1071,
5878,
634,
1322,
84,
634,
12,
6385,
3340,
2514,
2949,
13,
1216,
1860,
288,
565,
309,
261,
830,
9608,
18,
1467,
1435,
422,
374,
13,
8227,
368,
10979,
374,
17,
18128,
648,
1377,
327... |
/* * JS1.2 imitated the Perl4 bug where left context at each step * in an iterative use of a global regexp started from last match, * not from the start of the target string. But Perl4 does start * $` at the beginning of the target string when it is used in a * substitution, so we emulate that special case here. */ | /* * JS1.2 imitated the Perl4 bug where left context at each step * in an iterative use of a global regexp started from last match, * not from the start of the target string. But Perl4 does start * $` at the beginning of the target string when it is used in a * substitution, so we emulate that special case here. */ | static SubString interpretDollar(RegExpImpl res, char[] da, int dp, int bp, int[] skip) { Context cx = Context.getCurrentContext(); char[] ca; int cp; char dc; int num, tmp; /* Allow a real backslash (literal "\\") to escape "$1" etc. ... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/8b34980fb3adc3beae5bcea5913d426dc2e366c8/RegExpImpl.java/clean/js/rhino/src/org/mozilla/javascript/regexp/RegExpImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
2592,
780,
10634,
40,
25442,
12,
13673,
2828,
400,
16,
1149,
8526,
5248,
16,
509,
9986,
16,
19694,
509,
9107,
16,
509,
8526,
2488,
13,
565,
288,
3639,
1772,
9494,
273,
1772,
18,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
2592,
780,
10634,
40,
25442,
12,
13673,
2828,
400,
16,
1149,
8526,
5248,
16,
509,
9986,
16,
19694,
509,
9107,
16,
509,
8526,
2488,
13,
565,
288,
3639,
1772,
9494,
273,
1772,
18,
58... |
if ( doContainsResource(resourceName) ) return; Iterator iter = locales.keySet().iterator(); while (iter.hasNext()) { doAddResource(binding,resourceName,(Locale)iter.next()); } | doAddResource(binding, resourceName, getClass().getClassLoader()); | protected synchronized void doAddResource(String binding, String resourceName) throws MissingResourceException { if ( doContainsResource(resourceName) ) return; Iterator iter = locales.keySet().iterator(); while (iter.hasNext()) { doAddResource(bind... | 1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/98168e4d1e22ed7edbd371b9f5f368d72f265158/Localizer.java/buggy/src/org/tigris/gef/util/Localizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
918,
741,
986,
1420,
12,
780,
5085,
16,
514,
9546,
13,
540,
1216,
10230,
14785,
288,
3639,
309,
261,
741,
10846,
1420,
12,
3146,
461,
13,
262,
5411,
327,
31,
7734,
4498,
140... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
918,
741,
986,
1420,
12,
780,
5085,
16,
514,
9546,
13,
540,
1216,
10230,
14785,
288,
3639,
309,
261,
741,
10846,
1420,
12,
3146,
461,
13,
262,
5411,
327,
31,
7734,
4498,
140... |
if (!isSingleton()) { return this; } | if (!isSingleton()) { return this; } | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
3120,
31662,
797,
10930,
1435,
288,
202,
202,
430,
16051,
291,
19571,
10756,
288,
1082,
202,
2463,
333,
31,
202,
202,
97,
202,
202,
54,
10340,
3120,
3236,
273,
394,
19817... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
3120,
31662,
797,
10930,
1435,
288,
202,
202,
430,
16051,
291,
19571,
10756,
288,
1082,
202,
2463,
333,
31,
202,
202,
97,
202,
202,
54,
10340,
3120,
3236,
273,
394,
19817... |
QueueEntry<V, E> entry = getSeenData(vertex); | FibonacciHeapNode<QueueEntry<V, E>> node = getSeenData(vertex); | public E getSpanningTreeEdge(V vertex) { QueueEntry<V, E> entry = getSeenData(vertex); if (entry == null) { return null; } return entry.m_spanningTreeEdge; } | 4188 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4188/3358959abc414f2281c71486c6c1a90935b1e909/ClosestFirstIterator.java/clean/src/org/jgrapht/traverse/ClosestFirstIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
512,
1322,
84,
10903,
2471,
6098,
12,
58,
5253,
13,
565,
288,
3639,
478,
495,
265,
8981,
77,
15648,
907,
32,
26486,
32,
58,
16,
512,
9778,
756,
273,
11979,
275,
751,
12,
15281,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1322,
84,
10903,
2471,
6098,
12,
58,
5253,
13,
565,
288,
3639,
478,
495,
265,
8981,
77,
15648,
907,
32,
26486,
32,
58,
16,
512,
9778,
756,
273,
11979,
275,
751,
12,
15281,
... |
if(log.isInfoEnabled()) log.info("[" + local_addr + "]: received no heartbeat ack from " + ping_dest + | if(log.isDebugEnabled()) log.debug("[" + local_addr + "]: received no heartbeat ack from " + ping_dest + | public void run() { Message hb_req; long not_heard_from=0; // time in msecs we haven't heard from ping_dest if(ping_dest == null) { if(log.isWarnEnabled()) log.warn("ping_dest is null: members=" + members + ", pingable_mbrs=" + ... | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/FD.java/clean/src/org/jgroups/protocols/FD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
2350,
21749,
67,
3658,
31,
5411,
1525,
486,
67,
580,
1060,
67,
2080,
33,
20,
31,
368,
813,
316,
18689,
2143,
732,
15032,
1404,
3904,
1060,
628,
10087,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
2350,
21749,
67,
3658,
31,
5411,
1525,
486,
67,
580,
1060,
67,
2080,
33,
20,
31,
368,
813,
316,
18689,
2143,
732,
15032,
1404,
3904,
1060,
628,
10087,
... |
_loop461: | _loop471: | protected final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = STRING_LITERAL; int _saveIndex; switch ( LA(1)) { case '"': { _saveIndex=text.length(); match('"'); text.se... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/68bb69fc2bc91cbece43dcdf563e1be3ba003e1b/XQueryLexer.java/buggy/src/org/exist/xquery/parser/XQueryLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
918,
312,
5804,
67,
23225,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
918,
312,
5804,
67,
23225,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
... |
private static boolean stack_boolean(Object[] stack, double[] stackDbl, int i) | private static boolean stack_boolean(State state, int i) | private static boolean stack_boolean(Object[] stack, double[] stackDbl, int i) { Object x = stack[i]; if (x == Boolean.TRUE) { return true; } else if (x == Boolean.FALSE) { return false; } else if (x == DBL_MRK) { ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
2110,
67,
6494,
12,
921,
8526,
2110,
16,
1645,
8526,
2110,
40,
3083,
16,
29159,
509,
277,
13,
565,
288,
3639,
1033,
619,
273,
2110,
63,
77,
15533,
3639,
309,
261,
92,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
2110,
67,
6494,
12,
921,
8526,
2110,
16,
1645,
8526,
2110,
40,
3083,
16,
29159,
509,
277,
13,
565,
288,
3639,
1033,
619,
273,
2110,
63,
77,
15533,
3639,
309,
261,
92,
... |
public synchronized void decrementInstallCount() throws CoreException { | public synchronized int decrementInstallCount() throws CoreException { | public synchronized void decrementInstallCount() throws CoreException { int count = getInstallCount(); if ( count > 0 ) { setAttribute( INSTALL_COUNT, count - 1 ); } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e2983ad1f85b8b3ba80a73a8b0453ef6828d31ca/CBreakpoint.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CBreakpoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
15267,
6410,
1380,
1435,
1216,
30015,
288,
202,
202,
474,
1056,
273,
336,
6410,
1380,
5621,
202,
202,
430,
261,
1056,
405,
374,
262,
288,
1082,
202,
542,
1499,
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,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
15267,
6410,
1380,
1435,
1216,
30015,
288,
202,
202,
474,
1056,
273,
336,
6410,
1380,
5621,
202,
202,
430,
261,
1056,
405,
374,
262,
288,
1082,
202,
542,
1499,
12,
... |
if(oldToken == null) | if(oldToken == null || oldToken.modified) { | private List threadFetchModifiedTokens() { List modifiedTokens = new ArrayList(); List newTokens = textEditor.getParserEngine().getTokens(); int nt = 0; int ot = 0; for(; nt<newTokens.size(); nt++) { ATEToken newToken = (ATEToken)newTokens.get(nt); if(tokens ... | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/312f6bba236f0f5e9d5cb42fb6a33c2c62a5c95b/ATEColoring.java/buggy/src/org/antlr/works/ate/syntax/misc/ATEColoring.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
987,
2650,
5005,
4575,
5157,
1435,
288,
3639,
987,
4358,
5157,
273,
394,
2407,
5621,
3639,
987,
394,
5157,
273,
977,
6946,
18,
588,
2678,
4410,
7675,
588,
5157,
5621,
3639,
509,
951... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
987,
2650,
5005,
4575,
5157,
1435,
288,
3639,
987,
4358,
5157,
273,
394,
2407,
5621,
3639,
987,
394,
5157,
273,
977,
6946,
18,
588,
2678,
4410,
7675,
588,
5157,
5621,
3639,
509,
951... |
return getAttribute("class"); } | return getAttribute("class"); } | public String getClassName() { return getAttribute("class"); } | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLHeadElementImpl.java/clean/src/org/apache/wml/dom/WMLHeadElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11819,
1435,
288,
565,
327,
4061,
2932,
1106,
8863,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
11819,
1435,
288,
565,
327,
4061,
2932,
1106,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
public NotDescr lhs_not() throws RecognitionException { NotDescr d; Token loc=null; PatternDescr column = null; d = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: (loc= 'not' ( '(' column= lh... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/d5f13d3fd7dfa914ff0c982ef4e7b3e9027d4eb1/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2288,
16198,
8499,
67,
902,
1435,
1216,
9539,
288,
6647,
2288,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
6830,
16198,
1057,
273,
446,
31,
540,
202,
202,
72,
273,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2288,
16198,
8499,
67,
902,
1435,
1216,
9539,
288,
6647,
2288,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
6830,
16198,
1057,
273,
446,
31,
540,
202,
202,
72,
273,
446,
... | ||
public void addComponentItem(String jid, String name) { | public synchronized void addComponentItem(String jid, String name) { | public void addComponentItem(String jid, String name) { // A component may send his disco#info many times and we only want to have one item // for the component so remove any element under the requested jid removeComponentItem(jid); // Create a new element based on the provided DiscoItem... | 6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/c32c925339541c53f3405c5d09fdc1dd519cfcac/IQDiscoItemsHandler.java/buggy/src/java/org/jivesoftware/wildfire/disco/IQDiscoItemsHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
15218,
1180,
12,
780,
14201,
16,
514,
508,
13,
288,
3639,
368,
432,
1794,
2026,
1366,
18423,
1015,
2894,
7,
1376,
4906,
4124,
471,
732,
1338,
2545,
358,
1240,
1245,
761,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
15218,
1180,
12,
780,
14201,
16,
514,
508,
13,
288,
3639,
368,
432,
1794,
2026,
1366,
18423,
1015,
2894,
7,
1376,
4906,
4124,
471,
732,
1338,
2545,
358,
1240,
1245,
761,
... |
public FlyoverPaletteAutomaton(Composite parent, int style, IWorkbenchPage page) { | public FlyoverPaletteAutomaton(Composite parent, int style, IWorkbenchPage page, PaletteViewerProvider pvProvider) { | public FlyoverPaletteAutomaton(Composite parent, int style, IWorkbenchPage page) { super(parent, style & SWT.BORDER); sash = new Sash(this); addListener(SWT.Resize, new Listener() { public void handleEvent(Event event) { layout(); } }); IViewPart part = page.findView(PaletteView.ID); if (part == null) // Cannot in... | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/56483e8a03dfa5894f379075060d96bf02f94911/FlyoverPaletteAutomaton.java/buggy/org.eclipse.gef/src/org/eclipse/gef/ui/palette/FlyoverPaletteAutomaton.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
478,
715,
1643,
25863,
22932,
16799,
12,
9400,
982,
16,
509,
2154,
16,
467,
2421,
22144,
1964,
1363,
13,
288,
202,
9565,
12,
2938,
16,
2154,
473,
348,
8588,
18,
38,
7954,
1769,
202,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
478,
715,
1643,
25863,
22932,
16799,
12,
9400,
982,
16,
509,
2154,
16,
467,
2421,
22144,
1964,
1363,
13,
288,
202,
9565,
12,
2938,
16,
2154,
473,
348,
8588,
18,
38,
7954,
1769,
202,
87... |
cmof.reflection.Object object = new cmof.PackageImportImpl(_320, extent, null, "cmof.PackageImportImpl", new String[]{"core.abstractions.ownerships.ElementCustom"});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("relatedElement", new java.lang.Object[] {_106,_770});((hub.sam.mof.reflection.ObjectImpl)object).... | cmof.reflection.Object object = new cmof.OperationImpl(_97, extent, null, "cmof.OperationImpl", new String[]{"core.abstractions.multiplicities.MultiplicityElementCustom", "core.abstractions.behavioralfeatures.BehavioralFeatureCustom", "cmof.RedefinableElementCustom", "core.abstractions.redefinitions.RedefinableElementC... | private static cmof.reflection.Object getObject135(hub.sam.mof.reflection.ExtentImpl extent) { cmof.reflection.Object object = new cmof.PackageImportImpl(_320, extent, null, "cmof.PackageImportImpl", new String[]{"core.abstractions.ownerships.ElementCustom"});((hub.sam.mof.reflection.ObjectImpl)object).putAt... | 11562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11562/de04478dee56227ec288b43e5ca731f9bbd84f7c/CMOF.java/buggy/SimpleMOF2/resources/repository/initial-src/cmof/CMOF.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
5003,
792,
18,
26606,
18,
921,
6455,
26612,
12,
14986,
18,
20353,
18,
81,
792,
18,
26606,
18,
17639,
2828,
11933,
13,
288,
3639,
5003,
792,
18,
26606,
18,
921,
733,
273,
394,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
5003,
792,
18,
26606,
18,
921,
6455,
26612,
12,
14986,
18,
20353,
18,
81,
792,
18,
26606,
18,
17639,
2828,
11933,
13,
288,
3639,
5003,
792,
18,
26606,
18,
921,
733,
273,
394,... |
Util.println("select " + _select.toString()); | public void display(int indent) { indent(indent); Util.println("ApplyTemplates"); indent(indent + IndentIncrement); Util.println("select " + _select.toString()); if (_modeName != null) { indent(indent + IndentIncrement); Util.println("mode " + _modeName); } } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/afe86c64d28c9a68013db04fe7c7ef18bc79ec72/ApplyImports.java/buggy/src/org/apache/xalan/xsltc/compiler/ApplyImports.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2562,
12,
474,
3504,
13,
288,
202,
9355,
12,
9355,
1769,
202,
1304,
18,
8222,
2932,
7001,
8218,
8863,
202,
9355,
12,
9355,
397,
28653,
10798,
1769,
202,
1304,
18,
8222,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2562,
12,
474,
3504,
13,
288,
202,
9355,
12,
9355,
1769,
202,
1304,
18,
8222,
2932,
7001,
8218,
8863,
202,
9355,
12,
9355,
397,
28653,
10798,
1769,
202,
1304,
18,
8222,
2932,
... | |
public boolean equals(Location l) { return getMin() == l.getMin() && getMax() == l.getMax() && l.isContiguous(); | public boolean equals(Object o) { if(o instanceof Location) { Location l = (Location) o; return getMin() == l.getMin() && getMax() == l.getMax() && l.isContiguous(); } else { return false; } | public boolean equals(Location l) { return getMin() == l.getMin() && getMax() == l.getMax() && l.isContiguous(); } | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/107224757a54b8023bc55b451ed22d07dbb6ae07/AbstractRangeLocation.java/clean/src/org/biojava/bio/symbol/AbstractRangeLocation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1606,
12,
2735,
328,
13,
288,
565,
327,
9555,
1435,
422,
328,
18,
588,
2930,
1435,
597,
6647,
7288,
1435,
422,
328,
18,
588,
2747,
1435,
597,
328,
18,
291,
660,
10623,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1606,
12,
2735,
328,
13,
288,
565,
327,
9555,
1435,
422,
328,
18,
588,
2930,
1435,
597,
6647,
7288,
1435,
422,
328,
18,
588,
2747,
1435,
597,
328,
18,
291,
660,
10623,
5621,... |
if (value == null) { return new NullJavaObject(runtime); } | public static synchronized JavaObject wrap(Ruby runtime, Object value) { if (value == null) { return new NullJavaObject(runtime); } JavaObject wrapper = runtime.getJavaSupport().getJavaObjectFromCache(value); if (wrapper == null) { if (value.getClass().isArray()) { ... | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/206c7b0b7eb0c58d4a00f4aaa94c9013ad204adc/JavaObject.java/clean/src/org/jruby/javasupport/JavaObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3852,
5110,
921,
2193,
12,
54,
10340,
3099,
16,
1033,
460,
13,
288,
3639,
309,
261,
1132,
422,
446,
13,
288,
5411,
327,
394,
4112,
5852,
921,
12,
9448,
1769,
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,
760,
3852,
5110,
921,
2193,
12,
54,
10340,
3099,
16,
1033,
460,
13,
288,
3639,
309,
261,
1132,
422,
446,
13,
288,
5411,
327,
394,
4112,
5852,
921,
12,
9448,
1769,
3639,
289,
3639,... | |
RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.load(eContext); idx.loadIf(eContext, ~Item.CONSTANT); ref.load(eContext); Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.CONSTANT) { int i = idx.getValue(); os.writeMOV(INTSIZE, r, i + V... | RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); | public final void visit_aastore() { RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); idx.loadIf(eContext, ~Item.CONSTANT); ref.load(eContext); Register r = ref.getRegister(); checkBounds(ref, idx); i... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/d402ee1c5f9ab6d1c5b4f597b70658827f1f304d/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
69,
689,
479,
1435,
288,
202,
202,
1957,
1180,
1244,
273,
19510,
18,
5120,
1957,
5621,
202,
202,
1702,
1180,
2067,
273,
19510,
18,
5120,
1702,
5621,
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,
727,
918,
3757,
67,
69,
689,
479,
1435,
288,
202,
202,
1957,
1180,
1244,
273,
19510,
18,
5120,
1957,
5621,
202,
202,
1702,
1180,
2067,
273,
19510,
18,
5120,
1702,
5621,
202,
2... |
label = toolkit.createLabel(container, " "); label.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); | private void createPlanningSection(Composite parent, FormToolkit toolkit) { Section section = toolkit.createSection(parent, ExpandableComposite.TITLE_BAR); section.setText("Planning"); section.setLayout(new TableWrapLayout()); section.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); section.addExpansion... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d7ea8d231a6e8752aa825ec14511e824f2132892/TaskInfoEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskInfoEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1749,
10903,
5285,
12,
9400,
982,
16,
2748,
6364,
8691,
5226,
8691,
13,
288,
202,
202,
5285,
2442,
273,
5226,
8691,
18,
2640,
5285,
12,
2938,
16,
16429,
429,
9400,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
1749,
10903,
5285,
12,
9400,
982,
16,
2748,
6364,
8691,
5226,
8691,
13,
288,
202,
202,
5285,
2442,
273,
5226,
8691,
18,
2640,
5285,
12,
2938,
16,
16429,
429,
9400,
... | |
SetSizeInternal(rw,x,y); | Lock(); rw.SetSizeInternal(x,y); UnLock(); | public void setSize(int x, int y) { super.setSize(x,y); SetSizeInternal(rw,x,y); } | 47063 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47063/2c779895c4bd7ff06a234a9fdf06da154aacf4b9/vtkPanel.java/clean/Wrapping/Java/vtkPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
19106,
12,
474,
619,
16,
509,
677,
13,
565,
288,
1377,
2240,
18,
542,
1225,
12,
92,
16,
93,
1769,
1377,
3488,
5621,
7985,
18,
694,
1225,
3061,
12,
92,
16,
93,
1769,
1351,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
19106,
12,
474,
619,
16,
509,
677,
13,
565,
288,
1377,
2240,
18,
542,
1225,
12,
92,
16,
93,
1769,
1377,
3488,
5621,
7985,
18,
694,
1225,
3061,
12,
92,
16,
93,
1769,
1351,
... |
dFH ) ); | dFH ), false ); | private final void showTopValue( IPrimitiveRenderer ipr, Location lo, Label la, boolean bShadow ) { final Graphics2D g2d = (Graphics2D) ( (IDeviceRenderer) ipr ).getGraphicsContext( ); double dX = lo.getX( ), dY = lo.getY( ); final FontDefinition fd = la.getCaption( ).getFont( ); // final Color clrShadow = bShad... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7749562ecc2c286d326af2aec79b5aee0e9c20bc/SVGTextRenderer.java/clean/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGTextRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
2405,
3401,
620,
12,
467,
9840,
6747,
277,
683,
16,
7050,
437,
16,
1082,
202,
2224,
7125,
16,
1250,
324,
12957,
262,
202,
95,
202,
202,
6385,
16830,
22,
40,
314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
2405,
3401,
620,
12,
467,
9840,
6747,
277,
683,
16,
7050,
437,
16,
1082,
202,
2224,
7125,
16,
1250,
324,
12957,
262,
202,
95,
202,
202,
6385,
16830,
22,
40,
314,
... |
public Element newChildElement(String name) { if (m_doc == null) { | public Element newChildElement(String name) { if (m_doc == null) { | public Element newChildElement(String name) { if (m_doc == null) { m_doc = this.m_element.getOwnerDocument(); } Element result = new Element(); result.m_element = m_doc.createElement(name); this.m_element.appendChild(result.m_element); return result; } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/Element.java/buggy/archive/core-platform/src/com/arsdigita/xml/Element.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
19783,
1046,
12,
780,
508,
13,
288,
540,
309,
261,
81,
67,
2434,
422,
446,
13,
288,
2398,
312,
67,
2434,
273,
333,
18,
81,
67,
2956,
18,
588,
5541,
2519,
5621,
3639,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3010,
19783,
1046,
12,
780,
508,
13,
288,
540,
309,
261,
81,
67,
2434,
422,
446,
13,
288,
2398,
312,
67,
2434,
273,
333,
18,
81,
67,
2956,
18,
588,
5541,
2519,
5621,
3639,
289,
... |
m_random = new Random(m_seed); m_data.randomize(m_random); | public void buildClassifier(Instances insts) throws Exception { int m_kernelEvals = 0; if (insts.checkForStringAttributes()) { throw new Exception("Can't handle string attributes!"); } if (insts.numClasses() > 2) { throw new Exception("Can only handle two-class datasets!"); } if (insts.cla... | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/e089f692311c3c3fb0ac0df3ec9b329931edd734/SMO.java/buggy/classifiers/functions/SMO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1361,
13860,
12,
5361,
1804,
87,
13,
1216,
1185,
288,
565,
509,
312,
67,
8111,
41,
4524,
273,
374,
31,
565,
309,
261,
8591,
87,
18,
1893,
1290,
780,
2498,
10756,
288,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1361,
13860,
12,
5361,
1804,
87,
13,
1216,
1185,
288,
565,
509,
312,
67,
8111,
41,
4524,
273,
374,
31,
565,
309,
261,
8591,
87,
18,
1893,
1290,
780,
2498,
10756,
288,
1377,
... | |
serverUrlEditor.setStringValue(repository.getServerUrl().toExternalForm()); | serverUrlEditor.setStringValue(repository.getUrl().toExternalForm()); | public void createControl(Composite parent) { Composite container = new Composite(parent, SWT.NULL); FillLayout layout = new FillLayout(); container.setLayout(layout); serverUrlEditor = new StringFieldEditor("", LABEL_SERVER, StringFieldEditor.UNLIMITED, container) { @Override protected boolean doCheckState... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/a668a4d0cd9272f81a8faa996af0344a2be65552/RepositorySettingsPage.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/wizards/RepositorySettingsPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
1478,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
8026,
3744,
3511,
273,
394,
14192,
3744,
5621... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
1478,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
8560,
1769,
202,
202,
8026,
3744,
3511,
273,
394,
14192,
3744,
5621... |
System.exit(0); | public void windowClosing(java.awt.event.WindowEvent e) { jf.dispose(); System.exit(0); } | 48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/2111694128827de3fac28d7739d7cf26b09deaf7/ResultHistoryPanel.java/buggy/weka/gui/ResultHistoryPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2742,
15745,
12,
6290,
18,
2219,
88,
18,
2575,
18,
3829,
1133,
425,
13,
288,
202,
225,
525,
74,
18,
2251,
4150,
5621,
202,
225,
2332,
18,
8593,
12,
20,
1769,
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,
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,
2742,
15745,
12,
6290,
18,
2219,
88,
18,
2575,
18,
3829,
1133,
425,
13,
288,
202,
225,
525,
74,
18,
2251,
4150,
5621,
202,
225,
2332,
18,
8593,
12,
20,
1769,
202,
97,
... | |
} | } | public Department getDepartmentUnit(){ List<Unit> parentUnits = this.getParentUnits(); if (!parentUnits.isEmpty()) { for (Unit parentUnit : parentUnits) { if (unitDepartment(parentUnit)) { return parentUnit.getDepartment(); } else if (parentU... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/2eb51833fff49ce0cb2cab5b6920825bcdd5dfe7/Unit.java/clean/src/net/sourceforge/fenixedu/domain/organizationalStructure/Unit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4019,
24144,
336,
30358,
2802,
1435,
95,
3639,
987,
32,
2802,
34,
982,
7537,
273,
333,
18,
588,
3054,
7537,
5621,
3639,
309,
16051,
2938,
7537,
18,
291,
1921,
10756,
288,
5411,
364,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4019,
24144,
336,
30358,
2802,
1435,
95,
3639,
987,
32,
2802,
34,
982,
7537,
273,
333,
18,
588,
3054,
7537,
5621,
3639,
309,
16051,
2938,
7537,
18,
291,
1921,
10756,
288,
5411,
364,... |
public static Object turnActive(Object target, String nameOfTargetType, Node node, Active activity, MetaObjectFactory factory) | public static Object turnActive(Object target) | public static Object turnActive(Object target, String nameOfTargetType, Node node, Active activity, MetaObjectFactory factory) throws ActiveObjectCreationException, NodeException { if (node == null) { //using default proactive node node = NodeFactory.getDefaultNode(); ... | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/1b46c51dd3af85bafb532dedf35294088600e91d/ProActive.java/buggy/src/org/objectweb/proactive/ProActive.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
7005,
3896,
12,
921,
1018,
16,
514,
508,
951,
2326,
559,
16,
3639,
2029,
756,
16,
8857,
5728,
16,
6565,
921,
1733,
3272,
13,
3639,
1216,
8857,
921,
9906,
503,
16,
2029,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
7005,
3896,
12,
921,
1018,
16,
514,
508,
951,
2326,
559,
16,
3639,
2029,
756,
16,
8857,
5728,
16,
6565,
921,
1733,
3272,
13,
3639,
1216,
8857,
921,
9906,
503,
16,
2029,... |
if(srcUnjar != null) { Iterator iter = srcUnjar.iterator(); while(iter.hasNext()) { source = (String)iter.next(); jarSource = new JarFile(source); addJarEntries(jarOut, jarSource); jarSource.close(); } | if (fsource.isDirectory()) { addDirectory(jarOut, base, fsource, 0); } else { addFileStream(jarOut, base, fsource); | public void merge(List srcNames, List srcUnjar, String dstJar) throws IOException { String source = null; JarOutputStream jarOut = null; JarFile jarSource = null; jarOut = new JarOutputStream(new FileOutputStream(dstJar)); boolean throwing = false; try { ... | 49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/e10b40e8014547113799b2653164e8c990d41209/JarBuilder.java/buggy/src/contrib/streaming/src/java/org/apache/hadoop/streaming/JarBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2691,
12,
682,
1705,
1557,
16,
987,
1705,
984,
11930,
16,
514,
3046,
10813,
13,
540,
1216,
1860,
565,
288,
3639,
514,
1084,
273,
446,
31,
3639,
15644,
4632,
7334,
1182,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2691,
12,
682,
1705,
1557,
16,
987,
1705,
984,
11930,
16,
514,
3046,
10813,
13,
540,
1216,
1860,
565,
288,
3639,
514,
1084,
273,
446,
31,
3639,
15644,
4632,
7334,
1182,
273,
... |
users = new HashSet<String>(group.getMembers()); users.addAll(group.getAdmins()); | public void groupModified(Group group, Map params) { // Do nothing if no group property has been modified if (!"propertyModified".equals(params.get("type"))) { return; } String keyChanged = (String) params.get("propertyKey"); String originalValue = (String) params.get(... | 6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/729323036e79362be9a7ca3f6f388483ae4e3129/RosterManager.java/buggy/src/java/org/jivesoftware/messenger/roster/RosterManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1041,
4575,
12,
1114,
1041,
16,
1635,
859,
13,
288,
3639,
368,
2256,
5083,
309,
1158,
1041,
1272,
711,
2118,
4358,
3639,
309,
261,
4442,
4468,
4575,
9654,
14963,
12,
2010,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1041,
4575,
12,
1114,
1041,
16,
1635,
859,
13,
288,
3639,
368,
2256,
5083,
309,
1158,
1041,
1272,
711,
2118,
4358,
3639,
309,
261,
4442,
4468,
4575,
9654,
14963,
12,
2010,
18,
... | |
return toXMLString(); | return toXMLString(0); | public String toString() { if (hasSimpleContent()) { StringBuffer sb = new StringBuffer(); for(int i = 0; i < length(); i++) { XML next = getXmlFromAnnotation(i); sb.append(next.toString()); } return sb.toString();... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/347734a288cc52cc58154ef5e55d0c26058627eb/XMLList.java/clean/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
5332,
5784,
1350,
10756,
3639,
288,
5411,
6674,
2393,
273,
394,
6674,
5621,
5411,
364,
12,
474,
277,
273,
374,
31,
277,
411,
769,
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,
514,
1762,
1435,
565,
288,
3639,
309,
261,
5332,
5784,
1350,
10756,
3639,
288,
5411,
6674,
2393,
273,
394,
6674,
5621,
5411,
364,
12,
474,
277,
273,
374,
31,
277,
411,
769,
5621,
... |
_loop2268: | _loop2272: | public final void createviewstate(AST _t) throws RecognitionException { AST createviewstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2264 = _t; AST tmp507_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); AST tmp508_AST_in = (AST)_t; match(_t,VIEW); _t = _t.getNextSibling(); AST tmp509... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
752,
1945,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
752,
1945,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
752,
1945,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
752,
1945,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,... |
String alt_text = req.getParameter( "alt_text" ) ; | String alt_text = imcode.server.HTMLConv.toHTML(req.getParameter( "alt_text" )) ; | public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String start_url = Utility.getDomainPref( "start_url",host ) ; String servlet_url ... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2aebd61ff3f7e1261c2eb84d6c63c8dd91ce56e5/SaveImage.java/clean/servlets/SaveImage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
202,
202,
780,
1479,
4697,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
202,
780,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
202,
202,
780,
1479,
4697,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
202,
780,... |
public int normalize(int keyCode, int min, int max, int new_min, | public static int normalize(int keyCode, int min, int max, int new_min, | public int normalize(int keyCode, int min, int max, int new_min,int new_max) { if(keyCode < min) keyCode = min; if(keyCode < max) keyCode = max; return new_min + (new_max - new_min) * (keyCode - min) / (max- min); } | 651 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/651/971ad10ec01157dcaa97730d0c3e6a3375187b34/Pound.java/clean/pound/org/osjava/pound/Pound.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3883,
12,
474,
16369,
16,
509,
1131,
16,
509,
943,
16,
509,
394,
67,
1154,
16,
474,
394,
67,
1896,
13,
288,
3639,
309,
12,
856,
1085,
411,
1131,
13,
16369,
273,
1131,
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,
1071,
509,
3883,
12,
474,
16369,
16,
509,
1131,
16,
509,
943,
16,
509,
394,
67,
1154,
16,
474,
394,
67,
1896,
13,
288,
3639,
309,
12,
856,
1085,
411,
1131,
13,
16369,
273,
1131,
31,
... |
long initialBytesSent = out.getUncompressedBytesSent(); | public void testConnectionStatsRecorded() throws Exception { ConnectionManager cm = RouterService.getConnectionManager(); assertEquals(0, cm.getNumConnections()); Connection in = createLeafConnection(); drain(in); assertEquals(1, cm.getNumConnections()); Man... | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/2cd6c4a96369272d11c63d55dfb5a2671a5efcad/ManagedConnectionTest.java/buggy/components/gnutella-core/src/test/java/com/limegroup/gnutella/ManagedConnectionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1952,
4195,
426,
3850,
785,
1435,
1216,
1185,
288,
3639,
4050,
1318,
5003,
273,
9703,
1179,
18,
588,
1952,
1318,
5621,
3639,
1815,
8867,
12,
20,
16,
5003,
18,
588,
2578,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1952,
4195,
426,
3850,
785,
1435,
1216,
1185,
288,
3639,
4050,
1318,
5003,
273,
9703,
1179,
18,
588,
1952,
1318,
5621,
3639,
1815,
8867,
12,
20,
16,
5003,
18,
588,
2578,
... | |
public void openDataMap(SoarWorkingMemoryModel swmm,MainFrame pw) { DataMap dataMap; SoarIdentifierVertex dataMapParent = new SoarIdentifierVertex(dataMapId.getValue()); | public void openDataMap(SoarWorkingMemoryModel swmm,MainFrame pw) { | public void openDataMap(SoarWorkingMemoryModel swmm,MainFrame pw) { DataMap dataMap; SoarIdentifierVertex dataMapParent = new SoarIdentifierVertex(dataMapId.getValue()); // Check to see if Operator uses topstate datamap. if(dataMapIdNumber != 0) { // If File Operator, get the datamap of the first Oper... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/9cf35188c641160e2e251774deec0b711037d6fc/SoarOperatorNode.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/operatorwindow/SoarOperatorNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1696,
31982,
12,
10225,
297,
14836,
6031,
1488,
1352,
7020,
16,
6376,
3219,
8772,
13,
288,
565,
1910,
863,
501,
863,
31,
565,
6155,
297,
3004,
6475,
501,
863,
3054,
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,
1696,
31982,
12,
10225,
297,
14836,
6031,
1488,
1352,
7020,
16,
6376,
3219,
8772,
13,
288,
565,
1910,
863,
501,
863,
31,
565,
6155,
297,
3004,
6475,
501,
863,
3054,
273,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.