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
} catch (FinderException e) {
} catch (FinderException e) {
private PresentationObject doUpdate(IWContext iwc, TariffGroup group) throws java.rmi.RemoteException ,FinderException{ //Map mapOfIndices = Finder.mapOfIndicesByTypes(Finder.listOfTypeGroupedIndices()); Map mapOfIndices = getFinanceService().mapOfTariffIndicesByTypes(); int tariffCount = Integer.parseInt(iwc.getParameter("te_count")); String sName, sInfo, sDel, sPrice,sOldPrice, sAtt, sAK, sIndex, sIndexStamp; Integer ID; boolean bIndex; Integer tariffGroupID = Integer.valueOf(iwc.getParameter(prmGroup)); for (int i = 1; i < tariffCount + 1; i++) { ID = Integer.valueOf(iwc.getParameter("te_idinput" + i)); //System.out.println("processing "+ID); sName = iwc.getParameter("te_nameinput" + i); sPrice = (iwc.getParameter("te_priceinput" + i)); sOldPrice = (iwc.getParameter("te_oldprice"+i)); sDel = iwc.getParameter("te_delcheck" + i); sIndex = (iwc.getParameter("te_ixdrp" + i)); sIndexStamp = iwc.getParameter("te_ixdate" + i); IWTimestamp stamp = sIndexStamp != null ? new IWTimestamp(sIndexStamp) : null; if (stamp == null && sIndex != null && mapOfIndices != null && mapOfIndices.containsKey(sIndex)) { stamp = new IWTimestamp(((TariffIndex) mapOfIndices.get(sIndex)).getDate()); } // SHALL WE DELETE ? if (sDel != null ) { //System.err.println("deletion"); try { getFinanceService().removeTariff(ID); } catch (RemoteException e) { e.printStackTrace(); } catch (FinderException e) { e.printStackTrace(); } catch (RemoveException e) { e.printStackTrace(); } //FinanceBusiness.deleteTariff(ID); } // IF SINGLE EDIT LINE, THEN UPDATE else if(sName !=null && !"".equals(sName)){ //System.err.println("full form save"); sInfo = iwc.getParameter("te_infoinput" + i); sAtt = iwc.getParameter("te_attdrp" + i); sAK = (iwc.getParameter("te_akdrp" + i)); if (sIndex != null && !sIndex.equals("-1")) { bIndex = true; } else { bIndex = false; sIndex = ""; } java.sql.Timestamp indexStamp = stamp != null ? stamp.getTimestamp() : null; try { //FinanceBusiness.saveTariff( ID,sName, sInfo,sAtt,sIndex,bIndex,indexStamp,Float.parseFloat(sPrice),Integer.parseInt(sAK), tariffGroupID); getFinanceService().createOrUpdateTariff(ID,sName, sInfo,sAtt,sIndex,bIndex,indexStamp,Float.parseFloat(sPrice),Integer.valueOf(sAK), tariffGroupID); } catch (NumberFormatException e) { e.printStackTrace(); } catch (RemoteException e) { e.printStackTrace(); } catch (FinderException e) { e.printStackTrace(); } catch (CreateException e) { e.printStackTrace(); } } // IF PRICE UPDATE else if(sPrice!=null && sOldPrice!=null){ //System.out.println("prices not null"); if(!sPrice.equals(sOldPrice)){ //System.out.println("prices not same"); java.sql.Timestamp indexStamp = stamp != null ? stamp.getTimestamp() : null; getFinanceService().updateTariffPrice(ID,Float.valueOf(sPrice),indexStamp); //FinanceBusiness.updateTariffPrice(ID,Float.parseFloat(sPrice),indexStamp); } } } // for loop return getSingleLineChange(iwc, false, false, group); }
57001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57001/33e5c85ca31478329116ab80b95fd07320394530/TariffEditor.java/clean/src/java/com/idega/block/finance/presentation/TariffEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 25130, 367, 921, 741, 1891, 12, 45, 59, 1042, 25522, 71, 16, 20334, 3048, 1114, 1041, 13, 202, 202, 15069, 2252, 18, 8864, 77, 18, 5169, 503, 269, 8441, 503, 95, 202, 202, 759, 863, 852, 951, 8776, 273, 19307, 18, 1458, 951, 8776, 858, 2016, 12, 8441, 18, 1098, 18859, 24125, 8776, 10663, 202, 202, 863, 852, 951, 8776, 273, 2812, 267, 1359, 1179, 7675, 1458, 951, 20464, 3048, 8776, 858, 2016, 5621, 202, 202, 474, 8232, 3048, 1380, 273, 2144, 18, 2670, 1702, 12, 22315, 71, 18, 588, 1662, 2932, 736, 67, 1883, 7923, 1769, 202, 202, 780, 14933, 16, 272, 966, 16, 272, 2837, 16, 272, 5147, 16, 87, 7617, 5147, 16, 272, 3075, 16, 272, 14607, 16, 272, 1016, 16, 272, 1016, 8860, 31, 202, 202, 4522, 1599, 31, 202, 202, 6494, 324, 1016, 31, 9506, 202, 4522, 8232, 3048, 30876, 273, 2144, 18, 1132, 951, 12, 22315, 71, 18, 588, 1662, 12, 683, 81, 1114, 10019, 202, 202, 1884, 261, 474, 277, 273, 404, 31, 277, 411, 8232, 3048, 1380, 397, 404, 31, 277, 27245, 288, 25083, 202, 734, 273, 2144, 18, 1132, 951, 12, 22315, 71, 18, 588, 1662, 2932, 736, 67, 350, 2630, 6, 397, 277, 10019, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 10632, 13773, 734, 1769, 1082, 202, 87, 461, 273, 25522, 71, 18, 588, 1662, 2932, 736, 67, 529, 2630, 6, 397, 277, 1769, 1082, 202, 87, 5147, 273, 261, 22315, 71, 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, 25130, 367, 921, 741, 1891, 12, 45, 59, 1042, 25522, 71, 16, 20334, 3048, 1114, 1041, 13, 202, 202, 15069, 2252, 18, 8864, 77, 18, 5169, 503, 269, 8441, 503, 95, 202, 202, 759, 863, 852, 951, 8776, 273, 19307, 18, 1458, 951, 8776, 858, 2016, 12, 8441, 18, 1098, 18859, 24125, 8776, 10663, 202, 202, 863, 852, 951, 8776, 273, 2812, 267, 1359, 1179, 7675, 1458, 951, 20464, 3048, 8776, 858, 2016, 5621, 202, 202, 474, 8232, 3048, 1380, 273, 2144, 18, 2670, 1702, 12, 22315, 71, 18, 588, 1662, 2932, 736, 67, 1883, 7923, 1769, 202, 202, 780, 14933, 16, 272, 966, 16, 272, 2837, 16, 272, 5147, 16, 87, 7617, 5147, 16, 272, 2 ]
public void delete(int index) { Object target = getTarget(); if(target instanceof MClassifier && _operations != null) { Object operation = _operations.get(index); if(operation != null) { _operations.remove(index); ((MClassifier) target).removeFeature((MOperation) operation); resetSize(); fireIntervalRemoved(this,index,index); } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/9663cad98990b6239664b0fcac6e603c62613e48/UMLOperationsListModel.java/clean/src_new/org/argouml/uml/ui/UMLOperationsListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3733, 12, 474, 1615, 15329, 921, 3299, 33, 588, 2326, 5621, 430, 12, 3299, 1336, 792, 49, 13860, 10, 10, 67, 17542, 5, 33, 2011, 15329, 921, 7624, 33, 67, 17542, 18, 588, 12, 1615, 1769, 430, 12, 7624, 5, 33, 2011, 15329, 67, 17542, 18, 4479, 12, 1615, 1769, 12443, 49, 13860, 13, 3299, 2934, 4479, 4595, 12443, 49, 2988, 13, 7624, 1769, 6208, 1225, 5621, 12179, 4006, 10026, 12, 2211, 16, 1615, 16, 1615, 1769, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3733, 12, 474, 1615, 15329, 921, 3299, 33, 588, 2326, 5621, 430, 12, 3299, 1336, 792, 49, 13860, 10, 10, 67, 17542, 5, 33, 2011, 15329, 921, 7624, 33, 67, 17542, 18, 588, 12, 1615, 1769, 430, 12, 7624, 5, 33, 2011, 15329, 67, 17542, 18, 4479, 12, 1615, 1769, 12443, 49, 13860, 13, 3299, 2934, 4479, 4595, 12443, 49, 2988, 13, 7624, 1769, 6208, 1225, 5621, 12179, 4006, 10026, 12, 2211, 16, 1615, 16, 1615, 1769, 9090, 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 ]
m_report.print(Messages.get().container( Messages.RPT_SEARCH_INDEXING_FILE_BEGIN_0), I_CmsReport.C_FORMAT_NOTE);
public void updateIndex(CmsObject cms, String source, String path) throws CmsIndexException { boolean folderReported = false; List resources = null; CmsResource res = null; try { if (CmsResource.isFolder(path)) { resources = cms.getResourcesInFolder(path, CmsResourceFilter.DEFAULT); } else { resources = Collections.EMPTY_LIST; } for (int i = 0; i < resources.size(); i++) { res = (CmsResource)resources.get(i); if (!res.isInternal()) { // we only have to index those resources that are not marked as internal if (res instanceof CmsFolder) { updateIndex(cms, source, cms.getRequestContext().removeSiteRoot(res.getRootPath())); continue; } if (m_report != null && !folderReported) { m_report.print(Messages.get().container(Messages.RPT_SEARCH_INDEXING_FOLDER_0), I_CmsReport.C_FORMAT_NOTE); m_report.println(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_ARGUMENT_1, path)); folderReported = true; } if (m_report != null) { m_report.print( org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_SUCCESSION_1, String.valueOf(m_threadManager.getCounter() + 1)), I_CmsReport.C_FORMAT_NOTE); m_report.print(Messages.get().container( Messages.RPT_SEARCH_INDEXING_FILE_BEGIN_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_ARGUMENT_1, res.getName())); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_DOTS_0), I_CmsReport.C_FORMAT_DEFAULT); } A_CmsIndexResource ires = new CmsVfsIndexResource(res); m_threadManager.createIndexingThread(cms, m_writer, ires, m_index); } } } catch (CmsIndexException exc) { if (m_report != null) { m_report.println(); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_FAILED_0), I_CmsReport.C_FORMAT_WARNING); m_report.println(exc); } if (LOG.isWarnEnabled()) { LOG.warn(Messages.get().key(Messages.LOG_INDEXING_PATH_FAILED_1, path), exc); } } catch (CmsException exc) { if (m_report != null) { m_report.println(Messages.get().container( Messages.RPT_SEARCH_INDEXING_FOLDER_FAILED_2, path, exc.getLocalizedMessage()), I_CmsReport.C_FORMAT_WARNING); } if (LOG.isWarnEnabled()) { LOG.warn(Messages.get().key(Messages.LOG_INDEXING_PATH_FAILED_1, path), exc); } } catch (Exception exc) { if (m_report != null) { m_report.println( Messages.get().container(Messages.RPT_SEARCH_INDEXING_FOLDER_0), I_CmsReport.C_FORMAT_WARNING); } if (LOG.isWarnEnabled()) { LOG.warn(Messages.get().key(Messages.LOG_INDEXING_PATH_FAILED_1, path), exc); } throw new CmsIndexException(Messages.get().container(Messages.LOG_INDEXING_FAILED_1)); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/f12328204dd4cd4c2d95d0595fb352cd0e93c475/CmsVfsIndexer.java/buggy/src/org/opencms/search/CmsVfsIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1016, 12, 4747, 921, 6166, 16, 514, 1084, 16, 514, 589, 13, 1216, 2149, 1016, 503, 288, 3639, 1250, 3009, 426, 1798, 273, 629, 31, 3639, 987, 2703, 273, 446, 31, 3639, 7630, 400, 273, 446, 31, 3639, 775, 288, 5411, 309, 261, 4747, 1420, 18, 291, 3899, 12, 803, 3719, 288, 7734, 2703, 273, 6166, 18, 588, 3805, 382, 3899, 12, 803, 16, 21082, 18, 5280, 1769, 5411, 289, 469, 288, 7734, 2703, 273, 5737, 18, 13625, 67, 7085, 31, 5411, 289, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 1467, 5621, 277, 27245, 288, 7734, 400, 273, 261, 4747, 1420, 13, 4683, 18, 588, 12, 77, 1769, 7734, 309, 16051, 455, 18, 291, 3061, 10756, 288, 10792, 368, 732, 1338, 1240, 358, 770, 5348, 2703, 716, 854, 486, 9350, 487, 2713, 10792, 309, 261, 455, 1276, 2149, 3899, 13, 288, 13491, 1089, 1016, 12, 6851, 16, 1084, 16, 6166, 18, 588, 21426, 7675, 4479, 21889, 12, 455, 18, 588, 21302, 1435, 10019, 13491, 1324, 31, 10792, 289, 10792, 309, 261, 81, 67, 6006, 480, 446, 597, 401, 5609, 426, 1798, 13, 288, 13491, 312, 67, 6006, 18, 1188, 12, 5058, 18, 588, 7675, 3782, 12, 5058, 18, 54, 1856, 67, 17251, 67, 9199, 1360, 67, 17357, 67, 20, 3631, 467, 67, 25702, 18, 39, 67, 7254, 67, 17857, 1769, 13491, 312, 67, 6006, 18, 8222, 12, 3341, 18, 556, 14645, 18, 6006, 18, 5058, 18, 588, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1016, 12, 4747, 921, 6166, 16, 514, 1084, 16, 514, 589, 13, 1216, 2149, 1016, 503, 288, 3639, 1250, 3009, 426, 1798, 273, 629, 31, 3639, 987, 2703, 273, 446, 31, 3639, 7630, 400, 273, 446, 31, 3639, 775, 288, 5411, 309, 261, 4747, 1420, 18, 291, 3899, 12, 803, 3719, 288, 7734, 2703, 273, 6166, 18, 588, 3805, 382, 3899, 12, 803, 16, 21082, 18, 5280, 1769, 5411, 289, 469, 288, 7734, 2703, 273, 5737, 18, 13625, 67, 7085, 31, 5411, 289, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 1467, 5621, 277, 27245, 288, 7734, 400, 273, 261, 4747, 1420, 13, 4683, 18, 588, 12, 77, 1769, 7734, 309, 2 ]
AST tmp253_AST = null; tmp253_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp253_AST);
AST tmp260_AST = null; tmp260_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp260_AST);
public final void wildcard() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST wildcard_AST = null; Token nc1 = null; AST nc1_AST = null; Token nc2 = null; AST nc2_AST = null; boolean synPredMatched669 = false; if (((LA(1)==STAR))) { int _m669 = mark(); synPredMatched669 = true; inputState.guessing++; try { { match(STAR); match(COLON); } } catch (RecognitionException pe) { synPredMatched669 = false; } rewind(_m669); inputState.guessing--; } if ( synPredMatched669 ) { match(STAR); match(COLON); nc1 = LT(1); nc1_AST = astFactory.create(nc1); astFactory.addASTChild(currentAST, nc1_AST); match(NCNAME); if ( inputState.guessing==0 ) { wildcard_AST = (AST)currentAST.root; wildcard_AST= (AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(PREFIX_WILDCARD,"*")).add(nc1_AST)); currentAST.root = wildcard_AST; currentAST.child = wildcard_AST!=null &&wildcard_AST.getFirstChild()!=null ? wildcard_AST.getFirstChild() : wildcard_AST; currentAST.advanceChildToEnd(); } wildcard_AST = (AST)currentAST.root; } else if ((LA(1)==NCNAME)) { nc2 = LT(1); nc2_AST = astFactory.create(nc2); astFactory.addASTChild(currentAST, nc2_AST); match(NCNAME); match(COLON); match(STAR); if ( inputState.guessing==0 ) { wildcard_AST = (AST)currentAST.root; wildcard_AST= (AST)astFactory.make( (new ASTArray(2)).add(nc2_AST).add(astFactory.create(WILDCARD,"*"))); currentAST.root = wildcard_AST; currentAST.child = wildcard_AST!=null &&wildcard_AST.getFirstChild()!=null ? wildcard_AST.getFirstChild() : wildcard_AST; currentAST.advanceChildToEnd(); } wildcard_AST = (AST)currentAST.root; } else if ((LA(1)==STAR)) { AST tmp253_AST = null; tmp253_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp253_AST); match(STAR); if ( inputState.guessing==0 ) { wildcard_AST = (AST)currentAST.root; // make this distinct from multiplication wildcard_AST= astFactory.create(WILDCARD,"*"); currentAST.root = wildcard_AST; currentAST.child = wildcard_AST!=null &&wildcard_AST.getFirstChild()!=null ? wildcard_AST.getFirstChild() : wildcard_AST; currentAST.advanceChildToEnd(); } wildcard_AST = (AST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = wildcard_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/722cca774247887cf67fef993c71f848a05e075f/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 8531, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 8531, 67, 9053, 273, 446, 31, 202, 202, 1345, 225, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 21, 67, 9053, 273, 446, 31, 202, 202, 1345, 225, 8194, 22, 273, 446, 31, 202, 202, 9053, 8194, 22, 67, 9053, 273, 446, 31, 9506, 202, 6494, 6194, 10391, 15400, 6028, 29, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 20943, 20349, 288, 1082, 202, 474, 389, 81, 6028, 29, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 6028, 29, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 12, 20943, 1769, 9506, 202, 1916, 12, 4935, 673, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 6028, 29, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 6028, 29, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 6028, 29, 262, 288, 1082, 202, 1916, 12, 20943, 1769, 1082, 202, 1916, 12, 4935, 673, 1769, 1082, 202, 14202, 21, 273, 11807, 12, 21, 1769, 1082, 202, 14202, 21, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 8531, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 8531, 67, 9053, 273, 446, 31, 202, 202, 1345, 225, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 21, 67, 9053, 273, 446, 31, 202, 202, 1345, 225, 8194, 22, 273, 446, 31, 202, 202, 9053, 8194, 22, 67, 9053, 273, 446, 31, 9506, 202, 6494, 6194, 10391, 15400, 6028, 29, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 20943, 20349, 288, 1082, 202, 474, 389, 81, 6028, 29, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 6028, 2 ]
componentClass = forName(componentClassName, ctx.annotationType);
componentClass = forName(componentClassName, m_annotatedClassClassLoader);
protected Object handleClassIdentifier(final String identifier, final ParseContext ctx) { AnnotationValidator.validateClass(ctx); int index = identifier.lastIndexOf('.'); String componentClassName = identifier.substring(0, index); int dimension = 0; while (componentClassName.endsWith("[]")) { dimension++; componentClassName = componentClassName.substring(0, componentClassName.length() - 2); } Class componentClass; boolean isComponentPrimitive = true; if (componentClassName.equals("long")) { componentClass = long.class; } else if (componentClassName.equals("int")) { componentClass = int.class; } else if (componentClassName.equals("short")) { componentClass = short.class; } else if (componentClassName.equals("double")) { componentClass = double.class; } else if (componentClassName.equals("float")) { componentClass = float.class; } else if (componentClassName.equals("byte")) { componentClass = byte.class; } else if (componentClassName.equals("char")) { componentClass = char.class; } else if (componentClassName.equals("boolean")) { componentClass = boolean.class; } else if (componentClassName.equals("java.lang.String")) { componentClass = String.class; } else { isComponentPrimitive = false; try { componentClass = forName(componentClassName, ctx.annotationType); } catch (ClassNotFoundException e) { throw new ParseException( "could not load class [" + componentClassName + "] due to: " + e.toString(), e ); } } if (isComponentPrimitive) { if (dimension <= 0) { Type componentType = Type.getType(componentClass); ctx.munger.visit(ctx.elementName, componentType); } else { Class arrayClass = Array.newInstance(componentClass, new int[dimension]).getClass(); Type componentType = Type.getType(arrayClass); ctx.munger.visit(ctx.elementName, componentType); } } else { String componentType = Type.getType(componentClass).getDescriptor(); for (int i = 0; i < dimension; i++) { componentType = "[" + componentType; } Type type = Type.getType(componentType); ctx.munger.visit(ctx.elementName, type); } return null; }
7955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7955/e1fe6df4d24b288b33733eef419745172196d5a8/AnnotationParser.java/buggy/backport175/src/main/org/codehaus/backport175/compiler/parser/AnnotationParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 1640, 797, 3004, 12, 6385, 514, 2756, 16, 727, 2884, 1042, 1103, 13, 288, 3639, 6090, 5126, 18, 5662, 797, 12, 5900, 1769, 3639, 509, 770, 273, 2756, 18, 2722, 31985, 2668, 1093, 1769, 3639, 514, 1794, 3834, 273, 2756, 18, 28023, 12, 20, 16, 770, 1769, 3639, 509, 4968, 273, 374, 31, 3639, 1323, 261, 4652, 3834, 18, 5839, 1190, 2932, 63, 4279, 3719, 288, 5411, 4968, 9904, 31, 5411, 1794, 3834, 273, 1794, 3834, 18, 28023, 12, 20, 16, 1794, 3834, 18, 2469, 1435, 300, 576, 1769, 3639, 289, 3639, 1659, 1794, 797, 31, 3639, 1250, 353, 1841, 9840, 273, 638, 31, 3639, 309, 261, 4652, 3834, 18, 14963, 2932, 5748, 6, 3719, 288, 5411, 1794, 797, 273, 1525, 18, 1106, 31, 3639, 289, 469, 309, 261, 4652, 3834, 18, 14963, 2932, 474, 6, 3719, 288, 5411, 1794, 797, 273, 509, 18, 1106, 31, 3639, 289, 469, 309, 261, 4652, 3834, 18, 14963, 2932, 6620, 6, 3719, 288, 5411, 1794, 797, 273, 3025, 18, 1106, 31, 3639, 289, 469, 309, 261, 4652, 3834, 18, 14963, 2932, 9056, 6, 3719, 288, 5411, 1794, 797, 273, 1645, 18, 1106, 31, 3639, 289, 469, 309, 261, 4652, 3834, 18, 14963, 2932, 5659, 6, 3719, 288, 5411, 1794, 797, 273, 1431, 18, 1106, 31, 3639, 289, 469, 309, 261, 4652, 3834, 18, 14963, 2932, 7229, 6, 3719, 288, 5411, 1794, 797, 273, 1160, 18, 1106, 31, 3639, 289, 469, 309, 261, 4652, 3834, 18, 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, 4750, 1033, 1640, 797, 3004, 12, 6385, 514, 2756, 16, 727, 2884, 1042, 1103, 13, 288, 3639, 6090, 5126, 18, 5662, 797, 12, 5900, 1769, 3639, 509, 770, 273, 2756, 18, 2722, 31985, 2668, 1093, 1769, 3639, 514, 1794, 3834, 273, 2756, 18, 28023, 12, 20, 16, 770, 1769, 3639, 509, 4968, 273, 374, 31, 3639, 1323, 261, 4652, 3834, 18, 5839, 1190, 2932, 63, 4279, 3719, 288, 5411, 4968, 9904, 31, 5411, 1794, 3834, 273, 1794, 3834, 18, 28023, 12, 20, 16, 1794, 3834, 18, 2469, 1435, 300, 576, 1769, 3639, 289, 3639, 1659, 1794, 797, 31, 3639, 1250, 353, 1841, 9840, 273, 638, 31, 3639, 309, 261, 4652, 3834, 18, 14963, 2932, 5748, 6, 3719, 288, 2 ]
try { position++; bCodeStream[classFileOffset++] = OPC_lload_0; } catch (IndexOutOfBoundsException e) { resizeByteArray(OPC_lload_0);
if (classFileOffset >= bCodeStream.length) { resizeByteArray();
final public void lload_0() { if (DEBUG) System.out.println(position + "\t\tlload_0"); //$NON-NLS-1$ countLabels = 0; stackDepth += 2; if (maxLocals < 2) { maxLocals = 2; } if (stackDepth > stackMax) stackMax = stackDepth; try { position++; bCodeStream[classFileOffset++] = OPC_lload_0; } catch (IndexOutOfBoundsException e) { resizeByteArray(OPC_lload_0); }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3a562aaf09f9f323b583086b80b4683378886606/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 727, 1071, 918, 328, 945, 67, 20, 1435, 288, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 6172, 945, 67, 20, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 1883, 5888, 273, 374, 31, 202, 3772, 6148, 1011, 576, 31, 202, 430, 261, 1896, 1333, 1031, 411, 576, 13, 288, 202, 202, 1896, 1333, 1031, 273, 576, 31, 202, 97, 202, 430, 261, 3772, 6148, 405, 2110, 2747, 13, 202, 202, 3772, 2747, 273, 2110, 6148, 31, 202, 698, 288, 202, 202, 3276, 9904, 31, 202, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 531, 3513, 67, 80, 945, 67, 20, 31, 202, 97, 1044, 261, 30548, 425, 13, 288, 202, 202, 15169, 8826, 12, 51, 3513, 67, 80, 945, 67, 20, 1769, 202, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 727, 1071, 918, 328, 945, 67, 20, 1435, 288, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 6172, 945, 67, 20, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 1883, 5888, 273, 374, 31, 202, 3772, 6148, 1011, 576, 31, 202, 430, 261, 1896, 1333, 1031, 411, 576, 13, 288, 202, 202, 1896, 1333, 1031, 273, 576, 31, 202, 97, 202, 430, 261, 3772, 6148, 405, 2110, 2747, 13, 202, 202, 3772, 2747, 273, 2110, 6148, 31, 202, 698, 288, 202, 202, 3276, 9904, 31, 202, 202, 70, 1085, 1228, 63, 1106, 812, 2335, 9904, 65, 273, 531, 3513, 67, 80, 945, 67, 20, 31, 202, 97, 1044, 261, 30548, 2 ]
private boolean moveExisting(IResource source, IResource existing, IProgressMonitor subMonitor) throws CoreException { boolean moved = false;
private void moveExisting(IResource source, IResource existing, IProgressMonitor subMonitor) throws CoreException {
private boolean moveExisting(IResource source, IResource existing, IProgressMonitor subMonitor) throws CoreException { boolean moved = false; IFile existingFile = getFile(existing); if (existingFile != null) { IFile sourceFile = getFile(source); if (sourceFile != null) { existingFile.setContents(sourceFile.getContents(), IResource.KEEP_HISTORY, new SubProgressMonitor(subMonitor, 0)); delete(sourceFile, subMonitor); moved = true; } } return moved; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0edca7cf7f2306c4b4528b63b245d58d9a569f78/MoveFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3635, 9895, 12, 45, 1420, 1084, 16, 467, 1420, 2062, 16, 467, 5491, 7187, 720, 7187, 13, 1216, 30015, 288, 202, 202, 6494, 10456, 273, 629, 31, 202, 202, 45, 812, 2062, 812, 273, 6034, 12, 11711, 1769, 202, 202, 430, 261, 11711, 812, 480, 446, 13, 288, 1082, 202, 45, 812, 16338, 273, 6034, 12, 3168, 1769, 1082, 202, 430, 261, 3168, 812, 480, 446, 13, 288, 9506, 202, 11711, 812, 18, 542, 6323, 12, 3168, 812, 18, 588, 6323, 9334, 467, 1420, 18, 6859, 10541, 67, 31746, 16, 394, 2592, 5491, 7187, 12, 1717, 7187, 16, 374, 10019, 9506, 202, 3733, 12, 3168, 812, 16, 720, 7187, 1769, 9506, 202, 81, 9952, 273, 638, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 10456, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3635, 9895, 12, 45, 1420, 1084, 16, 467, 1420, 2062, 16, 467, 5491, 7187, 720, 7187, 13, 1216, 30015, 288, 202, 202, 6494, 10456, 273, 629, 31, 202, 202, 45, 812, 2062, 812, 273, 6034, 12, 11711, 1769, 202, 202, 430, 261, 11711, 812, 480, 446, 13, 288, 1082, 202, 45, 812, 16338, 273, 6034, 12, 3168, 1769, 1082, 202, 430, 261, 3168, 812, 480, 446, 13, 288, 9506, 202, 11711, 812, 18, 542, 6323, 12, 3168, 812, 18, 588, 6323, 9334, 467, 1420, 18, 6859, 10541, 67, 31746, 16, 394, 2592, 5491, 7187, 12, 1717, 7187, 16, 374, 10019, 9506, 202, 3733, 12, 3168, 812, 16, 720, 7187, 1769, 9506, 202, 81, 9952, 273, 2 ]
}
}
public synchronized void setLabel(String label) { this.label = label; if (peer != null) { CheckboxPeer cp = (CheckboxPeer) peer; cp.setLabel(label); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5af1a0dd02ba16d1f4f4556ab34fa51c2db060d/Checkbox.java/clean/core/src/classpath/java/java/awt/Checkbox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 16558, 12, 780, 1433, 13, 288, 202, 202, 2211, 18, 1925, 273, 1433, 31, 202, 202, 430, 261, 12210, 480, 446, 13, 288, 1082, 202, 21272, 6813, 3283, 273, 261, 21272, 6813, 13, 4261, 31, 1082, 202, 4057, 18, 542, 2224, 12, 1925, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 16558, 12, 780, 1433, 13, 288, 202, 202, 2211, 18, 1925, 273, 1433, 31, 202, 202, 430, 261, 12210, 480, 446, 13, 288, 1082, 202, 21272, 6813, 3283, 273, 261, 21272, 6813, 13, 4261, 31, 1082, 202, 4057, 18, 542, 2224, 12, 1925, 1769, 202, 202, 97, 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 ]
jj_la1[69] = jj_gen;
jj_la1[68] = jj_gen;
final public void MultiplicativeExpression() throws ParseException { UnaryExpression(); label_30: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STAR: case SLASH: case REM: ; break; default: jj_la1[68] = jj_gen; break label_30; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STAR: jj_consume_token(STAR); break; case SLASH: jj_consume_token(SLASH); break; case REM: jj_consume_token(REM); break; default: jj_la1[69] = jj_gen; jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 5991, 28884, 2300, 1435, 1216, 10616, 288, 565, 20324, 2300, 5621, 565, 1433, 67, 5082, 30, 565, 1323, 261, 3767, 13, 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, 21807, 30, 1377, 648, 348, 16504, 30, 1377, 648, 2438, 49, 30, 3639, 274, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 9470, 65, 273, 10684, 67, 4507, 31, 3639, 898, 1433, 67, 5082, 31, 1377, 289, 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, 21807, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 20943, 1769, 3639, 898, 31, 1377, 648, 348, 16504, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 24079, 1769, 3639, 898, 31, 1377, 648, 2438, 49, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 862, 49, 1769, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 9470, 65, 273, 10684, 67, 4507, 31, 3639, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 3639, 604, 394, 10616, 5621, 1377, 289, 1377, 20324, 2300, 5621, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 5991, 28884, 2300, 1435, 1216, 10616, 288, 565, 20324, 2300, 5621, 565, 1433, 67, 5082, 30, 565, 1323, 261, 3767, 13, 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, 21807, 30, 1377, 648, 348, 16504, 30, 1377, 648, 2438, 49, 30, 3639, 274, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 9470, 65, 273, 10684, 67, 4507, 31, 3639, 898, 1433, 67, 5082, 31, 1377, 289, 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, 2 ]
if (httpServer == null) {
if (UtilValidate.isEmpty(httpsServer)) {
public static void setBaseUrl(GenericDelegator delegator, String webSiteId, Map context) { // If the baseUrl was not specified we can do a best effort instead if (!context.containsKey("baseUrl")) { StringBuffer httpBase = null; StringBuffer httpsBase = null; String localServer = null; String httpsPort = null; String httpsServer = null; String httpPort = null; String httpServer = null; Boolean enableHttps = null; try { // using just the IP address of localhost if we don't have a defined server InetAddress localHost = InetAddress.getLocalHost(); localServer = localHost.getHostAddress(); } catch (UnknownHostException hostException) { Debug.logWarning(hostException, "Could not determine localhost, using '127.0.0.1'", module); localServer = "127.0.0.1"; } // load the properties from the website entity GenericValue webSite = null; if (webSiteId != null) { try { webSite = delegator.findByPrimaryKeyCache("WebSite", UtilMisc.toMap("webSiteId", webSiteId)); if (webSite != null) { httpsPort = webSite.getString("httpsPort"); httpsServer = webSite.getString("httpsHost"); httpPort = webSite.getString("httpPort"); httpServer = webSite.getString("httpHost"); enableHttps = webSite.getBoolean("enableHttps"); } } catch (GenericEntityException e) { Debug.logWarning(e, "Problems with WebSite entity; using global defaults", module); } } // fill in any missing properties with fields from the global file if (httpsPort == null) { httpsPort = UtilProperties.getPropertyValue("url.properties", "port.https", "443"); } if (httpServer == null) { httpsServer = UtilProperties.getPropertyValue("url.properties", "force.https.host", localServer); } if (httpPort == null) { httpPort = UtilProperties.getPropertyValue("url.properties", "port.http", "80"); } if (httpServer == null) { httpServer = UtilProperties.getPropertyValue("url.properties", "force.http.host", localServer); } if (enableHttps == null) { enableHttps = (UtilProperties.propertyValueEqualsIgnoreCase("url.properties", "port.https.enabled", "Y")) ? Boolean.TRUE : Boolean.FALSE; } // prepare the (non-secure) URL httpBase = new StringBuffer("http://"); httpBase.append(httpServer); if (!"80".equals(httpPort)) { httpBase.append(":"); httpBase.append(httpPort); } // set the base (non-secure) URL for any messages requiring it context.put("baseUrl", httpBase.toString()); if (enableHttps.booleanValue()) { // prepare the (secure) URL httpsBase = new StringBuffer("https://"); httpsBase.append(httpsServer); if (!"443".equals(httpsPort)) { httpsBase.append(":"); httpsBase.append(httpsPort); } // set the base (secure) URL for any messages requiring it context.put("baseSecureUrl", httpsBase.toString()); } else { context.put("baseSecureUrl", httpBase.toString()); } } }
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/609b06b7c9b03df550745f4ffa840af288130d2f/NotificationServices.java/buggy/applications/content/src/org/ofbiz/content/email/NotificationServices.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 444, 14074, 12, 7014, 15608, 639, 11158, 639, 16, 514, 3311, 4956, 548, 16, 1635, 819, 13, 288, 3639, 368, 971, 326, 9818, 1703, 486, 1269, 732, 848, 741, 279, 3796, 23445, 3560, 3639, 309, 16051, 2472, 18, 12298, 653, 2932, 31576, 6, 3719, 288, 5411, 6674, 1062, 2171, 273, 446, 31, 5411, 6674, 2333, 2171, 273, 446, 31, 27573, 514, 1191, 2081, 273, 446, 31, 4766, 4202, 514, 2333, 2617, 273, 446, 31, 5411, 514, 2333, 2081, 273, 446, 31, 5411, 514, 1062, 2617, 273, 446, 31, 5411, 514, 1062, 2081, 273, 446, 31, 5411, 3411, 4237, 22077, 273, 446, 31, 10792, 775, 288, 7734, 368, 1450, 2537, 326, 2971, 1758, 434, 17365, 309, 732, 2727, 1404, 1240, 279, 2553, 1438, 7734, 14218, 1191, 2594, 273, 14218, 18, 588, 2042, 2594, 5621, 7734, 1191, 2081, 273, 1191, 2594, 18, 588, 2594, 1887, 5621, 5411, 289, 1044, 261, 4874, 29776, 1479, 503, 13, 288, 7734, 4015, 18, 1330, 6210, 12, 2564, 503, 16, 315, 4445, 486, 4199, 17365, 16, 1450, 296, 14260, 18, 20, 18, 20, 18, 21, 11, 3113, 1605, 1769, 7734, 1191, 2081, 273, 315, 14260, 18, 20, 18, 20, 18, 21, 14432, 5411, 289, 5411, 368, 1262, 326, 1790, 628, 326, 12504, 1522, 10792, 7928, 620, 3311, 4956, 273, 446, 31, 5411, 309, 261, 4875, 4956, 548, 480, 446, 13, 288, 7734, 775, 288, 10792, 3311, 4956, 273, 11158, 639, 18, 4720, 858, 11575, 1649, 2932, 4079, 4956, 3113, 3564, 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, 444, 14074, 12, 7014, 15608, 639, 11158, 639, 16, 514, 3311, 4956, 548, 16, 1635, 819, 13, 288, 3639, 368, 971, 326, 9818, 1703, 486, 1269, 732, 848, 741, 279, 3796, 23445, 3560, 3639, 309, 16051, 2472, 18, 12298, 653, 2932, 31576, 6, 3719, 288, 5411, 6674, 1062, 2171, 273, 446, 31, 5411, 6674, 2333, 2171, 273, 446, 31, 27573, 514, 1191, 2081, 273, 446, 31, 4766, 4202, 514, 2333, 2617, 273, 446, 31, 5411, 514, 2333, 2081, 273, 446, 31, 5411, 514, 1062, 2617, 273, 446, 31, 5411, 514, 1062, 2081, 273, 446, 31, 5411, 3411, 4237, 22077, 273, 446, 31, 10792, 775, 288, 7734, 368, 1450, 2537, 326, 2971, 1758, 434, 17365, 309, 2 ]
CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
public CmsUser readOwner(CmsRequestContext context, CmsProject project) throws CmsException { CmsDbContext dbc = m_dbContextFactory.getDbContext(context); CmsUser result = null; try { result = m_driverManager.readOwner(dbc, project); } catch (Exception e) { dbc.report(null, null, e); } finally { dbc.clear(); } return result; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/a7ffa3c192d7068f584b0a3a844b88bdb2d3145a/CmsSecurityManager.java/buggy/src/org/opencms/db/CmsSecurityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 25492, 855, 5541, 12, 4747, 21426, 819, 16, 2149, 4109, 1984, 13, 1216, 11228, 288, 3639, 30670, 9881, 273, 312, 67, 1966, 29871, 18, 588, 4331, 1042, 12, 2472, 1769, 540, 25492, 563, 273, 446, 31, 3639, 775, 288, 5411, 563, 273, 312, 67, 7407, 1318, 18, 896, 5541, 12, 9137, 16, 1984, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 9881, 18, 6006, 12, 2011, 16, 446, 16, 425, 1769, 3639, 289, 3095, 288, 5411, 9881, 18, 8507, 5621, 3639, 289, 7734, 327, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 25492, 855, 5541, 12, 4747, 21426, 819, 16, 2149, 4109, 1984, 13, 1216, 11228, 288, 3639, 30670, 9881, 273, 312, 67, 1966, 29871, 18, 588, 4331, 1042, 12, 2472, 1769, 540, 25492, 563, 273, 446, 31, 3639, 775, 288, 5411, 563, 273, 312, 67, 7407, 1318, 18, 896, 5541, 12, 9137, 16, 1984, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 9881, 18, 6006, 12, 2011, 16, 446, 16, 425, 1769, 3639, 289, 3095, 288, 5411, 9881, 18, 8507, 5621, 3639, 289, 7734, 327, 563, 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 ]
init(); }
init(); }
public DXFHatchHandler() { init(); }
4096 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4096/97da13d420d72405018ba732b60712bffbfe3482/DXFHatchHandler.java/clean/src/java/org/kabeja/parser/entities/DXFHatchHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26634, 42, 44, 505, 1503, 1435, 288, 3639, 1208, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26634, 42, 44, 505, 1503, 1435, 288, 3639, 1208, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setImage(org.openmicroscopy.omero.model.Image image) {
public void setImage(Image image) {
public void setImage(org.openmicroscopy.omero.model.Image image) { this.image = image; }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/9570ef74198a070d72e77c417c9d25244a942de2/DisplayOption.java/buggy/components/common/src/org/openmicroscopy/omero/model/DisplayOption.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 18893, 12, 2040, 1316, 13, 288, 3639, 333, 18, 2730, 273, 1316, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 18893, 12, 2040, 1316, 13, 288, 3639, 333, 18, 2730, 273, 1316, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addMatchingRules(((CSSStyleSheet)l.item(i)).getCssRules(), e, pe, authorRules);
CSSStyleSheet ss = (CSSStyleSheet)l.item(i); if (!ss.getDisabled()) { addMatchingRules(((CSSStyleSheet)l.item(i)).getCssRules(), e, pe, authorRules); }
protected void addAuthorStyleSheetProperties (Element e, String pe, CSSOMReadOnlyStyleDeclaration rd) { try { CSSOMRuleList authorRules = new CSSOMRuleList(); StyleSheetList l = ((DocumentStyle)document).getStyleSheets(); for (int i = 0; i < l.getLength(); i++) { addMatchingRules(((CSSStyleSheet)l.item(i)).getCssRules(), e, pe, authorRules); } authorRules = sortRules(authorRules, e, pe); for (int i = 0; i < authorRules.getLength(); i++) { CSSStyleRule rule = (CSSStyleRule)authorRules.item(i); CSSStyleDeclaration decl = rule.getStyle(); int len = decl.getLength(); for (int j = 0; j < len; j++) { setAuthorProperty(decl.item(j), decl, rd); } } } catch (DOMException ex) { throw CSSDOMExceptionFactory.createDOMException (ex.code, "style.sheet", new Object[] { ex.getMessage() }); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/c061ca5c2515c6c3bdd42b4db2b5b6977123060f/AbstractViewCSS.java/buggy/sources/org/apache/batik/css/AbstractViewCSS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 3594, 2885, 8229, 2297, 3639, 261, 1046, 425, 16, 514, 2804, 16, 6765, 1872, 12066, 2885, 6094, 9437, 13, 288, 3639, 775, 288, 5411, 6765, 1872, 2175, 682, 2869, 4478, 273, 394, 6765, 1872, 2175, 682, 5621, 5411, 9767, 8229, 682, 328, 273, 14015, 2519, 2885, 13, 5457, 2934, 588, 2885, 55, 10245, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 328, 18, 588, 1782, 5621, 277, 27245, 288, 7734, 527, 9517, 4478, 12443, 12, 10276, 2885, 8229, 13, 80, 18, 1726, 12, 77, 13, 2934, 588, 7359, 4478, 9334, 4766, 425, 16, 4766, 2804, 16, 4766, 2869, 4478, 1769, 5411, 289, 5411, 2869, 4478, 273, 1524, 4478, 12, 4161, 4478, 16, 425, 16, 2804, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2869, 4478, 18, 588, 1782, 5621, 277, 27245, 288, 7734, 6765, 2885, 2175, 1720, 273, 261, 10276, 2885, 2175, 13, 4161, 4478, 18, 1726, 12, 77, 1769, 7734, 6765, 2885, 6094, 3496, 273, 1720, 18, 588, 2885, 5621, 7734, 509, 562, 273, 3496, 18, 588, 1782, 5621, 7734, 364, 261, 474, 525, 273, 374, 31, 525, 411, 562, 31, 525, 27245, 288, 10792, 444, 3594, 1396, 12, 8840, 18, 1726, 12, 78, 3631, 3496, 16, 9437, 1769, 7734, 289, 5411, 289, 202, 97, 1044, 261, 8168, 503, 431, 13, 288, 5411, 604, 6765, 8168, 503, 1733, 18, 2640, 8168, 503, 7734, 261, 338, 18, 710, 16, 315, 4060, 18, 8118, 3113, 1171, 394, 1033, 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, 527, 3594, 2885, 8229, 2297, 3639, 261, 1046, 425, 16, 514, 2804, 16, 6765, 1872, 12066, 2885, 6094, 9437, 13, 288, 3639, 775, 288, 5411, 6765, 1872, 2175, 682, 2869, 4478, 273, 394, 6765, 1872, 2175, 682, 5621, 5411, 9767, 8229, 682, 328, 273, 14015, 2519, 2885, 13, 5457, 2934, 588, 2885, 55, 10245, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 328, 18, 588, 1782, 5621, 277, 27245, 288, 7734, 527, 9517, 4478, 12443, 12, 10276, 2885, 8229, 13, 80, 18, 1726, 12, 77, 13, 2934, 588, 7359, 4478, 9334, 4766, 425, 16, 4766, 2804, 16, 4766, 2869, 4478, 1769, 5411, 289, 5411, 2869, 4478, 273, 1524, 4478, 12, 4161, 4478, 16, 2 ]
_content = content;;
_content = content;
public void setContent(Object content) { _content = content;; }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/94384d6e10066875e92e0fda4ba6a2f03bcd6074/RelayBase.java/buggy/securityservices/src/org/cougaar/core/security/util/RelayBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10651, 12, 921, 913, 13, 288, 565, 389, 1745, 273, 913, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10651, 12, 921, 913, 13, 288, 565, 389, 1745, 273, 913, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(1); //#line 8 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, "*")); break; } // // Rule 2: PackageName ::= PackageName . ErrorId // case 2: { //#line 16 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageName = (Name) getRhsSym(1); //#line 18 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, "*")); break; } // // Rule 3: ExpressionName ::= AmbiguousName . ErrorId // case 3: { //#line 26 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 28 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 4: MethodName ::= AmbiguousName . ErrorId // case 4: { //#line 36 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 38 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 5: PackageOrTypeName ::= PackageOrTypeName . ErrorId // case 5: { //#line 46 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 48 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, "*")); break; } // // Rule 6: AmbiguousName ::= AmbiguousName . ErrorId // case 6: { //#line 56 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 58 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, "*")); break; } // // Rule 7: FieldAccess ::= Primary . ErrorId // case 7: { //#line 66 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 68 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(), Primary, "*")); break; } // // Rule 8: FieldAccess ::= super . ErrorId // case 8: { //#line 73 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), "*")); break; } // // Rule 9: FieldAccess ::= ClassName . super$sup . ErrorId // case 9: { //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 76 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 78 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), "*")); break; } // // Rule 10: MethodInvocation ::= MethodPrimaryPrefix ( ArgumentListopt ) // case 10: { //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodPrimaryPrefix = (Object) getRhsSym(1); //#line 82 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 84 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) ((Object[]) MethodPrimaryPrefix)[0]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodPrimaryPrefix)[1]; setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 11: MethodInvocation ::= MethodSuperPrefix ( ArgumentListopt ) // case 11: { //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier MethodSuperPrefix = (polyglot.lex.Identifier) getRhsSym(1); //#line 89 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 91 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" polyglot.lex.Identifier identifier = MethodSuperPrefix; setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 12: MethodInvocation ::= MethodClassNameSuperPrefix ( ArgumentListopt ) // case 12: { //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object MethodClassNameSuperPrefix = (Object) getRhsSym(1); //#line 95 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 97 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) ((Object[]) MethodClassNameSuperPrefix)[0]; JPGPosition super_pos = (JPGPosition) ((Object[]) MethodClassNameSuperPrefix)[1]; polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) ((Object[]) MethodClassNameSuperPrefix)[2]; setResult(nf.Call(pos(), nf.Super(super_pos, ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 13: MethodPrimaryPrefix ::= Primary . ErrorId$ErrorId // case 13: { //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Expr Primary = (Expr) getRhsSym(1); //#line 104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[2]; a[0] = Primary; a[1] = id(getRhsFirstTokenIndex(3)); setResult(a); break; } // // Rule 14: MethodSuperPrefix ::= super . ErrorId$ErrorId // case 14: { //#line 112 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(3); //#line 114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" setResult(id(getRhsFirstTokenIndex(3))); break; } // // Rule 15: MethodClassNameSuperPrefix ::= ClassName . super$sup . ErrorId$ErrorId // case 15: { //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name ClassName = (Name) getRhsSym(1); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken sup = (IToken) getRhsIToken(3); //#line 117 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" IToken ErrorId = (IToken) getRhsIToken(5); //#line 119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Object[] a = new Object[3]; a[0] = ClassName; a[1] = pos(getRhsFirstTokenIndex(3)); a[2] = id(getRhsFirstTokenIndex(5)); setResult(a); break; } // // Rule 16: identifier ::= IDENTIFIER$ident // case 16: { //#line 94 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken ident = (IToken) getRhsIToken(1); //#line 96 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ident.setKind(X10Parsersym.TK_IDENTIFIER); setResult(id(getRhsFirstTokenIndex(1))); break; } // // Rule 19: IntegralType ::= byte // case 19: { //#line 121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Byte())); break; } // // Rule 20: IntegralType ::= char // case 20: { //#line 126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Char())); break; } // // Rule 21: IntegralType ::= short // case 21: { //#line 131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Short())); break; } // // Rule 22: IntegralType ::= int // case 22: { //#line 136 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Int())); break; } // // Rule 23: IntegralType ::= long // case 23: { //#line 141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Long())); break; } // // Rule 24: FloatingPointType ::= float // case 24: { //#line 147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Float())); break; } // // Rule 25: FloatingPointType ::= double // case 25: { //#line 152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Double())); break; } // // Rule 28: TypeName ::= identifier // case 28: { //#line 175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 177 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 29: TypeName ::= TypeName . identifier // case 29: { //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(1); //#line 180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 182 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), TypeName, identifier.getIdentifier())); break; } // // Rule 31: ArrayType ::= Type [ ] // case 31: { //#line 194 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 196 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.array(Type, pos(), 1)); break; } // // Rule 32: PackageName ::= identifier // case 32: { //#line 241 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 33: PackageName ::= PackageName . identifier // case 33: { //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageName = (Name) getRhsSym(1); //#line 246 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageName, identifier.getIdentifier())); break; } // // Rule 34: ExpressionName ::= identifier // case 34: { //#line 262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 264 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 35: ExpressionName ::= AmbiguousName . identifier // case 35: { //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 36: MethodName ::= identifier // case 36: { //#line 277 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 279 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 37: MethodName ::= AmbiguousName . identifier // case 37: { //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 282 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 284 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 38: PackageOrTypeName ::= identifier // case 38: { //#line 292 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 294 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 39: PackageOrTypeName ::= PackageOrTypeName . identifier // case 39: { //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(1); //#line 297 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 299 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), PackageOrTypeName, identifier.getIdentifier())); break; } // // Rule 40: AmbiguousName ::= identifier // case 40: { //#line 307 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 309 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 41: AmbiguousName ::= AmbiguousName . identifier // case 41: { //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name AmbiguousName = (Name) getRhsSym(1); //#line 312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 314 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(getLeftSpan(), getRightSpan()), AmbiguousName, identifier.getIdentifier())); break; } // // Rule 42: CompilationUnit ::= PackageDeclarationopt ImportDeclarationsopt TypeDeclarationsopt // case 42: { //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" PackageNode PackageDeclarationopt = (PackageNode) getRhsSym(1); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarationsopt = (List) getRhsSym(2); //#line 324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarationsopt = (List) getRhsSym(3); //#line 326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // Add import x10.lang.* by default. Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); int token_pos = (ImportDeclarationsopt.size() == 0 ? TypeDeclarationsopt.size() == 0 ? super.getSize() - 1 : getPrevious(getRhsFirstTokenIndex(3)) : getRhsLastTokenIndex(2) ); Import x10LangImport = nf.Import(pos(token_pos), Import.PACKAGE, x10Lang.toString()); ImportDeclarationsopt.add(x10LangImport); setResult(nf.SourceFile(pos(getLeftSpan(), getRightSpan()), PackageDeclarationopt, ImportDeclarationsopt, TypeDeclarationsopt)); break; } // // Rule 43: ImportDeclarations ::= ImportDeclaration // case 43: { //#line 342 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(1); //#line 344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Import.class, false); l.add(ImportDeclaration); setResult(l); break; } // // Rule 44: ImportDeclarations ::= ImportDeclarations ImportDeclaration // case 44: { //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ImportDeclarations = (List) getRhsSym(1); //#line 349 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Import ImportDeclaration = (Import) getRhsSym(2); //#line 351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (ImportDeclaration != null) ImportDeclarations.add(ImportDeclaration); //setResult(l); break; } // // Rule 45: TypeDeclarations ::= TypeDeclaration // case 45: { //#line 357 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(1); //#line 359 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TopLevelDecl.class, false); if (TypeDeclaration != null) l.add(TypeDeclaration); setResult(l); break; } // // Rule 46: TypeDeclarations ::= TypeDeclarations TypeDeclaration // case 46: { //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List TypeDeclarations = (List) getRhsSym(1); //#line 365 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl TypeDeclaration = (ClassDecl) getRhsSym(2); //#line 367 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (TypeDeclaration != null) TypeDeclarations.add(TypeDeclaration); //setResult(l); break; } // // Rule 49: SingleTypeImportDeclaration ::= import TypeName ; // case 49: { //#line 380 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name TypeName = (Name) getRhsSym(2); //#line 382 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.CLASS, TypeName.toString())); break; } // // Rule 50: TypeImportOnDemandDeclaration ::= import PackageOrTypeName . * ; // case 50: { //#line 386 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name PackageOrTypeName = (Name) getRhsSym(2); //#line 388 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Import(pos(getLeftSpan(), getRightSpan()), Import.PACKAGE, PackageOrTypeName.toString())); break; } // // Rule 53: TypeDeclaration ::= ; // case 53: { //#line 402 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(null); break; } // // Rule 56: ClassModifiers ::= ClassModifiers ClassModifier // case 56: { //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifiers = (Flags) getRhsSym(1); //#line 414 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ClassModifier = (Flags) getRhsSym(2); //#line 416 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassModifiers.set(ClassModifier)); break; } // // Rule 57: ClassModifier ::= public // case 57: { //#line 424 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 58: ClassModifier ::= protected // case 58: { //#line 429 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 59: ClassModifier ::= private // case 59: { //#line 434 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 60: ClassModifier ::= abstract // case 60: { //#line 439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 61: ClassModifier ::= static // case 61: { //#line 444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 62: ClassModifier ::= final // case 62: { //#line 449 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 63: ClassModifier ::= strictfp // case 63: { //#line 454 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 64: Super ::= extends ClassType // case 64: { //#line 466 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ClassType = (TypeNode) getRhsSym(2); //#line 468 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ClassType); break; } // // Rule 65: Interfaces ::= implements InterfaceTypeList // case 65: { //#line 477 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(2); //#line 479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceTypeList); break; } // // Rule 66: InterfaceTypeList ::= InterfaceType // case 66: { //#line 483 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(1); //#line 485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 67: InterfaceTypeList ::= InterfaceTypeList , InterfaceType // case 67: { //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceTypeList = (List) getRhsSym(1); //#line 490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceTypeList.add(InterfaceType); setResult(InterfaceTypeList); break; } // // Rule 68: ClassBody ::= { ClassBodyDeclarationsopt } // case 68: { //#line 502 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarationsopt = (List) getRhsSym(2); //#line 504 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(getLeftSpan(), getRightSpan()), ClassBodyDeclarationsopt)); break; } // // Rule 70: ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration // case 70: { //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclarations = (List) getRhsSym(1); //#line 509 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ClassBodyDeclaration = (List) getRhsSym(2); //#line 511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassBodyDeclarations.addAll(ClassBodyDeclaration); // setResult(a); break; } // // Rule 72: ClassBodyDeclaration ::= InstanceInitializer // case 72: { //#line 517 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block InstanceInitializer = (Block) getRhsSym(1); //#line 519 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.NONE, InstanceInitializer)); setResult(l); break; } // // Rule 73: ClassBodyDeclaration ::= StaticInitializer // case 73: { //#line 524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block StaticInitializer = (Block) getRhsSym(1); //#line 526 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(nf.Initializer(pos(), Flags.STATIC, StaticInitializer)); setResult(l); break; } // // Rule 74: ClassBodyDeclaration ::= ConstructorDeclaration // case 74: { //#line 531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ConstructorDecl ConstructorDeclaration = (ConstructorDecl) getRhsSym(1); //#line 533 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ConstructorDeclaration); setResult(l); break; } // // Rule 76: ClassMemberDeclaration ::= MethodDeclaration // case 76: { //#line 540 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodDeclaration = (MethodDecl) getRhsSym(1); //#line 542 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(MethodDeclaration); setResult(l); break; } // // Rule 77: ClassMemberDeclaration ::= ClassDeclaration // case 77: { //#line 547 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 549 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 78: ClassMemberDeclaration ::= InterfaceDeclaration // case 78: { //#line 554 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 556 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 79: ClassMemberDeclaration ::= ; // case 79: { //#line 563 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); setResult(l); break; } // // Rule 80: VariableDeclarators ::= VariableDeclarator // case 80: { //#line 571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(1); //#line 573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), X10VarDeclarator.class, false); l.add(VariableDeclarator); setResult(l); break; } // // Rule 81: VariableDeclarators ::= VariableDeclarators , VariableDeclarator // case 81: { //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(1); //#line 578 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VarDeclarator VariableDeclarator = (VarDeclarator) getRhsSym(3); //#line 580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclarators.add(VariableDeclarator); // setResult(VariableDeclarators); break; } // // Rule 83: VariableDeclarator ::= VariableDeclaratorId = VariableInitializer // case 83: { //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 586 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 588 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableDeclaratorId.init = VariableInitializer; VariableDeclaratorId.position(pos()); // setResult(VariableDeclaratorId); break; } // // Rule 84: TraditionalVariableDeclaratorId ::= identifier // case 84: { //#line 594 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 596 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier())); break; } // // Rule 85: TraditionalVariableDeclaratorId ::= TraditionalVariableDeclaratorId [ ] // case 85: { //#line 599 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator TraditionalVariableDeclaratorId = (X10VarDeclarator) getRhsSym(1); //#line 601 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TraditionalVariableDeclaratorId.dims++; TraditionalVariableDeclaratorId.position(pos()); // setResult(a); break; } // // Rule 87: VariableDeclaratorId ::= identifier [ IdentifierList ] // case 87: { //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 608 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(3); //#line 610 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), identifier.getIdentifier(), IdentifierList)); break; } // // Rule 88: VariableDeclaratorId ::= [ IdentifierList ] // case 88: { //#line 613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List IdentifierList = (List) getRhsSym(2); //#line 615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new X10VarDeclarator(pos(), IdentifierList)); break; } // // Rule 92: FieldModifiers ::= FieldModifiers FieldModifier // case 92: { //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifiers = (Flags) getRhsSym(1); //#line 623 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags FieldModifier = (Flags) getRhsSym(2); //#line 625 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(FieldModifiers.set(FieldModifier)); break; } // // Rule 93: FieldModifier ::= public // case 93: { //#line 633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 94: FieldModifier ::= protected // case 94: { //#line 638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 95: FieldModifier ::= private // case 95: { //#line 643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 96: FieldModifier ::= static // case 96: { //#line 648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 97: FieldModifier ::= final // case 97: { //#line 653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 98: FieldModifier ::= transient // case 98: { //#line 658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.TRANSIENT); break; } // // Rule 99: MethodDeclaration ::= MethodHeader MethodBody // case 99: { //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl MethodHeader = (MethodDecl) getRhsSym(1); //#line 667 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block MethodBody = (Block) getRhsSym(2); //#line 669 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" JPGPosition old_pos = (JPGPosition) MethodHeader.position(); setResult(MethodHeader.body(MethodBody) .position(pos(old_pos.getLeftIToken().getTokenIndex(), getRightSpan()))); break; } // // Rule 101: ResultType ::= void // case 101: { //#line 680 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.CanonicalTypeNode(pos(), ts.Void())); break; } // // Rule 102: FormalParameterList ::= LastFormalParameter // case 102: { //#line 700 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(1); //#line 702 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(LastFormalParameter); setResult(l); break; } // // Rule 103: FormalParameterList ::= FormalParameters , LastFormalParameter // case 103: { //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Formal LastFormalParameter = (Formal) getRhsSym(3); //#line 709 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(LastFormalParameter); // setResult(FormalParameters); break; } // // Rule 104: FormalParameters ::= FormalParameter // case 104: { //#line 714 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(1); //#line 716 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Formal.class, false); l.add(FormalParameter); setResult(l); break; } // // Rule 105: FormalParameters ::= FormalParameters , FormalParameter // case 105: { //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List FormalParameters = (List) getRhsSym(1); //#line 721 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 723 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" FormalParameters.add(FormalParameter); // setResult(FormalParameters); break; } // // Rule 106: FormalParameter ::= VariableModifiersopt Type VariableDeclaratorId // case 106: { //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(3); //#line 730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableDeclaratorId != null) setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); else setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), 1), "", new AmbExpr[0])); break; } // // Rule 108: VariableModifiers ::= VariableModifiers VariableModifier // case 108: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiers = (Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifier = (Flags) getRhsSym(2); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(VariableModifiers.set(VariableModifier)); break; } // // Rule 109: VariableModifier ::= final // case 109: { //#line 746 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 110: LastFormalParameter ::= VariableModifiersopt Type ...opt$opt VariableDeclaratorId // case 110: { //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 752 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10VarDeclarator VariableDeclaratorId = (X10VarDeclarator) getRhsSym(4); //#line 754 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" assert(opt == null); setResult(nf.Formal(pos(), VariableModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), VariableDeclaratorId.dims), VariableDeclaratorId.name, VariableDeclaratorId.names())); break; } // // Rule 112: MethodModifiers ::= MethodModifiers MethodModifier // case 112: { //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifiers = (Flags) getRhsSym(1); //#line 766 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags MethodModifier = (Flags) getRhsSym(2); //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(MethodModifiers.set(MethodModifier)); break; } // // Rule 113: MethodModifier ::= public // case 113: { //#line 776 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 114: MethodModifier ::= protected // case 114: { //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 115: MethodModifier ::= private // case 115: { //#line 786 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 116: MethodModifier ::= abstract // case 116: { //#line 791 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 117: MethodModifier ::= static // case 117: { //#line 796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 118: MethodModifier ::= final // case 118: { //#line 801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 119: MethodModifier ::= native // case 119: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NATIVE); break; } // // Rule 120: MethodModifier ::= strictfp // case 120: { //#line 816 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 121: Throws ::= throws ExceptionTypeList // case 121: { //#line 820 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(2); //#line 822 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExceptionTypeList); break; } // // Rule 122: ExceptionTypeList ::= ExceptionType // case 122: { //#line 826 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(1); //#line 828 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(ExceptionType); setResult(l); break; } // // Rule 123: ExceptionTypeList ::= ExceptionTypeList , ExceptionType // case 123: { //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExceptionTypeList = (List) getRhsSym(1); //#line 833 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode ExceptionType = (TypeNode) getRhsSym(3); //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExceptionTypeList.add(ExceptionType); // setResult(ExceptionTypeList); break; } // // Rule 126: MethodBody ::= ; // case 126: setResult(null); break; // // Rule 128: StaticInitializer ::= static Block // case 128: { //#line 855 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 857 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 129: SimpleTypeName ::= identifier // case 129: { //#line 872 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 131: ConstructorModifiers ::= ConstructorModifiers ConstructorModifier // case 131: { //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifiers = (Flags) getRhsSym(1); //#line 879 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstructorModifier = (Flags) getRhsSym(2); //#line 881 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstructorModifiers.set(ConstructorModifier)); break; } // // Rule 132: ConstructorModifier ::= public // case 132: { //#line 889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 133: ConstructorModifier ::= protected // case 133: { //#line 894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 134: ConstructorModifier ::= private // case 134: { //#line 899 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 135: ConstructorBody ::= { ExplicitConstructorInvocationopt BlockStatementsopt } // case 135: { //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt ExplicitConstructorInvocationopt = (Stmt) getRhsSym(2); //#line 903 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(3); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l; if (ExplicitConstructorInvocationopt == null) l = BlockStatementsopt; else { l = new TypedList(new LinkedList(), Stmt.class, false); l.add(ExplicitConstructorInvocationopt); l.addAll(BlockStatementsopt); } setResult(nf.Block(pos(), l)); break; } // // Rule 136: Arguments ::= ( ArgumentListopt ) // case 136: { //#line 936 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(2); //#line 938 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ArgumentListopt); break; } // // Rule 139: InterfaceModifiers ::= InterfaceModifiers InterfaceModifier // case 139: { //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifiers = (Flags) getRhsSym(1); //#line 954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags InterfaceModifier = (Flags) getRhsSym(2); //#line 956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(InterfaceModifiers.set(InterfaceModifier)); break; } // // Rule 140: InterfaceModifier ::= public // case 140: { //#line 964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 141: InterfaceModifier ::= protected // case 141: { //#line 969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PROTECTED); break; } // // Rule 142: InterfaceModifier ::= private // case 142: { //#line 974 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PRIVATE); break; } // // Rule 143: InterfaceModifier ::= abstract // case 143: { //#line 979 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 144: InterfaceModifier ::= static // case 144: { //#line 984 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 145: InterfaceModifier ::= strictfp // case 145: { //#line 989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STRICTFP); break; } // // Rule 146: ExtendsInterfaces ::= extends InterfaceType // case 146: { //#line 993 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(2); //#line 995 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), TypeNode.class, false); l.add(InterfaceType); setResult(l); break; } // // Rule 147: ExtendsInterfaces ::= ExtendsInterfaces , InterfaceType // case 147: { //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ExtendsInterfaces = (List) getRhsSym(1); //#line 1000 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode InterfaceType = (TypeNode) getRhsSym(3); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ExtendsInterfaces.add(InterfaceType); // setResult(ExtendsInterfaces); break; } // // Rule 148: InterfaceBody ::= { InterfaceMemberDeclarationsopt } // case 148: { //#line 1012 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarationsopt = (List) getRhsSym(2); //#line 1014 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassBody(pos(), InterfaceMemberDeclarationsopt)); break; } // // Rule 150: InterfaceMemberDeclarations ::= InterfaceMemberDeclarations InterfaceMemberDeclaration // case 150: { //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclarations = (List) getRhsSym(1); //#line 1019 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List InterfaceMemberDeclaration = (List) getRhsSym(2); //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" InterfaceMemberDeclarations.addAll(InterfaceMemberDeclaration); // setResult(l); break; } // // Rule 152: InterfaceMemberDeclaration ::= AbstractMethodDeclaration // case 152: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" MethodDecl AbstractMethodDeclaration = (MethodDecl) getRhsSym(1); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(AbstractMethodDeclaration); setResult(l); break; } // // Rule 153: InterfaceMemberDeclaration ::= ClassDeclaration // case 153: { //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1036 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(ClassDeclaration); setResult(l); break; } // // Rule 154: InterfaceMemberDeclaration ::= InterfaceDeclaration // case 154: { //#line 1041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl InterfaceDeclaration = (ClassDecl) getRhsSym(1); //#line 1043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); l.add(InterfaceDeclaration); setResult(l); break; } // // Rule 155: InterfaceMemberDeclaration ::= ; // case 155: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Collections.EMPTY_LIST); break; } // // Rule 156: ConstantDeclaration ::= ConstantModifiersopt Type VariableDeclarators // case 156: { //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiersopt = (Flags) getRhsSym(1); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1054 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1056 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ClassMember.class, false); for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); l.add(nf.FieldDecl(pos(getRhsFirstTokenIndex(2), getRightSpan()), ConstantModifiersopt, nf.array(Type, pos(getRhsFirstTokenIndex(2), getRhsLastTokenIndex(2)), d.dims), d.name, d.init)); } setResult(l); break; } // // Rule 158: ConstantModifiers ::= ConstantModifiers ConstantModifier // case 158: { //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifiers = (Flags) getRhsSym(1); //#line 1074 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags ConstantModifier = (Flags) getRhsSym(2); //#line 1076 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ConstantModifiers.set(ConstantModifier)); break; } // // Rule 159: ConstantModifier ::= public // case 159: { //#line 1084 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 160: ConstantModifier ::= static // case 160: { //#line 1089 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.STATIC); break; } // // Rule 161: ConstantModifier ::= final // case 161: { //#line 1094 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.FINAL); break; } // // Rule 163: AbstractMethodModifiers ::= AbstractMethodModifiers AbstractMethodModifier // case 163: { //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifiers = (Flags) getRhsSym(1); //#line 1101 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags AbstractMethodModifier = (Flags) getRhsSym(2); //#line 1103 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(AbstractMethodModifiers.set(AbstractMethodModifier)); break; } // // Rule 164: AbstractMethodModifier ::= public // case 164: { //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.PUBLIC); break; } // // Rule 165: AbstractMethodModifier ::= abstract // case 165: { //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.ABSTRACT); break; } // // Rule 166: SimpleName ::= identifier // case 166: { //#line 1172 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 167: ArrayInitializer ::= { VariableInitializersopt ,opt$opt } // case 167: { //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializersopt = (List) getRhsSym(2); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Object opt = (Object) getRhsSym(3); //#line 1203 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (VariableInitializersopt == null) setResult(nf.ArrayInit(pos())); else setResult(nf.ArrayInit(pos(), VariableInitializersopt)); break; } // // Rule 168: VariableInitializers ::= VariableInitializer // case 168: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(1); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(VariableInitializer); setResult(l); break; } // // Rule 169: VariableInitializers ::= VariableInitializers , VariableInitializer // case 169: { //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableInitializers = (List) getRhsSym(1); //#line 1216 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr VariableInitializer = (Expr) getRhsSym(3); //#line 1218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" VariableInitializers.add(VariableInitializer); //setResult(VariableInitializers); break; } // // Rule 170: Block ::= { BlockStatementsopt } // case 170: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatementsopt = (List) getRhsSym(2); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Block(pos(), BlockStatementsopt)); break; } // // Rule 171: BlockStatements ::= BlockStatement // case 171: { //#line 1243 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(1); //#line 1245 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.addAll(BlockStatement); setResult(l); break; } // // Rule 172: BlockStatements ::= BlockStatements BlockStatement // case 172: { //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatement = (List) getRhsSym(2); //#line 1252 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" BlockStatements.addAll(BlockStatement); //setResult(l); break; } // // Rule 174: BlockStatement ::= ClassDeclaration // case 174: { //#line 1258 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ClassDecl ClassDeclaration = (ClassDecl) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(nf.LocalClassDecl(pos(), ClassDeclaration)); setResult(l); break; } // // Rule 175: BlockStatement ::= Statement // case 175: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(1); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Stmt.class, false); l.add(Statement); setResult(l); break; } // // Rule 177: LocalVariableDeclaration ::= VariableModifiersopt Type VariableDeclarators // case 177: { //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Flags VariableModifiersopt = (Flags) getRhsSym(1); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1275 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List VariableDeclarators = (List) getRhsSym(3); //#line 1277 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), LocalDecl.class, false); List s = new TypedList(new LinkedList(), Stmt.class, false); if (VariableDeclarators != null) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext(); ) { X10VarDeclarator d = (X10VarDeclarator) i.next(); d.setFlag(VariableModifiersopt); // use d.flags below and not flags, setFlag may change it. l.add(nf.LocalDecl(d.pos, d.flags, nf.array(Type, pos(d), d.dims), d.name, d.init)); // [IP] TODO: Add X10Local with exploded variables if (d.hasExplodedVars()) s.addAll(X10Formal_c.explode(nf, ts, d.name, pos(d), d.flags, d.names())); } } l.addAll(s); setResult(l); break; } // // Rule 201: IfThenStatement ::= if ( Expression ) Statement // case 201: { //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1338 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, Statement)); break; } // // Rule 202: IfThenElseStatement ::= if ( Expression ) StatementNoShortIf else Statement // case 202: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(7); //#line 1346 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, StatementNoShortIf, Statement)); break; } // // Rule 203: IfThenElseStatementNoShortIf ::= if ( Expression ) StatementNoShortIf$true_stmt else StatementNoShortIf$false_stmt // case 203: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt true_stmt = (Stmt) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt false_stmt = (Stmt) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.If(pos(), Expression, true_stmt, false_stmt)); break; } // // Rule 204: EmptyStatement ::= ; // case 204: { //#line 1358 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Empty(pos())); break; } // // Rule 205: LabeledStatement ::= identifier : Statement // case 205: { //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(3); //#line 1364 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), Statement)); break; } // // Rule 206: LabeledStatementNoShortIf ::= identifier : StatementNoShortIf // case 206: { //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1368 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(3); //#line 1370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Labeled(pos(), identifier.getIdentifier(), StatementNoShortIf)); break; } // // Rule 207: ExpressionStatement ::= StatementExpression ; // case 207: { //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1375 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Eval(pos(), StatementExpression)); break; } // // Rule 215: AssertStatement ::= assert Expression ; // case 215: { //#line 1396 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1398 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), Expression)); break; } // // Rule 216: AssertStatement ::= assert Expression$expr1 : Expression$expr2 ; // case 216: { //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr1 = (Expr) getRhsSym(2); //#line 1401 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr expr2 = (Expr) getRhsSym(4); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assert(pos(), expr1, expr2)); break; } // // Rule 217: SwitchStatement ::= switch ( Expression ) SwitchBlock // case 217: { //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1407 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlock = (List) getRhsSym(5); //#line 1409 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Switch(pos(), Expression, SwitchBlock)); break; } // // Rule 218: SwitchBlock ::= { SwitchBlockStatementGroupsopt SwitchLabelsopt } // case 218: { //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroupsopt = (List) getRhsSym(2); //#line 1413 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabelsopt = (List) getRhsSym(3); //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroupsopt.addAll(SwitchLabelsopt); setResult(SwitchBlockStatementGroupsopt); break; } // // Rule 220: SwitchBlockStatementGroups ::= SwitchBlockStatementGroups SwitchBlockStatementGroup // case 220: { //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroups = (List) getRhsSym(1); //#line 1421 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchBlockStatementGroup = (List) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchBlockStatementGroups.addAll(SwitchBlockStatementGroup); // setResult(SwitchBlockStatementGroups); break; } // // Rule 221: SwitchBlockStatementGroup ::= SwitchLabels BlockStatements // case 221: { //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1428 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List BlockStatements = (List) getRhsSym(2); //#line 1430 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), SwitchElement.class, false); l.addAll(SwitchLabels); l.add(nf.SwitchBlock(pos(), BlockStatements)); setResult(l); break; } // // Rule 222: SwitchLabels ::= SwitchLabel // case 222: { //#line 1437 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(1); //#line 1439 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Case.class, false); l.add(SwitchLabel); setResult(l); break; } // // Rule 223: SwitchLabels ::= SwitchLabels SwitchLabel // case 223: { //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List SwitchLabels = (List) getRhsSym(1); //#line 1444 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Case SwitchLabel = (Case) getRhsSym(2); //#line 1446 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" SwitchLabels.add(SwitchLabel); //setResult(SwitchLabels); break; } // // Rule 224: SwitchLabel ::= case ConstantExpression : // case 224: { //#line 1451 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConstantExpression = (Expr) getRhsSym(2); //#line 1453 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Case(pos(), ConstantExpression)); break; } // // Rule 225: SwitchLabel ::= default : // case 225: { //#line 1460 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Default(pos())); break; } // // Rule 226: WhileStatement ::= while ( Expression ) Statement // case 226: { //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(5); //#line 1469 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, Statement)); break; } // // Rule 227: WhileStatementNoShortIf ::= while ( Expression ) StatementNoShortIf // case 227: { //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1475 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.While(pos(), Expression, StatementNoShortIf)); break; } // // Rule 228: DoStatement ::= do Statement while ( Expression ) ; // case 228: { //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(2); //#line 1479 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(5); //#line 1481 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Do(pos(), Statement, Expression)); break; } // // Rule 231: BasicForStatement ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) Statement // case 231: { //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1488 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt Statement = (Stmt) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, Statement)); break; } // // Rule 232: ForStatementNoShortIf ::= for ( ForInitopt ; Expressionopt ; ForUpdateopt ) StatementNoShortIf // case 232: { //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForInitopt = (List) getRhsSym(3); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(5); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ForUpdateopt = (List) getRhsSym(7); //#line 1494 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Stmt StatementNoShortIf = (Stmt) getRhsSym(9); //#line 1496 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.For(pos(), ForInitopt, Expressionopt, ForUpdateopt, StatementNoShortIf)); break; } // // Rule 234: ForInit ::= LocalVariableDeclaration // case 234: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List LocalVariableDeclaration = (List) getRhsSym(1); //#line 1503 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), ForInit.class, false); l.addAll(LocalVariableDeclaration); //setResult(l); break; } // // Rule 236: StatementExpressionList ::= StatementExpression // case 236: { //#line 1511 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(1); //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Eval.class, false); l.add(nf.Eval(pos(), StatementExpression)); setResult(l); break; } // // Rule 237: StatementExpressionList ::= StatementExpressionList , StatementExpression // case 237: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List StatementExpressionList = (List) getRhsSym(1); //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr StatementExpression = (Expr) getRhsSym(3); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" StatementExpressionList.add(nf.Eval(pos(), StatementExpression)); //setResult(StatementExpressionList); break; } // // Rule 238: BreakStatement ::= break identifieropt ; // case 238: { //#line 1528 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1530 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Break(pos())); else setResult(nf.Break(pos(), identifieropt.toString())); break; } // // Rule 239: ContinueStatement ::= continue identifieropt ; // case 239: { //#line 1536 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name identifieropt = (Name) getRhsSym(2); //#line 1538 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (identifieropt == null) setResult(nf.Continue(pos())); else setResult(nf.Continue(pos(), identifieropt.toString())); break; } // // Rule 240: ReturnStatement ::= return Expressionopt ; // case 240: { //#line 1544 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expressionopt = (Expr) getRhsSym(2); //#line 1546 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Return(pos(), Expressionopt)); break; } // // Rule 241: ThrowStatement ::= throw Expression ; // case 241: { //#line 1550 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1552 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Throw(pos(), Expression)); break; } // // Rule 242: TryStatement ::= try Block Catches // case 242: { //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1562 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(3); //#line 1564 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catches)); break; } // // Rule 243: TryStatement ::= try Block Catchesopt Finally // case 243: { //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catchesopt = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Finally = (Block) getRhsSym(4); //#line 1569 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Try(pos(), Block, Catchesopt, Finally)); break; } // // Rule 244: Catches ::= CatchClause // case 244: { //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(1); //#line 1575 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Catch.class, false); l.add(CatchClause); setResult(l); break; } // // Rule 245: Catches ::= Catches CatchClause // case 245: { //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List Catches = (List) getRhsSym(1); //#line 1580 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catch CatchClause = (Catch) getRhsSym(2); //#line 1582 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Catches.add(CatchClause); //setResult(Catches); break; } // // Rule 246: CatchClause ::= catch ( FormalParameter ) Block // case 246: { //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1587 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(5); //#line 1589 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Catch(pos(), FormalParameter, Block)); break; } // // Rule 247: Finally ::= finally Block // case 247: { //#line 1593 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Block Block = (Block) getRhsSym(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Block); break; } // // Rule 251: PrimaryNoNewArray ::= Type . class // case 251: { //#line 1613 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1615 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 252: PrimaryNoNewArray ::= void . class // case 252: { //#line 1634 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 253: PrimaryNoNewArray ::= this // case 253: { //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos())); break; } // // Rule 254: PrimaryNoNewArray ::= ClassName . this // case 254: { //#line 1643 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1645 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 255: PrimaryNoNewArray ::= ( Expression ) // case 255: { //#line 1648 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1650 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.ParExpr(pos(), Expression)); break; } // // Rule 260: Literal ::= IntegerLiteral$IntegerLiteral // case 260: { //#line 1658 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken IntegerLiteral = (IToken) getRhsIToken(1); //#line 1660 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.IntegerLiteral a = int_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.INT, a.getValue().intValue())); break; } // // Rule 261: Literal ::= LongLiteral$LongLiteral // case 261: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken LongLiteral = (IToken) getRhsIToken(1); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.LongLiteral a = long_lit(getRhsFirstTokenIndex(1)); setResult(nf.IntLit(pos(), IntLit.LONG, a.getValue().longValue())); break; } // // Rule 262: Literal ::= FloatingPointLiteral$FloatLiteral // case 262: { //#line 1670 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken FloatLiteral = (IToken) getRhsIToken(1); //#line 1672 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.FloatLiteral a = float_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.FLOAT, a.getValue().floatValue())); break; } // // Rule 263: Literal ::= DoubleLiteral$DoubleLiteral // case 263: { //#line 1676 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken DoubleLiteral = (IToken) getRhsIToken(1); //#line 1678 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.DoubleLiteral a = double_lit(getRhsFirstTokenIndex(1)); setResult(nf.FloatLit(pos(), FloatLit.DOUBLE, a.getValue().doubleValue())); break; } // // Rule 264: Literal ::= BooleanLiteral // case 264: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.BooleanLiteral BooleanLiteral = (polyglot.lex.BooleanLiteral) getRhsSym(1); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.BooleanLit(pos(), BooleanLiteral.getValue().booleanValue())); break; } // // Rule 265: Literal ::= CharacterLiteral$CharacterLiteral // case 265: { //#line 1687 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken CharacterLiteral = (IToken) getRhsIToken(1); //#line 1689 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.CharacterLiteral a = char_lit(getRhsFirstTokenIndex(1)); setResult(nf.CharLit(pos(), a.getValue().charValue())); break; } // // Rule 266: Literal ::= StringLiteral$str // case 266: { //#line 1693 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken str = (IToken) getRhsIToken(1); //#line 1695 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.StringLiteral a = string_lit(getRhsFirstTokenIndex(1)); setResult(nf.StringLit(pos(), a.getValue())); break; } // // Rule 267: Literal ::= null // case 267: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.NullLit(pos())); break; } // // Rule 268: BooleanLiteral ::= true$trueLiteral // case 268: { //#line 1705 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken trueLiteral = (IToken) getRhsIToken(1); //#line 1707 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 269: BooleanLiteral ::= false$falseLiteral // case 269: { //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken falseLiteral = (IToken) getRhsIToken(1); //#line 1712 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(boolean_lit(getRhsFirstTokenIndex(1))); break; } // // Rule 270: ArgumentList ::= Expression // case 270: { //#line 1725 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(1); //#line 1727 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Expression); setResult(l); break; } // // Rule 271: ArgumentList ::= ArgumentList , Expression // case 271: { //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentList = (List) getRhsSym(1); //#line 1732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 1734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" ArgumentList.add(Expression); //setResult(ArgumentList); break; } // // Rule 272: DimExprs ::= DimExpr // case 272: { //#line 1768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(1); //#line 1770 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); setResult(l); break; } // // Rule 273: DimExprs ::= DimExprs DimExpr // case 273: { //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List DimExprs = (List) getRhsSym(1); //#line 1775 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr DimExpr = (Expr) getRhsSym(2); //#line 1777 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" DimExprs.add(DimExpr); //setResult(DimExprs); break; } // // Rule 274: DimExpr ::= [ Expression ] // case 274: { //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(2); //#line 1784 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Expression.position(pos())); break; } // // Rule 275: Dims ::= [ ] // case 275: { //#line 1790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(1)); break; } // // Rule 276: Dims ::= Dims [ ] // case 276: { //#line 1793 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Integer Dims = (Integer) getRhsSym(1); //#line 1795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(Dims.intValue() + 1)); break; } // // Rule 277: FieldAccess ::= Primary . identifier // case 277: { //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Primary = (Expr) getRhsSym(1); //#line 1799 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1801 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(), Primary, identifier.getIdentifier())); break; } // // Rule 278: FieldAccess ::= super . identifier // case 278: { //#line 1804 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1806 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 279: FieldAccess ::= ClassName . super$sup . identifier // case 279: { //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ClassName = (Name) getRhsSym(1); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" IToken sup = (IToken) getRhsIToken(3); //#line 1809 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 280: MethodInvocation ::= MethodName ( ArgumentListopt ) // case 280: { //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name MethodName = (Name) getRhsSym(1); //#line 1815 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" List ArgumentListopt = (List) getRhsSym(3); //#line 1817 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Call(pos(), MethodName.prefix == null ? null : MethodName.prefix.toReceiver(), MethodName.name, ArgumentListopt)); break; } // // Rule 282: PostfixExpression ::= ExpressionName // case 282: { //#line 1840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 1842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 285: PostIncrementExpression ::= PostfixExpression ++ // case 285: { //#line 1848 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_INC)); break; } // // Rule 286: PostDecrementExpression ::= PostfixExpression -- // case 286: { //#line 1854 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr PostfixExpression = (Expr) getRhsSym(1); //#line 1856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), PostfixExpression, Unary.POST_DEC)); break; } // // Rule 289: UnaryExpression ::= + UnaryExpression // case 289: { //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1864 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.POS, UnaryExpression)); break; } // // Rule 290: UnaryExpression ::= - UnaryExpression // case 290: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NEG, UnaryExpression)); break; } // // Rule 292: PreIncrementExpression ::= ++ UnaryExpression // case 292: { //#line 1874 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1876 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_INC, UnaryExpression)); break; } // // Rule 293: PreDecrementExpression ::= -- UnaryExpression // case 293: { //#line 1880 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.PRE_DEC, UnaryExpression)); break; } // // Rule 295: UnaryExpressionNotPlusMinus ::= ~ UnaryExpression // case 295: { //#line 1887 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1889 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.BIT_NOT, UnaryExpression)); break; } // // Rule 296: UnaryExpressionNotPlusMinus ::= ! UnaryExpression // case 296: { //#line 1892 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(2); //#line 1894 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Unary(pos(), Unary.NOT, UnaryExpression)); break; } // // Rule 299: MultiplicativeExpression ::= MultiplicativeExpression * UnaryExpression // case 299: { //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1906 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1908 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MUL, UnaryExpression)); break; } // // Rule 300: MultiplicativeExpression ::= MultiplicativeExpression / UnaryExpression // case 300: { //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1911 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.DIV, UnaryExpression)); break; } // // Rule 301: MultiplicativeExpression ::= MultiplicativeExpression % UnaryExpression // case 301: { //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(1); //#line 1916 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr UnaryExpression = (Expr) getRhsSym(3); //#line 1918 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), MultiplicativeExpression, Binary.MOD, UnaryExpression)); break; } // // Rule 303: AdditiveExpression ::= AdditiveExpression + MultiplicativeExpression // case 303: { //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1923 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1925 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.ADD, MultiplicativeExpression)); break; } // // Rule 304: AdditiveExpression ::= AdditiveExpression - MultiplicativeExpression // case 304: { //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(1); //#line 1928 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr MultiplicativeExpression = (Expr) getRhsSym(3); //#line 1930 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AdditiveExpression, Binary.SUB, MultiplicativeExpression)); break; } // // Rule 306: ShiftExpression ::= ShiftExpression << AdditiveExpression // case 306: { //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1935 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(3); //#line 1937 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ShiftExpression, Binary.SHL, AdditiveExpression)); break; } // // Rule 307: ShiftExpression ::= ShiftExpression > > AdditiveExpression // case 307: { //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1940 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(4); //#line 1942 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.SHR, AdditiveExpression)); break; } // // Rule 308: ShiftExpression ::= ShiftExpression > > > AdditiveExpression // case 308: { //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(1); //#line 1946 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AdditiveExpression = (Expr) getRhsSym(5); //#line 1948 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), ShiftExpression, Binary.USHR, AdditiveExpression)); break; } // // Rule 310: RelationalExpression ::= RelationalExpression < ShiftExpression // case 310: { //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1954 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1956 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LT, ShiftExpression)); break; } // // Rule 311: RelationalExpression ::= RelationalExpression > ShiftExpression // case 311: { //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1959 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1961 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.GT, ShiftExpression)); break; } // // Rule 312: RelationalExpression ::= RelationalExpression <= ShiftExpression // case 312: { //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1964 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(3); //#line 1966 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), RelationalExpression, Binary.LE, ShiftExpression)); break; } // // Rule 313: RelationalExpression ::= RelationalExpression > = ShiftExpression // case 313: { //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1969 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ShiftExpression = (Expr) getRhsSym(4); //#line 1971 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(nf.Binary(pos(), RelationalExpression, Binary.GE, ShiftExpression)); break; } // // Rule 315: EqualityExpression ::= EqualityExpression == RelationalExpression // case 315: { //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1985 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1987 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.EQ, RelationalExpression)); break; } // // Rule 316: EqualityExpression ::= EqualityExpression != RelationalExpression // case 316: { //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(1); //#line 1990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr RelationalExpression = (Expr) getRhsSym(3); //#line 1992 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), EqualityExpression, Binary.NE, RelationalExpression)); break; } // // Rule 318: AndExpression ::= AndExpression & EqualityExpression // case 318: { //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(1); //#line 1997 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr EqualityExpression = (Expr) getRhsSym(3); //#line 1999 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), AndExpression, Binary.BIT_AND, EqualityExpression)); break; } // // Rule 320: ExclusiveOrExpression ::= ExclusiveOrExpression ^ AndExpression // case 320: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(1); //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AndExpression = (Expr) getRhsSym(3); //#line 2006 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ExclusiveOrExpression, Binary.BIT_XOR, AndExpression)); break; } // // Rule 322: InclusiveOrExpression ::= InclusiveOrExpression | ExclusiveOrExpression // case 322: { //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(1); //#line 2011 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ExclusiveOrExpression = (Expr) getRhsSym(3); //#line 2013 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), InclusiveOrExpression, Binary.BIT_OR, ExclusiveOrExpression)); break; } // // Rule 324: ConditionalAndExpression ::= ConditionalAndExpression && InclusiveOrExpression // case 324: { //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(1); //#line 2018 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr InclusiveOrExpression = (Expr) getRhsSym(3); //#line 2020 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalAndExpression, Binary.COND_AND, InclusiveOrExpression)); break; } // // Rule 326: ConditionalOrExpression ::= ConditionalOrExpression || ConditionalAndExpression // case 326: { //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2025 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalAndExpression = (Expr) getRhsSym(3); //#line 2027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Binary(pos(), ConditionalOrExpression, Binary.COND_OR, ConditionalAndExpression)); break; } // // Rule 328: ConditionalExpression ::= ConditionalOrExpression ? Expression : ConditionalExpression // case 328: { //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalOrExpression = (Expr) getRhsSym(1); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr Expression = (Expr) getRhsSym(3); //#line 2032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr ConditionalExpression = (Expr) getRhsSym(5); //#line 2034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Conditional(pos(), ConditionalOrExpression, Expression, ConditionalExpression)); break; } // // Rule 331: Assignment ::= LeftHandSide AssignmentOperator AssignmentExpression // case 331: { //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr LeftHandSide = (Expr) getRhsSym(1); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Assign.Operator AssignmentOperator = (Assign.Operator) getRhsSym(2); //#line 2041 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Expr AssignmentExpression = (Expr) getRhsSym(3); //#line 2043 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(nf.Assign(pos(), LeftHandSide, AssignmentOperator, AssignmentExpression)); break; } // // Rule 332: LeftHandSide ::= ExpressionName // case 332: { //#line 2047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" Name ExpressionName = (Name) getRhsSym(1); //#line 2049 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(ExpressionName.toExpr()); break; } // // Rule 335: AssignmentOperator ::= = // case 335: { //#line 2057 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ASSIGN); break; } // // Rule 336: AssignmentOperator ::= *= // case 336: { //#line 2062 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MUL_ASSIGN); break; } // // Rule 337: AssignmentOperator ::= /= // case 337: { //#line 2067 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.DIV_ASSIGN); break; } // // Rule 338: AssignmentOperator ::= %= // case 338: { //#line 2072 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.MOD_ASSIGN); break; } // // Rule 339: AssignmentOperator ::= += // case 339: { //#line 2077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.ADD_ASSIGN); break; } // // Rule 340: AssignmentOperator ::= -= // case 340: { //#line 2082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SUB_ASSIGN); break; } // // Rule 341: AssignmentOperator ::= <<= // case 341: { //#line 2087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.SHL_ASSIGN); break; } // // Rule 342: AssignmentOperator ::= > > = // case 342: { //#line 2092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.SHR_ASSIGN); break; } // // Rule 343: AssignmentOperator ::= > > > = // case 343: { //#line 2098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" // TODO: make sure that there is no space after the ">" signs setResult(Assign.USHR_ASSIGN); break; } // // Rule 344: AssignmentOperator ::= &= // case 344: { //#line 2104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_AND_ASSIGN); break; } // // Rule 345: AssignmentOperator ::= ^= // case 345: { //#line 2109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_XOR_ASSIGN); break; } // // Rule 346: AssignmentOperator ::= |= // case 346: { //#line 2114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Assign.BIT_OR_ASSIGN); break; } // // Rule 349: Dimsopt ::= $Empty // case 349: { //#line 2127 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Integer(0)); break; } // // Rule 351: Catchesopt ::= $Empty // case 351: { //#line 2134 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 353: identifieropt ::= $Empty // case 353: setResult(null); break; // // Rule 354: identifieropt ::= identifier // case 354: { //#line 2141 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 2143 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 355: ForUpdateopt ::= $Empty // case 355: { //#line 2149 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForUpdate.class, false)); break; } // // Rule 357: Expressionopt ::= $Empty // case 357: setResult(null); break; // // Rule 359: ForInitopt ::= $Empty // case 359: { //#line 2160 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ForInit.class, false)); break; } // // Rule 361: SwitchLabelsopt ::= $Empty // case 361: { //#line 2167 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Case.class, false)); break; } // // Rule 363: SwitchBlockStatementGroupsopt ::= $Empty // case 363: { //#line 2174 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), SwitchElement.class, false)); break; } // // Rule 365: VariableModifiersopt ::= $Empty // case 365: { //#line 2181 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 367: VariableInitializersopt ::= $Empty // case 367: setResult(null); break; // // Rule 369: AbstractMethodModifiersopt ::= $Empty // case 369: { //#line 2211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 371: ConstantModifiersopt ::= $Empty // case 371: { //#line 2218 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 373: InterfaceMemberDeclarationsopt ::= $Empty // case 373: { //#line 2225 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 375: ExtendsInterfacesopt ::= $Empty // case 375: { //#line 2232 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 377: InterfaceModifiersopt ::= $Empty // case 377: { //#line 2239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 379: ClassBodyopt ::= $Empty // case 379: setResult(null); break; // // Rule 381: Argumentsopt ::= $Empty // case 381: setResult(null); break; // // Rule 382: Argumentsopt ::= Arguments // case 382: throw new Error("No action specified for rule " + 382); // // Rule 383: ,opt ::= $Empty // case 383: setResult(null); break; // // Rule 385: ArgumentListopt ::= $Empty // case 385: { //#line 2269 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Catch.class, false)); break; } // // Rule 387: BlockStatementsopt ::= $Empty // case 387: { //#line 2276 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Stmt.class, false)); break; } // // Rule 389: ExplicitConstructorInvocationopt ::= $Empty // case 389: setResult(null); break; // // Rule 391: ConstructorModifiersopt ::= $Empty // case 391: { //#line 2287 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 393: ...opt ::= $Empty // case 393: setResult(null); break; // // Rule 395: FormalParameterListopt ::= $Empty // case 395: { //#line 2298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Formal.class, false)); break; } // // Rule 397: Throwsopt ::= $Empty // case 397: { //#line 2305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 399: MethodModifiersopt ::= $Empty // case 399: { //#line 2312 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 401: FieldModifiersopt ::= $Empty // case 401: { //#line 2319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 403: ClassBodyDeclarationsopt ::= $Empty // case 403: { //#line 2326 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), ClassMember.class, false)); break; } // // Rule 405: Interfacesopt ::= $Empty // case 405: { //#line 2333 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TypeNode.class, false)); break; } // // Rule 407: Superopt ::= $Empty // case 407: { //#line 2340 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new Name(nf, ts, pos(), "x10.lang.Object").toType()); break; } // // Rule 409: ClassModifiersopt ::= $Empty // case 409: { //#line 2351 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(Flags.NONE); break; } // // Rule 411: TypeDeclarationsopt ::= $Empty // case 411: { //#line 2363 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), TopLevelDecl.class, false)); break; } // // Rule 413: ImportDeclarationsopt ::= $Empty // case 413: { //#line 2370 "C:/eclipse/ws6/x10.compiler/src/x10/parser/GJavaParserForX10.gi" setResult(new TypedList(new LinkedList(), Import.class, false)); break; } // // Rule 415: PackageDeclarationopt ::= $Empty // case 415: setResult(null); break; // // Rule 417: ClassType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 417: { //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 715 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 717 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 418: InterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 418: { //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 726 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParametersopt == null ? TypeName.toType() : ((X10TypeNode) TypeName.toType()).dep(null, DepParametersopt)); break; } // // Rule 419: PackageDeclaration ::= package PackageName ; // case 419: { //#line 732 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name PackageName = (Name) getRhsSym(2); //#line 734 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PackageName.toPackage()); break; } // // Rule 420: NormalClassDeclaration ::= X10ClassModifiersopt class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 420: { //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 738 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 740 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(X10Flags.isValue(X10ClassModifiersopt) ? nf.ValueClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody) : nf.ClassDecl(pos(), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 422: X10ClassModifiers ::= X10ClassModifiers X10ClassModifier // case 422: { //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiers = (X10Flags) getRhsSym(1); //#line 753 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifier = (X10Flags) getRhsSym(2); //#line 755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags result = X10ClassModifiers.setX(X10ClassModifier); setResult(result); break; } // // Rule 423: X10ClassModifier ::= ClassModifier // case 423: { //#line 761 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ClassModifier = (Flags) getRhsSym(1); //#line 763 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(ClassModifier)); break; } // // Rule 424: X10ClassModifier ::= safe // case 424: { //#line 768 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 425: PropertyList ::= ( Properties WhereClauseopt ) // case 425: { //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(2); //#line 772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(3); //#line 774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = Properties; result[1] = WhereClauseopt; setResult(result); break; } // // Rule 426: PropertyList ::= ( WhereClause ) // case 426: { //#line 779 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(2); //#line 781 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] result = new Object[2]; result[0] = null; result[1] = WhereClause; setResult(result); break; } // // Rule 427: Properties ::= Property // case 427: { //#line 788 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(1); //#line 790 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), PropertyDecl.class, false); l.add(Property); setResult(l); break; } // // Rule 428: Properties ::= Properties , Property // case 428: { //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Properties = (List) getRhsSym(1); //#line 795 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" PropertyDecl Property = (PropertyDecl) getRhsSym(3); //#line 797 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Properties.add(Property); // setResult(FormalParameters); break; } // // Rule 429: Property ::= Type identifier // case 429: { //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 803 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(2); //#line 805 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PropertyDecl(pos(), Flags.PUBLIC.Final(), Type, identifier.getIdentifier())); break; } // // Rule 430: MethodHeader ::= ThisClauseopt MethodModifiersopt ResultType MethodDeclarator Throwsopt // case 430: { //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags MethodModifiersopt = (Flags) getRhsSym(2); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 811 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 813 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name c = (MethodDeclarator != null) ? (Name) MethodDeclarator[0] : null; List d = (MethodDeclarator != null) ? (List) MethodDeclarator[1] : null; Integer e = (MethodDeclarator != null) ? (Integer) MethodDeclarator[2] : null; Expr where = (MethodDeclarator != null) ? (Expr) MethodDeclarator[3] : null; if (ResultType.type() == ts.Void() && e != null && e.intValue() > 0) { // TODO: error!!! System.err.println("Fix me - encountered method returning void but with non-zero rank?"); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, MethodModifiersopt, nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e != null ? e.intValue() : 1), c != null ? c.toString() : "", d, where, Throwsopt, null)); break; } // // Rule 431: ExplicitConstructorInvocation ::= this ( ArgumentListopt ) ; // case 431: { //#line 835 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), ArgumentListopt)); break; } // // Rule 432: ExplicitConstructorInvocation ::= super ( ArgumentListopt ) ; // case 432: { //#line 840 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(3); //#line 842 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), ArgumentListopt)); break; } // // Rule 433: ExplicitConstructorInvocation ::= Primary . this ( ArgumentListopt ) ; // case 433: { //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 845 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 847 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ThisCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 434: ExplicitConstructorInvocation ::= Primary . super ( ArgumentListopt ) ; // case 434: { //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 850 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 852 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.SuperCall(pos(), Primary, ArgumentListopt)); break; } // // Rule 435: NormalInterfaceDeclaration ::= InterfaceModifiersopt interface identifier PropertyListopt ExtendsInterfacesopt InterfaceBody // case 435: { //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags InterfaceModifiersopt = (Flags) getRhsSym(1); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ExtendsInterfacesopt = (List) getRhsSym(5); //#line 856 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody InterfaceBody = (ClassBody) getRhsSym(6); //#line 858 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt == null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt == null ? null : (Expr) PropertyListopt[1]; setResult(nf.ClassDecl(pos(), InterfaceModifiersopt.Interface(), identifier.getIdentifier(), props, ci, null, ExtendsInterfacesopt, InterfaceBody)); break; } // // Rule 436: AbstractMethodDeclaration ::= ThisClauseopt AbstractMethodModifiersopt ResultType MethodDeclarator Throwsopt ; // case 436: { //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags AbstractMethodModifiersopt = (Flags) getRhsSym(2); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ResultType = (TypeNode) getRhsSym(3); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(4); //#line 873 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(5); //#line 875 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name c = (Name) MethodDeclarator[0]; List d = (List) MethodDeclarator[1]; Integer e = (Integer) MethodDeclarator[2]; Expr where = (Expr) MethodDeclarator[3]; if (ResultType.type() == ts.Void() && e.intValue() > 0) { // TODO: error!!! assert(false); } setResult(nf.MethodDecl(pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(4)), ThisClauseopt, AbstractMethodModifiersopt , nf.array((TypeNode) ResultType, pos(getRhsFirstTokenIndex(3), getRhsLastTokenIndex(3)), e.intValue()), c.toString(), d, where, Throwsopt, null)); break; } // // Rule 437: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt ) ClassBodyopt // case 437: { //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ClassOrInterfaceType = (TypeNode) getRhsSym(2); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(4); //#line 898 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(6); //#line 900 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ClassBodyopt == null) setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt)); else setResult(nf.New(pos(), ClassOrInterfaceType, ArgumentListopt, ClassBodyopt)); break; } // // Rule 438: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt ) ClassBodyopt // case 438: { //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 905 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 907 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), Primary, b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 439: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt ) ClassBodyopt // case 439: { //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name AmbiguousName = (Name) getRhsSym(1); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(6); //#line 913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBodyopt = (ClassBody) getRhsSym(8); //#line 915 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name b = new Name(nf, ts, pos(), identifier.getIdentifier()); if (ClassBodyopt == null) setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt)); else setResult(nf.New(pos(), AmbiguousName.toExpr(), b.toType(), ArgumentListopt, ClassBodyopt)); break; } // // Rule 440: MethodInvocation ::= Primary . identifier ( ArgumentListopt ) // case 440: { //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Primary = (Expr) getRhsSym(1); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 924 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), Primary, identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 441: MethodInvocation ::= super . identifier ( ArgumentListopt ) // case 441: { //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 927 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(5); //#line 929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getLeftSpan())), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 442: MethodInvocation ::= ClassName . super$sup . identifier ( ArgumentListopt ) // case 442: { //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 932 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentListopt = (List) getRhsSym(7); //#line 934 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Call(pos(), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier(), ArgumentListopt)); break; } // // Rule 444: AssignPropertyCall ::= property ( ArgumentList ) // case 444: { //#line 939 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 941 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AssignPropertyCall(pos(), ArgumentList)); break; } // // Rule 445: Type ::= DataType // case 445: { //#line 950 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(1); //#line 952 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 446: Type ::= nullable < Type > DepParametersopt // case 446: { //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 955 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(5); //#line 957 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode t = nf.Nullable(pos(), Type); setResult(DepParametersopt == null ? t : t.dep(null, DepParametersopt)); break; } // // Rule 447: Type ::= future < Type > // case 447: { //#line 963 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 965 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 451: PrimitiveType ::= NumericType DepParametersopt // case 451: { //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode NumericType = (TypeNode) getRhsSym(1); //#line 980 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 982 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parser: parsed PrimitiveType |" + NumericType + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? NumericType : ((X10TypeNode) NumericType).dep(null, DepParametersopt)); break; } // // Rule 452: PrimitiveType ::= boolean DepParametersopt // case 452: { //#line 988 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 990 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode res = (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.Boolean()); setResult(DepParametersopt==null ? res : res.dep(null, DepParametersopt)); break; } // // Rule 457: ClassOrInterfaceType ::= TypeName DepParametersopt PlaceTypeSpecifieropt // case 457: { //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name TypeName = (Name) getRhsSym(1); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1002 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object PlaceTypeSpecifieropt = (Object) getRhsSym(3); //#line 1004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10TypeNode type; if (ts.isPrimitiveTypeName(TypeName.name)) { try { type= (X10TypeNode) nf.CanonicalTypeNode(pos(), ts.primitiveForName(TypeName.name)); } catch (SemanticException e) { throw new InternalCompilerError("Unable to create primitive type for '" + TypeName.name + "'!"); } } else type= (X10TypeNode) TypeName.toType(); // System.out.println("Parser: parsed ClassOrInterfaceType |" + TypeName + "| |" + DepParametersopt +"|"); setResult(DepParametersopt == null ? type : type.dep(null, DepParametersopt)); break; } // // Rule 458: DepParameters ::= ( DepParameterExpr ) // case 458: { //#line 1021 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(2); //#line 1023 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameterExpr); break; } // // Rule 459: DepParameterExpr ::= ArgumentList WhereClauseopt // case 459: { //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(1); //#line 1027 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(2); //#line 1029 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), ArgumentList, WhereClauseopt)); break; } // // Rule 460: DepParameterExpr ::= WhereClause // case 460: { //#line 1032 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClause = (Expr) getRhsSym(1); //#line 1034 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.DepParameterExpr(pos(), Collections.EMPTY_LIST, WhereClause)); break; } // // Rule 461: WhereClause ::= : ConstExpression // case 461: { //#line 1038 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1040 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 462: ConstPrimary ::= Literal // case 462: { //#line 1045 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.ast.Lit Literal = (polyglot.ast.Lit) getRhsSym(1); //#line 1047 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Literal); break; } // // Rule 463: ConstPrimary ::= Type . class // case 463: { //#line 1050 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1052 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (Type instanceof Name) { Name a = (Name) Type; setResult(nf.ClassLit(pos(), a.toType())); } else if (Type instanceof TypeNode) { setResult(nf.ClassLit(pos(), Type)); } else if (Type instanceof CanonicalTypeNode) { CanonicalTypeNode a = (CanonicalTypeNode) Type; setResult(nf.ClassLit(pos(), a)); } else assert(false); break; } // // Rule 464: ConstPrimary ::= void . class // case 464: { //#line 1071 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ClassLit(pos(), nf.CanonicalTypeNode(pos(getLeftSpan()), ts.Void()))); break; } // // Rule 465: ConstPrimary ::= this // case 465: { //#line 1077 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos())); break; } // // Rule 466: ConstPrimary ::= here // case 466: { //#line 1082 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Here(pos())); break; } // // Rule 467: ConstPrimary ::= ClassName . this // case 467: { //#line 1085 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1087 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.This(pos(), ClassName.toType())); break; } // // Rule 468: ConstPrimary ::= ( ConstExpression ) // case 468: { //#line 1090 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(2); //#line 1092 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExpression); break; } // // Rule 470: ConstPrimary ::= self // case 470: { //#line 1098 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Self(pos())); break; } // // Rule 471: ConstPostfixExpression ::= ConstPrimary // case 471: { //#line 1104 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1106 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPrimary); break; } // // Rule 472: ConstPostfixExpression ::= ExpressionName // case 472: { //#line 1109 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1111 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ExpressionName.toExpr()); break; } // // Rule 473: ConstUnaryExpression ::= ConstPostfixExpression // case 473: { //#line 1114 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPostfixExpression = (Expr) getRhsSym(1); //#line 1116 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstPostfixExpression); break; } // // Rule 474: ConstUnaryExpression ::= + ConstUnaryExpression // case 474: { //#line 1119 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1121 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.POS, ConstUnaryExpression)); break; } // // Rule 475: ConstUnaryExpression ::= - ConstUnaryExpression // case 475: { //#line 1124 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1126 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NEG, ConstUnaryExpression)); break; } // // Rule 476: ConstUnaryExpression ::= ! ConstUnaryExpression // case 476: { //#line 1129 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(2); //#line 1131 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Unary(pos(), Unary.NOT, ConstUnaryExpression)); break; } // // Rule 477: ConstMultiplicativeExpression ::= ConstUnaryExpression // case 477: { //#line 1135 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(1); //#line 1137 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstUnaryExpression); break; } // // Rule 478: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression * ConstUnaryExpression // case 478: { //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1140 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1142 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MUL, ConstUnaryExpression)); break; } // // Rule 479: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression / ConstUnaryExpression // case 479: { //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1145 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1147 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.DIV, ConstUnaryExpression)); break; } // // Rule 480: ConstMultiplicativeExpression ::= ConstMultiplicativeExpression % ConstUnaryExpression // case 480: { //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1150 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstUnaryExpression = (Expr) getRhsSym(3); //#line 1152 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstMultiplicativeExpression, Binary.MOD, ConstUnaryExpression)); break; } // // Rule 481: ConstAdditiveExpression ::= ConstMultiplicativeExpression // case 481: { //#line 1156 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(1); //#line 1158 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstMultiplicativeExpression); break; } // // Rule 482: ConstAdditiveExpression ::= ConstAdditiveExpression + ConstMultiplicativeExpression // case 482: { //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1161 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1163 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.ADD, ConstMultiplicativeExpression)); break; } // // Rule 483: ConstAdditiveExpression ::= ConstAdditiveExpression - ConstMultiplicativeExpression // case 483: { //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1166 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstMultiplicativeExpression = (Expr) getRhsSym(3); //#line 1168 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAdditiveExpression, Binary.SUB, ConstMultiplicativeExpression)); break; } // // Rule 484: ConstRelationalExpression ::= ConstAdditiveExpression // case 484: { //#line 1173 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(1); //#line 1175 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAdditiveExpression); break; } // // Rule 485: ConstRelationalExpression ::= ConstRelationalExpression < ConstAdditiveExpression // case 485: { //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1178 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1180 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LT, ConstAdditiveExpression)); break; } // // Rule 486: ConstRelationalExpression ::= ConstRelationalExpression > ConstAdditiveExpression // case 486: { //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1183 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1185 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GT, ConstAdditiveExpression)); break; } // // Rule 487: ConstRelationalExpression ::= ConstRelationalExpression <= ConstAdditiveExpression // case 487: { //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1188 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(3); //#line 1190 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.LE, ConstAdditiveExpression)); break; } // // Rule 488: ConstRelationalExpression ::= ConstRelationalExpression > = ConstAdditiveExpression // case 488: { //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1193 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAdditiveExpression = (Expr) getRhsSym(4); //#line 1195 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstRelationalExpression, Binary.GE, ConstAdditiveExpression)); break; } // // Rule 489: ConstEqualityExpression ::= ConstRelationalExpression // case 489: { //#line 1199 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(1); //#line 1201 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstRelationalExpression); break; } // // Rule 490: ConstEqualityExpression ::= ConstEqualityExpression == ConstRelationalExpression // case 490: { //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1204 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1206 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.EQ, ConstRelationalExpression)); break; } // // Rule 491: ConstEqualityExpression ::= ConstEqualityExpression != ConstRelationalExpression // case 491: { //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1209 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstRelationalExpression = (Expr) getRhsSym(3); //#line 1211 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstEqualityExpression, Binary.NE, ConstRelationalExpression)); break; } // // Rule 492: ConstAndExpression ::= ConstEqualityExpression // case 492: { //#line 1215 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(1); //#line 1217 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstEqualityExpression); break; } // // Rule 493: ConstAndExpression ::= ConstAndExpression && ConstEqualityExpression // case 493: { //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1220 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstEqualityExpression = (Expr) getRhsSym(3); //#line 1222 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstAndExpression, Binary.COND_AND, ConstEqualityExpression)); break; } // // Rule 494: ConstExclusiveOrExpression ::= ConstAndExpression // case 494: { //#line 1226 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(1); //#line 1228 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstAndExpression); break; } // // Rule 495: ConstExclusiveOrExpression ::= ConstExclusiveOrExpression ^ ConstAndExpression // case 495: { //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1231 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstAndExpression = (Expr) getRhsSym(3); //#line 1233 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstExclusiveOrExpression, Binary.BIT_XOR, ConstAndExpression)); break; } // // Rule 496: ConstInclusiveOrExpression ::= ConstExclusiveOrExpression // case 496: { //#line 1237 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(1); //#line 1239 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstExclusiveOrExpression); break; } // // Rule 497: ConstInclusiveOrExpression ::= ConstInclusiveOrExpression || ConstExclusiveOrExpression // case 497: { //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1242 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExclusiveOrExpression = (Expr) getRhsSym(3); //#line 1244 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Binary(pos(), ConstInclusiveOrExpression, Binary.COND_OR, ConstExclusiveOrExpression)); break; } // // Rule 498: ConstExpression ::= ConstInclusiveOrExpression // case 498: { //#line 1248 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1250 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ConstInclusiveOrExpression); break; } // // Rule 499: ConstExpression ::= ConstInclusiveOrExpression ? ConstExpression$first : ConstExpression // case 499: { //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstInclusiveOrExpression = (Expr) getRhsSym(1); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr first = (Expr) getRhsSym(3); //#line 1253 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstExpression = (Expr) getRhsSym(5); //#line 1255 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Conditional(pos(), ConstInclusiveOrExpression, first, ConstExpression)); break; } // // Rule 500: ConstFieldAccess ::= ConstPrimary . identifier // case 500: { //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr ConstPrimary = (Expr) getRhsSym(1); //#line 1260 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1262 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(), ConstPrimary, identifier.getIdentifier())); break; } // // Rule 501: ConstFieldAccess ::= super . identifier // case 501: { //#line 1265 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1267 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getLeftSpan())), identifier.getIdentifier())); break; } // // Rule 502: ConstFieldAccess ::= ClassName . super$sup . identifier // case 502: { //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ClassName = (Name) getRhsSym(1); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken sup = (IToken) getRhsIToken(3); //#line 1270 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(5); //#line 1272 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Field(pos(getRightSpan()), nf.Super(pos(getRhsFirstTokenIndex(3)), ClassName.toType()), identifier.getIdentifier())); break; } // // Rule 504: X10ArrayType ::= Type [ . ] // case 504: { //#line 1288 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1290 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, null)); break; } // // Rule 505: X10ArrayType ::= Type value [ . ] // case 505: { //#line 1293 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1295 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, null)); break; } // // Rule 506: X10ArrayType ::= Type [ DepParameterExpr ] // case 506: { //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1298 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(3); //#line 1300 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, false, DepParameterExpr)); break; } // // Rule 507: X10ArrayType ::= Type value [ DepParameterExpr ] // case 507: { //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(1); //#line 1303 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameterExpr = (DepParameterExpr) getRhsSym(4); //#line 1305 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.X10ArrayTypeNode(pos(), Type, true, DepParameterExpr)); break; } // // Rule 508: ObjectKind ::= value // case 508: throw new Error("No action specified for rule " + 508); // // Rule 509: ObjectKind ::= reference // case 509: throw new Error("No action specified for rule " + 509); // // Rule 510: MethodModifier ::= atomic // case 510: { //#line 1319 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.ATOMIC); break; } // // Rule 511: MethodModifier ::= extern // case 511: { //#line 1324 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.NATIVE); break; } // // Rule 512: MethodModifier ::= safe // case 512: { //#line 1329 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SAFE); break; } // // Rule 513: MethodModifier ::= sequential // case 513: { //#line 1334 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.SEQUENTIAL); break; } // // Rule 514: MethodModifier ::= local // case 514: { //#line 1339 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.LOCAL); break; } // // Rule 515: MethodModifier ::= nonblocking // case 515: { //#line 1344 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.NON_BLOCKING); break; } // // Rule 517: ValueClassDeclaration ::= X10ClassModifiersopt value identifier PropertyListopt Superopt Interfacesopt ClassBody // case 517: { //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(4); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(5); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(6); //#line 1350 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(7); //#line 1352 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 518: ValueClassDeclaration ::= X10ClassModifiersopt value class identifier PropertyListopt Superopt Interfacesopt ClassBody // case 518: { //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Flags X10ClassModifiersopt = (X10Flags) getRhsSym(1); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(4); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] PropertyListopt = (Object[]) getRhsSym(5); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Superopt = (TypeNode) getRhsSym(6); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Interfacesopt = (List) getRhsSym(7); //#line 1360 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClassBody ClassBody = (ClassBody) getRhsSym(8); //#line 1362 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" checkTypeName(identifier); List/*<PropertyDecl>*/ props = PropertyListopt==null ? null : (List) PropertyListopt[0]; Expr ci = PropertyListopt==null ? null : (Expr) PropertyListopt[1]; setResult(nf.ValueClassDecl(pos(getLeftSpan(), getRightSpan()), X10ClassModifiersopt, identifier.getIdentifier(), props, ci, Superopt, Interfacesopt, ClassBody)); break; } // // Rule 519: ConstructorDeclaration ::= ConstructorModifiersopt ConstructorDeclarator Throwsopt ConstructorBody // case 519: { //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags ConstructorModifiersopt = (Flags) getRhsSym(1); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] ConstructorDeclarator = (Object[]) getRhsSym(2); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List Throwsopt = (List) getRhsSym(3); //#line 1371 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block ConstructorBody = (Block) getRhsSym(4); //#line 1373 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name a = (Name) ConstructorDeclarator[1]; DepParameterExpr c = (DepParameterExpr) ConstructorDeclarator[2]; List b = (List) ConstructorDeclarator[3]; Expr e = (Expr) ConstructorDeclarator[4]; setResult(nf.ConstructorDecl(pos(), ConstructorModifiersopt, a.toString(), c, b, e, Throwsopt, ConstructorBody)); break; } // // Rule 520: ConstructorDeclarator ::= SimpleTypeName DepParametersopt ( FormalParameterListopt WhereClauseopt ) // case 520: { //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name SimpleTypeName = (Name) getRhsSym(1); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParametersopt = (DepParameterExpr) getRhsSym(2); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(4); //#line 1381 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(5); //#line 1383 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] a = new Object[5]; a[1] = SimpleTypeName; a[2] = DepParametersopt; a[3] = FormalParameterListopt; a[4] = WhereClauseopt; setResult(a); break; } // // Rule 521: ThisClause ::= this DepParameters // case 521: { //#line 1391 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr DepParameters = (DepParameterExpr) getRhsSym(2); //#line 1393 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DepParameters); break; } // // Rule 522: Super ::= extends DataType // case 522: { //#line 1397 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode DataType = (TypeNode) getRhsSym(2); //#line 1399 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(DataType); break; } // // Rule 523: MethodDeclarator ::= identifier ( FormalParameterListopt WhereClauseopt ) // case 523: { //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List FormalParameterListopt = (List) getRhsSym(3); //#line 1403 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr WhereClauseopt = (Expr) getRhsSym(4); //#line 1405 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // System.out.println("Parsing methoddeclarator..."); Object[] a = new Object[5]; a[0] = new Name(nf, ts, pos(), identifier.getIdentifier()); a[1] = FormalParameterListopt; a[2] = new Integer(0); a[3] = WhereClauseopt; setResult(a); break; } // // Rule 524: MethodDeclarator ::= MethodDeclarator [ ] // case 524: { //#line 1415 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object[] MethodDeclarator = (Object[]) getRhsSym(1); //#line 1417 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" MethodDeclarator[2] = new Integer(((Integer) MethodDeclarator[2]).intValue() + 1); // setResult(MethodDeclarator); break; } // // Rule 525: FieldDeclaration ::= ThisClauseopt FieldModifiersopt Type VariableDeclarators ; // case 525: { //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" DepParameterExpr ThisClauseopt = (DepParameterExpr) getRhsSym(1); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Flags FieldModifiersopt = (Flags) getRhsSym(2); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1423 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List VariableDeclarators = (List) getRhsSym(4); //#line 1425 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), ClassMember.class, false); if (VariableDeclarators != null && VariableDeclarators.size() > 0) { for (Iterator i = VariableDeclarators.iterator(); i.hasNext();) { X10VarDeclarator d = (X10VarDeclarator) i.next(); if (d.hasExplodedVars()) // TODO: Report this exception correctly. throw new Error("Field Declarations may not have exploded variables." + pos()); d.setFlag(FieldModifiersopt); l.add(nf.FieldDecl(d.position(), ThisClauseopt, d.flags, nf.array(Type, Type.position(), d.dims), d.name, d.init)); } } setResult(l); break; } // // Rule 526: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt Dims ArrayInitializer // case 526: { //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(4); //#line 1459 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ArrayInit ArrayInitializer = (ArrayInit) getRhsSym(5); //#line 1461 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Dims.intValue(), ArrayInitializer)); break; } // // Rule 527: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr Dims // case 527: { //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1465 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dims = (Integer) getRhsSym(5); //#line 1467 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); setResult(nf.NewArray(pos(), ArrayBaseType, Collections.singletonList(DimExpr), Dims.intValue())); break; } // // Rule 528: ArrayCreationExpression ::= new ArrayBaseType Unsafeopt DimExpr DimExprs Dimsopt // case 528: { //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(3); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr DimExpr = (Expr) getRhsSym(4); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List DimExprs = (List) getRhsSym(5); //#line 1471 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Integer Dimsopt = (Integer) getRhsSym(6); //#line 1473 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // setResult(nf.ArrayConstructor(pos(), a, false, null, d)); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(DimExpr); l.addAll(DimExprs); setResult(nf.NewArray(pos(), ArrayBaseType, l, Dimsopt.intValue())); break; } // // Rule 529: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] // case 529: { //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1480 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1482 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, null)); break; } // // Rule 530: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression$distr ] Expression$initializer // case 530: { //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr distr = (Expr) getRhsSym(6); //#line 1485 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = (Expr) getRhsSym(8); //#line 1487 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, distr, initializer)); break; } // // Rule 531: ArrayCreationExpression ::= new ArrayBaseType Valueopt Unsafeopt [ Expression ] ($lparen FormalParameter ) MethodBody // case 531: { //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode ArrayBaseType = (TypeNode) getRhsSym(2); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Valueopt = (Object) getRhsSym(3); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Object Unsafeopt = (Object) getRhsSym(4); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(6); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken lparen = (IToken) getRhsIToken(8); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(9); //#line 1490 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block MethodBody = (Block) getRhsSym(11); //#line 1492 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr initializer = makeInitializer( pos(getRhsFirstTokenIndex(8), getRightSpan()), ArrayBaseType, FormalParameter, MethodBody ); setResult(nf.ArrayConstructor(pos(), ArrayBaseType, Unsafeopt != null, Valueopt != null, Expression, initializer)); break; } // // Rule 532: Valueopt ::= $Empty // case 532: setResult(null); break; // // Rule 533: Valueopt ::= value // case 533: { //#line 1501 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 536: ArrayBaseType ::= nullable < Type > // case 536: { //#line 1508 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1510 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Nullable(pos(), Type)); break; } // // Rule 537: ArrayBaseType ::= future < Type > // case 537: { //#line 1513 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1515 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), Type)); break; } // // Rule 538: ArrayBaseType ::= ( Type ) // case 538: { //#line 1518 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1520 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Type); break; } // // Rule 539: ArrayAccess ::= ExpressionName [ ArgumentList ] // case 539: { //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name ExpressionName = (Name) getRhsSym(1); //#line 1524 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1526 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), ExpressionName.toExpr(), (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), ExpressionName.toExpr(), ArgumentList)); break; } // // Rule 540: ArrayAccess ::= PrimaryNoNewArray [ ArgumentList ] // case 540: { //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PrimaryNoNewArray = (Expr) getRhsSym(1); //#line 1531 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ArgumentList = (List) getRhsSym(3); //#line 1533 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" if (ArgumentList.size() == 1) setResult(nf.X10ArrayAccess1(pos(), PrimaryNoNewArray, (Expr) ArgumentList.get(0))); else setResult(nf.X10ArrayAccess(pos(), PrimaryNoNewArray, ArgumentList)); break; } // // Rule 557: NowStatement ::= now ( Clock ) Statement // case 557: { //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1559 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1561 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, Statement)); break; } // // Rule 558: ClockedClause ::= clocked ( ClockList ) // case 558: { //#line 1565 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(3); //#line 1567 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(ClockList); break; } // // Rule 559: AsyncStatement ::= async PlaceExpressionSingleListopt ClockedClauseopt Statement // case 559: { //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1571 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(4); //#line 1573 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, Statement)); break; } // // Rule 560: AtomicStatement ::= atomic PlaceExpressionSingleListopt Statement // case 560: { //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1581 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(3); //#line 1583 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Statement)); break; } // // Rule 561: WhenStatement ::= when ( Expression ) Statement // case 561: { //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1590 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(5); //#line 1592 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, Statement)); break; } // // Rule 562: WhenStatement ::= WhenStatement or$or ( Expression ) Statement // case 562: { //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1595 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(6); //#line 1597 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, Statement); setResult(WhenStatement); break; } // // Rule 563: ForEachStatement ::= foreach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 563: { //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1602 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1604 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 564: AtEachStatement ::= ateach ( FormalParameter : Expression ) ClockedClauseopt Statement // case 564: { //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1612 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(8); //#line 1614 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, Statement)); break; } // // Rule 565: EnhancedForStatement ::= for ( FormalParameter : Expression ) Statement // case 565: { //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1622 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(7); //#line 1624 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, Statement)); break; } // // Rule 566: FinishStatement ::= finish Statement // case 566: { //#line 1631 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt Statement = (Stmt) getRhsSym(2); //#line 1633 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), Statement)); break; } // // Rule 567: NowStatementNoShortIf ::= now ( Clock ) StatementNoShortIf // case 567: { //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1638 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1640 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Now(pos(), Clock, StatementNoShortIf)); break; } // // Rule 568: AsyncStatementNoShortIf ::= async PlaceExpressionSingleListopt ClockedClauseopt StatementNoShortIf // case 568: { //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(3); //#line 1644 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(4); //#line 1646 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Async(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 569: AtomicStatementNoShortIf ::= atomic StatementNoShortIf // case 569: { //#line 1653 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1655 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Atomic(pos(), nf.Here(pos(getLeftSpan())), StatementNoShortIf)); break; } // // Rule 570: WhenStatementNoShortIf ::= when ( Expression ) StatementNoShortIf // case 570: { //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1659 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(5); //#line 1661 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.When(pos(), Expression, StatementNoShortIf)); break; } // // Rule 571: WhenStatementNoShortIf ::= WhenStatement or$or ( Expression ) StatementNoShortIf // case 571: { //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" When WhenStatement = (When) getRhsSym(1); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IToken or = (IToken) getRhsIToken(2); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1664 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(6); //#line 1666 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" WhenStatement.addBranch(pos(getRhsFirstTokenIndex(2), getRightSpan()), Expression, StatementNoShortIf); setResult(WhenStatement); break; } // // Rule 572: ForEachStatementNoShortIf ::= foreach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 572: { //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1671 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1673 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 573: AtEachStatementNoShortIf ::= ateach ( FormalParameter : Expression ) ClockedClauseopt StatementNoShortIf // case 573: { //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockedClauseopt = (List) getRhsSym(7); //#line 1682 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(8); //#line 1684 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.AtEach(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, ClockedClauseopt, StatementNoShortIf)); break; } // // Rule 574: EnhancedForStatementNoShortIf ::= for ( FormalParameter : Expression ) StatementNoShortIf // case 574: { //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" X10Formal FormalParameter = (X10Formal) getRhsSym(3); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(5); //#line 1692 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(7); //#line 1694 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.ForLoop(pos(), FormalParameter.flags(FormalParameter.flags().Final()), Expression, StatementNoShortIf)); break; } // // Rule 575: FinishStatementNoShortIf ::= finish StatementNoShortIf // case 575: { //#line 1701 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Stmt StatementNoShortIf = (Stmt) getRhsSym(2); //#line 1703 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Finish(pos(), StatementNoShortIf)); break; } // // Rule 576: PlaceExpressionSingleList ::= ( PlaceExpression ) // case 576: { //#line 1708 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpression = (Expr) getRhsSym(2); //#line 1710 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(PlaceExpression); break; } // // Rule 578: NextStatement ::= next ; // case 578: { //#line 1718 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Next(pos())); break; } // // Rule 579: AwaitStatement ::= await Expression ; // case 579: { //#line 1722 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(2); //#line 1724 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Await(pos(), Expression)); break; } // // Rule 580: ClockList ::= Clock // case 580: { //#line 1728 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(1); //#line 1730 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(Clock); setResult(l); break; } // // Rule 581: ClockList ::= ClockList , Clock // case 581: { //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List ClockList = (List) getRhsSym(1); //#line 1735 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Clock = (Expr) getRhsSym(3); //#line 1737 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ClockList.add(Clock); setResult(ClockList); break; } // // Rule 582: Clock ::= Expression // case 582: { //#line 1743 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(1); //#line 1745 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Expression); break; } // // Rule 583: CastExpression ::= ( Type ) UnaryExpressionNotPlusMinus // case 583: { //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(2); //#line 1755 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(4); //#line 1757 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Cast(pos(), Type, UnaryExpressionNotPlusMinus)); break; } // // Rule 584: CastExpression ::= ( @ Expression ) UnaryExpressionNotPlusMinus // case 584: { //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1760 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr UnaryExpressionNotPlusMinus = (Expr) getRhsSym(5); //#line 1762 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.PlaceCast(pos(), Expression, UnaryExpressionNotPlusMinus)); break; } // // Rule 585: RelationalExpression ::= RelationalExpression instanceof Type // case 585: { //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RelationalExpression = (Expr) getRhsSym(1); //#line 1772 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" TypeNode Type = (TypeNode) getRhsSym(3); //#line 1774 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Instanceof(pos(), RelationalExpression, Type)); break; } // // Rule 586: IdentifierList ::= identifier // case 586: { //#line 1780 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1782 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Name.class, false); l.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(l); break; } // // Rule 587: IdentifierList ::= IdentifierList , identifier // case 587: { //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List IdentifierList = (List) getRhsSym(1); //#line 1787 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(3); //#line 1789 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" IdentifierList.add(new Name(nf, ts, pos(), identifier.getIdentifier())); setResult(IdentifierList); break; } // // Rule 588: Primary ::= here // case 588: { //#line 1796 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(((X10NodeFactory) nf).Here(pos()));//// A "here" expression used to be treated as an ExpressionName instead// of as a primary.//// setResult(new Name(nf, ts, pos(), "here"){// public Expr toExpr() {// return ((X10NodeFactory) nf).Here(pos);// }// }); break; } // // Rule 591: RegionExpression ::= Expression$expr1 : Expression$expr2 // case 591: { //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1812 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1814 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" /*Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); List l = new TypedList(new LinkedList(), Expr.class, false); l.add(expr1); l.add(expr2); Call regionCall = nf.Call( pos(), x10LangRegionFactoryRegion.prefix.toReceiver(), "region", l ); */ Call regionCall = nf.RegionMaker(pos(), expr1, expr2); setResult(regionCall); break; } // // Rule 592: RegionExpressionList ::= RegionExpression // case 592: { //#line 1830 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(1); //#line 1832 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List l = new TypedList(new LinkedList(), Expr.class, false); l.add(RegionExpression); setResult(l); break; } // // Rule 593: RegionExpressionList ::= RegionExpressionList , RegionExpression // case 593: { //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(1); //#line 1837 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr RegionExpression = (Expr) getRhsSym(3); //#line 1839 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" RegionExpressionList.add(RegionExpression); //setResult(RegionExpressionList); break; } // // Rule 594: Primary ::= [ RegionExpressionList ] // case 594: { //#line 1844 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" List RegionExpressionList = (List) getRhsSym(2); //#line 1846 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Name x10 = new Name(nf, ts, pos(), "x10"); Name x10Lang = new Name(nf, ts, pos(), x10, "lang"); Name x10LangRegion = new Name(nf, ts, pos(), x10Lang, "region"); Name x10LangRegionFactory = new Name(nf, ts, pos(), x10LangRegion, "factory"); Name x10LangRegionFactoryRegion = new Name(nf, ts, pos(), x10LangRegionFactory, "region"); Name x10LangPoint = new Name(nf, ts, pos(), x10Lang, "point"); Name x10LangPointFactory = new Name(nf, ts, pos(), x10LangPoint, "factory"); Name x10LangPointFactoryPoint = new Name(nf, ts, pos(), x10LangPointFactory, "point"); Tuple tuple = nf.Tuple(pos(), x10LangPointFactoryPoint, x10LangRegionFactoryRegion, RegionExpressionList); setResult(tuple); break; } // // Rule 595: AssignmentExpression ::= Expression$expr1 -> Expression$expr2 // case 595: { //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr1 = (Expr) getRhsSym(1); //#line 1860 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr expr2 = (Expr) getRhsSym(3); //#line 1862 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" ConstantDistMaker call = nf.ConstantDistMaker(pos(), expr1, expr2); setResult(call); break; } // // Rule 596: FutureExpression ::= future PlaceExpressionSingleListopt { Expression } // case 596: { //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr PlaceExpressionSingleListopt = (Expr) getRhsSym(2); //#line 1867 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(4); //#line 1869 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(nf.Future(pos(), (PlaceExpressionSingleListopt == null ? nf.Here(pos(getLeftSpan())) : PlaceExpressionSingleListopt), Expression)); break; } // // Rule 597: FieldModifier ::= mutable // case 597: { //#line 1877 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.MUTABLE); break; } // // Rule 598: FieldModifier ::= const // case 598: { //#line 1882 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(Flags.PUBLIC.set(Flags.STATIC).set(Flags.FINAL)); break; } // // Rule 599: FunExpression ::= fun Type ( FormalParameterListopt ) { Expression } // case 599: throw new Error("No action specified for rule " + 599); // // Rule 600: MethodInvocation ::= MethodName ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 600: throw new Error("No action specified for rule " + 600); // // Rule 601: MethodInvocation ::= Primary . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 601: throw new Error("No action specified for rule " + 601); // // Rule 602: MethodInvocation ::= super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 602: throw new Error("No action specified for rule " + 602); // // Rule 603: MethodInvocation ::= ClassName . super . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 603: throw new Error("No action specified for rule " + 603); // // Rule 604: MethodInvocation ::= TypeName . identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) // case 604: throw new Error("No action specified for rule " + 604); // // Rule 605: ClassInstanceCreationExpression ::= new ClassOrInterfaceType ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 605: throw new Error("No action specified for rule " + 605); // // Rule 606: ClassInstanceCreationExpression ::= Primary . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 606: throw new Error("No action specified for rule " + 606); // // Rule 607: ClassInstanceCreationExpression ::= AmbiguousName . new identifier ( ArgumentListopt$args1 ) ( ArgumentListopt$args2 ) ClassBodyopt // case 607: throw new Error("No action specified for rule " + 607); // // Rule 608: MethodModifier ::= synchronized // case 608: { //#line 1913 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"synchronized\" is an invalid X10 Method Modifier"); setResult(Flags.SYNCHRONIZED); break; } // // Rule 609: FieldModifier ::= volatile // case 609: { //#line 1922 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "\"volatile\" is an invalid X10 Field Modifier"); setResult(Flags.VOLATILE); break; } // // Rule 610: SynchronizedStatement ::= synchronized ( Expression ) Block // case 610: { //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Expr Expression = (Expr) getRhsSym(3); //#line 1929 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" Block Block = (Block) getRhsSym(5); //#line 1931 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" unrecoverableSyntaxError = true; eq.enqueue(ErrorInfo.SYNTAX_ERROR, getErrorLocation(getLeftSpan(), getRightSpan()) + "Synchronized Statement is invalid in X10"); setResult(nf.Synchronized(pos(), Expression, Block)); break; } // // Rule 611: ThisClauseopt ::= $Empty // case 611: setResult(null); break; // // Rule 613: PlaceTypeSpecifieropt ::= $Empty // case 613: setResult(null); break; // // Rule 615: DepParametersopt ::= $Empty // case 615: setResult(null); break; // // Rule 617: PropertyListopt ::= $Empty // case 617: setResult(null); break; // // Rule 619: WhereClauseopt ::= $Empty // case 619: setResult(null); break; // // Rule 621: ObjectKindopt ::= $Empty // case 621: setResult(null); break; // // Rule 623: ArrayInitializeropt ::= $Empty // case 623: setResult(null); break; // // Rule 625: PlaceExpressionSingleListopt ::= $Empty // case 625: setResult(null); break; // // Rule 627: ArgumentListopt ::= $Empty // case 627: setResult(null); break; // // Rule 629: X10ClassModifiersopt ::= $Empty // case 629: { //#line 1977 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(X10Flags.toX10Flags(Flags.NONE)); break; } // // Rule 631: DepParametersopt ::= $Empty // case 631: setResult(null); break; // // Rule 633: Unsafeopt ::= $Empty // case 633: setResult(null); break; // // Rule 634: Unsafeopt ::= unsafe // case 634: { //#line 1989 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" // any value distinct from null setResult(this); break; } // // Rule 635: ParamIdopt ::= $Empty // case 635: setResult(null); break; // // Rule 636: ParamIdopt ::= identifier // case 636: { //#line 1996 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" polyglot.lex.Identifier identifier = (polyglot.lex.Identifier) getRhsSym(1); //#line 1998 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new Name(nf, ts, pos(), identifier.getIdentifier())); break; } // // Rule 637: ClockedClauseopt ::= $Empty // case 637: { //#line 2004 "C:/eclipse/ws6/x10.compiler/src/x10/parser/x10.g" setResult(new TypedList(new LinkedList(), Expr.class, false)); break; } default: break; } return; }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/13a8963410bb8c85885791a761267a089892a2fc/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 1770, 12, 82, 74, 16, 4766, 1377, 3742, 16, 4766, 1377, 949, 12, 588, 3910, 6952, 9334, 16609, 6952, 1435, 3631, 4766, 1377, 21036, 16, 4766, 1377, 10971, 10019, 10792, 898, 31, 5411, 289, 5397, 368, 5411, 368, 6781, 576, 30, 225, 7508, 461, 493, 33, 7508, 461, 263, 1068, 548, 5411, 368, 5411, 648, 576, 30, 288, 7734, 368, 7, 1369, 2872, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 7508, 461, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 6549, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 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, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 5411, 368, 5411, 648, 404, 30, 288, 7734, 368, 7, 1369, 1666, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 7734, 1770, 21036, 273, 261, 461, 13, 4170, 4487, 11901, 12, 21, 1769, 7734, 368, 7, 1369, 1725, 315, 39, 27824, 20416, 19, 4749, 26, 19, 92, 2163, 18, 9576, 19, 4816, 19, 92, 2163, 19, 4288, 19, 4841, 548, 18, 10052, 6, 10792, 21582, 12, 2704, 2 ]
synchronized(requests) { requests.remove(id_obj); }
requests.remove(id_obj);
private void removeEntry(long id) { Long id_obj = new Long(id); // changed by bela Feb 28 2003 (bug fix for 690606) // changed back to use synchronization by bela June 27 2003 (bug fix for #761804), // we can do this because we now copy for iteration (viewChange() and suspect()) synchronized(requests) { requests.remove(id_obj); } }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/a385ee12fccc83c39bf5fe2a1ec82e12f321bdd4/RequestCorrelator.java/clean/src/org/jgroups/blocks/RequestCorrelator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1206, 1622, 12, 5748, 612, 13, 288, 3639, 3407, 612, 67, 2603, 273, 394, 3407, 12, 350, 1769, 3639, 368, 3550, 635, 3952, 69, 5782, 70, 9131, 4044, 23, 261, 925, 2917, 364, 1666, 9349, 4848, 26, 13, 3639, 368, 3550, 1473, 358, 999, 24488, 635, 3952, 69, 804, 7556, 12732, 4044, 23, 261, 925, 2917, 364, 468, 6669, 2643, 3028, 3631, 3639, 368, 732, 848, 741, 333, 2724, 732, 2037, 1610, 364, 6532, 261, 1945, 3043, 1435, 471, 11375, 1181, 10756, 3639, 3852, 12, 11420, 13, 288, 5411, 3285, 18, 4479, 12, 350, 67, 2603, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1206, 1622, 12, 5748, 612, 13, 288, 3639, 3407, 612, 67, 2603, 273, 394, 3407, 12, 350, 1769, 3639, 368, 3550, 635, 3952, 69, 5782, 70, 9131, 4044, 23, 261, 925, 2917, 364, 1666, 9349, 4848, 26, 13, 3639, 368, 3550, 1473, 358, 999, 24488, 635, 3952, 69, 804, 7556, 12732, 4044, 23, 261, 925, 2917, 364, 468, 6669, 2643, 3028, 3631, 3639, 368, 732, 848, 741, 333, 2724, 732, 2037, 1610, 364, 6532, 261, 1945, 3043, 1435, 471, 11375, 1181, 10756, 3639, 3852, 12, 11420, 13, 288, 5411, 3285, 18, 4479, 12, 350, 67, 2603, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
doUpdateItem(item, element); }
doUpdateItem(item, element); }
public void run() { doUpdateItem(item, element); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/7dea322b00f8363f209617dc36ba0b47497db00d/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 741, 1891, 1180, 12, 1726, 16, 930, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 741, 1891, 1180, 12, 1726, 16, 930, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void qtest(Query q, int[] expDocNrs) throws Exception { CheckHits.checkHits(q, FIELD, searcher, expDocNrs);
public void qtest(String queryText, int[] expDocNrs) throws Exception { qtest(makeQuery(queryText), expDocNrs);
public void qtest(Query q, int[] expDocNrs) throws Exception { CheckHits.checkHits(q, FIELD, searcher, expDocNrs); }
50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/2f24fda61623dd3cf6789000d340da42f981e0a4/TestExplanations.java/buggy/src/test/org/apache/lucene/search/TestExplanations.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1043, 3813, 12, 1138, 1043, 16, 509, 8526, 1329, 1759, 50, 5453, 13, 1216, 1185, 288, 565, 2073, 20950, 18, 1893, 20950, 12, 85, 16, 9921, 16, 27349, 16, 1329, 1759, 50, 5453, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1043, 3813, 12, 1138, 1043, 16, 509, 8526, 1329, 1759, 50, 5453, 13, 1216, 1185, 288, 565, 2073, 20950, 18, 1893, 20950, 12, 85, 16, 9921, 16, 27349, 16, 1329, 1759, 50, 5453, 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 ]
public void setTime(long time) {
public void setTime(long time) {
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11 | (cal.get(Calendar.MINUTE)) << 5 | (cal.get(Calendar.SECOND)) >> 1; } dostime = (int) (dostime / 1000L); this.known |= KNOWN_TIME; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 11195, 12, 5748, 813, 13, 288, 202, 202, 7335, 1443, 273, 28623, 5621, 202, 202, 22043, 261, 771, 13, 288, 1082, 202, 771, 18, 542, 950, 12, 2704, 2167, 12, 957, 380, 4336, 48, 10019, 1082, 202, 72, 669, 494, 273, 9506, 202, 12, 771, 18, 588, 12, 7335, 18, 15137, 13, 300, 5342, 3672, 473, 374, 92, 27, 74, 13, 6862, 202, 17685, 6969, 571, 261, 771, 18, 588, 12, 7335, 18, 13942, 13, 397, 404, 13, 6862, 202, 17685, 9035, 571, 261, 771, 18, 588, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 3719, 6862, 202, 17685, 2872, 571, 261, 771, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 3719, 6862, 202, 17685, 4648, 571, 261, 771, 18, 588, 12, 7335, 18, 30090, 3719, 6862, 202, 17685, 1381, 571, 261, 771, 18, 588, 12, 7335, 18, 16328, 3719, 6862, 202, 9778, 404, 31, 202, 202, 97, 202, 202, 72, 669, 494, 273, 261, 474, 13, 261, 72, 669, 494, 342, 4336, 48, 1769, 202, 202, 2211, 18, 2994, 5626, 1475, 3417, 5665, 67, 4684, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 11195, 12, 5748, 813, 13, 288, 202, 202, 7335, 1443, 273, 28623, 5621, 202, 202, 22043, 261, 771, 13, 288, 1082, 202, 771, 18, 542, 950, 12, 2704, 2167, 12, 957, 380, 4336, 48, 10019, 1082, 202, 72, 669, 494, 273, 9506, 202, 12, 771, 18, 588, 12, 7335, 18, 15137, 13, 300, 5342, 3672, 473, 374, 92, 27, 74, 13, 6862, 202, 17685, 6969, 571, 261, 771, 18, 588, 12, 7335, 18, 13942, 13, 397, 404, 13, 6862, 202, 17685, 9035, 571, 261, 771, 18, 588, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 3719, 6862, 202, 17685, 2872, 571, 261, 771, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 3719, 6862, 2 ]
preReplaceChild(this.returnType, type, RETURN_TYPE_PROPERTY);
ASTNode oldChild = this.returnType; preReplaceChild(oldChild, type, RETURN_TYPE_PROPERTY);
public void setReturnType(Type type) { supportedOnlyIn2(); if (type == null) { throw new IllegalArgumentException(); } preReplaceChild(this.returnType, type, RETURN_TYPE_PROPERTY); this.returnType = type; postReplaceChild(this.returnType, type, RETURN_TYPE_PROPERTY); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/38b81cceafabaca157320ce2793e74f4a9686fd7/MethodDeclaration.java/clean/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 9102, 12, 559, 618, 13, 288, 202, 565, 3260, 3386, 382, 22, 5621, 202, 202, 430, 261, 723, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 5621, 202, 202, 97, 202, 202, 1484, 5729, 1763, 12, 2211, 18, 2463, 559, 16, 618, 16, 14780, 67, 2399, 67, 9900, 1769, 202, 202, 2211, 18, 2463, 559, 273, 618, 31, 202, 202, 2767, 5729, 1763, 12, 2211, 18, 2463, 559, 16, 618, 16, 14780, 67, 2399, 67, 9900, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 444, 9102, 12, 559, 618, 13, 288, 202, 565, 3260, 3386, 382, 22, 5621, 202, 202, 430, 261, 723, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 5621, 202, 202, 97, 202, 202, 1484, 5729, 1763, 12, 2211, 18, 2463, 559, 16, 618, 16, 14780, 67, 2399, 67, 9900, 1769, 202, 202, 2211, 18, 2463, 559, 273, 618, 31, 202, 202, 2767, 5729, 1763, 12, 2211, 18, 2463, 559, 16, 618, 16, 14780, 67, 2399, 67, 9900, 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 ]
suite.addTestSuite( Regression_103346.class ); suite.addTestSuite( Regression_103802.class ); suite.addTestSuite( Regression_104204.class ); suite.addTestSuite( Regression_104611.class ); suite.addTestSuite( Regression_107415.class ); suite.addTestSuite( Regression_108248.class ); suite.addTestSuite( Regression_110566.class ); suite.addTestSuite( Regression_112288.class ); suite.addTestSuite( Regression_113200.class ); suite.addTestSuite( Regression_114470.class ); suite.addTestSuite( Regression_115989.class ); suite.addTestSuite( Regression_116772.class ); suite.addTestSuite( Regression_117274.class ); /* * Build files do not include the oda.xml project case Regression 117437
suite.addTestSuite( Regression_103346.class ); suite.addTestSuite( Regression_103802.class ); suite.addTestSuite( Regression_104204.class ); suite.addTestSuite( Regression_104611.class ); suite.addTestSuite( Regression_107415.class ); suite.addTestSuite( Regression_108248.class ); suite.addTestSuite( Regression_110566.class ); suite.addTestSuite( Regression_112288.class ); suite.addTestSuite( Regression_113200.class ); suite.addTestSuite( Regression_114470.class ); suite.addTestSuite( Regression_115989.class ); suite.addTestSuite( Regression_116772.class ); suite.addTestSuite( Regression_117274.class ); /* * Build files do not include the oda.xml project case Regression 117437
public static Test suite( ) { TestSuite suite = new TestSuite( "Test for org.eclipse.birt.data.engine" ); /* Regression test cases */ suite.addTestSuite( Regression_101568.class ); suite.addTestSuite( Regression_101810.class ); suite.addTestSuite( Regression_101856.class ); suite.addTestSuite( Regression_101864.class ); suite.addTestSuite( Regression_102128.class ); suite.addTestSuite( Regression_103152.class ); /* * Duplicated cases * * When group interval do not match the type error message should be * displayed suite.addTestSuite( Regression_103292.class ); * */ suite.addTestSuite( Regression_103346.class ); suite.addTestSuite( Regression_103802.class ); suite.addTestSuite( Regression_104204.class ); suite.addTestSuite( Regression_104611.class ); suite.addTestSuite( Regression_107415.class ); suite.addTestSuite( Regression_108248.class ); suite.addTestSuite( Regression_110566.class ); suite.addTestSuite( Regression_112288.class ); suite.addTestSuite( Regression_113200.class ); suite.addTestSuite( Regression_114470.class ); suite.addTestSuite( Regression_115989.class ); suite.addTestSuite( Regression_116772.class ); suite.addTestSuite( Regression_117274.class ); /* * Build files do not include the oda.xml project case Regression 117437 * needs to be considered obsolete */ // suite.addTestSuite( Regression_117437.class ); suite.addTestSuite( Regression_117641.class ); suite.addTestSuite( Regression_117686.class ); suite.addTestSuite( Regression_121166.class ); suite.addTestSuite( Regression_122066.class ); suite.addTestSuite( Regression_122309.class ); suite.addTestSuite( Regression_122860.class ); suite.addTestSuite( Regression_123153.class ); suite.addTestSuite( Regression_123389.class ); suite.addTestSuite( Regression_123545.class ); suite.addTestSuite( Regression_123930.class ); suite.addTestSuite( Regression_124065.class ); suite.addTestSuite( Regression_124448.class ); suite.addTestSuite( Regression_124593.class ); suite.addTestSuite( Regression_128354.class ); suite.addTestSuite( Regression_131668.class ); suite.addTestSuite( Regression_132515.class ); suite.addTestSuite( Regression_132519.class ); suite.addTestSuite( Regression_132805.class ); suite.addTestSuite( Regression_133079.class ); suite.addTestSuite( Regression_134464.class ); suite.addTestSuite( Regression_134948.class ); suite.addTestSuite( Regression_135490.class ); suite.addTestSuite( Regression_136044.class ); suite.addTestSuite( Regression_136259.class ); suite.addTestSuite( Regression_136296.class ); suite.addTestSuite( Regression_136551.class ); suite.addTestSuite( Regression_136966.class ); suite.addTestSuite( Regression_137080.class ); suite.addTestSuite( Regression_137149.class ); suite.addTestSuite( Regression_137464.class ); suite.addTestSuite( Regression_138273.class ); suite.addTestSuite( Regression_138777.class ); suite.addTestSuite( Regression_139365.class ); suite.addTestSuite( Regression_140705.class ); suite.addTestSuite( Regression_141600.class ); suite.addTestSuite( Regression_142091.class ); suite.addTestSuite( Regression_142122.class ); suite.addTestSuite( Regression_142939.class ); suite.addTestSuite( Regression_143105.class ); suite.addTestSuite( Regression_143816.class ); /* * Case 144179 is Obsolete, it's a UI bug, has been reviewed by MingXia * Wu */ // suite.addTestSuite( Regression_144179.class ); suite.addTestSuite( Regression_144847.class ); suite.addTestSuite( Regression_145463.class ); suite.addTestSuite( Regression_145508.class ); suite.addTestSuite( Regression_146165.class ); suite.addTestSuite( Regression_146520.class ); suite.addTestSuite( Regression_146548.class ); suite.addTestSuite( Regression_146967.class ); suite.addTestSuite( Regression_147237.class ); suite.addTestSuite( Regression_147403.class ); suite.addTestSuite( Regression_147496.class ); suite.addTestSuite( Regression_147703.class ); suite.addTestSuite( Regression_148392.class ); suite.addTestSuite( Regression_148669.class ); suite.addTestSuite( Regression_148757.class ); suite.addTestSuite( Regression_148951.class ); suite.addTestSuite( Regression_149654.class ); suite.addTestSuite( Regression_150822.class ); suite.addTestSuite( Regression_153036.class ); suite.addTestSuite( Regression_155262.class ); suite.addTestSuite( Regression_156338.class ); suite.addTestSuite( Regression_158947.class ); suite.addTestSuite( Regression_159385.class ); suite.addTestSuite( Regression_159398.class ); suite.addTestSuite( Regression_76549.class ); suite.addTestSuite( Regression_78978.class ); suite.addTestSuite( Regression_79009.class ); suite.addTestSuite( Regression_79012.class ); suite.addTestSuite( Regression_79182.class ); suite.addTestSuite( Regression_79505.class ); suite.addTestSuite( Regression_93220.class ); suite.addTestSuite( Regression_96025.class ); // // XML package suite.addTestSuite( Regression_119999.class ); suite.addTestSuite( Regression_123157.class ); suite.addTestSuite( Regression_117447.class ); suite.addTestSuite( Regression_119127.class ); suite.addTestSuite( Regression_120036.class ); suite.addTestSuite( Regression_146769.class ); suite.addTestSuite( Regression_144931.class ); suite.addTestSuite( Regression_153658.class ); suite.addTestSuite( Regression_147809.class ); suite.addTestSuite( Regression_154423.class ); // flat file package suite.addTestSuite( Regression_160807.class ); suite.addTestSuite( Regression_155376.class ); suite.addTestSuite( Regression_152210.class ); suite.addTestSuite( Regression_105755.class ); // API suite.addTestSuite( FeaturesTest.class ); suite.addTestSuite( MultiPass_FilterTest.class ); suite.addTestSuite( MultiPass_NestedQueryTest.class ); suite.addTestSuite( MultiPass_SortTest.class ); suite.addTestSuite( MultiPassTest.class ); suite.addTestSuite( DateUtilTest.class ); // TODO:suite.addTestSuite( ReportDoc_ComputedColumnTest.class ); // TODO:suite.addTestSuite( ReportDoc_FilterTest.class ); // TODO:suite.addTestSuite( ReportDoc_Gen_PreModeTest.class ); // TODO:suite.addTestSuite( ReportDoc_GroupTest.class ); // TODO:suite.addTestSuite( ReportDoc_ParameterTest.class ); // Acceptance suite.addTestSuite( ColumnAliasTest.class ); // TODO:suite.addTestSuite( ComputedColumnTest.class ); suite.addTestSuite( DataSourceTest.class ); suite.addTestSuite( FilterTest.class ); suite.addTestSuite( InputParameterTest.class ); suite.addTestSuite( ParameterInt.class ); // TODO:suite.addTestSuite( testPassThruContext.class ); // Smoke // TODO:suite.addTestSuite( DsAggregationTest.class ); // TODO:suite.addTestSuite( DsCombinationTest.class ); // TODO:suite.addTestSuite( DsComputeColumnTest.class ); // TODO:suite.addTestSuite( DsFilterTest.class ); suite.addTestSuite( DsGroupTest.class ); suite.addTestSuite( DsParameterTest.class ); suite.addTestSuite( DsSortTest.class ); // DtESmokeTest suite.addTest( AllSmokeTests.suite( ) ); return suite; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/a2da151ed9f6ef62dad9653a56a11813d30fa9fb/AllTests.java/buggy/testsuites/org.eclipse.birt.tests.data/src/org/eclipse/birt/tests/data/engine/AllTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 12, 262, 202, 95, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 12, 9506, 202, 6, 4709, 364, 2358, 18, 20416, 18, 70, 2714, 18, 892, 18, 8944, 6, 11272, 202, 202, 20308, 868, 2329, 285, 1842, 6088, 1195, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 4313, 28, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 28, 2163, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 28, 4313, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 28, 1105, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 20481, 10392, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 23494, 27655, 18, 1106, 11272, 202, 202, 20308, 1082, 380, 463, 3868, 690, 6088, 1082, 380, 1875, 380, 5203, 1041, 3673, 741, 486, 845, 326, 618, 555, 883, 1410, 506, 1082, 380, 10453, 11371, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 2163, 1578, 9975, 18, 1106, 11272, 1082, 380, 1875, 1195, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 2163, 3707, 8749, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 2163, 7414, 3103, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 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, 760, 7766, 11371, 12, 262, 202, 95, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 12, 9506, 202, 6, 4709, 364, 2358, 18, 20416, 18, 70, 2714, 18, 892, 18, 8944, 6, 11272, 202, 202, 20308, 868, 2329, 285, 1842, 6088, 1195, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 4313, 28, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 28, 2163, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 28, 4313, 18, 1106, 11272, 202, 202, 30676, 18, 1289, 4709, 13587, 12, 868, 2329, 285, 67, 15168, 28, 1105, 18, 1106, 11272, 202, 2 ]
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException {
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException {
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException { // get the form from a request attribute String formAttribute; try { formAttribute = parameters.getParameter("attribute-name"); } catch (ParameterException e) { throw new ProcessingException("Missing 'attribute-name' parameter for WoodyTemplateTransformer."); } Request request = ObjectModelHelper.getRequest(objectModel); Form form = (Form)request.getAttribute(formAttribute); if (form == null) { throw new ProcessingException("WoodyTemplateTransformer cannot find a form in the request attribute named " + formAttribute); } init(form); }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/650690b282d58d9d006cc422fc73a8a02b01051c/WoodyTemplateTransformer.java/buggy/src/blocks/woody/java/org/apache/cocoon/woody/transformation/WoodyTemplateTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3875, 12, 1830, 4301, 5039, 16, 1635, 733, 1488, 16, 514, 1705, 16, 7012, 1472, 13, 1216, 19652, 503, 16, 5411, 14366, 16, 1860, 288, 3639, 368, 336, 326, 646, 628, 279, 590, 1566, 3639, 514, 646, 1499, 31, 3639, 775, 288, 5411, 646, 1499, 273, 1472, 18, 588, 1662, 2932, 4589, 17, 529, 8863, 3639, 289, 1044, 261, 14819, 425, 13, 288, 5411, 604, 394, 19652, 503, 2932, 4841, 296, 4589, 17, 529, 11, 1569, 364, 678, 83, 973, 2283, 8319, 1199, 1769, 3639, 289, 3639, 1567, 590, 273, 1033, 1488, 2276, 18, 588, 691, 12, 1612, 1488, 1769, 3639, 2748, 646, 273, 261, 1204, 13, 2293, 18, 588, 1499, 12, 687, 1499, 1769, 3639, 309, 261, 687, 422, 446, 13, 288, 5411, 604, 394, 19652, 503, 2932, 59, 83, 973, 2283, 8319, 2780, 1104, 279, 646, 316, 326, 590, 1566, 4141, 315, 397, 646, 1499, 1769, 3639, 289, 3639, 1208, 12, 687, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3875, 12, 1830, 4301, 5039, 16, 1635, 733, 1488, 16, 514, 1705, 16, 7012, 1472, 13, 1216, 19652, 503, 16, 5411, 14366, 16, 1860, 288, 3639, 368, 336, 326, 646, 628, 279, 590, 1566, 3639, 514, 646, 1499, 31, 3639, 775, 288, 5411, 646, 1499, 273, 1472, 18, 588, 1662, 2932, 4589, 17, 529, 8863, 3639, 289, 1044, 261, 14819, 425, 13, 288, 5411, 604, 394, 19652, 503, 2932, 4841, 296, 4589, 17, 529, 11, 1569, 364, 678, 83, 973, 2283, 8319, 1199, 1769, 3639, 289, 3639, 1567, 590, 273, 1033, 1488, 2276, 18, 588, 691, 12, 1612, 1488, 1769, 3639, 2748, 646, 273, 261, 1204, 13, 2293, 18, 588, 1499, 12, 687, 1499, 1769, 3639, 2 ]
String threadTitle = Thread.currentThread().toString(); String alertMessage = null; if (scriptException != null) {
final String threadTitle = Thread.currentThread().toString(); final String alertMessage; if (scriptException == null) { alertMessage = null; } else {
void interrupted(Context cx, StackFrame frame, Throwable scriptException) { boolean eventThreadFlag = SwingUtilities.isEventDispatchThread(); ContextData contextData = frame.contextData(); contextData.eventThreadFlag = eventThreadFlag; int line = frame.getLineNumber(); String url = frame.getUrl(); synchronized (swingMonitor) { if (eventThreadFlag) { dispatcherIsWaiting++; if (nonDispatcherWaiting) { // Another thread is stopped in the debugger // process events until it resumes and we // can enter while (nonDispatcherWaiting) { try { dispatchNextAwtEvent(); if (this.returnValue == EXIT) { return; } swingMonitor.wait(1); } catch (InterruptedException exc) { return; } } } } else { while (isInterrupted || dispatcherIsWaiting > 0) { try { swingMonitor.wait(); } catch (InterruptedException exc) { return; } } nonDispatcherWaiting = true; } isInterrupted = true; currentContextData = contextData; } do { if (runToCursorFile != null) { if (url != null && url.equals(runToCursorFile)) { if (line == runToCursorLine) { runToCursorFile = null; } else { SourceInfo si = frame.sourceInfo(); if (si == null || !si.hasBreakpoint(line)) { break; } else { runToCursorFile = null; } } } } int frameCount = contextData.frameCount(); this.frameIndex = frameCount -1; String threadTitle = Thread.currentThread().toString(); String alertMessage = null; if (scriptException != null) { alertMessage = exceptionString(frame, scriptException); } Runnable enterAction = new EnterInterrupt(debugGui, frame, threadTitle, alertMessage); int returnValue = -1; if (!eventThreadFlag) { synchronized (monitor) { if (insideInterruptLoop) Kit.codeBug(); this.insideInterruptLoop = true; this.evalRequest = null; this.returnValue = -1; swingInvokeLater(enterAction); try { for (;;) { try { monitor.wait(); } catch (InterruptedException exc) { Thread.currentThread().interrupt(); break; } if (evalRequest != null) { this.evalResult = null; try { evalResult = do_eval(cx, evalFrame, evalRequest); } finally { evalRequest = null; evalFrame = null; monitor.notify(); } continue; } if (this.returnValue != -1) { returnValue = this.returnValue; break; } } } finally { insideInterruptLoop = false; } } } else { this.returnValue = -1; enterAction.run(); while (this.returnValue == -1) { try { dispatchNextAwtEvent(); } catch (InterruptedException exc) { } } returnValue = this.returnValue; } switch (returnValue) { case STEP_OVER: contextData.breakNextLine = true; contextData.stopAtFrameDepth = contextData.frameCount(); break; case STEP_INTO: contextData.breakNextLine = true; contextData.stopAtFrameDepth = -1; break; case STEP_OUT: if (contextData.frameCount() > 1) { contextData.breakNextLine = true; contextData.stopAtFrameDepth = contextData.frameCount() -1; } break; case RUN_TO_CURSOR: contextData.breakNextLine = true; contextData.stopAtFrameDepth = -1; break; } } while (false); synchronized (swingMonitor) { currentContextData = null; isInterrupted = false; if (eventThreadFlag) { dispatcherIsWaiting--; } else { nonDispatcherWaiting = false; } swingMonitor.notifyAll(); } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/677ac1cd7685aceb4fdd606aa3e6c9cea9f6d6cb/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15711, 12, 1042, 9494, 16, 7283, 3219, 2623, 16, 4206, 2728, 503, 13, 565, 288, 3639, 1250, 871, 3830, 4678, 273, 26145, 11864, 18, 291, 1133, 5325, 3830, 5621, 3639, 1772, 751, 819, 751, 273, 2623, 18, 2472, 751, 5621, 3639, 819, 751, 18, 2575, 3830, 4678, 273, 871, 3830, 4678, 31, 3639, 509, 980, 273, 2623, 18, 588, 31063, 5621, 3639, 514, 880, 273, 2623, 18, 588, 1489, 5621, 3639, 3852, 261, 5328, 310, 7187, 13, 288, 5411, 309, 261, 2575, 3830, 4678, 13, 288, 7734, 7393, 2520, 15946, 9904, 31, 7734, 309, 261, 5836, 6681, 15946, 13, 288, 10792, 368, 432, 24413, 2650, 353, 9627, 316, 326, 19977, 10792, 368, 1207, 2641, 3180, 518, 400, 6411, 471, 732, 10792, 368, 848, 6103, 10792, 1323, 261, 5836, 6681, 15946, 13, 288, 13491, 775, 288, 18701, 3435, 2134, 37, 6046, 1133, 5621, 18701, 309, 261, 2211, 18, 2463, 620, 422, 28407, 13, 288, 27573, 327, 31, 18701, 289, 18701, 9028, 7187, 18, 7048, 12, 21, 1769, 13491, 289, 1044, 261, 24485, 503, 3533, 13, 288, 18701, 327, 31, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 469, 288, 7734, 1323, 261, 291, 24485, 747, 7393, 2520, 15946, 405, 374, 13, 288, 10792, 775, 288, 13491, 9028, 7187, 18, 7048, 5621, 10792, 289, 1044, 261, 24485, 503, 3533, 13, 288, 13491, 327, 31, 10792, 289, 7734, 289, 7734, 1661, 6681, 15946, 273, 638, 31, 5411, 289, 5411, 353, 24485, 273, 638, 31, 5411, 31184, 751, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15711, 12, 1042, 9494, 16, 7283, 3219, 2623, 16, 4206, 2728, 503, 13, 565, 288, 3639, 1250, 871, 3830, 4678, 273, 26145, 11864, 18, 291, 1133, 5325, 3830, 5621, 3639, 1772, 751, 819, 751, 273, 2623, 18, 2472, 751, 5621, 3639, 819, 751, 18, 2575, 3830, 4678, 273, 871, 3830, 4678, 31, 3639, 509, 980, 273, 2623, 18, 588, 31063, 5621, 3639, 514, 880, 273, 2623, 18, 588, 1489, 5621, 3639, 3852, 261, 5328, 310, 7187, 13, 288, 5411, 309, 261, 2575, 3830, 4678, 13, 288, 7734, 7393, 2520, 15946, 9904, 31, 7734, 309, 261, 5836, 6681, 15946, 13, 288, 10792, 368, 432, 24413, 2650, 353, 9627, 316, 326, 19977, 10792, 368, 1207, 2641, 3180, 518, 400, 2 ]
sh.TWO_ELEMENT_ARRAY[0] = oArg1; sh.TWO_ELEMENT_ARRAY[1] = oArg2;
sh.ONE_ELEMENT_ARRAY[0] = oArg1;
public static final Object callFunction( ScriptHandler sh, String sFunction, Object oArg1, Object oArg2 ) throws ChartException { if ( sh == null ) { return null; } if ( sh.javahandler != null && sh.isJavaFuntion( sFunction ) ) { sh.TWO_ELEMENT_ARRAY[0] = oArg1; sh.TWO_ELEMENT_ARRAY[1] = oArg2; return sh.callJavaFunction( sFunction, sh.TWO_ELEMENT_ARRAY ); } else { final Function f = sh.getJavascriptFunction( sFunction ); if ( f != null ) { sh.TWO_ELEMENT_ARRAY[0] = oArg1; sh.TWO_ELEMENT_ARRAY[1] = oArg2; Object oReturnValue = null; oReturnValue = sh.callJavaScriptFunction( f, sh.TWO_ELEMENT_ARRAY ); return oReturnValue; } else { return null; } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ff7dbf7eaacea3dfba3d33e0d582e4d0bc804996/ScriptHandler.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ScriptHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1033, 745, 2083, 12, 7739, 1503, 699, 16, 1082, 202, 780, 272, 2083, 16, 1033, 320, 4117, 21, 16, 1033, 320, 4117, 22, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 430, 261, 699, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 699, 18, 6290, 4176, 480, 446, 597, 699, 18, 291, 5852, 42, 10032, 285, 12, 272, 2083, 262, 262, 202, 202, 95, 1082, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 63, 20, 65, 273, 320, 4117, 21, 31, 1082, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 63, 21, 65, 273, 320, 4117, 22, 31, 1082, 202, 2463, 699, 18, 1991, 5852, 2083, 12, 272, 2083, 16, 699, 18, 18869, 51, 67, 10976, 67, 8552, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 6385, 4284, 284, 273, 699, 18, 588, 27129, 2083, 12, 272, 2083, 11272, 1082, 202, 430, 261, 284, 480, 446, 262, 1082, 202, 95, 9506, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 63, 20, 65, 273, 320, 4117, 21, 31, 9506, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 63, 21, 65, 273, 320, 4117, 22, 31, 9506, 202, 921, 320, 19092, 273, 446, 31, 9506, 202, 83, 19092, 273, 699, 18, 1991, 16634, 2083, 12, 284, 16, 25083, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 11272, 9506, 202, 2463, 320, 19092, 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, 225, 202, 482, 760, 727, 1033, 745, 2083, 12, 7739, 1503, 699, 16, 1082, 202, 780, 272, 2083, 16, 1033, 320, 4117, 21, 16, 1033, 320, 4117, 22, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 430, 261, 699, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 699, 18, 6290, 4176, 480, 446, 597, 699, 18, 291, 5852, 42, 10032, 285, 12, 272, 2083, 262, 262, 202, 202, 95, 1082, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 63, 20, 65, 273, 320, 4117, 21, 31, 1082, 202, 674, 18, 18869, 51, 67, 10976, 67, 8552, 63, 21, 65, 273, 320, 4117, 22, 31, 1082, 202, 2 ]
IScannerInfoProvider provider = findInfoProvider(project);
IScannerInfoProvider provider = CCorePlugin.getDefault().getScannerInfoProvider(project);
public void testScannerListenerInterface() throws Exception { // Get the project IProject project = null; try { project = createProject(PROJECT_NAME); } catch (CoreException e) { fail("StandardBuildTest testScannerListernerInterface failed opening project: " + e.getLocalizedMessage()); } assertNotNull(project); // Find the scanner info provider for this project IScannerInfoProvider provider = findInfoProvider(project); assertNotNull(provider); // Remove what's there StandardBuildManager.setIncludePaths(project, new String[0]); StandardBuildManager.setPreprocessorSymbols(project, new String[0]); // Subscribe ScannerListener listener = new ScannerListener(); provider.subscribe(project, listener); // Change the settings StandardBuildManager.setIncludePaths(project, listener.getExpectedPaths()); StandardBuildManager.setPreprocessorSymbols(project, listener.getExpectedSymbols()); // Unsubscribe provider.unsubscribe(project, listener); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/df11a294b8a2e86abfd4ae3e3fbde8a381c5fd3d/StandardBuildTests.java/clean/core/org.eclipse.cdt.core.tests/build/org/eclipse/cdt/core/build/managed/tests/StandardBuildTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11338, 2223, 1358, 1435, 1216, 1185, 225, 288, 202, 202, 759, 968, 326, 1984, 202, 202, 45, 4109, 1984, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4406, 273, 752, 4109, 12, 17147, 67, 1985, 1769, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 1082, 202, 6870, 2932, 8336, 3116, 4709, 1842, 11338, 18391, 1224, 1358, 2535, 10890, 1984, 30, 315, 397, 425, 18, 588, 2042, 1235, 1079, 10663, 202, 202, 97, 202, 202, 11231, 5962, 12, 4406, 1769, 202, 202, 759, 4163, 326, 7683, 1123, 2893, 364, 333, 1984, 202, 202, 45, 11338, 966, 2249, 2893, 273, 1104, 966, 2249, 12, 4406, 1769, 202, 202, 11231, 5962, 12, 6778, 1769, 9506, 202, 759, 3581, 4121, 1807, 1915, 202, 202, 8336, 3116, 1318, 18, 542, 8752, 4466, 12, 4406, 16, 394, 514, 63, 20, 19226, 202, 202, 8336, 3116, 1318, 18, 542, 1386, 8700, 14821, 12, 4406, 16, 394, 514, 63, 20, 19226, 202, 202, 759, 18014, 202, 202, 11338, 2223, 2991, 273, 394, 19074, 2223, 5621, 202, 202, 6778, 18, 9174, 12, 4406, 16, 2991, 1769, 9506, 202, 759, 7576, 326, 1947, 202, 202, 8336, 3116, 1318, 18, 542, 8752, 4466, 12, 4406, 16, 2991, 18, 588, 6861, 4466, 10663, 202, 202, 8336, 3116, 1318, 18, 542, 1386, 8700, 14821, 12, 4406, 16, 2991, 18, 588, 6861, 14821, 10663, 9506, 202, 759, 29905, 202, 202, 6778, 18, 318, 9174, 12, 4406, 16, 2991, 1769, 202, 97, 2, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11338, 2223, 1358, 1435, 1216, 1185, 225, 288, 202, 202, 759, 968, 326, 1984, 202, 202, 45, 4109, 1984, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 4406, 273, 752, 4109, 12, 17147, 67, 1985, 1769, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 1082, 202, 6870, 2932, 8336, 3116, 4709, 1842, 11338, 18391, 1224, 1358, 2535, 10890, 1984, 30, 315, 397, 425, 18, 588, 2042, 1235, 1079, 10663, 202, 202, 97, 202, 202, 11231, 5962, 12, 4406, 1769, 202, 202, 759, 4163, 326, 7683, 1123, 2893, 364, 333, 1984, 202, 202, 45, 11338, 966, 2249, 2893, 273, 1104, 966, 2249, 12, 4406, 1769, 202, 202, 11231, 5962, 12, 6778, 1769, 9506, 2 ]
logFiles.addLast(olf);
synchronized(logFiles) { logFiles.addLast(olf); }
public void findOldLogFiles() { int slashIndex = baseFilename.lastIndexOf(File.separatorChar); File dir; String prefix; if(slashIndex == -1) { dir = new File(System.getProperty("user.dir")); prefix = baseFilename.toLowerCase(); } else { dir = new File(baseFilename.substring(0, slashIndex)); prefix = baseFilename.substring(slashIndex+1).toLowerCase(); } File[] files = dir.listFiles(); if(files == null) return; java.util.Arrays.sort(files); long lastStartTime = -1; File oldFile = null; previousFile.delete(); latestFile.renameTo(previousFile); for(int i=0;i<files.length;i++) { File f = files[i]; String name = f.getName(); if(name.toLowerCase().startsWith(prefix)) { if(name.equals(previousFile.getName()) || name.equals(latestFile.getName())) { continue; } if(!name.endsWith(".log.gz")) { Logger.minor(this, "Does not end in .log.gz: "+name); f.delete(); continue; } else { name = name.substring(0, name.length()-".log.gz".length()); } name = name.substring(prefix.length()); if(name.length() == 0 || name.charAt(0) != '-') { Logger.minor(this, "Deleting unrecognized: "+name+" ("+f.getPath()+")"); f.delete(); continue; } else name = name.substring(1); String[] tokens = name.split("-"); int[] nums = new int[tokens.length]; for(int j=0;j<tokens.length;j++) { try { nums[j] = Integer.parseInt(tokens[j]); } catch (NumberFormatException e) { Logger.normal(this, "Could not parse: "+tokens[j]+" into number from "+name); // Broken f.delete(); continue; } } // First field: version if(nums[0] != Version.buildNumber()) { Logger.minor(this, "Deleting old log from build "+nums[0]+", current="+Version.buildNumber()); // Logs that old are useless f.delete(); continue; } GregorianCalendar gc = new GregorianCalendar(); if(nums.length > 1) gc.set(Calendar.YEAR, nums[1]); if(nums.length > 2) gc.set(Calendar.MONTH, nums[2]-1); if(nums.length > 3) gc.set(Calendar.DAY_OF_MONTH, nums[3]); if(nums.length > 4) gc.set(Calendar.HOUR_OF_DAY, nums[4]); if(nums.length > 5) gc.set(Calendar.MINUTE, nums[5]); gc.set(Calendar.SECOND, 0); gc.set(Calendar.MILLISECOND, 0); long startTime = gc.getTimeInMillis(); if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, startTime, l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } lastStartTime = startTime; oldFile = f; } else { // Nothing to do with us Logger.normal(this, "Unknown file: "+name+" in the log directory"); } } if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, System.currentTimeMillis(), l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } trimOldLogFiles(); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/8ebf3f1ce41727bf2fa15f7295507c959db0143f/FileLoggerHook.java/clean/src/freenet/support/FileLoggerHook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 7617, 1343, 2697, 1435, 288, 202, 202, 474, 9026, 1016, 273, 1026, 5359, 18, 2722, 31985, 12, 812, 18, 11287, 2156, 1769, 202, 202, 812, 1577, 31, 202, 202, 780, 1633, 31, 202, 202, 430, 12, 12877, 1016, 422, 300, 21, 13, 288, 1082, 202, 1214, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 1082, 202, 3239, 273, 1026, 5359, 18, 869, 5630, 5621, 202, 202, 97, 469, 288, 1082, 202, 1214, 273, 394, 1387, 12, 1969, 5359, 18, 28023, 12, 20, 16, 9026, 1016, 10019, 1082, 202, 3239, 273, 1026, 5359, 18, 28023, 12, 12877, 1016, 15, 21, 2934, 869, 5630, 5621, 202, 202, 97, 202, 202, 812, 8526, 1390, 273, 1577, 18, 1098, 2697, 5621, 202, 202, 430, 12, 2354, 422, 446, 13, 327, 31, 202, 202, 6290, 18, 1367, 18, 12726, 18, 3804, 12, 2354, 1769, 202, 202, 5748, 1142, 13649, 273, 300, 21, 31, 202, 202, 812, 1592, 812, 273, 446, 31, 202, 202, 11515, 812, 18, 3733, 5621, 202, 202, 13550, 812, 18, 18539, 774, 12, 11515, 812, 1769, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 2354, 18, 2469, 31, 77, 27245, 288, 1082, 202, 812, 284, 273, 1390, 63, 77, 15533, 1082, 202, 780, 508, 273, 284, 18, 17994, 5621, 1082, 202, 430, 12, 529, 18, 869, 5630, 7675, 17514, 1190, 12, 3239, 3719, 288, 9506, 202, 430, 12, 529, 18, 14963, 12, 11515, 812, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 7617, 1343, 2697, 1435, 288, 202, 202, 474, 9026, 1016, 273, 1026, 5359, 18, 2722, 31985, 12, 812, 18, 11287, 2156, 1769, 202, 202, 812, 1577, 31, 202, 202, 780, 1633, 31, 202, 202, 430, 12, 12877, 1016, 422, 300, 21, 13, 288, 1082, 202, 1214, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 1082, 202, 3239, 273, 1026, 5359, 18, 869, 5630, 5621, 202, 202, 97, 469, 288, 1082, 202, 1214, 273, 394, 1387, 12, 1969, 5359, 18, 28023, 12, 20, 16, 9026, 1016, 10019, 1082, 202, 3239, 273, 1026, 5359, 18, 28023, 12, 12877, 1016, 15, 21, 2934, 869, 5630, 5621, 202, 202, 97, 202, 202, 2 ]
public void createPartControl(Composite parent) { themeManager = getSite().getWorkbenchWindow().getWorkbench().getThemeManager(); themeManager.addPropertyChangeListener(THEME_CHANGE_LISTENER); filteredTree = new TaskListFilteredTree(parent, SWT.MULTI | SWT.VERTICAL | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.HIDE_SELECTION, new TaskListPatternFilter()); getViewer().getTree().setHeaderVisible(true); getViewer().getTree().setLinesVisible(true); getViewer().setColumnProperties(columnNames); getViewer().setUseHashlookup(true); columns = new TreeColumn[columnNames.length]; for (int i = 0; i < columnNames.length; i++) { columns[i] = new TreeColumn(getViewer().getTree(), 0); // SWT.LEFT columns[i].setText(columnNames[i]); columns[i].setWidth(columnWidths[i]); final int index = i; columns[i].addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { sortIndex = index; sortDirection *= DEFAULT_SORT_DIRECTION; tableSorter.setColumn(columnNames[sortIndex]); getViewer().refresh(false); // getViewer().setSorter(new // TaskListTableSorter(TaskListView.this, // columnNames[sortIndex])); } }); columns[i].addControlListener(new ControlListener() { public void controlResized(ControlEvent e) { for (int j = 0; j < columnWidths.length; j++) { if (columns[j].equals(e.getSource())) { columnWidths[j] = columns[j].getWidth(); } } } public void controlMoved(ControlEvent e) { // don't care if the control is moved } }); } IThemeManager themeManager = getSite().getWorkbenchWindow().getWorkbench().getThemeManager(); Color categoryBackground = themeManager.getCurrentTheme().getColorRegistry().get( TaskListColorsAndFonts.THEME_COLOR_TASKLIST_CATEGORY); taskListTableLabelProvider = new TaskListTableLabelProvider(new TaskElementLabelProvider(), PlatformUI .getWorkbench().getDecoratorManager().getLabelDecorator(), categoryBackground, this); CellEditor[] editors = new CellEditor[columnNames.length]; TextCellEditor textEditor = new TextCellEditor(getViewer().getTree()); ((Text) textEditor.getControl()).setOrientation(SWT.LEFT_TO_RIGHT); editors[0] = new CheckboxCellEditor(); editors[1] = null; editors[2] = new ComboBoxCellEditor(getViewer().getTree(), PRIORITY_LEVEL_DESCRIPTIONS, SWT.READ_ONLY); editors[3] = null; editors[4] = textEditor; getViewer().setCellEditors(editors); getViewer().setCellModifier(new TaskListCellModifier()); tableSorter = new TaskListTableSorter(this, columnNames[sortIndex]); getViewer().setSorter(tableSorter); drillDownAdapter = new DrillDownAdapter(getViewer()); getViewer().setContentProvider(new TaskListContentProvider(this)); getViewer().setLabelProvider(taskListTableLabelProvider); getViewer().setInput(getViewSite()); getViewer().getTree().addKeyListener(new KeyListener() { public void keyPressed(KeyEvent e) { if (e.keyCode == SWT.F2 && e.stateMask == 0) { if (renameAction.isEnabled()) { renameAction.run(); } } else if (e.keyCode == 'c' && e.stateMask == SWT.MOD1) { copyDetailsAction.run(); } else if (e.keyCode == SWT.DEL) { deleteAction.run(); } else if (e.keyCode == SWT.INSERT) { newLocalTaskAction.run(); } else if (e.keyCode == 'f' && e.stateMask == SWT.MOD1) { filteredTree.getFilterControl().setFocus(); } else if (e.stateMask == 0) { if (Character.isLetter((char)e.keyCode) || Character.isDigit((char)e.keyCode)) { String string = new Character((char)e.keyCode).toString(); filteredTree.getFilterControl().setText(string); filteredTree.getFilterControl().setSelection(1, 1); filteredTree.getFilterControl().setFocus(); } } } public void keyReleased(KeyEvent e) { } }); // HACK: shouldn't need to update explicitly getViewer().addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { Object selectedObject = ((IStructuredSelection) getViewer().getSelection()).getFirstElement(); if (selectedObject instanceof ITaskListElement) { updateActionEnablement(renameAction, (ITaskListElement) selectedObject); } } }); makeActions(); hookContextMenu(); hookOpenAction(); contributeToActionBars(); TaskListToolTipHandler taskListToolTipHandler = new TaskListToolTipHandler(getViewer().getControl().getShell()); taskListToolTipHandler.activateHoverHelp(getViewer().getControl()); getViewer().getTree().setToolTipText(null); initDragAndDrop(parent); expandToActiveTasks(); restoreState(); List<ITask> activeTasks = TasksUiPlugin.getTaskListManager().getTaskList().getActiveTasks(); if (activeTasks.size() > 0) { updateDescription(activeTasks.get(0)); } getSite().setSelectionProvider(getViewer()); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/5227163d771ae4904d19df6b0946fd548649a90e/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 1988, 3367, 12, 9400, 982, 13, 288, 202, 202, 7997, 1318, 273, 11021, 7675, 588, 2421, 22144, 3829, 7675, 588, 2421, 22144, 7675, 588, 8335, 1318, 5621, 202, 202, 7997, 1318, 18, 1289, 1396, 15744, 12, 24644, 958, 67, 14473, 67, 26421, 1769, 202, 202, 12071, 2471, 273, 394, 3837, 682, 14478, 2471, 12, 2938, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 21654, 10109, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 9506, 202, 96, 348, 8588, 18, 18111, 67, 1090, 15445, 571, 348, 8588, 18, 44, 10385, 67, 1090, 15445, 16, 394, 3837, 682, 3234, 1586, 10663, 202, 202, 588, 18415, 7675, 588, 2471, 7675, 542, 1864, 6207, 12, 3767, 1769, 202, 202, 588, 18415, 7675, 588, 2471, 7675, 542, 5763, 6207, 12, 3767, 1769, 202, 202, 588, 18415, 7675, 542, 1494, 2297, 12, 2827, 1557, 1769, 202, 202, 588, 18415, 7675, 542, 3727, 2310, 8664, 12, 3767, 1769, 202, 202, 5112, 273, 394, 4902, 1494, 63, 2827, 1557, 18, 2469, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 19975, 18, 2469, 31, 277, 27245, 288, 1082, 202, 5112, 63, 77, 65, 273, 394, 4902, 1494, 12, 588, 18415, 7675, 588, 2471, 9334, 374, 1769, 368, 348, 8588, 18, 10066, 1082, 202, 5112, 63, 77, 8009, 542, 1528, 12, 2827, 1557, 63, 77, 19226, 1082, 202, 5112, 63, 77, 8009, 542, 2384, 12, 2827, 22407, 63, 77, 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, 752, 1988, 3367, 12, 9400, 982, 13, 288, 202, 202, 7997, 1318, 273, 11021, 7675, 588, 2421, 22144, 3829, 7675, 588, 2421, 22144, 7675, 588, 8335, 1318, 5621, 202, 202, 7997, 1318, 18, 1289, 1396, 15744, 12, 24644, 958, 67, 14473, 67, 26421, 1769, 202, 202, 12071, 2471, 273, 394, 3837, 682, 14478, 2471, 12, 2938, 16, 348, 8588, 18, 26588, 571, 348, 8588, 18, 21654, 10109, 571, 348, 8588, 18, 44, 67, 2312, 14555, 571, 348, 8588, 18, 58, 67, 2312, 14555, 9506, 202, 96, 348, 8588, 18, 18111, 67, 1090, 15445, 571, 348, 8588, 18, 44, 10385, 67, 1090, 15445, 16, 394, 3837, 682, 3234, 1586, 10663, 202, 202, 588, 18415, 7675, 588, 2 ]
printError("Exception getting item: " + e +"<br>");
printError("Exception getting item: " + e + "<br>");
private void listBoughtItems(Integer userId, ItemHome iHome) { BuyNowHome buyHome; edu.rice.rubis.beans.BuyNow buy; Item item; Collection buyList=null; int quantity; // Get the list of items the user bought try { buyHome = (BuyNowHome)PortableRemoteObject.narrow(initialContext.lookup("BuyNowHome"), BuyNowHome.class); } catch (Exception e) { printError("Cannot lookup BuyNow: " +e+"<br>"); return ; } try { buyList = buyHome.findUserBuyNow(userId); } catch (Exception e) { printError("Exception getting item list (buy now): " +e+"<br>"); return ; } if ((buyList == null) || (buyList.isEmpty())) { sp.printHTML("<br>"); sp.printHTMLHighlighted("<h3>You didn't buy any item in the last 30 days.</h3>"); sp.printHTML("<br>"); return ; } sp.printUserBoughtItemHeader(); Iterator it = buyList.iterator(); while (it.hasNext()) { // Get the name of the items try { buy = (edu.rice.rubis.beans.BuyNow)it.next(); //buy = buyHome.findByPrimaryKey((BuyNowPK)it.next()); quantity = buy.getQuantity(); } catch (Exception e) { printError("Exception getting buyNow: " + e +"<br>"); return; } try { item = iHome.findByPrimaryKey(new ItemPK(buy.getItemId())); } catch (Exception e) { printError("Exception getting item: " + e +"<br>"); return; } // display information about the item sp.printUserBoughtItem(item, quantity); } sp.printItemFooter(); }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/AboutMe.java/buggy/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/servlets/AboutMe.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 666, 13809, 9540, 3126, 12, 4522, 6249, 16, 4342, 8684, 277, 8684, 13, 282, 288, 565, 605, 9835, 8674, 8684, 30143, 8684, 31, 565, 1675, 89, 18, 3057, 18, 18271, 291, 18, 2196, 634, 18, 38, 9835, 8674, 30143, 31, 565, 4342, 4202, 761, 31, 565, 2200, 30143, 682, 33, 2011, 31, 565, 509, 3639, 10457, 31, 565, 368, 968, 326, 666, 434, 1516, 326, 729, 800, 9540, 565, 775, 377, 288, 1377, 30143, 8684, 273, 261, 38, 9835, 8674, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 2932, 38, 9835, 8674, 8684, 6, 3631, 4766, 13491, 605, 9835, 8674, 8684, 18, 1106, 1769, 565, 289, 377, 1044, 261, 503, 425, 13, 565, 288, 1377, 1172, 668, 2932, 4515, 3689, 605, 9835, 8674, 30, 315, 397, 73, 9078, 32, 2848, 2984, 1769, 1377, 327, 274, 565, 289, 565, 775, 377, 288, 1377, 30143, 682, 273, 30143, 8684, 18, 4720, 1299, 38, 9835, 8674, 12, 18991, 1769, 565, 289, 565, 1044, 261, 503, 425, 13, 565, 288, 1377, 1172, 668, 2932, 503, 8742, 761, 666, 261, 70, 9835, 2037, 4672, 315, 397, 73, 9078, 32, 2848, 2984, 1769, 1377, 327, 274, 565, 289, 565, 309, 14015, 70, 9835, 682, 422, 446, 13, 747, 261, 70, 9835, 682, 18, 291, 1921, 1435, 3719, 565, 288, 1377, 1694, 18, 1188, 4870, 2932, 32, 2848, 2984, 1769, 1377, 1694, 18, 1188, 4870, 16205, 329, 2932, 32, 76, 23, 34, 6225, 10242, 1404, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 666, 13809, 9540, 3126, 12, 4522, 6249, 16, 4342, 8684, 277, 8684, 13, 282, 288, 565, 605, 9835, 8674, 8684, 30143, 8684, 31, 565, 1675, 89, 18, 3057, 18, 18271, 291, 18, 2196, 634, 18, 38, 9835, 8674, 30143, 31, 565, 4342, 4202, 761, 31, 565, 2200, 30143, 682, 33, 2011, 31, 565, 509, 3639, 10457, 31, 565, 368, 968, 326, 666, 434, 1516, 326, 729, 800, 9540, 565, 775, 377, 288, 1377, 30143, 8684, 273, 261, 38, 9835, 8674, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 2932, 38, 9835, 8674, 8684, 6, 3631, 4766, 13491, 605, 9835, 8674, 8684, 18, 1106, 1769, 565, 289, 377, 1044, 261, 503, 2 ]
setPane(this.pane); this.pane = null; editorMemento = null; tooltip = null; return part;
setPane(getPane()); releaseReferences(); return (IEditorPart)part;
public IEditorPart getEditor(boolean restore) { if(part != null) return part; if(!restore || editorMemento == null) return null; IStatus status = restoreEditor(this,editorMemento); Workbench workbench = (Workbench)window.getWorkbench(); if(status.getSeverity() == IStatus.ERROR) { editorMemento = null; page.closeEditor(this,false); if(!workbench.isStarting()) { ErrorDialog.openError( window.getShell(), WorkbenchMessages.getString("EditorManager.unableToRestoreEditorTitle"), //$NON-NLS-1$ WorkbenchMessages.format("EditorManager.unableToRestoreEditorMessage",new String[]{getName()}), //$NON-NLS-1$ status, IStatus.WARNING | IStatus.ERROR); } } setPane(this.pane); this.pane = null; editorMemento = null; tooltip = null; return part; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/234570228ea456ece089ff59b2b055ff81273d9b/EditorManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 6946, 1988, 336, 6946, 12, 6494, 5217, 13, 288, 1082, 202, 430, 12, 2680, 480, 446, 13, 9506, 202, 2463, 1087, 31, 1082, 202, 430, 12, 5, 13991, 747, 4858, 49, 820, 83, 422, 446, 13, 9506, 202, 2463, 446, 31, 25083, 202, 45, 1482, 1267, 273, 5217, 6946, 12, 2211, 16, 9177, 49, 820, 83, 1769, 1082, 202, 2421, 22144, 1440, 22144, 273, 261, 2421, 22144, 13, 5668, 18, 588, 2421, 22144, 5621, 1082, 202, 430, 12, 2327, 18, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 9506, 202, 9177, 49, 820, 83, 273, 446, 31, 9506, 202, 2433, 18, 4412, 6946, 12, 2211, 16, 5743, 1769, 9506, 202, 430, 12, 5, 1252, 22144, 18, 291, 11715, 10756, 288, 6862, 202, 668, 6353, 18, 3190, 668, 12, 25083, 202, 5668, 18, 588, 13220, 9334, 25083, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 6946, 1318, 18, 18828, 774, 10874, 6946, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2421, 22144, 5058, 18, 2139, 2932, 6946, 1318, 18, 18828, 774, 10874, 6946, 1079, 3113, 2704, 514, 63, 7073, 17994, 17767, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2327, 16, 25083, 202, 45, 1482, 18, 9511, 571, 467, 1482, 18, 3589, 1769, 9506, 202, 97, 1875, 202, 97, 1082, 202, 542, 8485, 12, 2211, 18, 29009, 1769, 1082, 202, 2211, 18, 29009, 273, 446, 31, 9506, 202, 9177, 49, 820, 83, 273, 446, 31, 1082, 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, 3196, 202, 482, 467, 6946, 1988, 336, 6946, 12, 6494, 5217, 13, 288, 1082, 202, 430, 12, 2680, 480, 446, 13, 9506, 202, 2463, 1087, 31, 1082, 202, 430, 12, 5, 13991, 747, 4858, 49, 820, 83, 422, 446, 13, 9506, 202, 2463, 446, 31, 25083, 202, 45, 1482, 1267, 273, 5217, 6946, 12, 2211, 16, 9177, 49, 820, 83, 1769, 1082, 202, 2421, 22144, 1440, 22144, 273, 261, 2421, 22144, 13, 5668, 18, 588, 2421, 22144, 5621, 1082, 202, 430, 12, 2327, 18, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 9506, 202, 9177, 49, 820, 83, 273, 446, 31, 9506, 202, 2433, 18, 4412, 6946, 12, 2211, 16, 5743, 1769, 9506, 202, 430, 12, 5, 2 ]
Object data[]; data = context.popOperands(2); if ( (data[0] instanceof PAToken) && (data[1] instanceof PAToken)) { if ( ( (PAToken) data[0]).type == ( (PAToken) data[1]).type) { context.operands.push(data[0]); context.operands.push(data[0]); } else { throw new PainterException( "copy operation failed because composite objects on stack are not of same type"); } } else { context.operands.push(data[0]); if (data[1] instanceof Number) { int index = ( (Number) data[1]).intValue(); int i, n; n = context.operands.size(); Object[] copyData = new Object[index]; for (i = n - index; i < n; i++) { try { copyData[i - n + index] = context.operands.elementAt(i); } catch (ArrayIndexOutOfBoundsException e) { throw new PainterException(e.toString()); } } for (i = 0; i < index; i++) { context.operands.push(copyData[i]); } } else { throw new PainterException("I expect a number on stack, dude"); } }
context.operands.push(new PAToken(null, PAToken.MARK));
public void execute(PAContext context) throws PainterException { Object data[]; data = context.popOperands(2); // decide if it's a simple copy or a composite object copy if ( (data[0] instanceof PAToken) && (data[1] instanceof PAToken)) { // composite object copy if ( ( (PAToken) data[0]).type == ( (PAToken) data[1]).type) { // our tokens are immutable so a copy is easy context.operands.push(data[0]); context.operands.push(data[0]); } else { throw new PainterException( "copy operation failed because composite objects on stack are not of same type"); } } else { // restore first arg, we're not interested in it in this simple case context.operands.push(data[0]); if (data[1] instanceof Number) { int index = ( (Number) data[1]).intValue(); int i, n; n = context.operands.size(); Object[] copyData = new Object[index]; for (i = n - index; i < n; i++) { try { copyData[i - n + index] = context.operands.elementAt(i); } catch (ArrayIndexOutOfBoundsException e) { throw new PainterException(e.toString()); } } for (i = 0; i < index; i++) { context.operands.push(copyData[i]); } } else { throw new PainterException("I expect a number on stack, dude"); } } }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAContext.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 368, 16288, 309, 518, 1807, 279, 4143, 1610, 578, 279, 9635, 733, 1610, 3639, 309, 261, 261, 892, 63, 20, 65, 1276, 17988, 969, 13, 597, 261, 892, 63, 21, 65, 1276, 17988, 969, 3719, 288, 1850, 368, 9635, 733, 1610, 1850, 309, 261, 261, 261, 8592, 969, 13, 501, 63, 20, 65, 2934, 723, 422, 261, 261, 8592, 969, 13, 501, 63, 21, 65, 2934, 723, 13, 288, 5411, 368, 3134, 2430, 854, 11732, 1427, 279, 1610, 353, 12779, 5411, 819, 18, 4063, 5708, 18, 6206, 12, 892, 63, 20, 19226, 5411, 819, 18, 4063, 5708, 18, 6206, 12, 892, 63, 20, 19226, 1850, 289, 1850, 469, 288, 5411, 604, 394, 453, 11606, 503, 12, 7734, 315, 3530, 1674, 2535, 2724, 9635, 2184, 603, 2110, 854, 486, 434, 1967, 618, 8863, 1850, 289, 3639, 289, 3639, 469, 288, 1850, 368, 5217, 1122, 1501, 16, 732, 4565, 486, 20506, 316, 518, 316, 333, 4143, 648, 1850, 819, 18, 4063, 5708, 18, 6206, 12, 892, 63, 20, 19226, 1850, 309, 261, 892, 63, 21, 65, 1276, 3588, 13, 288, 5411, 509, 770, 273, 261, 261, 1854, 13, 501, 63, 21, 65, 2934, 474, 620, 5621, 5411, 509, 277, 16, 290, 31, 5411, 290, 273, 819, 18, 4063, 5708, 18, 1467, 5621, 5411, 1033, 8526, 1610, 751, 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, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 368, 16288, 309, 518, 1807, 279, 4143, 1610, 578, 279, 9635, 733, 1610, 3639, 309, 261, 261, 892, 63, 20, 65, 1276, 17988, 969, 13, 597, 261, 892, 63, 21, 65, 1276, 17988, 969, 3719, 288, 1850, 368, 9635, 733, 1610, 1850, 309, 261, 261, 261, 8592, 969, 13, 501, 63, 20, 65, 2934, 723, 422, 261, 261, 8592, 969, 13, 501, 63, 21, 65, 2934, 723, 13, 288, 5411, 368, 3134, 2430, 854, 11732, 1427, 279, 1610, 353, 12779, 5411, 819, 18, 4063, 5708, 18, 6206, 12, 2 ]
Atom atom = new Atom("N"); LonePair lp = new LonePair();
Atom atom = builder.newAtom("N"); LonePair lp = builder.newLonePair();
public void testClone_Atom() { Atom atom = new Atom("N"); LonePair lp = new LonePair(); lp.setAtom(atom); // test cloning of atom LonePair clone = (LonePair)lp.clone(); assertNotSame(atom, clone.getAtom()); }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/3d4f8a67608c1a4004a21e4da478a610bb53ee73/LonePairTest.java/clean/src/org/openscience/cdk/test/LonePairTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 67, 3641, 1435, 288, 3639, 7149, 3179, 273, 394, 7149, 2932, 50, 8863, 3639, 511, 476, 4154, 12423, 273, 394, 511, 476, 4154, 5621, 3639, 12423, 18, 542, 3641, 12, 7466, 1769, 7734, 368, 1842, 927, 22470, 434, 3179, 3639, 511, 476, 4154, 3236, 273, 261, 48, 476, 4154, 13, 9953, 18, 14056, 5621, 3639, 1815, 1248, 8650, 12, 7466, 16, 3236, 18, 588, 3641, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 67, 3641, 1435, 288, 3639, 7149, 3179, 273, 394, 7149, 2932, 50, 8863, 3639, 511, 476, 4154, 12423, 273, 394, 511, 476, 4154, 5621, 3639, 12423, 18, 542, 3641, 12, 7466, 1769, 7734, 368, 1842, 927, 22470, 434, 3179, 3639, 511, 476, 4154, 3236, 273, 261, 48, 476, 4154, 13, 9953, 18, 14056, 5621, 3639, 1815, 1248, 8650, 12, 7466, 16, 3236, 18, 588, 3641, 10663, 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 ]
ExtendedIterator it = this.graph.find(Node.ANY, D2RQ.additionalProperty, Node.ANY);
ExtendedIterator it = this.graph.find(Node.ANY, D2RQ.additionalProperty.asNode(), Node.ANY);
private void parseAdditionalProperties() { ExtendedIterator it = this.graph.find(Node.ANY, D2RQ.additionalProperty, Node.ANY); while (it.hasNext()) { Triple t = (Triple) it.next(); NodeMakerSpec subjectSpec = classMapSpecForNode(t.getSubject()); if (subjectSpec == null) { this.log.warn("Ignoring d2rq:additionalProperty on " + t.getSubject() + " as they are allowed only on d2rq:ClassMaps"); continue; } createPropertyBridge( t.getSubject(), t.getObject(), subjectSpec, NodeMakerSpec.createFixed(findOneNode(t.getObject(), D2RQ.propertyName)), NodeMakerSpec.createFixed(findOneNode(t.getObject(), D2RQ.propertyValue))); } }
3809 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3809/8bbac3b6836f10d9057d996299f15ca66dc12723/MapParser.java/buggy/src/de/fuberlin/wiwiss/d2rq/parser/MapParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 10552, 2297, 1435, 288, 202, 202, 11456, 3198, 518, 273, 333, 18, 4660, 18, 4720, 12, 907, 18, 15409, 16, 463, 22, 54, 53, 18, 13996, 1396, 16, 2029, 18, 15409, 1769, 202, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 1082, 202, 28166, 268, 273, 261, 28166, 13, 518, 18, 4285, 5621, 1082, 202, 907, 12373, 1990, 3221, 1990, 273, 29835, 1990, 31058, 12, 88, 18, 588, 6638, 10663, 1082, 202, 430, 261, 7857, 1990, 422, 446, 13, 288, 9506, 202, 2211, 18, 1330, 18, 8935, 2932, 21702, 302, 22, 86, 85, 30, 13996, 1396, 603, 315, 397, 25083, 202, 88, 18, 588, 6638, 1435, 397, 315, 487, 2898, 854, 2935, 1338, 603, 302, 22, 86, 85, 30, 797, 8903, 8863, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 2640, 1396, 13691, 12, 6862, 202, 88, 18, 588, 6638, 9334, 6862, 202, 88, 18, 588, 921, 9334, 6862, 202, 7857, 1990, 16, 6862, 202, 907, 12373, 1990, 18, 2640, 7505, 12, 4720, 3335, 907, 12, 88, 18, 588, 921, 9334, 463, 22, 54, 53, 18, 4468, 461, 13, 3631, 6862, 202, 907, 12373, 1990, 18, 2640, 7505, 12, 4720, 3335, 907, 12, 88, 18, 588, 921, 9334, 463, 22, 54, 53, 18, 4468, 620, 3719, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 10552, 2297, 1435, 288, 202, 202, 11456, 3198, 518, 273, 333, 18, 4660, 18, 4720, 12, 907, 18, 15409, 16, 463, 22, 54, 53, 18, 13996, 1396, 16, 2029, 18, 15409, 1769, 202, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 1082, 202, 28166, 268, 273, 261, 28166, 13, 518, 18, 4285, 5621, 1082, 202, 907, 12373, 1990, 3221, 1990, 273, 29835, 1990, 31058, 12, 88, 18, 588, 6638, 10663, 1082, 202, 430, 261, 7857, 1990, 422, 446, 13, 288, 9506, 202, 2211, 18, 1330, 18, 8935, 2932, 21702, 302, 22, 86, 85, 30, 13996, 1396, 603, 315, 397, 25083, 202, 88, 18, 588, 6638, 1435, 397, 315, 487, 2898, 854, 2935, 1338, 2 ]
attachment = new ReportAttachment();
attachment = new RepositoryAttachment(attributeFactory);
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { characters = new StringBuffer(); BugzillaReportElement tag = BugzillaReportElement.UNKNOWN; try { tag = BugzillaReportElement.valueOf(localName.trim().toUpperCase()); } catch (RuntimeException e) { if (e instanceof IllegalArgumentException) { // ignore unrecognized tags return; } throw e; } switch (tag) { case BUGZILLA: // Note: here we can get the bugzilla version if necessary break; case BUG: if (attributes != null && (attributes.getValue("error") != null)) { errorMessage = attributes.getValue("error"); } break; case LONG_DESC: comment = new Comment(report, commentNum++); break; case ATTACHMENT: attachment = new ReportAttachment(); if (attributes != null && (attributes.getValue(BugzillaReportElement.IS_OBSOLETE.getKeyString()) != null)) { attachment.addAttribute(BugzillaReportElement.IS_OBSOLETE, new RepositoryTaskAttribute( BugzillaReportElement.IS_OBSOLETE)); } break; } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/11ba991a7c176a0ea4c187e5f674932dc37851d1/SaxBugReportContentHandler.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxBugReportContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 202, 202, 20558, 273, 394, 6674, 5621, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 62, 2627, 2534, 30, 1082, 202, 759, 3609, 30, 2674, 732, 848, 336, 326, 7934, 15990, 1177, 309, 4573, 1082, 202, 8820, 31, 202, 202, 3593, 10937, 43, 30, 1082, 202, 430, 261, 4350, 480, 446, 597, 261, 4350, 18, 24805, 2932, 1636, 7923, 480, 446, 3719, 288, 9506, 202, 1636, 1079, 273, 1677, 18, 24805, 2932, 1636, 8863, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 3593, 14011, 67, 10964, 30, 1082, 202, 3469, 273, 394, 9821, 12, 6006, 16, 2879, 2578, 9904, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 7907, 18133, 3212, 30, 1082, 202, 11461, 273, 394, 8706, 6803, 5621, 1082, 202, 430, 261, 4350, 480, 446, 597, 261, 4350, 18, 24805, 12, 19865, 15990, 4820, 1046, 18, 5127, 67, 5704, 3584, 4311, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13591, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 202, 202, 20558, 273, 394, 6674, 5621, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 62, 2 ]
this(name, table, expression, isNumeric, null);
this(name, table, expression, isNumeric, null, null, null);
private Column(String name, Table table, MondrianDef.Expression expression, boolean isNumeric) { this(name, table, expression, isNumeric, null); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/6bb94617d887d46c85747d7409fa32adc3ccb0c2/RolapStar.java/buggy/src/main/mondrian/rolap/RolapStar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 4753, 12, 780, 508, 16, 15604, 3555, 1014, 16, 15604, 490, 1434, 566, 304, 3262, 18, 2300, 2652, 16, 15604, 1250, 26434, 13, 288, 5411, 333, 12, 529, 16, 1014, 16, 2652, 16, 26434, 16, 446, 16, 446, 16, 446, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 4753, 12, 780, 508, 16, 15604, 3555, 1014, 16, 15604, 490, 1434, 566, 304, 3262, 18, 2300, 2652, 16, 15604, 1250, 26434, 13, 288, 5411, 333, 12, 529, 16, 1014, 16, 2652, 16, 26434, 16, 446, 16, 446, 16, 446, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (Saveable[]) result.toArray(new Saveable[result.size()]);
public synchronized Saveable[] getActiveSaveables() { ITreeContentProvider contentProvider = (ITreeContentProvider) viewer .getContentProvider(); IStructuredSelection selection = (IStructuredSelection) viewer .getSelection(); Set result = new HashSet(); for (Iterator it = selection.iterator(); it.hasNext();) { Object element = it.next(); // try to find a saveable that contains the selected element while (element != null) { Saveable saveable = getSaveable(element); if (saveable != null) { result.add(saveable); break; } element = contentProvider.getParent(element); } } return (Saveable[]) result.toArray(new Saveable[result.size()]); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/518a3f958a9e2e845c12edbd4ca11b42bb564ebf/NavigatorSaveablesService.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorSaveablesService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 7074, 429, 8526, 11960, 4755, 1538, 1435, 288, 202, 202, 1285, 992, 1350, 2249, 913, 2249, 273, 261, 1285, 992, 1350, 2249, 13, 14157, 9506, 202, 18, 588, 1350, 2249, 5621, 202, 202, 45, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 14157, 9506, 202, 18, 588, 6233, 5621, 202, 202, 694, 563, 273, 394, 6847, 5621, 202, 202, 1884, 261, 3198, 518, 273, 4421, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 921, 930, 273, 518, 18, 4285, 5621, 1082, 202, 759, 775, 358, 1104, 279, 1923, 429, 716, 1914, 326, 3170, 930, 1082, 202, 17523, 261, 2956, 480, 446, 13, 288, 9506, 202, 4755, 429, 1923, 429, 273, 1322, 836, 429, 12, 2956, 1769, 9506, 202, 430, 261, 5688, 429, 480, 446, 13, 288, 6862, 202, 2088, 18, 1289, 12, 5688, 429, 1769, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 2956, 273, 913, 2249, 18, 588, 3054, 12, 2956, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 261, 4755, 429, 63, 5717, 563, 18, 31447, 12, 2704, 7074, 429, 63, 2088, 18, 1467, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 7074, 429, 8526, 11960, 4755, 1538, 1435, 288, 202, 202, 1285, 992, 1350, 2249, 913, 2249, 273, 261, 1285, 992, 1350, 2249, 13, 14157, 9506, 202, 18, 588, 1350, 2249, 5621, 202, 202, 45, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 14157, 9506, 202, 18, 588, 6233, 5621, 202, 202, 694, 563, 273, 394, 6847, 5621, 202, 202, 1884, 261, 3198, 518, 273, 4421, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 921, 930, 273, 518, 18, 4285, 5621, 1082, 202, 759, 775, 358, 1104, 279, 1923, 429, 716, 1914, 326, 3170, 930, 1082, 202, 17523, 261, 2956, 480, 446, 13, 288, 9506, 202, 4755, 429, 1923, 429, 273, 2 ]
try { String decoderName = (String) getSelectedItem(); live.setDecoder(decoderName); lastIndex = getSelectedIndex(); } catch (IOException ioe) { ioe.printStackTrace(); }
Thread t = new Thread() { public void run() { String decoderName = (String) getSelectedItem(); try { live.setDecoder(decoderName); lastIndex = getSelectedIndex(); } catch (IOException ioe) { setMessage("Error switching to " + decoderName); } } }; t.start();
public void actionPerformed(ActionEvent e) { if (getSelectedIndex() != lastIndex) { try { String decoderName = (String) getSelectedItem(); live.setDecoder(decoderName); lastIndex = getSelectedIndex(); } catch (IOException ioe) { ioe.printStackTrace(); } } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/afd224ac6866df12854f215fd33728a0851cf83e/LiveFrame.java/clean/tests/live/LiveFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 309, 261, 588, 7416, 1016, 1435, 480, 7536, 13, 288, 10792, 775, 288, 13491, 514, 8320, 461, 273, 261, 780, 13, 16625, 1180, 5621, 13491, 8429, 18, 542, 7975, 12, 21070, 461, 1769, 13491, 7536, 273, 16625, 1016, 5621, 10792, 289, 1044, 261, 14106, 10847, 13, 288, 13491, 10847, 18, 1188, 6332, 5621, 10792, 289, 7734, 289, 5411, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 309, 261, 588, 7416, 1016, 1435, 480, 7536, 13, 288, 10792, 775, 288, 13491, 514, 8320, 461, 273, 261, 780, 13, 16625, 1180, 5621, 13491, 8429, 18, 542, 7975, 12, 21070, 461, 1769, 13491, 7536, 273, 16625, 1016, 5621, 10792, 289, 1044, 261, 14106, 10847, 13, 288, 13491, 10847, 18, 1188, 6332, 5621, 10792, 289, 7734, 289, 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 ]
txtLostInTrub.setText(opts.getProperty("optTrubLoss")); boilTempTxt.setText(opts.getProperty("optBoilTempF")); batchSizeTxt.setText(opts.getProperty("optPostBoilVol")); maltUnitsComboModel.addOrInsert(opts.getProperty("optMaltU")); hopsUnitsComboModel.addOrInsert(opts.getProperty("optHopsU")); volUnitsComboModel.addOrInsert(opts.getProperty("optSizeU"));
txtLostInTrub.setText(opts.getProperty("optTrubLoss"));
private void setOptions() { // cost tab: txtOtherCost.setText(opts.getProperty("optMiscCost")); txtBottleSize.setText(opts.getProperty("optBottleSize")); cmbBottleSizeModel.addOrInsert(opts.getProperty("optBottleU")); // brewer tab: txtBrewerName.setText(opts.getProperty("optBrewer")); txtPhone.setText(opts.getProperty("optPhone")); txtClubName.setText(opts.getProperty("optClub")); txtEmail.setText(opts.getProperty("optEmail")); // calculations tab: rbTinseth.setSelected(opts.getProperty("optIBUCalcMethod").equalsIgnoreCase("Tinseth")); rbRager.setSelected(opts.getProperty("optIBUCalcMethod").equalsIgnoreCase("Rager")); rbGaretz.setSelected(opts.getProperty("optIBUCalcMethod").equalsIgnoreCase("Garetz")); rbABV.setSelected((opts.getProperty("optAlcCalcMethod").equalsIgnoreCase("Volume"))); rbABW.setSelected((opts.getProperty("optAlcCalcMethod").equalsIgnoreCase("Weight"))); rbSRM.setSelected((opts.getProperty("optColourMethod").equalsIgnoreCase("SRM"))); rbEBC.setSelected((opts.getProperty("optColourMethod").equalsIgnoreCase("EBC"))); rbPercent.setSelected((opts.getProperty("optEvapCalcMethod").equalsIgnoreCase("Percent"))); rbConstant.setSelected((opts.getProperty("optEvapCalcMethod").equalsIgnoreCase("Constant"))); evapAmountTxt.setText(opts.getProperty("optEvaporation")); if (opts.getProperty("optEvapCalcMethod").equalsIgnoreCase("Percent")) evapAmountLbl.setText("%"); else evapAmountLbl.setText(opts.getProperty("optSizeU") + "/hr"); txtPellet.setText(opts.getProperty("optPelletHopsPct")); txtTinsethUtil.setText(opts.getProperty("optHopsUtil")); txtDryHopTime.setText(opts.getProperty("optDryHopTime")); txtFWHTime.setText(opts.getProperty("optFWHTime")); txtMashHopTime.setText(opts.getProperty("optMashHopTime")); txtLeftInKettle.setText(opts.getProperty("optKettleLoss")); txtMiscLosses.setText(opts.getProperty("optMiscLoss")); txtLostInTrub.setText(opts.getProperty("optTrubLoss")); // new recipe tab: boilTempTxt.setText(opts.getProperty("optBoilTempF")); batchSizeTxt.setText(opts.getProperty("optPostBoilVol")); maltUnitsComboModel.addOrInsert(opts.getProperty("optMaltU")); hopsUnitsComboModel.addOrInsert(opts.getProperty("optHopsU")); volUnitsComboModel.addOrInsert(opts.getProperty("optSizeU")); // appearances tab: redSpn.setValue(new Integer(opts.getIProperty("optRed"))); greenSpn.setValue(new Integer(opts.getIProperty("optGreen"))); blueSpn.setValue(new Integer(opts.getIProperty("optBlue"))); alphaSpn.setValue(new Integer(opts.getIProperty("optAlpha"))); colMethod1rb.setSelected(opts.getProperty("optRGBMethod").equals("1")); colMethod2rb.setSelected(opts.getProperty("optRGBMethod").equals("2")); displayColour(); }
51683 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51683/903c05580102f0fc7adaa21c7da03cae2da22ef5/PreferencesDialog.java/buggy/src/ca/strangebrew/ui/swing/PreferencesDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 16526, 1435, 288, 202, 202, 759, 6991, 3246, 30, 202, 202, 5830, 8290, 8018, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 11729, 71, 8018, 7923, 1769, 202, 202, 5830, 6522, 5929, 1225, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 6522, 5929, 1225, 7923, 1769, 202, 202, 71, 1627, 6522, 5929, 1225, 1488, 18, 1289, 1162, 4600, 12, 4952, 18, 588, 1396, 2932, 3838, 6522, 5929, 57, 7923, 1769, 202, 202, 759, 324, 266, 2051, 3246, 30, 202, 202, 5830, 38, 266, 2051, 461, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 38, 266, 2051, 7923, 1769, 202, 202, 5830, 9451, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 9451, 7923, 1769, 202, 202, 5830, 2009, 373, 461, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 2009, 373, 7923, 1769, 202, 202, 5830, 4134, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 4134, 7923, 1769, 202, 202, 759, 20882, 3246, 30, 202, 202, 6731, 56, 267, 542, 76, 18, 542, 7416, 12, 4952, 18, 588, 1396, 2932, 3838, 45, 3000, 25779, 1305, 20387, 14963, 5556, 2932, 56, 267, 542, 76, 7923, 1769, 202, 202, 6731, 54, 6817, 18, 542, 7416, 12, 4952, 18, 588, 1396, 2932, 3838, 45, 3000, 25779, 1305, 20387, 14963, 5556, 2932, 54, 6817, 7923, 1769, 202, 202, 6731, 43, 834, 12994, 18, 542, 7416, 12, 4952, 18, 588, 1396, 2932, 3838, 45, 3000, 25779, 1305, 20387, 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, 16526, 1435, 288, 202, 202, 759, 6991, 3246, 30, 202, 202, 5830, 8290, 8018, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 11729, 71, 8018, 7923, 1769, 202, 202, 5830, 6522, 5929, 1225, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 6522, 5929, 1225, 7923, 1769, 202, 202, 71, 1627, 6522, 5929, 1225, 1488, 18, 1289, 1162, 4600, 12, 4952, 18, 588, 1396, 2932, 3838, 6522, 5929, 57, 7923, 1769, 202, 202, 759, 324, 266, 2051, 3246, 30, 202, 202, 5830, 38, 266, 2051, 461, 18, 542, 1528, 12, 4952, 18, 588, 1396, 2932, 3838, 38, 266, 2051, 7923, 1769, 202, 202, 5830, 9451, 18, 542, 1528, 12, 4952, 18, 588, 2 ]
super();
public ABList() { super(); }
53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/8c4054ea8e295b5e5e4f4309b1d8379f8887c3af/ABList.java/buggy/portal-ejb/src/com/liferay/portlet/addressbook/model/ABList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10336, 682, 1435, 288, 202, 202, 9565, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10336, 682, 1435, 288, 202, 202, 9565, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static Message createFNPSwapRejected(long uid) {
public static final Message createFNPSwapRejected(long uid) {
public static Message createFNPSwapRejected(long uid) { Message msg = new Message(FNPSwapRejected); msg.set(UID, uid); return msg; }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/d69dceaa72feee5ece14b8de951841aa9b614188/DMT.java/clean/src/freenet/io/comm/DMT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 2350, 752, 19793, 5857, 91, 438, 19902, 12, 5748, 4555, 13, 288, 3639, 2350, 1234, 273, 394, 2350, 12, 19793, 5857, 91, 438, 19902, 1769, 3639, 1234, 18, 542, 12, 3060, 16, 4555, 1769, 3639, 327, 1234, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 2350, 752, 19793, 5857, 91, 438, 19902, 12, 5748, 4555, 13, 288, 3639, 2350, 1234, 273, 394, 2350, 12, 19793, 5857, 91, 438, 19902, 1769, 3639, 1234, 18, 542, 12, 3060, 16, 4555, 1769, 3639, 327, 1234, 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 ]
c = in.read();
c = getChar();
public int getToken() throws IOException { int c; tokenno++; // Check for pushed-back token if (this.pushbackToken != EOF) { int result = this.pushbackToken; this.pushbackToken = EOF; return result; } // Eat whitespace, possibly sensitive to newlines. do { c = in.read(); if (c == '\n') { flags &= ~TSF_DIRTYLINE; if ((flags & TSF_NEWLINES) != 0) break; } } while (isJSSpace(c) || c == '\n'); if (c == EOF_CHAR) return EOF; if (c != '-' && c != '\n') flags |= TSF_DIRTYLINE; // identifier/keyword/instanceof? // watch out for starting with a <backslash> boolean identifierStart; boolean isUnicodeEscapeStart = false; if (c == '\\') { c = in.read(); if (c == 'u') { identifierStart = true; isUnicodeEscapeStart = true; stringBufferTop = 0; } else { identifierStart = false; c = '\\'; in.unread(); } } else { identifierStart = Character.isJavaIdentifierStart((char)c); if (identifierStart) { stringBufferTop = 0; addToString(c); } } if (identifierStart) { boolean containsEscape = isUnicodeEscapeStart; for (;;) { if (isUnicodeEscapeStart) { // strictly speaking we should probably push-back // all the bad characters if the <backslash>uXXXX // sequence is malformed. But since there isn't a // correct context(is there?) for a bad Unicode // escape sequence in an identifier, we can report // an error here. int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); // Next check takes care about c < 0 and bad escape if (escapeVal < 0) { break; } } if (escapeVal < 0) { reportSyntaxError("msg.invalid.escape", null); return ERROR; } addToString(escapeVal); isUnicodeEscapeStart = false; } else { c = in.read(); if (c == '\\') { c = in.read(); if (c == 'u') { isUnicodeEscapeStart = true; containsEscape = true; } else { reportSyntaxError("msg.illegal.character", null); return ERROR; } } else { if (!Character.isJavaIdentifierPart((char)c)) { break; } addToString(c); } } } in.unread(); String str = getStringFromBuffer(); if (!containsEscape) { // OPT we shouldn't have to make a string (object!) to // check if it's a keyword. // Return the corresponding token if it's a keyword int result = stringToKeyword(str); if (result != EOF) { if (result != RESERVED) { return result; } else if (!Context.getContext().hasFeature( Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER)) { return result; } else { // If implementation permits to use future reserved // keywords in violation with the EcmaScript standard, // treat it as name but issue warning Object[] errArgs = { str }; reportSyntaxWarning("msg.reserved.keyword", errArgs); } } } this.string = str; return NAME; } // is it a number? if (isDigit(c) || (c == '.' && isDigit(in.peek()))) { stringBufferTop = 0; int base = 10; if (c == '0') { c = in.read(); if (c == 'x' || c == 'X') { base = 16; c = in.read(); } else if (isDigit(c)) { base = 8; } else { addToString('0'); } } if (base == 16) { while (0 <= xDigitToInt(c)) { addToString(c); c = in.read(); } } else { while ('0' <= c && c <= '9') { /* * We permit 08 and 09 as decimal numbers, which * makes our behavior a superset of the ECMA * numeric grammar. We might not always be so * permissive, so we warn about it. */ if (base == 8 && c >= '8') { Object[] errArgs = { c == '8' ? "8" : "9" }; reportSyntaxWarning("msg.bad.octal.literal", errArgs); base = 10; } addToString(c); c = in.read(); } } boolean isInteger = true; if (base == 10 && (c == '.' || c == 'e' || c == 'E')) { isInteger = false; if (c == '.') { do { addToString(c); c = in.read(); } while (isDigit(c)); } if (c == 'e' || c == 'E') { addToString(c); c = in.read(); if (c == '+' || c == '-') { addToString(c); c = in.read(); } if (!isDigit(c)) { reportSyntaxError("msg.missing.exponent", null); return ERROR; } do { addToString(c); c = in.read(); } while (isDigit(c)); } } in.unread(); String numString = getStringFromBuffer(); double dval; if (base == 10 && !isInteger) { try { // Use Java conversion to number from string... dval = (Double.valueOf(numString)).doubleValue(); } catch (NumberFormatException ex) { Object[] errArgs = { ex.getMessage() }; reportSyntaxError("msg.caught.nfe", errArgs); return ERROR; } } else { dval = ScriptRuntime.stringToNumber(numString, 0, base); } this.number = dval; return NUMBER; } // is it a string? if (c == '"' || c == '\'') { // We attempt to accumulate a string the fast way, by // building it directly out of the reader. But if there // are any escaped characters in the string, we revert to // building it out of a StringBuffer. int quoteChar = c; int val = 0; stringBufferTop = 0; c = in.read(); strLoop: while (c != quoteChar) { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.string.lit", null); return ERROR; } if (c == '\\') { // We've hit an escaped character c = in.read(); switch (c) { case 'b': c = '\b'; break; case 'f': c = '\f'; break; case 'n': c = '\n'; break; case 'r': c = '\r'; break; case 't': c = '\t'; break; // \v a late addition to the ECMA spec, // it is not in Java, so use 0xb case 'v': c = 0xb; break; case 'u': { /* * Get 4 hex digits; if the u escape is not * followed by 4 hex digits, use 'u' + the literal * character sequence that follows. */ int escapeStart = stringBufferTop; addToString('u'); int escapeVal = 0; for (int i = 0; i != 4; ++i) { c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { continue strLoop; } addToString(c); } // prepare for replace of stored 'u' sequence // by escape value stringBufferTop = escapeStart; c = escapeVal; } break; case 'x': { /* Get 2 hex digits, defaulting to 'x' + literal * sequence, as above. */ c = in.read(); int escapeVal = xDigitToInt(c); if (escapeVal < 0) { addToString('x'); continue strLoop; } else { int c1 = c; c = in.read(); escapeVal = (escapeVal << 4) | xDigitToInt(c); if (escapeVal < 0) { addToString('x'); addToString(c1); continue strLoop; } else { // got 2 hex digits c = escapeVal; } } } break; default: if ('0' <= c && c < '8') { val = c - '0'; c = in.read(); if ('0' <= c && c < '8') { val = 8 * val + c - '0'; c = in.read(); if ('0' <= c && c < '8' && val <= 037) { // c is 3rd char of octal sequence only if // the resulting val <= 0377 val = 8 * val + c - '0'; c = in.read(); } } in.unread(); c = val; } } } addToString(c); c = in.read(); } this.string = getStringFromBuffer(); return STRING; } switch (c) { case '\n': return EOL; case ';': return SEMI; case '[': return LB; case ']': return RB; case '{': return LC; case '}': return RC; case '(': return LP; case ')': return RP; case ',': return COMMA; case '?': return HOOK; case ':': return COLON; case '.': return DOT; case '|': if (in.match('|')) { return OR; } else if (in.match('=')) { this.op = BITOR; return ASSIGN; } else { return BITOR; } case '^': if (in.match('=')) { this.op = BITXOR; return ASSIGN; } else { return BITXOR; } case '&': if (in.match('&')) { return AND; } else if (in.match('=')) { this.op = BITAND; return ASSIGN; } else { return BITAND; } case '=': if (in.match('=')) { if (in.match('=')) this.op = SHEQ; else this.op = EQ; return EQOP; } else { this.op = NOP; return ASSIGN; } case '!': if (in.match('=')) { if (in.match('=')) this.op = SHNE; else this.op = NE; return EQOP; } else { this.op = NOT; return UNARYOP; } case '<': /* NB:treat HTML begin-comment as comment-till-eol */ if (in.match('!')) { if (in.match('-')) { if (in.match('-')) { skipLine(); return getToken(); // in place of 'goto retry' } in.unread(); } in.unread(); } if (in.match('<')) { if (in.match('=')) { this.op = LSH; return ASSIGN; } else { this.op = LSH; return SHOP; } } else { if (in.match('=')) { this.op = LE; return RELOP; } else { this.op = LT; return RELOP; } } case '>': if (in.match('>')) { if (in.match('>')) { if (in.match('=')) { this.op = URSH; return ASSIGN; } else { this.op = URSH; return SHOP; } } else { if (in.match('=')) { this.op = RSH; return ASSIGN; } else { this.op = RSH; return SHOP; } } } else { if (in.match('=')) { this.op = GE; return RELOP; } else { this.op = GT; return RELOP; } } case '*': if (in.match('=')) { this.op = MUL; return ASSIGN; } else { return MUL; } case '/': // is it a // comment? if (in.match('/')) { skipLine(); return getToken(); } if (in.match('*')) { while ((c = in.read()) != -1 && !(c == '*' && in.match('/'))) { ; // empty loop body } if (c == EOF_CHAR) { reportSyntaxError("msg.unterminated.comment", null); return ERROR; } return getToken(); // `goto retry' } // is it a regexp? if ((flags & TSF_REGEXP) != 0) { stringBufferTop = 0; while ((c = in.read()) != '/') { if (c == '\n' || c == EOF_CHAR) { in.unread(); reportSyntaxError("msg.unterminated.re.lit", null); return ERROR; } if (c == '\\') { addToString(c); c = in.read(); } addToString(c); } int reEnd = stringBufferTop; while (true) { if (in.match('g')) addToString('g'); else if (in.match('i')) addToString('i'); else if (in.match('m')) addToString('m'); else break; } if (isAlpha(in.peek())) { reportSyntaxError("msg.invalid.re.flag", null); return ERROR; } this.string = new String(stringBuffer, 0, reEnd); this.regExpFlags = new String(stringBuffer, reEnd, stringBufferTop - reEnd); return REGEXP; } if (in.match('=')) { this.op = DIV; return ASSIGN; } else { return DIV; } case '%': this.op = MOD; if (in.match('=')) { return ASSIGN; } else { return MOD; } case '~': this.op = BITNOT; return UNARYOP; case '+': if (in.match('=')) { this.op = ADD; return ASSIGN; } else if (in.match('+')) { return INC; } else { return ADD; } case '-': if (in.match('=')) { this.op = SUB; c = ASSIGN; } else if (in.match('-')) { if (0 == (flags & TSF_DIRTYLINE)) { // treat HTML end-comment after possible whitespace // after line start as comment-utill-eol if (in.match('>')) { skipLine(); return getToken(); } } c = DEC; } else { c = SUB; } flags |= TSF_DIRTYLINE; return c; default: reportSyntaxError("msg.illegal.character", null); return ERROR; } }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/5739d875ab983543fdf729f70a15773fdbe9b1bd/TokenStream.java/clean/src/org/mozilla/javascript/TokenStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 3639, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 3639, 741, 288, 5411, 276, 273, 23577, 5621, 5411, 309, 261, 71, 422, 2337, 82, 6134, 288, 7734, 2943, 12058, 4871, 8047, 42, 67, 4537, 5538, 5997, 31, 7734, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 10792, 898, 31, 5411, 289, 3639, 289, 1323, 261, 291, 46, 1260, 909, 12, 71, 13, 747, 276, 422, 2337, 82, 8284, 3639, 309, 261, 71, 422, 6431, 67, 7305, 13, 5411, 327, 6431, 31, 3639, 309, 261, 71, 480, 4014, 597, 276, 480, 2337, 82, 6134, 5411, 2943, 5626, 15508, 42, 67, 4537, 5538, 5997, 31, 3639, 368, 2756, 19, 11041, 19, 1336, 792, 35, 3639, 368, 4267, 596, 364, 5023, 598, 279, 411, 823, 12877, 34, 3639, 1250, 2756, 1685, 31, 3639, 1250, 353, 16532, 8448, 1685, 273, 629, 31, 3639, 309, 261, 71, 422, 5282, 13, 288, 5411, 276, 273, 23577, 5621, 5411, 309, 261, 71, 422, 296, 89, 6134, 288, 7734, 2756, 1685, 273, 638, 31, 7734, 353, 16532, 8448, 1685, 273, 638, 31, 7734, 533, 1892, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9162, 1435, 1216, 1860, 288, 3639, 509, 276, 31, 3639, 1147, 2135, 9904, 31, 3639, 368, 2073, 364, 18543, 17, 823, 1147, 3639, 309, 261, 2211, 18, 6206, 823, 1345, 480, 6431, 13, 288, 5411, 509, 563, 273, 333, 18, 6206, 823, 1345, 31, 5411, 333, 18, 6206, 823, 1345, 273, 6431, 31, 5411, 327, 563, 31, 3639, 289, 3639, 368, 512, 270, 7983, 16, 10016, 16692, 358, 19181, 18, 3639, 741, 288, 5411, 276, 273, 23577, 5621, 5411, 309, 261, 71, 422, 2337, 82, 6134, 288, 7734, 2943, 12058, 4871, 8047, 42, 67, 4537, 5538, 5997, 31, 7734, 309, 14015, 7133, 473, 15508, 42, 67, 12917, 5997, 55, 13, 480, 374, 13, 10792, 898, 31, 2 ]
root.doCreateDirectory(null, p("dir")); assertTrue(root.hasEntry(p("dir"))); assertEquals(DirectoryEntry.class, root.getEntry(p("dir")).getClass()); assertTrue(root.getEntry(p("dir")).getChildren().isEmpty());
root.doCreateDirectory(null, p("/dir")); assertTrue(root.hasEntry(p("/dir"))); assertEquals(DirectoryEntry.class, root.getEntry(p("/dir")).getClass()); assertTrue(root.getEntry(p("/dir")).getChildren().isEmpty());
public void testCeatingDirectory() { assertFalse(root.hasEntry(p("dir"))); root.doCreateDirectory(null, p("dir")); assertTrue(root.hasEntry(p("dir"))); assertEquals(DirectoryEntry.class, root.getEntry(p("dir")).getClass()); assertTrue(root.getEntry(p("dir")).getChildren().isEmpty()); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/RootEntryDirectoriesTest.java/clean/LocalVcs/test/com/intellij/localvcs/RootEntryDirectoriesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 39, 73, 1776, 2853, 1435, 288, 565, 1815, 8381, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 1214, 6, 3719, 1769, 565, 1365, 18, 2896, 1684, 2853, 12, 2011, 16, 293, 2932, 1214, 7923, 1769, 565, 1815, 5510, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 1214, 6, 3719, 1769, 565, 1815, 8867, 12, 2853, 1622, 18, 1106, 16, 1365, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 797, 10663, 565, 1815, 5510, 12, 3085, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 4212, 7675, 291, 1921, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 39, 73, 1776, 2853, 1435, 288, 565, 1815, 8381, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 1214, 6, 3719, 1769, 565, 1365, 18, 2896, 1684, 2853, 12, 2011, 16, 293, 2932, 1214, 7923, 1769, 565, 1815, 5510, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 1214, 6, 3719, 1769, 565, 1815, 8867, 12, 2853, 1622, 18, 1106, 16, 1365, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 797, 10663, 565, 1815, 5510, 12, 3085, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 4212, 7675, 291, 1921, 10663, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (m_classIsNominal) {
if (m_classIsNominal) {
double classifyFoldCV(Instances fold, int [] fs) throws Exception { int i; int ruleCount = 0; int numFold = fold.numInstances(); int numCl = m_theInstances.classAttribute().numValues(); double [][] class_distribs = new double [numFold][numCl]; double [] instA = new double [fs.length]; double [] normDist; hashKey thekey; double acc = 0.0; int classI = m_theInstances.classIndex(); Instance inst; if (m_classIsNominal) normDist = new double [numCl]; else normDist = new double [2]; // first *remove* instances for (i=0;i<numFold;i++) { inst = fold.instance(i); for (int j=0;j<fs.length;j++) if (fs[j] == classI) instA[j] = Double.MAX_VALUE; // missing for the class else if (inst.isMissing(fs[j])) instA[j] = Double.MAX_VALUE; else instA[j] = inst.value(fs[j]); thekey = new hashKey(instA); if ((class_distribs[i] = (double [])m_entries.get(thekey)) == null) { System.out.println("Shouldnt get here!"); System.exit(1); } else { if (m_classIsNominal) class_distribs[i][(int)inst.classValue()] -= inst.weight(); else { class_distribs[i][0] -= (inst.classValue() * inst.weight()); class_distribs[i][1] -= inst.weight(); } ruleCount++; } } // now classify instances for (i=0;i<numFold;i++) { inst = fold.instance(i); System.arraycopy(class_distribs[i],0,normDist,0,normDist.length); if (m_classIsNominal) { boolean ok = false; for (int j=0;j<normDist.length;j++) if (!Utils.eq(normDist[j],0.0)) { ok = true; break; } if (ok) { Utils.normalize(normDist); if (Utils.maxIndex(normDist) == inst.classValue()) acc += inst.weight(); } else if (inst.classValue() == m_majority) acc += inst.weight(); } else { if (Utils.eq(normDist[1],0.0)) acc += ((inst.weight() * (m_majority - inst.classValue())) * (inst.weight() * (m_majority - inst.classValue()))); else { double t = (normDist[0] / normDist[1]); acc += ((inst.weight() * (t - inst.classValue())) * (inst.weight() * (t - inst.classValue()))); } } } // now re-insert instances for (i=0;i<numFold;i++) { inst = fold.instance(i); if (m_classIsNominal) { class_distribs[i][(int)inst.classValue()] += inst.weight(); } else { class_distribs[i][0] += (inst.classValue() * inst.weight()); class_distribs[i][1] += inst.weight(); } } return acc; }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/f6f62667723170f4030ae82f079e537cd6065be3/DecisionTable.java/buggy/classifiers/rules/DecisionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1645, 19974, 15592, 22007, 12, 5361, 11590, 16, 509, 5378, 2662, 13, 1216, 1185, 225, 288, 565, 509, 277, 31, 565, 509, 1720, 1380, 273, 374, 31, 565, 509, 818, 15592, 273, 11590, 18, 2107, 5361, 5621, 565, 509, 818, 2009, 273, 312, 67, 5787, 5361, 18, 1106, 1499, 7675, 2107, 1972, 5621, 565, 1645, 5378, 8526, 667, 67, 2251, 665, 87, 273, 394, 1645, 306, 2107, 15592, 6362, 2107, 2009, 15533, 565, 1645, 5378, 1804, 37, 273, 394, 1645, 306, 2556, 18, 2469, 15533, 565, 1645, 5378, 4651, 5133, 31, 565, 29623, 326, 856, 31, 565, 1645, 4078, 273, 374, 18, 20, 31, 565, 509, 667, 45, 273, 312, 67, 5787, 5361, 18, 1106, 1016, 5621, 565, 5180, 1804, 31, 565, 309, 261, 81, 67, 1106, 2520, 26685, 1490, 13, 1377, 4651, 5133, 273, 394, 1645, 306, 2107, 2009, 15533, 565, 469, 1377, 4651, 5133, 273, 394, 1645, 306, 22, 15533, 565, 368, 1122, 380, 4479, 14, 3884, 565, 364, 261, 77, 33, 20, 31, 77, 32, 2107, 15592, 31, 77, 27245, 565, 288, 1377, 1804, 273, 11590, 18, 1336, 12, 77, 1769, 1377, 364, 261, 474, 525, 33, 20, 31, 78, 32, 2556, 18, 2469, 31, 78, 27245, 202, 430, 261, 2556, 63, 78, 65, 422, 667, 45, 13, 202, 225, 1804, 37, 63, 78, 65, 273, 3698, 18, 6694, 67, 4051, 31, 368, 3315, 364, 326, 667, 202, 12107, 309, 261, 8591, 18, 291, 4841, 12, 2556, 63, 78, 22643, 202, 225, 1804, 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, 1645, 19974, 15592, 22007, 12, 5361, 11590, 16, 509, 5378, 2662, 13, 1216, 1185, 225, 288, 565, 509, 277, 31, 565, 509, 1720, 1380, 273, 374, 31, 565, 509, 818, 15592, 273, 11590, 18, 2107, 5361, 5621, 565, 509, 818, 2009, 273, 312, 67, 5787, 5361, 18, 1106, 1499, 7675, 2107, 1972, 5621, 565, 1645, 5378, 8526, 667, 67, 2251, 665, 87, 273, 394, 1645, 306, 2107, 15592, 6362, 2107, 2009, 15533, 565, 1645, 5378, 1804, 37, 273, 394, 1645, 306, 2556, 18, 2469, 15533, 565, 1645, 5378, 4651, 5133, 31, 565, 29623, 326, 856, 31, 565, 1645, 4078, 273, 374, 18, 20, 31, 565, 509, 667, 45, 273, 312, 67, 5787, 5361, 18, 1106, 1016, 5621, 565, 2 ]
Set facets = facetedProject.getProjectFacets();
private void installXDocletFacet(IProgressMonitor monitor, IProject project) throws CoreException, ExecutionException { IFacetedProject facetedProject = ProjectFacetsManager.create(project); Set facets = facetedProject.getProjectFacets(); Set fixedFacets = facetedProject.getFixedProjectFacets(); boolean shouldInstallFacet = true; for (Iterator iter = facets.iterator(); iter.hasNext();) { IProjectFacetVersion facetVersion = (IProjectFacetVersion) iter.next(); String facetID = facetVersion.getProjectFacet().getId(); if (JST_WEB_XDOCLET.equals(facetID)) { shouldInstallFacet = false; } } if (!shouldInstallFacet) return; IDataModel dm = DataModelFactory.createDataModel(new FacetInstallDataModelProvider()); dm.setProperty(IFacetDataModelProperties.FACET_ID, JST_WEB_XDOCLET); dm.setProperty(IFacetDataModelProperties.FACET_PROJECT_NAME, project.getName()); dm.setProperty(IFacetDataModelProperties.FACET_VERSION_STR, JST_WEB_XDOCLET_VERSION); //$NON-NLS-1$ IDataModel fdm = DataModelFactory.createDataModel(new FacetProjectCreationDataModelProvider()); fdm.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, project.getName()); FacetDataModelMap map = (FacetDataModelMap) fdm.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP); map.add(dm); fdm.getDefaultOperation().execute(monitor, null); facetedProject.setFixedProjectFacets(fixedFacets); }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/649648c991aa0b6cf43709585a36e441b6f878d8/NewServletClassOperation.java/clean/plugins/org.eclipse.jst.j2ee.web/web/org/eclipse/jst/j2ee/internal/web/operations/NewServletClassOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3799, 60, 1759, 1810, 11137, 12, 45, 5491, 7187, 6438, 16, 467, 4109, 1984, 13, 1216, 30015, 16, 20205, 288, 202, 202, 5501, 1077, 278, 329, 4109, 11082, 329, 4109, 273, 5420, 6645, 2413, 1318, 18, 2640, 12, 4406, 1769, 202, 202, 694, 21681, 273, 11082, 329, 4109, 18, 588, 4109, 6645, 2413, 5621, 202, 202, 694, 5499, 6645, 2413, 273, 11082, 329, 4109, 18, 588, 7505, 4109, 6645, 2413, 5621, 202, 202, 6494, 1410, 6410, 11137, 273, 638, 31, 202, 202, 1884, 261, 3198, 1400, 273, 21681, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 45, 4109, 11137, 1444, 11082, 1444, 273, 261, 45, 4109, 11137, 1444, 13, 1400, 18, 4285, 5621, 1082, 202, 780, 11082, 734, 273, 11082, 1444, 18, 588, 4109, 11137, 7675, 26321, 5621, 1082, 202, 430, 261, 46, 882, 67, 14778, 67, 60, 19693, 15146, 18, 14963, 12, 21568, 734, 3719, 288, 9506, 202, 13139, 6410, 11137, 273, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 16051, 13139, 6410, 11137, 13, 1082, 202, 2463, 31, 202, 202, 734, 396, 1488, 9113, 273, 1910, 1488, 1733, 18, 2640, 26349, 12, 2704, 31872, 6410, 26349, 2249, 10663, 202, 202, 10956, 18, 542, 1396, 12, 5501, 1077, 278, 26349, 2297, 18, 11300, 56, 67, 734, 16, 804, 882, 67, 14778, 67, 60, 19693, 15146, 1769, 202, 202, 10956, 18, 542, 1396, 12, 5501, 1077, 278, 26349, 2297, 18, 11300, 56, 67, 17147, 67, 1985, 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, 3799, 60, 1759, 1810, 11137, 12, 45, 5491, 7187, 6438, 16, 467, 4109, 1984, 13, 1216, 30015, 16, 20205, 288, 202, 202, 5501, 1077, 278, 329, 4109, 11082, 329, 4109, 273, 5420, 6645, 2413, 1318, 18, 2640, 12, 4406, 1769, 202, 202, 694, 21681, 273, 11082, 329, 4109, 18, 588, 4109, 6645, 2413, 5621, 202, 202, 694, 5499, 6645, 2413, 273, 11082, 329, 4109, 18, 588, 7505, 4109, 6645, 2413, 5621, 202, 202, 6494, 1410, 6410, 11137, 273, 638, 31, 202, 202, 1884, 261, 3198, 1400, 273, 21681, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 45, 4109, 11137, 1444, 11082, 1444, 273, 261, 45, 4109, 11137, 1444, 13, 1400, 18, 2 ]
try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext)) != null) setProperty(string);
private void evaluateExpressions() throws JspException { try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setMessage((String) evalAttr("message", getMessageExpr(), String.class)); } catch (NullAttributeException ex) { } }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/022bd23c954cf673e53731849d562b3c295473f1/ELMessagesNotPresentTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELMessagesNotPresentTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 7486, 12443, 780, 13, 5302, 3843, 2932, 4468, 3113, 3911, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 15227, 12443, 780, 13, 5302, 3843, 2932, 2150, 3113, 2381, 4742, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 7486, 12443, 780, 13, 5302, 3843, 2932, 4468, 3113, 3911, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 15227, 12443, 780, 13, 5302, 3843, 2932, 2150, 3113, 2381, 4742, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void run() { x = 1; }
= new Activity() { public void run() {} };
public void run() { x = 1; }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/e0c26a2be771e5039983d100c7b30acc0e5a78c7/TestRuntime.java/clean/x10.test/src/x10/runtime/TestRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 619, 273, 404, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 619, 273, 404, 31, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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
} else
public void onFailure(FetchException e, ClientGetter state) { int errorCode = e.getMode(); if(!state.getURI().equals(revocationURI)){ this.cg = state; cg.cancel(); if(errorCode == FetchException.DATA_NOT_FOUND || errorCode == FetchException.ROUTE_NOT_FOUND || errorCode == FetchException.PERMANENT_REDIRECT || errorCode == FetchException.REJECTED_OVERLOAD){ Logger.normal(this, "Rescheduling new request"); maybeUpdate(); }else Logger.error(this, "Canceling fetch : "+ e.getMessage()); }else{ synchronized(this) { if(errorCode == FetchException.DATA_NOT_FOUND){ revocationDNFCounter++; } // Start it again if(this.finalCheck) { if(revocationDNFCounter < 3) queueFetchRevocation(1000); else notifyAll(); } else { boolean pause = (revocationDNFCounter == 3); if(pause) revocationDNFCounter = 0; queueFetchRevocation(pause ? 60*60*1000 : 5000); } } } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/cd7564dd94d86425478cc20b8abb29c357946324/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27748, 12, 5005, 503, 425, 16, 2445, 8461, 919, 13, 288, 202, 202, 474, 12079, 273, 425, 18, 588, 2309, 5621, 9506, 202, 430, 12, 5, 2019, 18, 588, 3098, 7675, 14963, 12, 9083, 4431, 3098, 3719, 95, 9506, 202, 2211, 18, 26275, 273, 919, 31, 25083, 202, 26275, 18, 10996, 5621, 1082, 202, 430, 12, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 30334, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 3194, 9560, 2222, 67, 25103, 747, 6862, 202, 27754, 422, 8065, 503, 18, 862, 5304, 2056, 67, 12959, 7783, 15329, 6862, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 607, 13252, 394, 590, 8863, 9506, 202, 19133, 1891, 5621, 1082, 202, 97, 12107, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 6691, 310, 2158, 294, 13773, 425, 18, 24906, 10663, 202, 202, 97, 12107, 95, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 430, 12, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 15329, 6862, 202, 9083, 4431, 8609, 4488, 2096, 9904, 31, 9506, 202, 97, 9506, 202, 759, 3603, 518, 3382, 9506, 202, 430, 12, 2211, 18, 6385, 1564, 13, 288, 6862, 202, 430, 12, 9083, 4431, 8609, 4488, 2096, 411, 890, 13, 25083, 202, 4000, 5005, 28691, 12, 18088, 1769, 6862, 202, 12107, 25083, 202, 12336, 1595, 5621, 9506, 202, 97, 469, 288, 6862, 202, 6494, 11722, 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, 27748, 12, 5005, 503, 425, 16, 2445, 8461, 919, 13, 288, 202, 202, 474, 12079, 273, 425, 18, 588, 2309, 5621, 9506, 202, 430, 12, 5, 2019, 18, 588, 3098, 7675, 14963, 12, 9083, 4431, 3098, 3719, 95, 9506, 202, 2211, 18, 26275, 273, 919, 31, 25083, 202, 26275, 18, 10996, 5621, 1082, 202, 430, 12, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 30334, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 3194, 9560, 2222, 67, 25103, 747, 6862, 202, 27754, 422, 8065, 503, 18, 862, 5304, 2056, 67, 12959, 7783, 15329, 6862, 9506, 202, 3328, 18, 6130, 12, 2211, 2 ]
} else {
} else {
protected Blob writeDataToBlob(ResultSet rs, int column, byte[] data) throws SQLException { Blob blob = rs.getBlob(column); if(blob == null) throw new SQLException("Driver's Blob representation is null!"); // handle thin driver's blob if (blob instanceof weblogic.jdbc.vendor.oracle.OracleThinBlob) { ((weblogic.jdbc.vendor.oracle.OracleThinBlob) blob).putBytes(1, data); return blob; } // (more slowly) handle blob for wrappers of other variations of drivers... else if(blob.getClass().getPackage().getName().startsWith("weblogic.")) { try { // try to find putBytes method... Method m = blob.getClass().getMethod("putBytes", new Class[] {long.class, byte[].class}); m.invoke(blob, new Object[] {new Long(1), data}); } catch (Exception e) { throw new SQLException("Unable to find putBytes(long,byte[]) method on blob: " + e); } return blob; } else { return super.writeDataToBlob(rs, column, data); } }
15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/1e6bdfda6e50d824394e05ecab0cb915f673d9ab/WebLogicOracleDelegate.java/buggy/src/weblogic/org/quartz/impl/jdbcjobstore/oracle/weblogic/WebLogicOracleDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 12741, 1045, 751, 774, 9405, 12, 13198, 3597, 16, 509, 1057, 16, 1160, 8526, 501, 13, 1216, 6483, 288, 3639, 12741, 4795, 273, 3597, 18, 588, 9405, 12, 2827, 1769, 7734, 309, 12, 10721, 422, 446, 13, 2398, 604, 394, 6483, 2932, 4668, 1807, 12741, 4335, 353, 446, 4442, 1769, 7734, 368, 1640, 21936, 3419, 1807, 4795, 3639, 309, 261, 10721, 1276, 3311, 28339, 18, 24687, 18, 10645, 18, 280, 16066, 18, 23601, 1315, 267, 9405, 13, 288, 2398, 14015, 4875, 28339, 18, 24687, 18, 10645, 18, 280, 16066, 18, 23601, 1315, 267, 9405, 13, 4795, 2934, 458, 2160, 12, 21, 16, 501, 1769, 5411, 327, 4795, 31, 3639, 289, 3639, 368, 261, 10161, 11816, 715, 13, 1640, 4795, 364, 21589, 434, 1308, 28401, 434, 16118, 2777, 3639, 469, 309, 12, 10721, 18, 588, 797, 7675, 588, 2261, 7675, 17994, 7675, 17514, 1190, 2932, 4875, 28339, 1199, 3719, 288, 2398, 775, 288, 7734, 368, 775, 358, 1104, 1378, 2160, 707, 2777, 7734, 2985, 312, 273, 4795, 18, 588, 797, 7675, 588, 1305, 2932, 458, 2160, 3113, 394, 1659, 8526, 288, 5748, 18, 1106, 16, 1160, 63, 8009, 1106, 22938, 7734, 312, 18, 14407, 12, 10721, 16, 394, 1033, 8526, 288, 2704, 3407, 12, 21, 3631, 501, 22938, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 604, 394, 6483, 2932, 3370, 358, 1104, 1378, 2160, 12, 5748, 16, 7229, 63, 5717, 707, 603, 4795, 30, 315, 397, 425, 1769, 5411, 289, 5411, 327, 4795, 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, 4750, 12741, 1045, 751, 774, 9405, 12, 13198, 3597, 16, 509, 1057, 16, 1160, 8526, 501, 13, 1216, 6483, 288, 3639, 12741, 4795, 273, 3597, 18, 588, 9405, 12, 2827, 1769, 7734, 309, 12, 10721, 422, 446, 13, 2398, 604, 394, 6483, 2932, 4668, 1807, 12741, 4335, 353, 446, 4442, 1769, 7734, 368, 1640, 21936, 3419, 1807, 4795, 3639, 309, 261, 10721, 1276, 3311, 28339, 18, 24687, 18, 10645, 18, 280, 16066, 18, 23601, 1315, 267, 9405, 13, 288, 2398, 14015, 4875, 28339, 18, 24687, 18, 10645, 18, 280, 16066, 18, 23601, 1315, 267, 9405, 13, 4795, 2934, 458, 2160, 12, 21, 16, 501, 1769, 5411, 327, 4795, 31, 3639, 289, 3639, 368, 261, 10161, 11816, 715, 13, 2 ]
protected byte getTTL() throws IOException { return (byte)getTimeToLive(); }
protected abstract byte getTTL() throws IOException;
protected byte getTTL() throws IOException { return (byte)getTimeToLive(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/65d557aae3161ec60d4823f7f7346efac0a8d663/DatagramSocketImpl.java/clean/core/src/classpath/java/java/net/DatagramSocketImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1160, 336, 11409, 1435, 1216, 1860, 288, 202, 202, 2463, 261, 7229, 13, 588, 950, 30583, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1160, 336, 11409, 1435, 1216, 1860, 288, 202, 202, 2463, 261, 7229, 13, 588, 950, 30583, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected boolean hasActivitySince(ITask task, Date startDate) { IMylarContext mylarContext = ContextCorePlugin.getContextManager().loadContext(task.getHandleIdentifier());
protected static boolean hasActivitySince(ITask task, Date startDate) { IMylarContext mylarContext = ContextCorePlugin.getContextManager().loadContext(task.getHandleIdentifier());
protected boolean hasActivitySince(ITask task, Date startDate) { IMylarContext mylarContext = ContextCorePlugin.getContextManager().loadContext(task.getHandleIdentifier());// ,task.getContextPath()); if (mylarContext != null) { List<InteractionEvent> events = mylarContext.getInteractionHistory(); if (events.size() > 0) { InteractionEvent latestEvent = events.get(events.size() - 1); if (latestEvent.getDate().compareTo(periodStartDate) > 0) { return true; } } } return false; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d951d2ab33d696787da913bd2052d0e252b33633/InProgressTaskCollector.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/InProgressTaskCollector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 711, 6193, 9673, 12, 1285, 835, 1562, 16, 2167, 12572, 13, 288, 202, 202, 3445, 93, 7901, 1042, 3399, 7901, 1042, 273, 1772, 4670, 3773, 18, 29120, 1318, 7675, 945, 1042, 12, 4146, 18, 588, 3259, 3004, 10663, 759, 269, 4146, 18, 29120, 743, 10663, 202, 202, 430, 261, 4811, 7901, 1042, 480, 446, 13, 288, 1082, 202, 682, 32, 17419, 1133, 34, 2641, 273, 3399, 7901, 1042, 18, 588, 17419, 5623, 5621, 1082, 202, 430, 261, 5989, 18, 1467, 1435, 405, 374, 13, 288, 9506, 202, 17419, 1133, 4891, 1133, 273, 2641, 18, 588, 12, 5989, 18, 1467, 1435, 300, 404, 1769, 9506, 202, 430, 261, 13550, 1133, 18, 588, 1626, 7675, 9877, 774, 12, 6908, 22635, 13, 405, 374, 13, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1117, 1250, 711, 6193, 9673, 12, 1285, 835, 1562, 16, 2167, 12572, 13, 288, 202, 202, 3445, 93, 7901, 1042, 3399, 7901, 1042, 273, 1772, 4670, 3773, 18, 29120, 1318, 7675, 945, 1042, 12, 4146, 18, 588, 3259, 3004, 10663, 759, 269, 4146, 18, 29120, 743, 10663, 202, 202, 430, 261, 4811, 7901, 1042, 480, 446, 13, 288, 1082, 202, 682, 32, 17419, 1133, 34, 2641, 273, 3399, 7901, 1042, 18, 588, 17419, 5623, 5621, 1082, 202, 430, 261, 5989, 18, 1467, 1435, 405, 374, 13, 288, 9506, 202, 17419, 1133, 4891, 1133, 273, 2641, 18, 588, 12, 5989, 18, 1467, 1435, 300, 404, 1769, 9506, 202, 430, 261, 13550, 1133, 18, 588, 1626, 7675, 9877, 774, 2 ]
public static void adjustRepeatIndexes(PipelineContext pipelineContext, final XFormsControls xformsControls) { adjustRepeatIndexes(pipelineContext, xformsControls, null);
public static void adjustRepeatIndexes(PipelineContext pipelineContext, final XFormsControls xformsControls, final Map forceUpdate) { final XFormsControls.ControlsState currentControlsState = xformsControls.getCurrentControlsState(); currentControlsState.visitControlInfoFollowRepeats(pipelineContext, xformsControls, new XFormsControls.ControlInfoVisitorListener() { public void startVisitControl(ControlInfo controlInfo) { if (controlInfo instanceof RepeatControlInfo) { final RepeatControlInfo repeatControlInfo = (RepeatControlInfo) controlInfo; final String repeatId = repeatControlInfo.getOriginalId(); final List repeatNodeSet = xformsControls.getCurrentNodeset(); if (repeatNodeSet != null && repeatNodeSet.size() > 0) { final int adjustedNewIndex; { final int newIndex; if (forceUpdate != null && forceUpdate.get(repeatId) != null) { newIndex = repeatControlInfo.getStartIndex(); } else { newIndex = ((Integer) currentControlsState.getRepeatIdToIndex().get(repeatId)).intValue(); } if (newIndex < 1) adjustedNewIndex = 1; else if (newIndex > repeatNodeSet.size()) adjustedNewIndex = repeatNodeSet.size(); else adjustedNewIndex = newIndex; } currentControlsState.updateRepeatIndex(repeatId, adjustedNewIndex); } else { currentControlsState.updateRepeatIndex(repeatId, 0); } } } public void endVisitControl(ControlInfo controlInfo) { } });
public static void adjustRepeatIndexes(PipelineContext pipelineContext, final XFormsControls xformsControls) { adjustRepeatIndexes(pipelineContext, xformsControls, null); }
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/fdd6a25eb31f27eed78d99a8115c21bb2bcee41a/XFormsActionInterpreter.java/buggy/src/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 5765, 16750, 8639, 12, 8798, 1042, 5873, 1042, 16, 727, 1139, 18529, 16795, 619, 9741, 16795, 13, 288, 3639, 5765, 16750, 8639, 12, 14511, 1042, 16, 619, 9741, 16795, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 5765, 16750, 8639, 12, 8798, 1042, 5873, 1042, 16, 727, 1139, 18529, 16795, 619, 9741, 16795, 13, 288, 3639, 5765, 16750, 8639, 12, 14511, 1042, 16, 619, 9741, 16795, 16, 446, 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 ]
SeriesOptionChoser( SeriesDefinition seriesDefn, String seriesName, int iSeriesDefinitionIndex )
public SeriesOptionChoser( SeriesDefinition seriesDefn, String seriesName, int iSeriesDefinitionIndex, int treeIndex )
SeriesOptionChoser( SeriesDefinition seriesDefn, String seriesName, int iSeriesDefinitionIndex ) { this.seriesDefn = seriesDefn; this.seriesName = seriesName; this.iSeriesDefinitionIndex = iSeriesDefinitionIndex; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/037a987c5947853949a14c2cf99272d0b29ee449/SeriesSheetImpl.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/series/SeriesSheetImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6485, 1895, 782, 13164, 12, 9225, 1852, 4166, 3262, 82, 16, 514, 4166, 461, 16, 9506, 202, 474, 277, 6485, 1852, 1016, 262, 202, 202, 95, 1082, 202, 2211, 18, 10222, 3262, 82, 273, 4166, 3262, 82, 31, 1082, 202, 2211, 18, 10222, 461, 273, 4166, 461, 31, 1082, 202, 2211, 18, 77, 6485, 1852, 1016, 273, 277, 6485, 1852, 1016, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6485, 1895, 782, 13164, 12, 9225, 1852, 4166, 3262, 82, 16, 514, 4166, 461, 16, 9506, 202, 474, 277, 6485, 1852, 1016, 262, 202, 202, 95, 1082, 202, 2211, 18, 10222, 3262, 82, 273, 4166, 3262, 82, 31, 1082, 202, 2211, 18, 10222, 461, 273, 4166, 461, 31, 1082, 202, 2211, 18, 77, 6485, 1852, 1016, 273, 277, 6485, 1852, 1016, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.err.println ("Creating " + this);
public OutgoingEmailLinkProtocol () { System.err.println ("Creating " + this); links = new HashMap(); }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/15975c2ad36eae4bbcae53cfd4eca46118d997e4/OutgoingEmailLinkProtocol.java/buggy/msglog/src/org/cougaar/core/mts/email/OutgoingEmailLinkProtocol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2976, 8162, 4134, 2098, 5752, 1832, 225, 288, 4202, 4716, 273, 394, 4317, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2976, 8162, 4134, 2098, 5752, 1832, 225, 288, 4202, 4716, 273, 394, 4317, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
documentCache = Collections.synchronizedMap( new DocumentCache( new LRUMap( documentCacheMaxSize ), this ) );
documentCache = new DocumentCache( Collections.synchronizedMap( new LRUMap( documentCacheMaxSize )), this );
public DocumentMapper( ImcmsServices services, Database database, ImcmsAuthenticatorAndUserAndRoleMapper userRegistry, DocumentPermissionSetMapper documentPermissionSetMapper, DocumentIndex documentIndex, Clock clock, Config config ) { this.database = new ExceptionUnhandlingDatabase( database ); this.clock = clock; this.services = services; this.userAndRoleMapper = userRegistry; this.documentPermissionSetMapper = documentPermissionSetMapper; this.documentIndex = documentIndex; int documentCacheMaxSize = config.getDocumentCacheMaxSize(); documentCache = Collections.synchronizedMap( new DocumentCache( new LRUMap( documentCacheMaxSize ), this ) ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1106170a3f2ba8c7dea736e4d928dd87eab69619/DocumentMapper.java/clean/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 4597, 12, 2221, 6851, 5676, 4028, 16, 5130, 2063, 16, 21821, 2221, 6851, 18977, 1876, 1299, 1876, 2996, 4597, 729, 4243, 16, 21821, 4319, 5041, 694, 4597, 1668, 5041, 694, 4597, 16, 4319, 1016, 1668, 1016, 16, 21821, 18051, 7268, 16, 1903, 642, 262, 288, 3639, 333, 18, 6231, 273, 394, 1185, 984, 26822, 4254, 12, 2063, 11272, 3639, 333, 18, 18517, 273, 7268, 31, 3639, 333, 18, 8387, 273, 4028, 31, 3639, 333, 18, 1355, 1876, 2996, 4597, 273, 729, 4243, 31, 3639, 333, 18, 5457, 5041, 694, 4597, 273, 1668, 5041, 694, 4597, 31, 3639, 333, 18, 5457, 1016, 273, 1668, 1016, 31, 3639, 509, 1668, 1649, 21485, 273, 642, 18, 588, 2519, 1649, 21485, 5621, 3639, 1668, 1649, 273, 394, 4319, 1649, 12, 5737, 18, 22043, 863, 12, 394, 511, 19866, 863, 12, 1668, 1649, 21485, 262, 3631, 333, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 4597, 12, 2221, 6851, 5676, 4028, 16, 5130, 2063, 16, 21821, 2221, 6851, 18977, 1876, 1299, 1876, 2996, 4597, 729, 4243, 16, 21821, 4319, 5041, 694, 4597, 1668, 5041, 694, 4597, 16, 4319, 1016, 1668, 1016, 16, 21821, 18051, 7268, 16, 1903, 642, 262, 288, 3639, 333, 18, 6231, 273, 394, 1185, 984, 26822, 4254, 12, 2063, 11272, 3639, 333, 18, 18517, 273, 7268, 31, 3639, 333, 18, 8387, 273, 4028, 31, 3639, 333, 18, 1355, 1876, 2996, 4597, 273, 729, 4243, 31, 3639, 333, 18, 5457, 5041, 694, 4597, 273, 1668, 5041, 694, 4597, 31, 3639, 333, 18, 5457, 1016, 273, 1668, 1016, 31, 3639, 509, 1668, 1649, 21485, 273, 642, 18, 588, 2519, 1649, 2 ]
public void addFirst(Object obj, int priority)
public boolean addFirst(Object obj, int priority)
public void addFirst(Object obj, int priority) { Node node = deques[priority].addFirst(obj); lookUp.put(obj, node); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/6fc7e766028ebf68980de000c1c1dfef5c649d91/BasicPrioritizedDeque.java/buggy/src/main/org/jboss/messaging/core/refqueue/BasicPrioritizedDeque.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 527, 3759, 12, 921, 1081, 16, 509, 4394, 13, 282, 288, 1377, 2029, 756, 273, 443, 29896, 63, 8457, 8009, 1289, 3759, 12, 2603, 1769, 3639, 2324, 1211, 18, 458, 12, 2603, 16, 756, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 527, 3759, 12, 921, 1081, 16, 509, 4394, 13, 282, 288, 1377, 2029, 756, 273, 443, 29896, 63, 8457, 8009, 1289, 3759, 12, 2603, 1769, 3639, 2324, 1211, 18, 458, 12, 2603, 16, 756, 1769, 282, 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 ]
public int methodArity(int methodId)
public int methodArity(IdFunction f)
public int methodArity(int methodId) { switch (methodId) { case Id_toSource: return 0; case Id_abs: return 1; case Id_acos: return 1; case Id_asin: return 1; case Id_atan: return 1; case Id_atan2: return 2; case Id_ceil: return 1; case Id_cos: return 1; case Id_exp: return 1; case Id_floor: return 1; case Id_log: return 1; case Id_max: return 2; case Id_min: return 2; case Id_pow: return 2; case Id_random: return 0; case Id_round: return 1; case Id_sin: return 1; case Id_sqrt: return 1; case Id_tan: return 1; } return super.methodArity(methodId); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeMath.java/buggy/js/rhino/src/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 707, 686, 560, 12, 548, 2083, 284, 13, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 5411, 648, 3124, 67, 869, 1830, 30, 327, 374, 31, 5411, 648, 3124, 67, 5113, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 1077, 538, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 345, 267, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 270, 304, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 270, 304, 22, 30, 565, 327, 576, 31, 5411, 648, 3124, 67, 311, 330, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 14445, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 2749, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 74, 5807, 30, 565, 327, 404, 31, 5411, 648, 3124, 67, 1330, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 1896, 30, 1377, 327, 576, 31, 5411, 648, 3124, 67, 1154, 30, 1377, 327, 576, 31, 5411, 648, 3124, 67, 23509, 30, 1377, 327, 576, 31, 5411, 648, 3124, 67, 9188, 30, 282, 327, 374, 31, 5411, 648, 3124, 67, 2260, 30, 565, 327, 404, 31, 5411, 648, 3124, 67, 21861, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 24492, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 88, 304, 30, 1377, 327, 404, 31, 3639, 289, 3639, 327, 2240, 18, 2039, 686, 560, 12, 2039, 548, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 509, 707, 686, 560, 12, 548, 2083, 284, 13, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 5411, 648, 3124, 67, 869, 1830, 30, 327, 374, 31, 5411, 648, 3124, 67, 5113, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 1077, 538, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 345, 267, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 270, 304, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 270, 304, 22, 30, 565, 327, 576, 31, 5411, 648, 3124, 67, 311, 330, 30, 377, 327, 404, 31, 5411, 648, 3124, 67, 14445, 30, 1377, 327, 404, 31, 5411, 648, 3124, 67, 2749, 30, 1377, 327, 404, 31, 5411, 648, 3124, 2 ]
public void handleEvent( Event event ) { // Copy the group query to all ChartAdapter.ignoreNotifications( true ); ChartUIUtil.setAllGroupingQuery( getChartModel( ), event.text ); ChartAdapter.ignoreNotifications( false ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/06d13c50aabebef9b7d06ee2c3f5de605a6607c2/SelectDataDynamicArea.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/SelectDataDynamicArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 1133, 12, 2587, 871, 262, 202, 95, 202, 202, 759, 5631, 326, 1041, 843, 358, 777, 202, 202, 7984, 4216, 18, 6185, 14111, 12, 638, 11272, 202, 202, 7984, 5370, 1304, 18, 542, 1595, 21014, 1138, 12, 336, 7984, 1488, 12, 262, 16, 871, 18, 955, 11272, 202, 202, 7984, 4216, 18, 6185, 14111, 12, 629, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 1133, 12, 2587, 871, 262, 202, 95, 202, 202, 759, 5631, 326, 1041, 843, 358, 777, 202, 202, 7984, 4216, 18, 6185, 14111, 12, 638, 11272, 202, 202, 7984, 5370, 1304, 18, 542, 1595, 21014, 1138, 12, 336, 7984, 1488, 12, 262, 16, 871, 18, 955, 11272, 202, 202, 7984, 4216, 18, 6185, 14111, 12, 629, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
itsData = new InterpreterData(0, 0, securityDomain,
itsData = new InterpreterData(securityDomain,
public Object compile(Context cx, Scriptable scope, Node tree, Object securityDomain, SecuritySupport securitySupport, ClassNameHelper nameHelper) throws IOException { version = cx.getLanguageVersion(); itsData = new InterpreterData(0, 0, securityDomain, cx.hasCompileFunctionsWithDynamicScope(), false); if (tree instanceof FunctionNode) { FunctionNode f = (FunctionNode) tree; InterpretedFunction result = generateFunctionICode(cx, scope, f, securityDomain); result.itsData.itsFunctionType = f.getFunctionType(); createFunctionObject(result, scope); return result; } return generateScriptICode(cx, scope, tree, securityDomain); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/052726b68e684efc593535d50a73767571084837/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 2029, 2151, 16, 12900, 1033, 4373, 3748, 16, 12900, 6036, 6289, 4373, 6289, 16, 12900, 19811, 2276, 508, 2276, 13, 3639, 1216, 1860, 565, 288, 3639, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 3639, 2097, 751, 273, 394, 5294, 11599, 751, 12, 7462, 3748, 16, 10792, 9494, 18, 5332, 9937, 7503, 1190, 9791, 3876, 9334, 629, 1769, 3639, 309, 261, 3413, 1276, 4284, 907, 13, 288, 5411, 4284, 907, 284, 273, 261, 2083, 907, 13, 2151, 31, 5411, 5294, 15089, 329, 2083, 563, 273, 7734, 2103, 2083, 45, 1085, 12, 71, 92, 16, 2146, 16, 284, 16, 4373, 3748, 1769, 5411, 563, 18, 1282, 751, 18, 1282, 2083, 559, 273, 284, 18, 588, 2083, 559, 5621, 5411, 752, 2083, 921, 12, 2088, 16, 2146, 1769, 5411, 327, 563, 31, 3639, 289, 3639, 327, 2103, 3651, 45, 1085, 12, 71, 92, 16, 2146, 16, 2151, 16, 4373, 3748, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 2029, 2151, 16, 12900, 1033, 4373, 3748, 16, 12900, 6036, 6289, 4373, 6289, 16, 12900, 19811, 2276, 508, 2276, 13, 3639, 1216, 1860, 565, 288, 3639, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 3639, 2097, 751, 273, 394, 5294, 11599, 751, 12, 7462, 3748, 16, 10792, 9494, 18, 5332, 9937, 7503, 1190, 9791, 3876, 9334, 629, 1769, 3639, 309, 261, 3413, 1276, 4284, 907, 13, 288, 5411, 4284, 907, 284, 273, 261, 2083, 907, 13, 2151, 31, 5411, 5294, 15089, 329, 2083, 563, 273, 7734, 2103, 2083, 45, 1085, 12, 71, 92, 16, 2146, 16, 284, 16, 4373, 3748, 1769, 5411, 563, 18, 1282, 751, 18, 1282, 2 ]
Map relatedClassRelationships = (Map)GrailsClassUtils.getPropertyValue( propType, GrailsDomainClassProperty.RELATES_TO_MANY, Map.class );
Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(propType);
private void establishDomainClassRelationship(DefaultGrailsDomainClassProperty property) { Class propType = property.getType(); // establish relationship to type Map relatedClassRelationships = (Map)GrailsClassUtils.getPropertyValue( propType, GrailsDomainClassProperty.RELATES_TO_MANY, Map.class ); Class relatedClassPropertyType = null; // if there is a relationships map use that to find out // whether it is mapped to a Set if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; // retrieve the property name for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class)relatedClassRelationships.get( currentKey ); if(property.getDomainClass().getClazz().getName().equals( currentClass.getName() )) { relatedClassPropertyName = currentKey; break; } } // get the type of the property relatedClassPropertyType = GrailsClassUtils.getProperyType( propType, relatedClassPropertyName ); } // otherwise retrieve all the properties of the type from the associated class if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(propType, getClazz()); // if there is only one then the association is established if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } // establish relationship based on this type establishDomainClassRelationshipToType( property, relatedClassPropertyType ); }
55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/b6ef9ddec7862d8efa8e6b63db67dfa714830c8a/DefaultGrailsDomainClass.java/buggy/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18312, 3748, 797, 8180, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 797, 2270, 559, 273, 1272, 18, 588, 559, 5621, 202, 202, 759, 18312, 5232, 358, 618, 202, 202, 863, 3746, 797, 17185, 273, 261, 863, 13, 14571, 14573, 797, 1989, 18, 588, 16107, 12, 2270, 559, 16, 10812, 14573, 3748, 797, 1396, 18, 862, 10512, 55, 67, 4296, 67, 24177, 16, 1635, 18, 1106, 11272, 202, 202, 797, 3746, 797, 22802, 273, 446, 31, 9506, 202, 759, 309, 1915, 353, 279, 11499, 852, 999, 716, 358, 1104, 596, 3196, 202, 759, 2856, 518, 353, 5525, 358, 279, 1000, 202, 202, 430, 12, 202, 9243, 797, 17185, 480, 446, 597, 9506, 202, 5, 9243, 797, 17185, 18, 291, 1921, 1435, 262, 288, 6862, 6862, 9506, 202, 780, 3746, 797, 13073, 273, 446, 31, 1082, 202, 759, 4614, 326, 1272, 508, 1082, 202, 1884, 12, 3198, 277, 273, 3746, 797, 17185, 18, 856, 694, 7675, 9838, 5621, 77, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 780, 19447, 273, 261, 780, 13, 77, 18, 4285, 5621, 9506, 202, 797, 28742, 273, 261, 797, 13, 9243, 797, 17185, 18, 588, 12, 19447, 11272, 9506, 202, 430, 12, 4468, 18, 588, 3748, 797, 7675, 588, 14616, 7675, 17994, 7675, 14963, 12, 225, 28742, 18, 17994, 1435, 225, 8623, 288, 6862, 202, 9243, 797, 13073, 273, 19447, 31, 6862, 202, 8820, 31, 9506, 202, 97, 6862, 9506, 202, 97, 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, 1152, 918, 18312, 3748, 797, 8180, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 797, 2270, 559, 273, 1272, 18, 588, 559, 5621, 202, 202, 759, 18312, 5232, 358, 618, 202, 202, 863, 3746, 797, 17185, 273, 261, 863, 13, 14571, 14573, 797, 1989, 18, 588, 16107, 12, 2270, 559, 16, 10812, 14573, 3748, 797, 1396, 18, 862, 10512, 55, 67, 4296, 67, 24177, 16, 1635, 18, 1106, 11272, 202, 202, 797, 3746, 797, 22802, 273, 446, 31, 9506, 202, 759, 309, 1915, 353, 279, 11499, 852, 999, 716, 358, 1104, 596, 3196, 202, 759, 2856, 518, 353, 5525, 358, 279, 1000, 202, 202, 430, 12, 202, 9243, 797, 17185, 480, 446, 597, 2 ]
examplesPanel.setLayout(gridBagLayout13);
examplesPanel.setLayout(new GridBagLayout());
private void jbInit() throws Exception { setTitle("Particle System Editor"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); colorBorder = new TitledBorder(""); sizeBorder = new TitledBorder(""); ageBorder = new TitledBorder(" PARTICLE AGE "); speedBorder = new TitledBorder(" PARTICLE SPEED "); textureBorder = new TitledBorder(" PARTICLE TEXTURE "); gravityBorder = new TitledBorder(" GRAVITY "); emitBorder = new TitledBorder(" EMISSION DIRECTION "); angleBorder = new TitledBorder(""); randomBorder = new TitledBorder(""); countBorder = new TitledBorder(""); this.getContentPane().setLayout(borderLayout1); appPanel.setLayout(gridBagLayout1); emitPanel.setLayout(gridBagLayout2); worldPanel.setLayout(gridBagLayout3); colorPanel.setLayout(gridBagLayout4); startColorLabel.setFont(new java.awt.Font("Arial", 1, 13)); startColorLabel.setRequestFocusEnabled(true); startColorLabel.setText("Starting Color:"); colorLabel.setFont(new java.awt.Font("Arial", 1, 14)); colorLabel.setText(">>"); endColorLabel.setFont(new java.awt.Font("Arial", 1, 13)); endColorLabel.setText("End Color:"); startColorHex.setFont(new java.awt.Font("Arial", 0, 10)); startColorHex.setText("#FFFFFF"); endColorHex.setFont(new java.awt.Font("Arial", 0, 10)); endColorHex.setText("#FFFFFF"); startColorPanel.setBackground(Color.white); startColorPanel.setBorder(BorderFactory.createRaisedBevelBorder()); startColorPanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(MouseEvent e) { startColorPanel_mouseClicked(e); } }); endColorPanel.setBackground(Color.white); endColorPanel.setBorder(BorderFactory.createRaisedBevelBorder()); endColorPanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(MouseEvent e) { endColorPanel_mouseClicked(e); } }); colorPanel.setBorder(colorBorder); colorPanel.setOpaque(false); colorBorder.setTitleColor(Color.black); colorBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); colorBorder.setTitle(" PARTICLE COLOR "); colorBorder.setBorder(BorderFactory.createEtchedBorder()); startAlphaLabel.setFont(new java.awt.Font("Arial", 0, 11)); startAlphaLabel.setText("alpha:"); endAlphaLabel.setFont(new java.awt.Font("Arial", 0, 11)); endAlphaLabel.setText("alpha:"); startSizeLabel.setFont(new java.awt.Font("Arial", 1, 13)); startSizeLabel.setText("Start Size: 0.0"); sizePanel.setLayout(gridBagLayout5); sizePanel.setBorder(sizeBorder); sizePanel.setOpaque(false); sizeBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); sizeBorder.setTitle(" PARTICLE SIZE "); endSizeLabel.setFont(new java.awt.Font("Arial", 1, 13)); endSizeLabel.setText("End Size: 0.0"); endSizeSlider.setMaximum(400); endSizeSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = endSizeSlider.getValue(); TestRenParticleGUI.manager.setEndSize(val / 10f); updateSizeLabels(); regenCode(); } }); startSizeSlider.setMaximum(400); startSizeSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = startSizeSlider.getValue(); TestRenParticleGUI.manager.setStartSize(val / 10f); updateSizeLabels(); regenCode(); } }); ageBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); ageBorder.setBorder(BorderFactory.createEtchedBorder()); speedPanel.setLayout(gridBagLayout7); speedPanel.setBorder(speedBorder); speedPanel.setOpaque(false); speedLabel.setFont(new java.awt.Font("Arial", 1, 13)); speedLabel.setText("Speed Mod.: 0%"); speedBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); speedSlider.setMaximum(100); speedSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = speedSlider.getValue(); TestRenParticleGUI.manager.setParticlesSpeed( (float) val * .1f); updateSpeedLabels(); regenCode(); } }); texturePanel.setBorder(textureBorder); texturePanel.setLayout(gridBagLayout8); textureBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); textureLabel.setFont(new java.awt.Font("Arial", 1, 13)); textureLabel.setText("Texture Image:"); changeTextureButton.setFont(new java.awt.Font("Arial", 1, 12)); changeTextureButton.setMargin(new Insets(2, 2, 2, 2)); changeTextureButton.setText("Browse..."); changeTextureButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { changeTexture(); } }); imageLabel.setBackground(Color.lightGray); imageLabel.setMaximumSize(new Dimension(128, 128)); imageLabel.setMinimumSize(new Dimension(0, 0)); imageLabel.setOpaque(false); imageLabel.setText(""); ImageIcon icon = new ImageIcon(TestRenParticleGUI.class.getClassLoader().getResource( "jmetest/data/texture/flaresmall.jpg")); imageLabel.setIcon(icon); gravityPanel.setBorder(gravityBorder); gravityPanel.setLayout(gridBagLayout9); gravityBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); gravXLabel.setText("X"); gravXSlider.setOrientation(JSlider.VERTICAL); gravXSlider.setInverted(false); gravXSlider.setMajorTickSpacing(16); gravXSlider.setMaximum(32); gravXSlider.setMinimum( -32); gravXSlider.setMinorTickSpacing(4); gravXSlider.setPaintLabels(true); gravXSlider.setPaintTicks(true); gravXSlider.setPaintTrack(true); gravXSlider.setValue(0); gravXSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = gravXSlider.getValue(); if (TestRenParticleGUI.manager != null) TestRenParticleGUI.manager.getGravityForce().x = (float) val * 0.001f; regenCode(); } }); gravYLabel.setText("Y"); gravYSlider.setOrientation(JSlider.VERTICAL); gravYSlider.setInverted(false); gravYSlider.setMajorTickSpacing(16); gravYSlider.setMaximum(32); gravYSlider.setMinimum( -32); gravYSlider.setMinorTickSpacing(4); gravYSlider.setPaintLabels(true); gravYSlider.setPaintTicks(true); gravYSlider.setPaintTrack(true); gravYSlider.setValue(0); gravYSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = gravYSlider.getValue(); if (TestRenParticleGUI.manager != null) TestRenParticleGUI.manager.getGravityForce().y = (float) val * 0.001f; regenCode(); } }); gravZLabel.setText("Z"); gravZSlider.setOrientation(JSlider.VERTICAL); gravZSlider.setInverted(false); gravZSlider.setMajorTickSpacing(16); gravZSlider.setMaximum(32); gravZSlider.setMinimum( -32); gravZSlider.setMinorTickSpacing(4); gravZSlider.setPaintLabels(true); gravZSlider.setPaintTicks(true); gravZSlider.setPaintTrack(true); gravZSlider.setValue(0); gravZSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = gravZSlider.getValue(); if (TestRenParticleGUI.manager != null) TestRenParticleGUI.manager.getGravityForce().z = (float) val * 0.001f; regenCode(); } }); agePanel.setLayout(gridBagLayout6); agePanel.setBorder(ageBorder); minAgeLabel.setFont(new java.awt.Font("Arial", 1, 13)); minAgeLabel.setText("Minimum Age: 1000ms"); minAgeSlider.setMajorTickSpacing(1000); minAgeSlider.setMaximum(10000); minAgeSlider.setMinimum(0); minAgeSlider.setMinorTickSpacing(100); minAgeSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = minAgeSlider.getValue(); TestRenParticleGUI.manager.setParticlesMinimumLifeTime( (float) val); updateAgeLabels(); regenCode(); } }); directionPanel.setBorder(emitBorder); directionPanel.setLayout(gridBagLayout10); emitBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); emitBorder.setTitle(" DIRECTION "); emitZSlider.setOrientation(JSlider.VERTICAL); emitZSlider.setMajorTickSpacing(5); emitZSlider.setMinimum( -10); emitZSlider.setMaximum(10); emitZSlider.setMinorTickSpacing(1); emitZSlider.setPaintLabels(true); emitZSlider.setPaintTicks(true); emitZSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = emitZSlider.getValue(); if (TestRenParticleGUI.manager != null) { TestRenParticleGUI.manager.getEmissionDirection().z = (float) val * .1f; TestRenParticleGUI.manager.updateRotationMatrix(); } regenCode(); } }); emitYSlider.setOrientation(JSlider.VERTICAL); emitYSlider.setMajorTickSpacing(5); emitYSlider.setMinimum( -10); emitYSlider.setMaximum(10); emitYSlider.setMinorTickSpacing(1); emitYSlider.setPaintLabels(true); emitYSlider.setPaintTicks(true); emitYSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = emitYSlider.getValue(); if (TestRenParticleGUI.manager != null) { TestRenParticleGUI.manager.getEmissionDirection().y = (float) val * .1f; TestRenParticleGUI.manager.updateRotationMatrix(); } regenCode(); } }); emitXSlider.setOrientation(JSlider.VERTICAL); emitXSlider.setMajorTickSpacing(5); emitXSlider.setMinimum( -10); emitXSlider.setMaximum(10); emitXSlider.setMinorTickSpacing(1); emitXSlider.setPaintLabels(true); emitXSlider.setPaintTicks(true); emitXSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = emitXSlider.getValue(); if (TestRenParticleGUI.manager != null) { TestRenParticleGUI.manager.getEmissionDirection().x = (float) val * .1f; TestRenParticleGUI.manager.updateRotationMatrix(); } regenCode(); } }); emitXLabel.setFont(new java.awt.Font("Arial", 1, 13)); emitXLabel.setText("X"); emitYLabel.setFont(new java.awt.Font("Arial", 1, 13)); emitYLabel.setText("Y"); emitZLabel.setFont(new java.awt.Font("Arial", 1, 13)); emitZLabel.setText("Z"); anglePanel.setBorder(angleBorder); anglePanel.setLayout(gridBagLayout11); angleBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); angleBorder.setTitle(" ANGLE "); angleLabel.setText("Degrees Off Direction: 0"); angleLabel.setFont(new java.awt.Font("Arial", 1, 13)); angleSlider.setValue(0); angleSlider.setMinimum(0); angleSlider.setMaximum(180); angleSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = angleSlider.getValue(); TestRenParticleGUI.manager.setEmissionMaximumAngle( (float) val * FastMath.DEG_TO_RAD); updateAngleLabels(); regenCode(); } }); randomPanel.setBorder(randomBorder); randomPanel.setLayout(gridBagLayout12); randomBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); randomBorder.setTitle(" SYSTEM RANDOMNESS "); randomLabel.setFont(new java.awt.Font("Arial", 1, 13)); randomLabel.setText("Random Factor: 0.0"); randomSlider.setValue(0); randomSlider.setMaximum(100); randomSlider.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int val = randomSlider.getValue(); TestRenParticleGUI.manager.setRandomMod( (float) val * .1f); updateRandomLabels(); regenCode(); } }); examplesPanel.setLayout(gridBagLayout13); examplesLabel.setFont(new java.awt.Font("Arial", 1, 13)); examplesLabel.setText("Prebuilt Examples:"); exampleButton.setFont(new java.awt.Font("Arial", 0, 12)); exampleButton.setMargin(new Insets(2, 14, 2, 14)); exampleButton.setText("Apply"); exampleButton.setEnabled(false); exampleButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { applyExample(); } }); updateExampleModel(); exampleList = new JList(exampleModel); exampleList.setFont(new java.awt.Font("Arial", 0, 13)); exampleList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if (exampleList.getSelectedValue() instanceof String) exampleButton.setEnabled(true); else exampleButton.setEnabled(false); } }); codePanel.setFont(new java.awt.Font("Arial", 0, 13)); codePanel.setLayout(gridBagLayout14); appPanel.setFont(new java.awt.Font("Arial", 0, 13)); emitPanel.setFont(new java.awt.Font("Arial", 0, 13)); worldPanel.setFont(new java.awt.Font("Arial", 0, 13)); examplesPanel.setFont(new java.awt.Font("Arial", 0, 13)); mainTabbedPane1.setFont(new java.awt.Font("Arial", 0, 13)); codeLabel.setFont(new java.awt.Font("Arial", 1, 13)); codeLabel.setText("Particle Code:"); codeTextArea.setFont(new java.awt.Font("Monospaced", 0, 10)); codeTextArea.setText(""); codeTextArea.setEditable(false); codeTextArea.setAutoscrolls(true); countPanel.setFont(new java.awt.Font("Arial", 0, 13)); countPanel.setBorder(countBorder); countPanel.setLayout(gridBagLayout15); countBorder.setTitleFont(new java.awt.Font("Arial", 0, 10)); countBorder.setTitle(" PARTICLE COUNT "); countLabel.setFont(new java.awt.Font("Arial", 1, 13)); countLabel.setText("Particles: 300"); countButton.setFont(new java.awt.Font("Arial", 1, 12)); countButton.setMargin(new Insets(2, 2, 2, 2)); countButton.setText("Change..."); countButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { countButton_actionPerformed(e); } }); this.getContentPane().add(mainTabbedPane1, BorderLayout.CENTER); mainTabbedPane1.add(appPanel, "Appearance"); mainTabbedPane1.add(emitPanel, "Emission"); emitPanel.add(directionPanel, new GridBagConstraints(0, 0, 1, 2, 0.5, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 10, 10, 5), 0, 0)); directionPanel.add(emitXSlider, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 10, 5, 0), 0, 0)); directionPanel.add(emitYSlider, new GridBagConstraints(1, 0, 1, 1, 0.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 0, 5, 0), 0, 0)); directionPanel.add(emitZSlider, new GridBagConstraints(2, 0, 1, 1, 0.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 0, 5, 10), 0, 0)); directionPanel.add(emitXLabel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); directionPanel.add(emitYLabel, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); directionPanel.add(emitZLabel, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0)); mainTabbedPane1.add(worldPanel, "World"); worldPanel.add(speedPanel, new GridBagConstraints(0, 0, 1, 1, 0.5, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 10, 5, 5), 0, 0)); startAlphaSpinner.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { TestRenParticleGUI.manager.getStartColor().a = (Integer.parseInt( startAlphaSpinner.getValue().toString()) / 255f); regenCode(); } }); endAlphaSpinner.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { TestRenParticleGUI.manager.getEndColor().a = (Integer.parseInt( endAlphaSpinner.getValue().toString()) / 255f); regenCode(); } }); appPanel.add(colorPanel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 10, 5, 5), 0, 0)); colorPanel.add(startColorLabel, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 10, 0, 10), 0, 0)); colorPanel.add(colorLabel, new GridBagConstraints(2, 0, 1, 3, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 5, 0, 5), 0, 0)); colorPanel.add(endColorLabel, new GridBagConstraints(3, 0, 2, 1, 0.0, 0.0 , GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 10, 0, 10), 0, 0)); colorPanel.add(startColorPanel, new GridBagConstraints(0, 1, 2, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 25, 25)); colorPanel.add(endColorPanel, new GridBagConstraints(3, 1, 2, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 25, 25)); colorPanel.add(startColorHex, new GridBagConstraints(0, 2, 2, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 4, 0), 0, 0)); colorPanel.add(endColorHex, new GridBagConstraints(3, 2, 2, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 4, 0), 0, 0)); colorPanel.add(startAlphaSpinner, new GridBagConstraints(1, 3, 1, 1, 0.25, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 20, 0)); colorPanel.add(startAlphaLabel, new GridBagConstraints(0, 3, 1, 1, 0.25, 0.0 , GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); colorPanel.add(endAlphaLabel, new GridBagConstraints(3, 3, 1, 1, 0.25, 0.0 , GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); colorPanel.add(endAlphaSpinner, new GridBagConstraints(4, 3, 1, 1, 0.25, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 20, 0)); appPanel.add(sizePanel, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 5, 5, 10), 0, 0)); sizePanel.add(startSizeLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 4, 0, 0), 0, 0)); sizePanel.add(startSizeSlider, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 4, 0, 0), 100, 0)); sizePanel.add(endSizeLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 0, 0), 0, 0)); sizePanel.add(endSizeSlider, new GridBagConstraints(0, 3, 1, 1, 1.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 4, 0, 0), 100, 0)); appPanel.add(texturePanel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 10, 5, 5), 0, 0)); texturePanel.add(textureLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(10, 10, 5, 5), 0, 0)); texturePanel.add(changeTextureButton, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(5, 10, 10, 5), 0, 0)); texturePanel.add(imageLabel, new GridBagConstraints(1, 0, 1, 2, 1.0, 1.0 ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 5, 5, 5), 0, 0)); appPanel.add(countPanel, new GridBagConstraints(1, 1, 1, 1, 0.5, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 5, 5, 10), 0, 0)); speedPanel.add(speedLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(10, 10, 0, 10), 0, 0)); speedPanel.add(speedSlider, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 5), 0, 0)); worldPanel.add(gravityPanel, new GridBagConstraints(1, 0, 1, 3, 0.5, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 5, 10, 10), 0, 0)); gravityPanel.add(gravXSlider, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); gravityPanel.add(gravYSlider, new GridBagConstraints(1, 0, 1, 1, 0.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); gravityPanel.add(gravZSlider, new GridBagConstraints(2, 0, 1, 1, 0.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); gravityPanel.add(gravXLabel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); gravityPanel.add(gravYLabel, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); gravityPanel.add(gravZLabel, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0)); worldPanel.add(agePanel, new GridBagConstraints(0, 1, 1, 1, 0.5, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 10, 5, 5), 0, 0)); agePanel.add(minAgeLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 0), 0, 0)); agePanel.add(minAgeSlider, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 5), 0, 0)); worldPanel.add(randomPanel, new GridBagConstraints(0, 2, 1, 1, 0.5, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(5, 10, 10, 5), 0, 0)); emitPanel.add(anglePanel, new GridBagConstraints(1, 0, 1, 1, 0.5, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 5, 5, 10), 0, 0)); anglePanel.add(angleLabel, new GridBagConstraints(0, 0, 1, 1, 0.5, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(10, 5, 5, 10), 0, 0)); anglePanel.add(angleSlider, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(5, 10, 5, 10), 0, 0)); anglePanel.add(angleLabel, null); randomPanel.add(randomLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 10, 5, 10), 0, 0)); randomPanel.add(randomSlider, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 5, 5, 5), 0, 0)); mainTabbedPane1.add(examplesPanel, "Examples"); examplesPanel.add(examplesLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(10, 10, 5, 10), 0, 0)); examplesPanel.add(exampleSP, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0 , GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 10, 0, 10), 0, 0)); examplesPanel.add(exampleButton, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 10, 10, 10), 0, 0)); exampleSP.setViewportView(exampleList); mainTabbedPane1.add(codePanel, "Code"); codePanel.add(codeLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(10, 10, 5, 10), 0, 0)); codePanel.add(codeSP, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0 , GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(5, 10, 10, 10), 0, 0)); countPanel.add(countLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0 , GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(10, 10, 5, 10), 0, 0)); countPanel.add(countButton, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0 , GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 10, 10, 10), 0, 0)); codeSP.setViewportView(codeTextArea); setSize(new Dimension(450, 330)); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/bc00680a96b306d0b3319fd9538122533eaf6675/RenParticleControlFrame.java/clean/src/jmetest/effects/RenParticleControlFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 20515, 2570, 1435, 1216, 1185, 288, 565, 14109, 2932, 1988, 3711, 2332, 18451, 8863, 565, 9277, 4605, 2988, 12, 46, 3219, 18, 28682, 67, 673, 67, 13384, 1769, 565, 2036, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 963, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 9388, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 20814, 2871, 900, 432, 7113, 315, 1769, 565, 8632, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 20814, 2871, 900, 348, 1423, 2056, 315, 1769, 565, 11428, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 20814, 2871, 900, 9204, 4830, 315, 1769, 565, 26189, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 611, 2849, 58, 4107, 315, 1769, 565, 3626, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 7141, 45, 4475, 3690, 18934, 315, 1769, 565, 5291, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 2744, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 1056, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 333, 18, 588, 1350, 8485, 7675, 542, 3744, 12, 8815, 3744, 21, 1769, 565, 595, 5537, 18, 542, 3744, 12, 5222, 5013, 3744, 21, 1769, 565, 3626, 5537, 18, 542, 3744, 12, 5222, 5013, 3744, 22, 1769, 565, 9117, 5537, 18, 542, 3744, 12, 5222, 5013, 3744, 23, 1769, 565, 2036, 5537, 18, 542, 3744, 12, 5222, 5013, 3744, 24, 1769, 565, 787, 2957, 2224, 18, 542, 5711, 12, 2704, 2252, 18, 2219, 88, 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, 282, 3238, 918, 20515, 2570, 1435, 1216, 1185, 288, 565, 14109, 2932, 1988, 3711, 2332, 18451, 8863, 565, 9277, 4605, 2988, 12, 46, 3219, 18, 28682, 67, 673, 67, 13384, 1769, 565, 2036, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 963, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 8863, 565, 9388, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 20814, 2871, 900, 432, 7113, 315, 1769, 565, 8632, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 20814, 2871, 900, 348, 1423, 2056, 315, 1769, 565, 11428, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 20814, 2871, 900, 9204, 4830, 315, 1769, 565, 26189, 8107, 273, 394, 399, 305, 1259, 8107, 2932, 611, 2849, 58, 4107, 2 ]
if (jj_scan_token(PLUSASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
if (jj_scan_token(IDENTIFIER)) return true; if (jj_3R_220()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_266()) { jj_scanpos = xsp; break; } }
final private boolean jj_3R_224() { if (jj_scan_token(PLUSASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/d42ce7980bc2030e88ae13be5cf1b864eee291da/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 23622, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 6253, 3378, 23289, 3719, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 23622, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 6253, 3378, 23289, 3719, 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, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return r;
else { throw new KettleStepException("Please use one (1) mapping output step in the mapping (sub-transformation)"); }
public Row getFields(Row r, String name, Row info) throws KettleStepException { // Change the names of the fields if this is required by the mapping. for (int i=0;i<inputField.length;i++) { if (inputField[i]!=null && inputField[i].length()>0) { if (inputMapping[i]!=null && inputMapping[i].length()>0) { if (!inputField[i].equals(inputMapping[i])) // rename these! { int idx = r.searchValueIndex(inputField[i]); if (idx<0) { throw new KettleStepException("Mapping target field ["+inputField[i]+"] is not present in the input rows!"); } r.getValue(idx).setName(inputMapping[i]); } } else { throw new KettleStepException("Mapping target field #"+i+" is not specified for input ["+inputField[i]+"]!"); } } else { throw new KettleStepException("Input field #"+i+" is not specified!"); } } // Then see which fields get added to the row. // if (mappingTransMeta!=null) { StepMeta stepMeta = mappingTransMeta.getMappingOutputStep(); stepMeta.getStepMetaInterface().getFields(r, name, info); // Change the output fields that are specified... for (int i=0;i<outputMapping.length;i++) { Value v = r.searchValue(outputMapping[i]); if (v!=null) { v.setName(outputField[i]); v.setOrigin(name); } else { throw new KettleStepException("Mapping output field specified couldn't be found: "+outputMapping[i]); } } return r; } else { throw new KettleStepException("Unable to get fields from Mapping: no mapping is selected."); } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/ca1b7df0a90c5488aaba03f1c875f1c313dbf5e3/MappingMeta.java/clean/src/be/ibridge/kettle/trans/step/mapping/MappingMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6556, 12612, 12, 1999, 436, 16, 514, 508, 16, 6556, 1123, 13, 1216, 1475, 278, 5929, 4160, 503, 565, 288, 377, 202, 759, 7576, 326, 1257, 434, 326, 1466, 309, 333, 353, 1931, 635, 326, 2874, 18, 377, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 2630, 974, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 430, 261, 2630, 974, 63, 77, 65, 5, 33, 2011, 597, 810, 974, 63, 77, 8009, 2469, 1435, 34, 20, 13, 1082, 202, 95, 9506, 202, 430, 261, 2630, 3233, 63, 77, 65, 5, 33, 2011, 597, 810, 3233, 63, 77, 8009, 2469, 1435, 34, 20, 13, 9506, 202, 95, 6862, 202, 430, 16051, 2630, 974, 63, 77, 8009, 14963, 12, 2630, 3233, 63, 77, 22643, 368, 6472, 4259, 5, 6862, 202, 95, 25083, 202, 474, 2067, 273, 436, 18, 3072, 620, 1016, 12, 2630, 974, 63, 77, 19226, 25083, 202, 430, 261, 3465, 32, 20, 13, 25083, 202, 95, 6862, 1082, 202, 12849, 394, 1475, 278, 5929, 4160, 503, 2932, 3233, 1018, 652, 8247, 15, 2630, 974, 63, 77, 3737, 11929, 353, 486, 3430, 316, 326, 810, 2595, 4442, 1769, 25083, 202, 97, 25083, 202, 86, 18, 24805, 12, 3465, 2934, 542, 461, 12, 2630, 3233, 63, 77, 19226, 6862, 202, 97, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 12849, 394, 1475, 278, 5929, 4160, 503, 2932, 3233, 1018, 652, 31526, 15, 77, 9078, 353, 486, 1269, 364, 810, 8247, 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, 6556, 12612, 12, 1999, 436, 16, 514, 508, 16, 6556, 1123, 13, 1216, 1475, 278, 5929, 4160, 503, 565, 288, 377, 202, 759, 7576, 326, 1257, 434, 326, 1466, 309, 333, 353, 1931, 635, 326, 2874, 18, 377, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 2630, 974, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 430, 261, 2630, 974, 63, 77, 65, 5, 33, 2011, 597, 810, 974, 63, 77, 8009, 2469, 1435, 34, 20, 13, 1082, 202, 95, 9506, 202, 430, 261, 2630, 3233, 63, 77, 65, 5, 33, 2011, 597, 810, 3233, 63, 77, 8009, 2469, 1435, 34, 20, 13, 9506, 202, 95, 6862, 202, 430, 16051, 2630, 974, 63, 2 ]
DNSQuestion(String name, int type, int clazz) { super(name, type, clazz);
DNSQuestion(String name, int type, int clazz) { super(name, type, clazz);
DNSQuestion(String name, int type, int clazz) { super(name, type, clazz); }
51459 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51459/0163ae0c157c3a896ab369894d8c4302792969c3/DNSQuestion.java/buggy/jmdns/src/javax/jmdns/DNSQuestion.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8858, 11665, 12, 780, 508, 16, 509, 618, 16, 509, 4003, 13, 565, 288, 202, 9565, 12, 529, 16, 618, 16, 4003, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 8858, 11665, 12, 780, 508, 16, 509, 618, 16, 509, 4003, 13, 565, 288, 202, 9565, 12, 529, 16, 618, 16, 4003, 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 ]
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware( true ); factory.setValidating( false ); final DocumentBuilder documentBuilder = factory.newDocumentBuilder(); documentBuilder.setErrorHandler( new StrictErrorHandler() ); XmlDocument_ = documentBuilder.parse( inputSource ); } catch( final SAXParseException parseException ) { getLog().error( "line=[" + parseException.getLineNumber() + "] columnNumber=[" + parseException.getColumnNumber() + "] systemId=[" + parseException.getSystemId() + "] publicId=[" + parseException.getPublicId() + "]", parseException );
final Reader reader = getConfigurationFileAsReader(); if( reader == null ) { getLog().error("Unable to load JavaScriptConfiguration.xml"); } loadConfiguration(reader); reader.close();
protected static void loadConfiguration(final Reader configurationReader) { final InputSource inputSource = new InputSource(configurationReader); try { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware( true ); factory.setValidating( false ); final DocumentBuilder documentBuilder = factory.newDocumentBuilder(); documentBuilder.setErrorHandler( new StrictErrorHandler() ); XmlDocument_ = documentBuilder.parse( inputSource ); } catch( final SAXParseException parseException ) { getLog().error( "line=[" + parseException.getLineNumber() + "] columnNumber=[" + parseException.getColumnNumber() + "] systemId=[" + parseException.getSystemId() + "] publicId=[" + parseException.getPublicId() + "]", parseException ); } catch( final Exception e ) { getLog().error("Error when loading JavascriptConfiguration.xml", e); } }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/5cc5624b4386fdebb2c3ccc18840e11237b4776b/JavaScriptConfiguration.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/configuration/JavaScriptConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1262, 1750, 12, 6385, 5393, 1664, 2514, 13, 288, 3639, 727, 23699, 810, 1830, 273, 394, 23699, 12, 7025, 2514, 1769, 3639, 775, 288, 5411, 727, 30236, 3272, 273, 30236, 18, 2704, 1442, 5621, 5411, 3272, 18, 542, 3402, 10155, 12, 638, 11272, 5411, 3272, 18, 542, 31496, 12, 629, 11272, 5411, 727, 4319, 1263, 1668, 1263, 273, 3272, 18, 2704, 2519, 1263, 5621, 5411, 1668, 1263, 18, 542, 17729, 12, 394, 22307, 17729, 1435, 11272, 5411, 5714, 2519, 67, 273, 1668, 1263, 18, 2670, 12, 810, 1830, 11272, 3639, 289, 3639, 1044, 12, 727, 10168, 13047, 1109, 503, 262, 288, 5411, 9189, 7675, 1636, 12, 315, 1369, 33, 9614, 397, 1109, 503, 18, 588, 31063, 1435, 10792, 397, 9850, 1057, 1854, 33, 9614, 397, 1109, 503, 18, 588, 1494, 1854, 1435, 10792, 397, 9850, 30083, 33, 9614, 397, 1109, 503, 18, 588, 3163, 548, 1435, 10792, 397, 9850, 1071, 548, 33, 9614, 397, 1109, 503, 18, 588, 4782, 548, 1435, 397, 9850, 3113, 1109, 503, 11272, 3639, 289, 3639, 1044, 12, 727, 1185, 425, 262, 288, 5411, 9189, 7675, 1636, 2932, 668, 1347, 7153, 22326, 1750, 18, 2902, 3113, 425, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1262, 1750, 12, 6385, 5393, 1664, 2514, 13, 288, 3639, 727, 23699, 810, 1830, 273, 394, 23699, 12, 7025, 2514, 1769, 3639, 775, 288, 5411, 727, 30236, 3272, 273, 30236, 18, 2704, 1442, 5621, 5411, 3272, 18, 542, 3402, 10155, 12, 638, 11272, 5411, 3272, 18, 542, 31496, 12, 629, 11272, 5411, 727, 4319, 1263, 1668, 1263, 273, 3272, 18, 2704, 2519, 1263, 5621, 5411, 1668, 1263, 18, 542, 17729, 12, 394, 22307, 17729, 1435, 11272, 5411, 5714, 2519, 67, 273, 1668, 1263, 18, 2670, 12, 810, 1830, 11272, 3639, 289, 3639, 1044, 12, 727, 10168, 13047, 1109, 503, 262, 288, 5411, 9189, 7675, 1636, 12, 315, 1369, 33, 9614, 397, 1109, 503, 18, 588, 2 ]
_t = __t1299;
_t = __t1284;
public final void insertintostate(AST _t) throws RecognitionException { AST insertintostate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1297 = _t; AST tmp1736_AST_in = (AST)_t; match(_t,INSERT); _t = _t.getFirstChild(); AST tmp1737_AST_in = (AST)_t; match(_t,INTO); _t = _t.getNextSibling(); tbl(_t,CQ.SCHEMATABLESYMBOL); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Field_list: { AST __t1299 = _t; AST tmp1738_AST_in = (AST)_t; match(_t,Field_list); _t = _t.getFirstChild(); AST tmp1739_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); fld(_t,CQ.UPDATING); _t = _retTree; { _loop1301: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1740_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); fld(_t,CQ.UPDATING); _t = _retTree; } else { break _loop1301; } } while (true); } AST tmp1741_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1299; _t = _t.getNextSibling(); break; } case SELECT: case VALUES: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUES: { AST __t1303 = _t; AST tmp1742_AST_in = (AST)_t; match(_t,VALUES); _t = _t.getFirstChild(); AST tmp1743_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INDICATOR: case Field_ref: { fetch_indicator(_t); _t = _retTree; break; } case COMMA: case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1307: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1744_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INDICATOR: case Field_ref: { fetch_indicator(_t); _t = _retTree; break; } case COMMA: case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1307; } } while (true); } AST tmp1745_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1303; _t = _t.getNextSibling(); break; } case SELECT: { selectstatea(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1297; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2243, 474, 669, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2243, 474, 669, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2138, 10580, 273, 389, 88, 31, 202, 202, 9053, 1853, 4033, 5718, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 11356, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 4033, 6418, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3217, 51, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 16187, 24899, 88, 16, 39, 53, 18, 55, 10390, 789, 2782, 22093, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 2286, 67, 1098, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 2138, 2733, 273, 389, 88, 31, 1082, 202, 9053, 1853, 4033, 7414, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 974, 67, 1098, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 9053, 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, 2243, 474, 669, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2243, 474, 669, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2138, 10580, 273, 389, 88, 31, 202, 202, 9053, 1853, 4033, 5718, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 11356, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 4033, 6418, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 3217, 51, 1769, 2 ]
rubyArgs[i] = JavaUtil.convertJavaToRuby(ruby, args.elementAt(i), args.elementAt(i).getClass());
rubyArgs[i] = JavaUtil.convertJavaToRuby(ruby, args.elementAt(i));
public Object apply(String file, int line, int col, Object funcBody, Vector paramNames, Vector args) { String oldFile = ruby.getSourceFile(); int oldLine = ruby.getSourceLine(); ruby.setSourceFile(file); ruby.setSourceLine(line); StringBuffer sb = new StringBuffer(((String) funcBody).length() + 100); sb.append("def __jruby_bsf_anonymous ("); int paramLength = paramNames.size(); for (int i = 0; i < paramLength; i++) { if (i > 0) { sb.append(", "); } sb.append(paramNames.elementAt(i)); } sb.append(") \n"); sb.append(funcBody); sb.append("\nend\n"); ruby.evalScript((String) sb.toString(), null); RubyObject[] rubyArgs = new RubyObject[args.size()]; for (int i = args.size(); i >= 0; i--) { rubyArgs[i] = JavaUtil.convertJavaToRuby(ruby, args.elementAt(i), args.elementAt(i).getClass()); } Object result = JavaUtil.convertRubyToJava(ruby, ruby.getRubyTopSelf().funcall("__jruby_bsf_anonymous", rubyArgs)); ruby.setSourceFile(oldFile); ruby.setSourceLine(oldLine); return result; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0a526b01cbfccc8f939ebe1c3b73363469a0bfd5/JRubyEngine.java/buggy/org/jruby/javasupport/bsf/JRubyEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 2230, 12, 780, 585, 16, 509, 980, 16, 509, 645, 16, 1033, 1326, 2250, 16, 5589, 579, 1557, 16, 5589, 833, 13, 288, 3639, 514, 1592, 812, 273, 22155, 18, 588, 31150, 5621, 3639, 509, 1592, 1670, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 22155, 18, 542, 31150, 12, 768, 1769, 3639, 22155, 18, 542, 1830, 1670, 12, 1369, 1769, 3639, 6674, 2393, 273, 394, 6674, 12443, 12, 780, 13, 1326, 2250, 2934, 2469, 1435, 397, 2130, 1769, 3639, 2393, 18, 6923, 2932, 536, 1001, 78, 27768, 67, 2038, 74, 67, 19070, 7566, 1769, 3639, 509, 579, 1782, 273, 579, 1557, 18, 1467, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 579, 1782, 31, 277, 27245, 288, 5411, 309, 261, 77, 405, 374, 13, 288, 7734, 2393, 18, 6923, 2932, 16, 315, 1769, 5411, 289, 5411, 2393, 18, 6923, 12, 891, 1557, 18, 2956, 861, 12, 77, 10019, 3639, 289, 3639, 2393, 18, 6923, 2932, 13, 521, 82, 8863, 3639, 2393, 18, 6923, 12, 644, 2250, 1769, 3639, 2393, 18, 6923, 31458, 82, 409, 64, 82, 8863, 3639, 22155, 18, 8622, 3651, 12443, 780, 13, 2393, 18, 10492, 9334, 446, 1769, 3639, 19817, 921, 8526, 22155, 2615, 273, 394, 19817, 921, 63, 1968, 18, 1467, 1435, 15533, 3639, 364, 261, 474, 277, 273, 833, 18, 1467, 5621, 277, 1545, 374, 31, 277, 413, 13, 288, 5411, 22155, 2615, 63, 77, 65, 273, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 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, 1033, 2230, 12, 780, 585, 16, 509, 980, 16, 509, 645, 16, 1033, 1326, 2250, 16, 5589, 579, 1557, 16, 5589, 833, 13, 288, 3639, 514, 1592, 812, 273, 22155, 18, 588, 31150, 5621, 3639, 509, 1592, 1670, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 22155, 18, 542, 31150, 12, 768, 1769, 3639, 22155, 18, 542, 1830, 1670, 12, 1369, 1769, 3639, 6674, 2393, 273, 394, 6674, 12443, 12, 780, 13, 1326, 2250, 2934, 2469, 1435, 397, 2130, 1769, 3639, 2393, 18, 6923, 2932, 536, 1001, 78, 27768, 67, 2038, 74, 67, 19070, 7566, 1769, 3639, 509, 579, 1782, 273, 579, 1557, 18, 1467, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 579, 2 ]
Driver.debug("usesLocalFilePerTable " + false);
if (Driver.logDebug) Driver.debug("usesLocalFilePerTable " + false);
public boolean usesLocalFilePerTable() throws SQLException { Driver.debug("usesLocalFilePerTable " + false); return false; }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 4692, 2042, 812, 2173, 1388, 1435, 1216, 6483, 202, 95, 202, 202, 4668, 18, 4148, 2932, 6117, 2042, 812, 2173, 1388, 315, 397, 629, 1769, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 4692, 2042, 812, 2173, 1388, 1435, 1216, 6483, 202, 95, 202, 202, 4668, 18, 4148, 2932, 6117, 2042, 812, 2173, 1388, 315, 397, 629, 1769, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); Iterator iter = files.iterator(); while (iter.hasNext()) { File file = (File) iter.next(); if (!file.exists() || !file.canRead()) { continue; } Document xmlDoc = handleFile(file); if (xmlDoc != null) { String shortname = Util.getElementValue( xmlDoc.getDocumentElement(), "body/taglib/shortname"); Util.addChildElement(overviewRoot, "shortname", shortname); File reportHtml = new File(destdir, shortname + "-report.html"); Source xml = new DOMSource(xmlDoc); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/taglib-report.xsl")); Result out = new StreamResult(reportHtml); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); } } Source xml = new DOMSource(overviewRoot); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/index.xsl")); Result out = new StreamResult(new File(destdir, "index.html")); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/overview-frame.xsl")); out = new StreamResult(new File(destdir, "overview-frame.html")); t = tf.newTransformer(xsl); t.transform(xml, out); Util.copyFile( "/resources/taglibreport/stylesheet.css", new File(destdir, "stylesheet.css")); Util.copyFile( "/resources/taglibreport/xbPositionableElement.js", new File(destdir, "xbPositionableElement.js")); } catch (Exception e) { e.printStackTrace(); } }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/TaglibReport.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 2519, 2902, 1759, 33, 4110, 812, 12, 768, 1769, 9506, 202, 430, 12, 2902, 1759, 5, 33, 2011, 15329, 6862, 202, 780, 28650, 33, 25083, 202, 1304, 18, 21336, 620, 12, 6862, 1082, 202, 2902, 1759, 18, 588, 2519, 1046, 9334, 6862, 1082, 202, 6, 3432, 19, 2692, 2941, 19, 28650, 8863, 6862, 202, 1304, 18, 1289, 1763, 1046, 12, 26081, 2375, 10837, 28650, 3113, 28650, 1769, 6862, 202, 25579, 822, 655, 4353, 33, 25083, 202, 2704, 812, 12, 10488, 1214, 16, 28650, 9078, 17, 6006, 18, 2620, 8863, 6862, 202, 1830, 2902, 33, 2704, 8168, 1830, 12, 2902, 1759, 1769, 6862, 202, 1830, 30903, 33, 25083, 202, 2704, 1228, 1830, 12, 6862, 1082, 202, 2211, 18, 588, 797, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 2 ]
final Method create = homeClass.getMethod("create", null);
final Method create = homeClass.getMethod("create", (Class[])null);
private Object bind() throws InvocationTargetException { try { final InitialContext context = new InitialContext(environment); final Object ref = context.lookup(name); final Object proxy = PortableRemoteObject.narrow(ref, home); final Class homeClass = proxy.getClass(); final Method create = homeClass.getMethod("create", null); if (type.isAssignableFrom(create.getReturnType())) { return create.invoke(proxy, null); } throw new PicoIntrospectionException( "Wrong return type of EJBHome implementation", new ClassCastException(create.getReturnType() .getName())); } catch (final SecurityException e) { throw new PicoIntrospectionException( "Security Exception occured accessing create method of home interface of " + name, e); } catch (final NoSuchMethodException e) { throw new PicoIntrospectionException("Home interface of " + name + " has no create method", e); } catch (final NameNotFoundException e) { // Server startup, application not bound yet throw new InvocationTargetException(e); } catch (final NamingException e) { final Throwable rootCause = e.getRootCause(); if (rootCause != null && (rootCause instanceof SocketTimeoutException || rootCause instanceof NoSuchObjectException)) { // Server down, did not have a connection or JNDI not stuffed yet throw new InvocationTargetException(e); } else { throw new PicoInitializationException("InitialContext has no EJB named " + name, e); } } catch (final IllegalAccessException e) { throw new PicoInitializationException("Cannot access default constructor for " + name, e); } }
14499 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14499/9065c4b5968d2f4f217364cbf0645340dfa60fd6/EJBClientComponentAdapter.java/clean/remoting/src/java/org/nanocontainer/remoting/ejb/EJBClientComponentAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1033, 1993, 1435, 1216, 15342, 288, 5411, 775, 288, 7734, 727, 10188, 1042, 819, 273, 394, 10188, 1042, 12, 10274, 1769, 7734, 727, 1033, 1278, 273, 819, 18, 8664, 12, 529, 1769, 7734, 727, 1033, 2889, 273, 6008, 429, 5169, 921, 18, 82, 7815, 12, 1734, 16, 6382, 1769, 7734, 727, 1659, 6382, 797, 273, 2889, 18, 588, 797, 5621, 7734, 727, 2985, 752, 273, 6382, 797, 18, 588, 1305, 2932, 2640, 3113, 261, 797, 63, 5717, 2011, 1769, 7734, 309, 261, 723, 18, 291, 7961, 1265, 12, 2640, 18, 588, 9102, 1435, 3719, 288, 10792, 327, 752, 18, 14407, 12, 5656, 16, 446, 1769, 7734, 289, 7734, 604, 394, 453, 10764, 1702, 26362, 503, 12, 13491, 315, 13634, 327, 618, 434, 12157, 8684, 4471, 3113, 394, 24034, 12, 2640, 18, 588, 9102, 1435, 27573, 263, 17994, 1435, 10019, 5411, 289, 1044, 261, 6385, 17780, 425, 13, 288, 7734, 604, 394, 453, 10764, 1702, 26362, 503, 12, 13491, 315, 4368, 1185, 16206, 19531, 752, 707, 434, 6382, 1560, 434, 315, 397, 508, 16, 425, 1769, 5411, 289, 1044, 261, 6385, 15959, 425, 13, 288, 7734, 604, 394, 453, 10764, 1702, 26362, 503, 2932, 8684, 1560, 434, 315, 397, 508, 397, 315, 711, 1158, 752, 707, 3113, 425, 1769, 5411, 289, 1044, 261, 6385, 1770, 3990, 425, 13, 288, 7734, 368, 3224, 11850, 16, 2521, 486, 2489, 4671, 7734, 604, 394, 15342, 12, 73, 1769, 5411, 289, 1044, 261, 6385, 26890, 425, 13, 288, 7734, 727, 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, 3238, 1033, 1993, 1435, 1216, 15342, 288, 5411, 775, 288, 7734, 727, 10188, 1042, 819, 273, 394, 10188, 1042, 12, 10274, 1769, 7734, 727, 1033, 1278, 273, 819, 18, 8664, 12, 529, 1769, 7734, 727, 1033, 2889, 273, 6008, 429, 5169, 921, 18, 82, 7815, 12, 1734, 16, 6382, 1769, 7734, 727, 1659, 6382, 797, 273, 2889, 18, 588, 797, 5621, 7734, 727, 2985, 752, 273, 6382, 797, 18, 588, 1305, 2932, 2640, 3113, 261, 797, 63, 5717, 2011, 1769, 7734, 309, 261, 723, 18, 291, 7961, 1265, 12, 2640, 18, 588, 9102, 1435, 3719, 288, 10792, 327, 752, 18, 14407, 12, 5656, 16, 446, 1769, 7734, 289, 7734, 604, 394, 453, 10764, 1702, 26362, 503, 12, 13491, 2 ]
System.out .println("\nWelcome to the GUI to configure the building process of Apache Lenya");
System.out .println("\nWelcome to the GUI to configure the building process of Apache Lenya");
public static void main(String[] args) { System.out .println("\nWelcome to the GUI to configure the building process of Apache Lenya"); if (args.length != 1) { System.err .println("No root dir specified (e.g. /home/USERNAME/src/lenya/trunk)!"); return; } String rootDir = args[0]; new ConfigureGUI(rootDir); }
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/50df1d979f88c47f6fab2ffb5574f58d891cbc9b/ConfigureGUI.java/buggy/tools/configure/src/java/org/apache/lenya/config/impl/ConfigureGUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 202, 3163, 18, 659, 9506, 202, 18, 8222, 31458, 82, 59, 16312, 358, 326, 10978, 358, 5068, 326, 10504, 1207, 434, 24840, 6698, 93, 69, 8863, 202, 202, 430, 261, 1968, 18, 2469, 480, 404, 13, 288, 1082, 202, 3163, 18, 370, 6862, 202, 18, 8222, 2932, 2279, 1365, 1577, 1269, 261, 73, 18, 75, 18, 342, 8712, 19, 21292, 19, 4816, 19, 1897, 93, 69, 19, 26133, 13, 4442, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 15393, 273, 833, 63, 20, 15533, 202, 202, 2704, 11758, 43, 5370, 12, 3085, 1621, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 202, 3163, 18, 659, 9506, 202, 18, 8222, 31458, 82, 59, 16312, 358, 326, 10978, 358, 5068, 326, 10504, 1207, 434, 24840, 6698, 93, 69, 8863, 202, 202, 430, 261, 1968, 18, 2469, 480, 404, 13, 288, 1082, 202, 3163, 18, 370, 6862, 202, 18, 8222, 2932, 2279, 1365, 1577, 1269, 261, 73, 18, 75, 18, 342, 8712, 19, 21292, 19, 4816, 19, 1897, 93, 69, 19, 26133, 13, 4442, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 15393, 273, 833, 63, 20, 15533, 202, 202, 2704, 11758, 43, 5370, 12, 3085, 1621, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
runQueryCheckResult("select {[Measures].[Unit Sales], [Measures].[Store Cost], [Measures].[Store Sales]} ON columns, " + nl + "Order(" + nl + " ToggleDrillState(" + nl + " {([Promotion Media].[All Media], [Product].[All Products])}," + nl + " {[Product].[All Products]} ), " + nl + " [Measures].[Unit Sales], DESC) ON rows " + nl + "from [Sales] where ([Time].[1997])",
assertQueryReturns( wrap(new String[] { "select {[Measures].[Unit Sales], [Measures].[Store Cost], [Measures].[Store Sales]} ON columns, ", "Order(", " ToggleDrillState(", " {([Promotion Media].[All Media], [Product].[All Products])},", " {[Product].[All Products]} ), ", " [Measures].[Unit Sales], DESC) ON rows ", "from [Sales] where ([Time].[1997])"}),
public void testOrderBug656802() { // Note: // 1. [Alcoholic Beverages] collates before [Eggs] and // [Seafood] because its parent, [Drink], is less // than [Food] // 2. [Seattle] generally sorts after [CA] and [OR] // because invisible parent [WA] is greater. runQueryCheckResult("select {[Measures].[Unit Sales], [Measures].[Store Cost], [Measures].[Store Sales]} ON columns, " + nl + "Order(" + nl + " ToggleDrillState(" + nl + " {([Promotion Media].[All Media], [Product].[All Products])}," + nl + " {[Product].[All Products]} ), " + nl + " [Measures].[Unit Sales], DESC) ON rows " + nl + "from [Sales] where ([Time].[1997])", "Axis #0:" + nl + "{[Time].[1997]}" + nl + "Axis #1:" + nl + "{[Measures].[Unit Sales]}" + nl + "{[Measures].[Store Cost]}" + nl + "{[Measures].[Store Sales]}" + nl + "Axis #2:" + nl + "{[Promotion Media].[All Media], [Product].[All Products]}" + nl + "{[Promotion Media].[All Media], [Product].[All Products].[Food]}" + nl + "{[Promotion Media].[All Media], [Product].[All Products].[Non-Consumable]}" + nl + "{[Promotion Media].[All Media], [Product].[All Products].[Drink]}" + nl + "Row #0: 266,773" + nl + "Row #0: 225,627.23" + nl + "Row #0: 565,238.13" + nl + "Row #1: 191,940" + nl + "Row #1: 163,270.72" + nl + "Row #1: 409,035.59" + nl + "Row #2: 50,236" + nl + "Row #2: 42,879.28" + nl + "Row #2: 107,366.33" + nl + "Row #3: 24,597" + nl + "Row #3: 19,477.23" + nl + "Row #3: 48,836.21" + nl); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/3041f930b5fc4bf6aa3339845b828801c1d8b366/FunctionTest.java/buggy/testsrc/main/mondrian/olap/fun/FunctionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2448, 19865, 26, 4313, 31644, 1435, 288, 3639, 368, 3609, 30, 3639, 368, 404, 18, 306, 1067, 2894, 76, 1415, 4823, 502, 1023, 65, 4508, 815, 1865, 306, 41, 75, 564, 65, 471, 3639, 368, 565, 306, 1761, 69, 617, 369, 65, 2724, 2097, 982, 16, 306, 8956, 754, 6487, 353, 5242, 3639, 368, 565, 2353, 306, 42, 4773, 65, 3639, 368, 576, 18, 306, 1761, 4558, 298, 65, 19190, 18524, 1839, 306, 3587, 65, 471, 306, 916, 65, 3639, 368, 565, 2724, 24697, 982, 306, 59, 37, 65, 353, 6802, 18, 3639, 1086, 1138, 1564, 1253, 2932, 4025, 288, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 23177, 1823, 8009, 63, 2257, 28108, 6487, 306, 23177, 1823, 8009, 63, 2257, 25996, 18322, 6229, 2168, 16, 315, 397, 7741, 397, 7734, 315, 2448, 2932, 397, 7741, 397, 7734, 315, 225, 399, 9891, 8956, 737, 1119, 2932, 397, 7741, 397, 7734, 315, 565, 288, 3816, 13224, 8240, 6128, 8009, 63, 1595, 6128, 6487, 306, 4133, 8009, 63, 1595, 8094, 87, 5717, 5779, 6, 397, 7741, 397, 7734, 315, 565, 288, 63, 4133, 8009, 63, 1595, 8094, 87, 18322, 262, 16, 315, 397, 7741, 397, 7734, 315, 225, 306, 23177, 1823, 8009, 63, 2802, 25996, 6487, 14326, 13, 6229, 2595, 315, 397, 7741, 397, 7734, 315, 2080, 306, 23729, 65, 1625, 23265, 950, 8009, 63, 19818, 27, 65, 2225, 16, 7734, 315, 6558, 468, 20, 2773, 397, 7741, 397, 7734, 4144, 63, 950, 8009, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2448, 19865, 26, 4313, 31644, 1435, 288, 3639, 368, 3609, 30, 3639, 368, 404, 18, 306, 1067, 2894, 76, 1415, 4823, 502, 1023, 65, 4508, 815, 1865, 306, 41, 75, 564, 65, 471, 3639, 368, 565, 306, 1761, 69, 617, 369, 65, 2724, 2097, 982, 16, 306, 8956, 754, 6487, 353, 5242, 3639, 368, 565, 2353, 306, 42, 4773, 65, 3639, 368, 576, 18, 306, 1761, 4558, 298, 65, 19190, 18524, 1839, 306, 3587, 65, 471, 306, 916, 65, 3639, 368, 565, 2724, 24697, 982, 306, 59, 37, 65, 353, 6802, 18, 3639, 1086, 1138, 1564, 1253, 2932, 4025, 288, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 23177, 1823, 8009, 63, 2257, 28108, 2 ]
throw new CDIException("No answer");
throw new CDIException(CdiResources.getString("cdi.Common.No_answer"));
public void loadSymbols() throws CDIException { Session session = (Session)getSession(); MISession mi = session.getMISession(); CommandFactory factory = mi.getCommandFactory(); MISharedLibrary sharedlibrary = factory.createMISharedLibrary(); try { mi.postCommand(sharedlibrary); MIInfo info = sharedlibrary.getMIInfo(); if (info == null) { throw new CDIException("No answer"); } } catch (MIException e) { throw new MI2CDIException(e); } update(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f3a9fae6384fd8bb36474b1661bb6d0b65b38d5f/SharedLibraryManager.java/clean/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1262, 14821, 1435, 1216, 385, 2565, 503, 288, 202, 202, 2157, 1339, 273, 261, 2157, 13, 588, 2157, 5621, 202, 202, 7492, 2157, 12837, 273, 1339, 18, 588, 7492, 2157, 5621, 202, 202, 2189, 1733, 3272, 273, 12837, 18, 588, 2189, 1733, 5621, 202, 202, 7492, 7887, 9313, 5116, 12083, 273, 3272, 18, 2640, 7492, 7887, 9313, 5621, 202, 202, 698, 288, 1082, 202, 9197, 18, 2767, 2189, 12, 11574, 12083, 1769, 1082, 202, 7492, 966, 1123, 273, 5116, 12083, 18, 588, 7492, 966, 5621, 1082, 202, 430, 261, 1376, 422, 446, 13, 288, 9506, 202, 12849, 394, 385, 2565, 503, 2932, 2279, 5803, 8863, 1082, 202, 97, 202, 202, 97, 1044, 261, 7492, 503, 425, 13, 288, 1082, 202, 12849, 394, 20806, 22, 39, 2565, 503, 12, 73, 1769, 202, 202, 97, 202, 202, 2725, 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, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1262, 14821, 1435, 1216, 385, 2565, 503, 288, 202, 202, 2157, 1339, 273, 261, 2157, 13, 588, 2157, 5621, 202, 202, 7492, 2157, 12837, 273, 1339, 18, 588, 7492, 2157, 5621, 202, 202, 2189, 1733, 3272, 273, 12837, 18, 588, 2189, 1733, 5621, 202, 202, 7492, 7887, 9313, 5116, 12083, 273, 3272, 18, 2640, 7492, 7887, 9313, 5621, 202, 202, 698, 288, 1082, 202, 9197, 18, 2767, 2189, 12, 11574, 12083, 1769, 1082, 202, 7492, 966, 1123, 273, 5116, 12083, 18, 588, 7492, 966, 5621, 1082, 202, 430, 261, 1376, 422, 446, 13, 288, 9506, 202, 12849, 394, 385, 2565, 503, 2932, 2279, 5803, 8863, 1082, 202, 97, 202, 202, 97, 1044, 261, 7492, 503, 2 ]
if (attval.value == null)
if (attval.value == null || attval.value.length() == 0)
public void check(Lexer lexer, Node node, AttVal attval) { boolean hexUppercase = true; boolean invalid = false; boolean found = false; if (attval.value == null) { lexer.report.attrError(lexer, node, attval, Report.MISSING_ATTR_VALUE); return; } String given = attval.value; Iterator colorIter = COLORS.entrySet().iterator(); while (colorIter.hasNext()) { Map.Entry color = (Map.Entry) colorIter.next(); if (given.charAt(0) == '#') { if (given.length() != 7) { lexer.report.attrError(lexer, node, attval, Report.BAD_ATTRIBUTE_VALUE); invalid = true; break; } else if (given.equalsIgnoreCase((String) color.getValue())) { if (lexer.configuration.replaceColor) { attval.value = (String) color.getKey(); } found = true; break; } } else if (Lexer.isLetter(given.charAt(0))) { if (given.equalsIgnoreCase((String) color.getKey())) { if (lexer.configuration.replaceColor) { attval.value = (String) color.getKey(); } found = true; break; } } else { lexer.report.attrError(lexer, node, attval, Report.BAD_ATTRIBUTE_VALUE); invalid = true; break; } } if (!found && !invalid) { if (given.charAt(0) == '#') { // check if valid hex digits and letters for (int i = 1; i < 7; ++i) { if (!Lexer.isDigit(given.charAt(i)) && ("abcdef".indexOf(Character.toLowerCase(given.charAt(i))) == -1)) { lexer.report.attrError(lexer, node, attval, Report.BAD_ATTRIBUTE_VALUE); invalid = true; break; } } // convert hex letters to uppercase if (!invalid && hexUppercase) { for (int i = 1; i < 7; ++i) { attval.value = given.toUpperCase(); } } } else { // we could search for more colors and mark the file as HTML Proprietary, but I don't thinks // it's worth the effort, so values not in HTML 4.01 are invalid lexer.report.attrError(lexer, node, attval, Report.BAD_ATTRIBUTE_VALUE); invalid = true; } } }
53077 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53077/b1454f7014580cc430f3936a6c83ec293f03290f/AttrCheckImpl.java/buggy/jtidy/src/main/org/w3c/tidy/AttrCheckImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 866, 12, 13356, 8512, 16, 2029, 756, 16, 6020, 3053, 2403, 1125, 13, 3639, 288, 5411, 1250, 3827, 5988, 3593, 273, 638, 31, 5411, 1250, 2057, 273, 629, 31, 5411, 1250, 1392, 273, 629, 31, 5411, 309, 261, 4558, 1125, 18, 1132, 422, 446, 747, 2403, 1125, 18, 1132, 18, 2469, 1435, 422, 374, 13, 5411, 288, 7734, 8512, 18, 6006, 18, 1747, 668, 12, 31731, 16, 756, 16, 2403, 1125, 16, 8706, 18, 19466, 67, 12043, 67, 4051, 1769, 7734, 327, 31, 5411, 289, 5411, 514, 864, 273, 2403, 1125, 18, 1132, 31, 5411, 4498, 2036, 2360, 273, 5597, 14006, 18, 4099, 694, 7675, 9838, 5621, 5411, 1323, 261, 3266, 2360, 18, 5332, 2134, 10756, 5411, 288, 7734, 1635, 18, 1622, 2036, 273, 261, 863, 18, 1622, 13, 2036, 2360, 18, 4285, 5621, 7734, 309, 261, 10822, 18, 3001, 861, 12, 20, 13, 422, 2946, 6134, 7734, 288, 10792, 309, 261, 10822, 18, 2469, 1435, 480, 2371, 13, 10792, 288, 13491, 8512, 18, 6006, 18, 1747, 668, 12, 31731, 16, 756, 16, 2403, 1125, 16, 8706, 18, 16234, 67, 11616, 67, 4051, 1769, 13491, 2057, 273, 638, 31, 13491, 898, 31, 10792, 289, 10792, 469, 309, 261, 10822, 18, 14963, 5556, 12443, 780, 13, 2036, 18, 24805, 1435, 3719, 10792, 288, 13491, 309, 261, 31731, 18, 7025, 18, 2079, 2957, 13, 13491, 288, 18701, 2403, 1125, 18, 1132, 273, 261, 780, 13, 2036, 18, 588, 653, 5621, 13491, 289, 13491, 1392, 273, 638, 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, 918, 866, 12, 13356, 8512, 16, 2029, 756, 16, 6020, 3053, 2403, 1125, 13, 3639, 288, 5411, 1250, 3827, 5988, 3593, 273, 638, 31, 5411, 1250, 2057, 273, 629, 31, 5411, 1250, 1392, 273, 629, 31, 5411, 309, 261, 4558, 1125, 18, 1132, 422, 446, 747, 2403, 1125, 18, 1132, 18, 2469, 1435, 422, 374, 13, 5411, 288, 7734, 8512, 18, 6006, 18, 1747, 668, 12, 31731, 16, 756, 16, 2403, 1125, 16, 8706, 18, 19466, 67, 12043, 67, 4051, 1769, 7734, 327, 31, 5411, 289, 5411, 514, 864, 273, 2403, 1125, 18, 1132, 31, 5411, 4498, 2036, 2360, 273, 5597, 14006, 18, 4099, 694, 7675, 9838, 5621, 5411, 1323, 261, 3266, 2360, 18, 5332, 2134, 10756, 2 ]
} else if (objects[0] instanceof Bond) { count = ((AtomContainer)object).getBondCount();
} else if (objects[0] instanceof ElectronContainer) { count = ((AtomContainer)object).getElectronContainerCount(); } else { logger.warn("Object not counted!");
private DefaultMutableTreeNode getTree(ChemObject object) { DefaultMutableTreeNode node = new ChemObjectTreeNode(object); Class reflectedClass = object.getClass(); // get all fields in this ChemObject Field[] fields = getFields(reflectedClass); // logger.debug(reflectedClass.getName() + " #fields: " + fields.length); for (int i=0; i<fields.length; i++) { Field f = fields[i]; f.setAccessible(true); // logger.debug("Field name: " + f.getName()); // logger.debug("Field type: " + f.getType().getName()); try { // get an instance of the object in the field Object fieldObject = f.get(object); if (fieldObject != null) { // logger.debug("Field value: " + fieldObject.getClass().getName()); if (fieldObject instanceof ChemObject) { // yes, found a ChemObject! // logger.debug("Recursing into this object"); node.add(getTree((ChemObject)fieldObject)); } else if (fieldObject instanceof ChemObject[]) { // yes, found a Array! // logger.debug("Recursing into this Array"); // determine what kind of Array ChemObject[] objects = (ChemObject[])fieldObject; int count = objects.length; // Because the count above gives the array length and not the number // of not null objects the array, some intelligence must be added if (object instanceof AtomContainer) { if (objects[0] instanceof Atom) { count = ((AtomContainer)object).getAtomCount(); } else if (objects[0] instanceof Bond) { count = ((AtomContainer)object).getBondCount(); } } // now start actual looping over child objects for (int j=0; j<objects.length; j++) { if (objects[j] != null) { node.add(getTree(objects[j])); } } } } else { //logger.debug("Field value: null"); } } catch (Exception e) { logger.error(e.toString()); } } return node; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/a087356949ddf5adf7b02ebd8111b72c53eab132/ChemObjectTree.java/clean/src/org/openscience/cdk/applications/swing/ChemObjectTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2989, 19536, 12513, 15867, 12, 20200, 921, 733, 13, 288, 3639, 2989, 19536, 12513, 756, 273, 394, 26542, 921, 12513, 12, 1612, 1769, 3639, 1659, 21591, 797, 273, 733, 18, 588, 797, 5621, 3639, 368, 336, 777, 1466, 316, 333, 26542, 921, 3639, 2286, 8526, 1466, 273, 12612, 12, 1734, 1582, 329, 797, 1769, 3639, 368, 1194, 18, 4148, 12, 1734, 1582, 329, 797, 18, 17994, 1435, 397, 315, 468, 2821, 30, 315, 397, 1466, 18, 2469, 1769, 540, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2821, 18, 2469, 31, 277, 27245, 288, 5411, 2286, 284, 273, 1466, 63, 77, 15533, 5411, 284, 18, 542, 10451, 12, 3767, 1769, 5411, 368, 1194, 18, 4148, 2932, 974, 508, 30, 315, 397, 284, 18, 17994, 10663, 5411, 368, 1194, 18, 4148, 2932, 974, 618, 30, 315, 397, 284, 18, 588, 559, 7675, 17994, 10663, 5411, 775, 288, 7734, 368, 336, 392, 791, 434, 326, 733, 316, 326, 652, 7734, 1033, 652, 921, 273, 284, 18, 588, 12, 1612, 1769, 7734, 309, 261, 1518, 921, 480, 446, 13, 288, 10792, 368, 1194, 18, 4148, 2932, 974, 460, 30, 315, 397, 652, 921, 18, 588, 797, 7675, 17994, 10663, 10792, 309, 261, 1518, 921, 1276, 26542, 921, 13, 288, 13491, 368, 12465, 16, 1392, 279, 26542, 921, 5, 13491, 368, 1194, 18, 4148, 2932, 426, 1397, 2470, 1368, 333, 733, 8863, 13491, 756, 18, 1289, 12, 588, 2471, 12443, 20200, 921, 13, 1518, 921, 10019, 10792, 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, 3238, 2989, 19536, 12513, 15867, 12, 20200, 921, 733, 13, 288, 3639, 2989, 19536, 12513, 756, 273, 394, 26542, 921, 12513, 12, 1612, 1769, 3639, 1659, 21591, 797, 273, 733, 18, 588, 797, 5621, 3639, 368, 336, 777, 1466, 316, 333, 26542, 921, 3639, 2286, 8526, 1466, 273, 12612, 12, 1734, 1582, 329, 797, 1769, 3639, 368, 1194, 18, 4148, 12, 1734, 1582, 329, 797, 18, 17994, 1435, 397, 315, 468, 2821, 30, 315, 397, 1466, 18, 2469, 1769, 540, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2821, 18, 2469, 31, 277, 27245, 288, 5411, 2286, 284, 273, 1466, 63, 77, 15533, 5411, 284, 18, 542, 10451, 12, 3767, 1769, 5411, 368, 1194, 18, 4148, 2932, 2 ]
+ (offset + len -1) + "]" );
+ (offset + len -1) + ']');
public RAOutputStream(String pref) throws IOException { raf = new RandomAccessFile(file, "rw"); raf.seek(offset + localOffset); println(" -- Created new OutputStream [" + offset + ", " + (offset + len -1) + "]" ); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/62fd59041864b4ed1f43adc676de6bfb5ea977f3/RandomAccessFileBucket.java/clean/src/freenet/support/io/RandomAccessFileBucket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 26880, 4632, 12, 780, 11307, 13, 1216, 1860, 288, 5411, 24671, 273, 394, 8072, 26933, 12, 768, 16, 315, 21878, 8863, 5411, 24671, 18, 16508, 12, 3348, 397, 1191, 2335, 1769, 5411, 3785, 2932, 1493, 12953, 394, 8962, 8247, 397, 1384, 397, 3104, 315, 5397, 397, 261, 3348, 397, 562, 300, 21, 13, 397, 8641, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 26880, 4632, 12, 780, 11307, 13, 1216, 1860, 288, 5411, 24671, 273, 394, 8072, 26933, 12, 768, 16, 315, 21878, 8863, 5411, 24671, 18, 16508, 12, 3348, 397, 1191, 2335, 1769, 5411, 3785, 2932, 1493, 12953, 394, 8962, 8247, 397, 1384, 397, 3104, 315, 5397, 397, 261, 3348, 397, 562, 300, 21, 13, 397, 8641, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
attrcopy.put(attrname, torender.target.getValue());
if (attrname != null) { attrcopy.put(attrname, torender.target.getValue()); }
public int renderComponent(UIComponent torendero, XMLLump[] lumps, int lumpindex, PrintOutputStream pos) { XMLWriter xmlw = new XMLWriter(pos); XMLLump lump = lumps[lumpindex]; int nextpos = -1; XMLLump outerendopen = lump.open_end; XMLLump outerclose = lump.close_tag; nextpos = outerclose.lumpindex + 1; XMLLumpList payloadlist = lump.downmap == null ? null : lump.downmap.hasID(XMLLump.PAYLOAD_COMPONENT) ? lump.downmap .headsForID(XMLLump.PAYLOAD_COMPONENT) : null; XMLLump payload = payloadlist == null ? null : payloadlist.lumpAt(0); // if there is no peer component, it might still be a static resource holder // that needs URLs rewriting. // we assume there is no payload component here, since there is no producer // ID that might govern selection. So we use "outer" indices. if (torendero == null) { if (lump.rsfID.startsWith(XMLLump.SCR_PREFIX)) { String scrname = lump.rsfID.substring(XMLLump.SCR_PREFIX.length()); StaticComponentRenderer scr = scrc.getSCR(scrname); if (scr != null) { int tagtype = scr.render(lumps, lumpindex, xmlw); nextpos = tagtype == ComponentRenderer.LEAF_TAG ? outerclose.lumpindex + 1 : outerendopen.lumpindex + 1; } } if (lump.textEquals("<form ")) { Logger.log.warn("Warning: skipping form tag with rsf:id " + lump.rsfID + " and all children at " + lump.toDebugString() + " since no peer component"); } } else { // else there IS a component and we are going to render it. First make // sure we render any preamble. XMLLump endopen = outerendopen; XMLLump close = outerclose; XMLLump uselump = lump; if (payload != null) { endopen = payload.open_end; close = payload.close_tag; uselump = payload; RenderUtil.dumpTillLump(lumps, lumpindex, payload.lumpindex, pos); lumpindex = payload.lumpindex; } String fullID = torendero.getFullID(); HashMap attrcopy = new HashMap(); attrcopy.putAll(uselump.attributemap); attrcopy.put("id", fullID); attrcopy.remove(XMLLump.ID_ATTRIBUTE); // ALWAYS dump the tag name, this can never be rewritten. (probably?!) pos.write(uselump.buffer, uselump.start, uselump.length); // TODO: Note that these are actually BOUND now. Create some kind of // defaultBoundRenderer. if (torendero instanceof UIBound) { UIBound torender = (UIBound) torendero; if (!torender.willinput) { if (torendero.getClass() == UIOutput.class) { String value = ((UIOutput) torendero).getValue(); if (UITypes.isPlaceholder(value)) { RenderUtil.dumpTillLump(lumps, lumpindex + 1, close.lumpindex + 1, pos); } else { XMLUtil.dumpAttributes(attrcopy, xmlw); pos.print(">"); xmlw.write(value); closeTag(pos, uselump); } } else if (torendero.getClass() == UIOutputMultiline.class) { StringList value = ((UIOutputMultiline) torendero).getValue(); if (value == null) { RenderUtil.dumpTillLump(lumps, lumpindex + 1, close.lumpindex + 1, pos); } else { XMLUtil.dumpAttributes(attrcopy, xmlw); pos.print(">"); for (int i = 0; i < value.size(); ++i) { if (i != 0) { pos.print("<br/>"); } xmlw.write(value.stringAt(i)); } closeTag(pos, uselump); } } else if (torender.getClass() == UIAnchor.class) { String value = ((UIAnchor) torendero).getValue(); if (UITypes.isPlaceholder(value)) { RenderUtil.dumpTillLump(lumps, lumpindex + 1, close.lumpindex + 1, pos); } else { attrcopy.put("name", value); XMLUtil.dumpAttributes(attrcopy, xmlw); if (endopen.lumpindex == close.lumpindex) { pos.print("/>"); } else { pos.print(">"); RenderUtil.dumpTillLump(lumps, endopen.lumpindex + 1, close.lumpindex + 1, pos); } } } } // factor out component-invariant processing of UIBound. else { // Bound with willinput = true attrcopy.put("name", fullID); // attrcopy.put("id", fullID); String value = ""; String body = null; if (torender.willinput) { value = ((UIInput) torender).getValue(); if (uselump.textEquals("<textarea ")) { body = value; } else { attrcopy.put("value", value); } } else if (torendero instanceof UIBoundBoolean) { if (((UIBoundBoolean) torender).getValue()) { attrcopy.put("checked", "yes"); // this "value" is thrown away for checkboxes. value = "true"; } else { value = "false"; } // eh? What is the "value" attribute for one of these? attrcopy.put("value", "true"); } XMLUtil.dumpAttributes(attrcopy, xmlw); pos.print(">"); if (body != null) { xmlw.write(body); pos.write(close.buffer, close.start, close.length); } else { RenderUtil.dumpTillLump(lumps, endopen.lumpindex + 1, close.lumpindex + 1, pos); } // unify hidden field processing? ANY parameter children found must // be dumped as hidden fields. } // dump any fossilized binding for this component. dumpBoundFields(torender, xmlw); } // end if UIBound else if (torendero instanceof UISelect) { UISelect select = (UISelect) torendero; // The HTML submitted value from a <select> actually corresponds // with the selection member, not the top-level component. attrcopy.put("name", select.selection.getFullID()); attrcopy.put("id", select.selection.getFullID()); StringSet selected = new StringSet(); if (select.selection instanceof UIBoundList) { selected.addAll(((UIBoundList) select.selection).getValue()); attrcopy.put("multiple", "true"); } else if (select.selection instanceof UIBoundString) { selected.add(((UIBoundString) select.selection).getValue()); } XMLUtil.dumpAttributes(attrcopy, xmlw); pos.print(">"); String[] values = select.optionlist.getValue(); String[] names = select.optionnames == null ? values : select.optionnames.getValue(); for (int i = 0; i < names.length; ++i) { pos.print("<option value=\""); xmlw.write(values[i]); if (selected.contains(values[i])) { pos.print("\" selected=\"true"); } pos.print("\">"); xmlw.write(names[i]); pos.print("</option>\n"); } closeTag(pos, uselump); dumpBoundFields(select.selection, xmlw); dumpBoundFields(select.optionlist, xmlw); dumpBoundFields(select.optionnames, xmlw); } else if (torendero instanceof UILink) { UILink torender = (UILink) torendero; String attrname = URLRewriteSCR.getLinkAttribute(uselump); attrcopy.put(attrname, torender.target.getValue()); XMLUtil.dumpAttributes(attrcopy, xmlw); pos.print(">"); String value = torender.linktext == null? null : torender.linktext.getValue(); if (value != null && !UITypes.isPlaceholder(value)) { xmlw.write(value); closeTag(pos, uselump); } else { RenderUtil.dumpTillLump(lumps, endopen.lumpindex + 1, close.lumpindex + 1, pos); } } else if (torendero instanceof UICommand) { UICommand torender = (UICommand) torendero; String value = RenderUtil.makeURLAttributes(torender.parameters); // any desired "attributes" decoded for JUST THIS ACTION must be // secretly // bundled as this special attribute. attrcopy.put("name", FossilizedConverter.COMMAND_LINK_PARAMETERS + value); if (lump.textEquals("<input ") && torender.commandtext != null) { attrcopy.put("value", torender.commandtext); } XMLUtil.dumpAttributes(attrcopy, xmlw); if (endopen.lumpindex == close.lumpindex) { pos.print("/>"); } else { pos.print(">"); if (torender.commandtext != null && lump.textEquals("<button ")) { xmlw.write(torender.commandtext); closeTag(pos, uselump); } else { RenderUtil.dumpTillLump(lumps, endopen.lumpindex + 1, close.lumpindex + 1, pos); } } // RenderUtil.dumpHiddenField(SubmittedValueEntry.ACTION_METHOD, // torender.actionhandler, pos); } // Forms behave slightly oddly in the hierarchy - by the time they reach // the renderer, they have been "shunted out" of line with their children, // i.e. any "submitting" controls, if indeed they ever were there. else if (torendero instanceof UIForm) { UIForm torender = (UIForm) torendero; attrcopy.put("method", "post"); // yes, we MEAN this! int qpos = torender.postURL.indexOf('?'); // Ensure that any attributes on this postURL if (qpos == -1) { attrcopy.put("action", torender.postURL); } else { attrcopy.put("action", torender.postURL.substring(0, qpos)); String attrs = torender.postURL.substring(qpos + 1); Map attrmap = URLUtil.paramsToMap(attrs, new HashMap()); ParameterList urlparams = ViewParamUtil.mapToParamList(attrmap); torender.parameters.addAll(urlparams); } XMLUtil.dumpAttributes(attrcopy, xmlw); pos.println(">"); for (int i = 0; i < torender.parameters.size(); ++i) { UIParameter param = torender.parameters.parameterAt(i); RenderUtil.dumpHiddenField(param.name, param.value, xmlw); } // override "nextpos" - form is expected to contain numerous nested // Components. // this is the only ANOMALY!! Forms together with payload cannot work. // the fact we are at the wrong recursion level will "come out in the // wash" // since we must return to the base recursion level before we exit this // domain. // Assuming there are no paths *IN* through forms that do not also lead // *OUT* there will be no problem. Check what this *MEANS* tomorrow. nextpos = endopen.lumpindex + 1; } else if (torendero instanceof UIVerbatim) { UIVerbatim torender = (UIVerbatim) torendero; String rendered = null; // inefficient implementation for now, upgrade when we write bulk POS utils. if (torender.markup instanceof InputStream) { rendered = StreamCopyUtil.streamToString((InputStream) torender.markup); } else if (torender.markup instanceof Reader) { rendered = StreamCopyUtil.readerToString((Reader) torender.markup); } else if (torender.markup != null) { rendered = torender.markup.toString(); } if (rendered == null) { RenderUtil.dumpTillLump(lumps, lumpindex + 1, close.lumpindex + 1, pos); } else { XMLUtil.dumpAttributes(attrcopy, xmlw); pos.print(">"); pos.print(rendered); closeTag(pos, uselump); } } // if there is a payload, dump the postamble. if (payload != null) { RenderUtil.dumpTillLump(lumps, close.lumpindex + 1, outerclose.lumpindex + 1, pos); } } return nextpos; }
45809 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45809/a4c7f8d9957debdb35ce5ae3b3600222a8efab51/BasicHTMLRenderSystem.java/buggy/src/uk/org/ponder/rsf/renderer/html/BasicHTMLRenderSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 1743, 1841, 12, 5370, 1841, 358, 5902, 83, 16, 3167, 48, 2801, 8526, 328, 23868, 16, 1377, 509, 328, 2801, 1615, 16, 3038, 4632, 949, 13, 288, 565, 3167, 2289, 2025, 91, 273, 394, 3167, 2289, 12, 917, 1769, 565, 3167, 48, 2801, 328, 2801, 273, 328, 23868, 63, 80, 2801, 1615, 15533, 565, 509, 1024, 917, 273, 300, 21, 31, 565, 3167, 48, 2801, 6390, 409, 3190, 273, 328, 2801, 18, 3190, 67, 409, 31, 565, 3167, 48, 2801, 6390, 4412, 273, 328, 2801, 18, 4412, 67, 2692, 31, 565, 1024, 917, 273, 6390, 4412, 18, 80, 2801, 1615, 397, 404, 31, 565, 3167, 48, 2801, 682, 2385, 1098, 273, 328, 2801, 18, 2378, 1458, 422, 446, 692, 446, 3639, 294, 328, 2801, 18, 2378, 1458, 18, 5332, 734, 12, 4201, 48, 2801, 18, 11389, 7783, 67, 22922, 13, 692, 328, 2801, 18, 2378, 1458, 5411, 263, 20263, 1290, 734, 12, 4201, 48, 2801, 18, 11389, 7783, 67, 22922, 13, 5411, 294, 446, 31, 565, 3167, 48, 2801, 2385, 273, 2385, 1098, 422, 446, 692, 446, 3639, 294, 2385, 1098, 18, 80, 2801, 861, 12, 20, 1769, 565, 368, 309, 1915, 353, 1158, 4261, 1794, 16, 518, 4825, 4859, 506, 279, 760, 1058, 10438, 565, 368, 716, 4260, 10414, 283, 14345, 18, 565, 368, 732, 6750, 1915, 353, 1158, 2385, 1794, 2674, 16, 3241, 1915, 353, 1158, 12608, 565, 368, 1599, 716, 4825, 314, 1643, 82, 4421, 18, 6155, 732, 999, 315, 14068, 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, 509, 1743, 1841, 12, 5370, 1841, 358, 5902, 83, 16, 3167, 48, 2801, 8526, 328, 23868, 16, 1377, 509, 328, 2801, 1615, 16, 3038, 4632, 949, 13, 288, 565, 3167, 2289, 2025, 91, 273, 394, 3167, 2289, 12, 917, 1769, 565, 3167, 48, 2801, 328, 2801, 273, 328, 23868, 63, 80, 2801, 1615, 15533, 565, 509, 1024, 917, 273, 300, 21, 31, 565, 3167, 48, 2801, 6390, 409, 3190, 273, 328, 2801, 18, 3190, 67, 409, 31, 565, 3167, 48, 2801, 6390, 4412, 273, 328, 2801, 18, 4412, 67, 2692, 31, 565, 1024, 917, 273, 6390, 4412, 18, 80, 2801, 1615, 397, 404, 31, 565, 3167, 48, 2801, 682, 2385, 1098, 273, 328, 2801, 18, 2378, 1458, 2 ]
if (ruby.getInterpreter().getDynamicVars() != null)
if (ruby.getDynamicVars() != null)
top_local_init() { local_push(); lvtbl.cnt = ruby.getRubyScope().getLocalTbl() != null ? ruby.getRubyScope().getLocalTbl(0).intValue() : 0; if (lvtbl.cnt > 0) { lvtbl.tbl = new ID[lvtbl.cnt+3]; System.arraycopy(lvtbl.tbl, 0, ruby.getRubyScope().getLocalTbl(), 0, lvtbl.cnt+1); } else { lvtbl.tbl = null; } if (ruby.getInterpreter().getDynamicVars() != null) lvtbl.dlev = 1; else lvtbl.dlev = 0; }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/a2024bddc1b8e83f4e8075d2080935c221a833fe/parse.java/clean/org/jruby/parser/parse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1760, 67, 3729, 67, 2738, 1435, 565, 288, 3639, 1191, 67, 6206, 5621, 3639, 5362, 16187, 18, 13085, 273, 22155, 18, 588, 54, 10340, 3876, 7675, 588, 2042, 22592, 1435, 480, 446, 692, 22155, 18, 588, 54, 10340, 3876, 7675, 588, 2042, 22592, 12, 20, 2934, 474, 620, 1435, 294, 374, 31, 3639, 309, 261, 3070, 16187, 18, 13085, 405, 374, 13, 288, 5411, 5362, 16187, 18, 16187, 273, 394, 1599, 63, 3070, 16187, 18, 13085, 15, 23, 15533, 202, 565, 2332, 18, 1126, 3530, 12, 3070, 16187, 18, 16187, 16, 374, 16, 22155, 18, 588, 54, 10340, 3876, 7675, 588, 2042, 22592, 9334, 374, 16, 5362, 16187, 18, 13085, 15, 21, 1769, 3639, 289, 3639, 469, 288, 5411, 5362, 16187, 18, 16187, 273, 446, 31, 3639, 289, 3639, 309, 261, 27768, 18, 588, 9791, 5555, 1435, 480, 446, 13, 5411, 5362, 16187, 18, 72, 298, 90, 273, 404, 31, 3639, 469, 5411, 5362, 16187, 18, 72, 298, 90, 273, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1760, 67, 3729, 67, 2738, 1435, 565, 288, 3639, 1191, 67, 6206, 5621, 3639, 5362, 16187, 18, 13085, 273, 22155, 18, 588, 54, 10340, 3876, 7675, 588, 2042, 22592, 1435, 480, 446, 692, 22155, 18, 588, 54, 10340, 3876, 7675, 588, 2042, 22592, 12, 20, 2934, 474, 620, 1435, 294, 374, 31, 3639, 309, 261, 3070, 16187, 18, 13085, 405, 374, 13, 288, 5411, 5362, 16187, 18, 16187, 273, 394, 1599, 63, 3070, 16187, 18, 13085, 15, 23, 15533, 202, 565, 2332, 18, 1126, 3530, 12, 3070, 16187, 18, 16187, 16, 374, 16, 22155, 18, 588, 54, 10340, 3876, 7675, 588, 2042, 22592, 9334, 374, 16, 5362, 16187, 18, 13085, 15, 21, 1769, 3639, 289, 3639, 469, 288, 2 ]
private static String getFileSuffix(File file) { String name = file.getName().toLowerCase(); int lastDot = name.lastIndexOf('.'); if (lastDot < 0) { return null; } return name.substring(lastDot + 1);
public static String getFileSuffix(File file) { return getFileSuffix(file.getName());
private static String getFileSuffix(File file) { String name = file.getName().toLowerCase(); int lastDot = name.lastIndexOf('.'); if (lastDot < 0) { return null; } return name.substring(lastDot + 1); }
47702 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47702/31c51bc71190ba7bbb28f3706e31b8a3c17a1f00/TextureIO.java/clean/src/classes/com/sun/opengl/utils/TextureIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 514, 6034, 5791, 12, 812, 585, 13, 288, 565, 514, 508, 273, 585, 18, 17994, 7675, 869, 5630, 5621, 565, 509, 1142, 10412, 273, 508, 18, 2722, 31985, 2668, 1093, 1769, 565, 309, 261, 2722, 10412, 411, 374, 13, 288, 1377, 327, 446, 31, 565, 289, 565, 327, 508, 18, 28023, 12, 2722, 10412, 397, 404, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 514, 6034, 5791, 12, 812, 585, 13, 288, 565, 514, 508, 273, 585, 18, 17994, 7675, 869, 5630, 5621, 565, 509, 1142, 10412, 273, 508, 18, 2722, 31985, 2668, 1093, 1769, 565, 309, 261, 2722, 10412, 411, 374, 13, 288, 1377, 327, 446, 31, 565, 289, 565, 327, 508, 18, 28023, 12, 2722, 10412, 397, 404, 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 ]
extends ConnectorEndpointTracker {
extends ConnectionEndpointTracker {
public void testReorientRectilinear_bugzilla113003() throws Exception { try { getFixture().openDiagram(); // Add a notes. NoteEditPart note1EP = (NoteEditPart) getFixture() .createShapeUsingTool(PresentationNotationType.NOTE, new Point(10, 10)); NoteEditPart note2EP = (NoteEditPart) getFixture() .createShapeUsingTool(PresentationNotationType.NOTE, new Point(300, 10)); ConnectionNodeEditPart line = (ConnectionNodeEditPart) getFixture() .createConnectorUsingTool(note1EP, note2EP, GeoshapeType.LINE); flushEventQueue(); Request request = new ChangePropertyValueRequest( StringStatics.BLANK, Properties.ID_ROUTING, Routing.RECTILINEAR_LITERAL ); Command cmd = line.getCommand( request ); getCommandStack().execute(cmd); // Now move the line in order to create 2 bendpoints PointList pointList = line.getConnectionFigure().getPoints(); PointList newpts = new PointList(3); newpts.addPoint(new Point(pointList.getFirstPoint())); newpts.addPoint(new Point(new Point(150, 100))); newpts.addPoint(new Point(pointList.getLastPoint())); Point r1 = new Point(pointList.getFirstPoint()); Point r2 = new Point(pointList.getLastPoint()); SetConnectorBendpointsCommand bendpointsChanged = new SetConnectorBendpointsCommand(); bendpointsChanged.setConnectorAdapter(new EObjectAdapter(line.getNotationView())); bendpointsChanged.setNewPointList(newpts, r1, r2); getCommandStack().execute(new EtoolsProxyCommand(bendpointsChanged)); flushEventQueue(); assertTrue(line.getConnectionFigure().getPoints().size() == 4); class MyConnectorEndpointTracker extends ConnectorEndpointTracker { private Point location; public MyConnectorEndpointTracker(ConnectionEditPart cep, Point location) { super(cep); this.location = location; } public boolean handleDragInProgress() { return super.handleDragInProgress(); } public Request getTargetRequest() { return super.getTargetRequest(); } public Point getLocation() { return location; } public boolean updateTargetUnderMouse() { return false; } } assertTrue(pointList.size() > 1); assertFalse(pointList.getFirstPoint().equals( pointList.getLastPoint())); // track it into space... Point newSrcPoint = new Point(500, 500); MyConnectorEndpointTracker tracker = new MyConnectorEndpointTracker( line, newSrcPoint); tracker.setCommandName(RequestConstants.REQ_RECONNECT_SOURCE); tracker.setConnectionEditPart(line); tracker.handleDragInProgress(); line.getConnectionFigure().revalidate(); } catch (Exception ex) { ex.printStackTrace(); } finally { getFixture().closeDiagram(); } }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/ConnectorTests.java/clean/org.eclipse.gmf.runtime/tests/org.eclipse.gmf.tests.runtime.diagram.ui/src/org/eclipse/gmf/tests/runtime/diagram/ui/ConnectorTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 426, 14766, 6120, 12554, 297, 67, 925, 15990, 2499, 19249, 23, 1435, 202, 202, 15069, 1185, 288, 202, 202, 698, 288, 1082, 202, 588, 26392, 7675, 3190, 14058, 1940, 5621, 1082, 202, 759, 1436, 279, 10913, 18, 1082, 202, 8067, 4666, 1988, 4721, 21, 10541, 273, 261, 8067, 4666, 1988, 13, 2812, 697, 10970, 1435, 9506, 202, 18, 2640, 8500, 7736, 6364, 12, 6351, 367, 14818, 559, 18, 17857, 16, 6862, 202, 2704, 4686, 12, 2163, 16, 1728, 10019, 1082, 202, 8067, 4666, 1988, 4721, 22, 10541, 273, 261, 8067, 4666, 1988, 13, 2812, 697, 10970, 1435, 1082, 202, 18, 2640, 8500, 7736, 6364, 12, 6351, 367, 14818, 559, 18, 17857, 16, 9506, 202, 2704, 4686, 12, 19249, 16, 1728, 10019, 25083, 202, 1952, 907, 4666, 1988, 980, 273, 261, 1952, 907, 4666, 1988, 13, 2812, 697, 10970, 1435, 1082, 202, 18, 2640, 7487, 7736, 6364, 12, 7652, 21, 10541, 16, 4721, 22, 10541, 16, 15391, 538, 6560, 559, 18, 5997, 1769, 25083, 202, 11330, 1133, 3183, 5621, 1082, 202, 691, 590, 273, 394, 7576, 16107, 691, 12, 9506, 202, 780, 5000, 2102, 18, 38, 24307, 16, 9506, 202, 2297, 18, 734, 67, 1457, 1693, 1360, 16, 9506, 202, 13966, 18, 4512, 30690, 985, 67, 23225, 11272, 6862, 202, 2189, 1797, 273, 980, 18, 588, 2189, 12, 590, 11272, 1082, 202, 588, 2189, 2624, 7675, 8837, 12, 4172, 1769, 1082, 202, 759, 4494, 3635, 326, 980, 316, 1353, 358, 752, 576, 324, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 426, 14766, 6120, 12554, 297, 67, 925, 15990, 2499, 19249, 23, 1435, 202, 202, 15069, 1185, 288, 202, 202, 698, 288, 1082, 202, 588, 26392, 7675, 3190, 14058, 1940, 5621, 1082, 202, 759, 1436, 279, 10913, 18, 1082, 202, 8067, 4666, 1988, 4721, 21, 10541, 273, 261, 8067, 4666, 1988, 13, 2812, 697, 10970, 1435, 9506, 202, 18, 2640, 8500, 7736, 6364, 12, 6351, 367, 14818, 559, 18, 17857, 16, 6862, 202, 2704, 4686, 12, 2163, 16, 1728, 10019, 1082, 202, 8067, 4666, 1988, 4721, 22, 10541, 273, 261, 8067, 4666, 1988, 13, 2812, 697, 10970, 1435, 1082, 202, 18, 2640, 8500, 7736, 6364, 12, 6351, 367, 14818, 559, 18, 17857, 16, 9506, 202, 2 ]
public void setValues(String name, String publicId, String systemId) {
public void setValues(String name, String publicId, String systemId, String baseSystemId) {
public void setValues(String name, String publicId, String systemId) { this.name = name; this.publicId = publicId; this.systemId = systemId; } // setValues
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/bda39ebfdde5204af457e868d6a2908461900e9f/XMLNotationDecl.java/buggy/src/org/apache/xerces/impl/dtd/XMLNotationDecl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 27466, 12, 780, 508, 16, 514, 1071, 548, 16, 514, 30083, 16, 514, 1026, 3163, 548, 13, 288, 3639, 333, 18, 529, 377, 273, 282, 508, 31, 3639, 333, 18, 482, 548, 273, 1071, 548, 31, 3639, 333, 18, 4299, 548, 273, 30083, 31, 565, 289, 368, 27466, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 27466, 12, 780, 508, 16, 514, 1071, 548, 16, 514, 30083, 16, 514, 1026, 3163, 548, 13, 288, 3639, 333, 18, 529, 377, 273, 282, 508, 31, 3639, 333, 18, 482, 548, 273, 1071, 548, 31, 3639, 333, 18, 4299, 548, 273, 30083, 31, 565, 289, 368, 27466, 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 ]
double padding = 0; if (totalCapacity > MIN_SLOTS_FOR_PADDING) { padding = Math.min(maxCurrentTasks, totalNeededReduces * PAD_FRACTION);
int padding = 0; if (numTaskTrackers > MIN_CLUSTER_SIZE_FOR_PADDING) { padding = Math.min(maxCurrentTasks, (int) (totalNeededReduces * PAD_FRACTION));
public synchronized Task pollForNewTask(String taskTracker) { // // Compute average map and reduce task numbers across pool // int avgMaps = 0; int avgReduces = 0; int remainingReduceLoad = 0; int remainingMapLoad = 0; int numTaskTrackers; TaskTrackerStatus tts; int avgMapLoad = 0; int avgReduceLoad = 0; synchronized (taskTrackers) { numTaskTrackers = taskTrackers.size(); tts = (TaskTrackerStatus) taskTrackers.get(taskTracker); } synchronized(jobsByArrival){ for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { JobInProgress job = (JobInProgress) it.next(); if (job.getStatus().getRunState() == JobStatus.RUNNING) { int totalMapTasks = job.desiredMaps(); int totalReduceTasks = job.desiredReduces(); remainingMapLoad += (totalMapTasks - job.finishedMaps()); remainingReduceLoad += (totalReduceTasks - job.finishedReduces()); } } } if (numTaskTrackers > 0) { avgMaps = totalMaps / numTaskTrackers; avgReduces = totalReduces / numTaskTrackers; avgMapLoad = remainingMapLoad / numTaskTrackers; avgReduceLoad = remainingReduceLoad / numTaskTrackers; } int totalCapacity = numTaskTrackers * maxCurrentTasks; // // Get map + reduce counts for the current tracker. // if (tts == null) { LOG.warn("Unknown task tracker polling; ignoring: " + taskTracker); return null; } int numMaps = tts.countMapTasks(); int numReduces = tts.countReduceTasks(); // // In the below steps, we allocate first a map task (if appropriate), // and then a reduce task if appropriate. We go through all jobs // in order of job arrival; jobs only get serviced if their // predecessors are serviced, too. // // // We hand a task to the current taskTracker if the given machine // has a workload that's equal to or less than the pendingMaps average. // This way the maps are launched if the TaskTracker has running tasks // less than the pending average // +/- TASK_ALLOC_EPSILON. (That epsilon is in place in case // there is an odd machine that is failing for some reason but // has not yet been removed from the pool, making capacity seem // larger than it really is.) // synchronized (jobsByArrival) { if ((numMaps < maxCurrentTasks) && (numMaps <= avgMapLoad + 1 + TASK_ALLOC_EPSILON)) { int totalNeededMaps = 0; for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { JobInProgress job = (JobInProgress) it.next(); if (job.getStatus().getRunState() != JobStatus.RUNNING) { continue; } Task t = job.obtainNewMapTask(taskTracker, tts); if (t != null) { expireLaunchingTasks.addNewTask(t.getTaskId()); return t; } // // Beyond the highest-priority task, reserve a little // room for failures and speculative executions; don't // schedule tasks to the hilt. // totalNeededMaps += job.desiredMaps(); double padding = 0; if (totalCapacity > MIN_SLOTS_FOR_PADDING) { padding = Math.min(maxCurrentTasks, totalNeededMaps * PAD_FRACTION); } if (totalNeededMaps + padding >= totalCapacity) { break; } } } // // Same thing, but for reduce tasks // if ((numReduces < maxCurrentTasks) && (numReduces <= avgReduceLoad + 1 + TASK_ALLOC_EPSILON)) { int totalNeededReduces = 0; for (Iterator it = jobsByArrival.iterator(); it.hasNext(); ) { JobInProgress job = (JobInProgress) it.next(); if (job.getStatus().getRunState() != JobStatus.RUNNING) { continue; } Task t = job.obtainNewReduceTask(taskTracker, tts); if (t != null) { expireLaunchingTasks.addNewTask(t.getTaskId()); return t; } // // Beyond the highest-priority task, reserve a little // room for failures and speculative executions; don't // schedule tasks to the hilt. // totalNeededReduces += job.desiredReduces(); double padding = 0; if (totalCapacity > MIN_SLOTS_FOR_PADDING) { padding = Math.min(maxCurrentTasks, totalNeededReduces * PAD_FRACTION); } if (totalNeededReduces + padding >= totalCapacity) { break; } } } } return null; }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/51b0536a45e19d6c2518e01b9121d6ca5d465076/JobTracker.java/buggy/src/java/org/apache/hadoop/mapred/JobTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 3837, 7672, 1290, 1908, 2174, 12, 780, 1562, 8135, 13, 288, 3639, 368, 3639, 368, 8155, 8164, 852, 471, 5459, 1562, 5600, 10279, 2845, 3639, 368, 3639, 509, 11152, 8903, 273, 374, 31, 3639, 509, 11152, 16911, 764, 273, 374, 31, 3639, 509, 4463, 12944, 2563, 273, 374, 31, 3639, 509, 4463, 863, 2563, 273, 374, 31, 3639, 509, 818, 2174, 4402, 414, 31, 3639, 3837, 8135, 1482, 268, 3428, 31, 3639, 509, 11152, 863, 2563, 273, 374, 31, 3639, 509, 11152, 12944, 2563, 273, 374, 31, 202, 3639, 3852, 261, 4146, 4402, 414, 13, 288, 1850, 818, 2174, 4402, 414, 273, 1562, 4402, 414, 18, 1467, 5621, 1850, 268, 3428, 273, 261, 2174, 8135, 1482, 13, 1562, 4402, 414, 18, 588, 12, 4146, 8135, 1769, 3639, 289, 3639, 3852, 12, 10088, 858, 5715, 5162, 15329, 5411, 364, 261, 3198, 518, 273, 6550, 858, 5715, 5162, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 10792, 3956, 13434, 1719, 273, 261, 2278, 13434, 13, 518, 18, 4285, 5621, 10792, 309, 261, 4688, 18, 588, 1482, 7675, 588, 1997, 1119, 1435, 422, 25852, 18, 29358, 13, 288, 7682, 509, 2078, 863, 6685, 273, 1719, 18, 30458, 8903, 5621, 7682, 509, 2078, 12944, 6685, 273, 1719, 18, 30458, 16911, 764, 5621, 7682, 4463, 863, 2563, 1011, 261, 4963, 863, 6685, 300, 1719, 18, 13527, 8903, 10663, 7682, 4463, 12944, 2563, 1011, 261, 4963, 12944, 6685, 300, 1719, 18, 13527, 16911, 764, 10663, 10792, 289, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 3837, 7672, 1290, 1908, 2174, 12, 780, 1562, 8135, 13, 288, 3639, 368, 3639, 368, 8155, 8164, 852, 471, 5459, 1562, 5600, 10279, 2845, 3639, 368, 3639, 509, 11152, 8903, 273, 374, 31, 3639, 509, 11152, 16911, 764, 273, 374, 31, 3639, 509, 4463, 12944, 2563, 273, 374, 31, 3639, 509, 4463, 863, 2563, 273, 374, 31, 3639, 509, 818, 2174, 4402, 414, 31, 3639, 3837, 8135, 1482, 268, 3428, 31, 3639, 509, 11152, 863, 2563, 273, 374, 31, 3639, 509, 11152, 12944, 2563, 273, 374, 31, 202, 3639, 3852, 261, 4146, 4402, 414, 13, 288, 1850, 818, 2174, 4402, 414, 273, 1562, 4402, 414, 18, 1467, 5621, 1850, 268, 3428, 273, 261, 2174, 8135, 1482, 2 ]
propFileName = baseName + "_" + lc.getLanguage( ) + "_" + lc.getCountry( ) + ".properties";
if ( folderName.endsWith( File.separator ) ) { fullBaseName = folderName + baseName + ".properties"; } else { fullBaseName = folderName + File.separator + baseName + ".properties"; } f = new File( fullBaseName ); if ( f.exists( ) && f.isFile( ) ) { try { FileInputStream fis = new FileInputStream( f ); content.load( fis ); fis.close( ); propFileName = fullBaseName; return; } catch ( FileNotFoundException e ) { } catch ( IOException e ) { } } if ( folderName.endsWith( File.separator ) ) { propFileName = folderName + baseName + "_" + lc.getLanguage( ) + "_" + lc.getCountry( ) + ".properties"; } else { propFileName = folderName + File.separator + baseName + "_" + lc.getLanguage( ) + "_" + lc.getCountry( ) + ".properties"; }
private void loadMessage( ) { if ( folderName == null || baseName == null ) { return; } ULocale lc = SessionHandleAdapter.getInstance( ) .getSessionHandle( ) .getULocale( ); String fullBaseName = folderName + File.separator + baseName + "_" //$NON-NLS-1$ + lc.getLanguage( ) + "_" + lc.getCountry( ) + ".properties"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ File f = new File( fullBaseName ); if ( f.exists( ) && f.isFile( ) ) { try { FileInputStream fis = new FileInputStream( f ); content.load( fis ); fis.close( ); propFileName = f.getName( ); return; } catch ( FileNotFoundException e ) { // ignore. } catch ( IOException e ) { // ignore. } } fullBaseName = folderName + File.separator + baseName + "_" //$NON-NLS-1$ + lc.getLanguage( ) + ".properties"; //$NON-NLS-1$ //$NON-NLS-2$ f = new File( fullBaseName ); if ( f.exists( ) && f.isFile( ) ) { try { FileInputStream fis = new FileInputStream( f ); content.load( fis ); fis.close( ); propFileName = f.getName( ); return; } catch ( FileNotFoundException e ) { // ignore. } catch ( IOException e ) { // ignore. } } fullBaseName = folderName + File.separator + baseName + ".properties"; //$NON-NLS-1$ f = new File( fullBaseName ); if ( f.exists( ) && f.isFile( ) ) { try { FileInputStream fis = new FileInputStream( f ); content.load( fis ); fis.close( ); propFileName = fullBaseName; return; } catch ( FileNotFoundException e ) { // ignore. } catch ( IOException e ) { // ignore. } } propFileName = baseName + "_" + lc.getLanguage( ) + "_" //$NON-NLS-1$ //$NON-NLS-2$ + lc.getCountry( ) + ".properties"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f7de5d599a66c3ec5085f1cdbed02150d45206bf/ResourceEditDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ResourceEditDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1262, 1079, 12, 262, 202, 95, 202, 202, 430, 261, 31814, 422, 446, 747, 16162, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 57, 3916, 9109, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 2157, 3259, 12, 262, 9506, 202, 18, 588, 57, 3916, 12, 11272, 202, 202, 780, 1983, 29907, 273, 31814, 397, 1387, 18, 11287, 397, 16162, 397, 8802, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 9109, 18, 588, 3779, 12, 262, 9506, 202, 15, 8802, 397, 9109, 18, 588, 8142, 12, 262, 397, 3552, 4738, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 4329, 3993, 17, 5106, 17, 23, 8, 202, 202, 812, 284, 273, 394, 1387, 12, 1983, 29907, 11272, 202, 202, 430, 261, 284, 18, 1808, 12, 262, 597, 284, 18, 291, 812, 12, 262, 262, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 812, 4348, 15324, 273, 394, 11907, 12, 284, 11272, 9506, 202, 1745, 18, 945, 12, 15324, 11272, 9506, 202, 74, 291, 18, 4412, 12, 11272, 9506, 202, 5986, 4771, 273, 284, 18, 17994, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 14683, 261, 13707, 425, 262, 1082, 202, 95, 9506, 202, 759, 2305, 18, 1082, 202, 97, 1082, 202, 14683, 261, 1860, 425, 262, 1082, 202, 95, 9506, 202, 759, 2305, 18, 1082, 202, 97, 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, 1152, 918, 1262, 1079, 12, 262, 202, 95, 202, 202, 430, 261, 31814, 422, 446, 747, 16162, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 57, 3916, 9109, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 2157, 3259, 12, 262, 9506, 202, 18, 588, 57, 3916, 12, 11272, 202, 202, 780, 1983, 29907, 273, 31814, 397, 1387, 18, 11287, 397, 16162, 397, 8802, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 9109, 18, 588, 3779, 12, 262, 9506, 202, 15, 8802, 397, 9109, 18, 588, 8142, 12, 262, 397, 3552, 4738, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 2 ]
super(Collections.EMPTY_LIST);
super(new Trigger[0]);
public TestTriggerSequence() { super(Collections.EMPTY_LIST); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/419e3fe3a65aaac0eb4f974d711712853ff084e6/TestBinding.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/TestBinding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 7766, 6518, 4021, 1435, 288, 1082, 202, 9565, 12, 15150, 18, 13625, 67, 7085, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 7766, 6518, 4021, 1435, 288, 1082, 202, 9565, 12, 15150, 18, 13625, 67, 7085, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i = 0; i < node.getChildCount(); i++) { TreeNode child = node.getChildAt(i); if (child instanceof LoadingNode) { if (TreeBuilderUtil.isNodeOrChildSelected(myTree, node)) { myTree.addSelectionPath(new TreePath(myTreeModel.getPathToRoot(node))); } myTreeModel.removeNodeFromParent((MutableTreeNode)child); break; } } } }
myTreeStructure.getChildElements(element); }
public void run() { descriptor.update(); Object element = descriptor.getElement(); if (element != null) { myUnbuiltNodes.remove(node); myUpdater.addSubtreeToUpdateByElement(element); myUpdater.performUpdate(); for (int i = 0; i < node.getChildCount(); i++) { TreeNode child = node.getChildAt(i); if (child instanceof LoadingNode) { if (TreeBuilderUtil.isNodeOrChildSelected(myTree, node)) { myTree.addSelectionPath(new TreePath(myTreeModel.getPathToRoot(node))); } myTreeModel.removeNodeFromParent((MutableTreeNode)child); break; } } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/100def6e9fe26bba3206e24fd68301c8585501e0/AbstractTreeBuilder.java/clean/source/com/intellij/ide/util/treeView/AbstractTreeBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 4950, 18, 2725, 5621, 1850, 1033, 930, 273, 4950, 18, 21336, 5621, 1850, 309, 261, 2956, 480, 446, 13, 288, 5411, 3399, 984, 12406, 3205, 18, 4479, 12, 2159, 1769, 5411, 3399, 15305, 18, 1289, 18615, 21267, 858, 1046, 12, 2956, 1769, 5411, 3399, 15305, 18, 16092, 1891, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 756, 18, 588, 1763, 1380, 5621, 277, 27245, 288, 2868, 20270, 1151, 273, 756, 18, 588, 1763, 861, 12, 77, 1769, 2868, 309, 261, 3624, 1276, 4444, 310, 907, 13, 288, 7734, 309, 261, 25060, 1304, 18, 291, 907, 1162, 1763, 7416, 12, 4811, 2471, 16, 756, 3719, 288, 5375, 3399, 2471, 18, 1289, 6233, 743, 12, 2704, 4902, 743, 12, 4811, 2471, 1488, 18, 588, 743, 774, 2375, 12, 2159, 3719, 1769, 7734, 289, 7734, 3399, 2471, 1488, 18, 4479, 907, 1265, 3054, 12443, 19536, 12513, 13, 3624, 1769, 7734, 898, 31, 2868, 289, 5411, 289, 1850, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 4950, 18, 2725, 5621, 1850, 1033, 930, 273, 4950, 18, 21336, 5621, 1850, 309, 261, 2956, 480, 446, 13, 288, 5411, 3399, 984, 12406, 3205, 18, 4479, 12, 2159, 1769, 5411, 3399, 15305, 18, 1289, 18615, 21267, 858, 1046, 12, 2956, 1769, 5411, 3399, 15305, 18, 16092, 1891, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 756, 18, 588, 1763, 1380, 5621, 277, 27245, 288, 2868, 20270, 1151, 273, 756, 18, 588, 1763, 861, 12, 77, 1769, 2868, 309, 261, 3624, 1276, 4444, 310, 907, 13, 288, 7734, 309, 261, 25060, 1304, 18, 291, 907, 1162, 1763, 7416, 12, 4811, 2471, 16, 756, 3719, 288, 5375, 3399, 2471, 18, 2 ]
fFeatures.clear(); fProperties.clear();
void restoreInitialState() { fConfigUpdated = true; // Clear feature and property tables. fFeatures.clear(); fProperties.clear(); // Remove error resolver and error handler fComponents.put(ENTITY_RESOLVER, null); fComponents.put(ERROR_HANDLER, null); // Restore component defaults. setFeatureDefaults(fEntityManager, fEntityManager.getRecognizedFeatures()); setPropertyDefaults(fEntityManager, fEntityManager.getRecognizedProperties()); setFeatureDefaults(fErrorReporter, fErrorReporter.getRecognizedFeatures()); setPropertyDefaults(fErrorReporter, fErrorReporter.getRecognizedProperties()); setFeatureDefaults(fSchemaValidator, fSchemaValidator.getRecognizedFeatures()); setPropertyDefaults(fSchemaValidator, fSchemaValidator.getRecognizedProperties()); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/2e29289aad8a962190c18907fdfacbc4b1ac0bce/XMLSchemaValidatorComponentManager.java/buggy/src/org/apache/xerces/jaxp/validation/XMLSchemaValidatorComponentManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 5217, 4435, 1119, 1435, 288, 3639, 284, 809, 7381, 273, 638, 31, 7734, 368, 10121, 2572, 471, 1272, 4606, 18, 3639, 284, 8696, 18, 8507, 5621, 3639, 284, 2297, 18, 8507, 5621, 7734, 368, 3581, 555, 5039, 471, 555, 1838, 3639, 284, 7171, 18, 458, 12, 11101, 67, 17978, 2204, 16, 446, 1769, 3639, 284, 7171, 18, 458, 12, 3589, 67, 19937, 16, 446, 1769, 7734, 368, 11197, 1794, 3467, 18, 3639, 28669, 7019, 12, 74, 24110, 16, 284, 24110, 18, 588, 5650, 9367, 8696, 10663, 3639, 7486, 7019, 12, 74, 24110, 16, 284, 24110, 18, 588, 5650, 9367, 2297, 10663, 3639, 28669, 7019, 12, 74, 668, 13289, 16, 284, 668, 13289, 18, 588, 5650, 9367, 8696, 10663, 3639, 7486, 7019, 12, 74, 668, 13289, 16, 284, 668, 13289, 18, 588, 5650, 9367, 2297, 10663, 3639, 28669, 7019, 12, 74, 3078, 5126, 16, 284, 3078, 5126, 18, 588, 5650, 9367, 8696, 10663, 3639, 7486, 7019, 12, 74, 3078, 5126, 16, 284, 3078, 5126, 18, 588, 5650, 9367, 2297, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 5217, 4435, 1119, 1435, 288, 3639, 284, 809, 7381, 273, 638, 31, 7734, 368, 10121, 2572, 471, 1272, 4606, 18, 3639, 284, 8696, 18, 8507, 5621, 3639, 284, 2297, 18, 8507, 5621, 7734, 368, 3581, 555, 5039, 471, 555, 1838, 3639, 284, 7171, 18, 458, 12, 11101, 67, 17978, 2204, 16, 446, 1769, 3639, 284, 7171, 18, 458, 12, 3589, 67, 19937, 16, 446, 1769, 7734, 368, 11197, 1794, 3467, 18, 3639, 28669, 7019, 12, 74, 24110, 16, 284, 24110, 18, 588, 5650, 9367, 8696, 10663, 3639, 7486, 7019, 12, 74, 24110, 16, 284, 24110, 18, 588, 5650, 9367, 2297, 10663, 3639, 28669, 7019, 12, 74, 668, 13289, 16, 284, 668, 13289, 18, 588, 5650, 9367, 8696, 2 ]
public void initiate( ) { styleMap.clear( ); styleNames.clear( ); fileName = null; TableItem[] ch = stylesTable.getItems( ); for ( int i = 0; i < ch.length; i++ ) { ch[i].dispose( ); } ch = notificationsTable.getItems( ); for ( int i = 0; i < ch.length; i++ ) { ch[i].dispose( ); } title.setText( "" ); //$NON-NLS-1$ if ( validateFileName( ) ) { fileName = getFileName( ); title.setText( Messages.getString( "WizardSelectCssStylePage.label.selectStylesFrom" ) //$NON-NLS-1$ + new File( this.fileName ).getName( ) + Messages.getString( "WizardSelectCssStylePage.label.importToReportDesign" ) ); //$NON-NLS-1$ try { cssHandle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .openCssStyleSheet( fileName ); Iterator styleIter = cssHandle.getStyleIterator( ); while ( styleIter.hasNext( ) ) { SharedStyleHandle styleHandle = (SharedStyleHandle) styleIter.next( ); styleMap.put( styleHandle.getName( ), styleHandle ); styleNames.add( styleHandle.getName( ) ); } List unSupportedStyles = cssHandle.getUnsupportedStyles( ); for ( Iterator iter = unSupportedStyles.iterator( ); iter.hasNext( ); ) { String name = (String) iter.next( ); unSupportedStyleNames.add( name + Messages.getString( "WizardSelectCssStylePage.text.cannot.import.style" ) ); //$NON-NLS-1$ } } catch ( StyleSheetException e ) { ExceptionHandler.handle( e ); } TableItem item; for ( int i = 0; i < styleNames.size( ); i++ ) { String sn = (String) styleNames.get( i ); item = new TableItem( stylesTable, SWT.NULL ); item.setText( sn ); item.setImage( ReportPlatformUIImages.getImage( IReportGraphicConstants.ICON_ELEMENT_STYLE ) ); } for ( int i = 0; i < unSupportedStyleNames.size( ); i++ ) { String sn = (String) unSupportedStyleNames.get( i ); item = new TableItem( notificationsTable, SWT.NULL ); item.setText( sn ); item.setImage( ReportPlatformUIImages.getImage( IReportGraphicConstants.ICON_ELEMENT_STYLE ) ); } refreshButtons( ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/a62276d0995018102770a9b2d0a1bfe5cdaaefc1/WizardSelectCssStylePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/WizardSelectCssStylePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 2738, 3840, 1435, 202, 95, 202, 202, 4060, 863, 18, 8507, 5621, 202, 202, 4060, 1557, 18, 8507, 5621, 202, 202, 17812, 33, 2011, 31, 202, 202, 1388, 1180, 8526, 343, 33, 10218, 1388, 18, 588, 3126, 5621, 202, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 343, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 343, 63, 77, 8009, 2251, 4150, 5621, 202, 202, 97, 202, 202, 343, 33, 15286, 1388, 18, 588, 3126, 5621, 202, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 343, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 343, 63, 77, 8009, 2251, 4150, 5621, 202, 202, 97, 202, 202, 2649, 18, 542, 1528, 2932, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 430, 12, 5662, 4771, 10756, 202, 202, 95, 1082, 202, 17812, 33, 588, 4771, 5621, 1082, 202, 2649, 18, 542, 1528, 12, 5058, 18, 588, 780, 2932, 27130, 3391, 7359, 2885, 1964, 18, 1925, 18, 4025, 9725, 1265, 7923, 759, 8, 3993, 17, 5106, 17, 21, 8, 6862, 202, 15, 2704, 812, 12, 2211, 18, 17812, 2934, 17994, 1435, 6862, 202, 15, 5058, 18, 588, 780, 2932, 27130, 3391, 7359, 2885, 1964, 18, 1925, 18, 5666, 774, 4820, 15478, 7923, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 1082, 202, 698, 1082, 202, 95, 9506, 202, 5212, 3259, 33, 2157, 3259, 4216, 18, 588, 1442, 1435, 25083, 202, 18, 588, 4820, 15478, 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, 6459, 2738, 3840, 1435, 202, 95, 202, 202, 4060, 863, 18, 8507, 5621, 202, 202, 4060, 1557, 18, 8507, 5621, 202, 202, 17812, 33, 2011, 31, 202, 202, 1388, 1180, 8526, 343, 33, 10218, 1388, 18, 588, 3126, 5621, 202, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 343, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 343, 63, 77, 8009, 2251, 4150, 5621, 202, 202, 97, 202, 202, 343, 33, 15286, 1388, 18, 588, 3126, 5621, 202, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 343, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 343, 63, 77, 8009, 2251, 4150, 5621, 202, 202, 97, 202, 202, 2649, 2 ]
protected static Element getAntLogAsElement(File f) {
protected static Element getAntLogAsElement(File f) throws CruiseControlException {
protected static Element getAntLogAsElement(File f) { try { FileReader fr = new FileReader(f); StringBuffer sb = new StringBuffer(); for (int i = 0; i < 150; i++) { sb.append((char) fr.read()); } String beginning = sb.toString(); int skip = beginning.lastIndexOf("<build"); BufferedInputStream bufferedStream = new BufferedInputStream(new FileInputStream(f)); bufferedStream.skip(skip); SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser"); return builder.build(bufferedStream).getRootElement(); } catch (Exception ee) { ee.printStackTrace(); } return null; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/343c29c1e1a18b8ae94b988474dcde2e92f3d6cc/AntBuilder.java/buggy/main/src/net/sourceforge/cruisecontrol/builders/AntBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 3010, 4506, 496, 1343, 1463, 1046, 12, 812, 284, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 775, 288, 5411, 23010, 3812, 273, 394, 23010, 12, 74, 1769, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 18478, 31, 277, 27245, 288, 7734, 2393, 18, 6923, 12443, 3001, 13, 3812, 18, 896, 10663, 5411, 289, 5411, 514, 8435, 273, 2393, 18, 10492, 5621, 5411, 509, 2488, 273, 8435, 18, 2722, 31985, 2932, 32, 3510, 8863, 5411, 24742, 11445, 1228, 273, 394, 24742, 12, 2704, 11907, 12, 74, 10019, 5411, 11445, 1228, 18, 7457, 12, 7457, 1769, 5411, 10168, 1263, 2089, 273, 394, 10168, 1263, 2932, 3341, 18, 19211, 18, 92, 264, 764, 18, 11104, 18, 55, 2501, 2678, 8863, 5411, 327, 2089, 18, 3510, 12, 26385, 1228, 2934, 588, 2375, 1046, 5621, 3639, 289, 1044, 261, 503, 14657, 13, 288, 5411, 14657, 18, 1188, 6332, 5621, 3639, 289, 3639, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 760, 3010, 4506, 496, 1343, 1463, 1046, 12, 812, 284, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 775, 288, 5411, 23010, 3812, 273, 394, 23010, 12, 74, 1769, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 18478, 31, 277, 27245, 288, 7734, 2393, 18, 6923, 12443, 3001, 13, 3812, 18, 896, 10663, 5411, 289, 5411, 514, 8435, 273, 2393, 18, 10492, 5621, 5411, 509, 2488, 273, 8435, 18, 2722, 31985, 2932, 32, 3510, 8863, 5411, 24742, 11445, 1228, 273, 394, 24742, 12, 2704, 11907, 12, 74, 10019, 5411, 11445, 1228, 18, 7457, 12, 7457, 1769, 5411, 10168, 1263, 2089, 273, 394, 10168, 1263, 2932, 3341, 18, 2 ]
int listSize = visitedCMElementDeclarationList.size(); if (listSize > 0) { CMElementDeclaration ed = (CMElementDeclaration)visitedCMElementDeclarationList.get(listSize - 1); Object contentHint = ed.getProperty("contentHint"); if (contentHint instanceof CMNode) { hintNode = (CMNode)contentHint; } } CMNode cmNode = null;
if (max < min) max = min;
public void visitCMGroup(CMGroup e) { cmGroupStack.push(e); int forcedMin = (buildOptionalElements(buildPolicy) || alwaysVisit) ? 1 : 0; int min = Math.max(e.getMinOccur(), forcedMin); int max = 0; if (e.getMaxOccur() == -1) // unbounded max = getNumOfRepeatableElements(); else max = Math.min(e.getMaxOccur(), getNumOfRepeatableElements()); if (max < min) max = min; alwaysVisit = false; for (int i = 1; i <= max; i++) { if (e.getOperator() == CMGroup.CHOICE && buildFirstChoice(buildPolicy)) { CMNode hintNode = null; // todo... the CMGroup should specify the hint... but it seems as though // the Yamato guys are making the CMElement specify the hint. // I do it that way for now until... we should fix this post GA // int listSize = visitedCMElementDeclarationList.size(); if (listSize > 0) { CMElementDeclaration ed = (CMElementDeclaration)visitedCMElementDeclarationList.get(listSize - 1); Object contentHint = ed.getProperty("contentHint"); //$NON-NLS-1$ if (contentHint instanceof CMNode) { hintNode = (CMNode)contentHint; } } // see if this hint corresponds to a valid choice // CMNode cmNode = null; if (hintNode != null) { CMNodeList nodeList = e.getChildNodes(); int nodeListLength = nodeList.getLength(); for (int j = 0; j < nodeListLength; j++) { if (hintNode == nodeList.item(j)) { cmNode = hintNode; } } } // if no cmNode has been determined from the hint, just use the first choice // if (cmNode == null) { CMNodeList nodeList = e.getChildNodes(); if (nodeList.getLength() > 0) { cmNode = nodeList.item(0); } } if (cmNode != null) { visitCMNode(cmNode); } } else if (e.getOperator() == CMGroup.ALL // ALL || e.getOperator() == CMGroup.SEQUENCE) // SEQUENCE { // visit all of the content super.visitCMGroup(e); } } cmGroupStack.pop(); }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/38e89cc957cc0f494d1f24328dc0963bc616d4c4/DOMContentBuilderImpl.java/clean/bundles/org.eclipse.wst.xml.core/src-contentmodel/org/eclipse/wst/xml/core/internal/contentmodel/util/DOMContentBuilderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3757, 9611, 1114, 12, 9611, 1114, 425, 13, 225, 288, 282, 202, 7670, 1114, 2624, 18, 6206, 12, 73, 1769, 21114, 377, 509, 13852, 2930, 273, 261, 3510, 6542, 3471, 12, 3510, 2582, 13, 747, 3712, 10432, 13, 692, 404, 294, 374, 31, 565, 509, 1131, 273, 2361, 18, 1896, 12, 73, 18, 588, 2930, 12397, 9334, 13852, 2930, 1769, 565, 509, 943, 273, 374, 31, 565, 309, 261, 73, 18, 588, 2747, 12397, 1435, 422, 300, 21, 13, 368, 640, 26220, 1377, 943, 273, 11187, 951, 16750, 429, 3471, 5621, 565, 469, 4202, 943, 273, 2361, 18, 1154, 12, 73, 18, 588, 2747, 12397, 9334, 11187, 951, 16750, 429, 3471, 10663, 3639, 309, 261, 1896, 411, 1131, 13, 1377, 943, 273, 1131, 31, 4766, 565, 3712, 10432, 273, 629, 31, 565, 364, 261, 474, 277, 273, 404, 31, 277, 1648, 943, 31, 277, 27245, 565, 288, 540, 309, 261, 73, 18, 588, 5592, 1435, 422, 15871, 1114, 18, 22213, 11774, 1850, 597, 1361, 3759, 10538, 12, 3510, 2582, 3719, 1377, 288, 3639, 15871, 907, 7380, 907, 273, 446, 31, 540, 368, 10621, 2777, 326, 15871, 1114, 1410, 4800, 326, 7380, 2777, 1496, 518, 12001, 487, 11376, 3639, 368, 326, 1624, 301, 31093, 3058, 1900, 854, 10480, 326, 385, 12310, 4800, 326, 7380, 18, 3639, 368, 467, 741, 518, 716, 4031, 364, 2037, 3180, 2777, 732, 1410, 2917, 333, 1603, 611, 37, 3639, 368, 5411, 509, 666, 1225, 273, 9711, 39, 12310, 6094, 682, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3757, 9611, 1114, 12, 9611, 1114, 425, 13, 225, 288, 282, 202, 7670, 1114, 2624, 18, 6206, 12, 73, 1769, 21114, 377, 509, 13852, 2930, 273, 261, 3510, 6542, 3471, 12, 3510, 2582, 13, 747, 3712, 10432, 13, 692, 404, 294, 374, 31, 565, 509, 1131, 273, 2361, 18, 1896, 12, 73, 18, 588, 2930, 12397, 9334, 13852, 2930, 1769, 565, 509, 943, 273, 374, 31, 565, 309, 261, 73, 18, 588, 2747, 12397, 1435, 422, 300, 21, 13, 368, 640, 26220, 1377, 943, 273, 11187, 951, 16750, 429, 3471, 5621, 565, 469, 4202, 943, 273, 2361, 18, 1154, 12, 73, 18, 588, 2747, 12397, 9334, 11187, 951, 16750, 429, 3471, 10663, 3639, 309, 261, 1896, 2 ]
context.engine.process(x.image.substring(1, x.image.length() -1));
{if(PAContext.DebugExecution){System.out.print("\nparser:\""+x.image+"\"");System.out.flush();System.err.flush();}} context.engine.process(x.image.substring(1, x.image.length() -1));
final public void parse(PAContext context) throws ParseException { Token x = null; try { label_1: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: case IDENTIFIER: case KEY_IDENTIFIER: case IMMEDIATE_IDENTIFIER: case LBRACE: case RBRACE: case LBRACKET: case RBRACKET: ; break; default: jj_la1[0] = jj_gen; break label_1; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case STRING_LITERAL: case IDENTIFIER: case KEY_IDENTIFIER: case IMMEDIATE_IDENTIFIER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INTEGER_LITERAL: x = jj_consume_token(INTEGER_LITERAL); try { context.engine.process(new Integer(x.image)); } catch(NumberFormatException e) { {if (true) throw new ParseException(e.toString());} } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case FLOATING_POINT_LITERAL: x = jj_consume_token(FLOATING_POINT_LITERAL); try { context.engine.process(new Double(x.image)); } catch(NumberFormatException e) { {if (true) throw new ParseException(e.toString());} } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case STRING_LITERAL: x = jj_consume_token(STRING_LITERAL); try { context.engine.process(x.image.substring(1, x.image.length() -1)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case IDENTIFIER: x = jj_consume_token(IDENTIFIER); try { context.engine.process(new PAToken(x.image, PAToken.IDENTIFIER)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case KEY_IDENTIFIER: x = jj_consume_token(KEY_IDENTIFIER); try { context.engine.process(new PAToken(x.image.substring(1, x.image.length()), PAToken.KEY)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case IMMEDIATE_IDENTIFIER: x = jj_consume_token(IMMEDIATE_IDENTIFIER); try { context.engine.process(new PAToken(x.image.substring(2, x.image.length()), PAToken.IMMEDIATE)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; default: jj_la1[1] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; case LBRACE: jj_consume_token(LBRACE); try { context.engine.process(new PAToken(null, PAToken.START_PROCEDURE)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case RBRACE: jj_consume_token(RBRACE); try { context.engine.process(new PAToken(null, PAToken.END_PROCEDURE)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case LBRACKET: jj_consume_token(LBRACKET); try { context.engine.process(new PAToken(null, PAToken.START_ARRAY)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; case RBRACKET: jj_consume_token(RBRACKET); try { context.engine.process(new PAToken(null, PAToken.END_ARRAY)); } catch(PainterException e) { {if (true) throw new ParseException(e.toString());} } break; default: jj_la1[2] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } catch (ParseException e) { //System.out.println("Fehlerhaftes Element in Spalte "+e.currentToken.beginColumn+" in Eingabedatei in Zeile="+e.currentToken.next.beginLine+" in Zeichen Nr. "+e.currentToken.next.beginColumn+". >"+e.currentToken.next.image+"< wurde hier nicht erwartet."); //System.err.println("Fehler:"+e); e.printStackTrace(); error_skipto(WHITESPACE); } }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAParser.java/buggy/src/com/lowagie/text/pdf/codec/postscript/PAParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 1109, 12, 4066, 1042, 819, 13, 1216, 10616, 288, 3639, 3155, 619, 273, 446, 31, 565, 775, 288, 1377, 1433, 67, 21, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 16481, 67, 23225, 30, 3639, 648, 15483, 1360, 67, 8941, 67, 23225, 30, 3639, 648, 9469, 67, 23225, 30, 3639, 648, 26765, 30, 3639, 648, 5311, 67, 16606, 30, 3639, 648, 6246, 15971, 1777, 67, 16606, 30, 3639, 648, 511, 26980, 30, 3639, 648, 534, 26980, 30, 3639, 648, 511, 21217, 30, 3639, 648, 534, 21217, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 20, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 21, 31, 3639, 289, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 16481, 67, 23225, 30, 3639, 648, 15483, 1360, 67, 8941, 67, 23225, 30, 3639, 648, 9469, 67, 23225, 30, 3639, 648, 26765, 30, 3639, 648, 5311, 67, 16606, 30, 3639, 648, 6246, 15971, 1777, 67, 16606, 30, 1850, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1850, 648, 16481, 67, 23225, 30, 5411, 619, 273, 10684, 67, 21224, 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, 727, 1071, 918, 1109, 12, 4066, 1042, 819, 13, 1216, 10616, 288, 3639, 3155, 619, 273, 446, 31, 565, 775, 288, 1377, 1433, 67, 21, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 16481, 67, 23225, 30, 3639, 648, 15483, 1360, 67, 8941, 67, 23225, 30, 3639, 648, 9469, 67, 23225, 30, 3639, 648, 26765, 30, 3639, 648, 5311, 67, 16606, 30, 3639, 648, 6246, 15971, 1777, 67, 16606, 30, 3639, 648, 511, 26980, 30, 3639, 648, 534, 26980, 30, 3639, 648, 511, 21217, 30, 3639, 648, 534, 21217, 30, 1850, 274, 2 ]
if (filename == null) {
if (getFilename() == null) {
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws Exception { super.act(redirector, resolver, objectModel, src, parameters); HashMap actionMap = new HashMap(); //check out try { getLogger().debug(".act(): Filename: " + filename); getLogger().debug(".act(): Username: " + username); if (filename == null) { throw new Exception("Filename is null"); } if (username == null) { throw new Exception("Username is null"); } rc.reservedCheckOut(filename, username); } catch (FileReservedCheckOutException e) { actionMap.put("exception", "fileReservedCheckOutException"); actionMap.put("filename", filename); actionMap.put("user", e.getCheckOutUsername()); actionMap.put("date", e.getCheckOutDate()); getLogger().warn("Document " + filename + " already checked-out by " + e.getCheckOutUsername() + " since " + e.getCheckOutDate()); return actionMap; } catch (Exception e) { actionMap.put("exception", "genericException"); actionMap.put("filename", filename); actionMap.put("message", "" + e); getLogger().error(".act(): The document " + filename + " couldn't be checked out: ", e); return actionMap; } return null; }
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/c19e5184a2b8702564afc282f5fc508731792737/ReservedCheckoutAction.java/clean/src/java/org/apache/lenya/cms/cocoon/acting/ReservedCheckoutAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 1328, 12, 5961, 280, 3136, 280, 16, 4998, 4301, 5039, 16, 1635, 733, 1488, 16, 514, 1705, 16, 3639, 7012, 1472, 13, 1216, 1185, 288, 3639, 2240, 18, 621, 12, 7590, 280, 16, 5039, 16, 733, 1488, 16, 1705, 16, 1472, 1769, 3639, 4317, 1301, 863, 273, 394, 4317, 5621, 3639, 368, 1893, 596, 3639, 775, 288, 5411, 7156, 7675, 4148, 2932, 18, 621, 13332, 16671, 30, 315, 397, 1544, 1769, 5411, 7156, 7675, 4148, 2932, 18, 621, 13332, 11313, 30, 315, 397, 2718, 1769, 5411, 309, 261, 588, 5359, 1435, 422, 446, 13, 288, 7734, 604, 394, 1185, 2932, 5359, 353, 446, 8863, 5411, 289, 5411, 309, 261, 5053, 422, 446, 13, 288, 7734, 604, 394, 1185, 2932, 8575, 353, 446, 8863, 5411, 289, 5411, 4519, 18, 18898, 1564, 1182, 12, 3459, 16, 2718, 1769, 3639, 289, 1044, 261, 812, 10435, 1564, 1182, 503, 425, 13, 288, 5411, 1301, 863, 18, 458, 2932, 4064, 3113, 315, 768, 10435, 1564, 1182, 503, 8863, 5411, 1301, 863, 18, 458, 2932, 3459, 3113, 1544, 1769, 5411, 1301, 863, 18, 458, 2932, 1355, 3113, 425, 18, 588, 1564, 1182, 8575, 10663, 5411, 1301, 863, 18, 458, 2932, 712, 3113, 425, 18, 588, 1564, 1182, 1626, 10663, 5411, 7156, 7675, 8935, 2932, 2519, 315, 397, 1544, 397, 315, 1818, 5950, 17, 659, 635, 315, 397, 425, 18, 588, 1564, 1182, 8575, 1435, 397, 315, 3241, 315, 397, 425, 18, 588, 1564, 1182, 1626, 10663, 5411, 327, 1301, 863, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 1328, 12, 5961, 280, 3136, 280, 16, 4998, 4301, 5039, 16, 1635, 733, 1488, 16, 514, 1705, 16, 3639, 7012, 1472, 13, 1216, 1185, 288, 3639, 2240, 18, 621, 12, 7590, 280, 16, 5039, 16, 733, 1488, 16, 1705, 16, 1472, 1769, 3639, 4317, 1301, 863, 273, 394, 4317, 5621, 3639, 368, 1893, 596, 3639, 775, 288, 5411, 7156, 7675, 4148, 2932, 18, 621, 13332, 16671, 30, 315, 397, 1544, 1769, 5411, 7156, 7675, 4148, 2932, 18, 621, 13332, 11313, 30, 315, 397, 2718, 1769, 5411, 309, 261, 588, 5359, 1435, 422, 446, 13, 288, 7734, 604, 394, 1185, 2932, 5359, 353, 446, 8863, 5411, 289, 5411, 309, 261, 5053, 422, 446, 13, 288, 7734, 604, 2 ]
if (bufferOffset(head).EQ(bufferSentinel(arity)) || head.EQ(HEAD_INITIAL_VALUE))
if (bufferOffset(head).EQ(bufferSentinel(arity)) || head.EQ(HEAD_INITIAL_VALUE))
protected final void checkHeadInsert(int arity) throws InlinePragma { if (bufferOffset(head).EQ(bufferSentinel(arity)) || head.EQ(HEAD_INITIAL_VALUE)) headOverflow(arity); else if (Assert.VERIFY_ASSERTIONS) Assert._assert(bufferOffset(head).sLE(bufferLastOffset(arity))); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/LocalDeque.java/buggy/MMTk/src/org/mmtk/utility/deque/LocalDeque.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 866, 1414, 4600, 12, 474, 19353, 13, 1216, 16355, 2050, 9454, 288, 565, 309, 261, 4106, 2335, 12, 1978, 2934, 27247, 12, 4106, 7828, 12927, 12, 20498, 3719, 747, 540, 910, 18, 27247, 12, 12458, 67, 28497, 67, 4051, 3719, 1377, 910, 15526, 12, 20498, 1769, 565, 469, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 6315, 11231, 12, 4106, 2335, 12, 1978, 2934, 87, 900, 12, 4106, 3024, 2335, 12, 20498, 3719, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 918, 866, 1414, 4600, 12, 474, 19353, 13, 1216, 16355, 2050, 9454, 288, 565, 309, 261, 4106, 2335, 12, 1978, 2934, 27247, 12, 4106, 7828, 12927, 12, 20498, 3719, 747, 540, 910, 18, 27247, 12, 12458, 67, 28497, 67, 4051, 3719, 1377, 910, 15526, 12, 20498, 1769, 565, 469, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 6315, 11231, 12, 4106, 2335, 12, 1978, 2934, 87, 900, 12, 4106, 3024, 2335, 12, 20498, 3719, 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 ]
if (ge >= nMTF)
if (ge >= nMTF) {
private void sendMTFValues() throws IOException { char len[][] = new char[N_GROUPS][MAX_ALPHA_SIZE]; int v, t, i, j, gs, ge, totc, bt, bc, iter; int nSelectors = 0, alphaSize, minLen, maxLen, selCtr; int nGroups, nBytes; alphaSize = nInUse + 2; for (t = 0; t < N_GROUPS; t++) for (v = 0; v < alphaSize; v++) len[t][v] = (char)GREATER_ICOST; /* Decide how many coding tables to use */ if (nMTF <= 0) panic(); if (nMTF < 200) nGroups = 2; else if (nMTF < 600) nGroups = 3; else if (nMTF < 1200) nGroups = 4; else if (nMTF < 2400) nGroups = 5; else nGroups = 6; /* Generate an initial set of coding tables */ { int nPart, remF, tFreq, aFreq; nPart = nGroups; remF = nMTF; gs = 0; while (nPart > 0) { tFreq = remF / nPart; ge = gs-1; aFreq = 0; while (aFreq < tFreq && ge < alphaSize-1) { ge++; aFreq += mtfFreq[ge]; } if (ge > gs && nPart != nGroups && nPart != 1 && ((nGroups-nPart) % 2 == 1)) { aFreq -= mtfFreq[ge]; ge--; } for (v = 0; v < alphaSize; v++) if (v >= gs && v <= ge) len[nPart-1][v] = (char)LESSER_ICOST; else len[nPart-1][v] = (char)GREATER_ICOST; nPart--; gs = ge+1; remF -= aFreq; } } int rfreq[][] = new int[N_GROUPS][MAX_ALPHA_SIZE]; int fave[] = new int[N_GROUPS]; short cost[] = new short[N_GROUPS]; /* Iterate up to N_ITERS times to improve the tables. */ for (iter = 0; iter < N_ITERS; iter++) { for (t = 0; t < nGroups; t++) fave[t] = 0; for (t = 0; t < nGroups; t++) for (v = 0; v < alphaSize; v++) rfreq[t][v] = 0; nSelectors = 0; totc = 0; gs = 0; while (true) { /* Set group start & end marks. */ if (gs >= nMTF) break; ge = gs + G_SIZE - 1; if (ge >= nMTF) ge = nMTF-1; /* Calculate the cost of this group as coded by each of the coding tables. */ for (t = 0; t < nGroups; t++) cost[t] = 0; if (nGroups == 6) { short cost0, cost1, cost2, cost3, cost4, cost5; cost0 = cost1 = cost2 = cost3 = cost4 = cost5 = 0; for (i = gs; i <= ge; i++) { short icv = szptr[i]; cost0 += len[0][icv]; cost1 += len[1][icv]; cost2 += len[2][icv]; cost3 += len[3][icv]; cost4 += len[4][icv]; cost5 += len[5][icv]; } cost[0] = cost0; cost[1] = cost1; cost[2] = cost2; cost[3] = cost3; cost[4] = cost4; cost[5] = cost5; } else { for (i = gs; i <= ge; i++) { short icv = szptr[i]; for (t = 0; t < nGroups; t++) cost[t] += len[t][icv]; } } /* Find the coding table which is best for this group, and record its identity in the selector table. */ bc = 999999999; bt = -1; for (t = 0; t < nGroups; t++) if (cost[t] < bc) { bc = cost[t]; bt = t; }; totc += bc; fave[bt]++; selector[nSelectors] = (char)bt; nSelectors++; /* Increment the symbol frequencies for the selected table. */ for (i = gs; i <= ge; i++) rfreq[bt][szptr[i]]++; gs = ge+1; } /* Recompute the tables based on the accumulated frequencies. */ for (t = 0; t < nGroups; t++) hbMakeCodeLengths(len[t], rfreq[t], alphaSize, 20); } rfreq = null; fave = null; cost = null; if (!(nGroups < 8)) panic(); if (!(nSelectors < 32768 && nSelectors <= (2 + (900000 / G_SIZE)))) panic(); /* Compute MTF values for the selectors. */ { char pos[] = new char[N_GROUPS]; char ll_i, tmp2, tmp; for (i = 0; i < nGroups; i++) pos[i] = (char)i; for (i = 0; i < nSelectors; i++) { ll_i = selector[i]; j = 0; tmp = pos[j]; while ( ll_i != tmp ) { j++; tmp2 = tmp; tmp = pos[j]; pos[j] = tmp2; } pos[0] = tmp; selectorMtf[i] = (char)j; } } int code[][] = new int[N_GROUPS][MAX_ALPHA_SIZE]; /* Assign actual codes for the tables. */ for (t = 0; t < nGroups; t++) { minLen = 32; maxLen = 0; for (i = 0; i < alphaSize; i++) { if (len[t][i] > maxLen) maxLen = len[t][i]; if (len[t][i] < minLen) minLen = len[t][i]; } if (maxLen > 20) panic(); if (minLen < 1) panic(); hbAssignCodes(code[t], len[t], minLen, maxLen, alphaSize); } /* Transmit the mapping table. */ { boolean inUse16[] = new boolean[16]; for (i = 0; i < 16; i++) { inUse16[i] = false; for (j = 0; j < 16; j++) if (inUse[i * 16 + j]) inUse16[i] = true; } nBytes = bytesOut; for (i = 0; i < 16; i++) if (inUse16[i]) bsW(1,1); else bsW(1,0); for (i = 0; i < 16; i++) if (inUse16[i]) for (j = 0; j < 16; j++) if (inUse[i * 16 + j]) bsW(1,1); else bsW(1,0); } /* Now the selectors. */ nBytes = bytesOut; bsW ( 3, nGroups ); bsW ( 15, nSelectors ); for (i = 0; i < nSelectors; i++) { for (j = 0; j < selectorMtf[i]; j++) bsW(1,1); bsW(1,0); } /* Now the coding tables. */ nBytes = bytesOut; for (t = 0; t < nGroups; t++) { int curr = len[t][0]; bsW(5, curr); for (i = 0; i < alphaSize; i++) { while (curr < len[t][i]) { bsW(2,2); curr++; /* 10 */ } while (curr > len[t][i]) { bsW(2,3); curr--; /* 11 */ } bsW ( 1, 0 ); } } /* And finally, the block data proper */ nBytes = bytesOut; selCtr = 0; gs = 0; while (true) { if (gs >= nMTF) break; ge = gs + G_SIZE - 1; if (ge >= nMTF) ge = nMTF-1; for (i = gs; i <= ge; i++) { bsW(len [selector[selCtr]] [szptr[i]], code [selector[selCtr]] [szptr[i]] ); } gs = ge+1; selCtr++; } if (!(selCtr == nSelectors)) panic(); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/8cc971dacd78a055a205267a2dc768de88454260/CBZip2OutputStream.java/clean/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 6152, 42, 1972, 1435, 1216, 1860, 288, 3639, 1149, 562, 63, 6362, 65, 273, 394, 1149, 63, 50, 67, 28977, 6362, 6694, 67, 26313, 67, 4574, 15533, 3639, 509, 331, 16, 268, 16, 277, 16, 525, 16, 10763, 16, 8244, 16, 9997, 71, 16, 10921, 16, 6533, 16, 1400, 31, 3639, 509, 290, 19277, 273, 374, 16, 4190, 1225, 16, 1131, 2891, 16, 29618, 16, 357, 39, 313, 31, 3639, 509, 290, 3621, 16, 290, 2160, 31, 3639, 4190, 1225, 273, 290, 15435, 397, 576, 31, 3639, 364, 261, 88, 273, 374, 31, 268, 411, 423, 67, 28977, 31, 268, 27245, 5411, 364, 261, 90, 273, 374, 31, 331, 411, 4190, 1225, 31, 331, 27245, 7734, 562, 63, 88, 6362, 90, 65, 273, 261, 3001, 13, 43, 18857, 67, 2871, 4005, 31, 3639, 1748, 3416, 831, 3661, 4906, 14848, 4606, 358, 999, 1195, 3639, 309, 261, 82, 6152, 42, 1648, 374, 13, 5411, 3933, 5621, 3639, 309, 261, 82, 6152, 42, 411, 4044, 13, 5411, 290, 3621, 273, 576, 31, 3639, 469, 309, 261, 82, 6152, 42, 411, 14707, 13, 5411, 290, 3621, 273, 890, 31, 3639, 469, 309, 261, 82, 6152, 42, 411, 2593, 713, 13, 5411, 290, 3621, 273, 1059, 31, 3639, 469, 309, 261, 82, 6152, 42, 411, 4248, 713, 13, 5411, 290, 3621, 273, 1381, 31, 3639, 469, 5411, 290, 3621, 273, 1666, 31, 3639, 1748, 6654, 392, 2172, 444, 434, 14848, 4606, 1195, 288, 5411, 509, 290, 1988, 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, 1366, 6152, 42, 1972, 1435, 1216, 1860, 288, 3639, 1149, 562, 63, 6362, 65, 273, 394, 1149, 63, 50, 67, 28977, 6362, 6694, 67, 26313, 67, 4574, 15533, 3639, 509, 331, 16, 268, 16, 277, 16, 525, 16, 10763, 16, 8244, 16, 9997, 71, 16, 10921, 16, 6533, 16, 1400, 31, 3639, 509, 290, 19277, 273, 374, 16, 4190, 1225, 16, 1131, 2891, 16, 29618, 16, 357, 39, 313, 31, 3639, 509, 290, 3621, 16, 290, 2160, 31, 3639, 4190, 1225, 273, 290, 15435, 397, 576, 31, 3639, 364, 261, 88, 273, 374, 31, 268, 411, 423, 67, 28977, 31, 268, 27245, 5411, 364, 261, 90, 273, 374, 31, 331, 411, 4190, 1225, 31, 331, 27245, 2 ]
tempRow.add( user.getSendAlerts() );
tempRow.add( user );
public Vector<Vector> generateRows(Object settings) { AdminSettings adminSettings = (AdminSettings) settings; Set<User> users = (Set<User>) adminSettings.getUsers(); Vector<Vector> allRows = new Vector<Vector>(users.size()); Vector tempRow = null; int rowIndex = 0; for( User user : users ){ rowIndex++; tempRow = new Vector(10); tempRow.add( super.ROW_SAVED ); tempRow.add( rowIndex ); tempRow.add( user.getName() ); tempRow.add( user.getLogin() ); MPasswordField tempMPasswordField = new MPasswordField( user.getPassword() ); tempRow.add( tempMPasswordField ); tempRow.add( new MPasswordField() ); tempRow.add( new MPasswordField() ); MPasswordField originalMPasswordField = new MPasswordField(); originalMPasswordField.setGeneratesChangeEvent(false); tempRow.add( originalMPasswordField ); tempRow.add( user.getEmail() ); tempRow.add( user.getSendAlerts() ); allRows.add( tempRow ); } return allRows; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/832e4aa977cdad62665d714f5006e022b936e082/AdminConfigJDialog.java/buggy/gui/main/com/metavize/gui/configuration/AdminConfigJDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 32, 5018, 34, 2103, 4300, 12, 921, 1947, 13, 288, 202, 4446, 2628, 3981, 2628, 273, 261, 4446, 2628, 13, 1947, 31, 202, 694, 32, 1299, 34, 3677, 273, 261, 694, 32, 1299, 23429, 3981, 2628, 18, 588, 6588, 5621, 540, 5589, 32, 5018, 34, 777, 4300, 273, 394, 5589, 32, 5018, 34, 12, 5577, 18, 1467, 10663, 202, 5018, 1906, 1999, 273, 446, 31, 3639, 509, 15361, 273, 374, 31, 202, 1884, 12, 2177, 729, 294, 3677, 262, 95, 202, 565, 15361, 9904, 31, 5411, 1906, 1999, 273, 394, 5589, 12, 2163, 1769, 5411, 1906, 1999, 18, 1289, 12, 2240, 18, 11226, 67, 5233, 12135, 11272, 5411, 1906, 1999, 18, 1289, 12, 15361, 11272, 5411, 1906, 1999, 18, 1289, 12, 729, 18, 17994, 1435, 11272, 5411, 1906, 1999, 18, 1289, 12, 729, 18, 588, 5358, 1435, 11272, 5411, 490, 3913, 974, 1906, 49, 3913, 974, 273, 394, 490, 3913, 974, 12, 729, 18, 588, 3913, 1435, 11272, 5411, 1906, 1999, 18, 1289, 12, 1906, 49, 3913, 974, 11272, 5411, 1906, 1999, 18, 1289, 12, 394, 490, 3913, 974, 1435, 11272, 5411, 1906, 1999, 18, 1289, 12, 394, 490, 3913, 974, 1435, 11272, 202, 565, 490, 3913, 974, 2282, 49, 3913, 974, 273, 394, 490, 3913, 974, 5621, 202, 565, 2282, 49, 3913, 974, 18, 542, 6653, 20930, 12, 5743, 1769, 5411, 1906, 1999, 18, 1289, 12, 2282, 49, 3913, 974, 11272, 5411, 1906, 1999, 18, 1289, 12, 729, 18, 588, 4134, 1435, 11272, 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, 5589, 32, 5018, 34, 2103, 4300, 12, 921, 1947, 13, 288, 202, 4446, 2628, 3981, 2628, 273, 261, 4446, 2628, 13, 1947, 31, 202, 694, 32, 1299, 34, 3677, 273, 261, 694, 32, 1299, 23429, 3981, 2628, 18, 588, 6588, 5621, 540, 5589, 32, 5018, 34, 777, 4300, 273, 394, 5589, 32, 5018, 34, 12, 5577, 18, 1467, 10663, 202, 5018, 1906, 1999, 273, 446, 31, 3639, 509, 15361, 273, 374, 31, 202, 1884, 12, 2177, 729, 294, 3677, 262, 95, 202, 565, 15361, 9904, 31, 5411, 1906, 1999, 273, 394, 5589, 12, 2163, 1769, 5411, 1906, 1999, 18, 1289, 12, 2240, 18, 11226, 67, 5233, 12135, 11272, 5411, 1906, 1999, 18, 1289, 12, 15361, 11272, 5411, 2 ]
public static void generateCompExclusions(String version) throws IOException {
public static void generateCompExclusions() throws IOException { Main.setUCD();
public static void generateCompExclusions(String version) throws IOException { PrintWriter output = Utility.openPrintWriter("DerivedData/CompositionExclusions" + getFileSuffix(true)); generateBat("DerivedData/", "CompositionExclusions", getFileSuffix(true)); output.println("# CompositionExclusions" + getFileSuffix(false)); output.println("#"); output.println("# Composition Exclusions"); output.println("# This file lists the characters from the UAX #15 Composition Exclusion Table."); output.println("#"); output.println("# For more information, see"); output.println("# http://www.unicode.org/unicode/reports/tr15/#Primary Exclusion List Table"); output.println("# Generated: " + new Date() + ", MD"); output.println(HORIZONTAL_LINE); output.println(); output.println("# (1) Script Specifics"); output.println("# This list of characters cannot be derived from the UnicodeData file."); output.println(HORIZONTAL_LINE); output.println(); new CompLister(output, ucd, 1).print(); output.println(HORIZONTAL_LINE); output.println("# (2) Post Composition Version precomposed characters"); output.println("# These characters can be derived from a post-3.0.0 UnicodeData file"); output.println("# by comparison to the 3.0.0 UnicodeData file."); output.println(HORIZONTAL_LINE); output.println(); new CompLister(output, ucd, 2).print(); output.println(HORIZONTAL_LINE); output.println("# (3) Singleton Decompositions"); output.println("# These characters can be derived from the UnicodeData file"); output.println("# by including all characters whose canonical decomposition"); output.println("# consists of a single character."); output.println("# These characters are simply quoted here for reference."); output.println(HORIZONTAL_LINE); output.println(); new CompLister(output, ucd, 3).print(); output.println(HORIZONTAL_LINE); output.println("# (4) Non-Starter Decompositions"); output.println("# These characters can be derived from the UnicodeData file"); output.println("# by including all characters whose canonical decomposition consists"); output.println("# of a sequence of characters, the first of which has a non-zero"); output.println("# combining class."); output.println("# These characters are simply quoted here for reference."); output.println(HORIZONTAL_LINE); output.println(); new CompLister(output, ucd, 4).print(); output.close(); }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/a903b84867c303be450a264f036e46ffde646df7/GenerateData.java/clean/tools/unicodetools/com/ibm/text/UCD/GenerateData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2103, 2945, 424, 25364, 1435, 1216, 1860, 288, 12740, 18, 542, 57, 10160, 5621, 3639, 14071, 876, 273, 13134, 18, 3190, 5108, 2289, 2932, 21007, 751, 19, 28940, 424, 25364, 6, 397, 6034, 5791, 12, 3767, 10019, 3639, 2103, 38, 270, 2932, 21007, 751, 19, 3113, 315, 28940, 424, 25364, 3113, 6034, 5791, 12, 3767, 10019, 7734, 876, 18, 8222, 2932, 7, 1286, 3276, 424, 25364, 6, 397, 6034, 5791, 12, 5743, 10019, 3639, 876, 18, 8222, 2932, 7, 8863, 3639, 876, 18, 8222, 2932, 7, 1286, 3276, 1312, 25364, 8863, 3639, 876, 18, 8222, 2932, 7, 1220, 585, 6035, 326, 3949, 628, 326, 587, 2501, 468, 3600, 1286, 3276, 1312, 15335, 3555, 1199, 1769, 3639, 876, 18, 8222, 2932, 7, 8863, 3639, 876, 18, 8222, 2932, 7, 2457, 1898, 1779, 16, 2621, 8863, 3639, 876, 18, 8222, 2932, 7, 1062, 2207, 5591, 18, 9124, 18, 3341, 19, 9124, 19, 20195, 19, 313, 3600, 21067, 6793, 1312, 15335, 987, 3555, 8863, 3639, 876, 18, 8222, 2932, 7, 11025, 30, 315, 397, 394, 2167, 1435, 397, 3104, 10852, 8863, 3639, 876, 18, 8222, 12, 44, 20344, 67, 5997, 1769, 3639, 876, 18, 8222, 5621, 3639, 876, 18, 8222, 2932, 7, 261, 21, 13, 7739, 23043, 87, 8863, 3639, 876, 18, 8222, 2932, 7, 1220, 666, 434, 3949, 2780, 506, 10379, 628, 326, 9633, 751, 585, 1199, 1769, 3639, 876, 18, 8222, 12, 44, 20344, 67, 5997, 1769, 3639, 876, 18, 8222, 5621, 7734, 394, 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, 2103, 2945, 424, 25364, 1435, 1216, 1860, 288, 12740, 18, 542, 57, 10160, 5621, 3639, 14071, 876, 273, 13134, 18, 3190, 5108, 2289, 2932, 21007, 751, 19, 28940, 424, 25364, 6, 397, 6034, 5791, 12, 3767, 10019, 3639, 2103, 38, 270, 2932, 21007, 751, 19, 3113, 315, 28940, 424, 25364, 3113, 6034, 5791, 12, 3767, 10019, 7734, 876, 18, 8222, 2932, 7, 1286, 3276, 424, 25364, 6, 397, 6034, 5791, 12, 5743, 10019, 3639, 876, 18, 8222, 2932, 7, 8863, 3639, 876, 18, 8222, 2932, 7, 1286, 3276, 1312, 25364, 8863, 3639, 876, 18, 8222, 2932, 7, 1220, 585, 6035, 326, 3949, 628, 326, 587, 2501, 468, 3600, 1286, 3276, 1312, 15335, 3555, 1199, 1769, 2 ]
if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) {
if (fCurrentType.getXSType() == XSTypeDecl.COMPLEX_TYPE) {
void handleStartElement(QName element, XMLAttributes attributes) { if (DEBUG) { System.out.println("handleStartElement: " +element); } // we receive prefix binding events before this one, // so at this point, the prefix bindings for this element is done, // and we need to push context when we receive another prefix binding. // but if fPushForNextBinding is still true, that means there has // been no prefix binding for this element. we still need to push // context, because the context is always popped in end element. if (fPushForNextBinding) fNamespaceSupport.pushContext(); else fPushForNextBinding = true; // whether to do validation // root element // REVISIT: consider DynamicValidation if (fElementDepth == -1) { fDoValidation = fValidation; fValidationState = fValidationManager.getValidationState(); fValidationState.setNamespaceSupport(fNamespaceSupport); } // if we are in the content of "skip", then just skip this element // REVISIT: is this the correct behaviour for ID constraints? -NG if (fSkipValidationDepth >= 0) { fElementDepth++; return; } // if it's not the root element, we push the current states in the stacks if (fElementDepth != -1) { ensureStackCapacity(); fChildCountStack[fElementDepth] = fChildCount+1; fChildCount = 0; fElemDeclStack[fElementDepth] = fCurrentElemDecl; fNilStack[fElementDepth] = fNil; fTypeStack[fElementDepth] = fCurrentType; fCMStack[fElementDepth] = fCurrentCM; fStringContent[fElementDepth] = fSawCharacters; } // get xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes, // parse them to get the grammars // REVISIT: we'll defer this operation until there is a reference to // a component from that namespace String sLocation = attributes.getValue(URI_XSI, XSI_SCHEMALOCATION); String nsLocation = attributes.getValue(URI_XSI, XSI_NONAMESPACESCHEMALOCATION); if (sLocation != null) { StringTokenizer t = new StringTokenizer(sLocation, " \n\t\r"); String namespace, location; while (t.hasMoreTokens()) { namespace = t.nextToken (); if (!t.hasMoreTokens()) { // REVISIT: report error for wrong number of uris break; } location = t.nextToken(); if (fGrammarResolver.getGrammar(namespace) == null) fSchemaHandler.parseSchema(namespace, location); } } if (nsLocation != null) { if (fGrammarResolver.getGrammar(fSchemaHandler.EMPTY_STRING) == null) fSchemaHandler.parseSchema(fSchemaHandler.EMPTY_STRING, nsLocation); } // get the element decl for this element fCurrentElemDecl = null; fNil = false; XSWildcardDecl wildcard = null; // if there is a content model, then get the decl from that if (fCurrentCM != null) { Object decl = fCurrentCM.oneTransition(element, fCurrCMState, fSubGroupHandler); // it could be an element decl or a wildcard decl // REVISIT: is there a more efficient way than 'instanceof' if (decl == null) { if (fCurrCMState[0] == XSCMValidator.FIRST_ERROR && fDoValidation) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; //REVISIT: is it the only case we will have particle = null? if (ctype.fParticle != null) { reportSchemaError("cvc-complex-type.2.4.a", new Object[]{element.rawname, ctype.fParticle.toString()}); } else { reportSchemaError("cvc-complex-type.2.4.a", new Object[]{element.rawname, "mixed with no element content"}); } } } else if (decl instanceof XSElementDecl) { fCurrentElemDecl = (XSElementDecl)decl; } else { wildcard = (XSWildcardDecl)decl; } } // save the current content model state in the stack if (fElementDepth != -1) fCMStateStack[fElementDepth] = fCurrCMState; // increase the element depth after we've saved all states for the // parent element fElementDepth++; // if the wildcard is skip, then return if (wildcard != null && wildcard.fProcessContents == XSWildcardDecl.WILDCARD_SKIP) { fSkipValidationDepth = fElementDepth; return; } // try again to get the element decl if (fCurrentElemDecl == null) { SchemaGrammar sGrammar = fGrammarResolver.getGrammar(element.uri); if (sGrammar != null) fCurrentElemDecl = sGrammar.getGlobalElementDecl(element.localpart); } // Element Locally Valid (Element) // 2 Its {abstract} must be false. if (fCurrentElemDecl != null && fCurrentElemDecl.isAbstract()) reportSchemaError("cvc-elt.2", new Object[]{element.rawname}); // get the type for the current element fCurrentType = null; if (fCurrentElemDecl != null) { // then get the type fCurrentType = fCurrentElemDecl.fType; } // get type from xsi:type String xsiType = attributes.getValue(URI_XSI, XSI_TYPE); if (xsiType != null) getAndCheckXsiType(element, xsiType); // Element Locally Valid (Type) // 2 Its {abstract} must be false. if (fCurrentType != null) { if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; if (ctype.isAbstractType()) { reportSchemaError("cvc-type.2", new Object[]{"Element " + element.rawname + " is declared with a type that is abstract. Use xsi:type to specify a non-abstract type"}); } } } // if the element decl is not found if (fCurrentType == null ) { if (fDoValidation) { // if this is the root element, or wildcard = strict, report error if (fElementDepth == 0) { // report error, because it's root element reportSchemaError("cvc-elt.1", new Object[]{element.rawname}); } else if (wildcard != null && wildcard.fProcessContents == XSWildcardDecl.WILDCARD_STRICT) { // report error, because wilcard = strict reportSchemaError("cvc-complex-type.2.4.c", new Object[]{element.rawname}); } } // no element decl found, have to skip this element fSkipValidationDepth = fElementDepth; return; } // then try to get the content model fCurrentCM = null; if (fCurrentType != null) { if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { fCurrentCM = ((XSComplexTypeDecl)fCurrentType).getContentModel(fCMBuilder); } } // and get the initial content model state fCurrCMState = null; if (fCurrentCM != null) fCurrCMState = fCurrentCM.startContentModel(); // and the buffer to hold the value of the element fBuffer.setLength(0); fSawCharacters = false; // get information about xsi:nil String xsiNil = attributes.getValue(URI_XSI, XSI_NIL); if (xsiNil != null) getXsiNil(element, xsiNil); // now validate everything related with the attributes // first, get the attribute group XSAttributeGroupDecl attrGrp = null; if ((fCurrentType.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { XSComplexTypeDecl ctype = (XSComplexTypeDecl)fCurrentType; attrGrp = ctype.fAttrGrp; } processAttributes(element, attributes, attrGrp); // activate identity constraints if (fValidation ) { fValueStoreCache.startElement(); fMatcherStack.pushContext(); if (fCurrentElemDecl != null) { fValueStoreCache.initValueStoresFor(fCurrentElemDecl); int icCount = fCurrentElemDecl.fIDCPos; int uniqueOrKey = 0; for (;uniqueOrKey < icCount; uniqueOrKey++) { if(fCurrentElemDecl.fIDConstraints[uniqueOrKey].getType() != IdentityConstraint.KEYREF ) { activateSelectorFor(fCurrentElemDecl.fIDConstraints[uniqueOrKey]); } else break; } for (int keyref = uniqueOrKey; keyref < icCount; keyref++) { activateSelectorFor((IdentityConstraint)fCurrentElemDecl.fIDConstraints[keyref]); } } // call all active identity constraints int count = fMatcherStack.getMatcherCount(); for (int i = 0; i < count; i++) { XPathMatcher matcher = fMatcherStack.getMatcherAt(i); matcher.startElement(element, attributes, fGrammarResolver.getGrammar(element.uri)); } } } // handleStartElement(QName,XMLAttributes,boolean)
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/7d23b0f822620b832b611e0946e73bb880886a98/SchemaValidator.java/clean/src/org/apache/xerces/impl/v2/SchemaValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 1685, 1046, 12, 13688, 930, 16, 3167, 2498, 1677, 13, 288, 3639, 309, 261, 9394, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 4110, 1685, 1046, 30, 315, 397, 2956, 1769, 3639, 289, 7734, 368, 732, 6798, 1633, 5085, 2641, 1865, 333, 1245, 16, 3639, 368, 1427, 622, 333, 1634, 16, 326, 1633, 7394, 364, 333, 930, 353, 2731, 16, 3639, 368, 471, 732, 1608, 358, 1817, 819, 1347, 732, 6798, 4042, 1633, 5085, 18, 3639, 368, 1496, 309, 284, 7621, 1290, 2134, 5250, 353, 4859, 638, 16, 716, 4696, 1915, 711, 3639, 368, 2118, 1158, 1633, 5085, 364, 333, 930, 18, 732, 4859, 1608, 358, 1817, 3639, 368, 819, 16, 2724, 326, 819, 353, 3712, 30766, 316, 679, 930, 18, 3639, 309, 261, 74, 7621, 1290, 2134, 5250, 13, 5411, 284, 3402, 6289, 18, 6206, 1042, 5621, 3639, 469, 5411, 284, 7621, 1290, 2134, 5250, 273, 638, 31, 3639, 368, 2856, 358, 741, 3379, 3639, 368, 1365, 930, 3639, 368, 2438, 26780, 1285, 30, 5260, 12208, 4354, 3639, 309, 261, 74, 1046, 6148, 422, 300, 21, 13, 288, 5411, 284, 3244, 4354, 273, 284, 4354, 31, 5411, 284, 4354, 1119, 273, 284, 4354, 1318, 18, 588, 4354, 1119, 5621, 5411, 284, 4354, 1119, 18, 542, 3402, 6289, 12, 74, 3402, 6289, 1769, 3639, 289, 3639, 368, 309, 732, 854, 316, 326, 913, 434, 315, 7457, 3113, 1508, 2537, 2488, 333, 930, 3639, 368, 2438, 26780, 1285, 30, 225, 353, 333, 326, 3434, 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, 918, 1640, 1685, 1046, 12, 13688, 930, 16, 3167, 2498, 1677, 13, 288, 3639, 309, 261, 9394, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 4110, 1685, 1046, 30, 315, 397, 2956, 1769, 3639, 289, 7734, 368, 732, 6798, 1633, 5085, 2641, 1865, 333, 1245, 16, 3639, 368, 1427, 622, 333, 1634, 16, 326, 1633, 7394, 364, 333, 930, 353, 2731, 16, 3639, 368, 471, 732, 1608, 358, 1817, 819, 1347, 732, 6798, 4042, 1633, 5085, 18, 3639, 368, 1496, 309, 284, 7621, 1290, 2134, 5250, 353, 4859, 638, 16, 716, 4696, 1915, 711, 3639, 368, 2118, 1158, 1633, 5085, 364, 333, 930, 18, 732, 4859, 1608, 358, 1817, 3639, 368, 819, 16, 2724, 326, 819, 353, 2 ]
" [pc: 0, pc: 3] local: args index: 0 type: java/lang/String[]\n" +
" [pc: 0, pc: 3] local: args index: 0 type: java.lang.String[]\n" +
public void test037() { String source = "public class A {\n" + " public static void main(String[] args) {\n" + " boolean b = false;\n" + " if (false\n" + " & !b) { \n" + " System.out.println();\n" + " }\n" + " }\n" + "}"; String expectedOutput = " /* Method descriptor #15 ([Ljava/lang/String;)V */\n" + " public static void main(String[] args);\n" + " /* Stack: 1, Locals: 2 */\n" + " Code attribute:\n" + " 0 iconst_0\n" + " 1 istore_1\n" + " 2 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 3]\n" + " [pc: 2, line: 8]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 3] local: args index: 0 type: java/lang/String[]\n" + " [pc: 2, pc: 3] local: b index: 1 type: boolean\n"; checkClassFile("A", source, expectedOutput); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/9ba8652d2cebf2117416af5e39a70e172556117b/ClassFileReaderTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4630, 27, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 432, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1082, 202, 6, 202, 202, 6494, 324, 273, 629, 9747, 82, 6, 397, 1082, 202, 6, 202, 202, 430, 261, 5743, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 473, 401, 70, 13, 288, 565, 202, 64, 82, 6, 397, 1082, 202, 6, 1082, 565, 202, 3163, 18, 659, 18, 8222, 5621, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 289, 64, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 1532, 31, 202, 202, 780, 2665, 1447, 273, 1082, 202, 6, 225, 1748, 225, 2985, 4950, 225, 468, 3600, 23265, 21159, 19, 4936, 19, 780, 30943, 58, 1195, 64, 82, 6, 397, 1875, 202, 6, 225, 1071, 760, 918, 2774, 12, 780, 8526, 833, 20472, 82, 6, 397, 1875, 202, 6, 565, 1748, 7283, 30, 404, 16, 2851, 1031, 30, 576, 1195, 64, 82, 6, 397, 1875, 202, 6, 565, 3356, 1566, 5581, 82, 6, 397, 1875, 202, 6, 1377, 374, 225, 4126, 334, 67, 20, 64, 82, 6, 397, 1875, 202, 6, 1377, 404, 225, 277, 2233, 67, 21, 64, 82, 6, 397, 1875, 202, 6, 1377, 576, 225, 327, 64, 82, 6, 397, 1875, 202, 12691, 82, 6, 397, 1875, 202, 6, 565, 5377, 1300, 1566, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4630, 27, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 432, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1082, 202, 6, 202, 202, 6494, 324, 273, 629, 9747, 82, 6, 397, 1082, 202, 6, 202, 202, 430, 261, 5743, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 473, 401, 70, 13, 288, 565, 202, 64, 82, 6, 397, 1082, 202, 6, 1082, 565, 202, 3163, 18, 659, 18, 8222, 5621, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 289, 64, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 2 ]
_eoFrame0.setLocation(403, 91);
_eoFrame0.setLocation(403, 85);
protected void _init() { super._init(); if (!(_nsCustomView0.getLayout() instanceof EOViewLayout)) { _nsCustomView0.setLayout(new EOViewLayout()); } _nsBox0.setSize(610, 364); _nsBox0.setLocation(17, 5); ((EOViewLayout)_nsCustomView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin); _nsCustomView0.add(_nsBox0); _setFontForComponent(_nsTextField26, "Lucida Grande", 13, Font.PLAIN); _nsTextField26.setEditable(false); _nsTextField26.setOpaque(false); _nsTextField26.setText("URL:\n"); _nsTextField26.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField26.setSelectable(false); _nsTextField26.setEnabled(true); _nsTextField26.setBorder(null); _setFontForComponent(_nsTextField25, "Lucida Grande", 11, Font.PLAIN); _nsTextField25.setEditable(false); _nsTextField25.setOpaque(false); _nsTextField25.setText("Please enter your username and password, and the\nURL of the Coppermine site to use (enter the base URL only)"); _nsTextField25.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField25.setSelectable(false); _nsTextField25.setEnabled(true); _nsTextField25.setBorder(null); _setFontForComponent(_nsTextField24, "Lucida Grande", 11, Font.PLAIN); _nsTextField24.setEditable(false); _nsTextField24.setOpaque(false); _nsTextField24.setText("Passwords are stored in your Keychain"); _nsTextField24.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField24.setSelectable(false); _nsTextField24.setEnabled(true); _nsTextField24.setBorder(null); _setFontForComponent(_nsTextField23, "Lucida Grande", 13, Font.PLAIN); _nsTextField23.setEditable(false); _nsTextField23.setOpaque(false); _nsTextField23.setText("Password:"); _nsTextField23.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField23.setSelectable(false); _nsTextField23.setEnabled(true); _nsTextField23.setBorder(null); _setFontForComponent(_nsTextField22, "Lucida Grande", 13, Font.PLAIN); _nsTextField22.setEditable(false); _nsTextField22.setOpaque(false); _nsTextField22.setText("Username:"); _nsTextField22.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField22.setSelectable(false); _nsTextField22.setEnabled(true); _nsTextField22.setBorder(null); _setFontForComponent(_nsButton13, "Lucida Grande", 13, Font.PLAIN); _nsButton13.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsButton12, "Lucida Grande", 13, Font.PLAIN); _nsButton12.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsTextField21, "Lucida Grande", 13, Font.PLAIN); _nsTextField21.setEditable(false); _nsTextField21.setOpaque(false); _nsTextField21.setText("Description:"); _nsTextField21.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField21.setSelectable(false); _nsTextField21.setEnabled(true); _nsTextField21.setBorder(null); _setFontForComponent(_nsTextField20, "Lucida Grande", 13, Font.PLAIN); _nsTextField20.setEditable(false); _nsTextField20.setOpaque(false); _nsTextField20.setText("Category:"); _nsTextField20.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField20.setSelectable(false); _nsTextField20.setEnabled(true); _nsTextField20.setBorder(null); _setFontForComponent(_nsTextField19, "Lucida Grande", 11, Font.PLAIN); _nsTextField19.setEditable(false); _nsTextField19.setOpaque(false); _nsTextField19.setText("If you want to upload them to a new album, please enter its name and select the category in which to create it, with an optional description."); _nsTextField19.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField19.setSelectable(false); _nsTextField19.setEnabled(true); _nsTextField19.setBorder(null); _setFontForComponent(_nsButton11, "Lucida Grande", 13, Font.PLAIN); _nsButton11.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton10, _popup0, "nextFocusableComponent"); _setFontForComponent(_nsButton10, "Lucida Grande", 13, Font.PLAIN); _nsButton10.setMargin(new Insets(0, 2, 0, 2)); _connect(_popup1, _nsButton10, "nextFocusableComponent"); _setFontForComponent(_popup1, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm0, _popup1, "nextFocusableComponent"); _setFontForComponent(_eoFormCell0, "Lucida Grande", 13, Font.PLAIN); _eoFormCell0.setTitle("Album name:"); _eoFormCell0.setTitleWidth(93); _eoFormCell0.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell0.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell0.setSize(0, 0); _eoFormCell0.setLocation(-1, 0); _nsForm0.add(_eoFormCell0); _setFontForComponent(_nsForm0, "Lucida Grande", 13, Font.PLAIN); _connect(_popup0, _nsForm0, "nextFocusableComponent"); _setFontForComponent(_popup0, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_nsTextField18, "Lucida Grande", 11, Font.PLAIN); _nsTextField18.setEditable(false); _nsTextField18.setOpaque(false); _nsTextField18.setText("Please select the album to which you wish to upload your pictures."); _nsTextField18.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField18.setSelectable(false); _nsTextField18.setEnabled(true); _nsTextField18.setBorder(null); _setFontForComponent(_nsTextField17, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField17.setEditable(false); _nsTextField17.setOpaque(false); _nsTextField17.setText("Destination album"); _nsTextField17.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField17.setSelectable(false); _nsTextField17.setEnabled(true); _nsTextField17.setBorder(null); _nsTextView1.setEditable(true); _nsTextView1.setOpaque(true); _nsTextView1.setText(""); _setFontForComponent(_nsTextField16, "Lucida Grande", 9, Font.PLAIN); _nsTextField16.setEditable(false); _nsTextField16.setOpaque(false); _nsTextField16.setText("(Optional)"); _nsTextField16.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField16.setSelectable(false); _nsTextField16.setEnabled(true); _nsTextField16.setBorder(null); if (!(_nsBox7.getLayout() instanceof EOViewLayout)) { _nsBox7.setLayout(new EOViewLayout()); } _nsTextField16.setSize(104, 11); _nsTextField16.setLocation(-9, 123); ((EOViewLayout)_nsBox7.getLayout()).setAutosizingMask(_nsTextField16, EOViewLayout.MinYMargin); _nsBox7.add(_nsTextField16); _nsTextView1.setSize(310, 56); _nsTextView1.setLocation(99, 101); ((EOViewLayout)_nsBox7.getLayout()).setAutosizingMask(_nsTextView1, EOViewLayout.MinYMargin); _nsBox7.add(_nsTextView1); if (!(_nsBox6.getLayout() instanceof EOViewLayout)) { _nsBox6.setLayout(new EOViewLayout()); } _nsBox7.setSize(416, 165); _nsBox7.setLocation(2, 15); ((EOViewLayout)_nsBox6.getLayout()).setAutosizingMask(_nsBox7, EOViewLayout.MinYMargin); _nsBox6.add(_nsBox7); _nsBox6.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 11, Font.PLAIN)); if (!(_nsView2.getLayout() instanceof EOViewLayout)) { _nsView2.setLayout(new EOViewLayout()); } _nsBox6.setSize(420, 182); _nsBox6.setLocation(5, 83); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsBox6, EOViewLayout.MinYMargin); _nsView2.add(_nsBox6); _nsTextField17.setSize(139, 17); _nsTextField17.setLocation(11, 14); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField17, EOViewLayout.MinYMargin); _nsView2.add(_nsTextField17); _nsTextField18.setSize(410, 22); _nsTextField18.setLocation(11, 39); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField18, EOViewLayout.MinYMargin); _nsView2.add(_nsTextField18); _popup0.setSize(403, 26); _popup0.setLocation(15, 59); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin); _nsView2.add(_popup0); _nsButton10.setSize(71, 26); _nsButton10.setLocation(350, 268); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton10, EOViewLayout.MinYMargin); _nsView2.add(_nsButton10); _nsButton11.setSize(75, 26); _nsButton11.setLocation(270, 268); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton11, EOViewLayout.MinYMargin); _nsView2.add(_nsButton11); _nsTextField19.setSize(410, 32); _nsTextField19.setLocation(11, 102); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField19, EOViewLayout.MinYMargin); _nsView2.add(_nsTextField19); _nsForm0.setSize(405, 23); _nsForm0.setLocation(13, 137); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsForm0, EOViewLayout.MinYMargin); _nsView2.add(_nsForm0); _popup1.setSize(310, 26); _popup1.setLocation(108, 166); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_popup1, EOViewLayout.MinYMargin); _nsView2.add(_popup1); _nsTextField20.setSize(114, 17); _nsTextField20.setLocation(-12, 169); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField20, EOViewLayout.MinYMargin); _nsView2.add(_nsTextField20); _nsTextField21.setSize(114, 17); _nsTextField21.setLocation(-12, 199); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField21, EOViewLayout.MinYMargin); _nsView2.add(_nsTextField21); if (_replacedObjects.objectForKey("_eoFrame2") == null) { _nsView2.setSize(430, 304); _eoFrame2.setTitle("Destination Album"); _eoFrame2.setLocation(404, 372); _eoFrame2.setSize(430, 304); } if (_replacedObjects.objectForKey("_nsTextField15") == null) { _setFontForComponent(_nsTextField15, "Lucida Grande", 13, Font.PLAIN); _nsTextField15.setEditable(true); _nsTextField15.setOpaque(true); _nsTextField15.setText(""); _nsTextField15.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField15.setSelectable(true); _nsTextField15.setEnabled(true); } _connect(_objectController0, _nsTextField27, "content"); if (_replacedObjects.objectForKey("_nsTextField27") == null) { _setFontForComponent(_nsTextField27, "Lucida Grande", 13, Font.PLAIN); _nsTextField27.setEditable(true); _nsTextField27.setOpaque(true); _nsTextField27.setText(""); _nsTextField27.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField27.setEnabled(true); } _setFontForComponent(_nsButton9, "Lucida Grande", 13, Font.PLAIN); _nsButton9.setMargin(new Insets(0, 2, 0, 2)); if (_replacedObjects.objectForKey("_nsTextField14") == null) { _setFontForComponent(_nsTextField14, "Lucida Grande", 11, Font.PLAIN); _nsTextField14.setEditable(false); _nsTextField14.setOpaque(false); _nsTextField14.setText(""); _nsTextField14.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField14.setSelectable(false); _nsTextField14.setEnabled(true); _nsTextField14.setBorder(null); } _setFontForComponent(_nsTextField13, "Lucida Grande", 13, Font.PLAIN); _nsTextField13.setEditable(false); _nsTextField13.setOpaque(false); _nsTextField13.setText("Coppermine Export"); _nsTextField13.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField13.setSelectable(false); _nsTextField13.setEnabled(true); _nsTextField13.setBorder(null); if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); } _nsImageView2.setSize(70, 70); _nsImageView2.setLocation(10, 11); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsImageView2, EOViewLayout.MinYMargin); _nsView1.add(_nsImageView2); _nsTextField13.setSize(141, 17); _nsTextField13.setLocation(86, 11); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField13, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField13); _nsTextField14.setSize(396, 14); _nsTextField14.setLocation(86, 36); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField14, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField14); _nsButton9.setSize(75, 26); _nsButton9.setLocation(407, 92); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton9, EOViewLayout.MinYMargin); _nsView1.add(_nsButton9); _nsProgressIndicator0.setSize(394, 20); _nsProgressIndicator0.setLocation(86, 58); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsProgressIndicator0, EOViewLayout.MinYMargin); _nsView1.add(_nsProgressIndicator0); if (_replacedObjects.objectForKey("_eoFrame1") == null) { _nsView1.setSize(491, 128); _eoFrame1.setTitle("Panel"); _eoFrame1.setLocation(187, 416); _eoFrame1.setSize(491, 128); } _setFontForComponent(_nsTextField12, "Lucida Grande", 9, Font.PLAIN); _nsTextField12.setEditable(false); _nsTextField12.setOpaque(false); _nsTextField12.setText("CopperExport v(version)"); _nsTextField12.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField12.setSelectable(false); _nsTextField12.setEnabled(true); _nsTextField12.setBorder(null); if (!(_nsBox4.getLayout() instanceof EOViewLayout)) { _nsBox4.setLayout(new EOViewLayout()); } _nsBox5.setSize(125, 1); _nsBox5.setLocation(2, 2); ((EOViewLayout)_nsBox4.getLayout()).setAutosizingMask(_nsBox5, EOViewLayout.MinYMargin); _nsBox4.add(_nsBox5); _nsBox4.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField11, "Lucida Grande", 11, Font.PLAIN); _nsTextField11.setEditable(false); _nsTextField11.setOpaque(false); _nsTextField11.setText("http://cpgurl.org/\n"); _nsTextField11.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField11.setSelectable(true); _nsTextField11.setEnabled(true); _nsTextField11.setBorder(null); _setFontForComponent(_nsTextField10, "Lucida Grande", 11, Font.PLAIN); _nsTextField10.setEditable(false); _nsTextField10.setOpaque(false); _nsTextField10.setText("username"); _nsTextField10.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField10.setSelectable(true); _nsTextField10.setEnabled(true); _nsTextField10.setBorder(null); _setFontForComponent(_nsTextField9, "Lucida Grande", 9, Font.PLAIN); _nsTextField9.setEditable(false); _nsTextField9.setOpaque(false); _nsTextField9.setText("Uploading to:"); _nsTextField9.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField9.setSelectable(false); _nsTextField9.setEnabled(true); _nsTextField9.setBorder(null); if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); } _nsBox3.setSize(125, 1); _nsBox3.setLocation(2, 2); ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin); _nsBox2.add(_nsBox3); _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField8, "Lucida Grande", 9, Font.PLAIN); _nsTextField8.setEditable(false); _nsTextField8.setOpaque(false); _nsTextField8.setText("Size:"); _nsTextField8.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField8.setSelectable(false); _nsTextField8.setEnabled(true); _nsTextField8.setBorder(null); _setFontForComponent(_nsTextField7, "Lucida Grande", 9, Font.PLAIN); _nsTextField7.setEditable(false); _nsTextField7.setOpaque(false); _nsTextField7.setText("Uploading as:"); _nsTextField7.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField7.setSelectable(false); _nsTextField7.setEnabled(true); _nsTextField7.setBorder(null); _setFontForComponent(_nsTextField6, "Lucida Grande", 9, Font.PLAIN); _nsTextField6.setEditable(false); _nsTextField6.setOpaque(false); _nsTextField6.setText("x"); _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField6.setSelectable(false); _nsTextField6.setEnabled(true); _nsTextField6.setBorder(null); _setFontForComponent(_nsTextField5, "Lucida Grande", 9, Font.PLAIN); _nsTextField5.setEditable(false); _nsTextField5.setOpaque(false); _nsTextField5.setText("Title:"); _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField5.setSelectable(false); _nsTextField5.setEnabled(true); _nsTextField5.setBorder(null); _connect(_nsTableView0, _nsTextField4, "nextFocusableComponent"); _nsTextView0.setEditable(true); _nsTextView0.setOpaque(true); _nsTextView0.setText(""); _connect(_nsTextView0, _nsButton8, "nextFocusableComponent"); _setFontForComponent(_nsButton8, "Lucida Grande", 9, Font.PLAIN); _nsButton8.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton7, _nsButton8, "nextFocusableComponent"); _setFontForComponent(_nsButton7, "Lucida Grande", 9, Font.PLAIN); _nsButton7.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsTextField4, _nsButton7, "nextFocusableComponent"); _setFontForComponent(_nsTextField4, "Lucida Grande", 9, Font.PLAIN); _nsTextField4.setEditable(true); _nsTextField4.setOpaque(true); _nsTextField4.setText(""); _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField4.setSelectable(true); _nsTextField4.setEnabled(true); if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); } _nsTableView0.setSize(102, 320); _nsTableView0.setLocation(8, 30); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTableView0, EOViewLayout.MinYMargin); _nsBox1.add(_nsTableView0); _nsTextField4.setSize(312, 15); _nsTextField4.setLocation(148, 58); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField4); _nsTextField5.setSize(27, 11); _nsTextField5.setLocation(116, 61); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField5); _nsTextView0.setSize(341, 79); _nsTextView0.setLocation(118, 81); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextView0, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextView0); _nsButton7.setSize(121, 16); _nsButton7.setLocation(471, 58); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton7); _nsButton8.setSize(121, 16); _nsButton8.setLocation(471, 81); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton8, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton8); _nsImageView1.setSize(206, 156); _nsImageView1.setLocation(115, 174); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin); _nsBox1.add(_nsImageView1); _nsTextField3.setSize(31, 15); _nsTextField3.setLocation(146, 335); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField3); _nsTextField2.setSize(31, 15); _nsTextField2.setLocation(197, 335); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField2); _nsTextField6.setSize(10, 11); _nsTextField6.setLocation(182, 336); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField6); _nsButton2.setSize(78, 16); _nsButton2.setLocation(239, 335); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton2); _nsTableView1.setSize(143, 150); _nsTableView1.setLocation(333, 177); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTableView1, EOViewLayout.MinYMargin); _nsBox1.add(_nsTableView1); _nsButton1.setSize(23, 21); _nsButton1.setLocation(504, 307); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton1); _nsButton3.setSize(23, 21); _nsButton3.setLocation(482, 307); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton3); _nsButton6.setSize(109, 16); _nsButton6.setLocation(483, 177); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton6); _nsButton5.setSize(109, 16); _nsButton5.setLocation(483, 199); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton5); _nsButton4.setSize(109, 16); _nsButton4.setLocation(483, 221); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton4); _nsButton14.setSize(198, 17); _nsButton14.setLocation(402, 6); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton14, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton14); _nsTextField7.setSize(64, 11); _nsTextField7.setLocation(116, 9); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField7, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField7); _nsButton0.setSize(50, 16); _nsButton0.setLocation(339, 8); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin); _nsBox1.add(_nsButton0); _nsTextField8.setSize(25, 11); _nsTextField8.setLocation(116, 336); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField8, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField8); _nsBox2.setSize(472, 5); _nsBox2.setLocation(118, 166); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin); _nsBox1.add(_nsBox2); _nsSearchField0.setSize(102, 15); _nsSearchField0.setLocation(9, 7); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsSearchField0, EOViewLayout.MinYMargin); _nsBox1.add(_nsSearchField0); _nsTextField9.setSize(64, 11); _nsTextField9.setLocation(116, 27); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField9, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField9); _nsTextField10.setSize(129, 14); _nsTextField10.setLocation(182, 7); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField10, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField10); _nsTextField11.setSize(412, 14); _nsTextField11.setLocation(182, 25); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField11, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField11); _nsBox4.setSize(475, 5); _nsBox4.setLocation(118, 45); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsBox4, EOViewLayout.MinYMargin); _nsBox1.add(_nsBox4); _nsTextField12.setSize(193, 11); _nsTextField12.setLocation(404, 341); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField12, EOViewLayout.MinYMargin); _nsBox1.add(_nsTextField12); if (_replacedObjects.objectForKey("_nsBox0") == null) { if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); } _nsBox1.setSize(606, 360); _nsBox1.setLocation(2, 2); ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin); _nsBox0.add(_nsBox1); _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 11, Font.PLAIN)); } if (_replacedObjects.objectForKey("_nsBox0") == null) { _connect(_nsBox0, _nsSearchField0, "searchField"); } _connect(_nsTableView1, _nsButton6, "nextFocusableComponent"); _setFontForComponent(_nsButton6, "Lucida Grande", 9, Font.PLAIN); _nsButton6.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton6, _nsButton5, "nextFocusableComponent"); _setFontForComponent(_nsButton5, "Lucida Grande", 9, Font.PLAIN); _nsButton5.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton5, _nsButton4, "nextFocusableComponent"); _setFontForComponent(_nsButton4, "Lucida Grande", 9, Font.PLAIN); _nsButton4.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton4, _nsButton3, "nextFocusableComponent"); _connect(_nsButton3, _nsButton1, "nextFocusableComponent"); _setFontForComponent(_nsButton3, "Lucida Grande", 10, Font.PLAIN); _nsButton3.setMargin(new Insets(0, 2, 0, 2)); _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_arrayController1, "add", _nsButton3), "")); if (_replacedObjects.objectForKey("_nsTextField3") == null) { _setFontForComponent(_nsTextField3, "Lucida Grande", 9, Font.PLAIN); _nsTextField3.setEditable(true); _nsTextField3.setOpaque(true); _nsTextField3.setText("9999"); _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField3.setSelectable(true); _nsTextField3.setEnabled(true); } if (_replacedObjects.objectForKey("_nsTextField3") == null) { _connect(_nsTextField3, _nsTextField2, "nextFocusableComponent"); } if (_replacedObjects.objectForKey("_nsTextField2") == null) { _setFontForComponent(_nsTextField2, "Lucida Grande", 9, Font.PLAIN); _nsTextField2.setEditable(true); _nsTextField2.setOpaque(true); _nsTextField2.setText("9999"); _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField2.setSelectable(true); _nsTextField2.setEnabled(true); } if (_replacedObjects.objectForKey("_nsTextField2") == null) { _connect(_nsTextField2, _nsButton2, "nextFocusableComponent"); } if (_replacedObjects.objectForKey("_nsButton2") == null) { _setFontForComponent(_nsButton2, "Lucida Grande", 9, Font.PLAIN); _nsButton2.setMargin(new Insets(0, 2, 0, 2)); } if (_replacedObjects.objectForKey("_nsButton2") == null) { _connect(_nsButton2, _nsTableView1, "nextFocusableComponent"); } _eoTableColumn1.setMinWidth(40); _eoTableColumn1.setMaxWidth(1000); _eoTableColumn1.setPreferredWidth(127); _eoTableColumn1.setWidth(127); _eoTableColumn1.setResizable(true); _eoTableColumn1.setHeaderValue(""); if ((_eoTableColumn1.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn1.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView1") == null) { _nsTableView1.table().addColumn(_eoTableColumn1); _setFontForComponent(_nsTableView1.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView1.table().setRowHeight(20); } if (_replacedObjects.objectForKey("_arrayController1") == null) { _connect(_arrayController1, _nsTableView1, "table"); } _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_arrayController1, "remove", _nsButton1), "")); if (_replacedObjects.objectForKey("_nsButton1") == null) { _setFontForComponent(_nsButton1, "Lucida Grande", 10, Font.PLAIN); _nsButton1.setMargin(new Insets(0, 2, 0, 2)); } if (_replacedObjects.objectForKey("_nsButton1") == null) { _connect(_nsButton1, _nsSearchField0, "nextFocusableComponent"); } _nsSearchField0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_arrayController0, "search", _nsSearchField0), "")); if (_replacedObjects.objectForKey("_nsSearchField0") == null) { _setFontForComponent(_nsSearchField0, "Lucida Grande", 9, Font.PLAIN); _nsSearchField0.setEditable(true); _nsSearchField0.setOpaque(true); _nsSearchField0.setText(""); _nsSearchField0.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsSearchField0.setSelectable(true); _nsSearchField0.setEnabled(true); } if (_replacedObjects.objectForKey("_nsSearchField0") == null) { _connect(_nsSearchField0, _nsButton0, "nextFocusableComponent"); } _setFontForComponent(_nsButton0, "Lucida Grande", 9, Font.PLAIN); _nsButton0.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton0, _nsButton14, "nextFocusableComponent"); _setFontForComponent(_nsButton14, "Lucida Grande", 9, Font.PLAIN); _connect(_nsButton14, _nsTableView0, "nextFocusableComponent"); _eoTableColumn0.setMinWidth(8); _eoTableColumn0.setMaxWidth(1000); _eoTableColumn0.setPreferredWidth(86); _eoTableColumn0.setWidth(86); _eoTableColumn0.setResizable(true); _eoTableColumn0.setHeaderValue(""); if ((_eoTableColumn0.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn0.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView0") == null) { _nsTableView0.table().addColumn(_eoTableColumn0); _setFontForComponent(_nsTableView0.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView0.table().setRowHeight(43); } if (_replacedObjects.objectForKey("_arrayController0") == null) { _connect(_arrayController0, _nsTableView0, "tableView"); } if (_replacedObjects.objectForKey("_nsTextField1") == null) { _setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN); _nsTextField1.setEditable(true); _nsTextField1.setOpaque(true); _nsTextField1.setText(""); _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField1.setSelectable(true); _nsTextField1.setEnabled(true); } _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField0.setEditable(false); _nsTextField0.setOpaque(false); _nsTextField0.setText("Coppermine Login Details"); _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField0.setSelectable(false); _nsTextField0.setEnabled(true); _nsTextField0.setBorder(null); if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); } _nsImageView0.setSize(70, 70); _nsImageView0.setLocation(13, 14); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin); _nsView0.add(_nsImageView0); _nsTextField0.setSize(193, 17); _nsTextField0.setLocation(89, 14); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField0); _nsTextField1.setSize(248, 22); _nsTextField1.setLocation(180, 78); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField1); _nsTextField22.setSize(86, 17); _nsTextField22.setLocation(89, 81); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField22, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField22); _nsTextField27.setSize(248, 22); _nsTextField27.setLocation(180, 108); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField27, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField27); _nsTextField23.setSize(68, 17); _nsTextField23.setLocation(107, 111); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField23, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField23); _nsTextField24.setSize(210, 14); _nsTextField24.setLocation(177, 168); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField24, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField24); _nsButton13.setSize(71, 26); _nsButton13.setLocation(360, 196); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton13, EOViewLayout.MinYMargin); _nsView0.add(_nsButton13); _nsButton12.setSize(75, 26); _nsButton12.setLocation(278, 196); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton12, EOViewLayout.MinYMargin); _nsView0.add(_nsButton12); _nsTextField25.setSize(329, 31); _nsTextField25.setLocation(89, 39); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField25, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField25); _nsTextField15.setSize(248, 22); _nsTextField15.setLocation(180, 138); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField15, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField15); _nsTextField26.setSize(68, 17); _nsTextField26.setLocation(107, 141); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField26, EOViewLayout.MinYMargin); _nsView0.add(_nsTextField26); if (_replacedObjects.objectForKey("_eoFrame0") == null) { _nsView0.setSize(440, 232); _eoFrame0.setTitle("Panel"); _eoFrame0.setLocation(403, 91); _eoFrame0.setSize(440, 232); } }
14088 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14088/17684fc1c8c21c7fa96006cddda27842c0c15c49/_ExportUI_EOArchive_English.java/buggy/CopperExport/trunk/English.lproj/ExportUI.nib/_ExportUI_EOArchive_English.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 389, 2738, 1435, 288, 3639, 2240, 6315, 2738, 5621, 3639, 309, 16051, 24899, 2387, 3802, 1767, 20, 18, 588, 3744, 1435, 1276, 512, 51, 1767, 3744, 3719, 288, 389, 2387, 3802, 1767, 20, 18, 542, 3744, 12, 2704, 512, 51, 1767, 3744, 10663, 289, 3639, 389, 2387, 3514, 20, 18, 542, 1225, 12, 26, 2163, 16, 890, 1105, 1769, 3639, 389, 2387, 3514, 20, 18, 542, 2735, 12, 4033, 16, 1381, 1769, 3639, 14015, 41, 51, 1767, 3744, 13, 67, 2387, 3802, 1767, 20, 18, 588, 3744, 1435, 2934, 542, 21023, 6894, 5796, 24899, 2387, 3514, 20, 16, 512, 51, 1767, 3744, 18, 2930, 61, 9524, 1769, 3639, 389, 2387, 3802, 1767, 20, 18, 1289, 24899, 2387, 3514, 20, 1769, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 16157, 5558, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 2387, 16157, 5558, 18, 542, 15470, 12, 5743, 1769, 3639, 389, 2387, 16157, 5558, 18, 542, 3817, 14886, 12, 5743, 1769, 3639, 389, 2387, 16157, 5558, 18, 542, 1528, 2932, 1785, 5581, 82, 8863, 3639, 389, 2387, 16157, 5558, 18, 542, 14457, 11535, 12, 28384, 18, 5328, 310, 18, 46, 16157, 18, 11847, 1769, 3639, 389, 2387, 16157, 5558, 18, 542, 31544, 12, 5743, 1769, 3639, 389, 2387, 16157, 5558, 18, 542, 1526, 12, 3767, 1769, 3639, 389, 2387, 16157, 5558, 18, 542, 8107, 12, 2011, 1769, 3639, 389, 542, 5711, 1290, 1841, 24899, 2387, 16157, 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, 389, 2738, 1435, 288, 3639, 2240, 6315, 2738, 5621, 3639, 309, 16051, 24899, 2387, 3802, 1767, 20, 18, 588, 3744, 1435, 1276, 512, 51, 1767, 3744, 3719, 288, 389, 2387, 3802, 1767, 20, 18, 542, 3744, 12, 2704, 512, 51, 1767, 3744, 10663, 289, 3639, 389, 2387, 3514, 20, 18, 542, 1225, 12, 26, 2163, 16, 890, 1105, 1769, 3639, 389, 2387, 3514, 20, 18, 542, 2735, 12, 4033, 16, 1381, 1769, 3639, 14015, 41, 51, 1767, 3744, 13, 67, 2387, 3802, 1767, 20, 18, 588, 3744, 1435, 2934, 542, 21023, 6894, 5796, 24899, 2387, 3514, 20, 16, 512, 51, 1767, 3744, 18, 2930, 61, 9524, 1769, 3639, 389, 2387, 3802, 1767, 20, 18, 1289, 24899, 2 ]
boolean addTrim = defaultPixelData.addTrim; int width = defaultPixelData.width;
public ColumnPixelData[] getSavedColumnData() { ColumnPixelData[] defaultData = getDefaultColumnLayouts(); ColumnPixelData[] result = new ColumnPixelData[defaultData.length]; for (int i = 0; i < defaultData.length; i++) { int width = defaultData[i].width; ColumnPixelData defaultPixelData = defaultData[i]; // non-resizable columns are always left at their default width if (defaultPixelData.resizable) { if (memento != null) { Integer widthInt = memento.getInteger(TAG_COLUMN_WIDTH + i); if (widthInt != null && widthInt.intValue() > 0) { width = widthInt.intValue(); } } } result[i] = new ColumnPixelData(width, defaultPixelData.resizable, defaultPixelData.addTrim); } return result; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b4fef41b815ca6dcd34a3dc327524465f17e4624/TableView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 4753, 9037, 751, 8526, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 1322, 8158, 1494, 751, 1435, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 288, 202, 202, 1494, 9037, 751, 8526, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 805, 5139, 378, 2601, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 273, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 4829, 1494, 3744, 87, 5621, 202, 202, 1494, 9037, 751, 8526, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 563, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 273, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 394, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 4753, 9037, 751, 63, 1886, 751, 18, 2469, 15533, 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, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 4753, 9037, 751, 8526, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 1322, 8158, 1494, 751, 1435, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 288, 202, 202, 1494, 9037, 751, 8526, 6494, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 18, 2819, 31, 805, 5139, 378, 2601, 527, 14795, 273, 805, 9037, 751, 18, 1289, 14795, 31, 509, 1835, 273, 805, 9037, 751, 2 ]
writer.print(Integer.toString(CharSequenceUtil.countLines(value)));
writer.print(Integer.toString( value==null?0:CharSequenceUtil.countLines(value)));
static void writeMultilineEntry(PrintWriter writer, String value) throws IOException { writer.print(Integer.toString(CharSequenceUtil.countLines(value))); writer.print(":"); writer.println(nullToQQ(value)); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/9d3ff00d42721f83f97a733c812c40c9c080b841/AbstractDriver.java/clean/tran/mail/main/com/metavize/tran/mail/impl/quarantine/store/AbstractDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 1045, 5049, 12554, 1622, 12, 5108, 2289, 2633, 16, 565, 514, 460, 13, 1216, 1860, 288, 565, 2633, 18, 1188, 12, 4522, 18, 10492, 12, 460, 631, 2011, 35, 20, 30, 2156, 4021, 1304, 18, 1883, 5763, 12, 1132, 3719, 1769, 565, 2633, 18, 1188, 2932, 2773, 1769, 565, 2633, 18, 8222, 12, 2011, 774, 53, 53, 12, 1132, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 918, 1045, 5049, 12554, 1622, 12, 5108, 2289, 2633, 16, 565, 514, 460, 13, 1216, 1860, 288, 565, 2633, 18, 1188, 12, 4522, 18, 10492, 12, 460, 631, 2011, 35, 20, 30, 2156, 4021, 1304, 18, 1883, 5763, 12, 1132, 3719, 1769, 565, 2633, 18, 1188, 2932, 2773, 1769, 565, 2633, 18, 8222, 12, 2011, 774, 53, 53, 12, 1132, 10019, 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 ]
Iterator enum = mapItemToWrapper.values().iterator(); while (enum.hasNext()) { IContributionItem item = (IContributionItem)enum.next(); parentMgr.remove(item); }
Iterator enum = mapItemToWrapper.values().iterator(); while (enum.hasNext()) { IContributionItem item = (IContributionItem) enum.next(); parentMgr.remove(item); }
public void removeAll() { Iterator enum = mapItemToWrapper.values().iterator(); while (enum.hasNext()) { IContributionItem item = (IContributionItem)enum.next(); parentMgr.remove(item); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5ddde0e384bac44f41aeb754525f7bdab6a04e11/SubContributionManager.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubContributionManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 12787, 1435, 288, 202, 3198, 2792, 273, 852, 1180, 774, 3611, 18, 2372, 7675, 9838, 5621, 202, 17523, 261, 7924, 18, 5332, 2134, 10756, 288, 202, 202, 45, 442, 4027, 1180, 761, 273, 261, 45, 442, 4027, 1180, 13, 7924, 18, 4285, 5621, 202, 202, 2938, 9455, 18, 4479, 12, 1726, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 12787, 1435, 288, 202, 3198, 2792, 273, 852, 1180, 774, 3611, 18, 2372, 7675, 9838, 5621, 202, 17523, 261, 7924, 18, 5332, 2134, 10756, 288, 202, 202, 45, 442, 4027, 1180, 761, 273, 261, 45, 442, 4027, 1180, 13, 7924, 18, 4285, 5621, 202, 202, 2938, 9455, 18, 4479, 12, 1726, 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 ]