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 |
|---|---|---|---|---|---|---|
long lastEd = uskManager.lookup(origUSK);
|
void onSuccess(USKAttempt att, boolean dontUpdate, ClientSSKBlock block) { LinkedList l = null; synchronized(this) { runningAttempts.remove(att); long curLatest = att.number; long lastEd = uskManager.lookup(origUSK); if(!dontUpdate) uskManager.update(origUSK, curLatest); if(completed || cancelled) return; if(curLatest >= lastEd) { try { this.lastRequestData = block.decode(ctx.bucketFactory, 1025 /* it's an SSK */, true); this.lastCompressionCodec = block.getCompressionCodec(); this.lastWasMetadata = block.isMetadata(); } catch (KeyDecodeException e) { lastRequestData = null; } catch (IOException e) { lastRequestData = null; } } curLatest = Math.max(lastEd, curLatest); Logger.minor(this, "Latest: "+curLatest); long addTo = curLatest + minFailures; long addFrom = Math.max(lastAddedEdition + 1, curLatest + 1); if(addTo >= addFrom) { l = new LinkedList(); for(long i=addFrom;i<=addTo;i++) { Logger.minor(this, "Adding checker for edition "+i); l.add(add(i)); } } cancelBefore(curLatest); if(l == null) return; // If we schedule them here, we don't get icky recursion problems. else if(!cancelled) { for(Iterator i=l.iterator();i.hasNext();) { // We may be called recursively through onSuccess(). // So don't start obsolete requests. USKAttempt a = (USKAttempt) i.next(); lastEd = uskManager.lookup(origUSK); if(lastEd <= a.number && !a.cancelled) a.schedule(); } } } }
|
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/03e3c37737640c23e25aacfa0ab1bf8a0d4b535f/USKFetcher.java/clean/src/freenet/client/async/USKFetcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
20613,
12,
3378,
47,
7744,
2403,
16,
1250,
14046,
1891,
16,
2445,
1260,
47,
1768,
1203,
13,
288,
202,
202,
13174,
682,
328,
273,
446,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
8704,
10113,
18,
4479,
12,
4558,
1769,
1082,
202,
5748,
662,
18650,
273,
2403,
18,
2696,
31,
1082,
202,
5748,
1142,
2671,
273,
584,
79,
1318,
18,
8664,
12,
4949,
3378,
47,
1769,
1082,
202,
430,
12,
5,
72,
1580,
1891,
13,
9506,
202,
407,
79,
1318,
18,
2725,
12,
4949,
3378,
47,
16,
662,
18650,
1769,
1082,
202,
430,
12,
13615,
747,
13927,
13,
327,
31,
1082,
202,
430,
12,
1397,
18650,
1545,
1142,
2671,
13,
288,
9506,
202,
698,
288,
6862,
202,
2211,
18,
2722,
17031,
273,
1203,
18,
3922,
12,
5900,
18,
7242,
1733,
16,
1728,
2947,
1748,
518,
1807,
392,
348,
11129,
1195,
16,
638,
1769,
6862,
202,
2211,
18,
2722,
15270,
11008,
273,
1203,
18,
588,
15270,
11008,
5621,
6862,
202,
2211,
18,
2722,
14992,
2277,
273,
1203,
18,
291,
2277,
5621,
9506,
202,
97,
1044,
261,
653,
6615,
503,
425,
13,
288,
6862,
202,
2722,
17031,
273,
446,
31,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
202,
2722,
17031,
273,
446,
31,
9506,
202,
97,
1082,
202,
97,
1082,
202,
1397,
18650,
273,
2361,
18,
1896,
12,
2722,
2671,
16,
662,
18650,
1769,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
18650,
30,
13773,
1397,
18650,
1769,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
20613,
12,
3378,
47,
7744,
2403,
16,
1250,
14046,
1891,
16,
2445,
1260,
47,
1768,
1203,
13,
288,
202,
202,
13174,
682,
328,
273,
446,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
8704,
10113,
18,
4479,
12,
4558,
1769,
1082,
202,
5748,
662,
18650,
273,
2403,
18,
2696,
31,
1082,
202,
5748,
1142,
2671,
273,
584,
79,
1318,
18,
8664,
12,
4949,
3378,
47,
1769,
1082,
202,
430,
12,
5,
72,
1580,
1891,
13,
9506,
202,
407,
79,
1318,
18,
2725,
12,
4949,
3378,
47,
16,
662,
18650,
1769,
1082,
202,
430,
12,
13615,
747,
13927,
13,
327,
31,
1082,
202,
430,
12,
1397,
18650,
1545,
1142,
2671,
13,
288,
9506,
202,
698,
2
] |
|
fPdom= (PDOM) CCorePlugin.getPDOMManager().getPDOM(fCProject); fPdom.clear();
|
IPDOMIndexer indexer = CCorePlugin.getPDOMManager().getIndexer(fCProject); try { indexer.reindex(); } catch (CoreException e) { CUIPlugin.getDefault().log(e); } fIndex= CCorePlugin.getIndexManager().getIndex(fCProject);
|
protected void setUp() throws CoreException { fCProject= CProjectHelper.createCProject("__chTest__", "bin"); CCorePlugin.getPDOMManager().setIndexerId(fCProject, "org.eclipse.cdt.core.fastIndexer"); fPdom= (PDOM) CCorePlugin.getPDOMManager().getPDOM(fCProject); fPdom.clear(); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f5a4ba1d7638b16bde80c2f1086c78aa03af1f90/CallHierarchyBaseTest.java/clean/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/callhierarchy/CallHierarchyBaseTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
30015,
288,
202,
202,
74,
39,
4109,
33,
385,
4109,
2276,
18,
2640,
39,
4109,
2932,
972,
343,
4709,
972,
3113,
315,
4757,
8863,
202,
202,
39,
4670,
3773,
18,
588,
52,
8168,
1318,
7675,
542,
20877,
548,
12,
74,
39,
4109,
16,
315,
3341,
18,
20416,
18,
4315,
88,
18,
3644,
18,
8076,
20877,
8863,
202,
202,
74,
52,
9859,
33,
261,
52,
8168,
13,
385,
4670,
3773,
18,
588,
52,
8168,
1318,
7675,
588,
52,
8168,
12,
74,
39,
4109,
1769,
202,
202,
74,
52,
9859,
18,
8507,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
972,
3113,
315,
4757,
8863,
202,
202,
39,
4670,
3773,
18,
588,
52,
8168,
1318,
7675,
542,
20877,
548,
12,
74,
39,
4109,
16,
315,
3341,
18,
20416,
18,
4315,
88,
18,
3644,
18,
8076,
20877,
8863,
202,
202,
74,
52,
9859,
33,
261,
52,
8168,
13,
385,
4670,
3773,
18,
588,
52,
8168,
1318,
7675,
588,
52,
8168,
12,
74,
39,
4109,
1769,
202,
202,
74,
52,
9859,
18,
8507,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
debug = "Start of lookupValues()";
|
private synchronized boolean lookupValues(Row row) throws KettleException { Row lu; Row add; boolean cache_now=false; debug = "Start of lookupValues()"; //$NON-NLS-1$ if (first) { first=false; debug = "first row: start"; //$NON-NLS-1$ if (meta.isCached()) { debug = "first row: cache allocate"; //$NON-NLS-1$ if (meta.getCacheSize()>0) { data.look=new Hashtable((int)(meta.getCacheSize()*1.5)); } else { data.look=new Hashtable(); } } debug = "first row: set lookup statement"; //$NON-NLS-1$ data.db.setLookup(meta.getTablename(), meta.getTableKeyField(), meta.getKeyCondition(), meta.getReturnValueField(), meta.getReturnValueNewName(), meta.getOrderByClause(), meta.isFailingOnMultipleResults()); // lookup the values! if (log.isDetailed()) logDetailed(Messages.getString("DatabaseLookup.Log.CheckingRow")+row.toString()); //$NON-NLS-1$ data.keynrs = new int[meta.getStreamKeyField1().length]; data.keynrs2= new int[meta.getStreamKeyField1().length]; debug = "first row: get key fieldnrs"; //$NON-NLS-1$ for (int i=0;i<meta.getStreamKeyField1().length;i++) { data.keynrs[i]=row.searchValueIndex(meta.getStreamKeyField1()[i]); if (data.keynrs[i]<0 && // couldn't find field! !"IS NULL".equalsIgnoreCase(meta.getKeyCondition()[i]) && // No field needed! //$NON-NLS-1$ !"IS NOT NULL".equalsIgnoreCase(meta.getKeyCondition()[i]) // No field needed! //$NON-NLS-1$ ) { throw new KettleStepException(Messages.getString("DatabaseLookup.ERROR0001.FieldRequired1.Exception")+meta.getStreamKeyField1()[i]+Messages.getString("DatabaseLookup.ERROR0001.FieldRequired2.Exception")); //$NON-NLS-1$ //$NON-NLS-2$ } data.keynrs2[i]=row.searchValueIndex(meta.getStreamKeyField2()[i]); if (data.keynrs2[i]<0 && // couldn't find field! "BETWEEN".equalsIgnoreCase(meta.getKeyCondition()[i]) // 2 fields needed! //$NON-NLS-1$ ) { throw new KettleStepException(Messages.getString("DatabaseLookup.ERROR0001.FieldRequired3.Exception")+meta.getStreamKeyField2()[i]+Messages.getString("DatabaseLookup.ERROR0001.FieldRequired4.Exception")); //$NON-NLS-1$ //$NON-NLS-2$ } if (log.isDebug()) logDebug(Messages.getString("DatabaseLookup.Log.FieldHasIndex1")+meta.getStreamKeyField1()[i]+Messages.getString("DatabaseLookup.Log.FieldHasIndex2")+data.keynrs[i]); //$NON-NLS-1$ //$NON-NLS-2$ } data.nullif = new Value[meta.getReturnValueField().length]; debug = "first row: get value fieldnrs"; //$NON-NLS-1$ for (int i=0;i<meta.getReturnValueField().length;i++) { data.nullif[i] = new Value(meta.getReturnValueNewName()[i], meta.getReturnValueDefaultType()[i]); if (meta.getReturnValueDefault()[i]!=null && meta.getReturnValueDefault()[i].length()>0 ) { data.nullif[i].setValue(meta.getReturnValueDefault()[i]); data.nullif[i].setType(meta.getReturnValueDefaultType()[i]); } else { data.nullif[i].setNull(); } } // Determine the types... data.keytypes = new int[meta.getTableKeyField().length]; Row fields = data.db.getTableFields(meta.getTablename()); if (fields!=null) { // Fill in the types... for (int i=0;i<meta.getTableKeyField().length;i++) { Value key = fields.searchValue(meta.getTableKeyField()[i]); if (key!=null) { data.keytypes[i] = key.getType(); } else { throw new KettleStepException(Messages.getString("DatabaseLookup.ERROR0001.FieldRequired5.Exception")+meta.getTableKeyField()[i]+Messages.getString("DatabaseLookup.ERROR0001.FieldRequired6.Exception")); //$NON-NLS-1$ //$NON-NLS-2$ } } } else { throw new KettleStepException(Messages.getString("DatabaseLookup.ERROR0002.UnableToDetermineFieldsOfTable")+meta.getTablename()+"]"); //$NON-NLS-1$ //$NON-NLS-2$ } } lu = new Row(); debug = "Adding values to lookup row"; //$NON-NLS-1$ for (int i=0;i<meta.getStreamKeyField1().length;i++) { if (data.keynrs[i]>=0) { Value value = row.getValue(data.keynrs[i]); // Try to convert type if needed! if (value.getType()!=data.keytypes[i]) value.setType(data.keytypes[i]); lu.addValue( value ); } if (data.keynrs2[i]>=0) { Value value = row.getValue(data.keynrs2[i]); // Try to convert type if needed! if (value.getType()!=data.keytypes[i]) value.setType(data.keytypes[i]); lu.addValue( value ); } } // First, check if we looked up before if (meta.isCached()) add=(Row)data.look.get(lu); else add=null; if (add==null) { if (log.isRowLevel()) logRowlevel(Messages.getString("DatabaseLookup.Log.AddedValuesToLookupRow1")+meta.getStreamKeyField1().length+Messages.getString("DatabaseLookup.Log.AddedValuesToLookupRow2")+lu); //$NON-NLS-1$ //$NON-NLS-2$ debug = "setValuesLookup()"; //$NON-NLS-1$ data.db.setValuesLookup(lu); debug = "getLookup()"; //$NON-NLS-1$ add=data.db.getLookup(meta.isFailingOnMultipleResults()); cache_now=true; } debug = "add null values to result"; //$NON-NLS-1$ if (add==null) // nothing was found, unknown code: add default values { if (meta.isEatingRowOnLookupFailure()) { return false; } if (log.isRowLevel()) logRowlevel(Messages.getString("DatabaseLookup.Log.NoResultsFoundAfterLookup")); //$NON-NLS-1$ add=new Row(); for (int i=0;i<meta.getReturnValueField().length;i++) { if (data.nullif[i]!=null) { add.addValue(new Value(data.nullif[i])); } else { Value v = new Value(meta.getReturnValueNewName()[i], meta.getReturnValueDefaultType()[i]); v.setNull(); add.addValue(v); } } } else { if (log.isRowLevel()) logRowlevel(Messages.getString("DatabaseLookup.Log.FoundResultsAfterLookup")+add); //$NON-NLS-1$ } debug = "Store result in cache"; //$NON-NLS-1$ // Store in cache if we need to! if (meta.isCached() && cache_now) { add.setLogdate(); data.look.put(lu, add); // See if we have to limit the cache_size. if (meta.getCacheSize()>0 && data.look.size()>meta.getCacheSize()) { long last_date=-1L; Enumeration elem = data.look.elements(); Row smallest=null; while (elem.hasMoreElements()) { Row r=(Row)elem.nextElement(); long time = r.getLogtime(); if (last_date<0 || time<last_date) { last_date=time; smallest=r; } } if (smallest!=null) data.look.remove(smallest); } } debug = "Add values to resulting row..."; //$NON-NLS-1$ for (int i=0;i<add.size();i++) { row.addValue( add.getValue(i) ); } debug = "end of lookupValues()"; //$NON-NLS-1$ return true; }
|
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/3f39d037ba2ddf06fc422d6ae1f3add16df6eae5/DatabaseLookup.java/buggy/src/be/ibridge/kettle/trans/step/databaselookup/DatabaseLookup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
1250,
3689,
1972,
12,
1999,
1027,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
1999,
20072,
31,
202,
202,
1999,
527,
31,
202,
202,
6494,
1247,
67,
3338,
33,
5743,
31,
25083,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
261,
3645,
13,
202,
202,
95,
5411,
1122,
33,
5743,
31,
2398,
1082,
202,
4148,
273,
315,
3645,
1027,
30,
787,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
430,
261,
3901,
18,
291,
9839,
10756,
1082,
202,
95,
9506,
202,
4148,
273,
315,
3645,
1027,
30,
1247,
10101,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
261,
3901,
18,
588,
24019,
1435,
34,
20,
13,
9506,
202,
95,
6862,
202,
892,
18,
7330,
33,
2704,
18559,
12443,
474,
21433,
3901,
18,
588,
24019,
1435,
14,
21,
18,
25,
10019,
9506,
202,
97,
9506,
202,
12107,
9506,
202,
95,
6862,
202,
892,
18,
7330,
33,
2704,
18559,
5621,
9506,
202,
97,
1082,
202,
97,
1082,
202,
4148,
273,
315,
3645,
1027,
30,
444,
3689,
3021,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
892,
18,
1966,
18,
542,
6609,
12,
3901,
18,
588,
5661,
14724,
9334,
2191,
18,
588,
1388,
653,
974,
9334,
2191,
18,
588,
653,
3418,
9334,
2191,
18,
588,
19092,
974,
9334,
2191,
18,
588,
19092,
1908,
461,
9334,
2191,
18,
588,
15658,
7044,
9334,
2191,
18,
291,
3754,
310,
1398,
8438,
3447,
10663,
25083,
202,
759,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
1250,
3689,
1972,
12,
1999,
1027,
13,
1216,
1475,
278,
5929,
503,
202,
95,
202,
202,
1999,
20072,
31,
202,
202,
1999,
527,
31,
202,
202,
6494,
1247,
67,
3338,
33,
5743,
31,
25083,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
261,
3645,
13,
202,
202,
95,
5411,
1122,
33,
5743,
31,
2398,
1082,
202,
4148,
273,
315,
3645,
1027,
30,
787,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
430,
261,
3901,
18,
291,
9839,
10756,
1082,
202,
95,
9506,
202,
4148,
273,
315,
3645,
1027,
30,
1247,
10101,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
261,
3901,
18,
588,
24019,
1435,
34,
2
] |
|
if (SanityManager.DEBUG) trace("ccsiddbc = " + ccsidDBC + " encoding = " + ccsidDBCEncoding); break; case CodePoint.CCSIDMBC: checkLength(CodePoint.CCSIDMBC, 2); ccsidMBC = reader.readNetworkShort(); try { ccsidMBCEncoding = CharacterEncodings.getJavaEncoding(ccsidMBC); } catch (Exception e) { ccsidMBCEncoding = null; if (st != null) valueNotSupported(CodePoint.CCSIDMBC);
|
else { if (ccsidSBC != 0) { st.ccsidSBC = ccsidSBC; st.ccsidSBCEncoding = ccsidSBCEncoding; } if (ccsidDBC != 0) { st.ccsidDBC = ccsidDBC; st.ccsidDBCEncoding = ccsidDBCEncoding; } if (ccsidMBC != 0) { st.ccsidMBC = ccsidMBC; st.ccsidMBCEncoding = ccsidMBCEncoding; }
|
private void parseTYPDEFOVR(DRDAStatement st) throws DRDAProtocolException { int codePoint; int ccsidSBC = 0; int ccsidDBC = 0; int ccsidMBC = 0; String ccsidSBCEncoding = null; String ccsidDBCEncoding = null; String ccsidMBCEncoding = null; reader.markCollection(); codePoint = reader.getCodePoint(); // at least one of the following instance variable is required // if the TYPDEFOVR is specified in a command object if (codePoint == -1 && st != null) missingCodePoint(CodePoint.CCSIDSBC); while (codePoint != -1) { switch (codePoint) { case CodePoint.CCSIDSBC: checkLength(CodePoint.CCSIDSBC, 2); ccsidSBC = reader.readNetworkShort(); try { ccsidSBCEncoding = CharacterEncodings.getJavaEncoding(ccsidSBC); } catch (Exception e) { valueNotSupported(CodePoint.CCSIDSBC); } if (SanityManager.DEBUG) trace("ccsidsbc = " + ccsidSBC + " encoding = " + ccsidSBCEncoding); break; case CodePoint.CCSIDDBC: checkLength(CodePoint.CCSIDDBC, 2); ccsidDBC = reader.readNetworkShort(); try { ccsidDBCEncoding = CharacterEncodings.getJavaEncoding(ccsidDBC); } catch (Exception e) { // we write a warning later for this so no error // unless for a statement ccsidDBCEncoding = null; if (st != null) valueNotSupported(CodePoint.CCSIDSBC); } if (SanityManager.DEBUG) trace("ccsiddbc = " + ccsidDBC + " encoding = " + ccsidDBCEncoding); break; case CodePoint.CCSIDMBC: checkLength(CodePoint.CCSIDMBC, 2); ccsidMBC = reader.readNetworkShort(); try { ccsidMBCEncoding = CharacterEncodings.getJavaEncoding(ccsidMBC); } catch (Exception e) { // we write a warning later for this so no error ccsidMBCEncoding = null; if (st != null) valueNotSupported(CodePoint.CCSIDMBC); } if (SanityManager.DEBUG) trace("ccsidmbc = " + ccsidMBC + " encoding = " + ccsidMBCEncoding); break; default: invalidCodePoint(codePoint); } codePoint = reader.getCodePoint(); } if (st == null) { if (ccsidSBC != 0) { database.ccsidSBC = ccsidSBC; database.ccsidSBCEncoding = ccsidSBCEncoding; } if (ccsidDBC != 0){ database.ccsidDBC = ccsidDBC; database.ccsidDBCEncoding = ccsidDBCEncoding; } if (ccsidMBC != 0){ database.ccsidMBC = ccsidMBC; database.ccsidMBCEncoding = ccsidMBCEncoding; } } else { if (ccsidSBC != 0) { st.ccsidSBC = ccsidSBC; st.ccsidSBCEncoding = ccsidSBCEncoding; } if (ccsidDBC != 0) { st.ccsidDBC = ccsidDBC; st.ccsidDBCEncoding = ccsidDBCEncoding; } if (ccsidMBC != 0) { st.ccsidMBC = ccsidMBC; st.ccsidMBCEncoding = ccsidMBCEncoding; } } }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/977561c9de22d12b40a3a2f79a8df22ba7fc7752/DRDAConnThread.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
5538,
52,
1639,
3313,
10986,
12,
6331,
9793,
3406,
384,
13,
1216,
225,
16801,
9793,
5752,
503,
288,
202,
474,
18614,
31,
202,
474,
276,
2143,
350,
14541,
39,
273,
374,
31,
202,
474,
276,
2143,
350,
13183,
273,
374,
31,
202,
474,
276,
2143,
350,
7969,
39,
273,
374,
31,
202,
780,
276,
2143,
350,
14541,
39,
4705,
273,
446,
31,
202,
780,
276,
2143,
350,
13183,
4705,
273,
446,
31,
202,
780,
276,
2143,
350,
7969,
39,
4705,
273,
446,
31,
202,
10530,
18,
3355,
2532,
5621,
202,
710,
2148,
273,
2949,
18,
588,
31536,
5621,
202,
759,
622,
4520,
1245,
434,
326,
3751,
791,
2190,
353,
1931,
202,
759,
309,
326,
22153,
52,
1639,
3313,
10986,
353,
1269,
316,
279,
1296,
733,
202,
430,
261,
710,
2148,
422,
300,
21,
597,
384,
480,
446,
13,
202,
565,
3315,
31536,
12,
31536,
18,
39,
4596,
734,
14541,
39,
1769,
202,
17523,
261,
710,
2148,
480,
300,
21,
13,
288,
202,
565,
1620,
261,
710,
2148,
13,
288,
202,
565,
648,
3356,
2148,
18,
39,
4596,
734,
14541,
39,
30,
202,
202,
1893,
1782,
12,
31536,
18,
39,
4596,
734,
14541,
39,
16,
576,
1769,
202,
202,
952,
7453,
14541,
39,
273,
2949,
18,
896,
3906,
4897,
5621,
202,
202,
698,
288,
1082,
565,
276,
2143,
350,
14541,
39,
4705,
273,
1875,
202,
7069,
25100,
899,
18,
588,
5852,
4705,
12,
952,
7453,
14541,
39,
1769,
202,
202,
97,
1044,
261,
503,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
5538,
52,
1639,
3313,
10986,
12,
6331,
9793,
3406,
384,
13,
1216,
225,
16801,
9793,
5752,
503,
288,
202,
474,
18614,
31,
202,
474,
276,
2143,
350,
14541,
39,
273,
374,
31,
202,
474,
276,
2143,
350,
13183,
273,
374,
31,
202,
474,
276,
2143,
350,
7969,
39,
273,
374,
31,
202,
780,
276,
2143,
350,
14541,
39,
4705,
273,
446,
31,
202,
780,
276,
2143,
350,
13183,
4705,
273,
446,
31,
202,
780,
276,
2143,
350,
7969,
39,
4705,
273,
446,
31,
202,
10530,
18,
3355,
2532,
5621,
202,
710,
2148,
273,
2949,
18,
588,
31536,
5621,
202,
759,
622,
4520,
1245,
434,
326,
3751,
791,
2190,
353,
1931,
202,
759,
309,
326,
22153,
2
] |
StringUtils.printException(t);
|
StringUtil.printException(t);
|
public static void main(String[] args) { try { String options[] = { "config:", "help", "long", "output:", "verbose", "version" }; Options opt = Options.parse(args, options); if (opt.isSet("help")) { printUsage(System.out); return; } if (opt.isSet("version")) { System.out.println("GtpRegress " + Version.get()); return; } boolean verbose = opt.isSet("verbose"); boolean longOutput = opt.isSet("long"); String output = opt.getString("output", ""); ArrayList arguments = opt.getArguments(); int size = arguments.size(); if (size < 2) { printUsage(System.err); System.exit(-1); } String program = (String)arguments.get(0); String tests[] = new String[size - 1]; for (int i = 0; i < size - 1; ++i) tests[i] = (String)arguments.get(i + 1); GtpRegress gtpRegress = new GtpRegress(program, tests, output, longOutput, verbose); System.exit(gtpRegress.getResult() ? 0 : 1); } catch (Throwable t) { StringUtils.printException(t); System.exit(2); } }
|
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/1f50ffb219183ddaf94720a4aba453e11f412425/Main.java/buggy/src/net/sf/gogui/gtpregress/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
3639,
775,
3639,
288,
5411,
514,
702,
8526,
273,
288,
7734,
315,
1425,
2773,
16,
7734,
315,
5201,
3113,
7734,
315,
5748,
3113,
7734,
315,
2844,
2773,
16,
7734,
315,
11369,
3113,
7734,
315,
1589,
6,
5411,
289,
31,
5411,
5087,
2153,
273,
5087,
18,
2670,
12,
1968,
16,
702,
1769,
5411,
309,
261,
3838,
18,
291,
694,
2932,
5201,
6,
3719,
5411,
288,
7734,
1172,
5357,
12,
3163,
18,
659,
1769,
7734,
327,
31,
5411,
289,
5411,
309,
261,
3838,
18,
291,
694,
2932,
1589,
6,
3719,
5411,
288,
7734,
2332,
18,
659,
18,
8222,
2932,
43,
6834,
1617,
663,
315,
397,
4049,
18,
588,
10663,
7734,
327,
31,
5411,
289,
5411,
1250,
3988,
273,
2153,
18,
291,
694,
2932,
11369,
8863,
5411,
1250,
1525,
1447,
273,
2153,
18,
291,
694,
2932,
5748,
8863,
5411,
514,
876,
273,
2153,
18,
588,
780,
2932,
2844,
3113,
1408,
1769,
5411,
2407,
1775,
273,
2153,
18,
588,
4628,
5621,
5411,
509,
963,
273,
1775,
18,
1467,
5621,
5411,
309,
261,
1467,
411,
576,
13,
5411,
288,
7734,
1172,
5357,
12,
3163,
18,
370,
1769,
7734,
2332,
18,
8593,
19236,
21,
1769,
5411,
289,
5411,
514,
5402,
273,
261,
780,
13,
7099,
18,
588,
12,
20,
1769,
5411,
514,
7434,
8526,
273,
394,
514,
63,
1467,
300,
404,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
225,
963,
300,
404,
31,
965,
77,
13,
7734,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
3639,
775,
3639,
288,
5411,
514,
702,
8526,
273,
288,
7734,
315,
1425,
2773,
16,
7734,
315,
5201,
3113,
7734,
315,
5748,
3113,
7734,
315,
2844,
2773,
16,
7734,
315,
11369,
3113,
7734,
315,
1589,
6,
5411,
289,
31,
5411,
5087,
2153,
273,
5087,
18,
2670,
12,
1968,
16,
702,
1769,
5411,
309,
261,
3838,
18,
291,
694,
2932,
5201,
6,
3719,
5411,
288,
7734,
1172,
5357,
12,
3163,
18,
659,
1769,
7734,
327,
31,
5411,
289,
5411,
309,
261,
3838,
18,
291,
694,
2932,
1589,
6,
3719,
5411,
288,
7734,
2332,
18,
659,
18,
8222,
2932,
43,
6834,
1617,
663,
315,
397,
4049,
18,
588,
10663,
2
] |
if (focusControl == proposalTable || focusControl == control || scrollbarClicked)
|
if (focusControl == proposalTable || scrollbarClicked)
|
public void run() { if (proposalTable == null || proposalTable.isDisposed()) return; Control focusControl = e.display.getFocusControl(); if (focusControl == proposalTable || focusControl == control || scrollbarClicked) return; close(); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e86767bca90c6512253f517086ea9c4cc5f088bd/ContentProposalAdapter.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9944,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
430,
261,
685,
8016,
1388,
422,
446,
747,
14708,
1388,
18,
291,
1669,
7423,
10756,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
3367,
7155,
3367,
273,
425,
18,
5417,
18,
588,
9233,
3367,
5621,
6862,
1082,
202,
430,
261,
13923,
3367,
422,
14708,
1388,
747,
7155,
3367,
422,
3325,
747,
27123,
27633,
13,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
4412,
5621,
25083,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
9944,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
430,
261,
685,
8016,
1388,
422,
446,
747,
14708,
1388,
18,
291,
1669,
7423,
10756,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
3367,
7155,
3367,
273,
425,
18,
5417,
18,
588,
9233,
3367,
5621,
6862,
1082,
202,
430,
261,
13923,
3367,
422,
14708,
1388,
747,
7155,
3367,
422,
3325,
747,
27123,
27633,
13,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
4412,
5621,
25083,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else if ("input-URI".equals(typeName))
|
else if (tagMatches("input-URI"))
|
public void endGroup(String typeName) { if (inStartTag) handleStartTag(); if ("test-case".equals(typeName)) { if (--maxTests == 0) System.exit(0); // FIXME xqlog.beginGroup("test-case", testCaseGroupType); xqlog.beginAttribute("name", "name"); xqlog.writeChars(testName); xqlog.endAttribute(); try { // Other attributes and <test-case> body written by evalTest. evalTest(testName); } catch (Throwable ex) { System.err.println("test-case name:"+testName); System.err.println("caught "+ex); ex.printStackTrace(); } xqlog.endGroup("test-case"); //xqlog.flush(); testName = null; } else if ("expected-error".equals(typeName)) { expectedErrorsBuf.append(cout.toSubString(elementStartIndex[nesting])); expectedErrorsBuf.append('|'); } else if ("input-query".equals(typeName)) { String variable = attributes.getValue("variable"); Symbol symbol = Symbol.make("", variable); String name = attributes.getValue("name"); String filename = directory + '/' + XQueryQueryOffsetPath + testFilePath + name + XQueryFileExtension; InPort in; try { in = InPort.openFile(filename); Object value = XQuery.getInstance().eval(in); in.close(); //System.err.println("input-query: evaluated to "+value); Environment current = Environment.getCurrent(); current.put(symbol, null, value); } catch (Throwable ex) { System.err.println("input-query: cannot open "+filename); System.err.println("caught "+ex); ex.printStackTrace(); System.exit(-1); } } else if ("input-file".equals(typeName)) { String inputFile = cout.toSubString(elementStartIndex[nesting]); // KLUDGE around testsuite bug! if ("userdefined".equals(inputFile)) inputFile = "emptydoc"; String variable = attributes.getValue("variable"); String path = directory + '/' + sources.get(inputFile); Symbol symbol = Symbol.make("", variable); Object value; try { value = gnu.kawa.xml.Document.parseCached(path); Environment current = Environment.getCurrent(); current.put(symbol, null, value); } catch (Throwable ex) { System.err.println("caught "+ex); System.err.println("reading data file "+path); System.err.println("inputFile:"+inputFile+" variable:"+variable+" path:"+path); ex.printStackTrace(); System.exit(-1); } } else if ("input-URI".equals(typeName)) { String inputFile = cout.toSubString(elementStartIndex[nesting]); String variable = attributes.getValue("variable"); String path = "file://" + directory + '/' + sources.get(inputFile); Symbol symbol = Symbol.make("", variable); Environment.getCurrent().put(symbol, null, gnu.kawa.xml.XDataType.toURI(path)); } else if ("output-file".equals(typeName)) { outputFileAlts.push(cout.toSubString(elementStartIndex[nesting])); compare = attributes.getValue("compare"); } else if ("test-suite".equals(typeName)) { xqlog.endGroup("test-suite-result"); } else if (testName != null && "module".equals(typeName)) { String uri = attributes.getValue("namespace"); String module = cout.toSubString(elementStartIndex[nesting]); String mfile = (String) modules.get(module); String mpath = directory + '/' + mfile + XQueryFileExtension; String mclass = Compilation.mangleURI(uri) + '.' + XQuery.makeClassName(mpath); manager.register(mclass, mpath, uri); } /* else if ("test".equals(typeName) && (nesting == 0 || (inTestSuite && nesting == 1))) { inTest = false; TestMisc.evalTest(query, expect); } else if (inTestSuite ? nesting == 2 : nesting == 1) { if ("query".equals(typeName)) query = sout.toString(); else if ("expect".equals(typeName)) expect = sout.toString(); currentTag = null; } else base.endGroup(typeName); */ cout.setLength(elementStartIndex[nesting]); nesting--; }
|
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/292ac3a43189794a50773697f9ec43a563b07dd1/RunXQTS.java/buggy/gnu/xquery/testsuite/RunXQTS.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
1114,
12,
780,
8173,
13,
225,
288,
565,
309,
261,
267,
30512,
13,
1377,
1640,
30512,
5621,
565,
309,
7566,
3813,
17,
3593,
9654,
14963,
12,
723,
461,
3719,
1377,
288,
3639,
309,
261,
413,
1896,
14650,
422,
374,
13,
225,
2332,
18,
8593,
12,
20,
1769,
368,
9852,
3639,
619,
85,
1330,
18,
10086,
1114,
2932,
3813,
17,
3593,
3113,
1842,
2449,
1114,
559,
1769,
3639,
619,
85,
1330,
18,
10086,
1499,
2932,
529,
3113,
315,
529,
8863,
3639,
619,
85,
1330,
18,
2626,
7803,
12,
3813,
461,
1769,
3639,
619,
85,
1330,
18,
409,
1499,
5621,
3639,
775,
1850,
288,
5411,
368,
4673,
1677,
471,
411,
3813,
17,
3593,
34,
1417,
5941,
635,
5302,
4709,
18,
5411,
5302,
4709,
12,
3813,
461,
1769,
1850,
289,
3639,
1044,
261,
15155,
431,
13,
1850,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
3813,
17,
3593,
508,
2773,
15,
3813,
461,
1769,
5411,
2332,
18,
370,
18,
8222,
2932,
27611,
13773,
338,
1769,
5411,
431,
18,
1188,
6332,
5621,
1850,
289,
3639,
619,
85,
1330,
18,
409,
1114,
2932,
3813,
17,
3593,
8863,
3639,
368,
92,
85,
1330,
18,
11330,
5621,
3639,
1842,
461,
273,
446,
31,
1377,
289,
565,
469,
309,
7566,
3825,
17,
1636,
9654,
14963,
12,
723,
461,
3719,
1377,
288,
3639,
2665,
4229,
5503,
18,
6923,
12,
71,
659,
18,
869,
1676,
780,
12,
2956,
16792,
63,
82,
10100,
5717,
1769,
3639,
2665,
4229,
5503,
18,
6923,
2668,
96,
8284,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
1114,
12,
780,
8173,
13,
225,
288,
565,
309,
261,
267,
30512,
13,
1377,
1640,
30512,
5621,
565,
309,
7566,
3813,
17,
3593,
9654,
14963,
12,
723,
461,
3719,
1377,
288,
3639,
309,
261,
413,
1896,
14650,
422,
374,
13,
225,
2332,
18,
8593,
12,
20,
1769,
368,
9852,
3639,
619,
85,
1330,
18,
10086,
1114,
2932,
3813,
17,
3593,
3113,
1842,
2449,
1114,
559,
1769,
3639,
619,
85,
1330,
18,
10086,
1499,
2932,
529,
3113,
315,
529,
8863,
3639,
619,
85,
1330,
18,
2626,
7803,
12,
3813,
461,
1769,
3639,
619,
85,
1330,
18,
409,
1499,
5621,
3639,
775,
1850,
288,
5411,
368,
4673,
1677,
471,
411,
3813,
17,
3593,
34,
1417,
5941,
635,
2
] |
fConfiguration.setFeature (name, state);
|
fConfiguration.setFeature (name.toLowerCase(Locale.ENGLISH), state);
|
public void setParameter (String name, Object value) throws DOMException { // set features if(value instanceof Boolean){ boolean state = ((Boolean)value).booleanValue (); try { if (name.equalsIgnoreCase (Constants.DOM_COMMENTS)) { fConfiguration.setFeature (INCLUDE_COMMENTS_FEATURE, state); } else if (name.equalsIgnoreCase (Constants.DOM_DATATYPE_NORMALIZATION)) { fConfiguration.setFeature (NORMALIZE_DATA, state); } else if (name.equalsIgnoreCase (Constants.DOM_ENTITIES)) { fConfiguration.setFeature (CREATE_ENTITY_REF_NODES, state); } else if (name.equalsIgnoreCase (Constants.DOM_DISALLOW_DOCTYPE)) { fConfiguration.setFeature (DISALLOW_DOCTYPE_DECL_FEATURE, state); } else if (name.equalsIgnoreCase (Constants.DOM_SUPPORTED_MEDIATYPES_ONLY) || name.equalsIgnoreCase(Constants.DOM_NORMALIZE_CHARACTERS) || name.equalsIgnoreCase (Constants.DOM_CHECK_CHAR_NORMALIZATION) || name.equalsIgnoreCase (Constants.DOM_CANONICAL_FORM)) { if (state) { // true is not supported String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } // setting those features to false is no-op } else if (name.equalsIgnoreCase (Constants.DOM_NAMESPACES)) { fConfiguration.setFeature (NAMESPACES, state); } else if (name.equalsIgnoreCase (Constants.DOM_INFOSET)) { // Setting false has no effect. if (state) { // true: namespaces, comments, element-content-whitespace fConfiguration.setFeature(NAMESPACES, true); fConfiguration.setFeature(INCLUDE_COMMENTS_FEATURE, true); fConfiguration.setFeature(INCLUDE_IGNORABLE_WHITESPACE, true); // false: validate-if-schema, entities, // datatype-normalization, cdata-sections fConfiguration.setFeature(DYNAMIC_VALIDATION, false); fConfiguration.setFeature(CREATE_ENTITY_REF_NODES, false); fConfiguration.setFeature(NORMALIZE_DATA, false); fConfiguration.setFeature(CREATE_CDATA_NODES_FEATURE, false); } } else if (name.equalsIgnoreCase(Constants.DOM_CDATA_SECTIONS)) { fConfiguration.setFeature(CREATE_CDATA_NODES_FEATURE, state); } else if (name.equalsIgnoreCase (Constants.DOM_NAMESPACE_DECLARATIONS) || name.equalsIgnoreCase (Constants.DOM_WELLFORMED) || name.equalsIgnoreCase (Constants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS)) { if (!state) { // false is not supported String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } // setting these features to true is no-op // REVISIT: implement "namespace-declaration" feature } else if (name.equalsIgnoreCase (Constants.DOM_VALIDATE)) { fConfiguration.setFeature (VALIDATION_FEATURE, state); if (fSchemaType != Constants.NS_DTD) { fConfiguration.setFeature (XMLSCHEMA, state); } if (state){ fConfiguration.setFeature (DYNAMIC_VALIDATION, false); } } else if (name.equalsIgnoreCase (Constants.DOM_VALIDATE_IF_SCHEMA)) { fConfiguration.setFeature (DYNAMIC_VALIDATION, state); // Note: validation and dynamic validation are mutually exclusive if (state){ fConfiguration.setFeature (VALIDATION_FEATURE, false); } } else if (name.equalsIgnoreCase (Constants.DOM_ELEMENT_CONTENT_WHITESPACE)) { fConfiguration.setFeature (INCLUDE_IGNORABLE_WHITESPACE, state); } else if (name.equalsIgnoreCase (Constants.DOM_PSVI)){ //XSModel - turn on PSVI augmentation fConfiguration.setFeature (PSVI_AUGMENT, true); fConfiguration.setProperty (DOCUMENT_CLASS_NAME, "org.apache.xerces.dom.PSVIDocumentImpl"); } else { // Constants.DOM_CHARSET_OVERRIDES_XML_ENCODING feature // or any Xerces feature fConfiguration.setFeature (name, state); } } catch (XMLConfigurationException e) { String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException (DOMException.NOT_FOUND_ERR, msg); } } else { // set properties if (name.equalsIgnoreCase (Constants.DOM_ERROR_HANDLER)) { // REVISIT: we should probably allow unsetting error-handler if (value == null) return; if (value instanceof DOMErrorHandler) { try { fErrorHandler = new DOMErrorHandlerWrapper ((DOMErrorHandler) value); fConfiguration.setProperty (ERROR_HANDLER, fErrorHandler); } catch (XMLConfigurationException e) {} } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equalsIgnoreCase (Constants.DOM_RESOURCE_RESOLVER)) { if (value instanceof LSResourceResolver) { try { fConfiguration.setProperty (ENTITY_RESOLVER, new DOMEntityResolverWrapper ((LSResourceResolver) value)); } catch (XMLConfigurationException e) {} } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equalsIgnoreCase (Constants.DOM_SCHEMA_LOCATION)) { if (value instanceof String) { try { if (fSchemaType == Constants.NS_XMLSCHEMA) { fSchemaLocation = (String)value; // map DOM schema-location to JAXP schemaSource property // tokenize location string StringTokenizer t = new StringTokenizer (fSchemaLocation, " \n\t\r"); if (t.hasMoreTokens ()){ fSchemaLocations.clear (); fSchemaLocations.add (t.nextToken ()); while (t.hasMoreTokens ()) { fSchemaLocations.add (t.nextToken ()); } fConfiguration.setProperty ( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_SOURCE, fSchemaLocations.toArray ()); } else { fConfiguration.setProperty ( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_SOURCE, value); } } else { // REVISIT: allow pre-parsing DTD grammars String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_SUPPORTED", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } } catch (XMLConfigurationException e) {} } else { // REVISIT: type mismatch String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equalsIgnoreCase (Constants.DOM_SCHEMA_TYPE)) { // REVISIT: should null value be supported? if (value instanceof String) { try { if (value.equals (Constants.NS_XMLSCHEMA)) { // turn on schema feature fConfiguration.setFeature (Constants.XERCES_FEATURE_PREFIX + Constants.SCHEMA_VALIDATION_FEATURE, true); // map to JAXP schemaLanguage fConfiguration.setProperty ( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_LANGUAGE, Constants.NS_XMLSCHEMA); fSchemaType = Constants.NS_XMLSCHEMA; } else if (value.equals (Constants.NS_DTD)) { fConfiguration.setFeature ( Constants.XERCES_FEATURE_PREFIX + Constants.SCHEMA_VALIDATION_FEATURE, false); fConfiguration.setProperty ( Constants.JAXP_PROPERTY_PREFIX + Constants.SCHEMA_LANGUAGE, Constants.NS_DTD); fSchemaType = Constants.NS_DTD; } } catch (XMLConfigurationException e) {} } else { String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "TYPE_MISMATCH_ERR", new Object[] { name }); throw new DOMException (DOMException.NOT_SUPPORTED_ERR, msg); } } else if (name.equalsIgnoreCase (DOCUMENT_CLASS_NAME)) { fConfiguration.setProperty (DOCUMENT_CLASS_NAME, value); } else { // REVISIT: check if this is a boolean parameter -- type mismatch should be thrown. //parameter is not recognized String msg = DOMMessageFormatter.formatMessage ( DOMMessageFormatter.DOM_DOMAIN, "FEATURE_NOT_FOUND", new Object[] { name }); throw new DOMException (DOMException.NOT_FOUND_ERR, msg); } } }
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/8103abe84a6b8acb119013f294b6be0f993baa7a/DOMParserImpl.java/clean/src/org/apache/xerces/parsers/DOMParserImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6690,
261,
780,
508,
16,
1033,
460,
13,
1216,
4703,
503,
288,
3639,
368,
444,
4467,
3639,
309,
12,
1132,
1276,
3411,
15329,
5411,
1250,
919,
273,
14015,
5507,
13,
1132,
2934,
6494,
620,
261,
1769,
5411,
775,
288,
7734,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
12200,
55,
3719,
288,
10792,
284,
1750,
18,
542,
4595,
261,
26003,
67,
12200,
55,
67,
18257,
16,
919,
1769,
7734,
289,
7734,
469,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
11102,
789,
1738,
67,
15480,
25084,
3719,
288,
10792,
284,
1750,
18,
542,
4595,
261,
15480,
15641,
67,
4883,
16,
919,
1769,
7734,
289,
7734,
469,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
2222,
25673,
3719,
288,
10792,
284,
1750,
18,
542,
4595,
261,
9344,
67,
11101,
67,
10771,
67,
8744,
55,
16,
919,
1769,
7734,
289,
7734,
469,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
13498,
13511,
67,
29824,
3719,
288,
10792,
284,
1750,
18,
542,
4595,
261,
13498,
13511,
67,
29824,
67,
23956,
67,
18257,
16,
919,
1769,
7734,
289,
7734,
469,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
21134,
67,
15971,
789,
1738,
55,
67,
10857,
13,
7734,
747,
508,
18,
14963,
5556,
12,
2918,
18,
8168,
67,
15480,
15641,
67,
7305,
6526,
11367,
13,
7734,
747,
508,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
10687,
67,
7305,
67,
15480,
25084,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6690,
261,
780,
508,
16,
1033,
460,
13,
1216,
4703,
503,
288,
3639,
368,
444,
4467,
3639,
309,
12,
1132,
1276,
3411,
15329,
5411,
1250,
919,
273,
14015,
5507,
13,
1132,
2934,
6494,
620,
261,
1769,
5411,
775,
288,
7734,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
12200,
55,
3719,
288,
10792,
284,
1750,
18,
542,
4595,
261,
26003,
67,
12200,
55,
67,
18257,
16,
919,
1769,
7734,
289,
7734,
469,
309,
261,
529,
18,
14963,
5556,
261,
2918,
18,
8168,
67,
11102,
789,
1738,
67,
15480,
25084,
3719,
288,
10792,
284,
1750,
18,
542,
4595,
261,
15480,
15641,
67,
4883,
16,
919,
1769,
7734,
289,
7734,
469,
309,
261,
529,
18,
2
] |
client.connect("127.0.0.1", 4555); runTelnetScript(client, script2); client.disconnect();
|
public void testEndToEnd() { TelnetClient client = new TelnetClient(); BufferedReader in; OutputStreamWriter out; try { client.setDefaultTimeout(500); client.connect("127.0.0.1", 4555); runTelnetScript(client, script1); client.disconnect(); SMTPTest(); POP3Test(); client.connect("127.0.0.1", 4555); runTelnetScript(client, script2); client.disconnect(); } catch (SocketException e) { e.printStackTrace(); assertTrue(false); } catch (IOException e) { e.printStackTrace(); assertTrue(false); } }
|
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/fcef5204edc00e68a5b7e08b6edb80472277cf3f/EndToEnd.java/buggy/trunk/tests/src/java/org/apache/james/testing/EndToEnd.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1638,
774,
1638,
1435,
288,
3639,
399,
292,
2758,
1227,
1004,
273,
394,
399,
292,
2758,
1227,
5621,
3639,
10633,
316,
31,
3639,
24248,
596,
31,
3639,
775,
288,
5411,
1004,
18,
542,
1868,
2694,
12,
12483,
1769,
5411,
1004,
18,
3612,
2932,
14260,
18,
20,
18,
20,
18,
21,
3113,
1059,
2539,
25,
1769,
5411,
1086,
56,
292,
2758,
3651,
12,
2625,
16,
2728,
21,
1769,
5411,
1004,
18,
20177,
5621,
5411,
348,
6152,
1856,
395,
5621,
5411,
26839,
23,
4709,
5621,
5411,
1004,
18,
3612,
2932,
14260,
18,
20,
18,
20,
18,
21,
3113,
1059,
2539,
25,
1769,
5411,
1086,
56,
292,
2758,
3651,
12,
2625,
16,
2728,
22,
1769,
5411,
1004,
18,
20177,
5621,
3639,
289,
1044,
261,
4534,
503,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
5411,
1815,
5510,
12,
5743,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
5411,
1815,
5510,
12,
5743,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1638,
774,
1638,
1435,
288,
3639,
399,
292,
2758,
1227,
1004,
273,
394,
399,
292,
2758,
1227,
5621,
3639,
10633,
316,
31,
3639,
24248,
596,
31,
3639,
775,
288,
5411,
1004,
18,
542,
1868,
2694,
12,
12483,
1769,
5411,
1004,
18,
3612,
2932,
14260,
18,
20,
18,
20,
18,
21,
3113,
1059,
2539,
25,
1769,
5411,
1086,
56,
292,
2758,
3651,
12,
2625,
16,
2728,
21,
1769,
5411,
1004,
18,
20177,
5621,
5411,
348,
6152,
1856,
395,
5621,
5411,
26839,
23,
4709,
5621,
5411,
1004,
18,
3612,
2932,
14260,
18,
20,
18,
20,
18,
21,
3113,
1059,
2539,
25,
1769,
5411,
1086,
56,
292,
2758,
3651,
12,
2625,
16,
2728,
22,
1769,
5411,
1004,
18,
2
] |
|
try { getArgsForTable(tables); doTable(tables); } catch (Exception ex) { exception(tables.at(0, 0, 0), ex); listener.tableFinished(tables); return;
|
try { getArgsForTable(tables); doTable(tables); } catch (Exception ex) { exception(tables.at(0, 0, 0), ex); listener.tableFinished(tables); return; } interpretFollowingTables(tables);
|
protected void interpretTables(Parse tables) { try { // Don't create the first fixture again, because creation may do something important. getArgsForTable(tables); // get them again for the new fixture object doTable(tables); } catch (Exception ex) { exception(tables.at(0, 0, 0), ex); listener.tableFinished(tables); return; } interpretFollowingTables(tables); }
|
49926 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49926/1b401eb378fe954e4efe95e43200d692e3cf2d7d/Fixture.java/clean/src/fit/Fixture.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
10634,
6905,
12,
3201,
4606,
13,
288,
202,
202,
698,
288,
368,
7615,
1404,
752,
326,
1122,
16678,
3382,
16,
2724,
6710,
2026,
741,
5943,
10802,
18,
1082,
202,
588,
2615,
1290,
1388,
12,
9373,
1769,
368,
336,
2182,
3382,
364,
326,
394,
16678,
733,
1082,
202,
2896,
1388,
12,
9373,
1769,
202,
202,
97,
1044,
261,
503,
431,
13,
288,
1082,
202,
4064,
12,
9373,
18,
270,
12,
20,
16,
374,
16,
374,
3631,
431,
1769,
1082,
202,
12757,
18,
2121,
10577,
12,
9373,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
24713,
8328,
310,
6905,
12,
9373,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
10634,
6905,
12,
3201,
4606,
13,
288,
202,
202,
698,
288,
368,
7615,
1404,
752,
326,
1122,
16678,
3382,
16,
2724,
6710,
2026,
741,
5943,
10802,
18,
1082,
202,
588,
2615,
1290,
1388,
12,
9373,
1769,
368,
336,
2182,
3382,
364,
326,
394,
16678,
733,
1082,
202,
2896,
1388,
12,
9373,
1769,
202,
202,
97,
1044,
261,
503,
431,
13,
288,
1082,
202,
4064,
12,
9373,
18,
270,
12,
20,
16,
374,
16,
374,
3631,
431,
1769,
1082,
202,
12757,
18,
2121,
10577,
12,
9373,
1769,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
24713,
8328,
310,
6905,
12,
9373,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private int indexOf(int tag, int[] order) { if (order != null) { for (int i = 0; i < order.length; i++) { if (tag == order[i]) { return i; } } } return Integer.MAX_VALUE; }
|
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/ed98aa4c43f995af0db9d3ab676beb630d753e59/FieldMap.java/buggy/src/quickfix/FieldMap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
474,
31806,
12,
474,
2692,
16,
474,
8526,
1019,
15329,
430,
12,
1019,
5,
33,
2011,
15329,
202,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
1019,
18,
2469,
31,
77,
27245,
95,
202,
430,
12,
2692,
631,
1019,
63,
77,
5717,
95,
202,
2463,
77,
31,
202,
97,
202,
9090,
2463,
4522,
18,
6694,
67,
4051,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
474,
31806,
12,
474,
2692,
16,
474,
8526,
1019,
15329,
430,
12,
1019,
5,
33,
2011,
15329,
202,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
1019,
18,
2469,
31,
77,
27245,
95,
202,
430,
12,
2692,
631,
1019,
63,
77,
5717,
95,
202,
2463,
77,
31,
202,
97,
202,
9090,
2463,
4522,
18,
6694,
67,
4051,
31,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
}
|
for (TaskRepository taskRepository : repositoriesToSync.get(connector.getRepositoryType())) { TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, taskRepository); } }
|
public void run(IAction action) { if (TaskListView.getFromActivePerspective() != null) { ISelection selection = TaskListView.getFromActivePerspective().getViewer().getSelection(); for (Object obj : ((IStructuredSelection) selection).toList()) { if (obj instanceof AbstractRepositoryQuery) { final AbstractRepositoryQuery repositoryQuery = (AbstractRepositoryQuery) obj; AbstractRepositoryConnector client = TasksUiPlugin.getRepositoryManager().getRepositoryConnector( repositoryQuery.getRepositoryKind()); if (client != null) { List<AbstractRepositoryQuery> queriesToSync = queriesToSyncMap.get(client); if (queriesToSync == null) { queriesToSync = new ArrayList<AbstractRepositoryQuery>(); queriesToSyncMap.put(client, queriesToSync); } queriesToSync.add(repositoryQuery); } } else if (obj instanceof TaskCategory) { TaskCategory cat = (TaskCategory) obj; for (ITask task : cat.getChildren()) { if (task instanceof AbstractRepositoryTask) { AbstractRepositoryConnector client = TasksUiPlugin.getRepositoryManager() .getRepositoryConnector(((AbstractRepositoryTask) task).getRepositoryKind()); addTaskToSync(client, (AbstractRepositoryTask) task); } } } else if (obj instanceof AbstractRepositoryTask) { AbstractRepositoryTask repositoryTask = (AbstractRepositoryTask) obj; AbstractRepositoryConnector client = TasksUiPlugin.getRepositoryManager().getRepositoryConnector( repositoryTask.getRepositoryKind()); addTaskToSync(client, repositoryTask); } else if (obj instanceof AbstractQueryHit) { AbstractQueryHit hit = (AbstractQueryHit) obj; if (hit.getOrCreateCorrespondingTask() != null) { AbstractRepositoryConnector client = TasksUiPlugin.getRepositoryManager() .getRepositoryConnector(hit.getCorrespondingTask().getRepositoryKind()); addTaskToSync(client, hit.getCorrespondingTask()); } } } if (!queriesToSyncMap.isEmpty()) { for (AbstractRepositoryConnector connector : queriesToSyncMap.keySet()) { List<AbstractRepositoryQuery> queriesToSync = queriesToSyncMap.get(connector); if (queriesToSync != null && queriesToSync.size() > 0) { TasksUiPlugin.getSynchronizationManager().synchronize(connector, new HashSet<AbstractRepositoryQuery>(queriesToSync), null, Job.LONG, 0, true); } } } if (!tasksToSyncMap.isEmpty()) { for (AbstractRepositoryConnector connector : tasksToSyncMap.keySet()) { List<AbstractRepositoryTask> tasksToSync = tasksToSyncMap.get(connector); if (tasksToSync != null && tasksToSync.size() > 0) { TasksUiPlugin.getSynchronizationManager().synchronize(connector, new HashSet<AbstractRepositoryTask>(tasksToSync), true, null); } } } } queriesToSyncMap.clear(); tasksToSyncMap.clear(); if (TaskListView.getFromActivePerspective() != null) { TaskListView.getFromActivePerspective().getViewer().refresh(); } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/be7c58b2e3986b238dfeb0e785ab469ae3f4a9d4/SynchronizeSelectedAction.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeSelectedAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
430,
261,
2174,
682,
1767,
18,
588,
1265,
3896,
14781,
16772,
1435,
480,
446,
13,
288,
1082,
202,
45,
6233,
4421,
273,
3837,
682,
1767,
18,
588,
1265,
3896,
14781,
16772,
7675,
588,
18415,
7675,
588,
6233,
5621,
1082,
202,
1884,
261,
921,
1081,
294,
14015,
45,
30733,
6233,
13,
4421,
2934,
869,
682,
10756,
288,
9506,
202,
430,
261,
2603,
1276,
4115,
3305,
1138,
13,
288,
6862,
202,
6385,
4115,
3305,
1138,
3352,
1138,
273,
261,
7469,
3305,
1138,
13,
1081,
31,
6862,
202,
7469,
3305,
7487,
1004,
273,
20350,
13943,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
7487,
12,
6862,
1082,
202,
9071,
1138,
18,
588,
3305,
5677,
10663,
6862,
202,
430,
261,
2625,
480,
446,
13,
288,
25083,
202,
682,
32,
7469,
3305,
1138,
34,
6218,
774,
4047,
273,
6218,
774,
4047,
863,
18,
588,
12,
2625,
1769,
25083,
202,
430,
261,
13748,
774,
4047,
422,
446,
13,
288,
6862,
1082,
202,
13748,
774,
4047,
273,
394,
2407,
32,
7469,
3305,
1138,
34,
5621,
6862,
1082,
202,
13748,
774,
4047,
863,
18,
458,
12,
2625,
16,
6218,
774,
4047,
1769,
25083,
202,
97,
25083,
202,
13748,
774,
4047,
18,
1289,
12,
9071,
1138,
1769,
6862,
202,
97,
6862,
364,
261,
2174,
3305,
1562,
3305,
294,
14531,
774,
4047,
18,
588,
12,
23159,
18,
588,
3305,
559,
1435,
3719,
288,
20350,
13943,
3773,
18,
588,
30196,
1318,
7675,
87,
2600,
554,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
430,
261,
2174,
682,
1767,
18,
588,
1265,
3896,
14781,
16772,
1435,
480,
446,
13,
288,
1082,
202,
45,
6233,
4421,
273,
3837,
682,
1767,
18,
588,
1265,
3896,
14781,
16772,
7675,
588,
18415,
7675,
588,
6233,
5621,
1082,
202,
1884,
261,
921,
1081,
294,
14015,
45,
30733,
6233,
13,
4421,
2934,
869,
682,
10756,
288,
9506,
202,
430,
261,
2603,
1276,
4115,
3305,
1138,
13,
288,
6862,
202,
6385,
4115,
3305,
1138,
3352,
1138,
273,
261,
7469,
3305,
1138,
13,
1081,
31,
6862,
202,
7469,
3305,
7487,
1004,
273,
20350,
13943,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
7487,
12,
6862,
1082,
202,
9071,
2
] |
gdFCCBackground.horizontalSpan = 5;
|
private void placeComponents() { FillLayout flMain = new FillLayout(); flMain.marginHeight = 1; flMain.marginWidth = 1; GridLayout glAttributes = new GridLayout(); glAttributes.verticalSpacing = 2; glAttributes.marginHeight = 2; glAttributes.marginWidth = 2; glAttributes.numColumns = 6; FillLayout flOutline = new FillLayout(); this.setLayout(flMain); grpAttributes = new Group(this, SWT.NONE); grpAttributes.setText(sGroupName); grpAttributes.setLayout(glAttributes); Label lblPosition = new Label(grpAttributes, SWT.NONE); GridData gdLBLPosition = new GridData(GridData.FILL); lblPosition.setLayoutData(gdLBLPosition); lblPosition.setText("Position:"); cmbPosition = new Combo(grpAttributes, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBPosition = new GridData(GridData.FILL_BOTH); gdCMBPosition.horizontalSpan = 5; cmbPosition.setLayoutData(gdCMBPosition); cmbPosition.addSelectionListener(this); Label lblFont = new Label(grpAttributes, SWT.NONE); GridData gdLFont = new GridData(GridData.FILL); gdLFont.horizontalSpan = 1; lblFont.setLayoutData(gdLFont); lblFont.setText("Font:"); fdcFont = new FontDefinitionComposite(grpAttributes, SWT.NONE, this.fdCurrent, this.cdFont); GridData gdFDCFont = new GridData(GridData.FILL_BOTH); gdFDCFont.horizontalSpan = 5; gdFDCFont.heightHint = fdcFont.getPreferredSize().y; gdFDCFont.widthHint = 96; gdFDCFont.grabExcessVerticalSpace = false; fdcFont.setLayoutData(gdFDCFont); fdcFont.addListener(this); Label lblFill = new Label(grpAttributes, SWT.NONE); GridData gdLFill = new GridData(GridData.FILL); gdLFill.horizontalSpan = 1; lblFill.setLayoutData(gdLFill); lblFill.setText("Background:"); fccBackground = new FillChooserComposite(grpAttributes, SWT.NONE, fBackground, true, true); GridData gdFCCBackground = new GridData(GridData.FILL_BOTH); gdFCCBackground.horizontalSpan = 5; gdFCCBackground.heightHint = fccBackground.getPreferredSize().y; fccBackground.setLayoutData(gdFCCBackground); fccBackground.addListener(this); Label lblShadow = new Label(grpAttributes, SWT.NONE); GridData gdLBLShadow = new GridData(GridData.FILL); gdLBLShadow.horizontalSpan = 1; lblShadow.setLayoutData(gdLBLShadow); lblShadow.setText("Shadow:"); fccShadow = new FillChooserComposite(grpAttributes, SWT.NONE, cdShadow, false, false); GridData gdFCCShadow = new GridData(GridData.FILL_BOTH); gdFCCShadow.horizontalSpan = 5; fccShadow.setLayoutData(gdFCCShadow); fccShadow.addListener(this); grpOutline = new Group(grpAttributes, SWT.NONE); GridData gdGOutline = new GridData(GridData.FILL_BOTH); gdGOutline.horizontalSpan = 6; gdGOutline.heightHint = 110; grpOutline.setLayoutData(gdGOutline); grpOutline.setText("Outline"); grpOutline.setLayout(flOutline); liacOutline = new LineAttributesComposite(grpOutline, SWT.NONE, laCurrent, true, true); liacOutline.addListener(this); icInsets = new InsetsComposite(grpAttributes, SWT.NONE, insets); GridData gdICInsets = new GridData(GridData.FILL_BOTH); gdICInsets.horizontalSpan = 6; gdICInsets.heightHint = icInsets.getPreferredSize().y; gdICInsets.grabExcessVerticalSpace = false; icInsets.addListener(this); icInsets.setLayoutData(gdICInsets); populateLists(); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/3312cd0d7d4efb945ae26dd43efddc7cb433aa3c/LabelAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
14192,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
3639,
1183,
6376,
18,
10107,
2686,
273,
404,
31,
3639,
1183,
6376,
18,
10107,
2384,
273,
404,
31,
3639,
7145,
3744,
5118,
2498,
273,
394,
7145,
3744,
5621,
3639,
5118,
2498,
18,
17824,
18006,
273,
576,
31,
3639,
5118,
2498,
18,
10107,
2686,
273,
576,
31,
3639,
5118,
2498,
18,
10107,
2384,
273,
576,
31,
3639,
5118,
2498,
18,
2107,
3380,
273,
1666,
31,
3639,
14192,
3744,
1183,
21805,
273,
394,
14192,
3744,
5621,
3639,
333,
18,
542,
3744,
12,
2242,
6376,
1769,
3639,
14295,
2498,
273,
394,
3756,
12,
2211,
16,
348,
8588,
18,
9826,
1769,
3639,
14295,
2498,
18,
542,
1528,
12,
87,
3943,
1769,
3639,
14295,
2498,
18,
542,
3744,
12,
7043,
2498,
1769,
3639,
5287,
14284,
2555,
273,
394,
5287,
12,
17532,
2498,
16,
348,
8588,
18,
9826,
1769,
3639,
7145,
751,
15551,
12995,
48,
2555,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
1769,
3639,
14284,
2555,
18,
542,
3744,
751,
12,
19016,
12995,
48,
2555,
1769,
3639,
14284,
2555,
18,
542,
1528,
2932,
2555,
2773,
1769,
3639,
276,
1627,
2555,
273,
394,
1286,
1075,
12,
17532,
2498,
16,
348,
8588,
18,
18768,
67,
12711,
571,
348,
8588,
18,
6949,
67,
10857,
1769,
3639,
7145,
751,
15551,
39,
7969,
2555,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
1769,
3639,
15551,
39,
7969,
2555,
18,
18396,
6952,
273,
1381,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
14192,
3744,
1183,
6376,
273,
394,
14192,
3744,
5621,
3639,
1183,
6376,
18,
10107,
2686,
273,
404,
31,
3639,
1183,
6376,
18,
10107,
2384,
273,
404,
31,
3639,
7145,
3744,
5118,
2498,
273,
394,
7145,
3744,
5621,
3639,
5118,
2498,
18,
17824,
18006,
273,
576,
31,
3639,
5118,
2498,
18,
10107,
2686,
273,
576,
31,
3639,
5118,
2498,
18,
10107,
2384,
273,
576,
31,
3639,
5118,
2498,
18,
2107,
3380,
273,
1666,
31,
3639,
14192,
3744,
1183,
21805,
273,
394,
14192,
3744,
5621,
3639,
333,
18,
542,
3744,
12,
2242,
6376,
1769,
3639,
14295,
2498,
273,
394,
3756,
12,
2211,
16,
348,
8588,
18,
9826,
1769,
3639,
14295,
2498,
18,
2
] |
|
String locale = memento.getString(TAG_LOCALE); String platform = memento.getString(TAG_PLATFORM); String pluginId = pluginIdOverride != null ? pluginIdOverride : memento.getString(TAG_PLUGIN_ID);
|
String locale = memento.getString(TAG_LOCALE); String platform = memento.getString(TAG_PLATFORM); String pluginId = pluginIdOverride != null ? pluginIdOverride : memento .getString(TAG_PLUGIN_ID);
|
static KeySequenceBindingDefinition readKeySequenceBindingDefinition( IMemento memento, String pluginIdOverride) { if (memento == null) throw new NullPointerException(); String contextId = memento.getString(TAG_CONTEXT_ID); // TODO deprecated start if (contextId == null) contextId = memento.getString("scope"); //$NON-NLS-1$ if ("org.eclipse.ui.globalScope".equals(contextId)) //$NON-NLS-1$ contextId = null; // TODO deprecated end String commandId = memento.getString(TAG_COMMAND_ID); // TODO deprecated start if (commandId == null) commandId = memento.getString("command"); //$NON-NLS-1$ if (commandId == null) commandId = memento.getString("id"); //$NON-NLS-1$ // TODO deprecated end String keyConfigurationId = memento.getString(TAG_KEY_CONFIGURATION_ID); // TODO deprecated start if (keyConfigurationId == null) keyConfigurationId = memento.getString("configuration"); //$NON-NLS-1$ // TODO deprecated end KeySequence keySequence = null; String keySequenceAsString = memento.getString(TAG_KEY_SEQUENCE); if (keySequenceAsString != null) try { keySequence = KeySequence.getInstance(keySequenceAsString); } catch (ParseException eParse) { } // TODO deprecated start else { IMemento mementoSequence = memento.getChild("sequence"); //$NON-NLS-1$ if (mementoSequence != null) keySequence = deprecatedSequenceToKeySequence( readDeprecatedSequence(mementoSequence)); else { String string = memento.getString("string"); //$NON-NLS-1$ if (string != null) keySequence = deprecatedSequenceToKeySequence( parseDeprecatedSequence(string)); } // TODO deprecated end } String locale = memento.getString(TAG_LOCALE); String platform = memento.getString(TAG_PLATFORM); String pluginId = pluginIdOverride != null ? pluginIdOverride : memento.getString(TAG_PLUGIN_ID); // TODO deprecated start if (pluginIdOverride == null && pluginId == null) pluginId = memento.getString("plugin"); //$NON-NLS-1$ // TODO deprecated end return new KeySequenceBindingDefinition( contextId, commandId, keyConfigurationId, keySequence, locale, platform, pluginId); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/Persistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/Persistence.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1929,
4021,
5250,
1852,
855,
653,
4021,
5250,
1852,
12,
202,
202,
3445,
820,
83,
312,
820,
83,
16,
202,
202,
780,
1909,
548,
6618,
13,
288,
202,
202,
430,
261,
81,
820,
83,
422,
446,
13,
1082,
202,
12849,
394,
10108,
5621,
202,
202,
780,
819,
548,
273,
312,
820,
83,
18,
588,
780,
12,
7927,
67,
13181,
67,
734,
1769,
202,
202,
759,
2660,
6849,
787,
202,
202,
430,
261,
2472,
548,
422,
446,
13,
1082,
202,
2472,
548,
273,
312,
820,
83,
18,
588,
780,
2932,
4887,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
7566,
3341,
18,
20416,
18,
4881,
18,
6347,
3876,
9654,
14963,
12,
2472,
548,
3719,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2472,
548,
273,
446,
31,
202,
202,
759,
2660,
6849,
679,
202,
202,
780,
1296,
548,
273,
312,
820,
83,
18,
588,
780,
12,
7927,
67,
19104,
67,
734,
1769,
202,
202,
759,
2660,
6849,
787,
202,
202,
430,
261,
3076,
548,
422,
446,
13,
1082,
202,
3076,
548,
273,
312,
820,
83,
18,
588,
780,
2932,
3076,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3196,
202,
430,
261,
3076,
548,
422,
446,
13,
1082,
202,
3076,
548,
273,
312,
820,
83,
18,
588,
780,
2932,
350,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3196,
202,
759,
2660,
6849,
679,
202,
202,
780,
498,
1750,
548,
273,
312,
820,
83,
18,
588,
780,
12,
7927,
67,
3297,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1929,
4021,
5250,
1852,
855,
653,
4021,
5250,
1852,
12,
202,
202,
3445,
820,
83,
312,
820,
83,
16,
202,
202,
780,
1909,
548,
6618,
13,
288,
202,
202,
430,
261,
81,
820,
83,
422,
446,
13,
1082,
202,
12849,
394,
10108,
5621,
202,
202,
780,
819,
548,
273,
312,
820,
83,
18,
588,
780,
12,
7927,
67,
13181,
67,
734,
1769,
202,
202,
759,
2660,
6849,
787,
202,
202,
430,
261,
2472,
548,
422,
446,
13,
1082,
202,
2472,
548,
273,
312,
820,
83,
18,
588,
780,
2932,
4887,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
7566,
3341,
18,
20416,
18,
4881,
18,
6347,
3876,
9654,
14963,
12,
2472,
548,
3719,
2
] |
getLog().info("Package wo"); BufferedWriter woapplicationWriter = null; String filename = getArtifactFileName(); try { woapplicationWriter = new BufferedWriter(new FileWriter(new File(filename))); woapplicationWriter.write("\n"); } catch (IOException ioe) { new MojoExecutionException("could not write " + filename, ioe); } finally { if (null != woapplicationWriter) { try { woapplicationWriter.close(); } catch (IOException ioe) { } } } String artifactFileName = this.getArtifactFileName(); if (artifactFileName != null) { String fileName = this.getProjectFolder() + artifactFileName; getLog().info("Defining artifact filename: " + fileName); this.getProject().getArtifact().setFile(new File(fileName)); }
|
super.execute();
|
public void execute() throws MojoExecutionException, MojoFailureException { getLog().info("Package wo"); BufferedWriter woapplicationWriter = null; String filename = getArtifactFileName(); try { woapplicationWriter = new BufferedWriter(new FileWriter(new File(filename))); woapplicationWriter.write("\n"); } catch (IOException ioe) { new MojoExecutionException("could not write " + filename, ioe); } finally { if (null != woapplicationWriter) { try { woapplicationWriter.close(); } catch (IOException ioe) { // Ignore exception } } } String artifactFileName = this.getArtifactFileName(); if (artifactFileName != null) { String fileName = this.getProjectFolder() + artifactFileName; getLog().info("Defining artifact filename: " + fileName); this.getProject().getArtifact().setFile(new File(fileName)); } Artifact artifact = artifactFactory.createBuildArtifact(project.getGroupId(), project.getArtifactId(), project.getVersion(), "woapplication.tar.gz"); artifact.setFile(new File(this.getWOApplicationFileName())); getLog().info("Attaching artifact: " + this.getWOWeberverResourcesArtifactFileName()); project.addAttachedArtifact(artifact); artifact = artifactFactory.createBuildArtifact(project.getGroupId(), project.getArtifactId(), project.getVersion(), "wowebserverresources.tar.gz"); artifact.setFile(new File(this.getWOWeberverResourcesArtifactFileName())); getLog().info("Attaching artifact: " + this.getWOWeberverResourcesArtifactFileName()); project.addAttachedArtifact(artifact); }
|
2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/a649dd9b6140c39ff40a2cbbb785dbf41e26a8ae/PackageWOApplicationResourcesMojo.java/buggy/maven2/maven-wolifecycle-plugin/src/main/java/org/objectstyle/woproject/maven2/wolifecycle/PackageWOApplicationResourcesMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
1435,
1216,
18780,
16,
15931,
14389,
288,
202,
202,
588,
1343,
7675,
1376,
2932,
2261,
341,
83,
8863,
202,
202,
17947,
2289,
341,
83,
3685,
2289,
273,
446,
31,
202,
202,
780,
1544,
273,
24957,
4771,
5621,
202,
202,
698,
288,
1082,
202,
6933,
3685,
2289,
273,
394,
22490,
12,
2704,
24639,
12,
2704,
1387,
12,
3459,
3719,
1769,
1082,
202,
6933,
3685,
2289,
18,
2626,
31458,
82,
8863,
202,
202,
97,
1044,
261,
14106,
10847,
13,
288,
1082,
202,
2704,
18780,
2932,
15195,
486,
1045,
315,
397,
1544,
16,
10847,
1769,
202,
202,
97,
3095,
288,
1082,
202,
430,
261,
2011,
480,
341,
83,
3685,
2289,
13,
288,
9506,
202,
698,
288,
6862,
202,
6933,
3685,
2289,
18,
4412,
5621,
9506,
202,
97,
1044,
261,
14106,
10847,
13,
288,
6862,
202,
759,
8049,
1520,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
780,
6462,
4771,
273,
333,
18,
588,
7581,
4771,
5621,
202,
202,
430,
261,
17706,
4771,
480,
446,
13,
288,
1082,
202,
780,
3968,
273,
333,
18,
588,
4109,
3899,
1435,
397,
6462,
4771,
31,
1082,
202,
588,
1343,
7675,
1376,
2932,
6443,
310,
6462,
1544,
30,
315,
397,
3968,
1769,
1082,
202,
2211,
18,
588,
4109,
7675,
588,
7581,
7675,
542,
812,
12,
2704,
1387,
12,
17812,
10019,
202,
202,
97,
202,
202,
7581,
6462,
273,
6462,
1733,
18,
2640,
3116,
7581,
12,
4406,
18,
588,
8722,
9334,
1984,
18,
588,
7581,
548,
9334,
1984,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
1435,
1216,
18780,
16,
15931,
14389,
288,
202,
202,
588,
1343,
7675,
1376,
2932,
2261,
341,
83,
8863,
202,
202,
17947,
2289,
341,
83,
3685,
2289,
273,
446,
31,
202,
202,
780,
1544,
273,
24957,
4771,
5621,
202,
202,
698,
288,
1082,
202,
6933,
3685,
2289,
273,
394,
22490,
12,
2704,
24639,
12,
2704,
1387,
12,
3459,
3719,
1769,
1082,
202,
6933,
3685,
2289,
18,
2626,
31458,
82,
8863,
202,
202,
97,
1044,
261,
14106,
10847,
13,
288,
1082,
202,
2704,
18780,
2932,
15195,
486,
1045,
315,
397,
1544,
16,
10847,
1769,
202,
202,
97,
3095,
288,
1082,
202,
430,
261,
2011,
480,
341,
83,
3685,
2289,
13,
288,
9506,
202,
698,
288,
6862,
2
] |
public ComparisonFailure (String message, String expected, String actual) { super (message); fExpected= expected; fActual= actual;
|
public ComparisonFailure () {
|
public ComparisonFailure (String message, String expected, String actual) { super (message); fExpected= expected; fActual= actual; }
|
32006 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32006/0f8075aba2fc1bba1b0c145e28bb99b5da31928f/ComparisonFailure.java/buggy/junit/framework/ComparisonFailure.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19479,
5247,
261,
780,
883,
16,
514,
2665,
16,
514,
3214,
13,
288,
202,
202,
9565,
261,
2150,
1769,
202,
202,
74,
6861,
33,
2665,
31,
202,
202,
74,
11266,
33,
3214,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
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,
19479,
5247,
261,
780,
883,
16,
514,
2665,
16,
514,
3214,
13,
288,
202,
202,
9565,
261,
2150,
1769,
202,
202,
74,
6861,
33,
2665,
31,
202,
202,
74,
11266,
33,
3214,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw new RuntimeException("parentComponent does not have a valid parent");
|
toUse = JLayeredPane.getLayeredPaneAbove(parentComponent); if (toUse == null) throw new RuntimeException ("parentComponent does not have a valid parent");
|
public JInternalFrame createInternalFrame(Component parentComponent, String title) throws RuntimeException { JDesktopPane toUse = getDesktopPaneForComponent(parentComponent); if (toUse == null) throw new RuntimeException("parentComponent does not have a valid parent"); JInternalFrame frame = new JInternalFrame(title); inputValue = UNINITIALIZED_VALUE; value = UNINITIALIZED_VALUE; frame.setClosable(true); toUse.add(frame); // FIXME: JLayeredPane broken? See bug # 16576 // frame.setLayer(JLayeredPane.MODAL_LAYER); return frame; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JOptionPane.java/buggy/core/src/classpath/javax/javax/swing/JOptionPane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
3061,
3219,
752,
3061,
3219,
12,
1841,
982,
1841,
16,
4766,
5411,
514,
2077,
13,
19694,
1216,
3235,
565,
288,
565,
804,
27583,
8485,
358,
3727,
273,
2343,
281,
11869,
8485,
1290,
1841,
12,
2938,
1841,
1769,
565,
309,
261,
869,
3727,
422,
446,
13,
1377,
358,
3727,
273,
804,
4576,
329,
8485,
18,
588,
4576,
329,
8485,
25477,
12,
2938,
1841,
1769,
225,
309,
261,
869,
3727,
422,
446,
13,
604,
394,
3235,
7566,
2938,
1841,
1552,
486,
1240,
279,
923,
982,
8863,
565,
804,
3061,
3219,
2623,
273,
394,
804,
3061,
3219,
12,
2649,
1769,
565,
29904,
273,
5019,
12919,
25991,
67,
4051,
31,
565,
460,
273,
5019,
12919,
25991,
67,
4051,
31,
565,
2623,
18,
542,
4082,
87,
429,
12,
3767,
1769,
565,
358,
3727,
18,
1289,
12,
3789,
1769,
565,
368,
9852,
30,
804,
4576,
329,
8485,
12933,
35,
2164,
7934,
468,
2872,
25,
6669,
565,
368,
2623,
18,
542,
4576,
12,
46,
4576,
329,
8485,
18,
6720,
1013,
67,
22166,
1769,
565,
327,
2623,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
3061,
3219,
752,
3061,
3219,
12,
1841,
982,
1841,
16,
4766,
5411,
514,
2077,
13,
19694,
1216,
3235,
565,
288,
565,
804,
27583,
8485,
358,
3727,
273,
2343,
281,
11869,
8485,
1290,
1841,
12,
2938,
1841,
1769,
565,
309,
261,
869,
3727,
422,
446,
13,
1377,
358,
3727,
273,
804,
4576,
329,
8485,
18,
588,
4576,
329,
8485,
25477,
12,
2938,
1841,
1769,
225,
309,
261,
869,
3727,
422,
446,
13,
604,
394,
3235,
7566,
2938,
1841,
1552,
486,
1240,
279,
923,
982,
8863,
565,
804,
3061,
3219,
2623,
273,
394,
804,
3061,
3219,
12,
2649,
1769,
565,
29904,
273,
5019,
12919,
25991,
67,
4051,
31,
565,
460,
273,
5019,
12919,
25991,
67,
4051,
31,
565,
2
] |
System.arraycopy(int_array, 0, lastBuffer, size & r, pageSize-(size &r));
|
System.arraycopy(int_array, 0, lastBuffer, size & r, offset);
|
public void append(int[] int_array) { if (int_array == null) { throw new NullPointerException(); } // no additional buffer space needed int lastBufferIndex; int[] lastBuffer; if (bufferArrayList.size() == 0) { lastBuffer = new int[pageSize]; bufferArrayList.add(lastBuffer); lastBufferIndex = 0; capacity = pageSize; } else { lastBufferIndex = Math.min((size>>exp),//+(((size&r)==0)? 0:1), bufferArrayList.size() - 1); lastBuffer = (int[]) bufferArrayList.get(lastBufferIndex); } if ((this.size + int_array.length) < this.capacity) { //get the last buffer from the bufferListArray //obtain the starting offset in that buffer to which the data is to be copied //update length //System.arraycopy(input, 0, lastBuffer, size % pageSize, input.length); if (this.size + int_array.length< ((lastBufferIndex+1)<<exp)){ System.arraycopy(int_array, 0, lastBuffer, size & r, int_array.length); } else { // copy the first part System.arraycopy(int_array, 0, lastBuffer, size & r, pageSize-(size &r)); // copy the middle part int l = int_array.length - (pageSize - (size&r)); int k = (l)>> exp; int z; for (z=1;z<=k;z++){ System.arraycopy(int_array,0,(int[]) bufferArrayList.get(lastBufferIndex+z), 0, pageSize); } // copy the last part System.arraycopy(int_array,0,(int[]) bufferArrayList.get(lastBufferIndex+z), 0, l & r); } size += int_array.length; return; } else // new buffers needed { // compute the number of additional buffers needed// int n =// ((int) ((int_array.length + size) / pageSize))// + (((int_array.length + size) % pageSize) > 0 ? 1 : 0)// - (int) (capacity / pageSize); int n = ((int_array.length + size) >> exp) + (((int_array.length + size) &r) > 0 ? 1 : 0) - (capacity >> exp); // create these buffers // add to bufferArrayList //System.arraycopy(int_array, 0, lastBuffer, size % pageSize, capacity - size); System.arraycopy(int_array, 0, lastBuffer, size& r, capacity - size); for (int i = 0; i < n; i++) { int[] newBuffer = new int[pageSize]; if (i < n - 1) { // full copy System.arraycopy( int_array, pageSize * i + capacity - size, newBuffer, 0, pageSize); } else { // last page System.arraycopy( int_array, pageSize * i + capacity - size, newBuffer, 0, int_array.length + this.size - capacity - pageSize*i); } bufferArrayList.add(newBuffer); } // update length size += int_array.length; // update capacity capacity += n * pageSize; // update }}
|
3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/deab42a10dced06eb99bcd2e9ebab2f450663827/FastIntBuffer.java/clean/com/ximpleware/FastIntBuffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
714,
12,
474,
8526,
509,
67,
1126,
13,
288,
565,
309,
261,
474,
67,
1126,
422,
446,
13,
288,
3639,
604,
394,
10108,
5621,
565,
289,
565,
368,
1158,
3312,
1613,
3476,
3577,
565,
509,
1142,
1892,
1016,
31,
565,
509,
8526,
1142,
1892,
31,
3639,
309,
261,
4106,
19558,
18,
1467,
1435,
422,
374,
13,
288,
3639,
1142,
1892,
273,
394,
509,
63,
26165,
15533,
3639,
1613,
19558,
18,
1289,
12,
2722,
1892,
1769,
3639,
1142,
1892,
1016,
273,
374,
31,
3639,
7519,
273,
13387,
31,
565,
289,
469,
288,
3639,
1142,
1892,
1016,
273,
2361,
18,
1154,
12443,
1467,
9778,
2749,
3631,
759,
15,
12443,
12,
1467,
10,
86,
13,
631,
20,
9945,
374,
30,
21,
3631,
1171,
1613,
19558,
18,
1467,
1435,
300,
404,
1769,
3639,
1142,
1892,
273,
261,
474,
63,
5717,
1613,
19558,
18,
588,
12,
2722,
1892,
1016,
1769,
565,
289,
565,
309,
14015,
2211,
18,
1467,
397,
509,
67,
1126,
18,
2469,
13,
411,
333,
18,
16017,
13,
288,
3639,
368,
588,
326,
1142,
1613,
628,
326,
1613,
682,
1076,
3639,
368,
947,
5977,
326,
5023,
1384,
316,
716,
1613,
358,
1492,
326,
501,
353,
358,
506,
9268,
3639,
368,
2725,
769,
13491,
368,
3163,
18,
1126,
3530,
12,
2630,
16,
374,
16,
1142,
1892,
16,
963,
738,
13387,
16,
810,
18,
2469,
1769,
3639,
309,
261,
2211,
18,
1467,
397,
509,
67,
1126,
18,
2469,
32,
14015,
2722,
1892,
1016,
15,
21,
13,
17685,
2749,
3719,
95,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
714,
12,
474,
8526,
509,
67,
1126,
13,
288,
565,
309,
261,
474,
67,
1126,
422,
446,
13,
288,
3639,
604,
394,
10108,
5621,
565,
289,
565,
368,
1158,
3312,
1613,
3476,
3577,
565,
509,
1142,
1892,
1016,
31,
565,
509,
8526,
1142,
1892,
31,
3639,
309,
261,
4106,
19558,
18,
1467,
1435,
422,
374,
13,
288,
3639,
1142,
1892,
273,
394,
509,
63,
26165,
15533,
3639,
1613,
19558,
18,
1289,
12,
2722,
1892,
1769,
3639,
1142,
1892,
1016,
273,
374,
31,
3639,
7519,
273,
13387,
31,
565,
289,
469,
288,
3639,
1142,
1892,
1016,
273,
2361,
18,
1154,
12443,
1467,
9778,
2749,
3631,
759,
15,
12443,
12,
1467,
10,
86,
13,
631,
20,
9945,
374,
30,
2
] |
public void addInputDir(File dir) { String dirs = get("mapred.input.dir"); set("mapred.input.dir", dirs == null ? dir.toString() : dirs + "," + dir); }
|
public void addInputDir(File dir) { addInputPath(new Path(dir.toString())); }
|
public void addInputDir(File dir) { String dirs = get("mapred.input.dir"); set("mapred.input.dir", dirs == null ? dir.toString() : dirs + "," + dir); }
|
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/ee01fef4b4fb82c7492a4a747793839a4d14cd39/JobConf.java/clean/src/java/org/apache/hadoop/mapred/JobConf.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
1210,
1621,
12,
812,
1577,
13,
288,
565,
514,
7717,
273,
336,
2932,
1458,
1118,
18,
2630,
18,
1214,
8863,
565,
444,
2932,
1458,
1118,
18,
2630,
18,
1214,
3113,
7717,
422,
446,
692,
1577,
18,
10492,
1435,
294,
7717,
397,
5753,
397,
1577,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
1210,
1621,
12,
812,
1577,
13,
288,
565,
514,
7717,
273,
336,
2932,
1458,
1118,
18,
2630,
18,
1214,
8863,
565,
444,
2932,
1458,
1118,
18,
2630,
18,
1214,
3113,
7717,
422,
446,
692,
1577,
18,
10492,
1435,
294,
7717,
397,
5753,
397,
1577,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public NodeList getNoNameSeismogram(String name) { /*String[] names = getNoNameSeismogramNames(); //System.out.println("the Length of the no Name seismograms when actually getting the seeismogram "+names.length); boolean found = false; for(int counter = 0; counter < names.length; counter++) { if(names[counter].equals(name)) { found = true; break;} } if(found) { //System.out.println("found the equivalent name"); */ Node n = getNoNameSeismogramNode(name); if( n == null) return null; else { if(n instanceof Element) { Element subElement = (Element)n; NodeList nodeList = evalNodeList(subElement, "../data"); return nodeList; } else return null; } /* } else { return null; }*/ }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/4f23740a9be2f86b9534905b393d4924911cc4c0/XMLDataSet.java/buggy/src/edu/sc/seis/fissuresUtil/xml/XMLDataSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16781,
336,
2279,
461,
1761,
6228,
5553,
12,
780,
508,
13,
288,
202,
20308,
780,
8526,
1257,
273,
336,
2279,
461,
1761,
6228,
5553,
1557,
5621,
202,
759,
3163,
18,
659,
18,
8222,
2932,
5787,
11311,
434,
326,
1158,
1770,
695,
6228,
5553,
87,
1347,
6013,
8742,
326,
2621,
6228,
5553,
13773,
1973,
18,
2469,
1769,
202,
202,
6494,
1392,
273,
629,
31,
202,
1884,
12,
474,
3895,
273,
374,
31,
3895,
411,
1257,
18,
2469,
31,
3895,
27245,
288,
202,
565,
309,
12,
1973,
63,
7476,
8009,
14963,
12,
529,
3719,
288,
1392,
273,
638,
31,
898,
31,
97,
202,
97,
202,
430,
12,
7015,
13,
288,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
7015,
326,
7680,
508,
8863,
202,
565,
1195,
202,
565,
2029,
290,
273,
336,
2279,
461,
1761,
6228,
5553,
907,
12,
529,
1769,
202,
565,
309,
12,
290,
422,
446,
13,
327,
446,
31,
202,
565,
469,
288,
202,
202,
430,
12,
82,
1276,
3010,
13,
288,
1082,
565,
3010,
720,
1046,
273,
261,
1046,
13,
82,
31,
1082,
565,
16781,
10198,
273,
282,
5302,
19914,
12,
1717,
1046,
16,
315,
6216,
892,
8863,
1082,
565,
327,
10198,
31,
202,
202,
97,
469,
327,
446,
31,
202,
565,
289,
202,
565,
1748,
202,
97,
469,
288,
202,
565,
327,
446,
31,
202,
565,
289,
5549,
202,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16781,
336,
2279,
461,
1761,
6228,
5553,
12,
780,
508,
13,
288,
202,
20308,
780,
8526,
1257,
273,
336,
2279,
461,
1761,
6228,
5553,
1557,
5621,
202,
759,
3163,
18,
659,
18,
8222,
2932,
5787,
11311,
434,
326,
1158,
1770,
695,
6228,
5553,
87,
1347,
6013,
8742,
326,
2621,
6228,
5553,
13773,
1973,
18,
2469,
1769,
202,
202,
6494,
1392,
273,
629,
31,
202,
1884,
12,
474,
3895,
273,
374,
31,
3895,
411,
1257,
18,
2469,
31,
3895,
27245,
288,
202,
565,
309,
12,
1973,
63,
7476,
8009,
14963,
12,
529,
3719,
288,
1392,
273,
638,
31,
898,
31,
97,
202,
97,
202,
430,
12,
7015,
13,
288,
202,
565,
368,
3163,
18,
659,
18,
8222,
2932,
2
] |
||
jj_la1[84] = jj_gen;
|
jj_la1[83] = jj_gen;
|
final public void BooleanLiteral() throws ParseException { /*@bgen(jjtree) BooleanLiteral */ ASTBooleanLiteral jjtn000 = new ASTBooleanLiteral(this, JJTBOOLEANLITERAL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case TRUE: jj_consume_token(TRUE); break; case FALSE: jj_consume_token(FALSE); break; default: jj_la1[84] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
|
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/e4e1467181b67cfd9bbbd764d319d740024b0993/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
3411,
6177,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
3411,
6177,
1195,
225,
9183,
5507,
6177,
10684,
5088,
3784,
273,
394,
9183,
5507,
6177,
12,
2211,
16,
804,
46,
56,
17900,
23225,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
5383,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
18724,
1769,
3639,
898,
31,
1377,
648,
4934,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
21053,
1769,
3639,
898,
31,
1377,
805,
30,
3639,
10684,
67,
11821,
21,
63,
10261,
65,
273,
10684,
67,
4507,
31,
3639,
10684,
67,
21224,
67,
2316,
19236,
21,
1769,
3639,
604,
394,
10616,
5621,
1377,
289,
565,
289,
3095,
288,
565,
309,
261,
78,
78,
5111,
3784,
13,
288,
1377,
10684,
3413,
18,
4412,
907,
3876,
12,
78,
78,
5088,
3784,
16,
638,
1769,
565,
289,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
9183,
5507,
6177,
12,
2211,
16,
804,
46,
56,
17900,
23225,
1769,
225,
1250,
10684,
5111,
3784,
273,
638,
31,
225,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
3784,
1769,
565,
775,
288,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
5383,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
18724,
1769,
3639,
898,
31,
1377,
648,
4934,
30,
3639,
10684,
67,
21224,
67,
2316,
12,
2
] |
if(actionForm.getMfiJoiningDate()!=null) mfiJoiningDate = getDateFromString(actionForm.getMfiJoiningDate(), getUserContext(request) .getPereferedLocale()); CenterBO centerBO = ((CenterBusinessService)getService()).findBySystemId(center.getGlobalCustNum());
|
if (actionForm.getMfiJoiningDate() != null) mfiJoiningDate = getDateFromString(actionForm.getMfiJoiningDate(), getUserContext(request).getPereferedLocale()); CenterBO centerBO = ((CenterBusinessService) getService()) .findBySystemId(center.getGlobalCustNum());
|
public ActionForward update(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { CenterBO center = (CenterBO) SessionUtils.getAttribute( Constants.BUSINESS_KEY, request); CenterCustActionForm actionForm = (CenterCustActionForm) form; Date mfiJoiningDate = null; if(actionForm.getMfiJoiningDate()!=null) mfiJoiningDate = getDateFromString(actionForm.getMfiJoiningDate(), getUserContext(request) .getPereferedLocale()); CenterBO centerBO = ((CenterBusinessService)getService()).findBySystemId(center.getGlobalCustNum()); centerBO.setVersionNo(center.getVersionNo()); centerBO.setUserContext(getUserContext(request)); setInitialObjectForAuditLogging(centerBO); centerBO.update(getUserContext(request), actionForm.getLoanOfficerIdValue(), actionForm.getExternalId(), mfiJoiningDate, actionForm.getAddress(), actionForm.getCustomFields(), actionForm.getCustomerPositions()); return mapping.findForward(ActionForwards.update_success.toString()); }
|
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/d942e5c715c1dd9904b26491bbaeaf08f2cc972f/CenterCustAction.java/buggy/mifos/src/org/mifos/application/customer/center/struts/action/CenterCustAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
1089,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
1082,
202,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
1185,
288,
202,
202,
8449,
5315,
4617,
273,
261,
8449,
5315,
13,
3877,
1989,
18,
588,
1499,
12,
9506,
202,
2918,
18,
3000,
55,
3740,
1260,
67,
3297,
16,
590,
1769,
202,
202,
8449,
39,
641,
1803,
1204,
1301,
1204,
273,
261,
8449,
39,
641,
1803,
1204,
13,
646,
31,
202,
202,
1626,
14749,
77,
4572,
310,
1626,
273,
446,
31,
202,
202,
430,
12,
1128,
1204,
18,
588,
49,
22056,
4572,
310,
1626,
1435,
5,
33,
2011,
13,
1082,
202,
16126,
77,
4572,
310,
1626,
273,
10713,
9193,
12,
1128,
1204,
18,
588,
49,
22056,
4572,
310,
1626,
9334,
4735,
1042,
12,
2293,
13,
9506,
202,
18,
588,
52,
822,
586,
329,
3916,
10663,
202,
202,
8449,
5315,
4617,
5315,
273,
14015,
8449,
13423,
1179,
13,
588,
1179,
1435,
2934,
4720,
858,
3163,
548,
12,
5693,
18,
588,
5160,
39,
641,
2578,
10663,
202,
202,
5693,
5315,
18,
542,
1444,
2279,
12,
5693,
18,
588,
1444,
2279,
10663,
202,
202,
5693,
5315,
18,
542,
1299,
1042,
12,
588,
1299,
1042,
12,
2293,
10019,
202,
202,
542,
4435,
921,
1290,
10832,
7735,
12,
5693,
5315,
1769,
202,
202,
5693,
5315,
18,
2725,
12,
588,
1299,
1042,
12,
2293,
3631,
1301,
1204,
18,
588,
1504,
304,
7210,
21349,
548,
620,
9334,
1301,
1204,
18,
588,
6841,
548,
9334,
14749,
77,
4572,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
1089,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
1082,
202,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
1185,
288,
202,
202,
8449,
5315,
4617,
273,
261,
8449,
5315,
13,
3877,
1989,
18,
588,
1499,
12,
9506,
202,
2918,
18,
3000,
55,
3740,
1260,
67,
3297,
16,
590,
1769,
202,
202,
8449,
39,
641,
1803,
1204,
1301,
1204,
273,
261,
8449,
39,
641,
1803,
1204,
13,
646,
31,
202,
202,
1626,
14749,
77,
4572,
310,
1626,
273,
446,
31,
202,
202,
430,
12,
1128,
1204,
18,
588,
49,
22056,
4572,
310,
1626,
1435,
5,
33,
2011,
13,
1082,
202,
16126,
77,
4572,
310,
1626,
273,
10713,
9193,
12,
1128,
1204,
2
] |
System.out.println("status: " + status.isOK() + " OK " + IStatus.OK);
|
private IFile createFeatureManifest( IProject project, IFeaturePlugin[] plugins, IFeatureModel featureModel) throws CoreException { IFile file = project.getFile("feature.xml"); WorkspaceFeatureModel model = new WorkspaceFeatureModel(); model.setFile(file); IFeature feature = model.getFeature(); feature.setLabel(specPage.getPatchName()); feature.setId(specPage.getPatchId()); feature.setVersion("1.0.0"); feature.setProviderName(specPage.getPatchProvider()); IFeaturePlugin[] added = new IFeaturePlugin[plugins.length]; for (int i = 0; i<plugins.length; i++){ added[i] = model.getFactory().createPlugin(); String name = plugins[i].getId(); int loc = name.lastIndexOf("."); if (loc!=-1 && loc != name.length()) name = name.substring(loc+1, name.length()); String[] versionSegments = plugins[i].getVersion().split("\\."); StringBuffer version = new StringBuffer(); for (int j = 0; j<versionSegments.length; j++){ if (j<3){ version.append(versionSegments[j]); version.append("."); } } version.append(name); System.out.println("check version " + version.toString()); IStatus status = PluginVersionIdentifier.validateVersion(version.toString()); System.out.println("status: " + status.isOK() + " OK " + IStatus.OK); if (status.isOK()) added[i].setVersion(version.toString()); else added[i].setVersion(plugins[i].getVersion()); added[i].setId(plugins[i].getId()); } feature.addPlugins(added); FeatureImport featureImport = (FeatureImport)model.getFactory().createImport(); featureImport.loadFrom(featureModel.getFeature()); featureImport.setPatch(true); featureImport.setVersion(featureModel.getFeature().getVersion()); featureImport.setId(featureModel.getFeature().getId()); feature.addImports(new IFeatureImport[]{featureImport}); feature.computeImports(); IFeatureInstallHandler handler = feature.getInstallHandler(); if (handler == null){ handler = feature.getModel().getFactory().createInstallHandler(); feature.setInstallHandler(handler); } StructureData structureData = structurePage.getStructureData(); handler.setLibrary(structureData.getRuntimeLibraryName()); // Save the model model.save(); model.dispose(); IDE.setDefaultEditor(file, PDEPlugin.FEATURE_EDITOR_ID); return file; }
|
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/54875ca4c3588f163b2257dfc8e392e18752f630/NewFeaturePatchWizard.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/feature/NewFeaturePatchWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
812,
752,
4595,
9121,
12,
1082,
202,
45,
4109,
1984,
16,
1082,
202,
45,
4595,
3773,
8526,
4799,
16,
1082,
202,
45,
4595,
1488,
2572,
1488,
13,
202,
15069,
30015,
288,
202,
202,
45,
812,
585,
273,
1984,
18,
29925,
2932,
7238,
18,
2902,
8863,
202,
202,
8241,
4595,
1488,
938,
273,
394,
14396,
4595,
1488,
5621,
202,
202,
2284,
18,
542,
812,
12,
768,
1769,
202,
202,
45,
4595,
2572,
273,
938,
18,
588,
4595,
5621,
202,
202,
7238,
18,
542,
2224,
12,
2793,
1964,
18,
588,
7332,
461,
10663,
202,
202,
7238,
18,
542,
548,
12,
2793,
1964,
18,
588,
7332,
548,
10663,
202,
202,
7238,
18,
542,
1444,
2932,
21,
18,
20,
18,
20,
8863,
202,
202,
7238,
18,
542,
31192,
12,
2793,
1964,
18,
588,
7332,
2249,
10663,
202,
202,
45,
4595,
3773,
8526,
3096,
273,
394,
467,
4595,
3773,
63,
8057,
18,
2469,
15533,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
32,
8057,
18,
2469,
31,
277,
27245,
95,
1082,
202,
9665,
63,
77,
65,
273,
938,
18,
588,
1733,
7675,
2640,
3773,
5621,
1082,
202,
780,
508,
273,
4799,
63,
77,
8009,
26321,
5621,
1082,
202,
474,
1515,
273,
508,
18,
2722,
31985,
2932,
1199,
1769,
1082,
202,
430,
261,
1829,
5,
29711,
21,
597,
1515,
480,
508,
18,
2469,
10756,
9506,
202,
529,
273,
508,
18,
28023,
12,
1829,
15,
21,
16,
508,
18,
2469,
10663,
1082,
202,
780,
8526,
1177,
7946,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
812,
752,
4595,
9121,
12,
1082,
202,
45,
4109,
1984,
16,
1082,
202,
45,
4595,
3773,
8526,
4799,
16,
1082,
202,
45,
4595,
1488,
2572,
1488,
13,
202,
15069,
30015,
288,
202,
202,
45,
812,
585,
273,
1984,
18,
29925,
2932,
7238,
18,
2902,
8863,
202,
202,
8241,
4595,
1488,
938,
273,
394,
14396,
4595,
1488,
5621,
202,
202,
2284,
18,
542,
812,
12,
768,
1769,
202,
202,
45,
4595,
2572,
273,
938,
18,
588,
4595,
5621,
202,
202,
7238,
18,
542,
2224,
12,
2793,
1964,
18,
588,
7332,
461,
10663,
202,
202,
7238,
18,
542,
548,
12,
2793,
1964,
18,
588,
7332,
548,
10663,
202,
202,
7238,
18,
542,
1444,
2932,
21,
18,
20,
2
] |
|
"There is no result set available for extracting the data." );
|
BirtResources .getString( ResourceConstants.REPORT_SERVICE_EXCEPTION_EXTRACT_DATA_NO_RESULT_SET ) );
|
public List getResultSetsMetadata( String docName, InputOptions options ) throws ReportServiceException { IReportDocument doc = ReportEngineService.getInstance( ) .openReportDocument( getReportDesignName( options ), docName ); // if doucment file doesn't exist, throw exception if ( doc == null ) { throw new ReportServiceException( "There is no document file available for extracting the data." ); //$NON-NLS-1$ } ResultSet[] resultSetArray; try { resultSetArray = ReportEngineService.getInstance( ).getResultSets( doc ); doc.close( ); } catch ( RemoteException e ) { e.printStackTrace( ); throw new ReportServiceException( e.getLocalizedMessage( ) ); } if ( resultSetArray == null || resultSetArray.length <= 0 ) { throw new ReportServiceException( "There is no result set available for extracting the data." ); //$NON-NLS-1$ } return transformResultSetArray( resultSetArray ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/6f200516dd6e313325dd2c5637ad596549bf99c5/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
8601,
2785,
2277,
12,
514,
997,
461,
16,
2741,
1320,
702,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
45,
4820,
2519,
997,
273,
8706,
4410,
1179,
18,
588,
1442,
12,
262,
9506,
202,
18,
3190,
4820,
2519,
12,
22452,
15478,
461,
12,
702,
262,
16,
997,
461,
11272,
202,
202,
759,
309,
741,
5286,
475,
585,
3302,
1404,
1005,
16,
604,
1520,
202,
202,
430,
261,
997,
422,
446,
262,
202,
202,
95,
1082,
202,
12849,
394,
8706,
15133,
12,
6862,
202,
6,
9828,
353,
1158,
1668,
585,
2319,
364,
27117,
326,
501,
1199,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
13198,
8526,
12168,
1076,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
2088,
694,
1076,
273,
8706,
4410,
1179,
18,
588,
1442,
12,
262,
18,
588,
1253,
2785,
12,
6862,
202,
2434,
11272,
1082,
202,
2434,
18,
4412,
12,
11272,
202,
202,
97,
202,
202,
14683,
261,
18361,
425,
262,
202,
202,
95,
1082,
202,
73,
18,
1188,
6332,
12,
11272,
1082,
202,
12849,
394,
8706,
15133,
12,
425,
18,
588,
2042,
1235,
1079,
12,
262,
11272,
202,
202,
97,
202,
202,
430,
261,
12168,
1076,
422,
446,
747,
12168,
1076,
18,
2469,
1648,
374,
262,
202,
202,
95,
1082,
202,
12849,
394,
8706,
15133,
12,
6862,
202,
38,
2714,
3805,
263,
588,
780,
12,
2591,
2918,
18,
22710,
67,
12426,
67,
12658,
67,
22639,
1268,
67,
4883,
67,
3417,
67,
12289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
8601,
2785,
2277,
12,
514,
997,
461,
16,
2741,
1320,
702,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
45,
4820,
2519,
997,
273,
8706,
4410,
1179,
18,
588,
1442,
12,
262,
9506,
202,
18,
3190,
4820,
2519,
12,
22452,
15478,
461,
12,
702,
262,
16,
997,
461,
11272,
202,
202,
759,
309,
741,
5286,
475,
585,
3302,
1404,
1005,
16,
604,
1520,
202,
202,
430,
261,
997,
422,
446,
262,
202,
202,
95,
1082,
202,
12849,
394,
8706,
15133,
12,
6862,
202,
6,
9828,
353,
1158,
1668,
585,
2319,
364,
27117,
326,
501,
1199,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
13198,
8526,
12168,
1076,
31,
2
] |
public CompilerError( String file, boolean error, int startline, int startcolumn, int endline, int endcolumn, String message )
|
public CompilerError( String file, boolean error, int startline, int startcolumn, int endline, int endcolumn, String message )
|
public CompilerError( String file, boolean error, int startline, int startcolumn, int endline, int endcolumn, String message ) { this.file = file; this.error = error; this.startline = startline; this.startcolumn = startcolumn; this.endline = endline; this.endcolumn = endcolumn; this.message = message; }
|
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/763811d0fa4fda452edf7e18caa3acd3ab71f0cb/CompilerError.java/clean/maven-mboot2/src/main/java/compile/CompilerError.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12972,
668,
12,
514,
585,
16,
12900,
1250,
555,
16,
12900,
509,
787,
1369,
16,
12900,
509,
787,
2827,
16,
12900,
509,
679,
1369,
16,
12900,
509,
679,
2827,
16,
12900,
514,
883,
262,
565,
288,
3639,
333,
18,
768,
273,
585,
31,
3639,
333,
18,
1636,
273,
555,
31,
3639,
333,
18,
1937,
1369,
273,
787,
1369,
31,
3639,
333,
18,
1937,
2827,
273,
787,
2827,
31,
3639,
333,
18,
409,
1369,
273,
679,
1369,
31,
3639,
333,
18,
409,
2827,
273,
679,
2827,
31,
3639,
333,
18,
2150,
273,
883,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12972,
668,
12,
514,
585,
16,
12900,
1250,
555,
16,
12900,
509,
787,
1369,
16,
12900,
509,
787,
2827,
16,
12900,
509,
679,
1369,
16,
12900,
509,
679,
2827,
16,
12900,
514,
883,
262,
565,
288,
3639,
333,
18,
768,
273,
585,
31,
3639,
333,
18,
1636,
273,
555,
31,
3639,
333,
18,
1937,
1369,
273,
787,
1369,
31,
3639,
333,
18,
1937,
2827,
273,
787,
2827,
31,
3639,
333,
18,
409,
1369,
273,
679,
1369,
31,
3639,
333,
18,
409,
2827,
273,
679,
2827,
31,
3639,
333,
18,
2150,
273,
883,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
e2.setAcousticScore( Math.min( e.getAcousticScore(),e2.getAcousticScore() )) ; e2.setLMScore( Math.min( e.getLMScore(),e2.getLMScore() )) ;
|
e2.setAcousticScore(Math.max(e.getAcousticScore(), e2.getAcousticScore())); e2.setLMScore(Math.max(e.getLMScore(), e2.getLMScore()));
|
protected void mergeNodesAndEdgesBackward(Node n, Edge e1, Edge e2) { assert lattice.hasNode(n); assert lattice.hasEdge(e1); assert lattice.hasEdge(e2); assert e1.getToNode() == n; assert e2.getToNode() == n; Node n1 = e1.getFromNode(); Node n2 = e2.getFromNode(); assert n1.hasEquivalentToEdges(n2); assert n1.getWord().equals(n2.getWord()); // add n2's "from" edges to n1 for (Iterator i = n2.getFromEdges().iterator(); i.hasNext();) { Edge e = (Edge) i.next(); e2 = n1.getEdgeFromNode( e.getFromNode() ); if ( e2 == null ) { lattice.addEdge( e.getFromNode(), n1, e.getAcousticScore(), e.getLMScore()); } else { // if we got here then n1 and n2 had edges from the same node // choose the edge with best score e2.setAcousticScore( Math.min( e.getAcousticScore(),e2.getAcousticScore() )) ; e2.setLMScore( Math.min( e.getLMScore(),e2.getLMScore() )) ; } } // remove n2 and all associated edges lattice.removeNodeAndEdges(n2); }
|
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/eecba32ea0d7a149c86d6782c1b28ec372ecd0d0/LatticeOptimizer.java/clean/sphinx4/edu/cmu/sphinx/result/LatticeOptimizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2691,
3205,
1876,
10697,
26283,
12,
907,
290,
16,
11342,
425,
21,
16,
11342,
425,
22,
13,
288,
3639,
1815,
16690,
18,
5332,
907,
12,
82,
1769,
3639,
1815,
16690,
18,
5332,
6098,
12,
73,
21,
1769,
3639,
1815,
16690,
18,
5332,
6098,
12,
73,
22,
1769,
3639,
1815,
425,
21,
18,
588,
31403,
1435,
422,
290,
31,
3639,
1815,
425,
22,
18,
588,
31403,
1435,
422,
290,
31,
3639,
2029,
290,
21,
273,
425,
21,
18,
588,
28570,
5621,
3639,
2029,
290,
22,
273,
425,
22,
18,
588,
28570,
5621,
3639,
1815,
290,
21,
18,
5332,
22606,
774,
10697,
12,
82,
22,
1769,
3639,
1815,
290,
21,
18,
588,
3944,
7675,
14963,
12,
82,
22,
18,
588,
3944,
10663,
3639,
368,
527,
290,
22,
1807,
315,
2080,
6,
5231,
358,
290,
21,
3639,
364,
261,
3198,
277,
273,
290,
22,
18,
588,
1265,
10697,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
11342,
425,
273,
261,
6098,
13,
277,
18,
4285,
5621,
5411,
425,
22,
273,
290,
21,
18,
588,
6098,
28570,
12,
425,
18,
588,
28570,
1435,
11272,
5411,
309,
261,
425,
22,
422,
446,
262,
288,
7734,
16690,
18,
1289,
6098,
12,
13491,
425,
18,
588,
28570,
9334,
290,
21,
16,
13491,
425,
18,
588,
37,
2894,
641,
335,
7295,
9334,
425,
18,
588,
17063,
7295,
10663,
5411,
289,
469,
288,
7734,
368,
309,
732,
2363,
2674,
1508,
290,
21,
471,
290,
22,
9323,
5231,
628,
326,
1967,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2691,
3205,
1876,
10697,
26283,
12,
907,
290,
16,
11342,
425,
21,
16,
11342,
425,
22,
13,
288,
3639,
1815,
16690,
18,
5332,
907,
12,
82,
1769,
3639,
1815,
16690,
18,
5332,
6098,
12,
73,
21,
1769,
3639,
1815,
16690,
18,
5332,
6098,
12,
73,
22,
1769,
3639,
1815,
425,
21,
18,
588,
31403,
1435,
422,
290,
31,
3639,
1815,
425,
22,
18,
588,
31403,
1435,
422,
290,
31,
3639,
2029,
290,
21,
273,
425,
21,
18,
588,
28570,
5621,
3639,
2029,
290,
22,
273,
425,
22,
18,
588,
28570,
5621,
3639,
1815,
290,
21,
18,
5332,
22606,
774,
10697,
12,
82,
22,
1769,
3639,
1815,
290,
21,
18,
588,
3944,
7675,
14963,
12,
82,
22,
2
] |
dataBufferAppend (c);
|
dataBufferAppend(c);
|
private void parseElements (char saved []) throws Exception { char c; char sep; // Parse the first content particle skipWhitespace (); parseCp (); // Check for end or for a separator. skipWhitespace (); c = readCh (); switch (c) { case ')': // VC: Proper Group/PE Nesting if (readBuffer != saved) handler.verror ("Illegal Group/PE nesting"); dataBufferAppend (')'); c = readCh (); switch (c) { case '*': case '+': case '?': dataBufferAppend (c); break; default: unread (c); } return; case ',': // Register the separator. case '|': sep = c; dataBufferAppend (c); break; default: error ("bad separator in content model", c, null); return; } // Parse the rest of the content model. while (true) { skipWhitespace (); parseCp (); skipWhitespace (); c = readCh (); if (c == ')') { // VC: Proper Group/PE Nesting if (readBuffer != saved) handler.verror ("Illegal Group/PE nesting"); dataBufferAppend (')'); break; } else if (c != sep) { error ("bad separator in content model", c, null); return; } else { dataBufferAppend (c); } } // Check for the occurrence indicator. c = readCh (); switch (c) { case '?': case '*': case '+': dataBufferAppend (c); return; default: unread (c); return; } }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
3471,
261,
3001,
5198,
5378,
13,
565,
1216,
1185,
565,
288,
202,
3001,
276,
31,
202,
3001,
5478,
31,
202,
759,
2884,
326,
1122,
913,
20036,
202,
7457,
9431,
261,
1769,
202,
2670,
28954,
261,
1769,
202,
759,
2073,
364,
679,
578,
364,
279,
4182,
18,
202,
7457,
9431,
261,
1769,
202,
71,
273,
855,
782,
261,
1769,
202,
9610,
261,
71,
13,
288,
202,
3593,
5777,
30,
202,
565,
368,
776,
39,
30,
1186,
457,
3756,
19,
1423,
423,
10100,
202,
565,
309,
261,
896,
1892,
480,
5198,
13,
202,
202,
4176,
18,
1107,
280,
7566,
12195,
3756,
19,
1423,
17174,
8863,
202,
565,
501,
1892,
5736,
7707,
2506,
1769,
202,
565,
276,
273,
855,
782,
261,
1769,
202,
565,
1620,
261,
71,
13,
288,
202,
565,
648,
5306,
30,
202,
565,
648,
15126,
4278,
202,
565,
648,
13023,
4278,
202,
202,
892,
1892,
5736,
261,
71,
1769,
202,
202,
8820,
31,
202,
565,
805,
30,
202,
202,
318,
896,
261,
71,
1769,
202,
565,
289,
202,
565,
327,
31,
202,
3593,
3316,
30,
1875,
202,
759,
5433,
326,
4182,
18,
202,
3593,
6699,
4278,
202,
565,
5478,
273,
276,
31,
202,
565,
501,
1892,
5736,
261,
71,
1769,
202,
565,
898,
31,
202,
1886,
30,
202,
565,
555,
7566,
8759,
4182,
316,
913,
938,
3113,
276,
16,
446,
1769,
202,
565,
327,
31,
202,
97,
202,
759,
2884,
326,
3127,
434,
326,
913,
938,
18,
202,
17523,
261,
3767,
13,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
3471,
261,
3001,
5198,
5378,
13,
565,
1216,
1185,
565,
288,
202,
3001,
276,
31,
202,
3001,
5478,
31,
202,
759,
2884,
326,
1122,
913,
20036,
202,
7457,
9431,
261,
1769,
202,
2670,
28954,
261,
1769,
202,
759,
2073,
364,
679,
578,
364,
279,
4182,
18,
202,
7457,
9431,
261,
1769,
202,
71,
273,
855,
782,
261,
1769,
202,
9610,
261,
71,
13,
288,
202,
3593,
5777,
30,
202,
565,
368,
776,
39,
30,
1186,
457,
3756,
19,
1423,
423,
10100,
202,
565,
309,
261,
896,
1892,
480,
5198,
13,
202,
202,
4176,
18,
1107,
280,
7566,
12195,
3756,
19,
1423,
17174,
8863,
202,
565,
501,
1892,
5736,
7707,
2506,
1769,
202,
565,
276,
273,
2
] |
if (currentInfo.updateAll) viewer.refresh(true); else { Object[] updateItems = currentInfo.refreshes.toArray(); for (int i = 0; i < updateItems.length; i++) { viewer.refresh(updateItems[i], true);
|
viewer.remove(currentInfo.deletions.toArray());
|
public IStatus runInUIThread(IProgressMonitor monitor) { if (viewer.getControl().isDisposed()) return Status.CANCEL_STATUS; if (currentInfo.updateAll) viewer.refresh(true); else { Object[] updateItems = currentInfo.refreshes.toArray(); for (int i = 0; i < updateItems.length; i++) { viewer.refresh(updateItems[i], true); } viewer.add( viewer.getInput(), currentInfo.additions.toArray()); viewer.remove(currentInfo.deletions.toArray()); } currentInfo.reset(); return Status.OK_STATUS; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ce999a6406b5f646c76238bc45b662d83c8de588/ProgressContentProvider.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressContentProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
430,
261,
25256,
18,
588,
3367,
7675,
291,
1669,
7423,
10756,
6862,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
9506,
202,
430,
261,
2972,
966,
18,
2725,
1595,
13,
6862,
202,
25256,
18,
9144,
12,
3767,
1769,
9506,
202,
12107,
288,
6862,
202,
921,
8526,
1089,
3126,
273,
783,
966,
18,
9144,
281,
18,
31447,
5621,
6862,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1089,
3126,
18,
2469,
31,
277,
27245,
288,
25083,
202,
25256,
18,
9144,
12,
2725,
3126,
63,
77,
6487,
638,
1769,
6862,
202,
97,
6862,
202,
25256,
18,
1289,
12,
25083,
202,
25256,
18,
588,
1210,
9334,
25083,
202,
2972,
966,
18,
1289,
5029,
18,
31447,
10663,
6862,
202,
25256,
18,
4479,
12,
2972,
966,
18,
19003,
1115,
18,
31447,
10663,
9506,
202,
97,
9506,
202,
2972,
966,
18,
6208,
5621,
9506,
202,
2463,
2685,
18,
3141,
67,
8608,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
430,
261,
25256,
18,
588,
3367,
7675,
291,
1669,
7423,
10756,
6862,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
9506,
202,
430,
261,
2972,
966,
18,
2725,
1595,
13,
6862,
202,
25256,
18,
9144,
12,
3767,
1769,
9506,
202,
12107,
288,
6862,
202,
921,
8526,
1089,
3126,
273,
783,
966,
18,
9144,
281,
18,
31447,
5621,
6862,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1089,
3126,
18,
2469,
31,
277,
27245,
288,
25083,
202,
25256,
18,
9144,
12,
2725,
3126,
63,
77,
6487,
638,
1769,
6862,
202,
97,
6862,
202,
25256,
18,
1289,
12,
25083,
2
] |
userProfileOS.beginTransaction();
|
userProfileOSW.beginTransaction();
|
private void cleanUserProfile() throws ObjectStoreException { if (userProfileOS.isInTransaction()) { userProfileOS.abortTransaction(); } Query q = new Query(); QueryClass qc = new QueryClass(Tag.class); q.addFrom(qc); q.addToSelect(qc); ObjectStore os = userProfileOS.getObjectStore(); SingletonResults res = new SingletonResults(q, userProfileOS.getObjectStore(), userProfileOS.getObjectStore() .getSequence()); Iterator resIter = res.iterator(); userProfileOS.beginTransaction(); while (resIter.hasNext()) { InterMineObject o = (InterMineObject) resIter.next(); userProfileOS.delete(o); } userProfileOS.commitTransaction(); userProfileOS.close(); }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/c921735eb860e7dc7f1659127443512c29c414d8/ProfileManagerTest.java/clean/testmodel/webapp/test/src/org/intermine/web/ProfileManagerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2721,
1299,
4029,
1435,
1216,
1033,
21151,
288,
3639,
309,
261,
1355,
4029,
4618,
18,
291,
382,
3342,
10756,
288,
5411,
729,
4029,
4618,
18,
18623,
3342,
5621,
3639,
289,
3639,
2770,
1043,
273,
394,
2770,
5621,
3639,
2770,
797,
29032,
273,
394,
2770,
797,
12,
1805,
18,
1106,
1769,
3639,
1043,
18,
1289,
1265,
12,
30675,
1769,
3639,
1043,
18,
1289,
774,
3391,
12,
30675,
1769,
3639,
1033,
2257,
1140,
273,
729,
4029,
4618,
18,
588,
921,
2257,
5621,
3639,
27802,
3447,
400,
273,
394,
27802,
3447,
12,
85,
16,
729,
4029,
4618,
18,
588,
921,
2257,
9334,
4766,
10792,
729,
4029,
4618,
18,
588,
921,
2257,
1435,
4766,
10792,
263,
588,
4021,
10663,
3639,
4498,
400,
2360,
273,
400,
18,
9838,
5621,
3639,
729,
4029,
4618,
59,
18,
10086,
3342,
5621,
3639,
1323,
261,
455,
2360,
18,
5332,
2134,
10756,
288,
5411,
5294,
49,
558,
921,
320,
273,
261,
2465,
49,
558,
921,
13,
400,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2721,
1299,
4029,
1435,
1216,
1033,
21151,
288,
3639,
309,
261,
1355,
4029,
4618,
18,
291,
382,
3342,
10756,
288,
5411,
729,
4029,
4618,
18,
18623,
3342,
5621,
3639,
289,
3639,
2770,
1043,
273,
394,
2770,
5621,
3639,
2770,
797,
29032,
273,
394,
2770,
797,
12,
1805,
18,
1106,
1769,
3639,
1043,
18,
1289,
1265,
12,
30675,
1769,
3639,
1043,
18,
1289,
774,
3391,
12,
30675,
1769,
3639,
1033,
2257,
1140,
273,
729,
4029,
4618,
18,
588,
921,
2257,
5621,
3639,
27802,
3447,
400,
273,
394,
27802,
3447,
12,
85,
16,
729,
4029,
4618,
18,
588,
921,
2257,
9334,
4766,
10792,
729,
4029,
4618,
18,
588,
921,
2257,
1435,
4766,
10792,
263,
588,
4021,
10663,
3639,
2
] |
public org.quickfix.field.DlvyInstType getDlvyInstType() throws FieldNotFound { org.quickfix.field.DlvyInstType value = new org.quickfix.field.DlvyInstType();
|
public quickfix.field.DlvyInstType getDlvyInstType() throws FieldNotFound { quickfix.field.DlvyInstType value = new quickfix.field.DlvyInstType();
|
public org.quickfix.field.DlvyInstType getDlvyInstType() throws FieldNotFound { org.quickfix.field.DlvyInstType value = new org.quickfix.field.DlvyInstType(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralReport.java/buggy/src/java/src/quickfix/fix44/CollateralReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
2343,
3070,
93,
10773,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
40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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
2343,
3070,
93,
10773,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
URL compiledURL; URL addendaURL; URL letterToSoundURL; LetterToSound letterToSound; Class cls = CMULexicon.class; CMULexicon lexicon; if (useBinaryIO) { letterToSoundURL = cls.getResource("cmu6_lts.bin"); compiledURL = cls.getResource("cmulex_compiled.bin"); addendaURL = cls.getResource("cmulex_addenda.bin"); } else { letterToSoundURL = cls.getResource("cmu6_lts.txt"); compiledURL = cls.getResource("cmulex_compiled.txt"); addendaURL = cls.getResource("cmulex_addenda.txt"); } lexicon = new CMULexicon(compiledURL, addendaURL, letterToSoundURL, useBinaryIO); lexicon.load(); return lexicon;
|
return getInstance("cmulex", useBinaryIO);
|
static public CMULexicon getInstance( boolean useBinaryIO) throws IOException { URL compiledURL; URL addendaURL; URL letterToSoundURL; LetterToSound letterToSound; Class cls = CMULexicon.class; CMULexicon lexicon; if (useBinaryIO) { letterToSoundURL = cls.getResource("cmu6_lts.bin"); compiledURL = cls.getResource("cmulex_compiled.bin"); addendaURL = cls.getResource("cmulex_addenda.bin"); } else { letterToSoundURL = cls.getResource("cmu6_lts.txt"); compiledURL = cls.getResource("cmulex_compiled.txt"); addendaURL = cls.getResource("cmulex_addenda.txt"); } lexicon = new CMULexicon(compiledURL, addendaURL, letterToSoundURL, useBinaryIO); lexicon.load(); return lexicon; }
|
5078 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5078/08fcb9ec491450eef90e3b276fcc76818407bd52/CMULexicon.java/clean/com/sun/speech/freetts/en/us/CMULexicon.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
15871,
1506,
338,
3950,
3694,
12,
1250,
999,
5905,
4294,
13,
9944,
202,
15069,
1860,
288,
202,
1785,
7743,
1785,
31,
202,
1785,
527,
18883,
1785,
31,
202,
1785,
9471,
774,
24331,
1785,
31,
202,
13938,
774,
24331,
9471,
774,
24331,
31,
202,
797,
2028,
273,
15871,
1506,
338,
3950,
18,
1106,
31,
202,
9611,
1506,
338,
3950,
31681,
31,
202,
202,
430,
261,
1202,
5905,
4294,
13,
288,
202,
565,
9471,
774,
24331,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
89,
26,
67,
80,
3428,
18,
4757,
8863,
202,
565,
7743,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
725,
92,
67,
19397,
18,
4757,
8863,
202,
565,
527,
18883,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
725,
92,
67,
1289,
18883,
18,
4757,
8863,
202,
97,
202,
12107,
288,
202,
565,
9471,
774,
24331,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
89,
26,
67,
80,
3428,
18,
5830,
8863,
202,
565,
7743,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
725,
92,
67,
19397,
18,
5830,
8863,
202,
565,
527,
18883,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
725,
92,
67,
1289,
18883,
18,
5830,
8863,
202,
97,
202,
4149,
3950,
273,
394,
15871,
1506,
338,
3950,
12,
19397,
1785,
16,
527,
18883,
1785,
16,
202,
202,
13449,
774,
24331,
1785,
16,
999,
5905,
4294,
1769,
202,
4149,
3950,
18,
945,
5621,
3639,
327,
31681,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
15871,
1506,
338,
3950,
3694,
12,
1250,
999,
5905,
4294,
13,
9944,
202,
15069,
1860,
288,
202,
1785,
7743,
1785,
31,
202,
1785,
527,
18883,
1785,
31,
202,
1785,
9471,
774,
24331,
1785,
31,
202,
13938,
774,
24331,
9471,
774,
24331,
31,
202,
797,
2028,
273,
15871,
1506,
338,
3950,
18,
1106,
31,
202,
9611,
1506,
338,
3950,
31681,
31,
202,
202,
430,
261,
1202,
5905,
4294,
13,
288,
202,
565,
9471,
774,
24331,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
89,
26,
67,
80,
3428,
18,
4757,
8863,
202,
565,
7743,
1785,
273,
2028,
18,
588,
1420,
2932,
7670,
725,
92,
67,
19397,
18,
4757,
8863,
202,
565,
527,
18883,
1785,
273,
2028,
18,
2
] |
public String toString(Instances t) {
|
public String toString(Instances t, int maxColWidth) {
|
public String toString(Instances t) { int i; int cindex = t.classIndex(); StringBuffer text = new StringBuffer(); for (i=0;i<attributes.length;i++) { if (i != cindex) { int l = t.attribute(i).name().length(); if (missing[i]) { text.append("? "); for (int j=0;j<(l-1);j++) { text.append(" "); } } else { String ss = t.attribute(i).value((int)attributes[i]); StringBuffer sb = new StringBuffer(ss); if (l < ss.length()) { sb.setLength(l); } else { for (int j=0;j < (l-ss.length()); j++) { sb.append(" "); } } text.append(sb.toString()+" "); } } } return text.toString(); }
|
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/9c5923c75a7be99aac3382308b7cbbeeb7859afd/DecisionTable.java/clean/branches/stable-3-0-patches/weka/classifiers/DecisionTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
12,
5361,
268,
16,
509,
943,
914,
2384,
13,
288,
1377,
509,
277,
31,
1377,
509,
276,
1615,
273,
268,
18,
1106,
1016,
5621,
1377,
6674,
977,
273,
394,
6674,
5621,
5411,
364,
261,
77,
33,
20,
31,
77,
32,
4350,
18,
2469,
31,
77,
27245,
288,
202,
430,
261,
77,
480,
276,
1615,
13,
288,
202,
225,
509,
328,
273,
268,
18,
4589,
12,
77,
2934,
529,
7675,
2469,
5621,
202,
225,
309,
261,
7337,
63,
77,
5717,
288,
202,
565,
977,
18,
6923,
2932,
35,
225,
315,
1769,
202,
565,
364,
261,
474,
525,
33,
20,
31,
78,
32,
12,
80,
17,
21,
1769,
78,
27245,
288,
202,
1377,
977,
18,
6923,
2932,
315,
1769,
202,
565,
289,
202,
225,
289,
469,
288,
202,
565,
514,
5202,
273,
268,
18,
4589,
12,
77,
2934,
1132,
12443,
474,
13,
4350,
63,
77,
19226,
202,
565,
6674,
2393,
273,
394,
6674,
12,
1049,
1769,
202,
565,
309,
261,
80,
411,
5202,
18,
2469,
10756,
288,
202,
1377,
2393,
18,
542,
1782,
12,
80,
1769,
202,
565,
289,
469,
288,
202,
1377,
364,
261,
474,
525,
33,
20,
31,
78,
411,
261,
80,
17,
1049,
18,
2469,
10663,
525,
27245,
288,
202,
202,
18366,
18,
6923,
2932,
315,
1769,
202,
1377,
289,
202,
565,
289,
202,
565,
977,
18,
6923,
12,
18366,
18,
10492,
1435,
9078,
225,
315,
1769,
202,
225,
289,
202,
97,
1377,
289,
1377,
327,
977,
18,
10492,
5621,
565,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
5361,
268,
16,
509,
943,
914,
2384,
13,
288,
1377,
509,
277,
31,
1377,
509,
276,
1615,
273,
268,
18,
1106,
1016,
5621,
1377,
6674,
977,
273,
394,
6674,
5621,
5411,
364,
261,
77,
33,
20,
31,
77,
32,
4350,
18,
2469,
31,
77,
27245,
288,
202,
430,
261,
77,
480,
276,
1615,
13,
288,
202,
225,
509,
328,
273,
268,
18,
4589,
12,
77,
2934,
529,
7675,
2469,
5621,
202,
225,
309,
261,
7337,
63,
77,
5717,
288,
202,
565,
977,
18,
6923,
2932,
35,
225,
315,
1769,
202,
565,
364,
261,
474,
525,
33,
20,
31,
78,
32,
12,
80,
17,
21,
1769,
78,
27245,
288,
202,
1377,
977,
18,
6923,
2932,
2
] |
public StringListImpl(String[] array, int length) { fArray = array; fLength = length;
|
public StringListImpl(Vector v) { fVector = v; fLength = (v == null) ? 0 : v.size();
|
public StringListImpl(String[] array, int length) { fArray = array; fLength = length; }
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/02680df93afb2b3e6e33e3582967a93229df7768/StringListImpl.java/buggy/src/org/apache/xerces/impl/xs/util/StringListImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
682,
2828,
12,
780,
8526,
526,
16,
509,
769,
13,
288,
3639,
284,
1076,
273,
526,
31,
3639,
284,
1782,
273,
769,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
682,
2828,
12,
780,
8526,
526,
16,
509,
769,
13,
288,
3639,
284,
1076,
273,
526,
31,
3639,
284,
1782,
273,
769,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Object[] errArgs = { methodName }; throw Context.reportRuntimeError( Context.getMessage("msg.bad.parms", errArgs));
|
throw Context.reportRuntimeError1("msg.bad.parms", methodName);
|
public FunctionObject(String name, Member methodOrConstructor, Scriptable scope) { String methodName; if (methodOrConstructor instanceof Constructor) { ctor = (Constructor) methodOrConstructor; isStatic = true; // well, doesn't take a 'this' types = ctor.getParameterTypes(); methodName = ctor.getName(); } else { method = (Method) methodOrConstructor; isStatic = Modifier.isStatic(method.getModifiers()); types = method.getParameterTypes(); methodName = method.getName(); } String myNames[] = { name }; super.names = myNames; int length; if (types.length == 4 && (types[1].isArray() || types[2].isArray())) { // Either variable args or an error. if (types[1].isArray()) { if (!isStatic || types[0] != Context.class || types[1].getComponentType() != ScriptRuntime.ObjectClass || types[2] != ScriptRuntime.FunctionClass || types[3] != Boolean.TYPE) { String[] args = { methodName }; String message = Context.getMessage("msg.varargs.ctor", args); throw Context.reportRuntimeError(message); } parmsLength = VARARGS_CTOR; } else { if (!isStatic || types[0] != Context.class || types[1] != ScriptRuntime.ScriptableClass || types[2].getComponentType() != ScriptRuntime.ObjectClass || types[3] != ScriptRuntime.FunctionClass) { String[] args = { methodName }; String message = Context.getMessage("msg.varargs.fun", args); throw Context.reportRuntimeError(message); } parmsLength = VARARGS_METHOD; } // XXX check return type length = 1; } else { parmsLength = (short) types.length; for (int i=0; i < parmsLength; i++) { Class type = types[i]; if (type != ScriptRuntime.ObjectClass && type != ScriptRuntime.StringClass && type != ScriptRuntime.BooleanClass && !ScriptRuntime.NumberClass.isAssignableFrom(type) && !Scriptable.class.isAssignableFrom(type) && type != Boolean.TYPE && type != Byte.TYPE && type != Short.TYPE && type != Integer.TYPE && type != Float.TYPE && type != Double.TYPE) { // Note that long is not supported; see comments above Object[] errArgs = { methodName }; throw Context.reportRuntimeError( Context.getMessage("msg.bad.parms", errArgs)); } } length = parmsLength; } // Initialize length property lengthPropertyValue = (short) length; hasVoidReturn = method != null && method.getReturnType() == Void.TYPE; this.argCount = (short) length; setParentScope(scope); setPrototype(getFunctionPrototype(scope)); Context cx = Context.getCurrentContext(); useDynamicScope = cx != null && cx.hasCompileFunctionsWithDynamicScope(); }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/e737c6d867e82d4ba7fd00e7e388c9c8da824ff0/FunctionObject.java/clean/js/rhino/src/org/mozilla/javascript/FunctionObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4284,
921,
12,
780,
508,
16,
8596,
707,
1162,
6293,
16,
12900,
22780,
2146,
13,
565,
288,
3639,
514,
4918,
31,
3639,
309,
261,
2039,
1162,
6293,
1276,
11417,
13,
288,
5411,
15120,
273,
261,
6293,
13,
707,
1162,
6293,
31,
5411,
16116,
273,
638,
31,
368,
5492,
16,
3302,
1404,
4862,
279,
296,
2211,
11,
5411,
1953,
273,
15120,
18,
588,
1662,
2016,
5621,
5411,
4918,
273,
15120,
18,
17994,
5621,
3639,
289,
469,
288,
5411,
707,
273,
261,
1305,
13,
707,
1162,
6293,
31,
5411,
16116,
273,
12832,
18,
291,
5788,
12,
2039,
18,
588,
11948,
10663,
5411,
1953,
273,
707,
18,
588,
1662,
2016,
5621,
5411,
4918,
273,
707,
18,
17994,
5621,
3639,
289,
3639,
514,
3399,
1557,
8526,
273,
288,
508,
289,
31,
3639,
2240,
18,
1973,
273,
3399,
1557,
31,
3639,
509,
769,
31,
3639,
309,
261,
2352,
18,
2469,
422,
1059,
597,
261,
2352,
63,
21,
8009,
291,
1076,
1435,
747,
1953,
63,
22,
8009,
291,
1076,
1435,
3719,
288,
5411,
368,
14635,
2190,
833,
578,
392,
555,
18,
5411,
309,
261,
2352,
63,
21,
8009,
291,
1076,
10756,
288,
7734,
309,
16051,
291,
5788,
747,
10792,
1953,
63,
20,
65,
480,
1772,
18,
1106,
747,
10792,
1953,
63,
21,
8009,
588,
28116,
1435,
480,
7739,
5576,
18,
921,
797,
747,
10792,
1953,
63,
22,
65,
480,
7739,
5576,
18,
2083,
797,
747,
10792,
1953,
63,
23,
65,
480,
3411,
18,
2399,
13,
7734,
288,
10792,
514,
8526,
833,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4284,
921,
12,
780,
508,
16,
8596,
707,
1162,
6293,
16,
12900,
22780,
2146,
13,
565,
288,
3639,
514,
4918,
31,
3639,
309,
261,
2039,
1162,
6293,
1276,
11417,
13,
288,
5411,
15120,
273,
261,
6293,
13,
707,
1162,
6293,
31,
5411,
16116,
273,
638,
31,
368,
5492,
16,
3302,
1404,
4862,
279,
296,
2211,
11,
5411,
1953,
273,
15120,
18,
588,
1662,
2016,
5621,
5411,
4918,
273,
15120,
18,
17994,
5621,
3639,
289,
469,
288,
5411,
707,
273,
261,
1305,
13,
707,
1162,
6293,
31,
5411,
16116,
273,
12832,
18,
291,
5788,
12,
2039,
18,
588,
11948,
10663,
5411,
1953,
273,
707,
18,
588,
1662,
2016,
5621,
5411,
4918,
273,
707,
18,
17994,
5621,
3639,
289,
2
] |
try{ WorkbenchWizardElement importWizardElement = null; String importWizardId = settings.get(STORE_SELECTED_IMPORT_WIZARD_ID); setWizardElements(IMPORT_SELECTION); if (wizardElements != null && importWizardId != null){ importWizardElement = findWizard(importWizardId); if (importWizardElement != null){ StructuredSelection selection = new StructuredSelection(importWizardElement); importList.getViewer().setSelection(selection); } } WorkbenchWizardElement exportWizardElement = null; String exportWizardId = settings.get(STORE_SELECTED_EXPORT_WIZARD_ID); setWizardElements(EXPORT_SELECTION); if (wizardElements != null && exportWizardId != null){ exportWizardElement = findWizard(exportWizardId); if (exportWizardElement != null){ StructuredSelection selection = new StructuredSelection(exportWizardElement); exportList.getViewer().setSelection(selection); } } if (initialPageId == null){ int selectedTab = settings.getInt(IMPORT_EXPORT_SELECTION); if ((tabFolder.getItemCount() > selectedTab) && (selectedTab > 0)) {
|
IWizardCategory exportRoot = WorkbenchPlugin.getDefault().getExportWizardRegistry().getRootCategory(); expandPreviouslyExpandedCategories(STORE_EXPANDED_EXPORT_CATEGORIES, exportRoot, exportList.getViewer()); selectPreviouslySelected(STORE_SELECTED_EXPORT_WIZARD_ID, exportRoot, exportList.getViewer()); try{ if (initialPageId == null){ int selectedTab = getDialogSettings().getInt(IMPORT_EXPORT_SELECTION); if ((tabFolder.getItemCount() > selectedTab)) {
|
protected void restoreWidgetValues() { IDialogSettings settings = getDialogSettings(); if (settings == null) return; try{ // restore last selections for each tab WorkbenchWizardElement importWizardElement = null; String importWizardId = settings.get(STORE_SELECTED_IMPORT_WIZARD_ID); setWizardElements(IMPORT_SELECTION); if (wizardElements != null && importWizardId != null){ importWizardElement = findWizard(importWizardId); if (importWizardElement != null){ StructuredSelection selection = new StructuredSelection(importWizardElement); importList.getViewer().setSelection(selection); } } WorkbenchWizardElement exportWizardElement = null; String exportWizardId = settings.get(STORE_SELECTED_EXPORT_WIZARD_ID); setWizardElements(EXPORT_SELECTION); if (wizardElements != null && exportWizardId != null){ exportWizardElement = findWizard(exportWizardId); if (exportWizardElement != null){ StructuredSelection selection = new StructuredSelection(exportWizardElement); exportList.getViewer().setSelection(selection); } } // restore last selected tab or set to desired page (if provided) if (initialPageId == null){ // initial page not specified, use settings int selectedTab = settings.getInt(IMPORT_EXPORT_SELECTION); if ((tabFolder.getItemCount() > selectedTab) && (selectedTab > 0)) { tabFolder.setSelection(selectedTab); } else{ // default behavior - show first tab updateMessage(0); } } else{ // initial page specified - set it and set the selected node for it, if one exists if (initialPageId == ImportExportWizard.IMPORT){ tabFolder.setSelection(IMPORT_SELECTION); updateMessage(tabFolder.getSelectionIndex()); } else if (initialPageId == ImportExportWizard.EXPORT){ tabFolder.setSelection(EXPORT_SELECTION); updateMessage(tabFolder.getSelectionIndex()); } } } catch (NumberFormatException e){ } }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/800de3504fcb22115ebaf91c2c020af238d5f497/ImportExportPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ImportExportPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
5217,
4609,
1972,
1435,
288,
3639,
1599,
3529,
2628,
1947,
273,
31774,
2628,
5621,
3639,
309,
261,
4272,
422,
446,
13,
5411,
327,
31,
7734,
775,
95,
540,
202,
759,
5217,
1142,
21738,
364,
1517,
3246,
540,
202,
2421,
22144,
27130,
1046,
1930,
27130,
1046,
273,
446,
31,
202,
3639,
514,
1930,
27130,
548,
273,
1947,
18,
588,
12,
13651,
67,
4803,
2056,
67,
20445,
67,
59,
6867,
8085,
67,
734,
1769,
202,
3639,
444,
27130,
3471,
12,
20445,
67,
1090,
15445,
1769,
202,
3639,
309,
261,
31837,
3471,
480,
446,
597,
1930,
27130,
548,
480,
446,
15329,
1082,
3639,
1930,
27130,
1046,
273,
1104,
27130,
12,
5666,
27130,
548,
1769,
1082,
3639,
309,
261,
5666,
27130,
1046,
480,
446,
15329,
9506,
3639,
7362,
2862,
6233,
4421,
273,
394,
7362,
2862,
6233,
12,
5666,
27130,
1046,
1769,
9506,
3639,
1930,
682,
18,
588,
18415,
7675,
542,
6233,
12,
10705,
1769,
1082,
3639,
289,
202,
3639,
289,
202,
540,
202,
3639,
4147,
22144,
27130,
1046,
3359,
27130,
1046,
273,
446,
31,
202,
3639,
514,
3359,
27130,
548,
273,
1947,
18,
588,
12,
13651,
67,
4803,
2056,
67,
31275,
67,
59,
6867,
8085,
67,
734,
1769,
202,
3639,
444,
27130,
3471,
12,
31275,
67,
1090,
15445,
1769,
202,
3639,
309,
261,
31837,
3471,
480,
446,
597,
3359,
27130,
548,
480,
446,
15329,
202,
540,
202,
6530,
27130,
1046,
273,
1104,
27130,
12,
6530,
27130,
548,
1769,
1082,
3639,
309,
261,
6530,
27130,
1046,
480,
446,
15329,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
5217,
4609,
1972,
1435,
288,
3639,
1599,
3529,
2628,
1947,
273,
31774,
2628,
5621,
3639,
309,
261,
4272,
422,
446,
13,
5411,
327,
31,
7734,
775,
95,
540,
202,
759,
5217,
1142,
21738,
364,
1517,
3246,
540,
202,
2421,
22144,
27130,
1046,
1930,
27130,
1046,
273,
446,
31,
202,
3639,
514,
1930,
27130,
548,
273,
1947,
18,
588,
12,
13651,
67,
4803,
2056,
67,
20445,
67,
59,
6867,
8085,
67,
734,
1769,
202,
3639,
444,
27130,
3471,
12,
20445,
67,
1090,
15445,
1769,
202,
3639,
309,
261,
31837,
3471,
480,
446,
597,
1930,
27130,
548,
480,
446,
15329,
1082,
3639,
1930,
27130,
1046,
273,
1104,
27130,
12,
5666,
27130,
548,
1769,
1082,
3639,
309,
261,
5666,
2
] |
System.out.println(current + " has Dependencies: "); for (Enumeration deps = current.dependencies.elements(); deps .hasMoreElements();) { String depUuid = (String) deps.nextElement(); System.out.println("\t" + depUuid); BundleDescriptor dep = getBundleDescriptor(depUuid); System.out.println("\t old level: " + dep.getLevel() + ", new level: " + childLevel); dep.setLevel(childLevel); if (dep.dependencies.isEmpty()) dep.processed = true; list.add(index + offset, dep);
|
if (current.processed) break;
|
public String getDependencyGraph(String uuid) { // FIXME: still a bit buggy for large graphs ... LinkedList list = new LinkedList(); list.add(getBundleDescriptor(uuid)); do { int index; for (index = 0; index < list.size() - 1 && ((BundleDescriptor) list.get(index)).processed; index++) ; BundleDescriptor current = (BundleDescriptor) list.get(index); // all are processed, exit loop if (current.processed) break; int offset = 1; int childLevel = current.getLevel() + 1; System.out.println(current + " has Dependencies: "); for (Enumeration deps = current.dependencies.elements(); deps .hasMoreElements();) { String depUuid = (String) deps.nextElement(); System.out.println("\t" + depUuid); BundleDescriptor dep = getBundleDescriptor(depUuid); System.out.println("\t old level: " + dep.getLevel() + ", new level: " + childLevel); dep.setLevel(childLevel); if (dep.dependencies.isEmpty()) dep.processed = true; list.add(index + offset, dep); offset++; } System.out.println(); current.processed = true; } while (true); for (Iterator iter = list.iterator(); iter.hasNext();) { BundleDescriptor current = (BundleDescriptor) iter.next(); System.out.println(current + " hat Level " + current.getLevel()); } // and now make a XML document from the list Stack stack = new Stack(); StringBuffer buffer = new StringBuffer(); buffer.append("<dependency-graph>\n"); String sep = new String(); int level = -1; while (!list.isEmpty()) { BundleDescriptor current = (BundleDescriptor) list.removeFirst(); for (int dif = level; dif >= current.getLevel(); dif--) { buffer.append(Utilities.tabs(dif) + "</bundle>\n"); } buffer.append(Utilities.tabs(current.getLevel()) + "<bundle uuid=\"" + current.toString() + "\">\n"); level = current.getLevel(); } for (int dif = 0; dif <= level; dif++) { buffer.append(Utilities.tabs(level - dif) + "</bundle>\n"); } buffer.append("</dependency-graph>\n"); return buffer.toString(); }
|
9764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9764/9ce6a3fa49a36306f9c77f97a973399c3944174d/BundleLoaderImpl.java/clean/jadabs/bundles/bundleLoader/src/ch/ethz/jadabs/bundleLoader/BundleLoaderImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
514,
336,
7787,
4137,
12,
780,
3822,
13,
288,
1377,
368,
9852,
30,
4859,
279,
2831,
324,
5696,
93,
364,
7876,
19422,
1372,
1377,
10688,
666,
273,
394,
10688,
5621,
1377,
666,
18,
1289,
12,
588,
3405,
3187,
12,
7080,
10019,
1377,
741,
288,
540,
509,
770,
31,
540,
364,
261,
1615,
273,
374,
31,
770,
411,
666,
18,
1467,
1435,
300,
404,
9079,
597,
14015,
3405,
3187,
13,
666,
18,
588,
12,
1615,
13,
2934,
11005,
31,
770,
27245,
5411,
274,
540,
8539,
3187,
783,
273,
261,
3405,
3187,
13,
666,
18,
588,
12,
1615,
1769,
540,
368,
777,
854,
5204,
16,
2427,
2798,
540,
309,
261,
2972,
18,
11005,
13,
5411,
898,
31,
540,
509,
1384,
273,
404,
31,
540,
509,
1151,
2355,
273,
783,
18,
588,
2355,
1435,
397,
404,
31,
540,
2332,
18,
659,
18,
8222,
12,
2972,
397,
315,
711,
10532,
3209,
30,
315,
1769,
540,
364,
261,
21847,
8740,
273,
783,
18,
11037,
18,
6274,
5621,
8740,
9079,
263,
5332,
7417,
3471,
5621,
13,
288,
5411,
514,
5993,
5897,
273,
261,
780,
13,
8740,
18,
4285,
1046,
5621,
5411,
2332,
18,
659,
18,
8222,
31458,
88,
6,
397,
5993,
5897,
1769,
5411,
8539,
3187,
5993,
273,
10946,
3187,
12,
15037,
5897,
1769,
5411,
2332,
18,
659,
18,
8222,
31458,
88,
1592,
1801,
30,
315,
397,
5993,
18,
588,
2355,
1435,
5375,
397,
3104,
394,
1801,
30,
315,
397,
1151,
2355,
1769,
5411,
5993,
18,
542,
2355,
12,
3624,
2355,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
514,
336,
7787,
4137,
12,
780,
3822,
13,
288,
1377,
368,
9852,
30,
4859,
279,
2831,
324,
5696,
93,
364,
7876,
19422,
1372,
1377,
10688,
666,
273,
394,
10688,
5621,
1377,
666,
18,
1289,
12,
588,
3405,
3187,
12,
7080,
10019,
1377,
741,
288,
540,
509,
770,
31,
540,
364,
261,
1615,
273,
374,
31,
770,
411,
666,
18,
1467,
1435,
300,
404,
9079,
597,
14015,
3405,
3187,
13,
666,
18,
588,
12,
1615,
13,
2934,
11005,
31,
770,
27245,
5411,
274,
540,
8539,
3187,
783,
273,
261,
3405,
3187,
13,
666,
18,
588,
12,
1615,
1769,
540,
368,
777,
854,
5204,
16,
2427,
2798,
540,
309,
261,
2972,
18,
11005,
13,
5411,
898,
31,
540,
509,
2
] |
floatClass.defineMethod("to_s", getMethodToS());
|
floatClass.defineMethod("to_i", getMethod("m_to_i")); floatClass.defineMethod("to_s", getMethod("m_to_s"));
|
public static RubyClass createFloat(Ruby ruby) { RubyClass floatClass = ruby.defineClass("Float", (RubyClass)ruby.getRubyClass("Numeric")); // floatClass.defineMethod("to_i", getMethodToI()); floatClass.defineMethod("to_s", getMethodToS()); floatClass.defineMethod("+", getMethodPlus()); floatClass.defineMethod("-", getMethodMinus()); floatClass.defineMethod("*", getMethodMul()); floatClass.defineMethod("/", getMethodDiv()); floatClass.defineMethod("%", getMethodMod()); floatClass.defineMethod("**", getMethodPow()); // floatClass.defineMethod("==", getMethodEqual()); floatClass.defineMethod("<=>", getMethodCmp()); floatClass.defineMethod(">", getMethodGt()); floatClass.defineMethod(">=", getMethodGe()); floatClass.defineMethod("<", getMethodLt()); floatClass.defineMethod("<=", getMethodLe()); return floatClass; }
|
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/a9420f23379e292698ea011ab08fb480b4decbcc/RbFloat.java/buggy/org/jruby/core/RbFloat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
4723,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
1431,
797,
273,
22155,
18,
11255,
797,
2932,
4723,
3113,
261,
54,
10340,
797,
13,
27768,
18,
588,
54,
10340,
797,
2932,
9902,
7923,
1769,
7734,
368,
1431,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
774,
45,
10663,
4202,
1431,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
2932,
81,
67,
869,
67,
77,
7923,
1769,
1431,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
6272,
2932,
81,
67,
869,
67,
87,
7923,
1769,
7734,
1431,
797,
18,
11255,
1305,
2932,
15,
3113,
6272,
13207,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
17,
3113,
6272,
18434,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
14,
3113,
6272,
27860,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
19,
3113,
6272,
7244,
10663,
3639,
1431,
797,
18,
11255,
1305,
27188,
3113,
6272,
1739,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
636,
3113,
6272,
28289,
10663,
7734,
368,
1431,
797,
18,
11255,
1305,
2932,
631,
3113,
6272,
5812,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
32,
33,
2984,
16,
6272,
31832,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
2984,
16,
6272,
43,
88,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
34,
1546,
16,
6272,
18809,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
32,
3113,
6272,
30247,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
32,
1546,
16,
6272,
1682,
10663,
7734,
327,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
4723,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
1431,
797,
273,
22155,
18,
11255,
797,
2932,
4723,
3113,
261,
54,
10340,
797,
13,
27768,
18,
588,
54,
10340,
797,
2932,
9902,
7923,
1769,
7734,
368,
1431,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
774,
45,
10663,
4202,
1431,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
2932,
81,
67,
869,
67,
77,
7923,
1769,
1431,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
6272,
2932,
81,
67,
869,
67,
87,
7923,
1769,
7734,
1431,
797,
18,
11255,
1305,
2932,
15,
3113,
6272,
13207,
10663,
3639,
1431,
797,
18,
11255,
1305,
2932,
17,
3113,
6272,
18434,
2
] |
TokenIssuer issuer = config.getIssuer("http: assertEquals( "Incorrect issuer for token type : " + "http: TempIssuer.class.getName(), issuer.getClass().getName());
|
TokenIssuer issuer = config .getIssuer("http: assertEquals("Incorrect issuer for token type : " + "http: .getName(), issuer.getClass().getName());
|
public void testWithConfigFile() { try { TokenRequestDispatcherConfig config = TokenRequestDispatcherConfig .load("test-resources/trust/dispatcher.config.xml"); assertEquals("Incorrect default issuer class name", "org.apache.axis2.security.trust.TempIssuer", config .getDefaultIssuerName()); TokenIssuer issuer = config.getIssuer("http://example.org/mySpecialToken1"); assertEquals( "Incorrect issuer for token type : " + "http://example.org/mySpecialToken1", TempIssuer.class.getName(), issuer.getClass().getName()); } catch (TrustException e) { fail(e.getMessage()); } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/e5d42df148b4fc2f3021e0331c0f7e8f8cf358fb/TokenRequestDispatcherConfigTest.java/clean/modules/security/test/org/apache/axis2/security/trust/TokenRequestDispatcherConfigTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1190,
13705,
1435,
288,
3639,
775,
288,
5411,
3155,
691,
6681,
809,
642,
273,
3155,
691,
6681,
809,
10792,
263,
945,
2932,
3813,
17,
4683,
19,
21879,
19,
18495,
18,
1425,
18,
2902,
8863,
13491,
1815,
8867,
2932,
16268,
805,
9715,
667,
508,
3113,
10792,
315,
3341,
18,
19211,
18,
4890,
22,
18,
7462,
18,
21879,
18,
7185,
16667,
3113,
642,
18701,
263,
588,
1868,
16667,
461,
10663,
13491,
3155,
16667,
9715,
273,
642,
18,
588,
16667,
2932,
2505,
2207,
8236,
18,
3341,
19,
4811,
12193,
1345,
21,
8863,
13491,
1815,
8867,
12,
10792,
315,
16268,
9715,
364,
1147,
618,
294,
315,
397,
10792,
315,
2505,
2207,
8236,
18,
3341,
19,
4811,
12193,
1345,
21,
3113,
10792,
16380,
16667,
18,
1106,
18,
17994,
9334,
9715,
18,
588,
797,
7675,
17994,
10663,
10792,
289,
1044,
261,
14146,
503,
425,
13,
288,
5411,
2321,
12,
73,
18,
24906,
10663,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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1071,
918,
1842,
1190,
13705,
1435,
288,
3639,
775,
288,
5411,
3155,
691,
6681,
809,
642,
273,
3155,
691,
6681,
809,
10792,
263,
945,
2932,
3813,
17,
4683,
19,
21879,
19,
18495,
18,
1425,
18,
2902,
8863,
13491,
1815,
8867,
2932,
16268,
805,
9715,
667,
508,
3113,
10792,
315,
3341,
18,
19211,
18,
4890,
22,
18,
7462,
18,
21879,
18,
7185,
16667,
3113,
642,
18701,
263,
588,
1868,
16667,
461,
10663,
13491,
3155,
16667,
9715,
273,
642,
18,
588,
16667,
2932,
2505,
2207,
8236,
18,
3341,
19,
4811,
12193,
1345,
21,
8863,
13491,
1815,
8867,
12,
10792,
315,
16268,
9715,
364,
1147,
618,
294,
315,
397,
10792,
315,
2505,
2207,
8236,
18,
3341,
19,
4811,
12193,
1345,
21,
2
] |
public boolean dispatch(boolean complete)
|
public boolean dispatch(boolean complete)
|
public boolean dispatch(boolean complete) throws IOException, XNIException { // next dispatcher is prolog regardless of whether there // is an XMLDecl in this document setScannerState(SCANNER_STATE_PROLOG); setDispatcher(fPrologDispatcher); // scan XMLDecl try { if (fEntityScanner.skipString("<?xml")) { fMarkupDepth++; // NOTE: special case where document starts with a PI // whose name starts with "xml" (e.g. "xmlfoo") if (XMLChar.isName(fEntityScanner.peekChar())) { fStringBuffer.clear(); fStringBuffer.append("xml"); while (XMLChar.isName(fEntityScanner.peekChar())) { fStringBuffer.append((char)fEntityScanner.scanChar()); } String target = fSymbolTable.addSymbol(fStringBuffer.ch, fStringBuffer.offset, fStringBuffer.length); scanPIData(target, fString); } // standard XML declaration else { scanXMLDeclOrTextDecl(false); } return true; } } // premature end of file catch (EOFException e) { reportFatalError("PrematureEOF", null); throw e; } // if no XMLDecl, then scan piece of prolog return true; } // dispatch(boolean):boolean
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/34a1154a4f4910be47bbe3543c7cc153327fe917/XMLDocumentScannerImpl.java/buggy/src/org/apache/xerces/impl/XMLDocumentScannerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
3435,
12,
6494,
3912,
13,
2398,
1216,
1860,
16,
1139,
50,
45,
503,
288,
5411,
368,
1024,
7393,
353,
450,
1330,
15255,
434,
2856,
1915,
5411,
368,
353,
392,
3167,
3456,
316,
333,
1668,
5411,
444,
11338,
1119,
12,
2312,
11489,
654,
67,
7998,
67,
3373,
4842,
1769,
5411,
444,
6681,
12,
74,
626,
1330,
6681,
1769,
5411,
368,
4135,
3167,
3456,
5411,
775,
288,
7734,
309,
261,
74,
1943,
11338,
18,
7457,
780,
2932,
12880,
2902,
6,
3719,
288,
10792,
284,
13111,
6148,
9904,
31,
10792,
368,
5219,
30,
4582,
648,
1625,
1668,
2542,
598,
279,
7024,
10792,
368,
4202,
8272,
508,
2542,
598,
315,
2902,
6,
261,
73,
18,
75,
18,
315,
2902,
11351,
7923,
10792,
309,
261,
4201,
2156,
18,
291,
461,
12,
74,
1943,
11338,
18,
347,
3839,
2156,
1435,
3719,
288,
13491,
284,
780,
1892,
18,
8507,
5621,
13491,
284,
780,
1892,
18,
6923,
2932,
2902,
8863,
13491,
1323,
261,
4201,
2156,
18,
291,
461,
12,
74,
1943,
11338,
18,
347,
3839,
2156,
1435,
3719,
288,
18701,
284,
780,
1892,
18,
6923,
12443,
3001,
13,
74,
1943,
11338,
18,
9871,
2156,
10663,
13491,
289,
13491,
514,
1018,
273,
284,
5335,
1388,
18,
1289,
5335,
12,
74,
780,
1892,
18,
343,
16,
284,
780,
1892,
18,
3348,
16,
284,
780,
1892,
18,
2469,
1769,
13491,
4135,
16522,
396,
12,
3299,
16,
284,
780,
1769,
10792,
289,
10792,
368,
4529,
3167,
8266,
10792,
469,
288,
13491,
4135,
4201,
3456,
1162,
1528,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
3435,
12,
6494,
3912,
13,
2398,
1216,
1860,
16,
1139,
50,
45,
503,
288,
5411,
368,
1024,
7393,
353,
450,
1330,
15255,
434,
2856,
1915,
5411,
368,
353,
392,
3167,
3456,
316,
333,
1668,
5411,
444,
11338,
1119,
12,
2312,
11489,
654,
67,
7998,
67,
3373,
4842,
1769,
5411,
444,
6681,
12,
74,
626,
1330,
6681,
1769,
5411,
368,
4135,
3167,
3456,
5411,
775,
288,
7734,
309,
261,
74,
1943,
11338,
18,
7457,
780,
2932,
12880,
2902,
6,
3719,
288,
10792,
284,
13111,
6148,
9904,
31,
10792,
368,
5219,
30,
4582,
648,
1625,
1668,
2542,
598,
279,
7024,
10792,
368,
4202,
8272,
508,
2542,
598,
315,
2902,
6,
261,
73,
18,
75,
18,
315,
2902,
11351,
2
] |
if (isInvalid())
|
if (isInvalid()) {
|
public void dispose() { IOperationHistory history = getHistory(); if (history != null) { history.removeOperationHistoryListener(historyListener); } if (isInvalid()) return; site.getPage().removePartListener(partListener); site = null; progressDialog = null; // We do not flush the history for our undo context because it may be // used elsewhere. It is up to clients to clean up the history // appropriately. // We do null out the context to signify that this handler is no longer // accessing the history. undoContext = null; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/OperationHistoryActionHandler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/OperationHistoryActionHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
9506,
202,
45,
2988,
5623,
4927,
273,
336,
5623,
5621,
202,
202,
430,
261,
8189,
480,
446,
13,
288,
1082,
202,
8189,
18,
4479,
2988,
5623,
2223,
12,
8189,
2223,
1769,
202,
202,
97,
9506,
202,
430,
261,
291,
1941,
10756,
1082,
202,
2463,
31,
202,
202,
4256,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
202,
202,
4256,
273,
446,
31,
202,
202,
8298,
6353,
273,
446,
31,
202,
202,
759,
1660,
741,
486,
3663,
326,
4927,
364,
3134,
15436,
819,
2724,
518,
2026,
506,
202,
202,
759,
1399,
25795,
18,
2597,
353,
731,
358,
7712,
358,
2721,
731,
326,
4927,
202,
202,
759,
21419,
18,
202,
202,
759,
1660,
741,
446,
596,
326,
819,
358,
1573,
1164,
716,
333,
1838,
353,
1158,
7144,
202,
202,
759,
19531,
326,
4927,
18,
202,
202,
31226,
1042,
273,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
15825,
1435,
288,
9506,
202,
45,
2988,
5623,
4927,
273,
336,
5623,
5621,
202,
202,
430,
261,
8189,
480,
446,
13,
288,
1082,
202,
8189,
18,
4479,
2988,
5623,
2223,
12,
8189,
2223,
1769,
202,
202,
97,
9506,
202,
430,
261,
291,
1941,
10756,
1082,
202,
2463,
31,
202,
202,
4256,
18,
588,
1964,
7675,
4479,
1988,
2223,
12,
2680,
2223,
1769,
202,
202,
4256,
273,
446,
31,
202,
202,
8298,
6353,
273,
446,
31,
202,
202,
759,
1660,
741,
486,
3663,
326,
4927,
364,
3134,
15436,
819,
2724,
518,
2026,
506,
202,
202,
759,
1399,
25795,
18,
2597,
353,
731,
358,
7712,
358,
2721,
731,
326,
4927,
202,
202,
759,
21419,
18,
202,
202,
2
] |
private void doEntityFall(Entity entity, Coords fallPos, int height, int facing, PilotingRollData roll) { // we don't need to deal damage yet, if the entity is doing DFA if (entity.isMakingDfa()) { phaseReport.append("But, since the 'mech is making a death from above attack, damage will be dealt during the physical phase.\n"); entity.setProne(true); return; } // facing after fall String side; int table; switch(facing) { case 1: case 2: side = "right side"; table = ToHitData.SIDE_RIGHT; break; case 3: side = "rear"; table = ToHitData.SIDE_REAR; break; case 4: case 5: side = "left side"; table = ToHitData.SIDE_LEFT; break; case 0: default: side = "front"; table = ToHitData.SIDE_FRONT; } int waterDepth = game.board.getHex(fallPos).levelOf(Terrain.WATER); int damageHeight = height; // HACK: if the dest hex is water, assume that the fall height given is // to the floor of the hex, and modifiy it so that it's to the surface if (waterDepth > 0) { damageHeight = Math.max(height - waterDepth, 0); } // calculate damage int damage = (int)Math.round(entity.getWeight() / 10.0) * (damageHeight + 1);//DEBUG: never do falling damage// damage=1; // half damage for water falls if (waterDepth > 0) { damage = (int)Math.ceil(damage / 2.0); } // report falling phaseReport.append(" " ).append( entity.getDisplayName() ).append( " falls on its " ).append( side ).append( ", suffering " ).append( damage ).append( " damage."); // Any swarming infantry will be dislodged, but we don't want to // interrupt the fall's report. We have to get the ID now because // the fall may kill the entity which will reset the attacker ID. final int swarmerId = entity.getSwarmAttackerId(); //positioning must be prior to damage for proper handling of breaches // Only Mechs can fall prone. if ( entity instanceof Mech ) { entity.setProne(true); } entity.setPosition(fallPos); entity.setFacing((entity.getFacing() + (facing - 1)) % 6); entity.setSecondaryFacing(entity.getFacing()); if (game.board.getHex(fallPos).levelOf(Terrain.WATER) > 0) { for (int loop=0; loop< entity.locations();loop++){ entity.setLocationStatus(loop, Entity.LOC_WET); } } // standard damage loop while (damage > 0) { int cluster = Math.min(5, damage); HitData hit = entity.rollHitLocation(ToHitData.HIT_NORMAL, table); phaseReport.append(damageEntity(entity, hit, cluster)); damage -= cluster; } // pilot damage? roll.removeAutos(); if (height > 0) { roll.addModifier(height, "height of fall"); } if (roll.getValue() == PilotingRollData.IMPOSSIBLE) { phaseReport.append("\nPilot of " ).append( entity.getDisplayName() ).append( " \"" ).append( entity.crew.getName() ).append( "\" cannot avoid damage.\n"); phaseReport.append(damageCrew(entity, 1) ).append( "\n"); } else { int diceRoll = Compute.d6(2); phaseReport.append("\nPilot of " ).append( entity.getDisplayName() ).append( " \"" ).append( entity.crew.getName() ).append( "\" must roll " ).append( roll.getValueAsString() ).append( " to avoid damage; rolls " ).append( diceRoll ).append( " : "); if (diceRoll >= roll.getValue()) { phaseReport.append("succeeds.\n"); } else { phaseReport.append("fails.\n"); phaseReport.append(damageCrew(entity, 1) ).append( "\n"); } } // Now dislodge any swarming infantry. if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); entity.setSwarmAttackerId( Entity.NONE ); swarmer.setSwarmTargetId( Entity.NONE ); // Did the infantry fall into water? Hex fallHex = game.board.getHex( fallPos ); if ( fallHex.levelOf(Terrain.WATER) > 0 ) { // Swarming infantry die. swarmer.setPosition( fallPos ); phaseReport.append(" ") .append(swarmer.getDisplayName()) .append(" is dislodged and drowns!") .append(destroyEntity(swarmer, "a watery grave", false)); } else { // Swarming infantry take an 11 point hit. // ASSUMPTION : damage should not be doubled. phaseReport.append(" ") .append(swarmer.getDisplayName()) .append(" is dislodged and suffers 11 damage.") .append( damageEntity(swarmer, swarmer.rollHitLocation(ToHitData.HIT_NORMAL, ToHitData.SIDE_FRONT), 11) ) .append( "\n" ); } swarmer.setPosition( fallPos ); entityUpdate( swarmerId ); } // End dislodge-infantry // clear all PSRs after a fall -- the 'Mech has already failed ONE and fallen, it'd be cruel to make it fail some more!//DEBUG game.resetPSRs(entity,this); game.resetPSRs(entity); }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/9f675a34d9ae5d98de5951b146d4215fbc71a132/Server.java/clean/megamek/src/megamek/server/Server.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
741,
1943,
42,
454,
12,
1943,
1522,
16,
10320,
87,
4159,
1616,
16,
509,
2072,
16,
509,
284,
5330,
16,
453,
330,
17128,
24194,
751,
5824,
13,
288,
759,
732,
2727,
1404,
1608,
358,
10490,
302,
301,
410,
4671,
16,
309,
326,
1522,
353,
9957,
463,
2046,
430,
261,
1096,
18,
291,
49,
6159,
40,
507,
10756,
288,
13961,
4820,
18,
6923,
2932,
31167,
16,
3241,
326,
296,
3501,
343,
353,
10480,
279,
443,
421,
628,
5721,
13843,
16,
302,
301,
410,
903,
506,
443,
2390,
4982,
326,
11640,
6855,
8403,
82,
8863,
1096,
18,
542,
2050,
476,
12,
3767,
1769,
2463,
31,
97,
759,
284,
5330,
1839,
4159,
780,
4889,
31,
474,
1014,
31,
9610,
12,
507,
2822,
13,
288,
3593,
404,
30,
3593,
576,
30,
5564,
273,
315,
4083,
4889,
14432,
2121,
273,
2974,
13616,
751,
18,
26498,
67,
11847,
31,
8820,
31,
3593,
890,
30,
5564,
273,
315,
266,
297,
14432,
2121,
273,
2974,
13616,
751,
18,
26498,
67,
862,
985,
31,
8820,
31,
3593,
1059,
30,
3593,
1381,
30,
5564,
273,
315,
4482,
4889,
14432,
2121,
273,
2974,
13616,
751,
18,
26498,
67,
10066,
31,
8820,
31,
3593,
374,
30,
1886,
30,
5564,
273,
315,
10211,
14432,
2121,
273,
2974,
13616,
751,
18,
26498,
67,
9981,
10079,
31,
97,
474,
16313,
6148,
273,
7920,
18,
3752,
18,
588,
7037,
12,
25602,
1616,
2934,
2815,
951,
12,
56,
264,
7596,
18,
59,
13641,
1769,
474,
302,
301,
410,
2686,
273,
2072,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
741,
1943,
42,
454,
12,
1943,
1522,
16,
10320,
87,
4159,
1616,
16,
509,
2072,
16,
509,
284,
5330,
16,
453,
330,
17128,
24194,
751,
5824,
13,
288,
759,
732,
2727,
1404,
1608,
358,
10490,
302,
301,
410,
4671,
16,
309,
326,
1522,
353,
9957,
463,
2046,
430,
261,
1096,
18,
291,
49,
6159,
40,
507,
10756,
288,
13961,
4820,
18,
6923,
2932,
31167,
16,
3241,
326,
296,
3501,
343,
353,
10480,
279,
443,
421,
628,
5721,
13843,
16,
302,
301,
410,
903,
506,
443,
2390,
4982,
326,
11640,
6855,
8403,
82,
8863,
1096,
18,
542,
2050,
476,
12,
3767,
1769,
2463,
31,
97,
759,
284,
5330,
1839,
4159,
780,
4889,
31,
474,
1014,
31,
9610,
12,
2
] |
||
this (new SynchronousChannel(), DEFAULT_MAXIMUMPOOLSIZE); }
|
this(new SynchronousChannel(), DEFAULT_MAXIMUMPOOLSIZE); }
|
public PooledExecutor() { this (new SynchronousChannel(), DEFAULT_MAXIMUMPOOLSIZE); }
|
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/PooledExecutor.java/clean/src/java/org/logicalcobwebs/concurrent/PooledExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
453,
22167,
6325,
1435,
288,
565,
333,
261,
2704,
348,
7121,
2909,
9334,
3331,
67,
6694,
18605,
20339,
4574,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
453,
22167,
6325,
1435,
288,
565,
333,
261,
2704,
348,
7121,
2909,
9334,
3331,
67,
6694,
18605,
20339,
4574,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(hasV1Data) data.setGenre(frameContent.substring(endIndex+1));
|
if(genreCode >= 0 && genreCode <= 127) data.setGenre(getGenreString((short)genreCode));
|
private static ID3Data parseID3v2Data(File file) { ID3Data data = new ID3Data(); ID3v2 id3v2Parser = null; try { id3v2Parser = new ID3v2(file); } catch (ID3v2Exception idvx) { //can't go on return data; } catch (IOException iox) { return data; } Vector frames = null; try { frames = id3v2Parser.getFrames(); } catch (NoID3v2TagException ntx) { return data; } //rather than getting each frame indvidually, we can get all the frames //and iterate, leaving the ones we are not concerned with for(Iterator iter=frames.iterator() ; iter.hasNext() ; ) { ID3v2Frame frame = (ID3v2Frame)iter.next(); String frameID = frame.getID(); String frameContent = new String(frame.getContent()); if(frameContent == null || frameContent.trim().equals("")) continue; //check which tag we are looking at if(ID3Editor.TITLE_ID.equals(frameID)) data.setTitle(frameContent); else if(ID3Editor.ARTIST_ID.equals(frameID)) data.setArtist(frameContent); else if(ID3Editor.ALBUM_ID.equals(frameID)) data.setAlbum(frameContent); else if(ID3Editor.YEAR_ID.equals(frameID)) data.setYear(frameContent); else if(ID3Editor.COMMENT_ID.equals(frameID)) { //ID3v2 comments field has null separators embedded to encode //language etc, the real content begins after the last null byte[] bytes = frame.getContent(); int startIndex = 0; for(int i=bytes.length-1; i>= 0; i--) { if(bytes[i] != (byte)0) continue; //OK we are the the last 0 startIndex = i; break; } frameContent = new String(bytes, startIndex, bytes.length-startIndex); data.setComment(frameContent); } else if(ID3Editor.TRACK_ID.equals(frameID)) { try { data.setTrack(Short.parseShort(frameContent)); } catch (NumberFormatException ignored) {} } else if(ID3Editor.GENRE_ID.equals(frameID)) { //ID3v2 frame for genre has the byte used in ID3v1 encoded //within it -- we need to parse that out int startIndex = frameContent.indexOf("("); int endIndex = frameContent.indexOf(")"); boolean hasV1Data = startIndex>-1 && endIndex > -1; //Note: It's possible that the user entered her own genre in //which case there could be spurious braces, the id3v2 braces //enclose values between 0 - 127 if(hasV1Data) { //we have braces check if it's valid String genreByte = frameContent.substring(startIndex+1, endIndex); try { int i = Integer.parseInt(genreByte); if(i<0 || i> 127) hasV1Data = false; } catch (NumberFormatException nfx) { hasV1Data = false; } } if(hasV1Data) data.setGenre(frameContent.substring(endIndex+1)); else data.setGenre(frameContent); } } return data; }
|
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/7c8a53b2b755077cbc7c9166c5098d2d79cb977c/ID3Reader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/mp3/ID3Reader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1599,
23,
751,
1109,
734,
23,
90,
22,
751,
12,
812,
585,
13,
288,
3639,
1599,
23,
751,
501,
273,
394,
1599,
23,
751,
5621,
7734,
1599,
23,
90,
22,
612,
23,
90,
22,
2678,
273,
446,
31,
3639,
775,
288,
5411,
612,
23,
90,
22,
2678,
273,
394,
1599,
23,
90,
22,
12,
768,
1769,
3639,
289,
1044,
261,
734,
23,
90,
22,
503,
612,
26982,
13,
288,
368,
4169,
1404,
1960,
603,
5411,
327,
501,
31,
3639,
289,
1044,
261,
14106,
277,
2409,
13,
288,
5411,
327,
501,
31,
3639,
289,
7734,
5589,
7793,
273,
446,
31,
3639,
775,
288,
5411,
7793,
273,
612,
23,
90,
22,
2678,
18,
588,
15162,
5621,
3639,
289,
1044,
261,
2279,
734,
23,
90,
22,
1805,
503,
290,
978,
13,
288,
5411,
327,
501,
31,
3639,
289,
7734,
368,
86,
4806,
2353,
8742,
1517,
2623,
1547,
1246,
3452,
16,
732,
848,
336,
777,
326,
7793,
3639,
368,
464,
7401,
16,
15086,
326,
5945,
732,
854,
486,
356,
2750,
11748,
598,
3639,
364,
12,
3198,
1400,
33,
10278,
18,
9838,
1435,
274,
1400,
18,
5332,
2134,
1435,
274,
262,
288,
5411,
1599,
23,
90,
22,
3219,
2623,
273,
261,
734,
23,
90,
22,
3219,
13,
2165,
18,
4285,
5621,
5411,
514,
2623,
734,
273,
2623,
18,
588,
734,
5621,
5411,
514,
2623,
1350,
273,
394,
514,
12,
3789,
18,
588,
1350,
10663,
5411,
309,
12,
3789,
1350,
422,
446,
747,
2623,
1350,
18,
5290,
7675,
14963,
2932,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1599,
23,
751,
1109,
734,
23,
90,
22,
751,
12,
812,
585,
13,
288,
3639,
1599,
23,
751,
501,
273,
394,
1599,
23,
751,
5621,
7734,
1599,
23,
90,
22,
612,
23,
90,
22,
2678,
273,
446,
31,
3639,
775,
288,
5411,
612,
23,
90,
22,
2678,
273,
394,
1599,
23,
90,
22,
12,
768,
1769,
3639,
289,
1044,
261,
734,
23,
90,
22,
503,
612,
26982,
13,
288,
368,
4169,
1404,
1960,
603,
5411,
327,
501,
31,
3639,
289,
1044,
261,
14106,
277,
2409,
13,
288,
5411,
327,
501,
31,
3639,
289,
7734,
5589,
7793,
273,
446,
31,
3639,
775,
288,
5411,
7793,
273,
612,
23,
90,
22,
2678,
18,
588,
15162,
5621,
3639,
289,
2
] |
public SelectQueryImplementation(Criteria criteria) {
|
public SelectQueryImplementation(Criteria criteria, Map<SelectQuery, SelectQuery> translation) {
|
public SelectQueryImplementation(Criteria criteria) { this.criteria = criteria; }
|
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/707cd73f77ada95f893eb6c893592afdf728b6b5/SelectQueryImplementation.java/buggy/trunk/src/net/sf/plantlore/server/SelectQueryImplementation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6766,
1138,
13621,
12,
7231,
3582,
16,
1635,
32,
3391,
1138,
16,
6766,
1138,
34,
4794,
13,
288,
3639,
333,
18,
9714,
273,
3582,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6766,
1138,
13621,
12,
7231,
3582,
16,
1635,
32,
3391,
1138,
16,
6766,
1138,
34,
4794,
13,
288,
3639,
333,
18,
9714,
273,
3582,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
reaction.addReactant(new Molecule(newContainer));
|
reaction.addReactant(model.getBuilder().newMolecule(newContainer));
|
public void actionPerformed(ActionEvent event) { ChemObject object = getSource(event); logger.debug("CreateReaction action"); JChemPaintModel jcpmodel = jcpPanel.getJChemPaintModel(); org.openscience.cdk.interfaces.ChemModel model = jcpmodel.getChemModel(); org.openscience.cdk.interfaces.SetOfReactions reactionSet = model.getSetOfReactions(); if (reactionSet == null) { reactionSet = new SetOfReactions(); } AtomContainer container = null; if (object instanceof Atom) { container = ChemModelManipulator.getRelevantAtomContainer(model, (Atom) object); } else { logger.error("Cannot add to reaction object of type: " + object.getClass().getName()); } if (container == null) { logger.error("Cannot find container to add object to!"); } else { AtomContainer newContainer = (AtomContainer) container.clone(); // delete atoms in current model org.openscience.cdk.interfaces.Atom[] atoms = container.getAtoms(); for (int i = 0; i < atoms.length; i++) { ChemModelManipulator.removeAtomAndConnectedElectronContainers(model, atoms[i]); } logger.debug("Deleted atom from old container..."); // add reaction org.openscience.cdk.interfaces.Reaction reaction = new Reaction(); reaction.setID("reaction-" + System.currentTimeMillis()); logger.debug("type: ", type); if ("addReactantToNew".equals(type)) { reaction.addReactant(new Molecule(newContainer)); reactionSet.addReaction(reaction); } else if ("addReactantToExisting".equals(type)) { if (reactionSet.getReactionCount() == 0) { logger.warn("Cannot add to reaction if no one exists"); // FIXME: give feedback to user return; } else {// XXX needs fixing /*Object[] ids = getReactionIDs(reactionSet); String s = (String) JOptionPane.showInputDialog( jcpPanel.getFrame(), "Reaction Chooser", "Choose reaction to add reaction to", JOptionPane.PLAIN_MESSAGE, null, ids, ids[0] );*/ String s = ""; if ((s != null) && (s.length() > 0)) { String selectedReactionID = s; reaction = getReaction(reactionSet, selectedReactionID); reaction.addReactant(new Molecule(newContainer)); } else { logger.error("No reaction selected"); } } } else if ("addProductToNew".equals(type)) { reaction.addProduct(new Molecule(newContainer)); reactionSet.addReaction(reaction); } else if ("addProductToExisting".equals(type)) { if (reactionSet.getReactionCount() == 0) { logger.warn("Cannot add to reaction if no one exists"); // FIXME: give feedback to user return; } else { //XXX needs fixing /* Object[] ids = getReactionIDs(reactionSet); String s = (String) JOptionPane.showInputDialog( jcpPanel.getFrame(), "Reaction Chooser", "Choose reaction to add reaction to", JOptionPane.PLAIN_MESSAGE, null, ids, ids[0] );*/ String s = ""; if ((s != null) && (s.length() > 0)) { String selectedReactionID = s; reaction = getReaction(reactionSet, selectedReactionID); reaction.addProduct(new Molecule(newContainer)); } else { logger.error("No reaction selected"); } } } else { logger.warn("Don't know about this action type: " + type); return; } } model.setSetOfReactions(reactionSet); }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/b1f7a19d9d23955e84008e9cd57944ccfe2a4dd3/CreateReactionAction.java/buggy/src/org/openscience/cdk/applications/jchempaint/action/CreateReactionAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26100,
12,
1803,
1133,
871,
13,
202,
95,
202,
202,
20200,
921,
733,
273,
7889,
12,
2575,
1769,
202,
202,
4901,
18,
4148,
2932,
1684,
21581,
1301,
8863,
202,
202,
46,
20200,
12699,
1488,
525,
4057,
2284,
273,
525,
4057,
5537,
18,
588,
46,
20200,
12699,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
20200,
1488,
938,
273,
525,
4057,
2284,
18,
588,
20200,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
694,
951,
426,
4905,
12836,
694,
273,
938,
18,
588,
694,
951,
426,
4905,
5621,
202,
202,
430,
261,
266,
1128,
694,
422,
446,
13,
202,
202,
95,
1082,
202,
266,
1128,
694,
273,
394,
1000,
951,
426,
4905,
5621,
202,
202,
97,
202,
202,
3641,
2170,
1478,
273,
446,
31,
202,
202,
430,
261,
1612,
1276,
7149,
13,
202,
202,
95,
1082,
202,
3782,
273,
26542,
1488,
27587,
18,
588,
17018,
7445,
3641,
2170,
12,
2284,
16,
261,
3641,
13,
733,
1769,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
4901,
18,
1636,
2932,
4515,
527,
358,
12836,
733,
434,
618,
30,
315,
397,
733,
18,
588,
797,
7675,
17994,
10663,
202,
202,
97,
202,
202,
430,
261,
3782,
422,
446,
13,
202,
202,
95,
1082,
202,
4901,
18,
1636,
2932,
4515,
1104,
1478,
358,
527,
733,
358,
4442,
1769,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
3641,
2170,
394,
2170,
273,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26100,
12,
1803,
1133,
871,
13,
202,
95,
202,
202,
20200,
921,
733,
273,
7889,
12,
2575,
1769,
202,
202,
4901,
18,
4148,
2932,
1684,
21581,
1301,
8863,
202,
202,
46,
20200,
12699,
1488,
525,
4057,
2284,
273,
525,
4057,
5537,
18,
588,
46,
20200,
12699,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
20200,
1488,
938,
273,
525,
4057,
2284,
18,
588,
20200,
1488,
5621,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
694,
951,
426,
4905,
12836,
694,
273,
938,
18,
588,
694,
951,
426,
4905,
5621,
202,
202,
430,
261,
266,
1128,
694,
422,
446,
13,
202,
202,
95,
1082,
2
] |
assert(id == 0);
|
assert(way == 0);
|
static int getPush(SIROperator oper, int id) { assert(id >= 0); if (oper instanceof SIRFilter) { assert(id == 0); return ((SIRFilter)oper).getPushInt(); } if (oper instanceof SIRJoiner) { assert(id == 0); return ((SIRJoiner)oper).getSumOfWeights(); } if (oper instanceof SIRSplitter) { SIRSplitter s = (SIRSplitter)oper; assert(id < s.getWays()); return s.getWeight(id); } assert(1 == 0); return 0; }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/8307f2aefcfd62db1757fb15c92fa1cae3a6323b/Greedy.java/clean/streams/src/at/dms/kjc/cluster/Greedy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
1689,
1218,
12,
2320,
1457,
457,
639,
2255,
16,
509,
612,
13,
288,
3639,
1815,
12,
350,
1545,
374,
1769,
3639,
309,
261,
4063,
1276,
5705,
54,
1586,
13,
288,
5411,
1815,
12,
1888,
422,
374,
1769,
5411,
327,
14015,
2320,
54,
1586,
13,
4063,
2934,
588,
7621,
1702,
5621,
3639,
289,
3639,
309,
261,
4063,
1276,
5705,
54,
4572,
264,
13,
288,
5411,
1815,
12,
1888,
422,
374,
1769,
5411,
327,
14015,
2320,
54,
4572,
264,
13,
4063,
2934,
588,
3495,
951,
16595,
5621,
3639,
289,
3639,
309,
261,
4063,
1276,
5705,
54,
26738,
13,
288,
5411,
5705,
54,
26738,
272,
273,
261,
2320,
54,
26738,
13,
4063,
31,
5411,
1815,
12,
350,
411,
272,
18,
588,
59,
8271,
10663,
5411,
327,
272,
18,
588,
6544,
12,
350,
1769,
3639,
289,
3639,
1815,
12,
21,
422,
374,
1769,
3639,
327,
374,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
1689,
1218,
12,
2320,
1457,
457,
639,
2255,
16,
509,
612,
13,
288,
3639,
1815,
12,
350,
1545,
374,
1769,
3639,
309,
261,
4063,
1276,
5705,
54,
1586,
13,
288,
5411,
1815,
12,
1888,
422,
374,
1769,
5411,
327,
14015,
2320,
54,
1586,
13,
4063,
2934,
588,
7621,
1702,
5621,
3639,
289,
3639,
309,
261,
4063,
1276,
5705,
54,
4572,
264,
13,
288,
5411,
1815,
12,
1888,
422,
374,
1769,
5411,
327,
14015,
2320,
54,
4572,
264,
13,
4063,
2934,
588,
3495,
951,
16595,
5621,
3639,
289,
3639,
309,
261,
4063,
1276,
5705,
54,
26738,
13,
288,
5411,
5705,
54,
26738,
272,
273,
261,
2320,
54,
26738,
13,
4063,
31,
5411,
1815,
12,
350,
411,
272,
2
] |
int sum = 4*data.length; for (int i=0; i<data.length; i++) {
|
int sum = 4 * data.length; for (int i = 0; i < data.length; i++) {
|
public static byte[] mergeCentralDirectoryData(ZipExtraField[] data) { int sum = 4*data.length; for (int i=0; i<data.length; i++) { sum += data[i].getCentralDirectoryLength().getValue(); } byte[] result = new byte[sum]; int start = 0; for (int i=0; i<data.length; i++) { System.arraycopy(data[i].getHeaderId().getBytes(), 0, result, start, 2); System.arraycopy(data[i].getCentralDirectoryLength().getBytes(), 0, result, start+2, 2); byte[] local = data[i].getCentralDirectoryData(); System.arraycopy(local, 0, result, start+4, local.length); start += (local.length+4); } return result; }
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/ExtraFieldUtils.java/buggy/src/main/org/apache/tools/zip/ExtraFieldUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1160,
8526,
2691,
39,
12839,
2853,
751,
12,
9141,
7800,
974,
8526,
501,
13,
288,
3639,
509,
2142,
273,
1059,
14,
892,
18,
2469,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
892,
18,
2469,
31,
277,
27245,
288,
5411,
2142,
1011,
501,
63,
77,
8009,
588,
39,
12839,
2853,
1782,
7675,
24805,
5621,
3639,
289,
3639,
1160,
8526,
563,
273,
394,
1160,
63,
1364,
15533,
3639,
509,
787,
273,
374,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
892,
18,
2469,
31,
277,
27245,
288,
5411,
2332,
18,
1126,
3530,
12,
892,
63,
77,
8009,
588,
1864,
548,
7675,
588,
2160,
9334,
11794,
374,
16,
563,
16,
787,
16,
576,
1769,
5411,
2332,
18,
1126,
3530,
12,
892,
63,
77,
8009,
588,
39,
12839,
2853,
1782,
7675,
588,
2160,
9334,
11794,
374,
16,
563,
16,
787,
15,
22,
16,
576,
1769,
5411,
1160,
8526,
1191,
273,
501,
63,
77,
8009,
588,
39,
12839,
2853,
751,
5621,
5411,
2332,
18,
1126,
3530,
12,
3729,
16,
374,
16,
563,
16,
787,
15,
24,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1160,
8526,
2691,
39,
12839,
2853,
751,
12,
9141,
7800,
974,
8526,
501,
13,
288,
3639,
509,
2142,
273,
1059,
14,
892,
18,
2469,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
892,
18,
2469,
31,
277,
27245,
288,
5411,
2142,
1011,
501,
63,
77,
8009,
588,
39,
12839,
2853,
1782,
7675,
24805,
5621,
3639,
289,
3639,
1160,
8526,
563,
273,
394,
1160,
63,
1364,
15533,
3639,
509,
787,
273,
374,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
892,
18,
2469,
31,
277,
27245,
288,
5411,
2332,
18,
1126,
3530,
12,
892,
63,
77,
8009,
588,
1864,
548,
7675,
588,
2160,
9334,
11794,
374,
16,
563,
16,
787,
16,
2
] |
Logger.debug("Aspects: class = "+target.getClass());
|
private Aspects(Object target) { this.target = target; interceptors = new ArrayList(); // either read from class // or configuration file or use nanning Logger.debug("Aspects: class = "+target.getClass()); if (target.getClass().equals(SnipImpl.class)) { interceptors.add(new ACLInterceptor()); } else if (target.getClass().equals(SnipSpaceImpl.class)) { interceptors.add(new SnipSpaceACLInterceptor()); interceptors.add(new StoreInterceptor()); } }
|
6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/fef12c0869c61a5378b297f4502a3cf6cd6d8416/Aspects.java/clean/src/org/snipsnap/interceptor/Aspects.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
2970,
1181,
87,
12,
921,
1018,
13,
288,
565,
333,
18,
3299,
273,
1018,
31,
565,
18496,
273,
394,
2407,
5621,
565,
368,
3344,
855,
628,
667,
565,
368,
578,
1664,
585,
578,
999,
290,
10903,
3639,
309,
261,
3299,
18,
588,
797,
7675,
14963,
12,
10461,
625,
2828,
18,
1106,
3719,
288,
1377,
18496,
18,
1289,
12,
2704,
10098,
10281,
10663,
565,
289,
469,
309,
261,
3299,
18,
588,
797,
7675,
14963,
12,
10461,
625,
3819,
2828,
18,
1106,
3719,
288,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
2970,
1181,
87,
12,
921,
1018,
13,
288,
565,
333,
18,
3299,
273,
1018,
31,
565,
18496,
273,
394,
2407,
5621,
565,
368,
3344,
855,
628,
667,
565,
368,
578,
1664,
585,
578,
999,
290,
10903,
3639,
309,
261,
3299,
18,
588,
797,
7675,
14963,
12,
10461,
625,
2828,
18,
1106,
3719,
288,
1377,
18496,
18,
1289,
12,
2704,
10098,
10281,
10663,
565,
289,
469,
309,
261,
3299,
18,
588,
797,
7675,
14963,
12,
10461,
625,
3819,
2828,
18,
1106,
3719,
288,
1377,
18496,
18,
1289,
12,
2704,
18961,
625,
3819,
9486,
10281,
10663,
1377,
18496,
18,
1289,
12,
2704,
4994,
10281,
10663,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if (foundHit!= null) {
|
if (foundHit != null) {
|
public AbstractQueryHit getQueryHitForHandle(String handle) { if (handle != null) { for (AbstractRepositoryQuery query : queries) { AbstractQueryHit foundHit = query.findQueryHit(handle); if (foundHit!= null) { return foundHit; } } } return null; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/0ee1d363ddd0d831ee3a5b742159a4850ede5572/TaskList.java/buggy/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskList.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
1138,
13616,
6041,
13616,
1290,
3259,
12,
780,
1640,
13,
288,
202,
202,
430,
261,
4110,
480,
446,
13,
288,
1082,
202,
1884,
261,
7469,
3305,
1138,
843,
294,
6218,
13,
288,
9506,
202,
7469,
1138,
13616,
1392,
13616,
273,
843,
18,
4720,
1138,
13616,
12,
4110,
1769,
9506,
202,
430,
261,
7015,
13616,
5,
33,
446,
13,
288,
6862,
202,
2463,
1392,
13616,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
1138,
13616,
6041,
13616,
1290,
3259,
12,
780,
1640,
13,
288,
202,
202,
430,
261,
4110,
480,
446,
13,
288,
1082,
202,
1884,
261,
7469,
3305,
1138,
843,
294,
6218,
13,
288,
9506,
202,
7469,
1138,
13616,
1392,
13616,
273,
843,
18,
4720,
1138,
13616,
12,
4110,
1769,
9506,
202,
430,
261,
7015,
13616,
5,
33,
446,
13,
288,
6862,
202,
2463,
1392,
13616,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String message = this.report.getMessage(lexer, "missing_endtag_before", new Object[]{"test", "bee"},
|
String message = this.report.getMessage( lexer, "missing_endtag_before", new Object[]{"test", "bee"},
|
public void testGetMessageMissingEndtagBefore() throws Exception { String message = this.report.getMessage(lexer, "missing_endtag_before", new Object[]{"test", "bee"}, TidyMessage.Level.WARNING); assertEquals("line 12 column 34 - Warning: missing </test> before bee", message); }
|
3308 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3308/7c17c099a483a881d911dc4e6519468924732811/ReportTest.java/clean/src/test/org/w3c/tidy/ReportTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
1079,
4841,
1638,
2692,
4649,
1435,
1216,
1185,
565,
288,
3639,
514,
883,
273,
333,
18,
6006,
18,
24906,
12,
8512,
16,
315,
7337,
67,
409,
2692,
67,
5771,
3113,
394,
1033,
63,
7073,
6,
3813,
3113,
315,
70,
1340,
6,
5779,
5411,
399,
29609,
1079,
18,
2355,
18,
9511,
1769,
3639,
1815,
8867,
2932,
1369,
2593,
1057,
13438,
300,
9728,
30,
3315,
7765,
3813,
34,
1865,
27203,
3113,
883,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
1079,
4841,
1638,
2692,
4649,
1435,
1216,
1185,
565,
288,
3639,
514,
883,
273,
333,
18,
6006,
18,
24906,
12,
8512,
16,
315,
7337,
67,
409,
2692,
67,
5771,
3113,
394,
1033,
63,
7073,
6,
3813,
3113,
315,
70,
1340,
6,
5779,
5411,
399,
29609,
1079,
18,
2355,
18,
9511,
1769,
3639,
1815,
8867,
2932,
1369,
2593,
1057,
13438,
300,
9728,
30,
3315,
7765,
3813,
34,
1865,
27203,
3113,
883,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
double dtwDist( double[][] seq1, double[][] seq2, double[] sigma2 ) {
|
private double dtwDist( double[][] seq1, double[][] seq2, double[] sigma2 ) {
|
double dtwDist( double[][] seq1, double[][] seq2, double[] sigma2 ) { double[][] d = new double[seq1.length][seq2.length]; double[][] D = new double[seq1.length][seq2.length]; int[][] Nd = new int[seq1.length][seq2.length]; // <= Number of cumulated distances, for the final averaging double[] minV = new double[3]; int[] minNd = new int[3]; int minIdx = 0; /* Fill the local distance matrix */ for ( int i = 0; i < seq1.length; i++ ) { for ( int j = 0; j < seq2.length; j++ ) { d[i][j] = mahalanobis( seq1[i], seq2[j], sigma2 ); } } /* Compute the optimal DTW distance: */ /* - 1st row/column: */ D[0][0] = 2*d[0][0]; for ( int i = 1; i < seq1.length; i++ ) { D[i][0] = d[i][0]; D[0][i] = d[0][i]; Nd[0][i] = Nd[i][0] = 1; } /* - 2nd row/column: */ /* corner: i==1, j==1 */ minV[0] = 2*d[0][1] + d[1][1]; minNd[0] = 3; minV[1] = D[0][0] + 2*d[1][1]; minNd[1] = Nd[0][0] + 2; minV[2] = 2*d[1][0] + d[1][1]; minNd[2] = 3; minIdx = minV[0] < minV[1] ? 0 : 1; minIdx = minV[2] < minV[minIdx] ? 2 : minIdx; D[1][1] = minV[minIdx]; Nd[1][1] = minNd[minIdx]; /* 2nd row: j==1 ; 2nd col: i==1 */ for ( int i = 2; i < seq1.length; i++ ) { /* Row: */ minV[0] = D[i-2][0] + 2*d[i-1][1] + d[i][1]; minNd[0] = Nd[i-2][0] + 3; minV[1] = D[i-1][0] + 2*d[i][1]; minNd[1] = Nd[i-1][0] + 2; minV[2] = 2*d[i][0] + d[i][1]; minNd[2] = 3; minIdx = minV[0] < minV[1] ? 0 : 1; minIdx = minV[2] < minV[minIdx] ? 2 : minIdx; D[i][1] = minV[minIdx]; Nd[i][1] = minNd[minIdx]; /* Column: */ minV[0] = 2*d[0][i] + d[1][i]; minNd[0] = 3; minV[1] = D[0][i-1] + 2*d[1][i]; minNd[1] = Nd[0][i-1] + 2; minV[2] = D[0][i-2] + 2*d[1][i-1] + d[1][i]; minNd[2] = Nd[0][i-2] + 3; minIdx = minV[0] < minV[1] ? 0 : 1; minIdx = minV[2] < minV[minIdx] ? 2 : minIdx; D[1][i] = minV[minIdx]; Nd[1][i] = minNd[minIdx]; } /* - Rest of the matrix: */ for ( int i = 2; i < seq1.length; i++ ) { for ( int j = 2; j < seq2.length; j++ ) { minV[0] = D[i-2][j-1] + 2*d[i-1][j] + d[i][j]; minNd[0] = Nd[i-2][j-1] + 3; minV[1] = D[i-1][j-1] + 2*d[i][j]; minNd[1] = Nd[i-1][j-1] + 2; minV[2] = D[i-1][j-2] + 2*d[i][j-1] + d[i][j]; minNd[0] = Nd[i-1][j-2] + 3; minIdx = minV[0] < minV[1] ? 0 : 1; minIdx = minV[2] < minV[minIdx] ? 2 : minIdx; D[i][j] = minV[minIdx]; Nd[i][j] = minNd[minIdx]; } } /* Return */ return( D[seq1.length-1][seq2.length-1] / (double)(Nd[seq1.length-1][seq2.length-1]) ); }
|
24259 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24259/1bbbcf4e3c496c8bbf5b2df3f93eac3311294c0b/CARTBuilder.java/buggy/java/de/dfki/lt/mary/unitselection/voiceimport_reorganized/CARTBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
3681,
91,
5133,
12,
1645,
63,
6362,
65,
3833,
21,
16,
1645,
63,
6362,
65,
3833,
22,
16,
1645,
8526,
7299,
22,
262,
288,
3639,
1645,
63,
6362,
65,
302,
273,
394,
1645,
63,
5436,
21,
18,
2469,
6362,
5436,
22,
18,
2469,
15533,
3639,
1645,
63,
6362,
65,
463,
273,
394,
1645,
63,
5436,
21,
18,
2469,
6362,
5436,
22,
18,
2469,
15533,
3639,
509,
63,
6362,
65,
19963,
273,
394,
509,
63,
5436,
21,
18,
2469,
6362,
5436,
22,
18,
2469,
15533,
368,
1648,
3588,
434,
276,
5283,
690,
12491,
16,
364,
326,
727,
23713,
5755,
3639,
1645,
8526,
1131,
58,
273,
394,
1645,
63,
23,
15533,
3639,
509,
8526,
1131,
50,
72,
273,
394,
509,
63,
23,
15533,
3639,
509,
1131,
4223,
273,
374,
31,
3639,
1748,
14192,
326,
1191,
3888,
3148,
1195,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
411,
3833,
21,
18,
2469,
31,
277,
9904,
262,
288,
5411,
364,
261,
509,
525,
273,
374,
31,
525,
411,
3833,
22,
18,
2469,
31,
525,
9904,
262,
288,
7734,
302,
63,
77,
6362,
78,
65,
273,
312,
9795,
4316,
947,
291,
12,
3833,
21,
63,
77,
6487,
282,
3833,
22,
63,
78,
6487,
282,
7299,
22,
11272,
5411,
289,
3639,
289,
3639,
1748,
8155,
326,
16413,
10696,
59,
3888,
30,
1195,
3639,
1748,
300,
404,
334,
1027,
19,
2827,
30,
1195,
3639,
463,
63,
20,
6362,
20,
65,
273,
576,
14,
72,
63,
20,
6362,
20,
15533,
3639,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
3681,
91,
5133,
12,
1645,
63,
6362,
65,
3833,
21,
16,
1645,
63,
6362,
65,
3833,
22,
16,
1645,
8526,
7299,
22,
262,
288,
3639,
1645,
63,
6362,
65,
302,
273,
394,
1645,
63,
5436,
21,
18,
2469,
6362,
5436,
22,
18,
2469,
15533,
3639,
1645,
63,
6362,
65,
463,
273,
394,
1645,
63,
5436,
21,
18,
2469,
6362,
5436,
22,
18,
2469,
15533,
3639,
509,
63,
6362,
65,
19963,
273,
394,
509,
63,
5436,
21,
18,
2469,
6362,
5436,
22,
18,
2469,
15533,
368,
1648,
3588,
434,
276,
5283,
690,
12491,
16,
364,
326,
727,
23713,
5755,
3639,
1645,
8526,
1131,
58,
273,
394,
1645,
63,
23,
15533,
3639,
509,
8526,
1131,
50,
72,
273,
2
] |
case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop);
|
} case TokenStream.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop);
|
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/7ab2eb958bc5d5b8575262b37554c7e600ccf6e9/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2146,
16,
15261,
16,
833,
16,
2295,
1162,
3651,
16,
326,
751,
1769,
5411,
289,
3095,
288,
7734,
9494,
18,
2761,
11599,
4368,
3748,
273,
5198,
3748,
31,
5411,
289,
3639,
289,
3639,
509,
277,
31,
3639,
1033,
8499,
31,
3639,
727,
509,
943,
2624,
273,
326,
751,
18,
1282,
2747,
2624,
31,
3639,
727,
509,
943,
5555,
273,
261,
4293,
1162,
3651,
18,
3175,
1557,
422,
446,
13,
18701,
692,
374,
294,
2295,
1162,
3651,
18,
3175,
1557,
18,
2469,
31,
3639,
727,
509,
943,
1333,
1031,
273,
326,
751,
18,
1282,
2747,
1333,
1031,
31,
3639,
727,
509,
943,
7833,
6148,
273,
326,
751,
18,
1282,
2747,
7833,
6148,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
943,
2624,
31,
3639,
727,
509,
15234,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
326,
751,
18,
7462,
3748,
13,
288,
6647,
368,
971,
4373,
3748,
353,
3775,
16,
1089,
2461,
316,
385,
352,
408,
6647,
368,
471,
745,
365,
3613,
394,
2461,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
326,
751,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
10634,
12,
71,
92,
16,
2
] |
public PushConsumer (org.omg.CORBA.ORB orb, DataHandler dataHandler)
|
public PushConsumer (org.omg.CORBA.ORB orb, DataHandler dataHandler, boolean use_queueing)
|
public PushConsumer (org.omg.CORBA.ORB orb, DataHandler dataHandler) { orb_ = orb; dataHandlerAdapter_ = new MTDataHandlerAdapter (dataHandler); dataHandlerAdapter_.start (); }
|
1867 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1867/75c2939c39cc54ae18cd8b2a4522f36c0bc5d833/PushConsumer.java/buggy/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8547,
5869,
261,
3341,
18,
362,
75,
18,
9428,
12536,
18,
916,
38,
16823,
16,
1910,
1503,
501,
1503,
16,
1250,
999,
67,
4000,
310,
13,
565,
288,
1377,
16823,
67,
273,
16823,
31,
1377,
501,
1503,
4216,
67,
273,
394,
22068,
751,
1503,
4216,
261,
892,
1503,
1769,
1377,
501,
1503,
4216,
27799,
1937,
261,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8547,
5869,
261,
3341,
18,
362,
75,
18,
9428,
12536,
18,
916,
38,
16823,
16,
1910,
1503,
501,
1503,
16,
1250,
999,
67,
4000,
310,
13,
565,
288,
1377,
16823,
67,
273,
16823,
31,
1377,
501,
1503,
4216,
67,
273,
394,
22068,
751,
1503,
4216,
261,
892,
1503,
1769,
1377,
501,
1503,
4216,
27799,
1937,
261,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String itemname, PrintWriter mapOut) throws Exception
|
String itemname, PrintWriter mapOut, boolean template) throws Exception
|
private Item addItem(Context c, Collection[] mycollections, String path, String itemname, PrintWriter mapOut) throws Exception { String mapOutput = null; System.out.println("Adding item from directory " + itemname); // create workspace item Item myitem = null; WorkspaceItem wi = null; if (!isTest) { wi = WorkspaceItem.create(c, mycollections[0], false); myitem = wi.getItem(); } // now fill out dublin core for item loadMetadata(c, myitem, path + File.separatorChar + itemname + File.separatorChar); // and the bitstreams from the contents file // process contents file, add bistreams and bundles processContentsFile(c, myitem, path + File.separatorChar + itemname, "contents"); if (useWorkflow) { // don't process handle file // start up a workflow if (!isTest) { WorkflowManager.startWithoutNotify(c, wi); // send ID to the mapfile mapOutput = itemname + " " + myitem.getID(); } } else { // only process handle file if not using workflow system String myhandle = processHandleFile(c, myitem, path + File.separatorChar + itemname, "handle"); // put item in system if (!isTest) { InstallItem.installItem(c, wi, myhandle); // find the handle, and output to map file myhandle = HandleManager.findHandle(c, myitem); mapOutput = itemname + " " + myhandle; } } // now add to multiple collections if requested if (mycollections.length > 1) { for (int i = 1; i < mycollections.length; i++) { if (!isTest) { mycollections[i].addItem(myitem); } } } // made it this far, everything is fine, commit transaction if (mapOut != null) { mapOut.println(mapOutput); } c.commit(); return myitem; }
|
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/b9f8eb17840018296c7156131616a7ad36264f0a/ItemImport.java/clean/dspace/src/org/dspace/app/itemimport/ItemImport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4342,
15009,
12,
1042,
276,
16,
2200,
8526,
3399,
19246,
16,
514,
589,
16,
5411,
514,
761,
529,
16,
14071,
852,
1182,
16,
1250,
1542,
13,
1216,
1185,
565,
288,
3639,
514,
852,
1447,
273,
446,
31,
3639,
2332,
18,
659,
18,
8222,
2932,
13962,
761,
628,
1867,
315,
397,
761,
529,
1769,
3639,
368,
752,
6003,
761,
3639,
4342,
3399,
1726,
273,
446,
31,
3639,
14396,
1180,
16138,
273,
446,
31,
3639,
309,
16051,
291,
4709,
13,
3639,
288,
5411,
16138,
273,
14396,
1180,
18,
2640,
12,
71,
16,
3399,
19246,
63,
20,
6487,
629,
1769,
5411,
3399,
1726,
273,
16138,
18,
588,
1180,
5621,
3639,
289,
3639,
368,
2037,
3636,
596,
302,
29056,
2922,
364,
761,
3639,
1262,
2277,
12,
71,
16,
3399,
1726,
16,
589,
397,
1387,
18,
11287,
2156,
397,
761,
529,
7734,
397,
1387,
18,
11287,
2156,
1769,
3639,
368,
471,
326,
2831,
16320,
628,
326,
2939,
585,
3639,
368,
1207,
2939,
585,
16,
527,
324,
376,
793,
87,
471,
11408,
3639,
1207,
6323,
812,
12,
71,
16,
3399,
1726,
16,
589,
397,
1387,
18,
11287,
2156,
397,
761,
529,
16,
7734,
315,
3980,
8863,
3639,
309,
261,
1202,
8484,
13,
3639,
288,
5411,
368,
2727,
1404,
1207,
1640,
585,
5411,
368,
787,
731,
279,
6095,
5411,
309,
16051,
291,
4709,
13,
5411,
288,
7734,
11363,
1318,
18,
1937,
8073,
9168,
12,
71,
16,
16138,
1769,
7734,
368,
1366,
1599,
358,
326,
852,
768,
7734,
852,
1447,
273,
761,
529,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4342,
15009,
12,
1042,
276,
16,
2200,
8526,
3399,
19246,
16,
514,
589,
16,
5411,
514,
761,
529,
16,
14071,
852,
1182,
16,
1250,
1542,
13,
1216,
1185,
565,
288,
3639,
514,
852,
1447,
273,
446,
31,
3639,
2332,
18,
659,
18,
8222,
2932,
13962,
761,
628,
1867,
315,
397,
761,
529,
1769,
3639,
368,
752,
6003,
761,
3639,
4342,
3399,
1726,
273,
446,
31,
3639,
14396,
1180,
16138,
273,
446,
31,
3639,
309,
16051,
291,
4709,
13,
3639,
288,
5411,
16138,
273,
14396,
1180,
18,
2640,
12,
71,
16,
3399,
19246,
63,
20,
6487,
629,
1769,
5411,
3399,
1726,
273,
16138,
18,
588,
1180,
5621,
3639,
289,
3639,
368,
2037,
3636,
596,
302,
29056,
2922,
364,
2
] |
xsp = jj_scanpos; if (jj_3_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
|
if (jj_3_24()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; while (true) { xsp = jj_scanpos; if (jj_3_24()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
|
final private boolean jj_3R_23() { if (jj_3R_39()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; if (jj_3_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
|
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d1775300ef3c91eaadbc0bf2706207627b5dc993/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4366,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5520,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
4366,
10756,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
469,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4366,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5520,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
4366,
10756,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
469,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (aggregateChildrenExpression == null) { aggregateChildrenExpression = new FunCall("$AggregateChildren",
|
if (aggregateChildrenExpression == null) { aggregateChildrenExpression = new FunCall("$AggregateChildren",
|
synchronized Exp getAggregateChildrenExpression() { if (aggregateChildrenExpression == null) { aggregateChildrenExpression = new FunCall("$AggregateChildren", Syntax.Internal, new Exp[] {this}).resolve( Util.createSimpleResolver(FunTable.instance())); } return aggregateChildrenExpression; }
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapHierarchy.java/buggy/src/main/mondrian/rolap/RolapHierarchy.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
22043,
7784,
336,
11490,
4212,
2300,
1435,
288,
202,
202,
430,
261,
18573,
4212,
2300,
422,
446,
13,
288,
1082,
202,
18573,
4212,
2300,
273,
394,
478,
318,
1477,
2932,
8,
11490,
4212,
3113,
10792,
11517,
18,
3061,
16,
394,
7784,
8526,
288,
2211,
97,
2934,
10828,
12,
18701,
3564,
18,
2640,
5784,
4301,
12,
22783,
1388,
18,
1336,
1435,
10019,
202,
202,
97,
202,
202,
2463,
7047,
4212,
2300,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
22043,
7784,
336,
11490,
4212,
2300,
1435,
288,
202,
202,
430,
261,
18573,
4212,
2300,
422,
446,
13,
288,
1082,
202,
18573,
4212,
2300,
273,
394,
478,
318,
1477,
2932,
8,
11490,
4212,
3113,
10792,
11517,
18,
3061,
16,
394,
7784,
8526,
288,
2211,
97,
2934,
10828,
12,
18701,
3564,
18,
2640,
5784,
4301,
12,
22783,
1388,
18,
1336,
1435,
10019,
202,
202,
97,
202,
202,
2463,
7047,
4212,
2300,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return QueryKit.query(storage.storageAll(), new SnipQuery() {
|
return QueryKit.querySorted(storage.storageAll(), new SnipQuery() {
|
public List storageByUser(final String login) { return QueryKit.query(storage.storageAll(), new SnipQuery() { public boolean fit(Snip snip) { return (login.equals(snip.getCUser())); } }); }
|
6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/04f5643bf893a26cdd48a57590ae908a222b71e3/QuerySnipStorage.java/buggy/src/org/snipsnap/snip/storage/QuerySnipStorage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
2502,
25895,
12,
6385,
514,
3925,
13,
288,
565,
327,
2770,
14102,
18,
2271,
11739,
12,
5697,
18,
5697,
1595,
9334,
394,
18961,
625,
1138,
1435,
288,
1377,
1071,
1250,
4845,
12,
10461,
625,
4556,
625,
13,
288,
3639,
327,
261,
5819,
18,
14963,
12,
8134,
625,
18,
588,
39,
1299,
1435,
10019,
1377,
289,
565,
15549,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
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,
987,
2502,
25895,
12,
6385,
514,
3925,
13,
288,
565,
327,
2770,
14102,
18,
2271,
11739,
12,
5697,
18,
5697,
1595,
9334,
394,
18961,
625,
1138,
1435,
288,
1377,
1071,
1250,
4845,
12,
10461,
625,
4556,
625,
13,
288,
3639,
327,
261,
5819,
18,
14963,
12,
8134,
625,
18,
588,
39,
1299,
1435,
10019,
1377,
289,
565,
15549,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
JMenuItem addItem = new JMenuItem("Add another " + attrName);
|
String realBigName = tp.name; isDuplicate = false; if(realBigName.endsWith(")") ) { isDuplicate = true; realBigName = realBigName.substring(0,realBigName.length()-4); } JMenuItem addItem = new JMenuItem("Add another " + realBigName); JMenuItem bigRemItem = new JMenuItem("Delete this " + realBigName);
|
public void mousePressed(MouseEvent e) { if (e.getButton() == MouseEvent.BUTTON3) { thisRow = rowAtPoint(e.getPoint()); attrName = (String) getModel().getValueAt(thisRow,0); jPop = new JPopupMenu("Add/Remove " + attrName + " Attribute:"); JMenuItem infoItem = null; if( usesAn(attrName.charAt(0)) ) infoItem = new JMenuItem("What is an " + attrName + "?"); else infoItem = new JMenuItem("What is a " + attrName + "?"); JMenuItem addItem = new JMenuItem("Add another " + attrName); JMenuItem remItem = new JMenuItem("Delete this " + attrName); infoItem.addActionListener(this); infoItem.setActionCommand("help"); addItem.addActionListener(this); addItem.setActionCommand("add"); remItem.addActionListener(this); remItem.setActionCommand("delete"); jPop.add(infoItem); JSeparator sep = new JSeparator(); jPop.add(sep); jPop.add(addItem); jPop.add(remItem); jPop.show(this, e.getX(), e.getY()); } }
|
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/a316c5545a0ef5968898c2ed67061bac0a2c3cfe/ClickableTable.java/buggy/loci/ome/notebook/ClickableTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
565,
309,
261,
73,
18,
588,
3616,
1435,
422,
17013,
1133,
18,
20068,
23,
13,
288,
1377,
333,
1999,
273,
1027,
861,
2148,
12,
73,
18,
588,
2148,
10663,
1377,
11583,
273,
261,
780,
13,
7454,
7675,
24805,
861,
12,
2211,
1999,
16,
20,
1769,
1377,
525,
7049,
273,
394,
804,
13770,
4599,
2932,
986,
19,
3288,
315,
397,
11583,
397,
315,
3601,
2773,
1769,
1377,
804,
12958,
1123,
1180,
273,
446,
31,
1377,
309,
12,
4692,
979,
12,
1747,
461,
18,
3001,
861,
12,
20,
3719,
262,
1123,
1180,
273,
394,
804,
12958,
2932,
23801,
353,
392,
315,
397,
11583,
397,
13574,
1769,
1377,
469,
1123,
1180,
273,
394,
804,
12958,
2932,
23801,
353,
279,
315,
397,
11583,
397,
13574,
1769,
4202,
514,
2863,
9901,
461,
273,
8071,
18,
529,
31,
353,
11826,
273,
629,
31,
309,
12,
7688,
9901,
461,
18,
5839,
1190,
2932,
2225,
13,
262,
288,
353,
11826,
273,
638,
31,
2863,
9901,
461,
273,
2863,
9901,
461,
18,
28023,
12,
20,
16,
7688,
9901,
461,
18,
2469,
1435,
17,
24,
1769,
289,
282,
804,
12958,
15009,
273,
394,
804,
12958,
2932,
986,
4042,
315,
397,
2863,
9901,
461,
1769,
804,
12958,
5446,
1933,
1180,
273,
394,
804,
12958,
2932,
2613,
333,
315,
397,
2863,
9901,
461,
1769,
1377,
804,
12958,
849,
1180,
273,
394,
804,
12958,
2932,
2613,
333,
315,
397,
11583,
1769,
1377,
1123,
1180,
18,
1289,
1803,
2223,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
565,
309,
261,
73,
18,
588,
3616,
1435,
422,
17013,
1133,
18,
20068,
23,
13,
288,
1377,
333,
1999,
273,
1027,
861,
2148,
12,
73,
18,
588,
2148,
10663,
1377,
11583,
273,
261,
780,
13,
7454,
7675,
24805,
861,
12,
2211,
1999,
16,
20,
1769,
1377,
525,
7049,
273,
394,
804,
13770,
4599,
2932,
986,
19,
3288,
315,
397,
11583,
397,
315,
3601,
2773,
1769,
1377,
804,
12958,
1123,
1180,
273,
446,
31,
1377,
309,
12,
4692,
979,
12,
1747,
461,
18,
3001,
861,
12,
20,
3719,
262,
1123,
1180,
273,
394,
804,
12958,
2932,
23801,
353,
392,
315,
397,
11583,
397,
13574,
1769,
1377,
469,
1123,
1180,
2
] |
m_objTableModel = null;
|
initialize();
|
public void reset() { m_objTableModel = null; storeSessionState(null); }
|
4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/e38c4280b24ac8aaf2327e266683fb5599dc3efd/TableView.java/clean/contrib/src/org/apache/tapestry/contrib/table/components/TableView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2715,
1435,
565,
288,
3639,
4046,
5621,
3639,
1707,
2157,
1119,
12,
2011,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
4046,
5621,
3639,
1707,
2157,
1119,
12,
2011,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return ((RubyModule)recv).getConstant(name);
|
if(recv instanceof RubyModule) { return ((RubyModule)recv).getConstant(baseName); } return runtime.getObject().getConstant(baseName);
|
public static IRubyObject autoload(final IRubyObject recv, IRubyObject symbol, final IRubyObject file) { final LoadService loadService = recv.getRuntime().getLoadService(); loadService.addAutoload(symbol.asSymbol(), new IAutoloadMethod() { /** * @see org.jruby.runtime.load.IAutoloadMethod#load(IRuby, String) */ public IRubyObject load(IRuby runtime, String name) { loadService.require(file.toString()); return ((RubyModule)recv).getConstant(name); } }); return recv; }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/3cd87a03d9ff599871bd14f49c218d1045bca20b/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
16674,
12,
6385,
15908,
10340,
921,
10665,
16,
15908,
10340,
921,
3273,
16,
727,
15908,
10340,
921,
585,
13,
288,
3639,
727,
4444,
1179,
1262,
1179,
273,
10665,
18,
588,
5576,
7675,
588,
2563,
1179,
5621,
3639,
1262,
1179,
18,
1289,
7150,
10565,
12,
7175,
18,
345,
5335,
9334,
394,
467,
7150,
10565,
1305,
1435,
288,
5411,
1783,
2398,
380,
632,
5946,
2358,
18,
78,
27768,
18,
9448,
18,
945,
18,
45,
7150,
10565,
1305,
7,
945,
12,
7937,
10340,
16,
514,
13,
2398,
1195,
5411,
1071,
15908,
10340,
921,
1262,
12,
7937,
10340,
3099,
16,
514,
508,
13,
288,
7734,
1262,
1179,
18,
6528,
12,
768,
18,
10492,
10663,
7734,
309,
12,
18334,
1276,
19817,
3120,
13,
288,
327,
14015,
54,
10340,
3120,
13,
18334,
2934,
588,
6902,
12,
1969,
461,
1769,
289,
327,
3099,
18,
588,
921,
7675,
588,
6902,
12,
1969,
461,
1769,
5411,
289,
3639,
15549,
3639,
327,
10665,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
16674,
12,
6385,
15908,
10340,
921,
10665,
16,
15908,
10340,
921,
3273,
16,
727,
15908,
10340,
921,
585,
13,
288,
3639,
727,
4444,
1179,
1262,
1179,
273,
10665,
18,
588,
5576,
7675,
588,
2563,
1179,
5621,
3639,
1262,
1179,
18,
1289,
7150,
10565,
12,
7175,
18,
345,
5335,
9334,
394,
467,
7150,
10565,
1305,
1435,
288,
5411,
1783,
2398,
380,
632,
5946,
2358,
18,
78,
27768,
18,
9448,
18,
945,
18,
45,
7150,
10565,
1305,
7,
945,
12,
7937,
10340,
16,
514,
13,
2398,
1195,
5411,
1071,
15908,
10340,
921,
1262,
12,
7937,
10340,
3099,
16,
514,
508,
13,
288,
7734,
1262,
1179,
18,
6528,
12,
768,
18,
10492,
10663,
7734,
309,
12,
2
] |
TestNGPlugin.log(new Status(IStatus.INFO, TestNGPlugin.PLUGIN_ID, 1, "Unknown annotation type '" + annotationType + "' Using default: " + TestNG.JDK5_ANNOTATION_TYPE , null) );
|
private static String convert(String annotationType) { if("1.5".equals(annotationType) || TestNG.JDK5_ANNOTATION_TYPE.equals(annotationType)) { return TestNG.JDK5_ANNOTATION_TYPE; } if("1.4".equals(annotationType) || TestNG.JAVADOC_ANNOTATION_TYPE.equals(annotationType)) { return TestNG.JAVADOC_ANNOTATION_TYPE; } TestNGPlugin.log(new Status(IStatus.INFO, TestNGPlugin.PLUGIN_ID, 1, "Unknown annotation type '" + annotationType + "' Using default: " + TestNG.JDK5_ANNOTATION_TYPE , null) ); return TestNG.JDK5_ANNOTATION_TYPE; }
|
52545 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52545/1bed3276c436b35c725a944299219be0d85ab7c1/SuiteBuilder.java/clean/src/main/org/testng/eclipse/util/SuiteBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
514,
1765,
12,
780,
17239,
13,
288,
565,
309,
2932,
21,
18,
25,
9654,
14963,
12,
11495,
559,
13,
747,
7766,
4960,
18,
46,
3398,
25,
67,
24922,
67,
2399,
18,
14963,
12,
11495,
559,
3719,
288,
1377,
327,
7766,
4960,
18,
46,
3398,
25,
67,
24922,
67,
2399,
31,
565,
289,
565,
309,
2932,
21,
18,
24,
9654,
14963,
12,
11495,
559,
13,
747,
7766,
4960,
18,
46,
5856,
1880,
10809,
67,
24922,
67,
2399,
18,
14963,
12,
11495,
559,
3719,
288,
1377,
327,
7766,
4960,
18,
46,
5856,
1880,
10809,
67,
24922,
67,
2399,
31,
565,
289,
565,
7766,
4960,
3773,
18,
1330,
12,
2704,
2685,
12,
45,
1482,
18,
5923,
16,
4766,
7766,
4960,
3773,
18,
19415,
67,
734,
16,
4766,
404,
16,
4766,
315,
4874,
3204,
618,
2119,
397,
17239,
397,
2491,
11637,
805,
30,
315,
397,
7766,
4960,
18,
46,
3398,
25,
67,
24922,
67,
2399,
269,
4766,
446,
13,
565,
11272,
3639,
327,
7766,
4960,
18,
46,
3398,
25,
67,
24922,
67,
2399,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
14963,
12,
11495,
559,
13,
747,
7766,
4960,
18,
46,
3398,
25,
67,
24922,
67,
2399,
18,
14963,
12,
11495,
559,
3719,
288,
1377,
327,
7766,
4960,
18,
46,
3398,
25,
67,
24922,
67,
2399,
31,
565,
289,
565,
309,
2932,
21,
18,
24,
9654,
14963,
12,
11495,
559,
13,
747,
7766,
4960,
18,
46,
5856,
1880,
10809,
67,
24922,
67,
2399,
18,
14963,
12,
11495,
559,
3719,
288,
1377,
327,
7766,
4960,
18,
46,
5856,
1880,
10809,
67,
24922,
67,
2399,
31,
565,
289,
565,
7766,
4960,
3773,
18,
1330,
12,
2704,
2685,
12,
45,
1482,
18,
5923,
16,
4766,
7766,
2
] |
|
HtmlElement create( final HtmlPage page, final Node xmlElement ) {
|
DomNode create( final HtmlPage page, final Node xmlElement ) {
|
HtmlElement create( final HtmlPage page, final Node xmlElement ) { try { return (HtmlElement)constructor_.newInstance( new Object[]{page, xmlElement}); } catch( final IllegalAccessException e) { throw new ObjectInstantiationException( "Exception when calling constructor ["+constructor_+"]", e); } catch( final InstantiationException e ) { throw new ObjectInstantiationException( "Exception when calling constructor ["+constructor_+"]", e); } catch( final InvocationTargetException e ) { throw new ObjectInstantiationException( "Exception when calling constructor ["+constructor_+"]", e.getTargetException()); } }
|
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/816b0916be53e310f87027a42b8dab03d18d5fb9/SimpleHtmlElementCreator.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/SimpleHtmlElementCreator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
12965,
907,
752,
12,
727,
5430,
1964,
1363,
16,
727,
2029,
2025,
1046,
262,
288,
3639,
775,
288,
5411,
327,
261,
4353,
1046,
13,
12316,
27799,
2704,
1442,
12,
394,
1033,
63,
7073,
2433,
16,
2025,
1046,
22938,
3639,
289,
3639,
1044,
12,
727,
11900,
425,
13,
288,
5411,
604,
394,
1033,
10675,
7072,
503,
12,
7734,
315,
503,
1347,
4440,
3885,
8247,
15,
12316,
67,
9078,
65,
3113,
425,
1769,
3639,
289,
3639,
1044,
12,
727,
19248,
425,
262,
288,
5411,
604,
394,
1033,
10675,
7072,
503,
12,
7734,
315,
503,
1347,
4440,
3885,
8247,
15,
12316,
67,
9078,
65,
3113,
425,
1769,
3639,
289,
3639,
1044,
12,
727,
15342,
425,
262,
288,
5411,
604,
394,
1033,
10675,
7072,
503,
12,
7734,
315,
503,
1347,
4440,
3885,
8247,
15,
12316,
67,
9078,
65,
3113,
425,
18,
588,
14950,
10663,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
12965,
907,
752,
12,
727,
5430,
1964,
1363,
16,
727,
2029,
2025,
1046,
262,
288,
3639,
775,
288,
5411,
327,
261,
4353,
1046,
13,
12316,
27799,
2704,
1442,
12,
394,
1033,
63,
7073,
2433,
16,
2025,
1046,
22938,
3639,
289,
3639,
1044,
12,
727,
11900,
425,
13,
288,
5411,
604,
394,
1033,
10675,
7072,
503,
12,
7734,
315,
503,
1347,
4440,
3885,
8247,
15,
12316,
67,
9078,
65,
3113,
425,
1769,
3639,
289,
3639,
1044,
12,
727,
19248,
425,
262,
288,
5411,
604,
394,
1033,
10675,
7072,
503,
12,
7734,
315,
503,
1347,
4440,
3885,
8247,
15,
12316,
67,
9078,
65,
3113,
425,
1769,
3639,
289,
3639,
1044,
12,
727,
15342,
425,
262,
288,
5411,
604,
394,
1033,
2
] |
} );
|
} );
|
protected void createExtendedMetaDataAnnotations( ) { String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$ addAnnotation( axisEClass, source, new String[]{ "name", "Axis", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Type( ), source, new String[]{ "kind", "element", "name", "Type" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Title( ), source, new String[]{ "kind", "element", "name", "Title" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_SubTitle( ), source, new String[]{ "kind", "element", "name", "SubTitle" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_TitlePosition( ), source, new String[]{ "kind", "element", "name", "TitlePosition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_AssociatedAxes( ), source, new String[]{ "kind", "element", "name", "AssociatedAxes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_SeriesDefinitions( ), source, new String[]{ "kind", "element", "name", "SeriesDefinitions" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_GapWidth( ), source, new String[]{ "kind", "element", "name", "GapWidth" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Orientation( ), source, new String[]{ "kind", "element", "name", "Orientation" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_LineAttributes( ), source, new String[]{ "kind", "element", "name", "LineAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_FormatSpecifier( ), source, new String[]{ "kind", "element", "name", "FormatSpecifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_LabelPosition( ), source, new String[]{ "kind", "element", "name", "LabelPosition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Staggered( ), source, new String[]{ "kind", "element", "name", "Staggered" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MarkerLines( ), source, new String[]{ "kind", "element", "name", "MarkerLines" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MarkerRanges( ), source, new String[]{ "kind", "element", "name", "MarkerRanges" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MajorGrid( ), source, new String[]{ "kind", "element", "name", "MajorGrid" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_MinorGrid( ), source, new String[]{ "kind", "element", "name", "MinorGrid" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Scale( ), source, new String[]{ "kind", "element", "name", "Scale" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Origin( ), source, new String[]{ "kind", "element", "name", "Origin" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_PrimaryAxis( ), source, new String[]{ "kind", "element", "name", "PrimaryAxis" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_CategoryAxis( ), source, new String[]{ "kind", "element", "name", "CategoryAxis" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getAxis_Percent( ), source, new String[]{ "kind", "element", "name", "Percent" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( chartPreferencesEClass, source, new String[]{ "name", "ChartPreferences", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getChartPreferences_Labels( ), source, new String[]{ "kind", "element", "name", "Labels" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getChartPreferences_Blocks( ), source, new String[]{ "kind", "element", "name", "Blocks" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( gridEClass, source, new String[]{ "name", "Grid", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_LineAttributes( ), source, new String[]{ "kind", "element", "name", "LineAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickStyle( ), source, new String[]{ "kind", "element", "name", "TickStyle" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickAttributes( ), source, new String[]{ "kind", "element", "name", "TickAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickSize( ), source, new String[]{ "kind", "element", "name", "TickSize" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getGrid_TickCount( ), source, new String[]{ "kind", "element", "name", "TickCount" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( labelEClass, source, new String[]{ "name", "Label", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Caption( ), source, new String[]{ "kind", "element", "name", "Caption" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Background( ), source, new String[]{ "kind", "element", "name", "Background" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Outline( ), source, new String[]{ "kind", "element", "name", "Outline" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_ShadowColor( ), source, new String[]{ "kind", "element", "name", "ShadowColor" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Insets( ), source, new String[]{ "kind", "element", "name", "Insets" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getLabel_Visible( ), source, new String[]{ "kind", "element", "name", "Visible" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( markerLineEClass, source, new String[]{ "name", "MarkerLine", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_LineAttributes( ), source, new String[]{ "kind", "element", "name", "LineAttributes" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_Value( ), source, new String[]{ "kind", "element", "name", "Value" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_LabelAnchor( ), source, new String[]{ "kind", "element", "name", "LabelAnchor" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerLine_FormatSpecifier( ), source, new String[]{ "kind", "element", "name", "FormatSpecifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( markerRangeEClass, source, new String[]{ "name", "MarkerRange", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_Outline( ), source, new String[]{ "kind", "element", "name", "Outline" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_Fill( ), source, new String[]{ "kind", "element", "name", "Fill" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_StartValue( ), source, new String[]{ "kind", "element", "name", "StartValue" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_EndValue( ), source, new String[]{ "kind", "element", "name", "EndValue" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_LabelAnchor( ), source, new String[]{ "kind", "element", "name", "LabelAnchor" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getMarkerRange_FormatSpecifier( ), source, new String[]{ "kind", "element", "name", "FormatSpecifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( scaleEClass, source, new String[]{ "name", "Scale", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Min( ), source, new String[]{ "kind", "element", "name", "Min" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Max( ), source, new String[]{ "kind", "element", "name", "Max" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Step( ), source, new String[]{ "kind", "element", "name", "Step" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_Unit( ), source, new String[]{ "kind", "element", "name", "Unit" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getScale_MinorGridsPerUnit( ), source, new String[]{ "kind", "element", "name", "MinorGridsPerUnit" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( seriesEClass, source, new String[]{ "name", "Series", "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Visible( ), source, new String[]{ "kind", "element", "name", "Visible" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Label( ), source, new String[]{ "kind", "element", "name", "Label" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_DataDefinition( ), source, new String[]{ "kind", "element", "name", "DataDefinition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_SeriesIdentifier( ), source, new String[]{ "kind", "element", "name", "SeriesIdentifier" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_DataPoint( ), source, new String[]{ "kind", "element", "name", "DataPoint" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_DataSet( ), source, new String[]{ "kind", "element", "name", "DataSet" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_LabelPosition( ), source, new String[]{ "kind", "element", "name", "LabelPosition" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Stacked( ), source, new String[]{ "kind", "element", "name", "Stacked" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Triggers( ), source, new String[]{ "kind", "element", "name", "Triggers" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); addAnnotation( getSeries_Translucent( ), source, new String[]{ "kind", "element", "name", "Translucent" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdab78403751f288b76844a99f50b999c34fb491/ComponentPackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
11456,
6998,
5655,
12,
262,
202,
95,
202,
202,
780,
1084,
273,
315,
2505,
2207,
19,
3341,
19,
20416,
19,
351,
74,
19,
557,
479,
19,
1367,
19,
11456,
6998,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
3257,
12,
2654,
5720,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
529,
3113,
315,
6558,
3113,
315,
9224,
3113,
315,
2956,
3386,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
559,
12,
262,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
9224,
3113,
315,
2956,
3113,
315,
529,
3113,
315,
559,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
4247,
12,
262,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
9224,
3113,
315,
2956,
3113,
315,
529,
3113,
315,
4247,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
1676,
4247,
12,
262,
16,
1084,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
11456,
6998,
5655,
12,
262,
202,
95,
202,
202,
780,
1084,
273,
315,
2505,
2207,
19,
3341,
19,
20416,
19,
351,
74,
19,
557,
479,
19,
1367,
19,
11456,
6998,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
3257,
12,
2654,
5720,
16,
1084,
16,
394,
514,
63,
7073,
9506,
202,
6,
529,
3113,
315,
6558,
3113,
315,
9224,
3113,
315,
2956,
3386,
6,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
4329,
3993,
17,
5106,
17,
24,
8,
202,
202,
97,
11272,
3196,
202,
1289,
3257,
12,
4506,
5674,
67,
559,
12,
262,
16,
1084,
16,
394,
2
] |
public AppClientComponentCreationWizard(AppClientComponentCreationDataModel model) { super(model);
|
public AppClientComponentCreationWizard() { super();
|
public AppClientComponentCreationWizard(AppClientComponentCreationDataModel model) { super(model); }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/59b6004d2898a63ab8beb09f095b3e971307dd92/AppClientComponentCreationWizard.java/buggy/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/AppClientComponentCreationWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4677,
1227,
1841,
9906,
27130,
12,
3371,
1227,
1841,
9906,
26349,
938,
13,
288,
202,
202,
9565,
12,
2284,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4677,
1227,
1841,
9906,
27130,
12,
3371,
1227,
1841,
9906,
26349,
938,
13,
288,
202,
202,
9565,
12,
2284,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
idList.add((Integer) rs.getObject(DBNames.CN_TAM_ACCOUNT_ID));
|
idList.add((Integer) rs.getObject(DBNames.CN_TAM_TRANSACTION_ID));
|
public Integer[] getAllTranfersForAccount(final Integer accountID) { final String sqlStr = "SELECT " + DBNames.CN_TAM_ACCOUNT_ID + " FROM " + DBNames.TN_TRANSACTION_ACCOUNT_MAP + " WHERE " + DBNames.CN_TAM_ACCOUNT_ID + " IS '" + accountID + "'"; try { final ResultSet rs = ConnectionManager.getInstance().query(sqlStr); final List<Integer> idList = new ArrayList<Integer>(); while (rs.next()) { idList.add((Integer) rs.getObject(DBNames.CN_TAM_ACCOUNT_ID)); } return idList.toArray(new Integer[idList.size()]); } catch (final SQLException sqle) { defaultLogger.error( "SQLException while loading Trans-Account Mapping!", sqle); throw new RuntimeException("Unable to load Trans-Account Mapping!", sqle); } }
|
11042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11042/e62da219870666d7a598fedb8c69de46a29afbb2/TransAccountMappingDA.java/clean/trunk/JPAS/src/org/jpas/da/TransAccountMappingDA.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
8526,
5514,
17730,
18881,
1290,
3032,
12,
6385,
2144,
26643,
13,
565,
288,
3639,
727,
514,
1847,
1585,
273,
315,
4803,
315,
397,
2383,
1557,
18,
12821,
67,
56,
2192,
67,
21690,
67,
734,
397,
315,
4571,
315,
7734,
397,
2383,
1557,
18,
56,
50,
67,
22364,
67,
21690,
67,
8352,
397,
315,
4852,
315,
7734,
397,
2383,
1557,
18,
12821,
67,
56,
2192,
67,
21690,
67,
734,
397,
315,
4437,
2119,
397,
26643,
397,
5862,
31,
3639,
775,
3639,
288,
5411,
727,
10842,
3597,
273,
4050,
1318,
18,
588,
1442,
7675,
2271,
12,
4669,
1585,
1769,
5411,
727,
987,
32,
4522,
34,
29174,
273,
394,
2407,
32,
4522,
34,
5621,
5411,
1323,
261,
5453,
18,
4285,
10756,
5411,
288,
7734,
29174,
18,
1289,
12443,
4522,
13,
3597,
18,
588,
921,
12,
2290,
1557,
18,
12821,
67,
56,
2192,
67,
22364,
67,
734,
10019,
5411,
289,
5411,
327,
29174,
18,
31447,
12,
2704,
2144,
63,
350,
682,
18,
1467,
1435,
19226,
3639,
289,
3639,
1044,
261,
6385,
6483,
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
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
8526,
5514,
17730,
18881,
1290,
3032,
12,
6385,
2144,
26643,
13,
565,
288,
3639,
727,
514,
1847,
1585,
273,
315,
4803,
315,
397,
2383,
1557,
18,
12821,
67,
56,
2192,
67,
21690,
67,
734,
397,
315,
4571,
315,
7734,
397,
2383,
1557,
18,
56,
50,
67,
22364,
67,
21690,
67,
8352,
397,
315,
4852,
315,
7734,
397,
2383,
1557,
18,
12821,
67,
56,
2192,
67,
21690,
67,
734,
397,
315,
4437,
2119,
397,
26643,
397,
5862,
31,
3639,
775,
3639,
288,
5411,
727,
10842,
3597,
273,
4050,
1318,
18,
588,
1442,
7675,
2271,
12,
4669,
1585,
1769,
5411,
727,
987,
32,
4522,
34,
29174,
273,
394,
2407,
32,
4522,
34,
5621,
5411,
1323,
261,
5453,
18,
2
] |
private void updateControlAttachments(int index, FieldDecorationData decData) { FormData formData = (FormData) control.getLayoutData(); int newWidth = widthOf(decData.decoration.getImage()); // opposing represents the location of the decoration above or below // the one in question. int opposing; switch (index) { case LEFT_TOP: case LEFT_BOTTOM: if (index == LEFT_TOP) { opposing = LEFT_BOTTOM; } else { opposing = LEFT_TOP; } if (decDatas[opposing] == null) { // No decorator on the opposing side. // Attach the control to this decorator formData.left = new FormAttachment(decData.label); } else if (decDatas[opposing].data.width < newWidth) { // Decorator on opposing side is the smaller one. Attach // control to the new one. formData.left = new FormAttachment(decData.label); // Center align the smaller one relative to the larger one. decDatas[opposing].data.left.alignment = SWT.CENTER; decDatas[opposing].data.left.control = decData.label; } else { // The new decorator is the smaller one. Keep the // control attached to the opposing one. formData = null; // Horizontally center the smaller one relative to the larger one. decData.data.left.alignment = SWT.CENTER; decData.data.left.control = decDatas[opposing].label; } break; /* * The only real difference in right side cases is that we are attaching * the right side of the control to the wider decoration rather than the * left side of the control. Other concerns (horizontally aligning the * smaller decoration relative to the larger one) are the same. */ case RIGHT_TOP: case RIGHT_BOTTOM: if (index == RIGHT_TOP) { opposing = RIGHT_BOTTOM; } else { opposing = RIGHT_TOP; } if (decDatas[opposing] == null) { // No decorator on the opposing side. // Attach the control to this decorator. formData.right = new FormAttachment(decData.label); } else if (decDatas[opposing].data.width < newWidth) { // Decorator on opposing side is the smaller one. Attach // control to the new one. formData.right = new FormAttachment(decData.label); // Center align the smaller one to the larger one. // Note that this could be done using the left or right // attachment, we use the right since it is already // created for all right-side decorations. decDatas[opposing].data.right.alignment = SWT.CENTER; decDatas[opposing].data.right.control = decData.label; } else { // The new decorator is the smaller one. Keep the // control attached to the opposing one. formData = null; // Horizontally center align the smaller one to the // larger one. decData.data.right.alignment = SWT.CENTER; decData.data.right.control = decDatas[opposing].label; } break; default: return; } if (formData != null) { // Form data was updated. control.setLayoutData(formData); form.layout(); } }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/df5bcd37c73174e94a49b4618f9df99ae6e646b3/DecoratedField.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/DecoratedField.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
225,
918,
225,
1089,
3367,
12961,
12,
474,
225,
770,
16,
225,
2286,
7859,
367,
751,
225,
2109,
751,
13,
225,
288,
202,
202,
30079,
225,
14224,
225,
273,
225,
261,
30079,
13,
225,
3325,
18,
588,
3744,
751,
5621,
202,
202,
474,
225,
23542,
225,
273,
225,
1835,
951,
12,
4924,
751,
18,
11880,
367,
18,
588,
2040,
10663,
202,
202,
759,
225,
1061,
24014,
225,
8686,
225,
326,
225,
2117,
225,
434,
225,
326,
225,
29217,
225,
5721,
225,
578,
225,
5712,
202,
202,
759,
225,
326,
225,
1245,
225,
316,
225,
5073,
18,
202,
202,
474,
225,
1061,
24014,
31,
202,
202,
9610,
225,
261,
1615,
13,
225,
288,
202,
202,
3593,
225,
9686,
67,
10462,
30,
202,
202,
3593,
225,
9686,
67,
28891,
30,
1082,
202,
430,
225,
261,
1615,
225,
422,
225,
9686,
67,
10462,
13,
225,
288,
9506,
202,
556,
24014,
225,
273,
225,
9686,
67,
28891,
31,
1082,
202,
97,
225,
469,
225,
288,
9506,
202,
556,
24014,
225,
273,
225,
9686,
67,
10462,
31,
1082,
202,
97,
1082,
202,
430,
225,
261,
4924,
14305,
63,
556,
24014,
65,
225,
422,
225,
446,
13,
225,
288,
9506,
202,
759,
225,
2631,
225,
7367,
225,
603,
225,
326,
225,
1061,
24014,
225,
4889,
18,
9506,
202,
759,
225,
8659,
225,
326,
225,
3325,
225,
358,
225,
333,
225,
7367,
9506,
202,
687,
751,
18,
4482,
225,
273,
225,
394,
225,
2748,
6803,
12,
4924,
751,
18,
1925,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
225,
918,
225,
1089,
3367,
12961,
12,
474,
225,
770,
16,
225,
2286,
7859,
367,
751,
225,
2109,
751,
13,
225,
288,
202,
202,
30079,
225,
14224,
225,
273,
225,
261,
30079,
13,
225,
3325,
18,
588,
3744,
751,
5621,
202,
202,
474,
225,
23542,
225,
273,
225,
1835,
951,
12,
4924,
751,
18,
11880,
367,
18,
588,
2040,
10663,
202,
202,
759,
225,
1061,
24014,
225,
8686,
225,
326,
225,
2117,
225,
434,
225,
326,
225,
29217,
225,
5721,
225,
578,
225,
5712,
202,
202,
759,
225,
326,
225,
1245,
225,
316,
225,
5073,
18,
202,
202,
474,
225,
1061,
24014,
31,
202,
202,
9610,
225,
261,
1615,
13,
225,
288,
202,
202,
3593,
225,
2
] |
||
public boolean isSet(org.quickfix.field.PartyID field)
|
public boolean isSet(quickfix.field.PartyID field)
|
public boolean isSet(org.quickfix.field.PartyID field) { return isSetField(field); }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MultilegOrderCancelReplaceRequest.java/buggy/src/java/src/quickfix/fix43/MultilegOrderCancelReplaceRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
17619,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
17619,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
mockImcmsService.addExpectedSQLProcedureCall( SPROC_GETUSERROLES, new String[]{ImcmsAuthenticatorAndUserMapper.ALWAYS_EXISTING_USERS_ROLE} );
|
public void testLdapAndImcmsUpdateSynchronization() { mockImcmsService.addExpectedSQLProcedureCall( SPROC_GETUSERBYLOGIN, SQL_RESULT_HASBRA ); mockImcmsService.addExpectedSQLProcedureCall( SPROC_GETUSERBYLOGIN, SQL_RESULT_HASBRA ); mockImcmsService.addExpectedSQLProcedureCall( SPROC_GETUSERBYLOGIN, SQL_RESULT_HASBRA ); mockImcmsService.addExpectedSQLProcedureCall( SPROC_GETUSERROLES, new String[]{ImcmsAuthenticatorAndUserMapper.ALWAYS_EXISTING_USERS_ROLE} ); User user = externalizedImcmsAndUserMapper.getUser( LOGIN_NAME_HASBRA ); assertTrue( "hasse".equalsIgnoreCase( user.getFirstName() ) ); mockImcmsService.verify(); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/31c1610a3d297865803c9fce822055227a2d2a6b/TestExternalizedImcmsAuthenticatorAndUserMapper.java/clean/server/src/imcode/server/user/TestExternalizedImcmsAuthenticatorAndUserMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
18437,
1876,
1170,
6851,
1891,
30196,
1435,
288,
1377,
5416,
1170,
6851,
1179,
18,
1289,
6861,
3997,
17213,
1477,
12,
348,
3373,
39,
67,
3264,
4714,
6486,
19022,
16,
3063,
67,
12289,
67,
27765,
38,
2849,
11272,
1377,
5416,
1170,
6851,
1179,
18,
1289,
6861,
3997,
17213,
1477,
12,
348,
3373,
39,
67,
3264,
4714,
6486,
19022,
16,
3063,
67,
12289,
67,
27765,
38,
2849,
11272,
1377,
5416,
1170,
6851,
1179,
18,
1289,
6861,
3997,
17213,
1477,
12,
348,
3373,
39,
67,
3264,
4714,
6486,
19022,
16,
3063,
67,
12289,
67,
27765,
38,
2849,
11272,
6647,
2177,
729,
273,
3903,
1235,
1170,
6851,
1876,
1299,
4597,
18,
588,
1299,
12,
27980,
67,
1985,
67,
27765,
38,
2849,
11272,
1377,
1815,
5510,
12,
315,
5332,
307,
9654,
14963,
5556,
12,
729,
18,
588,
3759,
461,
1435,
262,
11272,
1377,
5416,
1170,
6851,
1179,
18,
8705,
5621,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1170,
6851,
1179,
18,
1289,
6861,
3997,
17213,
1477,
12,
348,
3373,
39,
67,
3264,
4714,
6486,
19022,
16,
3063,
67,
12289,
67,
27765,
38,
2849,
11272,
1377,
5416,
1170,
6851,
1179,
18,
1289,
6861,
3997,
17213,
1477,
12,
348,
3373,
39,
67,
3264,
4714,
6486,
19022,
16,
3063,
67,
12289,
67,
27765,
38,
2849,
11272,
1377,
5416,
1170,
6851,
1179,
18,
1289,
6861,
3997,
17213,
1477,
12,
348,
3373,
39,
67,
3264,
4714,
6486,
19022,
16,
3063,
67,
12289,
67,
27765,
38,
2849,
11272,
6647,
2177,
729,
273,
3903,
1235,
1170,
6851,
1876,
1299,
4597,
18,
588,
1299,
12,
27980,
67,
1985,
67,
27765,
2
] |
|
case 190: { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: { CUP$result = new StringType(/*string_type*/72);
|
case 192: { CUP$result = new StringType(/*string_type*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: { CUP$result = new StringType(/*string_type*/71);
|
public final java_cup.runtime.symbol CUP$do_action( int CUP$act_num, java_cup.runtime.lr_parser CUP$parser, java.util.Stack CUP$stack, int CUP$top) throws java.lang.Exception { /* object for return from actions */ java_cup.runtime.symbol CUP$result; /* select the action based on the action number */ switch (CUP$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 226: // empty ::= { CUP$result = new java_cup.runtime.symbol(/*empty*/4); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 225: // param_type_spec ::= scopename { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 224: // param_type_spec ::= string_type { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 223: // param_type_spec ::= base_type_spec { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 222: // string_literal_list ::= string_literal COMMA string_literal_list { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 221: // string_literal_list ::= string_literal { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 220: // context_expr ::= empty { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 219: // context_expr ::= CONTEXT LPAREN string_literal_list RPAREN { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 218: // raises_expr ::= empty { CUP$result = new RaisesExpr(/*raises_expr*/84); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 217: // raises_expr ::= RAISES LPAREN scopename_list RPAREN { CUP$result = new RaisesExpr(/*raises_expr*/84); ((RaisesExpr)CUP$result).nameList = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 216: // param_attribute ::= INOUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_INOUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 215: // param_attribute ::= OUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_OUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 214: // param_attribute ::= IN { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_IN; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 213: // param_dcl ::= param_attribute param_type_spec simple_declarator { CUP$result = new ParamDecl(/*param_dcl*/83); ((ParamDecl)CUP$result).paramAttribute = (/*pa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-2)).int_val; ((ParamDecl)CUP$result).paramTypeSpec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 212: // param_dcls ::= param_dcl { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 211: // param_dcls ::= param_dcl COMMA param_dcls { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 210: // parameter_dcls ::= LPAREN RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: // parameter_dcls ::= LPAREN param_dcls RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 208: // void_type_spec ::= VOID { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: // op_type_spec ::= void_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(VoidTypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 206: // op_type_spec ::= param_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 205: // op_attribute ::= empty { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.NO_ATTRIBUTE; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 204: // op_attribute ::= ONEWAY { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.ONEWAY; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 203: // op_dcl ::= op_attribute op_type_spec ID parameter_dcls raises_expr context_expr { CUP$result = new OpDecl(/*op_dcl*/85); ((OpDecl)CUP$result).opAttribute = (/*oa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-5)).int_val; ((OpDecl)CUP$result).opTypeSpec = (/*ots*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)); ((OpDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((OpDecl)CUP$result).paramDecls = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((OpDecl)CUP$result).raisesExpr = (/*re*/(RaisesExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 202: // except_dcl ::= EXCEPTION ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 201: // except_dcl ::= EXCEPTION ID LCBRACE RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 200: // simple_declarator_list ::= simple_declarator COMMA simple_declarator_list { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v = (Vector)(/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 199: // simple_declarator_list ::= simple_declarator { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 198: // attr_dcl ::= ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = false; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 197: // attr_dcl ::= READONLY ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = true; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 196: // fixed_array_size ::= LSBRACE positive_int_const RSBRACE { CUP$result = new FixedArraySize(/*fixed_array_size*/82); ((FixedArraySize)CUP$result).pos_int_const = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 195: // fixed_array_size_list ::= fixed_array_size fixed_array_size_list { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v = (Vector)(/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 194: // fixed_array_size_list ::= fixed_array_size { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 193: // array_declarator ::= ID fixed_array_size_list { CUP$result = new ArrayDeclarator(/*array_declarator*/81); ((ArrayDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1))); ((ArrayDeclarator)CUP$result).fixed_array_size_list = (/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 192: // fixed_point_type ::= FIXED LESSTHAN positive_int_const COMMA positive_int_const GREATERTHAN { CUP$result = new FixedPointType(/*fixed_point_type*/74); ((FixedPointType)CUP$result).digit_expr = (/*digits*/(PosIntConst)CUP$stack.elementAt(CUP$top-3)).const_expr; ((FixedPointType)CUP$result).scale_expr = (/*scale*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: // string_type ::= WSTRING { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 190: // string_type ::= STRING { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: // string_type ::= WSTRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 188: // string_type ::= STRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 187: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 186: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec COMMA positive_int_const GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-3)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 185: // native_type ::= NATIVE simple_declarator { CUP$result = new NativeType(/*native_type*/54); ((NativeType)CUP$result).declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 184: // enumerator_list ::= ID COMMA enumerator_list { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v = (Vector)(/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 183: // enumerator_list ::= ID { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 182: // enum_type ::= ENUM ID LCBRACE enumerator_list RCBRACE { CUP$result = new EnumType(/*enum_type*/50); ((EnumType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((EnumType)CUP$result).enumlist = (/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); ((EnumType)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 181: // element_spec ::= type_spec declarator { CUP$result = new ElementSpec(/*element_spec*/57); ((ElementSpec)CUP$result).t.type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ElementSpec)CUP$result).d = (/*dc*/(Declarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 180: // case_label_list ::= DEFAULT COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement(null); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 179: // case_label_list ::= CASE const_expr COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 178: // case_label_list ::= DEFAULT COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement( null ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 177: // case_label_list ::= CASE const_expr COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 176: // case ::= case_label_list element_spec SEMI { CUP$result = new Case(/*case*/56); ((Case)CUP$result).element_spec = (/*es*/(ElementSpec)CUP$stack.elementAt(CUP$top-1)); ((Case)CUP$result).case_label_list = (/*c*/(SymbolList)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 175: // switch_body ::= case switch_body { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector = (Vector)(/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-0)).caseListVector.clone(); ((SwitchBody)CUP$result).caseListVector.addElement( (/*c*/(Case)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 174: // switch_body ::= case { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector.addElement((/*c*/(Case)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 173: // switch_type_spec ::= scopename { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 172: // switch_type_spec ::= enum_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).set_constr((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 171: // switch_type_spec ::= bool_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*b*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 170: // switch_type_spec ::= char_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*c*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 169: // switch_type_spec ::= int_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*i*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 168: // union_type ::= UNION ID { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 167: // union_type ::= UNION ID SWITCH LPAREN switch_type_spec RPAREN LCBRACE switch_body RCBRACE { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).setSwitchType( (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)) ); ((UnionType)CUP$result).setSwitchBody( (/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-1)) ); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-7))); ((UnionType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 166: // member ::= type_spec declarators SEMI { CUP$result = new Member(/*member*/78); ((Member)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((Member)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 165: // member_list ::= member member_list { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v = (Vector)(/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 164: // member_list ::= member { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 163: // struct_type ::= STRUCT ID { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 162: // struct_type ::= STRUCT ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = false; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 161: // any_type ::= ANY { CUP$result = new AnyType(/*any_type*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 160: // octet_type ::= OCTET { CUP$result = new OctetType(/*octet_type*/69); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 159: // bool_type ::= BOOLEAN { CUP$result = new BooleanType(/*bool_type*/68); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 158: // char_type ::= WCHAR { CUP$result = new CharType(/*char_type*/67); ((CharType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 157: // char_type ::= CHAR { CUP$result = new CharType(/*char_type*/67); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 156: // long_long_type ::= LONG LONG { CUP$result = new LongLongType(/*long_long_type*/66); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 155: // long_type ::= LONG { CUP$result = new LongType(/*long_type*/65); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 154: // short_type ::= SHORT { CUP$result = new ShortType(/*short_type*/64); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 153: // int_type ::= UNSIGNED short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 152: // int_type ::= short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 151: // int_type ::= UNSIGNED long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 150: // int_type ::= UNSIGNED long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 149: // int_type ::= long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*ll*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 148: // int_type ::= long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 147: // double_type ::= DOUBLE { CUP$result = new DoubleType(/*double_type*/63); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 146: // fixed_pt_const_type ::= FIXED { CUP$result = new FixedPointConstType(/*fixed_pt_const_type*/62); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 145: // float_type ::= FLOAT { CUP$result = new FloatType(/*float_type*/61); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 144: // float_pt_type ::= double_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*d*/(DoubleType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 143: // float_pt_type ::= float_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*f*/(FloatType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 142: // simple_declarator ::= ID { CUP$result = new SimpleDeclarator(/*simple_declarator*/80); ((SimpleDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 141: // declarator ::= array_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(ArrayDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 140: // declarator ::= simple_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 139: // declarators ::= declarator { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 138: // declarators ::= declarator COMMA declarators { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v = (Vector)(/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 137: // constr_type_spec ::= enum_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 136: // constr_type_spec ::= union_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 135: // constr_type_spec ::= struct_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 134: // template_type_spec ::= fixed_point_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 133: // template_type_spec ::= string_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 132: // template_type_spec ::= sequence_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 131: // base_type_spec ::= VALUEBASE { CUP$result = new BaseType(/*base_type_spec*/58); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 130: // base_type_spec ::= any_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(AnyType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 129: // base_type_spec ::= octet_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 128: // base_type_spec ::= bool_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 127: // base_type_spec ::= char_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 126: // base_type_spec ::= int_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 125: // base_type_spec ::= float_pt_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 124: // simple_type_spec ::= scopename { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 123: // simple_type_spec ::= template_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 122: // simple_type_spec ::= base_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 121: // type_spec ::= constr_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 120: // type_spec ::= simple_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 119: // type_declarator ::= type_spec declarators { CUP$result = new TypeDeclarator(/*type_declarator*/41); ((TypeDeclarator)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((TypeDeclarator)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 118: // type_def ::= TYPEDEF type_declarator { CUP$result = new TypeDef(/*type_def*/46); ((TypeDef)CUP$result).type_declarator = (/*t*/(TypeDeclarator)CUP$stack.elementAt(CUP$top-0)); ((TypeDef)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 117: // type_dcl ::= native_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*n*/(NativeType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 116: // type_dcl ::= enum_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 115: // type_dcl ::= union_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 114: // type_dcl ::= struct_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 113: // type_dcl ::= type_def { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*t*/(TypeDef)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 112: // positive_int_const ::= const_expr { CUP$result = new PosIntConst(/*positive_int_const*/31); ((PosIntConst)CUP$result).const_expr = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 111: // string_literal ::= LDBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 110: // string_literal ::= LDBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 109: // string_literal ::= DBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 108: // string_literal ::= DBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 107: // literal ::= FALSE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "false"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 106: // literal ::= TRUE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "true"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 105: // literal ::= FLOAT_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)).float_val ; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 104: // literal ::= FIXED_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)).fixed_val; ((Literal)CUP$result).token = (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 103: // literal ::= string_literal { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).string; ((Literal)CUP$result).wide = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).wide; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 102: // literal ::= QUOTE CH QUOTE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "\'" + (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)).char_val + "\'"; ((Literal)CUP$result).token = (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 101: // literal ::= LONG_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)).long_val; ((Literal)CUP$result).token = (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 100: // literal ::= NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 99: // primary_expr ::= LPAREN const_expr RPAREN { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 98: // primary_expr ::= literal { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*l*/(Literal)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 97: // primary_expr ::= scopename { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 96: // unary_op ::= TILDE { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "~"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // unary_op ::= PLUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // unary_op ::= MINUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // unary_expr ::= primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // unary_expr ::= unary_op primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); ((UnaryExpr)CUP$result).unary_op = (/*u*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // mult_expr ::= mult_expr PERCENT unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "%"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // mult_expr ::= mult_expr SLASH unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "/"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // mult_expr ::= mult_expr STAR unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "*"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // mult_expr ::= unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // add_expr ::= add_expr MINUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // add_expr ::= add_expr PLUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // add_expr ::= mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // shift_expr ::= shift_expr RSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = ">>"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // shift_expr ::= shift_expr LSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = "<<"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // shift_expr ::= add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // and_expr ::= and_expr AMPERSAND shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-2)); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // and_expr ::= shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // xor_expr ::= xor_expr CIRCUM and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); ((XorExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // xor_expr ::= and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // or_expr ::= or_expr BAR xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-2)); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // or_expr ::= xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // const_expr ::= or_expr { CUP$result = new ConstExpr(/*const_expr*/30); ((ConstExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // const_type ::= scopename { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((ConstType)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // const_type ::= octet_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // const_type ::= string_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // const_type ::= fixed_pt_const_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FixedPointConstType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // const_type ::= float_pt_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // const_type ::= bool_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // const_type ::= char_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // const_type ::= int_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // const_dcl ::= CONST const_type ID EQUALS const_expr { CUP$result = new ConstDecl(/*const_dcl*/28); ((ConstDecl)CUP$result).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val); ((ConstDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((ConstDecl)CUP$result).const_expr = (/*ce*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); ((ConstDecl)CUP$result).const_type = (ConstType)(/*ct*/(ConstType)CUP$stack.elementAt(CUP$top-3)); ((ConstDecl)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // init_param_decl ::= IN param_type_spec simple_declarator { CUP$result = new InitParamDecl(/*init_param_decl*/27); ((InitParamDecl)CUP$result).paramTypeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((InitParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // init_param_decls ::= init_param_decl COMMA init_param_decls { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v = (Vector)(/*ipdcls*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-2)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // init_param_decls ::= init_param_decl { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-0)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // init_dcl ::= FACTORY ID LPAREN RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_dcl ::= FACTORY ID LPAREN init_param_decls RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((InitDecl)CUP$result).paramDecls = (Vector)(/*ipd*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // state_member ::= PRIVATE type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = false; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // state_member ::= PUBLIC type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = true; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // value_element ::= init_dcl { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*id*/(InitDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // value_element ::= state_member { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*sm*/(StateMember)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // value_element ::= export { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*e*/(Definition)CUP$stack.elementAt(CUP$top-0)).get_declaration()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // value_elements ::= empty { CUP$result = new Definitions(/*value_elements*/23); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // value_elements ::= value_element value_elements { CUP$result = new Definitions(/*value_elements*/23); ((Definitions)CUP$result).v = (Vector)(/*es*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // truncatable ::= TRUNCATABLE { CUP$result = new Truncatable(/*truncatable*/16); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // value_inheritance_spec ::= empty { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // value_inheritance_spec ::= COLON scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // value_inheritance_spec ::= COLON truncatable scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-3)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // value_inheritance_spec ::= SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // value_inheritance_spec ::= COLON scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // value_inheritance_spec ::= COLON truncatable scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-1)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // value_dcl ::= VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // value_dcl ::= VALUETYPE ID { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // value_dcl ::= CUSTOM VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (true); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // value_body ::= empty { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // value_body ::= export value_body { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).v = (Vector)(/*vb*/(ValueBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((ValueBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // value_abs_dcl ::= ABSTRACT VALUETYPE ID { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // value_abs_dcl ::= ABSTRACT VALUETYPE ID value_inheritance_spec LCBRACE value_body RCBRACE { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueAbsDecl)CUP$result).setInheritanceSpec( (/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3)) ); ((ValueAbsDecl)CUP$result).body = (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).myAbsValue = ((ValueAbsDecl)CUP$result); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((ValueAbsDecl)CUP$result)); ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // value_box_dcl ::= VALUETYPE ID type_spec { CUP$result = new ValueBoxDecl(/*value_box_dcl*/18); ((ValueBoxDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; ((ValueBoxDecl)CUP$result).typeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // value ::= value_box_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vbx*/(ValueBoxDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // value ::= value_abs_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vad*/(ValueAbsDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // value ::= value_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vd*/(ValueDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // scopename ::= OBJECT { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).typeName = "org.omg.CORBA.Object"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // scopename ::= scopename DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)).typeName+ "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // scopename ::= DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // scopename ::= ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // scopename_list ::= scopename { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // scopename_list ::= scopename COMMA scopename_list { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // inheritance_spec ::= empty { CUP$result = new SymbolList(/*inheritance_spec*/95); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // inheritance_spec ::= COLON scopename_list { CUP$result = new SymbolList(/*inheritance_spec*/95); ((SymbolList)CUP$result).v = (Vector)(/*sl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // export ::= op_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*o*/(OpDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // export ::= attr_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*a*/(AttrDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // export ::= except_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // export ::= const_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // export ::= type_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // interface_body ::= empty { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // interface_body ::= export interface_body { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).v = (Vector)(/*i*/(InterfaceBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((InterfaceBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // interface ::= PSEUDO INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // interface ::= LOCAL INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // interface ::= ABSTRACT INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // interface ::= INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // interface ::= PSEUDO INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_pseudo(); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val);// (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // interface ::= LOCAL INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // interface ::= ABSTRACT INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // interface ::= INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // module ::= MODULE ID LCBRACE definitions RCBRACE { CUP$result = new Module(/*module*/11); ((Module)CUP$result).spec = (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)); ((Module)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((Module)CUP$result).setPackage((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val ); ((Module)CUP$result).set_included( parser.include_state ); (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Module)CUP$result)); parser.closeScope( (Scope)((Module)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // definition ::= value SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Value)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // definition ::= module SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Module)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // definition ::= interface SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*p*/(Interface)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // definition ::= except_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // definition ::= const_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // definition ::= type_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // definitions ::= definition { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // definitions ::= definition definitions { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // specification ::= empty { CUP$result = new Spec(/*specification*/8); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // specification ::= NT$0 definitions { CUP$result = new Spec(/*specification*/8); /* parsing */ // open the global scope parser.openScope(); ((Spec)CUP$result).definitions = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); if( ((org.jacorb.idl.parser)CUP$parser).package_prefix != null ) ((Spec)CUP$result).setPackage( ((org.jacorb.idl.parser)CUP$parser).package_prefix ); ((Spec)CUP$result).parse(); if ( lexer.error_count != 0 ) { System.err.println(lexer.error_count + " error(s)."); System.exit(1); } // if there are still interfaces to be parsed, wait until the // threads performing this have finished. The last one // will call notify() :) if( parser.pending_interfaces.size() > 0 ) { // give other threads a chance to start and signal // that they're active Thread.yield(); boolean runnableFound = false; // still no one seems to be active, but we'll call // round to be sure if( parser.activeParseThreads() == 0 ) { for( int t = 0; t < InterfaceBody.parseThreads.size() && !runnableFound; t++ ) { runnableFound = ((InterfaceBody.ParseThread)InterfaceBody.parseThreads.elementAt(t)).isRunnable(); } } // only block waiting if we know that there are active or // runnable threads and that there are still pending tasks if( ( parser.activeParseThreads() > 1 || runnableFound ) && parser.pending_interfaces.size() > 0 ) { synchronized( parser.pending_interfaces ) { parser.pending_interfaces.wait(); } } } if( parser.pending_interfaces.size() > 0 && !parser.sloppy ) { parser.fatal_error("Undefined interface: " + (String)(parser.pending_interfaces.keys().nextElement()), null ); } /* okay, parsing is done */ parser.done_parsing = true; /* code generation phase */ if (! ((org.jacorb.idl.parser)CUP$parser).parse_only ) { ((Spec)CUP$result).print( new java.io.PrintWriter( java.lang.System.out ) ); } } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // NT$0 ::= { CUP$result = new java_cup.runtime.token(/*NT$0*/98); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= specification EOF { CUP$result = new java_cup.runtime.token(/*$START*/0); } /* ACCEPT */ CUP$parser.done_parsing(); return CUP$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/459917427e43784c811fea8081796b8a67dfaa54/parser.java/clean/src/org/jacorb/idl/parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2896,
67,
1128,
12,
565,
509,
13491,
385,
3079,
8,
621,
67,
2107,
16,
565,
2252,
67,
71,
416,
18,
9448,
18,
10826,
67,
4288,
385,
3079,
8,
4288,
16,
565,
2252,
18,
1367,
18,
2624,
5411,
385,
3079,
8,
3772,
16,
565,
509,
13491,
385,
3079,
8,
3669,
13,
565,
1216,
2252,
18,
4936,
18,
503,
565,
288,
1377,
1748,
733,
364,
327,
628,
4209,
1195,
1377,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2088,
31,
1377,
1748,
2027,
326,
1301,
2511,
603,
326,
1301,
1300,
1195,
1377,
1620,
261,
39,
3079,
8,
621,
67,
2107,
13,
3639,
288,
1850,
1748,
18,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
5549,
1850,
648,
576,
5558,
30,
368,
1008,
493,
33,
2398,
288,
2868,
385,
3079,
8,
2088,
273,
394,
2252,
67,
71,
416,
18,
9448,
18,
7175,
12,
20308,
5531,
5549,
24,
1769,
12900,
289,
1850,
327,
385,
3079,
8,
2088,
31,
1850,
1748,
18,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
263,
5549,
1850,
648,
28298,
30,
368,
579,
67,
723,
67,
2793,
493,
33,
888,
556,
1069,
2398,
288,
2868,
385,
3079,
8,
2088,
273,
394,
1412,
1990,
12,
20308,
891,
67,
723,
67,
2793,
5549,
6334,
1769,
9079,
14015,
559,
1990,
13,
39,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2896,
67,
1128,
12,
565,
509,
13491,
385,
3079,
8,
621,
67,
2107,
16,
565,
2252,
67,
71,
416,
18,
9448,
18,
10826,
67,
4288,
385,
3079,
8,
4288,
16,
565,
2252,
18,
1367,
18,
2624,
5411,
385,
3079,
8,
3772,
16,
565,
509,
13491,
385,
3079,
8,
3669,
13,
565,
1216,
2252,
18,
4936,
18,
503,
565,
288,
1377,
1748,
733,
364,
327,
628,
4209,
1195,
1377,
2252,
67,
71,
416,
18,
9448,
18,
7175,
385,
3079,
8,
2088,
31,
1377,
1748,
2027,
326,
1301,
2511,
603,
326,
1301,
1300,
1195,
1377,
1620,
261,
39,
3079,
8,
621,
67,
2107,
13,
3639,
288,
1850,
2
] |
return visitASTNode(y,o); }
|
return visitASTNode(y, o); }
|
public Object visitImportDecl(ImportDecl y, Object o) { return visitASTNode(y,o); }
|
46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/88c3a23ce6920080a820fcffe73c2469f7571ad9/CloneVisitorSuper.java/clean/src/escjava/trunk/ESCTools/Rcc/java/rcc/ast/CloneVisitorSuper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
1033,
3757,
5010,
3456,
12,
5010,
3456,
677,
16,
1033,
320,
13,
288,
1377,
327,
3757,
9053,
907,
12,
93,
16,
83,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
565,
1071,
1033,
3757,
5010,
3456,
12,
5010,
3456,
677,
16,
1033,
320,
13,
288,
1377,
327,
3757,
9053,
907,
12,
93,
16,
83,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { final GameLoadingWindow window = new GameLoadingWindow(); window.setVisible(true); window.showWait(); } }); }
|
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/31e8efb23ac0622489adc11ff0f984edb0b1b1ff/GameLoadingWindow.java/clean/triplea/src/games/strategy/engine/framework/startup/ui/GameLoadingWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
565,
288,
13491,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
3639,
288,
10792,
1071,
918,
1086,
1435,
5411,
288,
7734,
727,
14121,
10515,
3829,
2742,
273,
394,
14121,
10515,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2774,
12,
780,
8526,
833,
13,
565,
288,
13491,
26145,
11864,
18,
14407,
20607,
12,
2704,
10254,
1435,
3639,
288,
10792,
1071,
918,
1086,
1435,
5411,
288,
7734,
727,
14121,
10515,
3829,
2742,
273,
394,
14121,
10515,
3829,
5621,
7734,
2742,
18,
542,
6207,
12,
3767,
1769,
27573,
2742,
18,
4500,
5480,
5621,
10792,
289,
7734,
15549,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
endpoint.deactivate();
|
try { endpoint.deactivate(); } catch (Exception e) { exception = e; } } if (exception != null) { throw exception;
|
public void stop() throws Exception { this.status = LifeCycleMBean.STOPPED; // Activate endpoints for (Iterator iter = getEndpoints().iterator(); iter.hasNext();) { Endpoint endpoint = (Endpoint) iter.next(); endpoint.deactivate(); } }
|
6264 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6264/7a41d5c6191cf2070830f71ee9329a49a0169968/ServiceUnit.java/buggy/servicemix-common/src/main/java/org/apache/servicemix/common/ServiceUnit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2132,
1435,
1216,
1185,
288,
3639,
333,
18,
2327,
273,
28128,
13279,
18089,
18,
17513,
12120,
31,
3639,
368,
30936,
7902,
3639,
364,
261,
3198,
1400,
273,
336,
10357,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
6961,
2494,
273,
261,
3293,
13,
1400,
18,
4285,
5621,
5411,
775,
288,
2494,
18,
323,
10014,
5621,
289,
1044,
261,
503,
425,
13,
288,
1520,
273,
425,
31,
289,
289,
309,
261,
4064,
480,
446,
13,
288,
604,
1520,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2132,
1435,
1216,
1185,
288,
3639,
333,
18,
2327,
273,
28128,
13279,
18089,
18,
17513,
12120,
31,
3639,
368,
30936,
7902,
3639,
364,
261,
3198,
1400,
273,
336,
10357,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
6961,
2494,
273,
261,
3293,
13,
1400,
18,
4285,
5621,
5411,
775,
288,
2494,
18,
323,
10014,
5621,
289,
1044,
261,
503,
425,
13,
288,
1520,
273,
425,
31,
289,
289,
309,
261,
4064,
480,
446,
13,
288,
604,
1520,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject);
|
public void projectOpened() { if (ApplicationManager.getApplication().isHeadlessEnvironment()) return; StartupManager.getInstance(myProject).registerPostStartupActivity(new Runnable() { public void run() { myContentManager = PeerFactory.getInstance().getContentFactory().createContentManager(true, myProject); ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject); ToolWindow toolWindow = toolWindowManager.registerToolWindow(ToolWindowId.DEPENDENCIES, myContentManager.getComponent(), ToolWindowAnchor.BOTTOM); toolWindow.setIcon(IconLoader.getIcon("/general/toolWindowInspection.png")); new ContentManagerWatcher(toolWindow, myContentManager); } }); }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/5b72c2198882fa306177c484063ede77ad1301dc/DependencyValidationManagerImpl.java/clean/source/com/intellij/packageDependencies/DependencyValidationManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1984,
23115,
1435,
288,
565,
309,
261,
3208,
1318,
18,
588,
3208,
7675,
291,
1414,
2656,
5494,
10756,
327,
31,
565,
3603,
416,
1318,
18,
588,
1442,
12,
4811,
4109,
2934,
4861,
3349,
22178,
6193,
12,
2704,
10254,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
3399,
1350,
1318,
273,
10669,
1733,
18,
588,
1442,
7675,
588,
1350,
1733,
7675,
2640,
1350,
1318,
12,
3767,
16,
3399,
4109,
1769,
9079,
13288,
3829,
5226,
3829,
273,
5226,
3829,
1318,
18,
4861,
6364,
3829,
12,
6364,
29981,
18,
1639,
25690,
1157,
7266,
3991,
16,
4766,
19694,
3399,
1350,
1318,
18,
588,
1841,
9334,
4766,
19694,
13288,
3829,
11605,
18,
28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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1984,
23115,
1435,
288,
565,
309,
261,
3208,
1318,
18,
588,
3208,
7675,
291,
1414,
2656,
5494,
10756,
327,
31,
565,
3603,
416,
1318,
18,
588,
1442,
12,
4811,
4109,
2934,
4861,
3349,
22178,
6193,
12,
2704,
10254,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
3399,
1350,
1318,
273,
10669,
1733,
18,
588,
1442,
7675,
588,
1350,
1733,
7675,
2640,
1350,
1318,
12,
3767,
16,
3399,
4109,
1769,
9079,
13288,
3829,
5226,
3829,
273,
5226,
3829,
1318,
18,
4861,
6364,
3829,
12,
6364,
29981,
18,
1639,
25690,
1157,
7266,
3991,
16,
4766,
19694,
3399,
1350,
1318,
18,
588,
1841,
9334,
4766,
19694,
13288,
3829,
11605,
18,
28891,
1769,
3639,
5226,
3829,
18,
542,
5554,
2
] |
|
} else if (jj_2_13(3)) {
|
} else if (jj_2_15(3)) {
|
final public PositiveCondition positiveCondition() throws ParseException { ConditionForOneIdentifier cfoi; Condition cond; PositiveCondition retVal; if (jj_2_12(3)) { cfoi = conditionForOneIdentifier(); {if (true) return new PositiveCondition(cfoi);} } else if (jj_2_13(3)) { jj_consume_token(LBRACE); retVal = new PositiveCondition(); label_3: while (true) { cond = condition(); retVal.add(cond); if (jj_2_11(3)) { ; } else { break label_3; } } jj_consume_token(RBRACE); {if (true) return retVal;} } else { jj_consume_token(-1); throw new ParseException(); } throw new Error("Missing return statement in function"); }
|
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/febc6aa07cc9db7fe8accccebc781a6bba1e9a18/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
6818,
3720,
3418,
6895,
3418,
1435,
1216,
10616,
288,
3639,
7949,
1290,
3335,
3004,
276,
617,
77,
31,
3639,
7949,
6941,
31,
3639,
6818,
3720,
3418,
12197,
31,
565,
309,
261,
78,
78,
67,
22,
67,
2138,
12,
23,
3719,
288,
1377,
276,
617,
77,
273,
2269,
1290,
3335,
3004,
5621,
7734,
288,
430,
261,
3767,
13,
327,
394,
6818,
3720,
3418,
12,
71,
617,
77,
1769,
97,
565,
289,
469,
309,
261,
78,
78,
67,
22,
67,
3600,
12,
23,
3719,
288,
1377,
10684,
67,
21224,
67,
2316,
12,
12995,
9254,
1769,
13491,
12197,
273,
394,
6818,
3720,
3418,
5621,
1377,
1433,
67,
23,
30,
1377,
1323,
261,
3767,
13,
288,
3639,
6941,
273,
2269,
5621,
13491,
12197,
18,
1289,
12,
10013,
1769,
3639,
309,
261,
78,
78,
67,
22,
67,
2499,
12,
23,
3719,
288,
1850,
274,
3639,
289,
469,
288,
1850,
898,
1433,
67,
23,
31,
3639,
289,
1377,
289,
1377,
10684,
67,
21224,
67,
2316,
12,
19437,
9254,
1769,
1850,
288,
430,
261,
3767,
13,
327,
12197,
31,
97,
565,
289,
469,
288,
1377,
10684,
67,
21224,
67,
2316,
19236,
21,
1769,
1377,
604,
394,
10616,
5621,
565,
289,
565,
604,
394,
1068,
2932,
4841,
327,
3021,
316,
445,
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,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
727,
1071,
6818,
3720,
3418,
6895,
3418,
1435,
1216,
10616,
288,
3639,
7949,
1290,
3335,
3004,
276,
617,
77,
31,
3639,
7949,
6941,
31,
3639,
6818,
3720,
3418,
12197,
31,
565,
309,
261,
78,
78,
67,
22,
67,
2138,
12,
23,
3719,
288,
1377,
276,
617,
77,
273,
2269,
1290,
3335,
3004,
5621,
7734,
288,
430,
261,
3767,
13,
327,
394,
6818,
3720,
3418,
12,
71,
617,
77,
1769,
97,
565,
289,
469,
309,
261,
78,
78,
67,
22,
67,
3600,
12,
23,
3719,
288,
1377,
10684,
67,
21224,
67,
2316,
12,
12995,
9254,
1769,
13491,
12197,
273,
394,
6818,
3720,
3418,
5621,
1377,
1433,
67,
23,
30,
1377,
1323,
261,
3767,
13,
288,
3639,
6941,
273,
2269,
2
] |
if ( context.isInFactory( ) && ( expressionResults != null ) )
|
if ( context.isInFactory( ) )
|
protected void accessRow( RowDesign row, IContentEmitter emitter, ExpressionResults expressionResults ) { if ( rowClosed ) { IRowContent rowContent = report.createRowContent( ); rowContent.setRowID( rowId++ ); assert ( rowContent instanceof RowContent ); IContent parent = context.getContent( ); context.pushContent( rowContent ); initializeContent( parent, row, rowContent ); processStyle( row, rowContent ); processVisibility( row, rowContent ); processBookmark( row, rowContent ); processAction( row, rowContent ); if ( needPageBreak ) { rowContent.getStyle( ).setProperty( IStyle.STYLE_PAGE_BREAK_BEFORE, IStyle.SOFT_VALUE ); needPageBreak = false; } if ( context.isInFactory( ) && ( expressionResults != null ) ) { DetailRowScriptExecutor.handleOnCreate( (RowContent) rowContent, expressionResults, context ); } if ( emitter != null ) { emitter.startRow( rowContent ); } rowClosed = false; } for ( int j = 0; j < row.getCellCount( ); j++ ) { CellDesign cell = row.getCell( j ); if ( cell != null ) { ICellContent cellContent = report.createCellContent( ); assert ( cellContent instanceof CellContent ); IContent parent = context.getContent( ); context.pushContent( cellContent ); initializeContent( parent, cell, cellContent ); cellContent.setColumn( cell.getColumn( ) ); cellContent.setColSpan( cell.getColSpan( ) ); cellContent.setRowSpan( cell.getRowSpan( ) ); processStyle( cell, cellContent ); processVisibility( cell, cellContent ); processBookmark( cell, cellContent ); processAction( cell, cellContent ); if ( context.isInFactory( ) ) { CellScriptExecutor.handleOnCreate( (CellContent) cellContent, expressionResults, context ); } if ( emitter != null ) { emitter.startCell( cellContent ); } for ( int m = 0; m < cell.getContentCount( ); m++ ) { ReportItemDesign item = cell.getContent( m ); if ( item != null ) { if ( layoutEmitter != null ) { item.accept( this.visitor, layoutEmitter .getCellEmitter( ) ); } else { item.accept( this.visitor, emitter ); } } } if ( emitter != null ) { emitter.endCell( cellContent ); } context.popContent( ); } } boolean closeRow = true; if ( closeRow ) { emitter.endRow( (IRowContent) context.getContent( ) ); context.popContent( ); rowClosed = true; } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/3ff8c8c7dcc1456137e4ae046739e5dc4d3f729d/TableItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/TableItemExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2006,
1999,
12,
6556,
15478,
1027,
16,
467,
1350,
13476,
11520,
16,
1082,
202,
2300,
3447,
2652,
3447,
262,
202,
95,
202,
202,
430,
261,
1027,
7395,
262,
202,
202,
95,
1082,
202,
45,
1999,
1350,
1027,
1350,
273,
2605,
18,
2640,
1999,
1350,
12,
11272,
1082,
202,
492,
1350,
18,
542,
1999,
734,
12,
26798,
9904,
11272,
1082,
202,
11231,
261,
1027,
1350,
1276,
6556,
1350,
11272,
1082,
202,
45,
1350,
982,
273,
819,
18,
588,
1350,
12,
11272,
1082,
202,
2472,
18,
6206,
1350,
12,
1027,
1350,
11272,
1082,
202,
11160,
1350,
12,
982,
16,
1027,
16,
1027,
1350,
11272,
1082,
202,
2567,
2885,
12,
1027,
16,
1027,
1350,
11272,
1082,
202,
2567,
10135,
12,
1027,
16,
1027,
1350,
11272,
1082,
202,
2567,
22966,
12,
1027,
16,
1027,
1350,
11272,
1082,
202,
2567,
1803,
12,
1027,
16,
1027,
1350,
11272,
1082,
202,
430,
261,
1608,
1964,
7634,
262,
1082,
202,
95,
9506,
202,
492,
1350,
18,
588,
2885,
12,
262,
18,
542,
1396,
12,
25083,
202,
45,
2885,
18,
15066,
67,
11219,
67,
27960,
67,
19152,
16,
467,
2885,
18,
3584,
4464,
67,
4051,
11272,
9506,
202,
14891,
1964,
7634,
273,
629,
31,
1082,
202,
97,
1082,
202,
430,
261,
819,
18,
291,
382,
1733,
12,
262,
597,
261,
2652,
3447,
480,
446,
262,
262,
1082,
202,
95,
9506,
202,
6109,
1999,
3651,
6325,
18,
4110,
1398,
1684,
12,
25083,
202,
12,
1999,
1350,
13,
1027,
1350,
16,
2652,
3447,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2006,
1999,
12,
6556,
15478,
1027,
16,
467,
1350,
13476,
11520,
16,
1082,
202,
2300,
3447,
2652,
3447,
262,
202,
95,
202,
202,
430,
261,
1027,
7395,
262,
202,
202,
95,
1082,
202,
45,
1999,
1350,
1027,
1350,
273,
2605,
18,
2640,
1999,
1350,
12,
11272,
1082,
202,
492,
1350,
18,
542,
1999,
734,
12,
26798,
9904,
11272,
1082,
202,
11231,
261,
1027,
1350,
1276,
6556,
1350,
11272,
1082,
202,
45,
1350,
982,
273,
819,
18,
588,
1350,
12,
11272,
1082,
202,
2472,
18,
6206,
1350,
12,
1027,
1350,
11272,
1082,
202,
11160,
1350,
12,
982,
16,
1027,
16,
1027,
1350,
11272,
1082,
202,
2567,
2885,
12,
1027,
16,
1027,
1350,
11272,
1082,
202,
2567,
2
] |
LocaleIDParser localIDParser = new LocaleIDParser();
|
LanguageTagParser localIDParser = new LanguageTagParser();
|
public void TestMinimalLocalization() { boolean testDraft = false; Map language_scripts = new HashMap(); Map language_territories = new HashMap(); getSupplementalData(language_scripts, language_territories); LocaleIDParser localIDParser = new LocaleIDParser(); // see http://oss.software.ibm.com/cvs/icu/~checkout~/locale/docs/design/minimal_requirements.htm Set missing = new TreeSet(); for (Iterator it = languageLocales.iterator(); it.hasNext();) { String locale = (String)it.next(); CLDRFile item = cldrFactory.make(locale, true); if (!testDraft && item.isDraft()) { logln(getLocaleAndName(locale) + "\tskipping draft"); continue; } localIDParser.set(locale); String language = localIDParser.getLanguage(); logln("Testing: " + locale); missing.clear(); // languages Set languages = new TreeSet(Arrays.asList(minimumLanguages)); languages.add(language); checkForItems(item, languages, "/ldml/localeDisplayNames/languages/language", missing); /* checkTranslatedCode(cldrfile, codes, "currency", "/ldml/numbers/currencies/currency"); checkTranslatedCode(cldrfile, codes, "tzid", "/ldml/dates/timeZoneNames/zone"); checkTranslatedCode(cldrfile, codes, "variant", "/ldml/localeDisplayNames/variants/variant");*/ Set countries = new TreeSet(Arrays.asList(minimumCountries)); Set others = (Set) language_territories.get(language); if (others != null) countries.addAll(others); checkForItems(item, countries, "/ldml/localeDisplayNames/territories/territory", missing); Set scripts = new TreeSet(); others = (Set) language_scripts.get(language); if (others != null && others.size() > 1) { scripts.addAll(others); checkForItems(item, scripts, "/ldml/localeDisplayNames/scripts/script", missing); } if (missing.size() > 0) { String s = getIDAndLocalization(missing); errln(getLocaleAndName(locale) + "\tmissing localizations: " + s); } } }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/87f1502b532679ffd1cea2a36c3e2c26d1626199/CLDRTest.java/buggy/tools/java/org/unicode/cldr/test/CLDRTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7766,
2930,
2840,
19157,
1435,
288,
202,
202,
6494,
1842,
12714,
273,
629,
31,
202,
202,
863,
2653,
67,
12827,
273,
394,
4317,
5621,
202,
202,
863,
2653,
67,
88,
370,
1811,
606,
273,
394,
4317,
5621,
202,
202,
588,
3088,
23026,
751,
12,
4923,
67,
12827,
16,
2653,
67,
88,
370,
1811,
606,
1769,
202,
202,
3916,
734,
2678,
1191,
734,
2678,
273,
394,
6458,
734,
2678,
5621,
202,
202,
759,
2621,
1062,
2207,
8464,
18,
9269,
2726,
18,
10827,
18,
832,
19,
71,
6904,
19,
335,
89,
19,
98,
17300,
98,
19,
6339,
19,
8532,
19,
16934,
19,
1154,
2840,
67,
16175,
18,
31180,
202,
202,
694,
3315,
273,
394,
19461,
5621,
202,
202,
1884,
261,
3198,
518,
273,
2653,
13310,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
780,
2573,
273,
261,
780,
13,
305,
18,
4285,
5621,
1082,
202,
5017,
6331,
812,
761,
273,
927,
3069,
1733,
18,
6540,
12,
6339,
16,
638,
1769,
1082,
202,
430,
16051,
3813,
12714,
597,
761,
18,
291,
12714,
10756,
288,
9506,
202,
1330,
2370,
12,
588,
3916,
1876,
461,
12,
6339,
13,
397,
1548,
3428,
1834,
1382,
12246,
8863,
9506,
202,
17143,
31,
1082,
202,
97,
1082,
202,
3729,
734,
2678,
18,
542,
12,
6339,
1769,
1082,
202,
780,
2653,
273,
1191,
734,
2678,
18,
588,
3779,
5621,
1082,
202,
1330,
2370,
2932,
22218,
30,
315,
397,
2573,
1769,
1082,
202,
7337,
18,
8507,
5621,
1082,
202,
759,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7766,
2930,
2840,
19157,
1435,
288,
202,
202,
6494,
1842,
12714,
273,
629,
31,
202,
202,
863,
2653,
67,
12827,
273,
394,
4317,
5621,
202,
202,
863,
2653,
67,
88,
370,
1811,
606,
273,
394,
4317,
5621,
202,
202,
588,
3088,
23026,
751,
12,
4923,
67,
12827,
16,
2653,
67,
88,
370,
1811,
606,
1769,
202,
202,
3916,
734,
2678,
1191,
734,
2678,
273,
394,
6458,
734,
2678,
5621,
202,
202,
759,
2621,
1062,
2207,
8464,
18,
9269,
2726,
18,
10827,
18,
832,
19,
71,
6904,
19,
335,
89,
19,
98,
17300,
98,
19,
6339,
19,
8532,
19,
16934,
19,
1154,
2840,
67,
16175,
18,
31180,
202,
202,
694,
3315,
273,
394,
19461,
5621,
202,
2
] |
switch ( eDerivedStructuralFeatureID( eFeature ) )
|
switch ( featureID )
|
public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case ModelPackage.CHART_WITHOUT_AXES__VERSION : unsetVersion( ); return; case ModelPackage.CHART_WITHOUT_AXES__TYPE : setType( TYPE_EDEFAULT ); return; case ModelPackage.CHART_WITHOUT_AXES__SUB_TYPE : setSubType( SUB_TYPE_EDEFAULT ); return; case ModelPackage.CHART_WITHOUT_AXES__DESCRIPTION : setDescription( (Text) null ); return; case ModelPackage.CHART_WITHOUT_AXES__BLOCK : setBlock( (Block) null ); return; case ModelPackage.CHART_WITHOUT_AXES__DIMENSION : unsetDimension( ); return; case ModelPackage.CHART_WITHOUT_AXES__SCRIPT : setScript( SCRIPT_EDEFAULT ); return; case ModelPackage.CHART_WITHOUT_AXES__UNITS : setUnits( UNITS_EDEFAULT ); return; case ModelPackage.CHART_WITHOUT_AXES__SERIES_THICKNESS : unsetSeriesThickness( ); return; case ModelPackage.CHART_WITHOUT_AXES__GRID_COLUMN_COUNT : unsetGridColumnCount( ); return; case ModelPackage.CHART_WITHOUT_AXES__EXTENDED_PROPERTIES : getExtendedProperties( ).clear( ); return; case ModelPackage.CHART_WITHOUT_AXES__SAMPLE_DATA : setSampleData( (SampleData) null ); return; case ModelPackage.CHART_WITHOUT_AXES__STYLES : getStyles( ).clear( ); return; case ModelPackage.CHART_WITHOUT_AXES__INTERACTIVITY : setInteractivity( (Interactivity) null ); return; case ModelPackage.CHART_WITHOUT_AXES__SERIES_DEFINITIONS : getSeriesDefinitions( ).clear( ); return; case ModelPackage.CHART_WITHOUT_AXES__MIN_SLICE : unsetMinSlice( ); return; case ModelPackage.CHART_WITHOUT_AXES__MIN_SLICE_PERCENT : unsetMinSlicePercent( ); return; case ModelPackage.CHART_WITHOUT_AXES__MIN_SLICE_LABEL : setMinSliceLabel( MIN_SLICE_LABEL_EDEFAULT ); return; } eDynamicUnset( eFeature ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/ChartWithoutAxesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartWithoutAxesImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
5757,
294,
9506,
202,
18579,
1444,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
2399,
294,
9506,
202,
542,
559,
12,
3463,
67,
11236,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
8362,
67,
2399,
294,
9506,
202,
542,
30511,
12,
10025,
67,
2399,
67,
11236,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
15911,
294,
9506,
202,
542,
3291,
12,
261,
1528,
13,
446,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
11403,
294,
9506,
202,
542,
1768,
12,
261,
1768,
13,
446,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
2565,
958,
3156,
1146,
294,
9506,
202,
18579,
8611,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
10885,
294,
9506,
202,
542,
3651,
12,
22812,
67,
11236,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
5757,
294,
9506,
202,
18579,
1444,
12,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
2399,
294,
9506,
202,
542,
559,
12,
3463,
67,
11236,
11272,
9506,
202,
2463,
31,
1082,
202,
3593,
3164,
2261,
18,
1792,
4928,
67,
9147,
5069,
67,
2501,
3991,
972,
8362,
67,
2399,
294,
9506,
202,
542,
30511,
12,
10025,
67,
2399,
67,
11236,
11272,
9506,
2
] |
synchronized (this) {
|
if (pleaseStopFlag) { if (!stoppedFlag) { stoppedFlag = true; notifyAll(); } break; }
|
public void run() { try { while (true) { if (pleaseStopFlag) // the buffering plugin is about to be moved/suspended stop! break; synchronized (this) { // grab all the tasks that have come in recently notYetDispatched.addAll (bufferedTasks); bufferedTasks.clear (); int tasksLeft = notYetDispatched.size (); if (anyTasksLeft ()) { long waitTime = getWaitTime (); if (waitTime > 0) { if (logger.isDebugEnabled()) logger.debug ("" + this + " listener " + myPlugin.getName () + " super has " + tasksLeft + " tasks left, waiting " + waitTime); wait (waitTime); } else if (logger.isDebugEnabled()) logger.debug ("" + this + " listener " + myPlugin.getName () + " not waiting"); } else { if (logger.isDebugEnabled()) logger.debug ("" + this + " listener " + myPlugin.getName () + " waiting with nothing to do. Has " + tasksLeft + "."); wait (); } } checkBuffer (notYetDispatched); } } catch (Exception e) { e.printStackTrace(); throw new UTILPluginException(e.getMessage()); } }
|
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/e81eb4f579b80e75636088ea73b39ac75d7032b3/UTILBufferingThread.java/buggy/toolkit/src/org/cougaar/lib/filter/UTILBufferingThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
288,
565,
775,
288,
1377,
1323,
261,
3767,
13,
288,
202,
430,
261,
1802,
448,
4947,
4678,
13,
368,
326,
25056,
1909,
353,
2973,
358,
506,
10456,
19,
87,
22942,
2132,
5,
202,
225,
898,
31,
202,
22043,
261,
2211,
13,
288,
202,
225,
368,
11086,
777,
326,
4592,
716,
1240,
12404,
316,
19907,
202,
225,
486,
61,
278,
5325,
329,
18,
1289,
1595,
261,
26385,
6685,
1769,
202,
225,
11445,
6685,
18,
8507,
261,
1769,
202,
225,
509,
4592,
3910,
273,
486,
61,
278,
5325,
329,
18,
1467,
261,
1769,
3196,
225,
309,
261,
2273,
6685,
3910,
1832,
13,
288,
202,
565,
1525,
30452,
273,
336,
23637,
261,
1769,
202,
565,
309,
261,
7048,
950,
405,
374,
13,
288,
9506,
1377,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
3196,
202,
4901,
18,
4148,
261,
3660,
397,
333,
397,
315,
2991,
315,
397,
3399,
3773,
18,
17994,
1832,
397,
4697,
1377,
315,
2240,
711,
315,
397,
4592,
3910,
397,
315,
4592,
2002,
16,
7336,
315,
397,
30452,
1769,
202,
1377,
2529,
261,
7048,
950,
1769,
202,
565,
289,
202,
565,
469,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
3196,
1377,
1194,
18,
4148,
261,
3660,
397,
333,
397,
315,
2991,
315,
397,
3399,
3773,
18,
17994,
1832,
397,
315,
486,
7336,
8863,
202,
225,
289,
202,
225,
469,
288,
202,
565,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
3196,
1377,
1194,
18,
4148,
261,
3660,
397,
333,
397,
315,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
288,
565,
775,
288,
1377,
1323,
261,
3767,
13,
288,
202,
430,
261,
1802,
448,
4947,
4678,
13,
368,
326,
25056,
1909,
353,
2973,
358,
506,
10456,
19,
87,
22942,
2132,
5,
202,
225,
898,
31,
202,
22043,
261,
2211,
13,
288,
202,
225,
368,
11086,
777,
326,
4592,
716,
1240,
12404,
316,
19907,
202,
225,
486,
61,
278,
5325,
329,
18,
1289,
1595,
261,
26385,
6685,
1769,
202,
225,
11445,
6685,
18,
8507,
261,
1769,
202,
225,
509,
4592,
3910,
273,
486,
61,
278,
5325,
329,
18,
1467,
261,
1769,
3196,
225,
309,
261,
2273,
6685,
3910,
1832,
13,
288,
202,
565,
1525,
30452,
273,
336,
23637,
261,
1769,
202,
565,
309,
261,
2
] |
System.out.println("VALUE "+value);
|
public ScuflGraph(GraphModel model, ProgList progs) { super(model); this.progs = progs; // Use a Custom Marquee Handler //setMarqueeHandler(new ScuflGraphPanel.ScuflMarqueeHandler()); // Tell the Graph to Select new Cells upon Insertion setSelectNewCells(true); // Make Ports Visible by Default setPortsVisible(true); // Use the Grid (but don't make it Visible) setGridEnabled(true); // Set the Grid Size to 10 Pixel setGridSize(6); // Set the Tolerance to 2 Pixel setTolerance(2);// newScuflModel(); scuflModel = new ScuflModel(); // Register a listener to print to stdout scuflModel.addListener(new ScuflModelEventPrinter(null)); scuflView = new XScuflView(scuflModel); setDropTarget(new DropTarget(this,this));// MouseListener that Prints the Cell on Doubleclick addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { if (e.getClickCount() == 2) { // Get Cell under Mousepointer int x = e.getX(), y = e.getY(); Object cell = getPortForLocation(x, y); // Print Cell Label if (cell != null) { String lab = convertValueToString(cell); JTextField textField = new JTextField(10); String value = null; if(dataSet.dataContains((Port)cell)) value = dataSet.getValue((Port)cell); System.out.println("VALUE "+value); String s = (String)JOptionPane.showInputDialog( null, "Value of "+lab, lab, JOptionPane.PLAIN_MESSAGE, null,null, ""); System.out.println(lab+" = "+s); if( s != null && !dataSet.dataContains((Port)cell) ) { dataSet.addData(lab,"string",s,(Port)cell); // add input port & data constraint try { Processor sinkProcessor = scuflModel.getWorkflowSinkProcessor(); Processor sourceProcessor = scuflModel.getWorkflowSourceProcessor(); org.embl.ebi.escience.scufl.InputPort input = null; OutputPort output = null; if( cell instanceof ScuflInputPort) // source { ScuflInputPort sip = (ScuflInputPort)cell; input = (org.embl.ebi.escience.scufl.InputPort)sip.getScuflPort(); sinkProcessor.addPort(input); output = new OutputPort(sourceProcessor,lab); sourceProcessor.addPort(output); } else if ( cell instanceof ScuflOutputPort) // sink { ScuflOutputPort sip = (ScuflOutputPort)cell; output = (org.embl.ebi.escience.scufl.OutputPort)sip.getScuflPort(); sourceProcessor.addPort(output); input = new InputPort(sinkProcessor,lab); sinkProcessor.addPort(input); } DataConstraint dc = new DataConstraint(scuflModel, output, input); scuflModel.addDataConstraint(dc); } catch(DuplicatePortNameException dpne) { System.out.println("DuplicatePortNameException"); } catch(DataConstraintCreationException dce) { System.out.println("DataConstraintCreationException"); } catch(PortCreationException pce) { System.out.println("PortCreationException"); } } } } } }); //registered with Swing's ToolTipManager ToolTipManager.sharedInstance().registerComponent(this); }
|
7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/28dc0075d0a8ab585c209d3cd063c55b5ea29468/ScuflGraph.java/clean/trunk/taverna1.0/src/uk/ac/mrc/hgmp/taverna/retsina/ScuflGraph.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2850,
696,
80,
4137,
12,
4137,
1488,
938,
16,
1186,
75,
682,
450,
564,
13,
377,
288,
1377,
2240,
12,
2284,
1769,
1377,
333,
18,
685,
564,
273,
450,
564,
31,
1377,
368,
2672,
279,
6082,
490,
297,
1857,
73,
4663,
1377,
368,
542,
49,
297,
1857,
73,
1503,
12,
2704,
2850,
696,
80,
4137,
5537,
18,
1541,
696,
80,
49,
297,
1857,
73,
1503,
10663,
1377,
368,
29860,
326,
5601,
358,
6766,
394,
31549,
12318,
8040,
285,
1377,
444,
3391,
1908,
10505,
12,
3767,
1769,
1377,
368,
4344,
24116,
24132,
635,
2989,
1377,
444,
11107,
6207,
12,
3767,
1769,
1377,
368,
2672,
326,
7145,
261,
12885,
2727,
1404,
1221,
518,
24132,
13,
1377,
444,
6313,
1526,
12,
3767,
1769,
1377,
368,
1000,
326,
7145,
6321,
358,
1728,
26070,
1377,
444,
6313,
1225,
12,
26,
1769,
1377,
368,
1000,
326,
399,
355,
8274,
358,
576,
26070,
1377,
444,
22678,
12,
22,
1769,
759,
1377,
394,
1541,
696,
80,
1488,
5621,
1377,
888,
696,
80,
1488,
273,
394,
2850,
696,
80,
1488,
5621,
1377,
368,
5433,
279,
2991,
358,
1172,
358,
3909,
1377,
888,
696,
80,
1488,
18,
1289,
2223,
12,
2704,
2850,
696,
80,
1488,
1133,
12149,
12,
2011,
10019,
1377,
888,
696,
80,
1767,
273,
394,
1139,
1541,
696,
80,
1767,
12,
1017,
696,
80,
1488,
1769,
1377,
444,
7544,
2326,
12,
2704,
10895,
2326,
12,
2211,
16,
2211,
10019,
759,
17013,
2223,
716,
3038,
87,
326,
8614,
603,
3698,
7475,
1377,
527,
9186,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2850,
696,
80,
4137,
12,
4137,
1488,
938,
16,
1186,
75,
682,
450,
564,
13,
377,
288,
1377,
2240,
12,
2284,
1769,
1377,
333,
18,
685,
564,
273,
450,
564,
31,
1377,
368,
2672,
279,
6082,
490,
297,
1857,
73,
4663,
1377,
368,
542,
49,
297,
1857,
73,
1503,
12,
2704,
2850,
696,
80,
4137,
5537,
18,
1541,
696,
80,
49,
297,
1857,
73,
1503,
10663,
1377,
368,
29860,
326,
5601,
358,
6766,
394,
31549,
12318,
8040,
285,
1377,
444,
3391,
1908,
10505,
12,
3767,
1769,
1377,
368,
4344,
24116,
24132,
635,
2989,
1377,
444,
11107,
6207,
12,
3767,
1769,
1377,
368,
2672,
326,
7145,
261,
12885,
2727,
1404,
1221,
518,
24132,
13,
1377,
444,
6313,
1526,
2
] |
|
sendHtml(req,res,vm, ADD_USER_TEMPLATE) ;
|
sendHtml(req,res,new Vector(), ADD_USER_TEMPLATE,null) ;
|
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { //log("start doGet"); // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; HttpSession session = req.getSession(true); //lets get the ServletContext ServletContext myContext = getServletContext(); // Lets get the standard parameters and validate them Properties params = super.getSessionParameters(req) ; if (super.checkParameters(req, res, params) == false) return ; // Lets get the user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; String metaId = params.getProperty("META_ID"); int meta_Id = Integer.parseInt( metaId ); if ( !isUserAuthorized( req, res, meta_Id, user ) ) { log("user not Authorized"); return; } //ok lets get the chat imcode.external.chat.Chat myChat = (imcode.external.chat.Chat)myContext.getAttribute("theChat"+metaId); // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; String chatPoolServer = Utility.getDomainPref("chat_server",host) ; RmiConf rmi = new RmiConf(user) ; String loginType = (req.getParameter("login_type")==null) ? "" : (req.getParameter("login_type")) ; if ( myChat == null ) { //we have to create the chat //hmta msgTypes with metaId testMetaID String sqlQ = "C_GetTheMsgTypes " + metaId; String[][] msgTypes = rmi.execProcedureMulti(chatPoolServer,sqlQ); Vector theMsgTypesV = super.convert2Vector(msgTypes); //get parameters from db String getParamsSql = "C_GetChatParameters "+metaId; String[] param = rmi.execSqlProcedure(chatPoolServer, "C_GetChatParameters '"+ metaId + "' "); Properties chatParams = super.getChatParams(param); String[] chatData = rmi.execSqlProcedure(chatPoolServer, "C_GetChatNameAndPerm '"+ metaId + "' "); chatParams.setProperty("chatName",chatData[0]); chatParams.setProperty("permission",chatData[1]); String[] types = rmi.execSqlProcedure(chatPoolServer, "C_GetChatAutoTypes '"+ metaId + "' "); //create a new chat object myChat = new Chat(meta_Id, theMsgTypesV,chatParams, types); //ok lets create all the groups String[][] roomIdNr = rmi.execProcedureMulti(chatPoolServer, "C_GetRooms " + metaId) ; for(int i=0; i<roomIdNr.length;i++) { //log(roomIdNr[i][0]); myChat.createNewChatGroup(Integer.parseInt(roomIdNr[i][0]), roomIdNr[i][1]); } myContext.setAttribute("theChat"+metaId,myChat); } //**** sets up the different loginpages **** String userIdStr = user.getString("user_id"); int userIdInt = Integer.parseInt(userIdStr); //lets get the authorization types for this chat String[] roles = myChat.getAuthorizations(); //ok lets setup the booleans for the loginpage boolean loggedOnOk = false; boolean aliasBol = false; boolean imCmsRegBol = false; boolean selfRegBol = false; //sets up the booleans Vector rolV = super.convert2Vector(roles); aliasBol = rolV.contains("1"); imCmsRegBol = rolV.contains("3"); if (imCmsRegBol) { selfRegBol = rolV.contains("2"); } //ok lets se if the user realy has loged in or if its a "User" if(userIdInt != 98)//obs 2 = Conferense users { loggedOnOk = true; } //log("loggedOnOk = "+loggedOnOk); //log("aliasBol ="+aliasBol); //log("imCmsRegBol ="+imCmsRegBol); //log("selfRegBol ="+selfRegBol); if (aliasBol && !imCmsRegBol) {//only alias login //log("alt 1"); LOGIN_HTML = "CLogin1.htm"; }else if ( !aliasBol && imCmsRegBol ) {//only registred imcms users if(loggedOnOk) {//ok the user has loged in so lets fill in he's name //log("alt 2"); LOGIN_HTML = "CLogin2.htm"; }else { //log("alt 3"); LOGIN_HTML = "CLogin3.htm"; } } else { if (loggedOnOk) { //log("alt 5"); LOGIN_HTML = "CLogin5.htm" ; }else { //log("alt 4"); LOGIN_HTML = "CLogin4.htm" ; } } //log("TEMLPLATE = "+LOGIN_HTML); //log("selfRegBol = "+selfRegBol);// LOGIN_HTML = "CLogin3.htm"; String selfRegLink = ""; if(selfRegBol) { if (!loggedOnOk) { selfRegLink="<a href=\"#SERVLET_URL#ChatLogin?login_type=ADD_USER\">Registrera dig!</a>"; } } //log("\n\n\n"+user+"\n\n\n"); //obs mstefixas senare vilken mal som ska visas //*** end different login pages **** // ******** ADD USER PAGE ********* // Lets generate the adduser page if(loginType.equalsIgnoreCase("ADD_USER")) { //String htmlPage = rmi.getLoginPage(imcServer) ; // Lets build the Responsepage to the loginpage VariableManager vm = new VariableManager() ; Vector userInfoV = new Vector(20) ; // a vector, bigger than the amount fields vm = this.addUserInfo(vm,userInfoV) ; vm.addProperty("SERVLET_URL", MetaInfo.getServletPath(req)) ; sendHtml(req,res,vm, ADD_USER_TEMPLATE) ; return ; }//end ADD USER PAGE // ********** LOGIN PAGE ********* // Lets build the Responsepage to the loginpage VariableManager vm = new VariableManager() ; Html htm = new Html(); //get chatname String chatName = myChat.getChatName(); //Get all the rooms for the intended chat Enumeration enum = myChat.getAllChatGroups(); Vector roomsV = new Vector(); while (enum.hasMoreElements()) { ChatGroup tempGroup = (ChatGroup)enum.nextElement(); roomsV.addElement(Integer.toString(tempGroup.getGroupId())); roomsV.addElement(tempGroup.getGroupName()); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/430d9ed54a9461e77ea6e2de9ce4a477357217e2/ChatLogin.java/buggy/servlets/chat/ChatLogin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
202,
95,
202,
202,
759,
1330,
2932,
1937,
23611,
8863,
202,
202,
759,
511,
2413,
1954,
326,
1339,
16,
425,
18,
75,
711,
326,
729,
7545,
316,
358,
23214,
407,
35,
202,
202,
430,
261,
9565,
18,
1893,
2157,
12,
3658,
16,
455,
13,
422,
629,
13,
202,
2463,
274,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
12,
3767,
1769,
9506,
202,
759,
17307,
336,
326,
22717,
202,
202,
4745,
1042,
3399,
1042,
273,
29015,
5621,
202,
202,
759,
511,
2413,
336,
326,
4529,
1472,
471,
1954,
2182,
202,
202,
2297,
859,
273,
2240,
18,
588,
2157,
2402,
12,
3658,
13,
274,
202,
202,
430,
261,
9565,
18,
1893,
2402,
12,
3658,
16,
400,
16,
859,
13,
422,
629,
13,
327,
274,
202,
202,
759,
511,
2413,
336,
326,
729,
733,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
273,
2240,
18,
588,
1299,
2675,
12,
3658,
16,
455,
13,
274,
202,
202,
430,
12,
1355,
422,
446,
13,
327,
274,
9506,
202,
780,
2191,
548,
273,
859,
18,
588,
1396,
2932,
19294,
67,
734,
8863,
202,
202,
474,
2191,
67,
548,
273,
2144,
18,
2670,
1702,
12,
2191,
548,
11272,
6862,
202,
430,
261,
401,
291,
1299,
15341,
12,
1111,
16,
400,
16,
2191,
67,
548,
16,
729,
262,
262,
202,
202,
95,
1082,
202,
1330,
2932,
1355,
486,
6712,
1235,
8863,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
202,
95,
202,
202,
759,
1330,
2932,
1937,
23611,
8863,
202,
202,
759,
511,
2413,
1954,
326,
1339,
16,
425,
18,
75,
711,
326,
729,
7545,
316,
358,
23214,
407,
35,
202,
202,
430,
261,
9565,
18,
1893,
2157,
12,
3658,
16,
455,
13,
422,
629,
13,
202,
2463,
274,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
12,
3767,
1769,
9506,
202,
759,
17307,
336,
326,
22717,
202,
202,
4745,
1042,
3399,
1042,
273,
29015,
5621,
202,
202,
759,
511,
2413,
336,
326,
4529,
1472,
471,
1954,
2182,
202,
202,
2297,
859,
273,
2240,
18,
588,
2157,
2402,
2
] |
return false;
|
public boolean mergeInto(HistoryEntry entry) { if (entry.fEditorPart != null && refersToSameEditorInput(entry.fEditorPart.getEditorInput())) { if (fLocation != null) { if (entry.fLocation == null) { entry.fLocation= fLocation; return true; } else { return fLocation.mergeInto(entry.fLocation); } } return true; } return false; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/b190d5959ebfa0f0d9f58e5c5f3dda2af91ec32d/NavigationHistory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/NavigationHistory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1250,
2691,
5952,
12,
5623,
1622,
1241,
13,
288,
9506,
202,
430,
261,
4099,
18,
74,
6946,
1988,
480,
446,
597,
21368,
774,
8650,
6946,
1210,
12,
4099,
18,
74,
6946,
1988,
18,
588,
6946,
1210,
1435,
3719,
288,
6862,
202,
430,
261,
74,
2735,
480,
446,
13,
288,
25083,
202,
430,
261,
4099,
18,
74,
2735,
422,
446,
13,
288,
6862,
1082,
202,
4099,
18,
74,
2735,
33,
284,
2735,
31,
6862,
1082,
202,
2463,
638,
31,
25083,
202,
97,
469,
288,
6862,
1082,
202,
2463,
284,
2735,
18,
2702,
5952,
12,
4099,
18,
74,
2735,
1769,
25083,
202,
97,
6862,
202,
97,
6862,
202,
2463,
638,
31,
9506,
202,
97,
9506,
202,
2463,
629,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
21368,
774,
8650,
6946,
1210,
12,
4099,
18,
74,
6946,
1988,
18,
588,
6946,
1210,
1435,
3719,
288,
6862,
202,
430,
261,
74,
2735,
480,
446,
13,
288,
25083,
202,
430,
261,
4099,
18,
74,
2735,
422,
446,
13,
288,
6862,
1082,
202,
4099,
18,
74,
2735,
33,
284,
2735,
31,
6862,
1082,
202,
2463,
638,
31,
25083,
202,
97,
469,
288,
6862,
1082,
202,
2463,
284,
2735,
18,
2702,
5952,
12,
4099,
18,
74,
2735,
1769,
25083,
202,
97,
6862,
202,
97,
6862,
202,
2463,
638,
31,
9506,
202,
97,
9506,
202,
2463,
629,
2
] |
|
public void visitCaseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
public void visitCaseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
public void visitCaseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/clean/org/jruby/nodes/NodeVisitorAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2449,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2449,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
fs.put("PriorityClass", Short.toString(priorityClass));
|
public SimpleFieldSet getFieldSet() { SimpleFieldSet fs = new SimpleFieldSet(); fs.put("Identifier", identifier); fs.put("URI", uri.toString(false, false)); fs.put("Verbosity", Integer.toString(verbosity)); fs.put("PriorityClass", Short.toString(priorityClass)); fs.put("Persistence", ClientRequest.persistenceTypeString(persistenceType)); fs.put("PriorityClass", Short.toString(priorityClass)); fs.put("Global", Boolean.toString(global)); SimpleFieldSet files = new SimpleFieldSet(); // Flatten the hierarchy, it can be reconstructed on restarting. // Storing it directly would be a PITA. ManifestElement[] elements = SimpleManifestPutter.flatten(manifestElements); fs.put("DefaultName", defaultName); for(int i=0;i<elements.length;i++) { String num = Integer.toString(i); ManifestElement e = elements[i]; String mimeOverride = e.getMimeTypeOverride(); SimpleFieldSet subset = new SimpleFieldSet(); FreenetURI tempURI = e.getTargetURI(); subset.put("Name", e.getName()); if(tempURI != null) { subset.put("UploadFrom", "redirect"); subset.put("TargetURI", tempURI.toString()); } else { Bucket data = e.getData(); subset.put("DataLength", Long.toString(e.getSize())); if(mimeOverride != null) subset.put("Metadata.ContentType", mimeOverride); // What to do with the bucket? // It is either a persistent encrypted bucket or a file bucket ... if(data instanceof FileBucket) { subset.put("UploadFrom", "disk"); subset.put("Filename", ((FileBucket)data).getFile().getPath()); } else if((data instanceof PaddedEphemerallyEncryptedBucket) || (data == null)) { subset.put("UploadFrom", "direct"); } else { throw new IllegalStateException("Don't know what to do with bucket: "+data); } } files.put(num, subset); } fs.put("Files", files); if(token != null) fs.put("ClientToken", token); fs.put("Started", Boolean.toString(started)); fs.put("MaxRetries", maxRetries); return fs; }
|
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/b3df9447963c4f07a6c2a2e70bd2ba477e588925/PersistentPutDir.java/buggy/src/freenet/node/fcp/PersistentPutDir.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
5621,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
12,
5743,
16,
629,
10019,
202,
202,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
13182,
3113,
2445,
691,
18,
24854,
559,
780,
12,
24854,
559,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
5160,
3113,
3411,
18,
10492,
12,
6347,
10019,
202,
202,
5784,
974,
694,
1390,
273,
394,
4477,
974,
694,
5621,
202,
202,
759,
24226,
326,
9360,
16,
518,
848,
506,
23243,
329,
603,
7870,
310,
18,
202,
202,
759,
934,
6053,
518,
5122,
4102,
506,
279,
453,
1285,
37,
18,
202,
202,
9121,
1046,
8526,
2186,
273,
4477,
9121,
6426,
387,
18,
16940,
12,
14357,
3471,
1769,
202,
202,
2556,
18,
458,
2932,
1868,
461,
3113,
805,
461,
1769,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
6274,
18,
2469,
31,
77,
27245,
288,
1082,
202,
780,
818,
273,
2144,
18,
10492,
12,
77,
1769,
1082,
202,
9121,
1046,
425,
273,
2186,
63,
77,
15533,
1082,
202,
780,
4892,
6618,
273,
425,
18,
588,
16821,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
5621,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18,
458,
2932,
3098,
3113,
2003,
18,
10492,
12,
5743,
16,
629,
10019,
202,
202,
2556,
18,
458,
2932,
30594,
3113,
2144,
18,
10492,
12,
16629,
8807,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
13182,
3113,
2445,
691,
18,
24854,
559,
780,
12,
24854,
559,
10019,
202,
202,
2556,
18,
458,
2932,
8183,
797,
3113,
7925,
18,
10492,
12,
8457,
797,
10019,
202,
202,
2556,
18,
458,
2932,
2
] |
|
options.addAll(Arrays.asList(convertQueryOptionsToArray(prefs.getString(prefId + PREF_DELIM_REPOSITORY + repositoryUrl + PREF_DELIM_REPOSITORY + product))));
|
for (String option : convertQueryOptionsToArray(prefs.getString(prefId + PREF_DELIM_REPOSITORY + repositoryUrl + PREF_DELIM_REPOSITORY + product))) { if(!options.contains(option)) options.add(option); }
|
public static String[] getQueryOptions(String prefId, String[] selectedProducts, String repositoryUrl) { IPreferenceStore prefs = BugzillaUiPlugin.getDefault().getPreferenceStore(); if ((prefId.equals(IBugzillaConstants.VALUES_COMPONENT) || prefId.equals(IBugzillaConstants.VALUES_VERSION) || prefId .equals(IBugzillaConstants.VALUES_TARGET)) && selectedProducts != null) { List<String> options = new ArrayList<String>(); for (String product : selectedProducts) { options.addAll(Arrays.asList(convertQueryOptionsToArray(prefs.getString(prefId + PREF_DELIM_REPOSITORY + repositoryUrl + PREF_DELIM_REPOSITORY + product)))); } return options.toArray(new String[options.size()]); } else { return convertQueryOptionsToArray(prefs.getString(prefId + PREF_DELIM_REPOSITORY + repositoryUrl)); } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d4043cd223dc1a0aac5f8af8fc08ae76a1f17fe9/BugzillaUiPlugin.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/BugzillaUiPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
8526,
6041,
1320,
12,
780,
11307,
548,
16,
514,
8526,
3170,
13344,
16,
514,
3352,
1489,
13,
288,
202,
202,
45,
9624,
2257,
15503,
273,
16907,
15990,
13943,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
5621,
202,
202,
430,
14015,
25724,
548,
18,
14963,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
22922,
13,
747,
11307,
548,
18,
14963,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
5757,
13,
747,
11307,
548,
9506,
202,
18,
14963,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
16374,
3719,
9506,
202,
10,
10,
3170,
13344,
480,
446,
13,
288,
1082,
202,
682,
32,
780,
34,
702,
273,
394,
2407,
32,
780,
34,
5621,
1082,
202,
1884,
261,
780,
3017,
294,
3170,
13344,
13,
288,
9506,
202,
2116,
18,
1289,
1595,
12,
12726,
18,
345,
682,
12,
6283,
1138,
1320,
11698,
12,
1484,
2556,
18,
588,
780,
12,
25724,
548,
397,
7071,
42,
67,
31519,
67,
862,
30986,
25083,
202,
15,
3352,
1489,
397,
7071,
42,
67,
31519,
67,
862,
30986,
397,
3017,
3719,
10019,
1082,
202,
97,
1082,
202,
2463,
702,
18,
31447,
12,
2704,
514,
63,
2116,
18,
1467,
1435,
19226,
202,
202,
97,
469,
288,
1082,
202,
2463,
1765,
1138,
1320,
11698,
12,
1484,
2556,
18,
588,
780,
12,
25724,
548,
397,
7071,
42,
67,
31519,
67,
862,
30986,
397,
3352,
1489,
10019,
202,
202,
97,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
760,
514,
8526,
6041,
1320,
12,
780,
11307,
548,
16,
514,
8526,
3170,
13344,
16,
514,
3352,
1489,
13,
288,
202,
202,
45,
9624,
2257,
15503,
273,
16907,
15990,
13943,
3773,
18,
588,
1868,
7675,
588,
9624,
2257,
5621,
202,
202,
430,
14015,
25724,
548,
18,
14963,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
22922,
13,
747,
11307,
548,
18,
14963,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
5757,
13,
747,
11307,
548,
9506,
202,
18,
14963,
12,
13450,
637,
15990,
2918,
18,
16386,
67,
16374,
3719,
9506,
202,
10,
10,
3170,
13344,
480,
446,
13,
288,
1082,
202,
682,
32,
780,
34,
702,
273,
394,
2407,
32,
780,
34,
5621,
1082,
202,
1884,
2
] |
try
|
if ( pre.getImage( ) instanceof EmbeddedImage )
|
public void drawImage( ImageRenderEvent pre ) throws ChartException { if ( pre.getImage( ) == null || pre.getLocation( ) == null ) { return; } final String sUrl = pre.getImage( ).getURL( ); java.awt.Image img = null; try { img = (java.awt.Image) _ids.loadImage( new URL( sUrl ) ); } catch ( ChartException ilex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, ilex ); } catch ( MalformedURLException muex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, muex ); } if ( img == null ) { return; } Location loc = pre.getLocation( ); Position pos = pre.getPosition( ); if ( pos == null ) { pos = Position.INSIDE_LITERAL; } ImageObserver io = (ImageObserver) _ids.getObserver( ); int width = img.getWidth( io ); int height = img.getHeight( io ); int x = (int) loc.getX( ); int y = (int) loc.getY( ); switch ( pos.getValue( ) ) { case Position.INSIDE : case Position.OUTSIDE : x -= width / 2; y -= height / 2; break; case Position.LEFT : x -= width; y -= height / 2; break; case Position.RIGHT : y -= height / 2; break; case Position.ABOVE : x -= width / 2; y -= height; break; case Position.BELOW : x -= width / 2; break; } _g2d.drawImage( img, x, y, width, height, io ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/99ab478a2cd0ab25560606c29779d9cf026ebe25/SwingRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25783,
12,
3421,
3420,
1133,
675,
262,
1216,
14804,
503,
202,
95,
202,
202,
430,
261,
675,
18,
588,
2040,
12,
262,
422,
446,
747,
675,
18,
588,
2735,
12,
262,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
6385,
514,
22256,
273,
675,
18,
588,
2040,
12,
262,
18,
588,
1785,
12,
11272,
202,
202,
6290,
18,
2219,
88,
18,
2040,
3774,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
6081,
273,
261,
6290,
18,
2219,
88,
18,
2040,
13,
389,
2232,
18,
945,
2040,
12,
394,
1976,
12,
22256,
262,
11272,
202,
202,
97,
202,
202,
14683,
261,
14804,
503,
277,
4149,
262,
202,
202,
95,
1082,
202,
12849,
394,
14804,
503,
12,
14804,
3654,
3625,
3773,
18,
734,
16,
6862,
202,
7984,
503,
18,
25230,
1360,
16,
6862,
202,
398,
92,
11272,
202,
202,
97,
202,
202,
14683,
261,
20710,
4129,
338,
262,
202,
202,
95,
1082,
202,
12849,
394,
14804,
503,
12,
14804,
3654,
3625,
3773,
18,
734,
16,
6862,
202,
7984,
503,
18,
25230,
1360,
16,
6862,
202,
13297,
338,
11272,
202,
202,
97,
202,
202,
430,
261,
3774,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2735,
1515,
273,
675,
18,
588,
2735,
12,
11272,
202,
202,
2555,
949,
273,
675,
18,
588,
2555,
12,
11272,
202,
202,
430,
261,
949,
422,
446,
262,
202,
202,
95,
1082,
202,
917,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
25783,
12,
3421,
3420,
1133,
675,
262,
1216,
14804,
503,
202,
95,
202,
202,
430,
261,
675,
18,
588,
2040,
12,
262,
422,
446,
747,
675,
18,
588,
2735,
12,
262,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
6385,
514,
22256,
273,
675,
18,
588,
2040,
12,
262,
18,
588,
1785,
12,
11272,
202,
202,
6290,
18,
2219,
88,
18,
2040,
3774,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
6081,
273,
261,
6290,
18,
2219,
88,
18,
2040,
13,
389,
2232,
18,
945,
2040,
12,
394,
1976,
12,
22256,
262,
11272,
202,
202,
97,
202,
202,
14683,
261,
14804,
503,
277,
4149,
262,
2
] |
if (fMatch) return true;
|
} else { String fileName = part.getFileName(); if (fileName != null) { fileName = cleanFileName(fileName); if (matchFound(fileName)) { if (isDebug) { log("matched " + fileName); } return true; } if (unzipIsRequested && fileName.endsWith(ZIP_SUFFIX) && matchFoundInZip(part)){ return true; } }
|
private boolean matchFound(String fileName) { fileName = fileName.toLowerCase(Locale.US); fileName = fileName.trim(); for (int j = 0; j < masks.length; j++) { boolean fMatch; Mask mask = masks[j]; //XXX: file names in mail may contain directory - theoretically if (mask.suffixMatch) { fMatch = fileName.endsWith(mask.matchString); } else { fMatch = fileName.equals(mask.matchString); } if (fMatch) return true; // matching file found } return false; }
|
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/3aa6998faacb577899e228a34b7642d9fd9982c6/AttachmentFileNameIs.java/clean/trunk/src/java/org/apache/james/transport/matchers/AttachmentFileNameIs.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
845,
2043,
12,
780,
3968,
13,
288,
3639,
3968,
273,
3968,
18,
869,
5630,
12,
3916,
18,
3378,
1769,
3639,
3968,
273,
3968,
18,
5290,
5621,
10792,
364,
261,
474,
525,
273,
374,
31,
525,
411,
20931,
18,
2469,
31,
525,
27245,
288,
5411,
1250,
284,
2060,
31,
5411,
16698,
3066,
273,
20931,
63,
78,
15533,
13491,
368,
15639,
30,
585,
1257,
316,
4791,
2026,
912,
1867,
300,
326,
479,
88,
6478,
5411,
309,
261,
4455,
18,
8477,
2060,
13,
288,
7734,
284,
2060,
273,
3968,
18,
5839,
1190,
12,
4455,
18,
1916,
780,
1769,
5411,
289,
469,
288,
7734,
284,
2060,
273,
3968,
18,
14963,
12,
4455,
18,
1916,
780,
1769,
5411,
289,
5411,
289,
469,
288,
514,
3968,
273,
1087,
18,
588,
4771,
5621,
309,
261,
17812,
480,
446,
13,
288,
3968,
273,
2721,
4771,
12,
17812,
1769,
225,
309,
261,
1916,
2043,
12,
17812,
3719,
288,
309,
261,
291,
2829,
13,
288,
613,
2932,
11073,
315,
397,
3968,
1769,
289,
327,
638,
31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0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
845,
2043,
12,
780,
3968,
13,
288,
3639,
3968,
273,
3968,
18,
869,
5630,
12,
3916,
18,
3378,
1769,
3639,
3968,
273,
3968,
18,
5290,
5621,
10792,
364,
261,
474,
525,
273,
374,
31,
525,
411,
20931,
18,
2469,
31,
525,
27245,
288,
5411,
1250,
284,
2060,
31,
5411,
16698,
3066,
273,
20931,
63,
78,
15533,
13491,
368,
15639,
30,
585,
1257,
316,
4791,
2026,
912,
1867,
300,
326,
479,
88,
6478,
5411,
309,
261,
4455,
18,
8477,
2060,
13,
288,
7734,
284,
2060,
273,
3968,
18,
5839,
1190,
12,
4455,
18,
1916,
780,
1769,
5411,
289,
469,
288,
7734,
284,
2060,
273,
3968,
18,
14963,
12,
4455,
18,
1916,
780,
1769,
5411,
289,
5411,
289,
2
] |
public void setDialogType(int type) { this.fileChooser.setDialogType(type);
|
public void setDialogType(final int type) { fileChooser.setDialogType(type);
|
public void setDialogType(int type) { this.fileChooser.setDialogType(type); }
|
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/FileChooser.java/buggy/src/thaw/core/FileChooser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
6353,
559,
12,
474,
618,
13,
288,
202,
202,
2211,
18,
768,
17324,
18,
542,
6353,
559,
12,
723,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
444,
6353,
559,
12,
474,
618,
13,
288,
202,
202,
2211,
18,
768,
17324,
18,
542,
6353,
559,
12,
723,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.PartySubID get(org.quickfix.field.PartySubID value)
|
public quickfix.field.PartySubID get(quickfix.field.PartySubID value)
|
public org.quickfix.field.PartySubID get(org.quickfix.field.PartySubID value) throws FieldNotFound { getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationReportAck.java/clean/src/java/src/quickfix/fix44/AllocationReportAck.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
17619,
1676,
734,
336,
12,
19525,
904,
18,
1518,
18,
17619,
1676,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
9549,
904,
18,
1518,
18,
17619,
1676,
734,
336,
12,
19525,
904,
18,
1518,
18,
17619,
1676,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
o.write("<font color=" + c + ">" + ident + "</font>");
|
if (ident.equals("int") || ident.equals("void") || ident.equals("string") || ident.equals("bool")) { o.write("<span class=\"t\">" + ident + "</span>"); } else { o.write("<span class=\"i\">" + ident + "</span>"); }
|
public void asHTML (Output o) { String c = BackendHTML.IdentColor; if (type == TYPE) c = BackendHTML.TypeColor; else if (type == STRING) c = BackendHTML.StringColor; o.write("<font color=" + c + ">" + ident + "</font>"); }
|
5345 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5345/6676d99df452023146df224343fbbc77da7ccc7b/TokenIdent.java/buggy/danga/s2/TokenIdent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
487,
4870,
261,
1447,
320,
13,
377,
288,
202,
780,
276,
273,
11736,
4870,
18,
6106,
2957,
31,
202,
430,
261,
723,
422,
3463,
13,
276,
273,
11736,
4870,
18,
559,
2957,
31,
202,
12107,
309,
261,
723,
422,
9469,
13,
276,
273,
11736,
4870,
18,
780,
2957,
31,
202,
282,
309,
261,
6392,
18,
14963,
2932,
474,
7923,
747,
3390,
18,
14963,
2932,
6459,
7923,
747,
3390,
18,
14963,
2932,
1080,
7923,
747,
3390,
18,
14963,
2932,
6430,
6,
3719,
288,
225,
320,
18,
2626,
2932,
32,
3969,
667,
5189,
88,
21121,
397,
3390,
397,
6823,
3969,
2984,
1769,
289,
469,
288,
320,
18,
2626,
2932,
32,
3969,
667,
5189,
77,
21121,
397,
3390,
397,
6823,
3969,
2984,
1769,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
487,
4870,
261,
1447,
320,
13,
377,
288,
202,
780,
276,
273,
11736,
4870,
18,
6106,
2957,
31,
202,
430,
261,
723,
422,
3463,
13,
276,
273,
11736,
4870,
18,
559,
2957,
31,
202,
12107,
309,
261,
723,
422,
9469,
13,
276,
273,
11736,
4870,
18,
780,
2957,
31,
202,
282,
309,
261,
6392,
18,
14963,
2932,
474,
7923,
747,
3390,
18,
14963,
2932,
6459,
7923,
747,
3390,
18,
14963,
2932,
1080,
7923,
747,
3390,
18,
14963,
2932,
6430,
6,
3719,
288,
225,
320,
18,
2626,
2932,
32,
3969,
667,
5189,
88,
21121,
397,
3390,
397,
6823,
3969,
2984,
1769,
289,
469,
288,
320,
18,
2626,
2932,
32,
3969,
667,
5189,
77,
21121,
397,
3390,
397,
2
] |
if(currentTimeEvent != null){ return currentTimeEvent.getTime(seismo); } return new MicroSecondTimeRange(seismo.getRequestFilter()); }
|
if(currentTimeEvent != null){ return currentTimeEvent.getTime(seismo); } return new MicroSecondTimeRange(seismo.getRequestFilter()); }
|
protected MicroSecondTimeRange getTime(DataSetSeismogram seismo){ if(currentTimeEvent != null){ return currentTimeEvent.getTime(seismo); } return new MicroSecondTimeRange(seismo.getRequestFilter()); }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/63b03d2773040cfead1e6cfe5ecd63262393107b/BasicAmpConfig.java/clean/src/edu/sc/seis/fissuresUtil/display/BasicAmpConfig.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
18284,
8211,
950,
2655,
6135,
12,
13676,
1761,
6228,
5553,
695,
6228,
83,
15329,
7734,
309,
12,
2972,
950,
1133,
480,
446,
15329,
13491,
327,
6680,
1133,
18,
588,
950,
12,
307,
6228,
83,
1769,
7734,
289,
7734,
327,
394,
18284,
8211,
950,
2655,
12,
307,
6228,
83,
18,
588,
691,
1586,
10663,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
18284,
8211,
950,
2655,
6135,
12,
13676,
1761,
6228,
5553,
695,
6228,
83,
15329,
7734,
309,
12,
2972,
950,
1133,
480,
446,
15329,
13491,
327,
6680,
1133,
18,
588,
950,
12,
307,
6228,
83,
1769,
7734,
289,
7734,
327,
394,
18284,
8211,
950,
2655,
12,
307,
6228,
83,
18,
588,
691,
1586,
10663,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
FontRenderContext frc = context.getFontRenderContext();
|
public void paint(TextNode node, Graphics2D g2d, GraphicsNodeRenderContext context) { FontRenderContext frc = context.getFontRenderContext(); AttributedCharacterIterator aci = node.getAttributedCharacterIterator(); List textRuns = getTextRuns(node, aci, frc); // draw the underline and overline first, then the actual text // and finally the strikethrough paintDecorations(textRuns, g2d, TextSpanLayout.DECORATION_UNDERLINE); paintDecorations(textRuns, g2d, TextSpanLayout.DECORATION_OVERLINE); paintTextRuns(textRuns, g2d, context); paintDecorations(textRuns, g2d, TextSpanLayout.DECORATION_STRIKETHROUGH); }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/32fa5d6f134dbc7519ade5bde79d3c0386deef5e/StrokingTextPainter.java/buggy/sources/org/apache/batik/gvt/renderer/StrokingTextPainter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17299,
756,
16,
16830,
22,
40,
314,
22,
72,
16,
1082,
1377,
16830,
907,
3420,
1042,
819,
13,
288,
9079,
2380,
11050,
7069,
3198,
1721,
77,
273,
756,
18,
588,
861,
11050,
7069,
3198,
5621,
3639,
987,
977,
9361,
273,
6701,
9361,
12,
2159,
16,
1721,
77,
16,
284,
1310,
1769,
3639,
368,
3724,
326,
25985,
471,
1879,
1369,
1122,
16,
1508,
326,
3214,
977,
3639,
368,
471,
3095,
326,
609,
1766,
546,
2642,
3639,
12574,
7859,
1012,
12,
955,
9361,
16,
314,
22,
72,
16,
3867,
6952,
3744,
18,
1639,
9428,
2689,
67,
31625,
5997,
1769,
3639,
12574,
7859,
1012,
12,
955,
9361,
16,
314,
22,
72,
16,
3867,
6952,
3744,
18,
1639,
9428,
2689,
67,
12959,
5997,
1769,
3639,
12574,
1528,
9361,
12,
955,
9361,
16,
314,
22,
72,
16,
819,
1769,
3639,
12574,
7859,
1012,
12,
955,
9361,
16,
314,
22,
72,
16,
3867,
6952,
3744,
18,
1639,
9428,
2689,
67,
15765,
47,
1584,
44,
1457,
57,
16715,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17299,
756,
16,
16830,
22,
40,
314,
22,
72,
16,
1082,
1377,
16830,
907,
3420,
1042,
819,
13,
288,
9079,
2380,
11050,
7069,
3198,
1721,
77,
273,
756,
18,
588,
861,
11050,
7069,
3198,
5621,
3639,
987,
977,
9361,
273,
6701,
9361,
12,
2159,
16,
1721,
77,
16,
284,
1310,
1769,
3639,
368,
3724,
326,
25985,
471,
1879,
1369,
1122,
16,
1508,
326,
3214,
977,
3639,
368,
471,
3095,
326,
609,
1766,
546,
2642,
3639,
12574,
7859,
1012,
12,
955,
9361,
16,
314,
22,
72,
16,
3867,
6952,
3744,
18,
1639,
9428,
2689,
67,
31625,
5997,
1769,
3639,
12574,
7859,
1012,
12,
955,
9361,
16,
314,
22,
72,
16,
3867,
6952,
3744,
18,
1639,
2
] |
|
org.exist.xquery.parser.XQueryAST tmp126_AST = null; tmp126_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp126_AST);
|
org.exist.xquery.parser.XQueryAST tmp127_AST = null; tmp127_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp127_AST);
|
public final void forClause() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST forClause_AST = null; org.exist.xquery.parser.XQueryAST tmp126_AST = null; tmp126_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp126_AST); match(LITERAL_for); inVarBinding(); astFactory.addASTChild(currentAST, returnAST); { _loop100: do { if ((LA(1)==COMMA)) { match(COMMA); inVarBinding(); astFactory.addASTChild(currentAST, returnAST); } else { break _loop100; } } while (true); } forClause_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = forClause_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
364,
7044,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
364,
7044,
67,
9053,
273,
446,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
25452,
67,
9053,
273,
446,
31,
202,
202,
5645,
25452,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
6540,
9053,
2375,
12,
2972,
9053,
16,
1853,
25452,
67,
9053,
1769,
202,
202,
1916,
12,
23225,
67,
1884,
1769,
202,
202,
267,
1537,
5250,
5621,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
202,
202,
95,
202,
202,
67,
6498,
6625,
30,
202,
202,
2896,
288,
1082,
202,
430,
14015,
2534,
12,
21,
13,
631,
4208,
5535,
3719,
288,
9506,
202,
1916,
12,
4208,
5535,
1769,
9506,
202,
267,
1537,
5250,
5621,
9506,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
327,
9053,
1769,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
8820,
389,
6498,
6625,
31,
1082,
202,
97,
6862,
202,
97,
1323,
261,
3767,
1769,
202,
202,
97,
202,
202,
1884,
7044,
67,
9053,
273,
261,
3341,
18,
7398,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
364,
7044,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
364,
7044,
67,
9053,
273,
446,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
25452,
67,
9053,
273,
446,
31,
202,
202,
5645,
25452,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
6540,
9053,
2375,
12,
2972,
9053,
2
] |
if (greyScale){
|
if (greyScale) {
|
public void setGreyScale(boolean greyscale){ greyScale = greyscale; if (greyScale){ colors = gcolors; } else { colors = ccolors; } }
|
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/a396229531c70b2eda3069a5d4acad484e40e696/DTEDFrameColorTable.java/clean/src/openmap/com/bbn/openmap/layer/dted/DTEDFrameColorTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26770,
266,
93,
5587,
12,
6494,
5174,
1900,
1869,
15329,
3639,
5174,
93,
5587,
273,
5174,
1900,
1869,
31,
3639,
309,
261,
11556,
93,
5587,
13,
288,
5411,
5740,
273,
314,
9724,
31,
3639,
289,
3639,
469,
288,
5411,
5740,
273,
276,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
26770,
266,
93,
5587,
12,
6494,
5174,
1900,
1869,
15329,
3639,
5174,
93,
5587,
273,
5174,
1900,
1869,
31,
3639,
309,
261,
11556,
93,
5587,
13,
288,
5411,
5740,
273,
314,
9724,
31,
3639,
289,
3639,
469,
288,
5411,
5740,
273,
276,
9724,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return user;
|
session.commit();
|
public User create(final User user) { final Session session = openSession(); try { session.prepareStatement(SQL_CREATE); session.setQualifiedUsername(1, user.getId()); if(1 != session.executeUpdate()) throw new HypersonicException(""); final Long userId = session.getIdentity(); session.prepareStatement(SQL_CREATE_INFO); session.setLong(1, userId); session.setString(2, user.getFirstName()); session.setString(3, user.getLastName()); session.setString(4, user.getOrganization()); if(1 != session.executeUpdate()) throw new HypersonicException(""); user.setLocalId(userId); return user; } catch(final HypersonicException hx) { session.rollback(); throw hx; } finally { session.close(); } }
|
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/bb7556e69d7e76eb82a6aa4e9828e7a0bdcf041c/UserIOHandler.java/buggy/client-model/src/main/java/com/thinkparity/model/parity/model/io/db/hsqldb/handler/UserIOHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2177,
752,
12,
6385,
2177,
729,
13,
288,
3639,
727,
3877,
1339,
273,
29151,
5621,
3639,
775,
288,
5411,
1339,
18,
9366,
3406,
12,
3997,
67,
9344,
1769,
5411,
1339,
18,
542,
8708,
8575,
12,
21,
16,
729,
18,
26321,
10663,
5411,
309,
12,
21,
480,
1339,
18,
8837,
1891,
10756,
7734,
604,
394,
670,
879,
3565,
335,
503,
2932,
8863,
5411,
727,
3407,
6249,
273,
1339,
18,
588,
4334,
5621,
5411,
1339,
18,
9366,
3406,
12,
3997,
67,
9344,
67,
5923,
1769,
5411,
1339,
18,
542,
3708,
12,
21,
16,
6249,
1769,
5411,
1339,
18,
542,
780,
12,
22,
16,
729,
18,
588,
3759,
461,
10663,
5411,
1339,
18,
542,
780,
12,
23,
16,
729,
18,
588,
3024,
461,
10663,
5411,
1339,
18,
542,
780,
12,
24,
16,
729,
18,
588,
8113,
10663,
5411,
309,
12,
21,
480,
1339,
18,
8837,
1891,
10756,
7734,
604,
394,
670,
879,
3565,
335,
503,
2932,
8863,
5411,
729,
18,
542,
2042,
548,
12,
18991,
1769,
2398,
1339,
18,
7371,
5621,
3639,
289,
3639,
1044,
12,
6385,
670,
879,
3565,
335,
503,
366,
92,
13,
288,
5411,
1339,
18,
20050,
5621,
5411,
604,
366,
92,
31,
3639,
289,
3639,
3095,
288,
1339,
18,
4412,
5621,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
26321,
10663,
5411,
309,
12,
21,
480,
1339,
18,
8837,
1891,
10756,
7734,
604,
394,
670,
879,
3565,
335,
503,
2932,
8863,
5411,
727,
3407,
6249,
273,
1339,
18,
588,
4334,
5621,
5411,
1339,
18,
9366,
3406,
12,
3997,
67,
9344,
67,
5923,
1769,
5411,
1339,
18,
542,
3708,
12,
21,
16,
6249,
1769,
5411,
1339,
18,
542,
780,
12,
22,
16,
729,
18,
588,
3759,
461,
10663,
5411,
1339,
18,
542,
780,
12,
23,
16,
729,
18,
2
] |
setOnblur(null);
|
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setMaxlength((String) evalAttr("maxlength", getMaxlength(), String.class)); } catch (NullAttributeException ex) { setMaxlength(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setReadonly(false); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
|
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELTextTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
653,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8853,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
15604,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
15034,
12,
5743,
1769,
3639,
289,
3639,
775,
288,
5411,
10851,
2469,
12443,
780,
13,
5302,
3843,
2932,
27875,
3113,
7288,
2469,
9334,
4766,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
1862,
856,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
10655,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
2
] |
|
InputStream inputData = null;
|
public boolean performFinish( ) { final IPath locPath = getContainerFullPath( ); String fn = getFileName( ); final String fileName; if ( !fn.endsWith( SUFFIX ) ) //$NON-NLS-1$ { fileName = fn + SUFFIX; //$NON-NLS-1$ } else { fileName = fn; } InputStream inputData = null; URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( TEMPLATE_FILE ) ); if ( url != null ) { try { inputData = url.openStream( ); } catch ( IOException e1 ) { // ignore. } } final InputStream stream = inputData; IRunnableWithProgress op = new IRunnableWithProgress( ) { public void run( IProgressMonitor monitor ) { try { doFinish( locPath, fileName, stream, monitor ); } finally { monitor.done( ); } } }; try { getContainer( ).run( true, false, op ); } catch ( InterruptedException e ) { return false; } catch ( InvocationTargetException e ) { Throwable realException = e.getTargetException( ); ExceptionHandler.handle( realException ); return false; } return true; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/76ebe408a984f02b49cbaf1597c0c7a0213901fe/WizardNewLibraryCreationPage.java/clean/UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/wizards/WizardNewLibraryCreationPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
12,
262,
202,
95,
202,
202,
6385,
467,
743,
1515,
743,
273,
9272,
24173,
12,
11272,
202,
202,
780,
2295,
273,
13807,
12,
11272,
202,
202,
6385,
514,
3968,
31,
202,
202,
430,
261,
401,
4293,
18,
5839,
1190,
12,
11726,
13144,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
17812,
273,
2295,
397,
11726,
13144,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
17812,
273,
2295,
31,
202,
202,
97,
202,
202,
4348,
24149,
273,
446,
31,
202,
202,
1785,
880,
273,
11810,
18,
4720,
12,
11810,
18,
588,
3405,
12,
8706,
3773,
18,
22710,
67,
5370,
262,
16,
9506,
202,
2704,
2666,
12,
20835,
67,
3776,
262,
11272,
202,
202,
430,
261,
880,
480,
446,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2630,
751,
273,
880,
18,
3190,
1228,
12,
11272,
1082,
202,
97,
1082,
202,
14683,
261,
1860,
425,
21,
262,
1082,
202,
95,
9506,
202,
759,
2305,
18,
1082,
202,
97,
202,
202,
97,
202,
202,
6385,
5037,
1407,
273,
24149,
31,
202,
202,
45,
20013,
1190,
5491,
1061,
273,
394,
467,
20013,
1190,
5491,
12,
262,
288,
1082,
202,
482,
918,
1086,
12,
467,
5491,
7187,
6438,
262,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
2896,
11641,
12,
1515,
743,
16,
3968,
16,
1407,
16,
6438,
11272,
9506,
202,
97,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
12,
262,
202,
95,
202,
202,
6385,
467,
743,
1515,
743,
273,
9272,
24173,
12,
11272,
202,
202,
780,
2295,
273,
13807,
12,
11272,
202,
202,
6385,
514,
3968,
31,
202,
202,
430,
261,
401,
4293,
18,
5839,
1190,
12,
11726,
13144,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
17812,
273,
2295,
397,
11726,
13144,
31,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
17812,
273,
2295,
31,
202,
202,
97,
202,
202,
4348,
24149,
273,
446,
31,
202,
202,
1785,
880,
273,
11810,
18,
4720,
12,
11810,
18,
588,
3405,
12,
8706,
3773,
18,
22710,
2
] |
|
IASTNode node = scope.getPhysicalNode();
|
IASTNode node = ASTInternal.getPhysicalNodeOfScope(scope);
|
public static IBinding[] findBindings( IScope scope, String name ) throws DOMException{ IASTNode node = scope.getPhysicalNode(); if( node instanceof IASTFunctionDefinition ) node = ((IASTFunctionDefinition)node).getBody(); CASTName astName = new CASTName( name.toCharArray() ); astName.setParent( node ); //normal names astName.setPropertyInParent( STRING_LOOKUP_PROPERTY ); IBinding b1 = (IBinding) findBinding( astName, astName, COMPLETE ); //structure names astName.setPropertyInParent( STRING_LOOKUP_TAGS_PROPERTY ); IBinding b2 = (IBinding) findBinding( astName, astName, COMPLETE | TAGS ); //label names ILabel b3 = null; do{ char [] n = name.toCharArray(); if( scope instanceof ICFunctionScope ){ ILabel [] labels = ((CFunctionScope)scope).getLabels(); for( int i = 0; i < labels.length; i++ ){ ILabel label = labels[i]; if( CharArrayUtils.equals( label.getNameCharArray(), n) ){ b3 = label; break; } } break; } scope = scope.getParent(); } while( scope != null ); int c = (( b1 != null ) ? 1 : 0) + (( b2 != null ) ? 1 : 0) + (( b3 != null ) ? 1 : 0); IBinding [] result = new IBinding [c]; c = 0; if( b1 != null ) result[c++] = b1; if( b2 != null ) result[c++] = b2; if( b3 != null ) result[c] = b3; return result; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f5a4ba1d7638b16bde80c2f1086c78aa03af1f90/CVisitor.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
5250,
8526,
1104,
10497,
12,
467,
3876,
2146,
16,
514,
508,
262,
1216,
4703,
503,
95,
3639,
467,
9053,
907,
756,
273,
9183,
3061,
18,
588,
18136,
907,
951,
3876,
12,
4887,
1769,
3639,
309,
12,
756,
1276,
467,
9053,
2083,
1852,
262,
5411,
756,
273,
14015,
45,
9053,
2083,
1852,
13,
2159,
2934,
588,
2250,
5621,
7734,
6425,
882,
461,
3364,
461,
273,
394,
6425,
882,
461,
12,
508,
18,
869,
15936,
1435,
11272,
202,
565,
3364,
461,
18,
542,
3054,
12,
756,
11272,
202,
377,
202,
565,
368,
6130,
1257,
202,
565,
3364,
461,
18,
542,
1396,
382,
3054,
12,
9469,
67,
1502,
31581,
67,
9900,
11272,
202,
565,
467,
5250,
324,
21,
273,
261,
45,
5250,
13,
1104,
5250,
12,
3364,
461,
16,
3364,
461,
16,
25623,
11272,
540,
202,
565,
368,
7627,
1257,
3639,
3364,
461,
18,
542,
1396,
382,
3054,
12,
9469,
67,
1502,
31581,
67,
29915,
67,
9900,
11272,
3639,
467,
5250,
324,
22,
273,
261,
45,
5250,
13,
1104,
5250,
12,
3364,
461,
16,
3364,
461,
16,
25623,
571,
31510,
11272,
3639,
368,
1925,
1257,
3639,
467,
2224,
324,
23,
273,
446,
31,
3639,
741,
95,
5411,
1149,
5378,
290,
273,
508,
18,
869,
15936,
5621,
5411,
309,
12,
2146,
1276,
26899,
2083,
3876,
262,
95,
7734,
467,
2224,
5378,
3249,
273,
14015,
39,
2083,
3876,
13,
4887,
2934,
588,
5888,
5621,
7734,
364,
12,
509,
277,
273,
374,
31,
277,
411,
3249,
18,
2469,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
5250,
8526,
1104,
10497,
12,
467,
3876,
2146,
16,
514,
508,
262,
1216,
4703,
503,
95,
3639,
467,
9053,
907,
756,
273,
9183,
3061,
18,
588,
18136,
907,
951,
3876,
12,
4887,
1769,
3639,
309,
12,
756,
1276,
467,
9053,
2083,
1852,
262,
5411,
756,
273,
14015,
45,
9053,
2083,
1852,
13,
2159,
2934,
588,
2250,
5621,
7734,
6425,
882,
461,
3364,
461,
273,
394,
6425,
882,
461,
12,
508,
18,
869,
15936,
1435,
11272,
202,
565,
3364,
461,
18,
542,
3054,
12,
756,
11272,
202,
377,
202,
565,
368,
6130,
1257,
202,
565,
3364,
461,
18,
542,
1396,
382,
3054,
12,
9469,
67,
1502,
31581,
67,
9900,
11272,
202,
565,
467,
5250,
324,
21,
2
] |
return "loan-broker-sync-config.xml";
|
return "loan-broker-axis-sync-config.xml";
|
protected String getConfigResources() { return "loan-broker-sync-config.xml"; }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/985b100a70a44b41ee31d70c156cb8ba2ad0ebcf/AxisLoanBrokerSynchronousFunctionalTestCase.java/clean/samples/loanbroker/test/java/org/mule/samples/loanbroker/AxisLoanBrokerSynchronousFunctionalTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
4367,
3805,
1435,
288,
3639,
327,
315,
383,
304,
17,
21722,
17,
4890,
17,
8389,
17,
1425,
18,
2902,
14432,
565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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
514,
4367,
3805,
1435,
288,
3639,
327,
315,
383,
304,
17,
21722,
17,
4890,
17,
8389,
17,
1425,
18,
2902,
14432,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
tty = (SerialPort) port.openPort("Penman Driver", 1000);
|
tty = (SerialPort) port.open("Penman Driver", 1000);
|
private void init_comm(String portName) throws NoSuchPortException,PortInUseException, IOException,UnsupportedCommOperationException { // get list of ports available on this particular computer. // Enumeration pList = CommPortIdentifier.getPortIdentifiers(); // Print the list. A GUI program would put these in a chooser! // while (pList.hasMoreElements()) { // CommPortIdentifier cpi = (CommPortIdentifier)pList.nextElement(); // System.err.println("Port " + cpi.getName()); // } // Open a port. CommPortIdentifier port = CommPortIdentifier.getPortIdentifier(portName); // This form of openPort takes an Application Name and a timeout. tty = (SerialPort) port.openPort("Penman Driver", 1000); // set up the serial port tty.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE); tty.setFlowcontrolMode(SerialPort.FLOWCTRL_RTSCTS_OUT| SerialPort.FLOWCTRL_RTSCTS_OUT); // Get the input and output streams is = new DataInputStream(tty.getInputStream()); os = new DataOutputStream(tty.getOutputStream()); }
|
9469 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9469/b9ab85ef66a46cff57fc8390b8628db0041fd796/Penman.java/buggy/src/main/java/plotter/Penman.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
67,
5702,
12,
780,
1756,
461,
13,
1216,
5823,
2617,
503,
16,
2617,
15435,
503,
16,
1082,
202,
14106,
16,
8544,
12136,
10602,
288,
202,
202,
759,
336,
666,
434,
9048,
2319,
603,
333,
6826,
26579,
18,
202,
202,
759,
13864,
293,
682,
273,
16854,
2617,
3004,
18,
588,
2617,
12745,
5621,
202,
202,
759,
3038,
326,
666,
18,
432,
10978,
5402,
4102,
1378,
4259,
316,
279,
5011,
13164,
5,
202,
202,
759,
1323,
261,
84,
682,
18,
5332,
7417,
3471,
10756,
288,
1082,
202,
759,
16854,
2617,
3004,
3283,
77,
273,
261,
12136,
2617,
3004,
13,
84,
682,
18,
4285,
1046,
5621,
1082,
202,
759,
2332,
18,
370,
18,
8222,
2932,
2617,
315,
397,
3283,
77,
18,
17994,
10663,
202,
202,
759,
289,
9506,
202,
759,
3502,
279,
1756,
18,
3196,
202,
12136,
2617,
3004,
1756,
273,
1082,
202,
12136,
2617,
3004,
18,
588,
2617,
3004,
12,
655,
461,
1769,
202,
202,
759,
1220,
646,
434,
1696,
2617,
5530,
392,
4257,
1770,
471,
279,
2021,
18,
202,
202,
5512,
273,
261,
6342,
2617,
13,
1756,
18,
3190,
2617,
2932,
24251,
4728,
9396,
3113,
4336,
1769,
202,
202,
759,
444,
731,
326,
2734,
1756,
202,
202,
5512,
18,
542,
6342,
2617,
1370,
12,
10525,
713,
16,
7366,
2617,
18,
11102,
2090,
10158,
67,
28,
16,
1082,
202,
6342,
2617,
18,
17513,
25171,
67,
21,
16,
7366,
2617,
18,
2778,
4107,
67,
9826,
1769,
202,
202,
5512,
18,
542,
5249,
7098,
2309,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
67,
5702,
12,
780,
1756,
461,
13,
1216,
5823,
2617,
503,
16,
2617,
15435,
503,
16,
1082,
202,
14106,
16,
8544,
12136,
10602,
288,
202,
202,
759,
336,
666,
434,
9048,
2319,
603,
333,
6826,
26579,
18,
202,
202,
759,
13864,
293,
682,
273,
16854,
2617,
3004,
18,
588,
2617,
12745,
5621,
202,
202,
759,
3038,
326,
666,
18,
432,
10978,
5402,
4102,
1378,
4259,
316,
279,
5011,
13164,
5,
202,
202,
759,
1323,
261,
84,
682,
18,
5332,
7417,
3471,
10756,
288,
1082,
202,
759,
16854,
2617,
3004,
3283,
77,
273,
261,
12136,
2617,
3004,
13,
84,
682,
18,
4285,
1046,
5621,
1082,
202,
759,
2332,
18,
370,
18,
8222,
2932,
2617,
315,
2
] |
if ((eperson != null) && eperson.canLogIn())
|
if ((eperson != null && eperson.canLogIn()) || (eperson2 != null && eperson2.canLogIn()))
|
private void processEnterEmail(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { String email = request.getParameter("email").toLowerCase().trim(); EPerson eperson = EPerson.findByEmail(context, email); try { if (registering) { // If an already-active user is trying to register, inform them // so if ((eperson != null) && eperson.canLogIn()) { log.info(LogManager.getHeader(context, "already_registered", "email=" + email)); JSPManager.showJSP(request, response, "/register/already-registered.jsp"); } else { // Find out from site authenticator whether this email can // self-register boolean canRegister = Authenticate.getSiteAuth() .canSelfRegister(context, request, email); if (canRegister) { // OK to register. Send token. log.info(LogManager.getHeader(context, "sendtoken_register", "email=" + email)); AccountManager.sendRegistrationInfo(context, email); JSPManager.showJSP(request, response, "/register/registration-sent.jsp"); // Context needs completing to write registration data context.complete(); } else { JSPManager.showJSP(request, response, "/register/cannot-register.jsp"); } } } else { if (eperson == null) { // Invalid email address log.info(LogManager.getHeader(context, "unknown_email", "email=" + email)); request.setAttribute("retry", new Boolean(true)); JSPManager.showJSP(request, response, "/register/forgot-password.jsp"); } else if (!eperson.canLogIn()) { // Can't give new password to inactive user log.info(LogManager.getHeader(context, "unregistered_forgot_password", "email=" + email)); JSPManager.showJSP(request, response, "/register/inactive-account.jsp"); } else if (eperson.getRequireCertificate() && !registering) { // User that requires certificate can't get password log.info(LogManager.getHeader(context, "certificate_user_forgot_password", "email=" + email)); JSPManager.showJSP(request, response, "/error/require-certificate.jsp"); } else { // OK to send forgot pw token. log.info(LogManager.getHeader(context, "sendtoken_forgotpw", "email=" + email)); AccountManager.sendForgotPasswordInfo(context, email); JSPManager.showJSP(request, response, "/register/password-token-sent.jsp"); // Context needs completing to write registration data context.complete(); } } } catch (AddressException ae) { // Malformed e-mail address log.info(LogManager.getHeader(context, "bad_email", "email=" + email)); request.setAttribute("retry", new Boolean(true)); if (registering) { JSPManager.showJSP(request, response, "/register/new-user.jsp"); } else { JSPManager.showJSP(request, response, "/register/forgot-password.jsp"); } } catch (MessagingException me) { // Some other mailing error log.info(LogManager.getHeader(context, "error_emailing", "email=" + email), me); JSPManager.showInternalError(request, response); } }
|
47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/a7b957e70e83ad3ff55ae5a4a75694921654db1d/RegisterServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/RegisterServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
10237,
4134,
12,
1042,
819,
16,
9984,
590,
16,
5411,
12446,
766,
13,
1216,
16517,
16,
1860,
16,
5411,
6483,
16,
23859,
503,
565,
288,
3639,
514,
2699,
273,
590,
18,
588,
1662,
2932,
3652,
20387,
869,
5630,
7675,
5290,
5621,
3639,
512,
8346,
5529,
3565,
273,
512,
8346,
18,
4720,
858,
4134,
12,
2472,
16,
2699,
1769,
3639,
775,
3639,
288,
5411,
309,
261,
4861,
310,
13,
5411,
288,
7734,
368,
971,
392,
1818,
17,
3535,
729,
353,
8374,
358,
1744,
16,
13235,
2182,
7734,
368,
1427,
9079,
309,
14015,
881,
3565,
480,
446,
597,
5529,
3565,
18,
4169,
1343,
382,
10756,
747,
261,
881,
3565,
22,
480,
446,
597,
5529,
3565,
22,
18,
4169,
1343,
382,
1435,
3719,
7734,
288,
10792,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2472,
16,
18701,
315,
17583,
67,
14327,
3113,
315,
3652,
1546,
397,
2699,
10019,
10792,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
18701,
2206,
4861,
19,
17583,
17,
14327,
18,
24926,
8863,
7734,
289,
7734,
469,
7734,
288,
10792,
368,
4163,
596,
628,
2834,
17595,
2856,
333,
2699,
848,
10792,
368,
365,
17,
4861,
10792,
1250,
848,
3996,
273,
26644,
18,
588,
4956,
1730,
1435,
18701,
263,
4169,
10084,
3996,
12,
2472,
16,
590,
16,
2699,
1769,
10792,
309,
261,
4169,
3996,
13,
10792,
288,
13491,
368,
7791,
358,
1744,
18,
2479,
1147,
18,
13491,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
10237,
4134,
12,
1042,
819,
16,
9984,
590,
16,
5411,
12446,
766,
13,
1216,
16517,
16,
1860,
16,
5411,
6483,
16,
23859,
503,
565,
288,
3639,
514,
2699,
273,
590,
18,
588,
1662,
2932,
3652,
20387,
869,
5630,
7675,
5290,
5621,
3639,
512,
8346,
5529,
3565,
273,
512,
8346,
18,
4720,
858,
4134,
12,
2472,
16,
2699,
1769,
3639,
775,
3639,
288,
5411,
309,
261,
4861,
310,
13,
5411,
288,
7734,
368,
971,
392,
1818,
17,
3535,
729,
353,
8374,
358,
1744,
16,
13235,
2182,
7734,
368,
1427,
9079,
309,
14015,
881,
3565,
480,
446,
597,
5529,
3565,
18,
4169,
1343,
382,
10756,
747,
261,
881,
3565,
22,
480,
446,
597,
5529,
3565,
22,
18,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.