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
if (getHeadline().trim().equals("")) {
if ( (getHeadline()==null) || (getHeadline().trim().equals("")) ) {
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; }// if (getBody().trim().equals("")) {// addErrorKey(KEY_ERROR_BODY_EMPTY);// storeOk = false;// } // if (getRequestedStatus() != null && getRequestedStatus().equals(ContentItemCase.STATUS_PUBLISHED)) {// if (getCase().getPublishedFromDate() == null) {// addErrorKey(KEY_ERROR_PUBLISHED_FROM_DATE_EMPTY);// storeOk = false;// }// } // String filename = getHeadline();// if(null==filename || filename.length()==0) {// filename = "empty";// } if(storeOk){ try { IWUserContext iwuc = IWContext.getInstance(); IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwuc,IWSlideSession.class); WebdavRootResource rootResource = session.getWebdavRootResource(); //Setting the path for creating new file/creating localized version/updating existing file String filePath=getResourcePath(); String articleFolderPath=getArticlePath(); if(articleFolderPath!=null) { filePath=articleFolderPath+"/"+getArticleName(); }else { filePath=getArticleResourcePath(); articleFolderPath = getArticlePath(); } boolean hadToCreate = session.createAllFoldersInPath(articleFolderPath); if(hadToCreate){ String fixedFolderURL = session.getURI(articleFolderPath); rootResource.proppatchMethod(fixedFolderURL,PROPERTY_CONTENT_TYPE,"LocalizedFile",true); } else{ rootResource.proppatchMethod(articleFolderPath,PROPERTY_CONTENT_TYPE,"LocalizedFile",true); } String article = getAsXML(); ByteArrayInputStream utf8stream = new ByteArrayInputStream(article.getBytes("UTF-8")); // System.out.println(article); //Conflict fix: uri for creating but path for updating //Note! This is a patch to what seems to be a bug in WebDav //Apparently in verion below works in some cases and the other in other cases. //Seems to be connected to creating files in folders created in same tomcat session or similar //not quite clear... if(rootResource.putMethod(filePath,utf8stream)){ rootResource.proppatchMethod(filePath,PROPERTY_CONTENT_TYPE,ARTICLE_FILENAME_SCOPE,true); } else{ utf8stream = new ByteArrayInputStream(article.getBytes("UTF-8")); String fixedURL = session.getURI(filePath); rootResource.putMethod(fixedURL,utf8stream); rootResource.proppatchMethod(fixedURL,PROPERTY_CONTENT_TYPE,ARTICLE_FILENAME_SCOPE,true); } rootResource.close(); try { //load(filePath); ArticleItemBean newBean = new ArticleItemBean(); newBean.load(filePath); } catch (Exception e) { //storeOk = false; //e.printStackTrace(); throw new ArticleStoreException(e.getMessage()); } } catch (IOException e1) { storeOk = false; e1.printStackTrace(); } catch (XMLException e) { storeOk = false; e.printStackTrace(); } } if (storeOk) { if (getRequestedStatus() != null) { setStatus(getRequestedStatus()); setRequestedStatus(null); } }else { throw new ArticleStoreException(); } }
57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/047dadd8b67b5557b5bc84c6d8ba35681181d9fd/ArticleItemBean.java/buggy/src/java/com/idega/block/article/bean/ArticleItemBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1707, 1435, 1216, 1599, 51, 21151, 95, 202, 202, 6494, 1707, 8809, 273, 638, 31, 202, 202, 8507, 668, 2396, 5621, 202, 202, 430, 261, 588, 1414, 1369, 7675, 5290, 7675, 14963, 2932, 6, 3719, 288, 1082, 202, 1289, 668, 653, 12, 3297, 67, 3589, 67, 12458, 5997, 67, 13625, 1769, 1082, 202, 2233, 8809, 273, 629, 31, 202, 202, 97, 759, 202, 202, 430, 261, 588, 2250, 7675, 5290, 7675, 14963, 2932, 6, 3719, 288, 759, 1082, 202, 1289, 668, 653, 12, 3297, 67, 3589, 67, 16691, 67, 13625, 1769, 759, 1082, 202, 2233, 8809, 273, 629, 31, 759, 202, 202, 97, 202, 202, 759, 202, 202, 430, 261, 588, 11244, 1482, 1435, 480, 446, 597, 4328, 329, 1482, 7675, 14963, 12, 1350, 1180, 2449, 18, 8608, 67, 22224, 2056, 3719, 288, 759, 1082, 202, 430, 261, 588, 2449, 7675, 588, 16451, 1265, 1626, 1435, 422, 446, 13, 288, 759, 9506, 202, 1289, 668, 653, 12, 3297, 67, 3589, 67, 22224, 2056, 67, 11249, 67, 4594, 67, 13625, 1769, 759, 9506, 202, 2233, 8809, 273, 629, 31, 759, 1082, 202, 97, 759, 202, 202, 97, 202, 202, 759, 202, 202, 780, 1544, 273, 336, 1414, 1369, 5621, 759, 202, 202, 430, 12, 2011, 631, 3459, 747, 1544, 18, 2469, 1435, 631, 20, 13, 288, 759, 1082, 202, 3459, 273, 315, 5531, 14432, 759, 202, 202, 97, 202, 202, 430, 12, 2233, 8809, 15329, 1082, 202, 698, 288, 9506, 202, 45, 59, 1299, 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, 1707, 1435, 1216, 1599, 51, 21151, 95, 202, 202, 6494, 1707, 8809, 273, 638, 31, 202, 202, 8507, 668, 2396, 5621, 202, 202, 430, 261, 588, 1414, 1369, 7675, 5290, 7675, 14963, 2932, 6, 3719, 288, 1082, 202, 1289, 668, 653, 12, 3297, 67, 3589, 67, 12458, 5997, 67, 13625, 1769, 1082, 202, 2233, 8809, 273, 629, 31, 202, 202, 97, 759, 202, 202, 430, 261, 588, 2250, 7675, 5290, 7675, 14963, 2932, 6, 3719, 288, 759, 1082, 202, 1289, 668, 653, 12, 3297, 67, 3589, 67, 16691, 67, 13625, 1769, 759, 1082, 202, 2233, 8809, 273, 629, 31, 759, 202, 202, 97, 202, 202, 759, 202, 202, 430, 261, 588, 11244, 1482, 1435, 480, 2 ]
if(index >= frames.length) {
if (index >= frames.length) {
void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); int returnValue = -1; if(cmd.equals("Cut") || cmd.equals("Copy") || cmd.equals("Paste")) { JInternalFrame f = getSelectedFrame(); if(f != null && f instanceof ActionListener) { ((ActionListener)f).actionPerformed(e); } } else if(cmd.equals("Step Over")) { returnValue = STEP_OVER; } else if(cmd.equals("Step Into")) { returnValue = STEP_INTO; } else if(cmd.equals("Step Out")) { returnValue = STEP_OUT; } else if(cmd.equals("Go")) { returnValue = GO; } else if(cmd.equals("Break")) { doBreak(); } else if(cmd.equals("Run to Cursor")) { returnValue = RUN_TO_CURSOR; } else if(cmd.equals("Exit")) { Exit(); } else if(cmd.equals("Open")) { Scriptable scope = getScope(); if(scope == null) { MessageDialogWrapper.showMessageDialog(this, "Can't compile scripts: no scope available", "Open", JOptionPane.ERROR_MESSAGE); } else { String fileName = chooseFile("Select a file to compile"); if(fileName != null) { new Thread(new OpenFile(this, scope, fileName)).start(); } } } else if(cmd.equals("Load")) { Scriptable scope = getScope(); if(scope == null) { MessageDialogWrapper.showMessageDialog(this, "Can't run scripts: no scope available", "Run", JOptionPane.ERROR_MESSAGE); } else { String fileName = chooseFile("Select a file to execute"); if(fileName != null) { new Thread(new LoadFile(this, scope, fileName)).start(); } } } else if(cmd.equals("More Windows...")) { MoreWindows dlg = new MoreWindows(this, fileWindows, "Window", "Files"); dlg.showDialog(this); } else if(cmd.equals("Console")) { if(console.isIcon()) { desk.getDesktopManager().deiconifyFrame(console); } console.show(); desk.getDesktopManager().activateFrame(console); console.consoleTextArea.requestFocus(); } else if(cmd.equals("Cut")) { } else if(cmd.equals("Copy")) { } else if(cmd.equals("Paste")) { } else if(cmd.equals("Go to function...")) { FindFunction dlg = new FindFunction(this, functionMap, "Go to function", "Function"); dlg.showDialog(this); } else if(cmd.equals("Tile")) { JInternalFrame[] frames = desk.getAllFrames(); int count = frames.length; int rows, cols; rows = cols = (int)Math.sqrt(count); if(rows*cols < count) { cols++; if(rows * cols < count) { rows++; } } Dimension size = desk.getSize(); int w = size.width/cols; int h = size.height/rows; int x = 0; int y = 0; for(int i = 0; i < rows; i++) { for(int j = 0; j < cols; j++) { int index = (i*cols) + j; if(index >= frames.length) { break; } JInternalFrame f = frames[index]; try { f.setIcon(false); f.setMaximum(false); } catch (Exception exc) { } desk.getDesktopManager().setBoundsForFrame(f, x, y, w, h); x += w; } y += h; x = 0; } } else if(cmd.equals("Cascade")) { JInternalFrame[] frames = desk.getAllFrames(); int count = frames.length; int x, y, w, h; x = y = 0; h = desk.getHeight(); int d = h / count; if(d > 30) d = 30; for(int i = count -1; i >= 0; i--, x += d, y += d) { JInternalFrame f = frames[i]; try { f.setIcon(false); f.setMaximum(false); } catch (Exception exc) { } Dimension dimen = f.getPreferredSize(); w = dimen.width; h = dimen.height; desk.getDesktopManager().setBoundsForFrame(f, x, y, w, h); } } else { Object obj = getFileWindow(cmd); if(obj != null) { FileWindow w = (FileWindow)obj; try { if(w.isIcon()) { w.setIcon(false); } w.setVisible(true); w.moveToFront(); w.setSelected(true); } catch(Exception exc) { } } } if(returnValue != -1) { if(currentWindow != null) currentWindow.setPosition(-1); synchronized(monitor) { this.returnValue = returnValue; monitor.notify(); } } }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 509, 7750, 273, 300, 21, 31, 3639, 309, 12, 4172, 18, 14963, 2932, 15812, 7923, 747, 1797, 18, 14963, 2932, 2951, 7923, 747, 1797, 18, 14963, 2932, 52, 14725, 6, 3719, 288, 5411, 804, 3061, 3219, 284, 273, 16625, 3219, 5621, 5411, 309, 12, 74, 480, 446, 597, 284, 1276, 25962, 13, 288, 7734, 14015, 1803, 2223, 13, 74, 2934, 1128, 13889, 12, 73, 1769, 5411, 289, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 4160, 10752, 6, 3719, 288, 5411, 7750, 273, 25538, 67, 12959, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 4160, 657, 869, 6, 3719, 288, 5411, 7750, 273, 25538, 67, 3217, 51, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 4160, 2976, 6, 3719, 288, 5411, 7750, 273, 25538, 67, 5069, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 5741, 6, 3719, 288, 5411, 7750, 273, 12389, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 7634, 6, 3719, 288, 5411, 741, 7634, 5621, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 1997, 358, 13949, 6, 3719, 288, 5411, 7750, 273, 15484, 67, 4296, 67, 7509, 55, 916, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 6767, 6, 3719, 288, 5411, 9500, 5621, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 3678, 6, 3719, 288, 5411, 22780, 2146, 273, 19203, 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, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 3639, 509, 7750, 273, 300, 21, 31, 3639, 309, 12, 4172, 18, 14963, 2932, 15812, 7923, 747, 1797, 18, 14963, 2932, 2951, 7923, 747, 1797, 18, 14963, 2932, 52, 14725, 6, 3719, 288, 5411, 804, 3061, 3219, 284, 273, 16625, 3219, 5621, 5411, 309, 12, 74, 480, 446, 597, 284, 1276, 25962, 13, 288, 7734, 14015, 1803, 2223, 13, 74, 2934, 1128, 13889, 12, 73, 1769, 5411, 289, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 4160, 10752, 6, 3719, 288, 5411, 7750, 273, 25538, 67, 12959, 31, 3639, 289, 469, 309, 12, 4172, 18, 14963, 2932, 4160, 657, 2 ]
PluginDescriptor[] descriptors = PluginRepository.getInstance()
PluginDescriptor[] descriptors = repository
public void testLoadPlugins() { PluginDescriptor[] descriptors = PluginRepository.getInstance() .getPluginDescriptors(); int k = descriptors.length; assertTrue(fPluginCount <= k); for (int i = 0; i < descriptors.length; i++) { PluginDescriptor descriptor = descriptors[i]; if (!descriptor.getPluginId().startsWith("getPluginFolder()")) { continue; } assertEquals(1, descriptor.getExportedLibUrls().length); assertEquals(1, descriptor.getNotExportedLibUrls().length); } }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/329ff64e9d7295aff108f85e9a8103f5e5f8f398/TestPluginSystem.java/buggy/src/test/org/apache/nutch/plugin/TestPluginSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2563, 9461, 1435, 288, 3639, 6258, 3187, 8526, 14215, 273, 3352, 7734, 263, 588, 3773, 12705, 5621, 3639, 509, 417, 273, 14215, 18, 2469, 31, 3639, 1815, 5510, 12, 74, 3773, 1380, 1648, 417, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14215, 18, 2469, 31, 277, 27245, 288, 5411, 6258, 3187, 4950, 273, 14215, 63, 77, 15533, 5411, 309, 16051, 12628, 18, 588, 3773, 548, 7675, 17514, 1190, 2932, 588, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2563, 9461, 1435, 288, 3639, 6258, 3187, 8526, 14215, 273, 3352, 7734, 263, 588, 3773, 12705, 5621, 3639, 509, 417, 273, 14215, 18, 2469, 31, 3639, 1815, 5510, 12, 74, 3773, 1380, 1648, 417, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14215, 18, 2469, 31, 277, 27245, 288, 5411, 6258, 3187, 4950, 273, 14215, 63, 77, 15533, 5411, 309, 16051, 12628, 18, 588, 3773, 548, 7675, 17514, 1190, 2932, 588, 3773, 3899, 10031, 3719, 288, 7734, 1324, 31, 5411, 289, 5411, 1815, 8867, 12, 21, 16, 4950, 18, 588, 31140, 5664, 10509, 7675, 2469, 1769, 5411, 1815, 8867, 12, 21, 16, 4950, 18, 588, 1248, 31140, 5664, 10509, 7675, 2469, 1769, 2 ]
debug=Messages.getString("Update.Debug.StartOfLookupValues");
debug="Start of lookupValues";
private synchronized void lookupValues(Row row) throws KettleException { Row lu; Row add; debug=Messages.getString("Update.Debug.StartOfLookupValues"); //$NON-NLS-1$ if (first) { debug=Messages.getString("Update.Debug.FirstRunInitialize"); //$NON-NLS-1$ first=false; data.dblup.setLookup(meta.getTableName(), meta.getKeyLookup(), meta.getKeyCondition(), meta.getUpdateLookup(), null, null); data.dbupd.prepareUpdate(meta.getTableName(), meta.getKeyLookup(), meta.getKeyCondition(), meta.getUpdateLookup()); debug=Messages.getString("Update.Debug.FirstRunLookupValues"); //$NON-NLS-1$ // lookup the values! if (log.isDetailed()) logDetailed(Messages.getString("Update.Log.CheckingRow")+row.toString()); //$NON-NLS-1$ data.keynrs = new int[meta.getKeyStream().length]; data.keynrs2 = new int[meta.getKeyStream().length]; for (int i=0;i<meta.getKeyStream().length;i++) { data.keynrs[i]=row.searchValueIndex(meta.getKeyStream()[i]); if (data.keynrs[i]<0 && // couldn't find field! !"IS NULL".equalsIgnoreCase(meta.getKeyCondition()[i]) && // No field needed! //$NON-NLS-1$ !"IS NOT NULL".equalsIgnoreCase(meta.getKeyCondition()[i]) // No field needed! //$NON-NLS-1$ ) { throw new KettleStepException(Messages.getString("Update.Exception.FieldRequired",meta.getKeyStream()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } data.keynrs2[i]=row.searchValueIndex(meta.getKeyStream2()[i]); if (data.keynrs2[i]<0 && // couldn't find field! "BETWEEN".equalsIgnoreCase(meta.getKeyCondition()[i]) // 2 fields needed! //$NON-NLS-1$ ) { throw new KettleStepException(Messages.getString("Update.Exception.FieldRequired",meta.getKeyStream2()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } if (log.isDebug()) logDebug(Messages.getString("Update.Log.FieldHasDataNumbers",meta.getKeyStream()[i])+""+data.keynrs[i]); //$NON-NLS-1$ //$NON-NLS-2$ } // Cache the position of the compare fields in Row row // debug=Messages.getString("Update.Debug.FirstRunLookupCompareFields"); //$NON-NLS-1$ data.valuenrs = new int[meta.getUpdateLookup().length]; for (int i=0;i<meta.getUpdateLookup().length;i++) { data.valuenrs[i]=row.searchValueIndex(meta.getUpdateStream()[i]); if (data.valuenrs[i]<0) // couldn't find field! { throw new KettleStepException(Messages.getString("Update.Exception.FieldRequired",meta.getUpdateStream()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } if (log.isDebug()) logDebug(Messages.getString("Update.Log.FieldHasDataNumbers",meta.getUpdateStream()[i])+""+data.valuenrs[i]); //$NON-NLS-1$ //$NON-NLS-2$ } } lu = new Row(); for (int i=0;i<meta.getKeyStream().length;i++) { if (data.keynrs[i]>=0) { lu.addValue( row.getValue(data.keynrs[i]) ); } if (data.keynrs2[i]>=0) { lu.addValue( row.getValue(data.keynrs2[i]) ); } } debug="setValues()"; //$NON-NLS-1$ data.dblup.setValuesLookup(lu); if (log.isDebug()) logDebug(Messages.getString("Update.Log.ValuesSetForLookup",lu.toString(),""+row)); //$NON-NLS-1$ //$NON-NLS-2$ debug="getLookup()"; //$NON-NLS-1$ add=data.dblup.getLookup(); // Got back the complete row! linesInput++; if (add==null) { /* nothing was found: throw error! */ if (!meta.isErrorIgnored()) { throw new KettleDatabaseException(Messages.getString("Update.Exception.KeyCouldNotFound")+lu); //$NON-NLS-1$ } else { log.logDetailed(toString(), Messages.getString("Update.Log.KeyCouldNotFound")+lu); //$NON-NLS-1$ if (meta.getIgnoreFlagField()!=null && meta.getIgnoreFlagField().length()>0) // add flag field! { row.addValue(new Value(meta.getIgnoreFlagField(), false)); } } } else { if (log.isRowLevel()) logRowlevel(Messages.getString("Update.Log.FoundRow")+add.toString()); //$NON-NLS-1$ /* Row was found: * * UPDATE row or do nothing? * */ debug=Messages.getString("Update.Debug.CompareForUpdate"); //$NON-NLS-1$ boolean update = false; for (int i=0;i<data.valuenrs.length;i++) { Value rowvalue = row.getValue(data.valuenrs[i]); lu.addValue(i, rowvalue); Value retvalue = add.getValue(i); if (!rowvalue.equals(retvalue)) { update=true; } } if (update) { if (log.isRowLevel()) logRowlevel(Messages.getString("Update.Log.UpdateRow")+lu.toString()); //$NON-NLS-1$ debug="setValuesUpdate()"; //$NON-NLS-1$ data.dbupd.setValuesUpdate(lu); debug="updateRow()"; //$NON-NLS-1$ data.dbupd.updateRow(); linesUpdated++; } else { linesSkipped++; } if (meta.getIgnoreFlagField()!=null && meta.getIgnoreFlagField().length()>0) // add flag field! { row.addValue(new Value(meta.getIgnoreFlagField(), false)); } } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/a4e698796d2cbfdbc6cdf24249cbada520271956/Update.java/buggy/src/be/ibridge/kettle/trans/step/update/Update.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 3689, 1972, 12, 1999, 1027, 13, 1216, 1475, 278, 5929, 503, 202, 95, 202, 202, 1999, 20072, 31, 202, 202, 1999, 527, 31, 1082, 202, 4148, 1546, 1685, 434, 3689, 1972, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 4148, 33, 5058, 18, 588, 780, 2932, 1891, 18, 2829, 18, 3759, 1997, 7520, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3645, 33, 5743, 31, 25083, 202, 892, 18, 1966, 80, 416, 18, 542, 6609, 12, 3901, 18, 588, 7147, 9334, 2191, 18, 588, 653, 6609, 9334, 2191, 18, 588, 653, 3418, 9334, 2191, 18, 588, 1891, 6609, 9334, 446, 16, 446, 1769, 1082, 202, 892, 18, 1966, 5533, 18, 9366, 1891, 12, 3901, 18, 588, 7147, 9334, 2191, 18, 588, 653, 6609, 9334, 2191, 18, 588, 653, 3418, 9334, 2191, 18, 588, 1891, 6609, 10663, 25083, 202, 4148, 33, 5058, 18, 588, 780, 2932, 1891, 18, 2829, 18, 3759, 1997, 6609, 1972, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 759, 3689, 326, 924, 5, 1082, 202, 430, 261, 1330, 18, 291, 40, 6372, 10756, 613, 40, 6372, 12, 5058, 18, 588, 780, 2932, 1891, 18, 1343, 18, 14294, 1999, 7923, 15, 492, 18, 10492, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 892, 18, 856, 82, 5453, 225, 273, 394, 509, 63, 3901, 18, 588, 653, 1228, 7675, 2469, 15533, 1082, 202, 892, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 3689, 1972, 12, 1999, 1027, 13, 1216, 1475, 278, 5929, 503, 202, 95, 202, 202, 1999, 20072, 31, 202, 202, 1999, 527, 31, 1082, 202, 4148, 1546, 1685, 434, 3689, 1972, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 4148, 33, 5058, 18, 588, 780, 2932, 1891, 18, 2829, 18, 3759, 1997, 7520, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3645, 33, 5743, 31, 25083, 202, 892, 18, 1966, 80, 416, 18, 542, 6609, 12, 3901, 18, 588, 7147, 9334, 2191, 18, 588, 653, 6609, 9334, 2191, 18, 588, 653, 3418, 9334, 2191, 18, 588, 1891, 6609, 9334, 446, 16, 2 ]
plugin.setGoals( new ArrayList( goalMap.values() ) ); Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration(); Xpp3Dom defaultPluginConfiguration = (Xpp3Dom) def.getConfiguration(); plugin.setConfiguration( Xpp3Dom.mergeXpp3Dom( pluginConfiguration, defaultPluginConfiguration ) );
private void mergePluginWithDefaults( Plugin plugin, Plugin def ) { if ( plugin.getVersion() == null && def.getVersion() != null ) { plugin.setVersion( def.getVersion() ); } Map goalMap = new TreeMap(); List pluginGoals = plugin.getGoals(); if ( pluginGoals != null ) { for ( Iterator it = pluginGoals.iterator(); it.hasNext(); ) { Goal goal = (Goal) it.next(); goalMap.put( goal.getId(), goal ); } } List defGoals = def.getGoals(); if ( defGoals != null ) { for ( Iterator it = defGoals.iterator(); it.hasNext(); ) { Goal defaultGoal = (Goal) it.next(); Goal localGoal = (Goal) goalMap.get( defaultGoal.getId() ); if ( localGoal == null ) { goalMap.put( defaultGoal.getId(), defaultGoal ); } else { Xpp3Dom goalConfiguration = (Xpp3Dom) localGoal.getConfiguration(); Xpp3Dom defaultGoalConfiguration = (Xpp3Dom) defaultGoal.getConfiguration(); localGoal.setConfiguration( Xpp3Dom.mergeXpp3Dom( goalConfiguration, defaultGoalConfiguration ) ); } } } plugin.setGoals( new ArrayList( goalMap.values() ) ); Xpp3Dom pluginConfiguration = (Xpp3Dom) plugin.getConfiguration(); Xpp3Dom defaultPluginConfiguration = (Xpp3Dom) def.getConfiguration(); plugin.setConfiguration( Xpp3Dom.mergeXpp3Dom( pluginConfiguration, defaultPluginConfiguration ) ); }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/7d7c4ed4aacf5a96e4ebed45faa6773f594cf819/DefaultModelDefaultsInjector.java/buggy/maven-project/src/main/java/org/apache/maven/project/injection/DefaultModelDefaultsInjector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2691, 3773, 1190, 7019, 12, 6258, 1909, 16, 6258, 1652, 262, 565, 288, 3639, 309, 261, 1909, 18, 588, 1444, 1435, 422, 446, 597, 1652, 18, 588, 1444, 1435, 480, 446, 262, 3639, 288, 5411, 1909, 18, 542, 1444, 12, 1652, 18, 588, 1444, 1435, 11272, 3639, 289, 3639, 1635, 17683, 863, 273, 394, 16381, 5621, 3639, 987, 1909, 5741, 1031, 273, 1909, 18, 588, 5741, 1031, 5621, 3639, 309, 261, 1909, 5741, 1031, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 1909, 5741, 1031, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 4220, 287, 17683, 273, 261, 27716, 13, 518, 18, 4285, 5621, 7734, 17683, 863, 18, 458, 12, 17683, 18, 26321, 9334, 17683, 11272, 5411, 289, 3639, 289, 3639, 987, 1652, 5741, 1031, 273, 1652, 18, 588, 5741, 1031, 5621, 3639, 309, 261, 1652, 5741, 1031, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 1652, 5741, 1031, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 4220, 287, 805, 27716, 273, 261, 27716, 13, 518, 18, 4285, 5621, 7734, 4220, 287, 1191, 27716, 273, 261, 27716, 13, 17683, 863, 18, 588, 12, 805, 27716, 18, 26321, 1435, 11272, 7734, 309, 261, 1191, 27716, 422, 446, 262, 7734, 288, 10792, 17683, 863, 18, 458, 12, 805, 27716, 18, 26321, 9334, 805, 27716, 11272, 7734, 289, 7734, 469, 7734, 288, 10792, 1139, 11858, 23, 8832, 17683, 1750, 273, 261, 60, 11858, 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, 2691, 3773, 1190, 7019, 12, 6258, 1909, 16, 6258, 1652, 262, 565, 288, 3639, 309, 261, 1909, 18, 588, 1444, 1435, 422, 446, 597, 1652, 18, 588, 1444, 1435, 480, 446, 262, 3639, 288, 5411, 1909, 18, 542, 1444, 12, 1652, 18, 588, 1444, 1435, 11272, 3639, 289, 3639, 1635, 17683, 863, 273, 394, 16381, 5621, 3639, 987, 1909, 5741, 1031, 273, 1909, 18, 588, 5741, 1031, 5621, 3639, 309, 261, 1909, 5741, 1031, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 1909, 5741, 1031, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 4220, 287, 17683, 273, 261, 27716, 13, 518, 18, 4285, 5621, 7734, 17683, 863, 18, 458, 2 ]
public void addOp(int token, int op)
void addOp(int token, int op)
public void addOp(int token, int op) { if (!(0 <= token && token <= Token.LAST_TOKEN)) throw new IllegalArgumentException(); if (!(0 <= op && op <= Token.LAST_TOKEN)) throw new IllegalArgumentException(); append((char)token); append((char)op); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/1c08dda3b8a2df6de8bd446cb70ef3dacc9801b3/Parser.java/buggy/js/rhino/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 527, 3817, 12, 474, 1147, 16, 509, 1061, 13, 565, 288, 3639, 309, 16051, 12, 20, 1648, 1147, 597, 1147, 1648, 3155, 18, 14378, 67, 8412, 3719, 5411, 604, 394, 2754, 5621, 3639, 309, 16051, 12, 20, 1648, 1061, 597, 1061, 1648, 3155, 18, 14378, 67, 8412, 3719, 5411, 604, 394, 2754, 5621, 3639, 714, 12443, 3001, 13, 2316, 1769, 3639, 714, 12443, 3001, 13, 556, 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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12, 20, 1648, 1147, 597, 1147, 1648, 3155, 18, 14378, 67, 8412, 3719, 5411, 604, 394, 2754, 5621, 3639, 309, 16051, 12, 20, 1648, 1061, 597, 1061, 1648, 3155, 18, 14378, 67, 8412, 3719, 5411, 604, 394, 2754, 5621, 3639, 714, 12443, 3001, 13, 2316, 1769, 3639, 714, 12443, 3001, 13, 556, 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 ]
public boolean supportsNamedParameters() throws java.sql.SQLException
public boolean supportsNamedParameters() throws SQLException
public boolean supportsNamedParameters() throws java.sql.SQLException { throw new UnsupportedOperationException(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/d7ced2b0c605263f7dfa189541246bf6492c8785/DatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 6146, 7604, 2402, 1435, 1216, 6483, 565, 288, 3639, 604, 394, 13172, 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, 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 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, 1250, 6146, 7604, 2402, 1435, 1216, 6483, 565, 288, 3639, 604, 394, 13172, 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 ]
return buf == null ? getRuntime().getNil() : RubyString.newString(getRuntime(), buf);
return buf == null ? getRuntime().getNil() : getRuntime().newString(buf);
public IRubyObject read(IRubyObject[] args) { String buf = args.length > 0 ? handler.read(RubyFixnum.fix2int(args[0])) : handler.getsEntireStream(); return buf == null ? getRuntime().getNil() : RubyString.newString(getRuntime(), buf); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/buggy/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 855, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 514, 1681, 273, 833, 18, 2469, 405, 374, 692, 1838, 18, 896, 12, 54, 10340, 8585, 2107, 18, 904, 22, 474, 12, 1968, 63, 20, 22643, 294, 1838, 18, 14665, 14199, 577, 1228, 5621, 3639, 327, 1681, 422, 446, 692, 18814, 7675, 588, 12616, 1435, 294, 18814, 7675, 2704, 780, 12, 4385, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 855, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 514, 1681, 273, 833, 18, 2469, 405, 374, 692, 1838, 18, 896, 12, 54, 10340, 8585, 2107, 18, 904, 22, 474, 12, 1968, 63, 20, 22643, 294, 1838, 18, 14665, 14199, 577, 1228, 5621, 3639, 327, 1681, 422, 446, 692, 18814, 7675, 588, 12616, 1435, 294, 18814, 7675, 2704, 780, 12, 4385, 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 ]
{ SAXParseException fatal; fatal = new SAXParseException (message, this); errorHandler.fatalError (fatal);
{ SAXParseException fatal; fatal = new SAXParseException(message, this); errorHandler.fatalError(fatal);
void fatal (String message) throws SAXException { SAXParseException fatal; fatal = new SAXParseException (message, this); errorHandler.fatalError (fatal); // Even if the application can continue ... we can't! throw fatal; }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/buggy/libjava/gnu/xml/aelfred2/SAXDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 10081, 261, 780, 883, 13, 565, 1216, 14366, 565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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10081, 261, 780, 883, 13, 565, 1216, 14366, 565, 288, 202, 55, 2501, 13047, 10081, 31, 202, 202, 30709, 273, 394, 10168, 13047, 261, 2150, 16, 333, 1769, 202, 1636, 1503, 18, 30709, 668, 261, 30709, 1769, 202, 759, 25067, 309, 326, 2521, 848, 1324, 1372, 732, 848, 1404, 5, 202, 12849, 10081, 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 ]
public void fireTableRowsUpdated (int firstRow, int lastRow)
public void fireTableRowsUpdated(int firstRow, int lastRow)
public void fireTableRowsUpdated (int firstRow, int lastRow) { fireTableChanged(new TableModelEvent(this, firstRow, lastRow, TableModelEvent.ALL_COLUMNS, TableModelEvent.UPDATE)); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/7f3cf1089dc63d3ffca5bd29d6f5ef8dbbd57b34/AbstractTableModel.java/buggy/javax/swing/table/AbstractTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4452, 1388, 4300, 7381, 12, 474, 1122, 1999, 16, 509, 1142, 1999, 13, 225, 288, 565, 4452, 1388, 5033, 12, 2704, 3555, 1488, 1133, 12, 2211, 16, 1122, 1999, 16, 1142, 1999, 16, 29159, 3555, 1488, 1133, 18, 4685, 67, 25936, 16, 29159, 3555, 1488, 1133, 18, 8217, 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, 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, 282, 1071, 918, 4452, 1388, 4300, 7381, 12, 474, 1122, 1999, 16, 509, 1142, 1999, 13, 225, 288, 565, 4452, 1388, 5033, 12, 2704, 3555, 1488, 1133, 12, 2211, 16, 1122, 1999, 16, 1142, 1999, 16, 29159, 3555, 1488, 1133, 18, 4685, 67, 25936, 16, 29159, 3555, 1488, 1133, 18, 8217, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
whatToMove.firstElement = null; whatToMove.lastElement = null;
public void move(Editor editor, final PsiFile file) { beforeMove(editor); final LineRange lineRange = whatToMove; final int startLine = lineRange.startLine; final int endLine = lineRange.endLine; final Document document = editor.getDocument(); final int start = editor.logicalPositionToOffset(new LogicalPosition(startLine, 0)); final int end = editor.logicalPositionToOffset(new LogicalPosition(endLine+1, 0)); final String toInsert = document.getCharsSequence().subSequence(start, end).toString(); myInsertStartAfterCutOffset = myIsDown ? insertOffset - toInsert.length() : insertOffset; myInsertEndAfterCutOffset = myInsertStartAfterCutOffset + toInsert.length(); myDeleteStartAfterMoveOffset = myIsDown ? start : start + toInsert.length(); final CaretModel caretModel = editor.getCaretModel(); final int caretRelativePos = caretModel.getOffset() - start; final SelectionModel selectionModel = editor.getSelectionModel(); final int selectionStart = selectionModel.getSelectionStart(); final int selectionEnd = selectionModel.getSelectionEnd(); final boolean hasSelection = selectionModel.hasSelection(); // to prevent flicker caretModel.moveToOffset(0); document.deleteString(start, end); document.insertString(myInsertStartAfterCutOffset, toInsert); final Project project = editor.getProject(); PsiDocumentManager.getInstance(project).commitDocument(document); if (hasSelection) { restoreSelection(editor, selectionStart, selectionEnd, start, myInsertStartAfterCutOffset); } try { final CodeStyleManager codeStyleManager = CodeStyleManager.getInstance(project); final int line1 = editor.offsetToLogicalPosition(myInsertStartAfterCutOffset).line; final int line2 = editor.offsetToLogicalPosition(myInsertEndAfterCutOffset).line; caretModel.moveToOffset(myInsertStartAfterCutOffset + caretRelativePos); for (int line = line1; line <= line2; line++) { if (lineContainsNonSpaces(document, line)) { int lineStart = document.getLineStartOffset(line); int oldLineLength = document.getLineEndOffset(line) - lineStart; codeStyleManager.adjustLineIndent(file, lineStart); int newLineLength = document.getLineEndOffset(line) - lineStart; myInsertEndAfterCutOffset += newLineLength - oldLineLength; if (!myIsDown) { myDeleteStartAfterMoveOffset += newLineLength - oldLineLength; } } } } catch (IncorrectOperationException e) { LOG.error(e); } afterMove(editor, file); editor.getScrollingModel().scrollToCaret(ScrollType.RELATIVE); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/93d46e7b95d266374e94192c8fda69a9e10cd553/Mover.java/clean/source/com/intellij/openapi/editor/actions/moveUpDown/Mover.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 1071, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 918, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 3635, 12, 6946, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4858, 16, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 727, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 453, 7722, 812, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 585, 13, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 288, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 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, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4121, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 1071, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 918, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 3635, 12, 6946, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 4858, 16, 23770, 774, 7607, 18, 3645, 1046, 273, 446, 31, 4121, 774, 7607, 18, 2722, 1046, 273, 446, 31, 727, 23770, 774, 7607, 2 ]
OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_LIST_MODIFIED, Collections.singletonMap("resource", cmsFolder)));
OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", newFolder)));
public CmsFolder createFolder(CmsRequestContext context, String newFolderName, Map propertyinfos) throws CmsException { // append I_CmsConstants.C_FOLDER_SEPARATOR if required if (!newFolderName.endsWith(I_CmsConstants.C_FOLDER_SEPARATOR)) newFolderName += I_CmsConstants.C_FOLDER_SEPARATOR; // extract folder information String folderName = newFolderName.substring(0, newFolderName.lastIndexOf(I_CmsConstants.C_FOLDER_SEPARATOR, newFolderName.length() - 2) + 1); String resourceName = newFolderName.substring(folderName.length(), newFolderName.length() - 1); // checks, if the filename is valid, if not it throws a exception validFilename(resourceName); CmsFolder cmsFolder = readFolder(context, folderName); // check if the user has write access to the destination folder checkPermissions(context, cmsFolder, I_CmsConstants.C_WRITE_ACCESS); // create the folder. CmsFolder newFolder = m_vfsDriver.createFolder(context.currentUser(), context.currentProject(), cmsFolder.getId(), CmsUUID.getNullUUID(), resourceName, 0, 0, context.currentUser().getId(), 0, context.currentUser().getId()); newFolder.setFullResourceName(newFolderName); //clearResourceCache(newFolderName, context.currentProject(), context.currentUser()); clearResourceCache(); // write metainfos for the folder m_vfsDriver.writeProperties(propertyinfos, context.currentProject().getId(), newFolder, newFolder.getType()); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_LIST_MODIFIED, Collections.singletonMap("resource", cmsFolder))); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_PROJECT_MODIFIED, Collections.singletonMap("project", context.currentProject()))); // return the folder return newFolder; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/d8608fec2baa999d66e14e04cc11363ba207f04a/CmsDriverManager.java/clean/src/org/opencms/db/CmsDriverManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2149, 3899, 752, 3899, 12, 4747, 21426, 819, 16, 514, 394, 26169, 16, 1635, 1272, 18227, 13, 1216, 11228, 288, 3639, 368, 714, 467, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 309, 1931, 3639, 309, 16051, 2704, 26169, 18, 5839, 1190, 12, 45, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 3719, 5411, 394, 26169, 1011, 467, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 31, 3639, 368, 2608, 3009, 1779, 3639, 514, 31814, 273, 394, 26169, 18, 28023, 12, 20, 16, 394, 26169, 18, 2722, 31985, 12, 45, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 16, 394, 26169, 18, 2469, 1435, 300, 576, 13, 397, 404, 1769, 3639, 514, 9546, 273, 394, 26169, 18, 28023, 12, 5609, 461, 18, 2469, 9334, 394, 26169, 18, 2469, 1435, 300, 404, 1769, 3639, 368, 4271, 16, 309, 326, 1544, 353, 923, 16, 309, 486, 518, 1216, 279, 1520, 3639, 923, 5359, 12, 3146, 461, 1769, 3639, 2149, 3899, 6166, 3899, 273, 855, 3899, 12, 2472, 16, 31814, 1769, 3639, 368, 866, 309, 326, 729, 711, 1045, 2006, 358, 326, 2929, 3009, 3639, 866, 6521, 12, 2472, 16, 6166, 3899, 16, 467, 67, 4747, 2918, 18, 39, 67, 11677, 67, 13204, 1769, 3639, 368, 752, 326, 3009, 18, 3639, 2149, 3899, 394, 3899, 273, 312, 67, 90, 2556, 4668, 18, 2640, 3899, 12, 2472, 18, 2972, 1299, 9334, 819, 18, 2972, 4109, 9334, 6166, 3899, 18, 26321, 9334, 15792, 18, 588, 2041, 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, 2149, 3899, 752, 3899, 12, 4747, 21426, 819, 16, 514, 394, 26169, 16, 1635, 1272, 18227, 13, 1216, 11228, 288, 3639, 368, 714, 467, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 309, 1931, 3639, 309, 16051, 2704, 26169, 18, 5839, 1190, 12, 45, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 3719, 5411, 394, 26169, 1011, 467, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 31, 3639, 368, 2608, 3009, 1779, 3639, 514, 31814, 273, 394, 26169, 18, 28023, 12, 20, 16, 394, 26169, 18, 2722, 31985, 12, 45, 67, 4747, 2918, 18, 39, 67, 17357, 67, 4550, 16, 394, 26169, 18, 2469, 1435, 300, 576, 13, 397, 404, 1769, 3639, 514, 9546, 2 ]
structures = schema.getSimpletypes();
structures = schema.getSimpleTypes();
private void createClasses(Schema schema, SGStateInfo sInfo) { Enumeration structures = schema.getElementDecls(); //-- handle all top-level element declarations while (structures.hasMoreElements()) createClasses((ElementDecl)structures.nextElement(), sInfo); //-- handle all top-level complextypes structures = schema.getComplextypes(); while (structures.hasMoreElements()) processComplextype((Complextype)structures.nextElement(), sInfo); //-- handle all top-level simpletypes structures = schema.getSimpletypes(); while (structures.hasMoreElements()) processSimpletype((Simpletype)structures.nextElement(), sInfo); } //-- createClasses
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/645016a08156f47432a267a68c15e02eb64e52a4/SourceGenerator.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/builder/SourceGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4818, 12, 3078, 1963, 16, 348, 43, 1119, 966, 272, 966, 13, 288, 3639, 13864, 12597, 273, 1963, 18, 21336, 1799, 3251, 5621, 3639, 368, 413, 1640, 777, 1760, 17, 2815, 930, 12312, 3639, 1323, 261, 27979, 18, 5332, 7417, 3471, 10756, 5411, 752, 4818, 12443, 1046, 3456, 13, 27979, 18, 4285, 1046, 9334, 272, 966, 1769, 3639, 368, 413, 1640, 777, 1760, 17, 2815, 7233, 2352, 3639, 12597, 273, 1963, 18, 588, 12795, 2352, 5621, 3639, 1323, 261, 27979, 18, 5332, 7417, 3471, 10756, 5411, 1207, 12795, 723, 12443, 12795, 723, 13, 27979, 18, 4285, 1046, 9334, 272, 966, 1769, 3639, 368, 413, 1640, 777, 1760, 17, 2815, 3142, 1469, 989, 3639, 12597, 273, 1963, 18, 588, 5784, 2016, 5621, 3639, 1323, 261, 27979, 18, 5332, 7417, 3471, 10756, 5411, 1207, 7993, 1469, 388, 12443, 7993, 1469, 388, 13, 27979, 18, 4285, 1046, 9334, 272, 966, 1769, 565, 289, 368, 413, 752, 4818, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 4818, 12, 3078, 1963, 16, 348, 43, 1119, 966, 272, 966, 13, 288, 3639, 13864, 12597, 273, 1963, 18, 21336, 1799, 3251, 5621, 3639, 368, 413, 1640, 777, 1760, 17, 2815, 930, 12312, 3639, 1323, 261, 27979, 18, 5332, 7417, 3471, 10756, 5411, 752, 4818, 12443, 1046, 3456, 13, 27979, 18, 4285, 1046, 9334, 272, 966, 1769, 3639, 368, 413, 1640, 777, 1760, 17, 2815, 7233, 2352, 3639, 12597, 273, 1963, 18, 588, 12795, 2352, 5621, 3639, 1323, 261, 27979, 18, 5332, 7417, 3471, 10756, 5411, 1207, 12795, 723, 12443, 12795, 723, 13, 27979, 18, 4285, 1046, 9334, 272, 966, 1769, 3639, 368, 413, 1640, 777, 1760, 17, 2815, 3142, 1469, 989, 3639, 12597, 273, 2 ]
DomHTMLCollection(DomHTMLDocument doc)
DomHTMLCollection(DomHTMLDocument doc, Node root)
DomHTMLCollection(DomHTMLDocument doc) { this.doc = doc; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/3d741bc76ba2e5965f3a1dd186e19083091e17f9/DomHTMLCollection.java/buggy/libraries/javalib/gnu/xml/dom/html2/DomHTMLCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 12965,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12965, 4870, 2532, 12, 8832, 4870, 2519, 997, 16, 2029, 1365, 13, 225, 288, 565, 333, 18, 2434, 273, 997, 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 ]
if (audienceRestrictionCondition.getAudiences() == null || audienceRestrictionCondition.getAudiences().size() == 0) { throw new ValidationException("No Audience statements present"); }
validateAudiences(audienceRestrictionCondition);
public void validate(AudienceRestrictionCondition audienceRestrictionCondition) throws ValidationException { // TODO split out into a separate method if (audienceRestrictionCondition.getAudiences() == null || audienceRestrictionCondition.getAudiences().size() == 0) { throw new ValidationException("No Audience statements present"); } }
52539 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52539/708465e95ae5aac021c2a8b0f3f358665c09ab6e/AudienceRestrictionConditionSchemaValidator.java/buggy/src/org/opensaml/saml1/core/validator/AudienceRestrictionConditionSchemaValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1954, 12, 30418, 11670, 3418, 22620, 11670, 3418, 13, 1216, 15614, 288, 540, 368, 2660, 1416, 596, 1368, 279, 9004, 707, 540, 309, 261, 69, 14079, 11670, 3418, 18, 588, 37, 1100, 30423, 1435, 422, 446, 747, 2868, 22620, 11670, 3418, 18, 588, 37, 1100, 30423, 7675, 1467, 1435, 422, 374, 13, 288, 2398, 604, 394, 15614, 2932, 2279, 432, 14079, 6317, 3430, 8863, 540, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1954, 12, 30418, 11670, 3418, 22620, 11670, 3418, 13, 1216, 15614, 288, 540, 368, 2660, 1416, 596, 1368, 279, 9004, 707, 540, 309, 261, 69, 14079, 11670, 3418, 18, 588, 37, 1100, 30423, 1435, 422, 446, 747, 2868, 22620, 11670, 3418, 18, 588, 37, 1100, 30423, 7675, 1467, 1435, 422, 374, 13, 288, 2398, 604, 394, 15614, 2932, 2279, 432, 14079, 6317, 3430, 8863, 540, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pStmt.setString(1, ""); pStmt.setString(2, ""); count = pStmt.executeUpdate();
pstmt.setString(1, ""); pstmt.setString(2, ""); count = pstmt.executeUpdate();
public void testxx0057() throws Exception { output.println("test putting a zero length string into a parameter"); // open the database int count; Statement stmt = con.createStatement(); dropTable("#t0057"); count = stmt.executeUpdate("create table #t0057 " + " (a varchar(10) not null, " + " b char(10) not null) "); output.println("Creating table affected " + count + " rows"); PreparedStatement pStmt = con.prepareStatement( "insert into #t0057 values (?, ?)"); pStmt.setString(1, ""); pStmt.setString(2, ""); count = pStmt.executeUpdate(); output.println("Added " + count + " rows"); if (count != 1) { output.println("Failed to add rows"); fail(); } else { pStmt.close(); pStmt = con.prepareStatement("select a, b from #t0057"); ResultSet rs = pStmt.executeQuery(); if (!rs.next()) { output.println("Couldn't read rows from table."); fail(); } else { output.println("a is |" + rs.getString("a") + "|"); output.println("b is |" + rs.getString("b") + "|"); assertEquals("", rs.getString("a")); assertEquals(" ", rs.getString("b")); } } }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/0a7ebc6de64e4f3e83cd11c83fd69cd327106d66/CSUnitTest.java/clean/src/test/net/sourceforge/jtds/test/CSUnitTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5279, 713, 10321, 1435, 1216, 1185, 288, 3639, 876, 18, 8222, 2932, 3813, 29379, 279, 3634, 769, 533, 1368, 279, 1569, 8863, 3639, 368, 1696, 326, 2063, 3639, 509, 540, 1056, 31, 3639, 8056, 282, 3480, 377, 273, 356, 18, 2640, 3406, 5621, 3639, 3640, 1388, 2932, 7, 88, 713, 10321, 8863, 3639, 1056, 273, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 10321, 1850, 315, 4766, 282, 397, 315, 261, 69, 30871, 12, 2163, 13, 486, 446, 16, 315, 4766, 282, 397, 315, 225, 324, 1149, 12, 2163, 13, 565, 486, 446, 13, 315, 1769, 3639, 876, 18, 8222, 2932, 11092, 1014, 9844, 315, 397, 1056, 397, 315, 2595, 8863, 3639, 16913, 225, 293, 8952, 273, 356, 18, 9366, 3406, 12, 4766, 15604, 315, 6387, 1368, 468, 88, 713, 10321, 924, 13590, 16, 692, 2225, 1769, 3639, 293, 8952, 18, 542, 780, 12, 21, 16, 1408, 1769, 3639, 293, 8952, 18, 542, 780, 12, 22, 16, 1408, 1769, 3639, 1056, 273, 293, 8952, 18, 8837, 1891, 5621, 3639, 876, 18, 8222, 2932, 8602, 315, 397, 1056, 397, 315, 2595, 8863, 3639, 309, 261, 1883, 480, 404, 13, 288, 5411, 876, 18, 8222, 2932, 2925, 358, 527, 2595, 8863, 5411, 2321, 5621, 3639, 289, 469, 288, 5411, 293, 8952, 18, 4412, 5621, 5411, 293, 8952, 273, 356, 18, 9366, 3406, 2932, 4025, 279, 16, 324, 628, 468, 88, 713, 10321, 8863, 5411, 10842, 225, 3597, 273, 293, 8952, 18, 8837, 1138, 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, 5279, 713, 10321, 1435, 1216, 1185, 288, 3639, 876, 18, 8222, 2932, 3813, 29379, 279, 3634, 769, 533, 1368, 279, 1569, 8863, 3639, 368, 1696, 326, 2063, 3639, 509, 540, 1056, 31, 3639, 8056, 282, 3480, 377, 273, 356, 18, 2640, 3406, 5621, 3639, 3640, 1388, 2932, 7, 88, 713, 10321, 8863, 3639, 1056, 273, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 10321, 1850, 315, 4766, 282, 397, 315, 261, 69, 30871, 12, 2163, 13, 486, 446, 16, 315, 4766, 282, 397, 315, 225, 324, 1149, 12, 2163, 13, 565, 486, 446, 13, 315, 1769, 3639, 876, 18, 8222, 2932, 11092, 1014, 9844, 315, 397, 1056, 397, 315, 2595, 8863, 3639, 16913, 2 ]
RubyNameError newError = new RubyNameError(runtime, runtime.getClass("NameError"));
RubyNameError newError = new RubyNameError(runtime, (RubyClass)recv);
public static RubyNameError newRubyNameError(IRubyObject recv, IRubyObject[] args) { IRuby runtime = recv.getRuntime(); RubyNameError newError = new RubyNameError(runtime, runtime.getClass("NameError")); newError.callInit(args); return newError; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/d8afa46c23cfc2a70b21081c2aee03372cceaad8/RubyNameError.java/clean/src/org/jruby/RubyNameError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 461, 668, 394, 54, 10340, 461, 668, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 15908, 10340, 3099, 273, 10665, 18, 588, 5576, 5621, 3639, 19817, 461, 668, 394, 668, 273, 394, 19817, 461, 668, 12, 9448, 16, 261, 54, 10340, 797, 13, 18334, 1769, 3639, 394, 668, 18, 1991, 2570, 12, 1968, 1769, 3639, 327, 394, 668, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 461, 668, 394, 54, 10340, 461, 668, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 15908, 10340, 3099, 273, 10665, 18, 588, 5576, 5621, 3639, 19817, 461, 668, 394, 668, 273, 394, 19817, 461, 668, 12, 9448, 16, 261, 54, 10340, 797, 13, 18334, 1769, 3639, 394, 668, 18, 1991, 2570, 12, 1968, 1769, 3639, 327, 394, 668, 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 ]
componentManager.lookup(ContinuationsManager.ROLE); wk = lastContinuation = contMgr.createWebContinuation(continuation, lastContinuation, 0, null);
getComponentManager().lookup(ContinuationsManager.ROLE); wk = contMgr.createWebContinuation(continuation, currentCall.lastContinuation, 0, null);
private FOM_WebContinuation forwardTo(String uri, Object bizData, Continuation continuation) throws Exception { WebContinuation wk = null; if (continuation != null) { ContinuationsManager contMgr = (ContinuationsManager) componentManager.lookup(ContinuationsManager.ROLE); wk = lastContinuation = contMgr.createWebContinuation(continuation, lastContinuation, 0, null); } String redUri = uri; FOM_WebContinuation fom_wk = new FOM_WebContinuation(wk); fom_wk.setParentScope(getParentScope()); fom_wk.setPrototype(getClassPrototype(getParentScope(), fom_wk.getClassName())); interpreter.forwardTo(getParentScope(), this, redUri, bizData, fom_wk, environment); FOM_WebContinuation result = null; if (wk != null) { result = new FOM_WebContinuation(wk); result.setParentScope(getParentScope()); result.setPrototype(getClassPrototype(getParentScope(), result.getClassName())); } return result; }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/6111403bcfb4f714661a2d621ed88f62df18a2a5/FOM_Cocoon.java/buggy/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_Cocoon.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 478, 1872, 67, 4079, 660, 23946, 5104, 774, 12, 780, 2003, 16, 1033, 324, 452, 751, 16, 4766, 1850, 1816, 23946, 17378, 13, 3639, 1216, 1185, 288, 3639, 2999, 660, 23946, 26987, 273, 446, 31, 3639, 309, 261, 1213, 23946, 480, 446, 13, 288, 5411, 1816, 6860, 1012, 1318, 466, 9455, 273, 261, 660, 6860, 1012, 1318, 13, 7734, 1794, 1318, 18, 8664, 12, 660, 6860, 1012, 1318, 18, 16256, 1769, 5411, 26987, 273, 1142, 660, 23946, 273, 7734, 466, 9455, 18, 2640, 4079, 660, 23946, 12, 1213, 23946, 16, 4766, 2868, 1142, 660, 23946, 16, 4766, 2868, 374, 16, 4766, 2868, 446, 1769, 3639, 289, 3639, 514, 1755, 3006, 273, 2003, 31, 3639, 478, 1872, 67, 4079, 660, 23946, 284, 362, 67, 17736, 273, 5411, 394, 478, 1872, 67, 4079, 660, 23946, 12, 17736, 1769, 3639, 284, 362, 67, 17736, 18, 542, 3054, 3876, 12, 588, 3054, 3876, 10663, 3639, 284, 362, 67, 17736, 18, 542, 15846, 12, 588, 797, 15846, 12, 588, 3054, 3876, 9334, 4766, 2868, 284, 362, 67, 17736, 18, 588, 3834, 1435, 10019, 3639, 16048, 18, 11565, 774, 12, 588, 3054, 3876, 9334, 333, 16, 1755, 3006, 16, 17311, 324, 452, 751, 16, 284, 362, 67, 17736, 16, 3330, 1769, 3639, 478, 1872, 67, 4079, 660, 23946, 563, 273, 446, 31, 3639, 309, 261, 17736, 480, 446, 13, 288, 5411, 563, 273, 394, 478, 1872, 67, 4079, 660, 23946, 12, 17736, 1769, 5411, 563, 18, 542, 3054, 3876, 12, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 478, 1872, 67, 4079, 660, 23946, 5104, 774, 12, 780, 2003, 16, 1033, 324, 452, 751, 16, 4766, 1850, 1816, 23946, 17378, 13, 3639, 1216, 1185, 288, 3639, 2999, 660, 23946, 26987, 273, 446, 31, 3639, 309, 261, 1213, 23946, 480, 446, 13, 288, 5411, 1816, 6860, 1012, 1318, 466, 9455, 273, 261, 660, 6860, 1012, 1318, 13, 7734, 1794, 1318, 18, 8664, 12, 660, 6860, 1012, 1318, 18, 16256, 1769, 5411, 26987, 273, 1142, 660, 23946, 273, 7734, 466, 9455, 18, 2640, 4079, 660, 23946, 12, 1213, 23946, 16, 4766, 2868, 1142, 660, 23946, 16, 4766, 2868, 374, 16, 4766, 2868, 446, 1769, 3639, 289, 3639, 514, 1755, 3006, 273, 2003, 31, 3639, 478, 1872, 67, 2 ]
} else if ( searchFor == UNION || searchFor == FWD_UNION ) {
} else if ( searchFor == UNION ) {
public ClassDeclarationPattern( char[] name, char[][] containers, SearchFor searchFor, LimitTo limit, int mode, boolean caseSensitive, boolean isForward ){ super( mode, caseSensitive, limit ); this.isForward = isForward; simpleName = caseSensitive ? name : CharOperation.toLowerCase( name ); if( caseSensitive || containers == null ){ qualifications = containers; } else { int len = containers.length; this.qualifications = new char[ len ][]; for( int i = 0; i < len; i++ ){ this.qualifications[i] = CharOperation.toLowerCase( containers[i] ); } } this.searchFor = searchFor; if( searchFor == CLASS || searchFor == FWD_CLASS ){ classKind = ASTClassKind.CLASS; } else if( searchFor == STRUCT || searchFor == FWD_STRUCT) { classKind = ASTClassKind.STRUCT; } else if ( searchFor == ENUM ) { classKind = ASTClassKind.ENUM; } else if ( searchFor == UNION || searchFor == FWD_UNION ) { classKind = ASTClassKind.UNION; } else { classKind = null; } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f20ffd5b51ae738513d531dd22fd8fda77343010/ClassDeclarationPattern.java/buggy/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/ClassDeclarationPattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1659, 6094, 3234, 12, 1149, 8526, 508, 16, 1149, 63, 6362, 65, 8475, 16, 5167, 1290, 1623, 1290, 16, 7214, 774, 1800, 16, 509, 1965, 16, 1250, 20975, 16, 1250, 353, 8514, 262, 95, 202, 202, 9565, 12, 1965, 16, 20975, 16, 1800, 11272, 9506, 202, 2211, 18, 291, 8514, 273, 353, 8514, 31, 202, 202, 9647, 461, 273, 20975, 692, 508, 294, 3703, 2988, 18, 869, 5630, 12, 508, 11272, 202, 202, 430, 12, 20975, 747, 8475, 422, 446, 262, 95, 1082, 202, 3369, 6640, 273, 8475, 31, 202, 202, 97, 469, 288, 1082, 202, 474, 562, 273, 8475, 18, 2469, 31, 1082, 202, 2211, 18, 3369, 6640, 273, 394, 1149, 63, 562, 308, 8526, 31, 1082, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 562, 31, 277, 9904, 262, 95, 9506, 202, 2211, 18, 3369, 6640, 63, 77, 65, 273, 3703, 2988, 18, 869, 5630, 12, 8475, 63, 77, 65, 11272, 1082, 202, 97, 202, 202, 97, 4697, 202, 2211, 18, 3072, 1290, 273, 1623, 1290, 31, 9506, 202, 430, 12, 1623, 1290, 422, 7383, 747, 1623, 1290, 422, 478, 16006, 67, 5237, 262, 95, 1082, 202, 1106, 5677, 273, 9183, 797, 5677, 18, 5237, 31, 202, 202, 97, 469, 309, 12, 1623, 1290, 422, 7128, 9749, 747, 1623, 1290, 422, 478, 16006, 67, 13915, 13, 288, 1082, 202, 1106, 5677, 273, 9183, 797, 5677, 18, 13915, 31, 202, 202, 97, 469, 309, 261, 1623, 1290, 422, 24776, 262, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1659, 6094, 3234, 12, 1149, 8526, 508, 16, 1149, 63, 6362, 65, 8475, 16, 5167, 1290, 1623, 1290, 16, 7214, 774, 1800, 16, 509, 1965, 16, 1250, 20975, 16, 1250, 353, 8514, 262, 95, 202, 202, 9565, 12, 1965, 16, 20975, 16, 1800, 11272, 9506, 202, 2211, 18, 291, 8514, 273, 353, 8514, 31, 202, 202, 9647, 461, 273, 20975, 692, 508, 294, 3703, 2988, 18, 869, 5630, 12, 508, 11272, 202, 202, 430, 12, 20975, 747, 8475, 422, 446, 262, 95, 1082, 202, 3369, 6640, 273, 8475, 31, 202, 202, 97, 469, 288, 1082, 202, 474, 562, 273, 8475, 18, 2469, 31, 1082, 202, 2211, 18, 3369, 6640, 273, 394, 1149, 63, 562, 308, 8526, 2 ]
private ArrayList createInitialHosts(String l) {
private ArrayList createInitialHosts(String l) throws UnknownHostException {
private ArrayList createInitialHosts(String l) { StringTokenizer tok=new StringTokenizer(l, ","); String t; IpAddress addr; ArrayList retval=new ArrayList(); while(tok.hasMoreTokens()) { try { t=tok.nextToken(); String host=t.substring(0, t.indexOf('[')); int port=Integer.parseInt(t.substring(t.indexOf('[') + 1, t.indexOf(']'))); for(int i=port; i < port + port_range; i++) { addr=new IpAddress(host, i); retval.add(addr); } } catch(NumberFormatException e) { if(log.isErrorEnabled()) log.error("exeption is " + e); } } return retval; }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/d87286058cfcbdd88699897608edd017b16ae389/TCPPING.java/clean/src/org/jgroups/protocols/TCPPING.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2407, 752, 4435, 12172, 12, 780, 328, 13, 1216, 30592, 288, 3639, 16370, 946, 33, 2704, 16370, 12, 80, 16, 5753, 1769, 3639, 514, 1850, 268, 31, 3639, 14709, 1887, 4202, 3091, 31, 3639, 2407, 4202, 5221, 33, 2704, 2407, 5621, 3639, 1323, 12, 17692, 18, 5332, 7417, 5157, 10756, 288, 5411, 775, 288, 7734, 268, 33, 17692, 18, 4285, 1345, 5621, 7734, 514, 1479, 33, 88, 18, 28023, 12, 20, 16, 268, 18, 31806, 2668, 3292, 10019, 7734, 509, 1756, 33, 4522, 18, 2670, 1702, 12, 88, 18, 28023, 12, 88, 18, 31806, 2668, 3292, 13, 397, 404, 16, 268, 18, 31806, 2668, 3864, 3719, 1769, 7734, 364, 12, 474, 277, 33, 655, 31, 277, 411, 1756, 397, 1756, 67, 3676, 31, 277, 27245, 288, 10792, 3091, 33, 2704, 14709, 1887, 12, 2564, 16, 277, 1769, 10792, 5221, 18, 1289, 12, 4793, 1769, 7734, 289, 5411, 289, 5411, 1044, 12, 1854, 9291, 425, 13, 288, 7734, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 14880, 375, 353, 315, 397, 425, 1769, 5411, 289, 3639, 289, 3639, 327, 5221, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2407, 752, 4435, 12172, 12, 780, 328, 13, 1216, 30592, 288, 3639, 16370, 946, 33, 2704, 16370, 12, 80, 16, 5753, 1769, 3639, 514, 1850, 268, 31, 3639, 14709, 1887, 4202, 3091, 31, 3639, 2407, 4202, 5221, 33, 2704, 2407, 5621, 3639, 1323, 12, 17692, 18, 5332, 7417, 5157, 10756, 288, 5411, 775, 288, 7734, 268, 33, 17692, 18, 4285, 1345, 5621, 7734, 514, 1479, 33, 88, 18, 28023, 12, 20, 16, 268, 18, 31806, 2668, 3292, 10019, 7734, 509, 1756, 33, 4522, 18, 2670, 1702, 12, 88, 18, 28023, 12, 88, 18, 31806, 2668, 3292, 13, 397, 404, 16, 268, 18, 31806, 2668, 3864, 3719, 1769, 7734, 364, 12, 474, 277, 33, 655, 31, 277, 411, 2 ]
setInsets((Insets)null);
setInsets((Insets) null);
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case LayoutPackage.LABEL_BLOCK__CHILDREN: getChildren().clear(); return; case LayoutPackage.LABEL_BLOCK__BOUNDS: setBounds((Bounds)null); return; case LayoutPackage.LABEL_BLOCK__ANCHOR: unsetAnchor(); return; case LayoutPackage.LABEL_BLOCK__STRETCH: unsetStretch(); return; case LayoutPackage.LABEL_BLOCK__INSETS: setInsets((Insets)null); return; case LayoutPackage.LABEL_BLOCK__ROW: unsetRow(); return; case LayoutPackage.LABEL_BLOCK__COLUMN: unsetColumn(); return; case LayoutPackage.LABEL_BLOCK__ROWSPAN: unsetRowspan(); return; case LayoutPackage.LABEL_BLOCK__COLUMNSPAN: unsetColumnspan(); return; case LayoutPackage.LABEL_BLOCK__MIN_SIZE: setMinSize((Size)null); return; case LayoutPackage.LABEL_BLOCK__OUTLINE: setOutline((LineAttributes)null); return; case LayoutPackage.LABEL_BLOCK__BACKGROUND: setBackground((Fill)null); return; case LayoutPackage.LABEL_BLOCK__VISIBLE: unsetVisible(); return; case LayoutPackage.LABEL_BLOCK__TRIGGERS: getTriggers().clear(); return; case LayoutPackage.LABEL_BLOCK__LABEL: setLabel((Label)null); return; } eDynamicUnset(eFeature); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LabelBlockImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LabelBlockImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 27043, 24296, 30, 7734, 10268, 7675, 8507, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 5315, 2124, 3948, 30, 7734, 444, 5694, 12443, 5694, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 20360, 916, 30, 7734, 2646, 11605, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 882, 10238, 1792, 30, 7734, 2646, 510, 20783, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 706, 28092, 30, 7734, 444, 382, 4424, 12443, 382, 4424, 13, 446, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 11226, 30, 7734, 2646, 1999, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 11009, 30, 7734, 2646, 1494, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 28402, 30819, 30, 7734, 2646, 1999, 3969, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 11009, 3118, 1258, 30, 7734, 2646, 1494, 3969, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 6236, 67, 4574, 30, 7734, 27724, 1225, 12443, 1225, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 5069, 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, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 27043, 24296, 30, 7734, 10268, 7675, 8507, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 5315, 2124, 3948, 30, 7734, 444, 5694, 12443, 5694, 13, 2011, 1769, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 20360, 916, 30, 7734, 2646, 11605, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 972, 882, 10238, 1792, 30, 7734, 2646, 510, 20783, 5621, 7734, 327, 31, 5411, 648, 9995, 2261, 18, 13545, 67, 11403, 2 ]
openEditButton(event.getSelection());
public void doubleClick(DoubleClickEvent event) { List selected= getSelectedTableEntries(); if (selected.size() != 1) return; NLSSubstitution substitution= (NLSSubstitution) selected.iterator().next(); if (substitution.getState() == NLSSubstitution.EXTERNALIZED) { openEditButton(event.getSelection()); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/7811eb51abc24af5046aa2f49df43313e08c0c7f/ExternalizeWizardPage.java/buggy/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/ExternalizeWizardPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1645, 6563, 12, 5265, 6563, 1133, 871, 13, 288, 9506, 202, 682, 3170, 33, 16625, 1388, 5400, 5621, 9506, 202, 430, 261, 8109, 18, 1467, 1435, 480, 404, 13, 6862, 202, 2463, 31, 9506, 202, 24924, 1260, 373, 14278, 12785, 33, 261, 24924, 1260, 373, 14278, 13, 3170, 18, 9838, 7675, 4285, 5621, 9506, 202, 430, 261, 1717, 14278, 18, 588, 1119, 1435, 422, 18520, 1260, 373, 14278, 18, 2294, 11702, 24131, 13, 288, 6862, 202, 3190, 4666, 3616, 12, 2575, 18, 588, 6233, 10663, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1645, 6563, 12, 5265, 6563, 1133, 871, 13, 288, 9506, 202, 682, 3170, 33, 16625, 1388, 5400, 5621, 9506, 202, 430, 261, 8109, 18, 1467, 1435, 480, 404, 13, 6862, 202, 2463, 31, 9506, 202, 24924, 1260, 373, 14278, 12785, 33, 261, 24924, 1260, 373, 14278, 13, 3170, 18, 9838, 7675, 4285, 5621, 9506, 202, 430, 261, 1717, 14278, 18, 588, 1119, 1435, 422, 18520, 1260, 373, 14278, 18, 2294, 11702, 24131, 13, 288, 6862, 202, 3190, 4666, 3616, 12, 2575, 18, 588, 6233, 10663, 9506, 202, 97, 1082, 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 ]
try { Integer.parseInt( sample );
if ( pt.equals( PrimitiveType.DOUBLE ) ) { int count = 0; for ( String string : vector ) { toConvert.add( Double.parseDouble( string ) ); count++; } log.debug( count + " doubles found" ); } else if ( pt.equals( PrimitiveType.INT ) ) { int count = 0;
protected byte[] convertData( List<String> vector ) { if ( vector == null || vector.size() == 0 ) return null; String sample = vector.iterator().next(); if ( sample == null ) throw new IllegalStateException( "Vector contained null string as first element" ); List<Object> toConvert = new ArrayList<Object>(); try { try { Integer.parseInt( sample ); for ( String string : vector ) { toConvert.add( Integer.parseInt( string ) ); } } catch ( NumberFormatException e ) { // no problem, we try doubles. try { Double.parseDouble( sample ); for ( String string : vector ) { toConvert.add( Double.parseDouble( string ) ); } } catch ( NumberFormatException e1 ) { throw new RuntimeException( sample + " is not in a recognized numeric format" ); } } } catch ( NumberFormatException e ) { throw new RuntimeException( "Strings in data vector must all be of the same type! " ); } return byteArrayConverter.toBytes( toConvert.toArray() ); }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/c2353458f1118ddbfade0d8075bc9d30d87474ae/GeoConverter.java/buggy/src/impl/edu/columbia/gemma/loader/expression/geo/GeoConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 1765, 751, 12, 987, 32, 780, 34, 3806, 262, 288, 3639, 309, 261, 3806, 422, 446, 747, 3806, 18, 1467, 1435, 422, 374, 262, 327, 446, 31, 3639, 514, 3296, 273, 3806, 18, 9838, 7675, 4285, 5621, 3639, 309, 261, 3296, 422, 446, 262, 604, 394, 5477, 12, 315, 5018, 7542, 446, 533, 487, 1122, 930, 6, 11272, 3639, 987, 32, 921, 34, 358, 2723, 273, 394, 2407, 32, 921, 34, 5621, 3639, 775, 288, 5411, 775, 288, 7734, 2144, 18, 2670, 1702, 12, 3296, 11272, 7734, 364, 261, 514, 533, 294, 3806, 262, 288, 10792, 358, 2723, 18, 1289, 12, 2144, 18, 2670, 1702, 12, 533, 262, 11272, 7734, 289, 5411, 289, 1044, 261, 12100, 425, 262, 288, 7734, 368, 1158, 6199, 16, 732, 775, 31446, 18, 7734, 775, 288, 10792, 3698, 18, 2670, 5265, 12, 3296, 11272, 10792, 364, 261, 514, 533, 294, 3806, 262, 288, 13491, 358, 2723, 18, 1289, 12, 3698, 18, 2670, 5265, 12, 533, 262, 11272, 10792, 289, 7734, 289, 1044, 261, 12100, 425, 21, 262, 288, 10792, 604, 394, 3235, 12, 3296, 397, 315, 353, 486, 316, 279, 16332, 6389, 740, 6, 11272, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 12100, 425, 262, 288, 5411, 604, 394, 3235, 12, 315, 7957, 316, 501, 3806, 1297, 777, 506, 434, 326, 1967, 618, 5, 315, 11272, 3639, 289, 3639, 327, 17774, 5072, 18, 869, 2160, 12, 358, 2723, 18, 31447, 1435, 11272, 565, 289, 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, 377, 4750, 1160, 8526, 1765, 751, 12, 987, 32, 780, 34, 3806, 262, 288, 3639, 309, 261, 3806, 422, 446, 747, 3806, 18, 1467, 1435, 422, 374, 262, 327, 446, 31, 3639, 514, 3296, 273, 3806, 18, 9838, 7675, 4285, 5621, 3639, 309, 261, 3296, 422, 446, 262, 604, 394, 5477, 12, 315, 5018, 7542, 446, 533, 487, 1122, 930, 6, 11272, 3639, 987, 32, 921, 34, 358, 2723, 273, 394, 2407, 32, 921, 34, 5621, 3639, 775, 288, 5411, 775, 288, 7734, 2144, 18, 2670, 1702, 12, 3296, 11272, 7734, 364, 261, 514, 533, 294, 3806, 262, 288, 10792, 358, 2723, 18, 1289, 12, 2144, 18, 2670, 1702, 12, 533, 262, 11272, 7734, 289, 5411, 289, 1044, 261, 2 ]
return null;
if (nativeResponse != null) return nativeResponse.getContentType(); else return null;
public String getContentType() { return null;//TODO }
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/13f56e1f31bcbf299c0d81eeab5e91b86b91fb9f/ExternalContextToPortletRenderResponseWrapper.java/buggy/src/java/org/orbeon/oxf/externalcontext/ExternalContextToPortletRenderResponseWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 17470, 1435, 288, 3639, 327, 446, 31, 759, 6241, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 17470, 1435, 288, 3639, 327, 446, 31, 759, 6241, 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 ]
InputDialog dialog = new InputDialog(shell, MakeUIPlugin.getResourceString(PATH_TITLE), MakeUIPlugin.getResourceString(PATH_LABEL), "", null);
InputDialog dialog = new SelectPathInputDialog(shell, MakeUIPlugin.getResourceString(PATH_TITLE), MakeUIPlugin.getResourceString(PATH_LABEL), "", null);
protected void handleAddPath() { // Popup an entry dialog InputDialog dialog = new InputDialog(shell, MakeUIPlugin.getResourceString(PATH_TITLE), MakeUIPlugin.getResourceString(PATH_LABEL), "", null); //$NON-NLS-1$ String path = null; if (dialog.open() == Window.OK) { path = dialog.getValue(); } if (path != null && path.length() > 0) { pathList.add(path); pathList.select(pathList.getItemCount() - 1); enablePathButtons(); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/6c46cacd8260f6ccb5c611cf7f8559720c9297d8/BuildPathInfoBlock.java/clean/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildPathInfoBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 986, 743, 1435, 288, 202, 202, 759, 10264, 416, 392, 1241, 6176, 202, 202, 1210, 6353, 6176, 273, 394, 6766, 743, 1210, 6353, 12, 10304, 16, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 4211, 67, 14123, 3631, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 4211, 67, 13545, 3631, 23453, 446, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 589, 273, 446, 31, 202, 202, 430, 261, 12730, 18, 3190, 1435, 422, 6076, 18, 3141, 13, 288, 1082, 202, 803, 273, 6176, 18, 24805, 5621, 202, 202, 97, 202, 202, 430, 261, 803, 480, 446, 597, 589, 18, 2469, 1435, 405, 374, 13, 288, 1082, 202, 803, 682, 18, 1289, 12, 803, 1769, 1082, 202, 803, 682, 18, 4025, 12, 803, 682, 18, 588, 30687, 1435, 300, 404, 1769, 1082, 202, 7589, 743, 14388, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 986, 743, 1435, 288, 202, 202, 759, 10264, 416, 392, 1241, 6176, 202, 202, 1210, 6353, 6176, 273, 394, 6766, 743, 1210, 6353, 12, 10304, 16, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 4211, 67, 14123, 3631, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 4211, 67, 13545, 3631, 23453, 446, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 589, 273, 446, 31, 202, 202, 430, 261, 12730, 18, 3190, 1435, 422, 6076, 18, 3141, 13, 288, 1082, 202, 803, 273, 6176, 18, 24805, 5621, 202, 202, 97, 202, 202, 430, 261, 803, 480, 446, 597, 589, 18, 2469, 1435, 405, 374, 13, 288, 1082, 202, 803, 682, 18, 1289, 2 ]
vg[83].setColor(new Color(0, 0, 0, 255));
vg[83].setColor(new Color(51, 51, 51, 255));
public static void paint(VectorGraphics[] vg) { vg[76].fillRect(196, 0, 2, 38); vg[76].translate(-1, -1); vg[76].setColor(new Color(0, 255, 0, 255)); vg[76].dispose(); vg[75].dispose(); vg[77] = (VectorGraphics)vg[6].create(0, 84, 200, 42); vg[77].setColor(new Color(0, 0, 0, 255)); vg[77].setFont(new Font("Dialog", 0, 12)); vg[77].setColor(new Color(0, 0, 0, 255)); vg[77].setFont(new Font("Dialog", 0, 12)); vg[78] = (VectorGraphics)vg[77].create(); vg[78].setColorMode(0); vg[78].setColor(new Color(0, 255, 0, 255)); vg[78].fillRect(3, 3, 194, 36); vg[78].translate(0, 0); vg[78].setColor(new Color(255, 255, 255, 255)); vg[78].fillRect(0, 0, 199, 1); vg[78].fillRect(0, 1, 1, 41); vg[78].fillRect(1, 41, 199, 1); vg[78].fillRect(199, 0, 1, 41); vg[78].translate(0, 0); vg[78].setColor(new Color(0, 255, 0, 255)); vg[78].translate(1, 1); vg[78].setColor(new Color(0, 0, 0, 255)); vg[78].fillRect(0, 0, 196, 2); vg[78].fillRect(0, 2, 2, 38); vg[78].fillRect(2, 38, 196, 2); vg[78].fillRect(196, 0, 2, 38); vg[78].translate(-1, -1); vg[78].setColor(new Color(0, 255, 0, 255)); vg[78].dispose(); vg[77].dispose(); vg[79] = (VectorGraphics)vg[6].create(400, 42, 200, 42); vg[79].setColor(new Color(0, 0, 0, 255)); vg[79].setFont(new Font("Dialog", 0, 12)); vg[79].setColor(new Color(0, 0, 0, 255)); vg[79].setFont(new Font("Dialog", 0, 12)); vg[80] = (VectorGraphics)vg[79].create(); vg[80].setColorMode(2); vg[80].setColor(new Color(255, 0, 0, 255)); vg[80].fillRect(3, 3, 194, 36); vg[80].translate(0, 0); vg[80].setColor(new Color(255, 255, 255, 255)); vg[80].fillRect(0, 0, 199, 1); vg[80].fillRect(0, 1, 1, 41); vg[80].fillRect(1, 41, 199, 1); vg[80].fillRect(199, 0, 1, 41); vg[80].translate(0, 0); vg[80].setColor(new Color(255, 0, 0, 255)); vg[80].translate(1, 1); vg[80].setColor(new Color(0, 0, 0, 255)); vg[80].fillRect(0, 0, 196, 2); vg[80].fillRect(0, 2, 2, 38); vg[80].fillRect(2, 38, 196, 2); vg[80].fillRect(196, 0, 2, 38); vg[80].translate(-1, -1); vg[80].setColor(new Color(255, 0, 0, 255)); vg[80].dispose(); vg[79].dispose(); vg[81] = (VectorGraphics)vg[6].create(200, 42, 200, 42); vg[81].setColor(new Color(0, 0, 0, 255)); vg[81].setFont(new Font("Dialog", 0, 12)); vg[81].setColor(new Color(0, 0, 0, 255)); vg[81].setFont(new Font("Dialog", 0, 12)); vg[82] = (VectorGraphics)vg[81].create(); vg[82].setColorMode(1); vg[82].setColor(new Color(255, 0, 0, 255)); vg[82].fillRect(3, 3, 194, 36); vg[82].translate(0, 0); vg[82].setColor(new Color(255, 255, 255, 255)); vg[82].fillRect(0, 0, 199, 1); vg[82].fillRect(0, 1, 1, 41); vg[82].fillRect(1, 41, 199, 1); vg[82].fillRect(199, 0, 1, 41); vg[82].translate(0, 0); vg[82].setColor(new Color(255, 0, 0, 255)); vg[82].translate(1, 1); vg[82].setColor(new Color(0, 0, 0, 255)); vg[82].fillRect(0, 0, 196, 2); vg[82].fillRect(0, 2, 2, 38); vg[82].fillRect(2, 38, 196, 2); vg[82].fillRect(196, 0, 2, 38); vg[82].translate(-1, -1); vg[82].setColor(new Color(255, 0, 0, 255)); vg[82].dispose(); vg[81].dispose(); vg[83] = (VectorGraphics)vg[6].create(0, 42, 200, 42); vg[83].setColor(new Color(0, 0, 0, 255)); vg[83].setFont(new Font("Dialog", 0, 12)); vg[83].setColor(new Color(0, 0, 0, 255)); vg[83].setFont(new Font("Dialog", 0, 12)); vg[84] = (VectorGraphics)vg[83].create(); vg[84].setColorMode(0); vg[84].setColor(new Color(255, 0, 0, 255)); vg[84].fillRect(3, 3, 194, 36); vg[84].translate(0, 0); vg[84].setColor(new Color(255, 255, 255, 255)); vg[84].fillRect(0, 0, 199, 1); vg[84].fillRect(0, 1, 1, 41); vg[84].fillRect(1, 41, 199, 1); vg[84].fillRect(199, 0, 1, 41); vg[84].translate(0, 0); vg[84].setColor(new Color(255, 0, 0, 255)); vg[84].translate(1, 1); vg[84].setColor(new Color(0, 0, 0, 255)); vg[84].fillRect(0, 0, 196, 2); vg[84].fillRect(0, 2, 2, 38); vg[84].fillRect(2, 38, 196, 2); vg[84].fillRect(196, 0, 2, 38); vg[84].translate(-1, -1); vg[84].setColor(new Color(255, 0, 0, 255)); vg[84].dispose(); vg[83].dispose(); vg[85] = (VectorGraphics)vg[6].create(400, 0, 200, 42); vg[85].setColor(new Color(0, 0, 0, 255)); vg[85].setFont(new Font("Dialog", 1, 12)); vg[85].setColor(new Color(0, 0, 0, 255)); vg[85].setFont(new Font("Dialog", 1, 12)); vg[86] = (VectorGraphics)vg[85].create(); vg[87] = (VectorGraphics)vg[86].create(); vg[87].setColor(new Color(0, 0, 0, 255)); vg[87].drawString("Black and White", 0, 26); vg[87].dispose(); vg[86].dispose(); vg[85].dispose(); vg[88] = (VectorGraphics)vg[6].create(200, 0, 200, 42); vg[88].setColor(new Color(0, 0, 0, 255)); vg[88].setFont(new Font("Dialog", 1, 12)); vg[88].setColor(new Color(0, 0, 0, 255)); vg[88].setFont(new Font("Dialog", 1, 12)); vg[89] = (VectorGraphics)vg[88].create(); vg[90] = (VectorGraphics)vg[89].create(); vg[90].setColor(new Color(0, 0, 0, 255)); vg[90].drawString("GrayScale", 0, 26); vg[90].dispose(); vg[89].dispose(); vg[88].dispose(); vg[91] = (VectorGraphics)vg[6].create(0, 0, 200, 42); vg[91].setColor(new Color(0, 0, 0, 255)); vg[91].setFont(new Font("Dialog", 1, 12)); vg[91].setColor(new Color(0, 0, 0, 255)); vg[91].setFont(new Font("Dialog", 1, 12)); vg[92] = (VectorGraphics)vg[91].create(); vg[93] = (VectorGraphics)vg[92].create(); vg[93].setColor(new Color(0, 0, 0, 255)); vg[93].drawString("Color", 0, 26); vg[93].dispose(); vg[92].dispose(); vg[91].dispose(); vg[6].dispose(); vg[4].dispose(); vg[3].dispose(); vg[2].dispose(); vg[1].dispose(); } // paint
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/a285e1f74c830a5130099c3322f3a09dfe75f4c1/TestPrintColors.java/buggy/freehep-graphicsio-java/src/test/resources/org/freehep/graphicsio/java/test/TestPrintColors.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 760, 918, 12574, 12, 5018, 17558, 8526, 19524, 13, 288, 5411, 19524, 63, 6669, 8009, 5935, 6120, 12, 28644, 16, 374, 16, 576, 16, 18012, 1769, 5411, 19524, 63, 6669, 8009, 13929, 19236, 21, 16, 300, 21, 1769, 5411, 19524, 63, 6669, 8009, 542, 2957, 12, 2704, 5563, 12, 20, 16, 4561, 16, 374, 16, 4561, 10019, 5411, 19524, 63, 6669, 8009, 2251, 4150, 5621, 5411, 19524, 63, 5877, 8009, 2251, 4150, 5621, 5411, 19524, 63, 4700, 65, 273, 261, 5018, 17558, 13, 20105, 63, 26, 8009, 2640, 12, 20, 16, 23421, 16, 4044, 16, 14856, 1769, 5411, 19524, 63, 4700, 8009, 542, 2957, 12, 2704, 5563, 12, 20, 16, 374, 16, 374, 16, 4561, 10019, 5411, 19524, 63, 4700, 8009, 542, 5711, 12, 2704, 10063, 2932, 6353, 3113, 374, 16, 2593, 10019, 5411, 19524, 63, 4700, 8009, 542, 2957, 12, 2704, 5563, 12, 20, 16, 374, 16, 374, 16, 4561, 10019, 5411, 19524, 63, 4700, 8009, 542, 5711, 12, 2704, 10063, 2932, 6353, 3113, 374, 16, 2593, 10019, 5411, 19524, 63, 8285, 65, 273, 261, 5018, 17558, 13, 20105, 63, 4700, 8009, 2640, 5621, 5411, 19524, 63, 8285, 8009, 542, 2957, 2309, 12, 20, 1769, 5411, 19524, 63, 8285, 8009, 542, 2957, 12, 2704, 5563, 12, 20, 16, 4561, 16, 374, 16, 4561, 10019, 5411, 19524, 63, 8285, 8009, 5935, 6120, 12, 23, 16, 890, 16, 5342, 24, 16, 6580, 1769, 5411, 19524, 63, 8285, 8009, 13929, 12, 20, 16, 374, 1769, 5411, 19524, 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, 760, 918, 12574, 12, 5018, 17558, 8526, 19524, 13, 288, 5411, 19524, 63, 6669, 8009, 5935, 6120, 12, 28644, 16, 374, 16, 576, 16, 18012, 1769, 5411, 19524, 63, 6669, 8009, 13929, 19236, 21, 16, 300, 21, 1769, 5411, 19524, 63, 6669, 8009, 542, 2957, 12, 2704, 5563, 12, 20, 16, 4561, 16, 374, 16, 4561, 10019, 5411, 19524, 63, 6669, 8009, 2251, 4150, 5621, 5411, 19524, 63, 5877, 8009, 2251, 4150, 5621, 5411, 19524, 63, 4700, 65, 273, 261, 5018, 17558, 13, 20105, 63, 26, 8009, 2640, 12, 20, 16, 23421, 16, 4044, 16, 14856, 1769, 5411, 19524, 63, 4700, 8009, 542, 2957, 12, 2704, 5563, 12, 20, 16, 374, 16, 374, 16, 4561, 10019, 5411, 2 ]
protected final void scanElementDecl() throws IOException, XNIException { // spaces fReportEntity = false; if (!skipSeparator(true, !scanningInternalSubset())) { reportFatalError("MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL", null); } // element name String name = fEntityScanner.scanName(); if (name == null) { reportFatalError("MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL", null); } // spaces if (!skipSeparator(true, !scanningInternalSubset())) { reportFatalError("MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL", new Object[]{name}); } // content model if (fDTDContentModelHandler != null) { fDTDContentModelHandler.startContentModel(name); } String contentModel = null; fReportEntity = true; if (fEntityScanner.skipString("EMPTY")) { contentModel = "EMPTY"; // call handler if (fDTDContentModelHandler != null) { fDTDContentModelHandler.empty(); } } else if (fEntityScanner.skipString("ANY")) { contentModel = "ANY"; // call handler if (fDTDContentModelHandler != null) { fDTDContentModelHandler.any(); } } else { if (!fEntityScanner.skipChar('(')) { reportFatalError("MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN", new Object[]{name}); } if (fDTDContentModelHandler != null) { fDTDContentModelHandler.startGroup(); } fStringBuffer.clear(); fStringBuffer.append('('); fMarkUpDepth++; skipSeparator(false, !scanningInternalSubset()); // Mixed content model if (fEntityScanner.skipString("#PCDATA")) { scanMixed(name); } else { // children content scanChildren(name); } contentModel = fStringBuffer.toString(); } // call handler if (fDTDContentModelHandler != null) { fDTDContentModelHandler.endContentModel(); } fReportEntity = false; skipSeparator(false, !scanningInternalSubset()); fReportEntity = true; // end if (!fEntityScanner.skipChar('>')) { reportFatalError("ElementDeclUnterminated", new Object[]{name}); } fMarkUpDepth--; // call handler if (fDTDHandler != null) { fDTDHandler.elementDecl(name, contentModel); } } // scanElementDecl()
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/87c03bb8e96a09759d7033d117870258c8e81fb1/XMLDTDScannerImpl.java/buggy/src/org/apache/xerces/impl/XMLDTDScannerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 4135, 1046, 3456, 1435, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 368, 7292, 3639, 284, 4820, 1943, 273, 629, 31, 3639, 309, 16051, 7457, 6581, 12, 3767, 16, 401, 1017, 10903, 3061, 20315, 1435, 3719, 288, 5411, 2605, 19593, 668, 2932, 11210, 67, 6616, 67, 14977, 67, 19152, 67, 10976, 67, 2399, 67, 706, 67, 10976, 23956, 3113, 11794, 446, 1769, 3639, 289, 3639, 368, 930, 508, 3639, 514, 508, 273, 284, 1943, 11338, 18, 9871, 461, 5621, 3639, 309, 261, 529, 422, 446, 13, 288, 5411, 2605, 19593, 668, 2932, 11210, 67, 10976, 67, 2399, 67, 14977, 67, 706, 67, 10976, 23956, 3113, 11794, 446, 1769, 3639, 289, 3639, 368, 7292, 3639, 309, 16051, 7457, 6581, 12, 3767, 16, 401, 1017, 10903, 3061, 20315, 1435, 3719, 288, 5411, 2605, 19593, 668, 2932, 11210, 67, 6616, 67, 14977, 67, 19152, 67, 9689, 13847, 67, 706, 67, 10976, 23956, 3113, 11794, 394, 1033, 63, 7073, 529, 22938, 3639, 289, 3639, 368, 913, 938, 3639, 309, 261, 74, 25728, 1350, 1488, 1503, 480, 446, 13, 288, 5411, 284, 25728, 1350, 1488, 1503, 18, 1937, 1350, 1488, 12, 529, 1769, 3639, 289, 3639, 514, 913, 1488, 273, 446, 31, 3639, 284, 4820, 1943, 273, 638, 31, 3639, 309, 261, 74, 1943, 11338, 18, 7457, 780, 2932, 13625, 6, 3719, 288, 5411, 913, 1488, 273, 315, 13625, 14432, 5411, 368, 745, 1838, 5411, 309, 261, 74, 25728, 1350, 1488, 1503, 480, 446, 13, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 4135, 1046, 3456, 1435, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 368, 7292, 3639, 284, 4820, 1943, 273, 629, 31, 3639, 309, 16051, 7457, 6581, 12, 3767, 16, 401, 1017, 10903, 3061, 20315, 1435, 3719, 288, 5411, 2605, 19593, 668, 2932, 11210, 67, 6616, 67, 14977, 67, 19152, 67, 10976, 67, 2399, 67, 706, 67, 10976, 23956, 3113, 11794, 446, 1769, 3639, 289, 3639, 368, 930, 508, 3639, 514, 508, 273, 284, 1943, 11338, 18, 9871, 461, 5621, 3639, 309, 261, 529, 422, 446, 13, 288, 5411, 2605, 19593, 668, 2932, 11210, 67, 10976, 67, 2399, 67, 14977, 67, 706, 67, 10976, 23956, 3113, 11794, 446, 1769, 3639, 289, 3639, 368, 7292, 3639, 2 ]
return isComplex; }
return isComplex; }
public boolean isComplex() { return isComplex; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/cb9da94a3858152039309e6fb2cd0a4906257d3d/FileOperationsUndoProvider.java/buggy/source/com/intellij/openapi/command/impl/FileOperationsUndoProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 1250, 353, 12795, 1435, 288, 3639, 327, 353, 12795, 31, 1377, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 1250, 353, 12795, 1435, 288, 3639, 327, 353, 12795, 31, 1377, 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 ]
exampleInvocation = new Invocation( new Object(), method, new Object[]{ARG1,ARG2} ); invocationMocker = new InvocationMocker(); }
exampleInvocation = new Invocation(new Object(), method, new Object[]{ARG1, ARG2}); invocationMocker = new InvocationMocker(); }
public void setUp() { MethodFactory methodFactory = new MethodFactory(); Method method = methodFactory.newMethod( "example", new Class[]{String.class, String.class}, Void.class, MethodFactory.NO_EXCEPTIONS ); exampleInvocation = new Invocation( new Object(), method, new Object[]{ARG1,ARG2} ); invocationMocker = new InvocationMocker(); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/InvocationMockerTest.java/buggy/jmock/core/src/test/jmock/core/InvocationMockerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 202, 565, 2985, 1733, 707, 1733, 273, 394, 2985, 1733, 5621, 202, 565, 2985, 707, 273, 707, 1733, 18, 2704, 1305, 12, 315, 8236, 3113, 394, 1659, 63, 7073, 780, 18, 1106, 16, 514, 18, 1106, 5779, 6988, 18, 1106, 16, 202, 4766, 10402, 2985, 1733, 18, 3417, 67, 12658, 55, 11272, 202, 565, 3454, 9267, 273, 394, 11298, 12, 394, 1033, 9334, 707, 16, 394, 1033, 63, 7073, 10973, 21, 16, 10973, 22, 97, 11272, 3639, 9495, 49, 6203, 273, 394, 11298, 49, 6203, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 202, 565, 2985, 1733, 707, 1733, 273, 394, 2985, 1733, 5621, 202, 565, 2985, 707, 273, 707, 1733, 18, 2704, 1305, 12, 315, 8236, 3113, 394, 1659, 63, 7073, 780, 18, 1106, 16, 514, 18, 1106, 5779, 6988, 18, 1106, 16, 202, 4766, 10402, 2985, 1733, 18, 3417, 67, 12658, 55, 11272, 202, 565, 3454, 9267, 273, 394, 11298, 12, 394, 1033, 9334, 707, 16, 394, 1033, 63, 7073, 10973, 21, 16, 10973, 22, 97, 11272, 3639, 9495, 49, 6203, 273, 394, 11298, 49, 6203, 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 ]
types.add(markerTypes[i]);
MarkerType type = model.getType(markerTypes[i]); if (type != null) { types.add(markerTypes[i]); MarkerType[] subs = type.getAllSubTypes(); for (int j = 0; j < subs.length; j++) { types.add(subs[j].getId()); } }
public FieldMarkerGroup(String name, String attribute, Map providers, String[] markerTypes) { title = name; markerAttribute = attribute; valueMapping = providers; types = new HashSet(); for (int i = 0; i < markerTypes.length; i++) { types.add(markerTypes[i]); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0446a7ffd95451a95b1b9aea90290a8cb25be855/FieldMarkerGroup.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldMarkerGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2286, 7078, 1114, 12, 780, 508, 16, 514, 1566, 16, 1635, 9165, 16, 1082, 202, 780, 8526, 5373, 2016, 13, 288, 202, 202, 2649, 273, 508, 31, 202, 202, 11145, 1499, 273, 1566, 31, 202, 202, 1132, 3233, 273, 9165, 31, 202, 202, 2352, 273, 394, 6847, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5373, 2016, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2352, 18, 1289, 12, 11145, 2016, 63, 77, 19226, 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, 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 31, 202, 202, 11145, 1499, 273, 1566, 31, 202, 202, 1132, 3233, 273, 9165, 31, 202, 202, 2352, 273, 394, 6847, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5373, 2016, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2352, 18, 1289, 12, 11145, 2016, 63, 77, 19226, 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 ]
public void enterInterrupt(Main.StackFrame lastFrame, String threadTitle, String alertMessage)
public void enterInterrupt(final Main.StackFrame lastFrame, final String threadTitle, final String alertMessage)
public void enterInterrupt(Main.StackFrame lastFrame, String threadTitle, String alertMessage) { statusBar.setText("Thread: " + threadTitle); showStopLine(lastFrame); if (alertMessage != null) { MessageDialogWrapper.showMessageDialog(this, alertMessage, "Exception in Script", JOptionPane.ERROR_MESSAGE); } JMenu menu = getJMenuBar().getMenu(0); //menu.getItem(0).setEnabled(false); // File->Load menu = getJMenuBar().getMenu(2); menu.getItem(0).setEnabled(false); // Debug->Break int count = menu.getItemCount(); for (int i = 1; i < count; ++i) { menu.getItem(i).setEnabled(true); } boolean b = false; for (int ci = 0, cc = toolBar.getComponentCount(); ci < cc; ci++) { toolBar.getComponent(ci).setEnabled(b); b = true; } toolBar.setEnabled(true); // raise the debugger window toFront(); Main.ContextData contextData = lastFrame.contextData(); context.enable(); JComboBox ctx = context.context; Vector toolTips = context.toolTips; context.disableUpdate(); int frameCount = contextData.frameCount(); ctx.removeAllItems(); // workaround for JDK 1.4 bug that caches selected value even after // removeAllItems() is called ctx.setSelectedItem(null); toolTips.removeAllElements(); for (int i = 0; i < frameCount; i++) { Main.StackFrame frame = contextData.getFrame(i); String url = frame.getUrl(); int lineNumber = frame.getLineNumber(); String shortName = url; if (url.length() > 20) { shortName = "..." + url.substring(url.length() - 17); } String location = "\"" + shortName + "\", line " + lineNumber; ctx.insertItemAt(location, i); location = "\"" + url + "\", line " + lineNumber; toolTips.addElement(location); } context.enableUpdate(); ctx.setSelectedIndex(0); ctx.setMinimumSize(new Dimension(50, ctx.getMinimumSize().height)); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/37b691db3c3eb8f440d8869736c56b996c7747ee/DebugGui.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6103, 14126, 12, 6376, 18, 2624, 3219, 1142, 3219, 16, 514, 2650, 4247, 16, 1171, 9079, 514, 6881, 1079, 13, 565, 288, 3639, 1267, 5190, 18, 542, 1528, 2932, 3830, 30, 315, 397, 2650, 4247, 1769, 3639, 2405, 4947, 1670, 12, 2722, 3219, 1769, 3639, 309, 261, 11798, 1079, 480, 446, 13, 288, 5411, 2350, 6353, 3611, 18, 4500, 1079, 6353, 12, 2211, 16, 4766, 10402, 6881, 1079, 16, 4766, 10402, 315, 503, 316, 7739, 3113, 4766, 10402, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 3639, 289, 3639, 804, 4599, 3824, 273, 9285, 4599, 5190, 7675, 588, 4599, 12, 20, 1769, 3639, 368, 5414, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 368, 1387, 2122, 2563, 3639, 3824, 273, 9285, 4599, 5190, 7675, 588, 4599, 12, 22, 1769, 3639, 3824, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 368, 4015, 2122, 7634, 3639, 509, 1056, 273, 3824, 18, 588, 30687, 5621, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 411, 1056, 31, 965, 77, 13, 288, 5411, 3824, 18, 588, 1180, 12, 77, 2934, 542, 1526, 12, 3767, 1769, 3639, 289, 3639, 1250, 324, 273, 629, 31, 3639, 364, 261, 474, 9039, 273, 374, 16, 4946, 273, 5226, 5190, 18, 588, 1841, 1380, 5621, 9039, 411, 4946, 31, 9039, 27245, 288, 5411, 5226, 5190, 18, 588, 1841, 12, 8450, 2934, 542, 1526, 12, 70, 1769, 5411, 324, 273, 638, 31, 3639, 289, 3639, 5226, 5190, 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, 377, 1071, 918, 6103, 14126, 12, 6376, 18, 2624, 3219, 1142, 3219, 16, 514, 2650, 4247, 16, 1171, 9079, 514, 6881, 1079, 13, 565, 288, 3639, 1267, 5190, 18, 542, 1528, 2932, 3830, 30, 315, 397, 2650, 4247, 1769, 3639, 2405, 4947, 1670, 12, 2722, 3219, 1769, 3639, 309, 261, 11798, 1079, 480, 446, 13, 288, 5411, 2350, 6353, 3611, 18, 4500, 1079, 6353, 12, 2211, 16, 4766, 10402, 6881, 1079, 16, 4766, 10402, 315, 503, 316, 7739, 3113, 4766, 10402, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 3639, 289, 3639, 804, 4599, 3824, 273, 9285, 4599, 5190, 7675, 588, 4599, 12, 20, 1769, 3639, 368, 5414, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 2 ]
public String toString() { return el == null ? "null" :
public String toString() { return el == null ? "null" :
public String toString() { return el == null ? "null" : "Name: " + name + " Element: " + el.getTagName(); }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/557a93a201e2f0530cb2de2bc8c33b83b9b8b97f/MetadataPane.java/clean/loci/ome/notebook/MetadataPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 327, 415, 422, 446, 692, 315, 2011, 6, 294, 4202, 315, 461, 30, 315, 397, 508, 397, 315, 3010, 30, 315, 397, 415, 18, 588, 8520, 5621, 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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0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 327, 415, 422, 446, 692, 315, 2011, 6, 294, 4202, 315, 461, 30, 315, 397, 508, 397, 315, 3010, 30, 315, 397, 415, 18, 588, 8520, 5621, 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 ]
MessageDialog.openInformation(shell, "Shell", "The test action ran!");
MessageDialog.openInformation(shell, "Shell", "The " + getText() + " ran!");
public void run() { MessageDialog.openInformation(shell, "Shell", "The test action ran!"); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1869fb0f66846c5ed765b0677f0e3907b2d6a068/TestAction.java/clean/tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/extension/TestAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 1079, 6353, 18, 3190, 5369, 12, 10304, 16, 315, 13220, 3113, 315, 1986, 1842, 1301, 18892, 4442, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 1079, 6353, 18, 3190, 5369, 12, 10304, 16, 315, 13220, 3113, 315, 1986, 1842, 1301, 18892, 4442, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (Entity)vector.get(random);
return (Entity)vector.elementAt(random);
public Entity getAffaTarget(Coords c) { Vector vector = new Vector(); if ( this.board.contains(c) ) { for (Enumeration i = entities.elements(); i.hasMoreElements();) { final Entity entity = (Entity)i.nextElement(); if (c.equals(entity.getPosition()) && entity.isTargetable() && !(entity instanceof Infantry)) { vector.addElement(entity); } } } if (!vector.isEmpty()) { int count = vector.size(); int random = Compute.randomInt(count); return (Entity)vector.get(random); } else { return null; } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/89183a55424abdaed317ca890b66ecf258c1aed6/Game.java/clean/megamek/src/megamek/common/Game.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3887, 4506, 74, 507, 2326, 12, 13089, 276, 13, 288, 3639, 5589, 3806, 273, 394, 5589, 5621, 3639, 309, 261, 333, 18, 3752, 18, 12298, 12, 71, 13, 262, 288, 5411, 364, 261, 21847, 277, 273, 5140, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 7734, 727, 3887, 1522, 273, 261, 1943, 13, 77, 18, 4285, 1046, 5621, 7734, 309, 261, 71, 18, 14963, 12, 1096, 18, 588, 2555, 10756, 597, 1522, 18, 291, 2326, 429, 1435, 597, 10792, 401, 12, 1096, 1276, 13648, 304, 698, 3719, 288, 10792, 3806, 18, 1289, 1046, 12, 1096, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 16051, 7737, 18, 291, 1921, 10756, 288, 5411, 509, 1056, 273, 3806, 18, 1467, 5621, 5411, 509, 2744, 273, 8155, 18, 9188, 1702, 12, 1883, 1769, 5411, 327, 261, 1943, 13, 7737, 18, 2956, 861, 12, 9188, 1769, 3639, 289, 469, 288, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3887, 4506, 74, 507, 2326, 12, 13089, 276, 13, 288, 3639, 5589, 3806, 273, 394, 5589, 5621, 3639, 309, 261, 333, 18, 3752, 18, 12298, 12, 71, 13, 262, 288, 5411, 364, 261, 21847, 277, 273, 5140, 18, 6274, 5621, 277, 18, 5332, 7417, 3471, 5621, 13, 288, 7734, 727, 3887, 1522, 273, 261, 1943, 13, 77, 18, 4285, 1046, 5621, 7734, 309, 261, 71, 18, 14963, 12, 1096, 18, 588, 2555, 10756, 597, 1522, 18, 291, 2326, 429, 1435, 597, 10792, 401, 12, 1096, 1276, 13648, 304, 698, 3719, 288, 10792, 3806, 18, 1289, 1046, 12, 1096, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 16051, 7737, 18, 291, 1921, 10756, 288, 5411, 509, 1056, 2 ]
task = (JiraTask)archiveTask; } else { String summary = issue.getSummary(); String url = repositoryUrl + MylarJiraPlugin.ISSUE_URL_PREFIX + issue.getKey(); task = new JiraTask(getHandleIdentifier(), summary, true); task.setUrl(url);
task = (JiraTask) archiveTask; } else { task = new JiraTask(getHandleIdentifier(), issue.getSummary(), true);
public AbstractRepositoryTask getOrCreateCorrespondingTask() { if (task == null) { ITask archiveTask = MylarTaskListPlugin.getTaskListManager().getTaskList().getTaskFromArchive(getHandleIdentifier()); if (archiveTask instanceof JiraTask) { task = (JiraTask)archiveTask; } else { String summary = issue.getSummary(); String url = repositoryUrl + MylarJiraPlugin.ISSUE_URL_PREFIX + issue.getKey(); task = new JiraTask(getHandleIdentifier(), summary, true); task.setUrl(url); MylarTaskListPlugin.getTaskListManager().getTaskList().addTaskToArchive(task); } } if (issue != null && issue.getPriority() != null) { String translatedPriority = JiraTask.PriorityLevel.fromPriority(issue.getPriority()).toString(); task.setPriority(translatedPriority); task.setKind(issue.getType().getName()); } return task; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1ba215a5d4a623aa3926c5f5e898a54ff19a976f/JiraFilterHit.java/buggy/org.eclipse.mylyn.jira.ui/src/org/eclipse/mylyn/internal/jira/JiraFilterHit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 3305, 2174, 13486, 6217, 17863, 310, 2174, 1435, 288, 202, 202, 430, 261, 4146, 422, 446, 13, 288, 1082, 202, 1285, 835, 5052, 2174, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 2174, 1265, 7465, 12, 588, 3259, 3004, 10663, 1082, 202, 430, 261, 10686, 2174, 1276, 804, 11547, 2174, 13, 288, 9506, 202, 4146, 273, 261, 46, 11547, 2174, 13, 10686, 2174, 31, 1082, 202, 97, 469, 288, 282, 9506, 202, 780, 4916, 273, 5672, 18, 588, 4733, 5621, 9506, 202, 780, 880, 273, 3352, 1489, 397, 8005, 7901, 46, 11547, 3773, 18, 25689, 1821, 67, 1785, 67, 6307, 397, 5672, 18, 588, 653, 5621, 9506, 202, 4146, 273, 394, 804, 11547, 2174, 12, 588, 3259, 3004, 9334, 4916, 16, 638, 1769, 9506, 202, 4146, 18, 542, 1489, 12, 718, 1769, 6862, 202, 12062, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 1289, 2174, 774, 7465, 12, 4146, 1769, 1082, 202, 97, 202, 202, 97, 3196, 202, 430, 261, 13882, 480, 446, 597, 5672, 18, 588, 8183, 1435, 480, 446, 13, 288, 1082, 202, 780, 9955, 8183, 273, 804, 11547, 2174, 18, 8183, 2355, 18, 2080, 8183, 12, 13882, 18, 588, 8183, 1435, 2934, 10492, 5621, 1082, 202, 4146, 18, 542, 8183, 12, 22899, 8183, 1769, 1082, 202, 4146, 18, 542, 5677, 12, 13882, 18, 588, 559, 7675, 17994, 10663, 202, 202, 97, 3196, 202, 2463, 1562, 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, 4115, 3305, 2174, 13486, 6217, 17863, 310, 2174, 1435, 288, 202, 202, 430, 261, 4146, 422, 446, 13, 288, 1082, 202, 1285, 835, 5052, 2174, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 2174, 1265, 7465, 12, 588, 3259, 3004, 10663, 1082, 202, 430, 261, 10686, 2174, 1276, 804, 11547, 2174, 13, 288, 9506, 202, 4146, 273, 261, 46, 11547, 2174, 13, 10686, 2174, 31, 1082, 202, 97, 469, 288, 282, 9506, 202, 780, 4916, 273, 5672, 18, 588, 4733, 5621, 9506, 202, 780, 880, 273, 3352, 1489, 397, 8005, 7901, 46, 11547, 3773, 18, 25689, 1821, 67, 1785, 67, 6307, 397, 5672, 18, 588, 653, 5621, 2 ]
notify();
private synchronized void setObjectTarget (Object target) { if (logger.isFineEnabled()) { logger.fine("setObjectTarget " + target); } this.target = target; notify(); }
37458 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37458/2cbc00b17e722bb49651c1066c448d334e61ad1f/Jui.java/clean/src/main/omr/ui/Jui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 20530, 2326, 261, 921, 1018, 13, 565, 288, 3639, 309, 261, 4901, 18, 291, 42, 558, 1526, 10756, 288, 5411, 1194, 18, 74, 558, 2932, 542, 921, 2326, 315, 397, 1018, 1769, 3639, 289, 3639, 333, 18, 3299, 273, 1018, 31, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 20530, 2326, 261, 921, 1018, 13, 565, 288, 3639, 309, 261, 4901, 18, 291, 42, 558, 1526, 10756, 288, 5411, 1194, 18, 74, 558, 2932, 542, 921, 2326, 315, 397, 1018, 1769, 3639, 289, 3639, 333, 18, 3299, 273, 1018, 31, 6647, 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 ]
return idx.checkMailItemExists(mailItemId);
return idx.checkMailItemExists(mailItemId);
boolean checkForExistence(MailboxIndex idx, int mailItemId) { return idx.checkMailItemExists(mailItemId); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/8fae32c786d661d913dc5d8a6e5814a2d43858d2/Indexer.java/clean/ZimbraServer/src/java/com/zimbra/cs/index/Indexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 13855, 4786, 802, 12, 30239, 1016, 2067, 16, 509, 4791, 17673, 13, 288, 377, 202, 2463, 2067, 18, 1893, 6759, 1180, 4002, 12, 4408, 17673, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 13855, 4786, 802, 12, 30239, 1016, 2067, 16, 509, 4791, 17673, 13, 288, 377, 202, 2463, 2067, 18, 1893, 6759, 1180, 4002, 12, 4408, 17673, 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 ]
System.out.println( StringUtility.prefixLines(errorPrefix, s));
logger.error (getBindingSite().getAgentIdentifier() + " - " + s);
protected final void printError(String s) { System.out.println( StringUtility.prefixLines(errorPrefix, s)); }
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/aefea8d2de8fa5a06e6922a3243ec0a244f31e34/StrategicTransportProjectorPlugin.java/clean/glm/src/org/cougaar/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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1172, 668, 12, 780, 272, 13, 288, 565, 2332, 18, 659, 18, 8222, 12, 3639, 514, 6497, 18, 3239, 5763, 12, 1636, 2244, 16, 272, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 I2PSocket accept() throws I2PException;
public I2PSocket accept() throws I2PException, ConnectException;
public I2PSocket accept() throws I2PException;
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/d2b09ecfdaa39507ce32480cdbad07521a8de272/I2PServerSocket.java/buggy/apps/ministreaming/java/src/net/i2p/client/streaming/I2PServerSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 22, 52, 4534, 2791, 1435, 1216, 467, 22, 52, 503, 31, 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, 467, 22, 52, 4534, 2791, 1435, 1216, 467, 22, 52, 503, 31, 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 ]
ByteBuffer headerBuffer = tagBuffer.slice(); tagBuffer.position(tagBuffer.position() + this.FRAME_HEADER_SIZE);
ByteBuffer headerBuffer = ByteBuffer.allocate(FRAME_HEADER_SIZE);
public void write(ByteBuffer tagBuffer) throws IOException { logger.info("Writing frame to file:" + getIdentifier()); //This is where we will write header, move position to where we can //write body ByteBuffer headerBuffer = tagBuffer.slice(); tagBuffer.position(tagBuffer.position() + this.FRAME_HEADER_SIZE); //Write Frame Body Data ((AbstractID3v2FrameBody) frameBody).write(tagBuffer); //Write Frame Header //Write Frame ID, the identifier must be 4 bytes bytes long it may not be //because converted an unknown v2.2 id (only 3 bytes long) if (getIdentifier().length() == 3) { identifier = identifier + ' '; } headerBuffer.put(getIdentifier().getBytes(), 0, FRAME_ID_SIZE); //Write Frame Size int size = frameBody.getSize(); logger.fine("Frame Size Is:" + size); headerBuffer.putInt(frameBody.getSize()); //Write the Flags //@todo What about adjustments to header based on encoding flag headerBuffer.put(statusFlags.getWriteFlags()); headerBuffer.put(encodingFlags.getFlags()); }
40452 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40452/8e6062659057068b4b85fb7b41c567e179db6f7c/ID3v24Frame.java/clean/src/org/jaudiotagger/tag/id3/ID3v24Frame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 12, 12242, 1047, 1892, 13, 3639, 1216, 1860, 565, 288, 3639, 1194, 18, 1376, 2932, 18835, 2623, 358, 585, 2773, 397, 9650, 10663, 3639, 368, 2503, 353, 1625, 732, 903, 1045, 1446, 16, 3635, 1754, 358, 1625, 732, 848, 3639, 368, 2626, 1417, 3639, 7400, 1446, 1892, 273, 1047, 1892, 18, 6665, 5621, 3639, 1047, 1892, 18, 3276, 12, 2692, 1892, 18, 3276, 1435, 397, 333, 18, 15072, 67, 7557, 67, 4574, 1769, 3639, 368, 3067, 8058, 5652, 1910, 3639, 14015, 7469, 734, 23, 90, 22, 3219, 2250, 13, 2623, 2250, 2934, 2626, 12, 2692, 1892, 1769, 3639, 368, 3067, 8058, 4304, 3639, 368, 3067, 8058, 1599, 16, 326, 2756, 1297, 506, 1059, 1731, 1731, 1525, 518, 2026, 486, 506, 3639, 368, 26274, 5970, 392, 5917, 331, 22, 18, 22, 612, 261, 3700, 890, 1731, 1525, 13, 3639, 309, 261, 588, 3004, 7675, 2469, 1435, 422, 890, 13, 3639, 288, 5411, 2756, 273, 2756, 397, 296, 12386, 3639, 289, 3639, 1446, 1892, 18, 458, 12, 588, 3004, 7675, 588, 2160, 9334, 374, 16, 20183, 67, 734, 67, 4574, 1769, 3639, 368, 3067, 8058, 6321, 3639, 509, 963, 273, 2623, 2250, 18, 588, 1225, 5621, 3639, 1194, 18, 74, 558, 2932, 3219, 6321, 2585, 2773, 397, 963, 1769, 3639, 1446, 1892, 18, 458, 1702, 12, 3789, 2250, 18, 588, 1225, 10663, 3639, 368, 3067, 326, 10104, 3639, 23834, 9012, 18734, 2973, 5765, 1346, 358, 1446, 2511, 603, 2688, 2982, 3639, 1446, 1892, 18, 458, 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, 1045, 12, 12242, 1047, 1892, 13, 3639, 1216, 1860, 565, 288, 3639, 1194, 18, 1376, 2932, 18835, 2623, 358, 585, 2773, 397, 9650, 10663, 3639, 368, 2503, 353, 1625, 732, 903, 1045, 1446, 16, 3635, 1754, 358, 1625, 732, 848, 3639, 368, 2626, 1417, 3639, 7400, 1446, 1892, 273, 1047, 1892, 18, 6665, 5621, 3639, 1047, 1892, 18, 3276, 12, 2692, 1892, 18, 3276, 1435, 397, 333, 18, 15072, 67, 7557, 67, 4574, 1769, 3639, 368, 3067, 8058, 5652, 1910, 3639, 14015, 7469, 734, 23, 90, 22, 3219, 2250, 13, 2623, 2250, 2934, 2626, 12, 2692, 1892, 1769, 3639, 368, 3067, 8058, 4304, 3639, 368, 3067, 8058, 1599, 16, 326, 2756, 1297, 506, 1059, 1731, 1731, 2 ]
public static void main(String[] args) { GregorianCalendar startDate; GregorianCalendar endDate; GregorianCalendar upRampDate; GregorianCalendar runSessionDate; GregorianCalendar downRampDate; GregorianCalendar endDownRampDate; Process webServerMonitor = null; Process cjdbcServerMonitor = null; Process dbServerMonitor = null; Process clientMonitor = null; Process[] remoteClientMonitor = null; Process[] remoteClient = null; String reportDir = ""; String tmpDir = "/tmp/"; boolean isMainClient = args.length == 0; // Check if we are the main client if (isMainClient) { // Start by creating a report directory and redirecting output to an index.html file System.out.println("RUBBoS client emulator - (C) Rice University/INRIA 2001\n"); reportDir = "bench/"+TimeManagement.currentDateToString()+"/"; reportDir = reportDir.replace(' ', '@'); try { System.out.println("Creating report directory "+reportDir); File dir = new File(reportDir); dir.mkdirs(); if (!dir.isDirectory()) { System.out.println("Unable to create "+reportDir+" using current directory instead"); reportDir = "./"; } else reportDir = dir.getCanonicalPath()+"/"; System.out.println("Redirecting output to '"+reportDir+"index.html'"); PrintStream outputStream = new PrintStream(new FileOutputStream(reportDir+"index.html")); System.out.println("Please wait while experiment is running ..."); System.setOut(outputStream); System.setErr(outputStream); } catch (Exception e) { System.out.println("Output redirection failed, displaying results on standard output ("+e.getMessage()+")"); } System.out.println("<h2>RUBBoS client emulator - (C) Rice University/INRIA 2001</h2><p>\n"); startDate = new GregorianCalendar(); System.out.println("<h3>Test date: "+TimeManagement.dateToString(startDate)+"</h3><br>\n"); System.out.println("<A HREF=\"#config\">Test configuration</A><br>"); System.out.println("<A HREF=\"trace_client0.html\">Test trace</A><br>"); System.out.println("<A HREF=\"perf.html\">Test performance report</A><br><p>"); System.out.println("<p><hr><p>"); System.out.println("<CENTER><A NAME=\"config\"></A><h2>*** Test configuration ***</h2></CENTER>"); } else { System.out.println("RUBBoS remote client emulator - (C) Rice University/INRIA 2001\n"); startDate = new GregorianCalendar(); } ClientEmulator client = new ClientEmulator(); // Get also rubbos.properties info Stats stats = new Stats(client.rubbos.getNbOfRows()); Stats upRampStats = new Stats(client.rubbos.getNbOfRows()); Stats runSessionStats = new Stats(client.rubbos.getNbOfRows()); Stats downRampStats = new Stats(client.rubbos.getNbOfRows()); Stats allStats = new Stats(client.rubbos.getNbOfRows()); UserSession[] sessions = new UserSession[client.rubbos.getNbOfClients()]; System.out.println("<p><hr><p>"); if (isMainClient) { // Start remote clients System.out.println("Total number of clients for this experiment: "+(client.rubbos.getNbOfClients()*(client.rubbos.getRemoteClients().size()+1))+"<br>"); remoteClient = new Process[client.rubbos.getRemoteClients().size()]; for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { try { System.out.println("ClientEmulator: Starting remote client on "+client.rubbos.getRemoteClients().get(i)+"<br>\n"); String[] rcmdClient = new String[4]; rcmdClient[0] = client.rubbos.getMonitoringRsh(); rcmdClient[1] = "-x"; rcmdClient[2] = (String)client.rubbos.getRemoteClients().get(i); rcmdClient[3] = client.rubbos.getClientsRemoteCommand()+" "+tmpDir+"trace_client"+(i+1)+".html "+tmpDir+"stat_client"+(i+1)+".html"; remoteClient[i] = Runtime.getRuntime().exec(rcmdClient); System.out.println("&nbsp &nbsp Command is: "+rcmdClient[0]+" "+rcmdClient[1]+" "+rcmdClient[2]+" "+rcmdClient[3]+"<br>\n"); } catch (IOException ioe) { System.out.println("An error occured while executing remote client ("+ioe.getMessage()+")"); } } // Start monitoring programs System.out.println("<CENTER></A><A NAME=\"trace\"><h2>*** Monitoring ***</h2></CENTER>"); try { // First clean up all of the log files as we could be // recording binary files. Sar by default "appends" try { String[] delFiles = new String[4]; Process delProcess; delFiles[0] = client.rubbos.getMonitoringRsh(); delFiles[1] = "-x"; // Web server delFiles[2] = client.rubbos.getWebServerName(); delFiles[3] = "rm -f "+tmpDir+"web_server"; System.out.println("&nbsp &nbsp Command is: "+delFiles[0]+" "+delFiles[1]+" "+delFiles[2]+" "+delFiles[3]+"<br>\n"); delProcess = Runtime.getRuntime().exec(delFiles); delProcess.waitFor(); // CJDBC server if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { delFiles[2] = client.rubbos.getCJDBCServerName(); delFiles[3] = "rm -f "+tmpDir+"cjdbc_server"; System.out.println("&nbsp &nbsp Command is: "+delFiles[0]+" "+delFiles[1]+" "+delFiles[2]+" "+delFiles[3]+"<br>\n"); delProcess = Runtime.getRuntime().exec(delFiles); delProcess.waitFor(); } // Database Server delFiles[2] = client.rubbos.getDBServerName(); delFiles[3] = "rm -f "+tmpDir+"db_server"; System.out.println("&nbsp &nbsp Command is: "+delFiles[0]+" "+delFiles[1]+" "+delFiles[2]+" "+delFiles[3]+"<br>\n"); delProcess = Runtime.getRuntime().exec(delFiles); delProcess.waitFor(); // Local client delFiles[2] = "localhost"; delFiles[3] = "rm -f "+tmpDir+"client0"; System.out.println("&nbsp &nbsp Command is: "+delFiles[0]+" "+delFiles[1]+" "+delFiles[2]+" "+delFiles[3]+"<br>\n"); delProcess = Runtime.getRuntime().exec(delFiles); delProcess.waitFor(); // Remote clients for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { delFiles[2] = (String)client.rubbos.getRemoteClients().get(i); delFiles[3] = "rm -f "+tmpDir+"client"+(i+1); System.out.println("&nbsp &nbsp Command is: "+delFiles[0]+" "+delFiles[1]+" "+delFiles[2]+" "+delFiles[3]+"<br>\n"); delProcess = Runtime.getRuntime().exec(delFiles); delProcess.waitFor(); } } catch(java.lang.InterruptedException ie) { ie.printStackTrace(); } System.out.println("&nbsp &nbsp Finished deleting old files<br>\n"); // Monitor Web server int fullTimeInSec = (client.rubbos.getUpRampTime()+client.rubbos.getSessionTime()+client.rubbos.getDownRampTime())/1000 + 5; // Give 5 seconds extra for init System.out.println("ClientEmulator: Starting monitoring program on Web server "+client.rubbos.getWebServerName()+"<br>\n"); String[] cmdWeb = new String[6]; cmdWeb[0] = client.rubbos.getMonitoringRsh(); cmdWeb[1] = "-x"; cmdWeb[2] = client.rubbos.getWebServerName(); cmdWeb[3] = "/bin/bash"; cmdWeb[4] = "-c"; cmdWeb[5] = "'LANG=en_GB.UTF-8 "+client.rubbos.getMonitoringProgram()+" "+client.rubbos.getMonitoringOptions()+" "+ client.rubbos.getMonitoringSampling()+" "+fullTimeInSec+" -o "+tmpDir+"web_server'"; webServerMonitor = Runtime.getRuntime().exec(cmdWeb); System.out.println("&nbsp &nbsp Command is: "+cmdWeb[0]+" "+cmdWeb[1]+" "+cmdWeb[2]+" "+cmdWeb[3]+" "+cmdWeb[4]+" "+cmdWeb[5]+"<br>\n"); // Monitor C-JDBC server (if any) if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { System.out.println("ClientEmulator: Starting monitoring program on CJDBC server "+client.rubbos.getCJDBCServerName()+"<br>\n"); cmdWeb[0] = client.rubbos.getMonitoringRsh(); cmdWeb[1] = "-x"; cmdWeb[2] = client.rubbos.getCJDBCServerName(); cmdWeb[3] = "/bin/bash"; cmdWeb[4] = "-c"; cmdWeb[5] = "'LANG=en_GB.UTF-8 "+client.rubbos.getMonitoringProgram()+" "+client.rubbos.getMonitoringOptions()+" "+ client.rubbos.getMonitoringSampling()+" "+fullTimeInSec+" -o "+tmpDir+"cjdbc_server'"; cjdbcServerMonitor = Runtime.getRuntime().exec(cmdWeb); System.out.println("&nbsp &nbsp Command is: "+cmdWeb[0]+" "+cmdWeb[1]+" "+cmdWeb[2]+" "+cmdWeb[3]+" "+cmdWeb[4]+" "+cmdWeb[5]+"<br>\n"); } // Monitor Database server System.out.println("ClientEmulator: Starting monitoring program on Database server "+client.rubbos.getDBServerName()+"<br>\n"); String[] cmdDB = new String[6]; cmdDB[0] = client.rubbos.getMonitoringRsh(); cmdDB[1] = "-x"; cmdDB[2] = client.rubbos.getDBServerName(); cmdDB[3] = "/bin/bash"; cmdDB[4] = "-c"; cmdDB[5] = "'LANG=en_GB.UTF-8 "+client.rubbos.getMonitoringProgram()+" "+client.rubbos.getMonitoringOptions()+" "+ client.rubbos.getMonitoringSampling()+" "+fullTimeInSec+" -o "+tmpDir+"db_server'"; dbServerMonitor = Runtime.getRuntime().exec(cmdDB); System.out.println("&nbsp &nbsp Command is: "+cmdDB[0]+" "+cmdDB[1]+" "+cmdDB[2]+" "+cmdDB[3]+" "+cmdDB[4]+" "+cmdDB[5]+"<br>\n"); // Monitor local client System.out.println("ClientEmulator: Starting monitoring program locally on client<br>\n"); String[] cmdClient = new String[6]; cmdClient[0] = client.rubbos.getMonitoringRsh(); cmdClient[1] = "-x"; cmdClient[2] = "localhost"; cmdClient[3] = "/bin/bash"; cmdClient[4] = "-c"; cmdClient[5] = "'LANG=en_GB.UTF-8 "+client.rubbos.getMonitoringProgram()+" "+client.rubbos.getMonitoringOptions()+" "+ client.rubbos.getMonitoringSampling()+" "+fullTimeInSec+" -o "+reportDir+"client0'"; clientMonitor = Runtime.getRuntime().exec(cmdClient); System.out.println("&nbsp &nbsp Command is: "+cmdClient[0]+" "+cmdClient[1]+" "+cmdClient[2]+" "+cmdClient[3]+" "+cmdClient[4]+" "+cmdClient[5]+"<br>\n"); remoteClientMonitor = new Process[client.rubbos.getRemoteClients().size()]; // Monitor remote clients for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { System.out.println("ClientEmulator: Starting monitoring program on remote clients<br>\n"); String[] rcmdClient = new String[6]; rcmdClient[0] = client.rubbos.getMonitoringRsh(); rcmdClient[1] = "-x"; rcmdClient[2] = (String)client.rubbos.getRemoteClients().get(i); rcmdClient[3] = "/bin/bash"; rcmdClient[4] = "-c"; rcmdClient[5] = "'LANG=en_GB.UTF-8 "+client.rubbos.getMonitoringProgram()+" "+client.rubbos.getMonitoringOptions()+" "+ client.rubbos.getMonitoringSampling()+" "+fullTimeInSec+" -o "+tmpDir+"client"+(i+1)+"'"; remoteClientMonitor[i] = Runtime.getRuntime().exec(rcmdClient); System.out.println("&nbsp &nbsp Command is: "+rcmdClient[0]+" "+rcmdClient[1]+" "+rcmdClient[2]+" "+rcmdClient[3]+" "+rcmdClient[4]+" "+rcmdClient[5]+"<br>\n"); } // Redirect output for traces PrintStream outputStream = new PrintStream(new FileOutputStream(reportDir+"trace_client0.html")); System.setOut(outputStream); System.setErr(outputStream); } catch (IOException ioe) { System.out.println("An error occured while executing monitoring program ("+ioe.getMessage()+")"); } } else { // Redirect output of remote clients System.out.println("Redirecting output to '"+args[0]+"'"); try { PrintStream outputStream = new PrintStream(new FileOutputStream(args[0])); System.out.println("Please wait while experiment is running ..."); System.setOut(outputStream); System.setErr(outputStream); } catch (Exception e) { System.out.println("Output redirection failed, displaying results on standard output ("+e.getMessage()+")"); } startDate = new GregorianCalendar(); } // ############################# // ### TEST TRACE BEGIN HERE ### // ############################# System.out.println("<CENTER></A><A NAME=\"trace\"><h2>*** Test trace ***</h2></CENTER><p>"); System.out.println("<A HREF=\"trace_client0.html\">Main client traces</A><br>"); for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) System.out.println("<A HREF=\"trace_client"+(i+1)+".html\">client1 ("+client.rubbos.getRemoteClients().get(i)+") traces</A><br>"); System.out.println("<br><p>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#up\">Up ramp trace</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#run\">Runtime session trace</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#down\">Down ramp trace</A><br><p><p>"); // Run user sessions System.out.println("ClientEmulator: Starting "+client.rubbos.getNbOfClients()+" session threads<br>"); Random rand = new Random(); // random number generator for (int i = 0 ; i < client.rubbos.getNbOfClients() ; i++) { if (rand.nextInt(100) < client.rubbos.getPercentageOfAuthors()) sessions[i] = new UserSession("AuthorSession"+i, client.urlGen, client.rubbos, stats, true); else sessions[i] = new UserSession("UserSession"+i, client.urlGen, client.rubbos, stats, false); sessions[i].start(); } // Start up-ramp System.out.println("<br><A NAME=\"up\"></A>"); System.out.println("<h3>ClientEmulator: Switching to ** UP RAMP **</h3><br><p>"); client.setSlowDownFactor(client.rubbos.getUpRampSlowdown()); upRampDate = new GregorianCalendar(); try { Thread.currentThread().sleep(client.rubbos.getUpRampTime()); } catch (java.lang.InterruptedException ie) { System.err.println("ClientEmulator has been interrupted."); } upRampStats.merge(stats); stats.reset(); // Note that as this is not atomic we may lose some stats here ... // Start runtime session System.out.println("<br><A NAME=\"run\"></A>"); System.out.println("<h3>ClientEmulator: Switching to ** RUNTIME SESSION **</h3><br><p>"); client.setSlowDownFactor(1); runSessionDate = new GregorianCalendar(); try { Thread.currentThread().sleep(client.rubbos.getSessionTime()); } catch (java.lang.InterruptedException ie) { System.err.println("ClientEmulator has been interrupted."); } runSessionStats.merge(stats); stats.reset(); // Note that as this is not atomic we may lose some stats here ... // Start down-ramp System.out.println("<br><A NAME=\"down\"></A>"); System.out.println("<h3>ClientEmulator: Switching to ** DOWN RAMP **</h3><br><p>"); client.setSlowDownFactor(client.rubbos.getDownRampSlowdown()); downRampDate = new GregorianCalendar(); try { Thread.currentThread().sleep(client.rubbos.getDownRampTime()); } catch (java.lang.InterruptedException ie) { System.err.println("ClientEmulator has been interrupted."); } downRampStats.merge(stats); endDownRampDate = new GregorianCalendar(); // Wait for completion client.setEndOfSimulation(); System.out.println("ClientEmulator: Shutting down threads ...<br>"); for (int i = 0 ; i < client.rubbos.getNbOfClients() ; i++) { try { sessions[i].join(2000); } catch (java.lang.InterruptedException ie) { System.err.println("ClientEmulator: Thread "+i+" has been interrupted."); } } System.out.println("Done\n"); endDate = new GregorianCalendar(); allStats.merge(stats); allStats.merge(runSessionStats); allStats.merge(upRampStats); System.out.println("<p><hr><p>"); // ############################################# // ### EXPERIMENT IS OVER, COLLECT THE STATS ### // ############################################# // All clients completed, here is the performance report ! // but first redirect the output try { PrintStream outputStream; if (isMainClient) outputStream = new PrintStream(new FileOutputStream(reportDir+"perf.html")); else outputStream = new PrintStream(new FileOutputStream(args[1])); System.setOut(outputStream); System.setErr(outputStream); } catch (Exception e) { System.out.println("Output redirection failed, displaying results on standard output ("+e.getMessage()+")"); } System.out.println("<center><h2>*** Performance Report ***</h2></center><br>"); System.out.println("<A HREF=\"perf.html\">Overall performance report</A><br>"); System.out.println("<A HREF=\"stat_client0.html\">Main client (localhost) statistics</A><br>"); for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) System.out.println("<A HREF=\"stat_client"+(i+1)+".html\">client1 ("+client.rubbos.getRemoteClients().get(i)+") statistics</A><br>"); System.out.println("<p><br>&nbsp&nbsp&nbsp<A HREF=\"perf.html#node\">Node information</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#time\">Test timing information</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#up_stat\">Up ramp statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#run_stat\">Runtime session statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#down_stat\">Down ramp statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#all_stat\">Overall statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#cpu_graph\">CPU usage graphs</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#procs_graph\">Processes usage graphs</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#mem_graph\">Memory usage graph</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#disk_graph\">Disk usage graphs</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#net_graph\">Network usage graphs</A><br>"); if (isMainClient) { // Get information about each node System.out.println("<br><A NAME=\"node\"></A><h3>Node Information</h3><br>"); try { File dir = new File("."); String nodeInfoProgram = "/bin/echo \"Host : \"`/bin/hostname` ; " + "/bin/echo \"Kernel: \"`/bin/cat /proc/version` ; " + "/bin/grep net /proc/pci ; " + "/bin/grep processor /proc/cpuinfo ; " + "/bin/grep vendor_id /proc/cpuinfo ; " + "/bin/grep model /proc/cpuinfo ; " + "/bin/grep MHz /proc/cpuinfo ; " + "/bin/grep cache /proc/cpuinfo ; " + "/bin/grep MemTotal /proc/meminfo ; " + "/bin/grep SwapTotal /proc/meminfo "; // Web server System.out.println("<B>Web server</B><br>"); String[] cmdWeb = new String[4]; cmdWeb[0] = client.rubbos.getMonitoringRsh(); cmdWeb[1] = "-x"; cmdWeb[2] = client.rubbos.getWebServerName(); cmdWeb[3] = nodeInfoProgram; Process p = Runtime.getRuntime().exec(cmdWeb); BufferedReader read = new BufferedReader(new InputStreamReader(p.getInputStream())); String msg; while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); // CJDBC Server if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { System.out.println("<br><B>CJDBC server</B><br>"); cmdWeb[0] = client.rubbos.getMonitoringRsh(); cmdWeb[1] = "-x"; cmdWeb[2] = client.rubbos.getCJDBCServerName(); cmdWeb[3] = nodeInfoProgram; p = Runtime.getRuntime().exec(cmdWeb); read = new BufferedReader(new InputStreamReader(p.getInputStream())); while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); } // Database server System.out.println("<br><B>Database server</B><br>"); String[] cmdDB = new String[4]; cmdDB[0] = client.rubbos.getMonitoringRsh(); cmdDB[1] = "-x"; cmdDB[2] = client.rubbos.getDBServerName(); cmdDB[3] =nodeInfoProgram; p = Runtime.getRuntime().exec(cmdDB); read = new BufferedReader(new InputStreamReader(p.getInputStream())); while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); // Client System.out.println("<br><B>Local client</B><br>"); String[] cmdClient = new String[4]; cmdClient[0] = client.rubbos.getMonitoringRsh(); cmdClient[1] = "-x"; cmdClient[2] = "localhost"; cmdClient[3] = nodeInfoProgram; p = Runtime.getRuntime().exec(cmdClient); read = new BufferedReader(new InputStreamReader(p.getInputStream())); while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); // Remote Clients for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { System.out.println("<br><B>Remote client "+i+"</B><br>"); String[] rcmdClient = new String[4]; rcmdClient[0] = client.rubbos.getMonitoringRsh(); rcmdClient[1] = "-x"; rcmdClient[2] = (String)client.rubbos.getRemoteClients().get(i); rcmdClient[3] = nodeInfoProgram; p = Runtime.getRuntime().exec(rcmdClient); read = new BufferedReader(new InputStreamReader(p.getInputStream())); while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); } PrintStream outputStream = new PrintStream(new FileOutputStream(reportDir+"stat_client0.html")); System.setOut(outputStream); System.setErr(outputStream); System.out.println("<center><h2>*** Performance Report ***</h2></center><br>"); System.out.println("<A HREF=\"perf.html\">Overall performance report</A><br>"); System.out.println("<A HREF=\"stat_client0.html\">Main client (localhost) statistics</A><br>"); for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) System.out.println("<A HREF=\"stat_client"+(i+1)+".html\">client1 ("+client.rubbos.getRemoteClients().get(i)+") statistics</A><br>"); System.out.println("<p><br>&nbsp&nbsp&nbsp<A HREF=\"perf.html#node\">Node information</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#time\">Test timing information</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#up_stat\">Up ramp statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#run_stat\">Runtime session statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#down_stat\">Down ramp statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#all_stat\">Overall statistics</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#cpu_graph\">CPU usage graphs</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#procs_graph\">Processes usage graphs</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#mem_graph\">Memory usage graph</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#disk_graph\">Disk usage graphs</A><br>"); System.out.println("&nbsp&nbsp&nbsp<A HREF=\"#net_graph\">Network usage graphs</A><br>"); } catch (Exception ioe) { System.out.println("An error occured while getting node information ("+ioe.getMessage()+")"); } } // Test timing information System.out.println("<br><p><A NAME=\"time\"></A><h3>Test timing information</h3><p>"); System.out.println("<TABLE BORDER=1>"); System.out.println("<TR><TD><B>Test start</B><TD>"+TimeManagement.dateToString(startDate)); System.out.println("<TR><TD><B>Up ramp start</B><TD>"+TimeManagement.dateToString(upRampDate)); System.out.println("<TR><TD><B>Runtime session start</B><TD>"+TimeManagement.dateToString(runSessionDate)); System.out.println("<TR><TD><B>Down ramp start</B><TD>"+TimeManagement.dateToString(downRampDate)); System.out.println("<TR><TD><B>Test end</B><TD>"+TimeManagement.dateToString(endDate)); System.out.println("<TR><TD><B>Up ramp length</B><TD>"+TimeManagement.diffTime(upRampDate, runSessionDate)+ " (requested "+client.rubbos.getUpRampTime()+" ms)"); System.out.println("<TR><TD><B>Runtime session length</B><TD>"+TimeManagement.diffTime(runSessionDate, downRampDate)+ " (requested "+client.rubbos.getSessionTime()+" ms)"); System.out.println("<TR><TD><B>Down ramp length</B><TD>"+TimeManagement.diffTime(downRampDate, endDownRampDate)+ " (requested "+client.rubbos.getDownRampTime()+" ms)"); System.out.println("<TR><TD><B>Total test length</B><TD>"+TimeManagement.diffTime(startDate, endDate)); System.out.println("</TABLE><p>"); // Stats for each ramp System.out.println("<br><A NAME=\"up_stat\"></A>"); upRampStats.display_stats("Up ramp", TimeManagement.diffTimeInMs(upRampDate, runSessionDate), false); System.out.println("<br><A NAME=\"run_stat\"></A>"); runSessionStats.display_stats("Runtime session", TimeManagement.diffTimeInMs(runSessionDate, downRampDate), false); System.out.println("<br><A NAME=\"down_stat\"></A>"); downRampStats.display_stats("Down ramp", TimeManagement.diffTimeInMs(downRampDate, endDownRampDate), false); System.out.println("<br><A NAME=\"all_stat\"></A>"); allStats.display_stats("Overall", TimeManagement.diffTimeInMs(upRampDate, endDownRampDate), false); if (isMainClient) { // Wait for end of all monitors and remote clients try { for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { // The waitFor method only does not work: it hangs forever if (remoteClientMonitor[i].exitValue() != 0) { remoteClientMonitor[i].waitFor(); } if (remoteClient[i].exitValue() != 0) { remoteClient[i].waitFor(); } } webServerMonitor.waitFor(); dbServerMonitor.waitFor(); cjdbcServerMonitor.waitFor(); } catch (Exception e) { System.out.println("An error occured while waiting for remote processes termination ("+e.getMessage()+")"); } // scp the sar log files over at this point try { String [] scpCmd = new String[3]; Process p; scpCmd[0] = client.rubbos.getMonitoringScp(); scpCmd[2] = reportDir+"/"; for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { scpCmd[1] = (String)client.rubbos.getRemoteClients().get(i) + ":"+tmpDir+"/client"+(i+1); p = Runtime.getRuntime().exec(scpCmd); p.waitFor(); } scpCmd[1] = client.rubbos.getWebServerName() + ":"+tmpDir+"/web_server"; p = Runtime.getRuntime().exec(scpCmd); p.waitFor(); if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { scpCmd[1] = client.rubbos.getCJDBCServerName() + ":"+tmpDir+"/cjdbc_server"; p = Runtime.getRuntime().exec(scpCmd); p.waitFor(); } scpCmd[1] = client.rubbos.getDBServerName() + ":"+tmpDir+"/db_server"; p = Runtime.getRuntime().exec(scpCmd); p.waitFor(); // Fetch html files created by the remote clients for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { scpCmd[1] = (String)client.rubbos.getRemoteClients().get(i) + ":"+tmpDir+"trace_client"+(i+1)+".html"; p = Runtime.getRuntime().exec(scpCmd); p.waitFor(); scpCmd[1] = (String)client.rubbos.getRemoteClients().get(i) + ":"+tmpDir+"stat_client"+(i+1)+".html"; p = Runtime.getRuntime().exec(scpCmd); p.waitFor(); } } catch (Exception e) { System.out.println("An error occured while scping the files over ("+e.getMessage()+")"); } // Time to go and convert the binary files into something that generate_graphs.sh can understand try { String cmd; Process p; // Web server cmd = "mv "+reportDir+"/"+"web_server "+reportDir+"/"+"web_server.bin"; p = Runtime.getRuntime().exec(cmd); p.waitFor(); // CJDBC server if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { cmd = "mv "+reportDir+"/"+"cjdbc_server "+reportDir+"/"+"cjdbc_server.bin"; p = Runtime.getRuntime().exec(cmd); p.waitFor(); } // Database Server cmd = "mv "+reportDir+"/"+"db_server "+reportDir+"/"+"db_server.bin"; p = Runtime.getRuntime().exec(cmd); p.waitFor(); // Localhost cmd = "mv "+reportDir+"/"+"client0 "+reportDir+"/"+"client0.bin"; p = Runtime.getRuntime().exec(cmd); p.waitFor(); // Remote clients for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { cmd = "mv "+reportDir+"/"+"client"+(i+1)+" "+reportDir+"/"+"client"+(i+1)+".bin"; p = Runtime.getRuntime().exec(cmd); p.waitFor(); } // All files rename at this point in time. Time to go forth and convert them into ascii String[] convCmd = new String[6]; int fullTimeInSec = (client.rubbos.getUpRampTime()+client.rubbos.getSessionTime()+client.rubbos.getDownRampTime())/1000 + 5; // Give 5 seconds extra for init String common = "'LANG=en_GB.UTF-8 "+client.rubbos.getMonitoringProgram()+" "+client.rubbos.getMonitoringOptions()+" "+ client.rubbos.getMonitoringSampling()+" "+fullTimeInSec+" -f "+reportDir; convCmd[0] = client.rubbos.getMonitoringRsh(); convCmd[1] = "-x"; convCmd[2] = "localhost"; convCmd[3] = "/bin/bash"; convCmd[4] = "-c"; convCmd[5] = common+"web_server.bin > "+reportDir+""+"web_server'"; System.out.println("&nbsp &nbsp Command is: "+convCmd[0]+" "+convCmd[1]+" "+convCmd[2]+" "+convCmd[3]+" "+convCmd[4]+" "+convCmd[5]+"<br>\n"); p = Runtime.getRuntime().exec(convCmd); if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { convCmd[5] = common+"cjdbc_server.bin > "+reportDir+""+"cjdbc_server'"; System.out.println("&nbsp &nbsp Command is: "+convCmd[0]+" "+convCmd[1]+" "+convCmd[2]+" "+convCmd[3]+" "+convCmd[4]+" "+convCmd[5]+"<br>\n"); p = Runtime.getRuntime().exec(convCmd); p.waitFor(); } convCmd[5] = common+"db_server.bin > "+reportDir+""+"db_server'"; System.out.println("&nbsp &nbsp Command is: "+convCmd[0]+" "+convCmd[1]+" "+convCmd[2]+" "+convCmd[3]+" "+convCmd[4]+" "+convCmd[5]+"<br>\n"); p = Runtime.getRuntime().exec(convCmd); p.waitFor(); convCmd[5] = common+"client0.bin > "+reportDir+""+"client0'"; System.out.println("&nbsp &nbsp Command is: "+convCmd[0]+" "+convCmd[1]+" "+convCmd[2]+" "+convCmd[3]+" "+convCmd[4]+" "+convCmd[5]+"<br>\n"); p = Runtime.getRuntime().exec(convCmd); p.waitFor(); for (int i = 0 ; i < client.rubbos.getRemoteClients().size() ; i++) { convCmd[5] =common+"client"+(i+1)+".bin > "+reportDir+""+"client"+(i+1)+"'"; System.out.println("&nbsp &nbsp Command is: "+convCmd[0]+" "+convCmd[1]+" "+convCmd[2]+" "+convCmd[3]+" "+convCmd[4]+" "+convCmd[5]+"<br>\n"); p = Runtime.getRuntime().exec(convCmd); p.waitFor(); } } catch (Exception e) { System.out.println("An error occured while convering log files ("+e.getMessage()+")"); } // Generate the graphics try { String[] cmd = new String[4]; cmd[0] = "bench/generate_graphs.sh"; cmd[1] = reportDir; cmd[2] = client.rubbos.getGnuPlotTerminal(); cmd[3] = Integer.toString(client.rubbos.getRemoteClients().size()+1); Process graph = Runtime.getRuntime().exec(cmd); // Need to read input so program does not stall. BufferedReader read = new BufferedReader(new InputStreamReader(graph.getInputStream())); String msg; while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); graph.waitFor(); } catch (Exception e) { System.out.println("An error occured while generating the graphs ("+e.getMessage()+")"); } } boolean cjdbcFlag = false; if(client.rubbos.getCJDBCServerName() != null && !client.rubbos.getCJDBCServerName().equals("")) { cjdbcFlag = true; } System.out.println("<br><A NAME=\"cpu_graph\"></A>"); System.out.println("<br><h3>CPU Usage graphs</h3><p>"); System.out.println("<TABLE>"); System.out.println("<TR><TD><IMG SRC=\"cpu_busy."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_cpu_busy."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_cpu_busy."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"cpu_idle."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_cpu_idle."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_cpu_idle."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"cpu_user_kernel."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_cpu_user_kernel."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_cpu_user_kernel."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("</TABLE><p>"); System.out.println("<br><A NAME=\"procs_graph\"></A>"); System.out.println("<TABLE>"); System.out.println("<br><h3>Processes Usage graphs</h3><p>"); System.out.println("<TR><TD><IMG SRC=\"procs."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_procs."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_procs."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"ctxtsw."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_ctxtsw."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_ctxtsw."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("</TABLE><p>"); System.out.println("<br><A NAME=\"mem_graph\"></A>"); System.out.println("<br><h3>Memory Usage graph</h3><p>"); System.out.println("<TABLE>"); System.out.println("<TR><TD><IMG SRC=\"mem_usage."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_mem_usage."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_mem_usage."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"mem_cache."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_mem_cache."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_mem_cache."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("</TABLE><p>"); System.out.println("<br><A NAME=\"disk_graph\"></A>"); System.out.println("<br><h3>Disk Usage graphs</h3><p>"); System.out.println("<TABLE>"); System.out.println("<TR><TD><IMG SRC=\"disk_rw_req."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_disk_rw_req."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_disk_rw_req."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"disk_tps."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_disk_tps."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_disk_tps."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("</TABLE><p>"); System.out.println("<br><A NAME=\"net_graph\"></A>"); System.out.println("<br><h3>Network Usage graphs</h3><p>"); System.out.println("<TABLE>"); System.out.println("<TR><TD><IMG SRC=\"net_rt_byt."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_net_rt_byt."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_net_rt_byt."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"net_rt_pack."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_net_rt_pack."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_net_rt_pack."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("<TR><TD><IMG SRC=\"socks."+client.rubbos.getGnuPlotTerminal()+"\"><TD><IMG SRC=\"client_socks."+client.rubbos.getGnuPlotTerminal()+"\">"); if(cjdbcFlag) { System.out.println("<TR><TD><IMG SRC=\"cjdbc_server_socks."+client.rubbos.getGnuPlotTerminal()+"\">"); } System.out.println("</TABLE><p>"); if (isMainClient) { // Compute the global stats try { String[] cmd = new String[6]; cmd[0] = "bench/compute_global_stats.awk"; cmd[1] = "-v"; cmd[2] = "path="+reportDir; cmd[3] = "-v"; cmd[4] = "nbscript="+Integer.toString(client.rubbos.getRemoteClients().size()+1); cmd[5] = reportDir+"stat_client0.html"; Process computeStats = Runtime.getRuntime().exec(cmd); // Need to read input so program does not stall. BufferedReader read = new BufferedReader(new InputStreamReader(computeStats.getInputStream())); String msg; while ((msg = read.readLine()) != null) System.out.println(msg+"<br>"); read.close(); computeStats.waitFor(); } catch (Exception e) { System.out.println("An error occured while generating the graphs ("+e.getMessage()+")"); } } Runtime.getRuntime().exit(0); }
6590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6590/905ad5997fded1ea10876b68bd4010a0def57158/ClientEmulator.java/buggy/Client/edu/rice/rubbos/client/ClientEmulator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 288, 565, 28033, 12572, 31, 565, 28033, 13202, 31, 565, 28033, 731, 54, 931, 1626, 31, 565, 28033, 1086, 2157, 1626, 31, 565, 28033, 2588, 54, 931, 1626, 31, 565, 28033, 679, 4164, 54, 931, 1626, 31, 565, 4389, 6647, 3311, 2081, 7187, 273, 446, 31, 565, 4389, 6647, 18896, 9137, 2081, 7187, 273, 446, 31, 565, 4389, 6647, 1319, 2081, 7187, 273, 446, 31, 565, 4389, 6647, 1004, 7187, 273, 446, 31, 565, 4389, 8526, 540, 2632, 1227, 7187, 273, 446, 31, 565, 4389, 8526, 540, 2632, 1227, 273, 446, 31, 565, 514, 5411, 2605, 1621, 273, 1408, 31, 565, 514, 5411, 22521, 273, 2206, 5645, 4898, 31, 565, 1250, 6647, 353, 6376, 1227, 273, 833, 18, 2469, 422, 374, 31, 368, 2073, 309, 732, 854, 326, 2774, 1004, 565, 309, 261, 291, 6376, 1227, 13, 565, 288, 4202, 368, 3603, 635, 4979, 279, 2605, 1867, 471, 3136, 310, 876, 358, 392, 770, 18, 2620, 585, 1377, 2332, 18, 659, 18, 8222, 2932, 54, 3457, 13809, 55, 1004, 801, 11775, 300, 261, 39, 13, 534, 1812, 1351, 6760, 560, 19, 706, 2259, 37, 4044, 21, 64, 82, 8863, 1377, 2605, 1621, 273, 315, 22144, 4898, 15, 950, 10998, 18, 2972, 1626, 5808, 1435, 9078, 4898, 31, 1377, 2605, 1621, 273, 2605, 1621, 18, 2079, 2668, 2265, 4622, 8284, 1377, 775, 1377, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 11092, 2605, 1867, 13773, 6006, 1621, 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, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 288, 565, 28033, 12572, 31, 565, 28033, 13202, 31, 565, 28033, 731, 54, 931, 1626, 31, 565, 28033, 1086, 2157, 1626, 31, 565, 28033, 2588, 54, 931, 1626, 31, 565, 28033, 679, 4164, 54, 931, 1626, 31, 565, 4389, 6647, 3311, 2081, 7187, 273, 446, 31, 565, 4389, 6647, 18896, 9137, 2081, 7187, 273, 446, 31, 565, 4389, 6647, 1319, 2081, 7187, 273, 446, 31, 565, 4389, 6647, 1004, 7187, 273, 446, 31, 565, 4389, 8526, 540, 2632, 1227, 7187, 273, 446, 31, 565, 4389, 8526, 540, 2632, 1227, 273, 446, 31, 565, 514, 5411, 2605, 1621, 273, 1408, 31, 565, 514, 5411, 22521, 273, 2206, 5645, 4898, 2 ]
public AttributeDescr salience() throws RecognitionException { AttributeDescr d; Token loc=null; Token i=null; d = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:474:17: (loc= 'salience' opt_eol i= INT ( ';' )? opt_eol ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:474:17: loc= 'salience' opt_eol i= INT ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,35,FOLLOW_35_in_salience953); following.push(FOLLOW_opt_eol_in_salience955); opt_eol(); following.pop(); i=(Token)input.LT(1); match(input,INT,FOLLOW_INT_in_salience959); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:474:46: ( ';' )? int alt32=2; int LA32_0 = input.LA(1); if ( LA32_0==15 ) { alt32=1; } else if ( LA32_0==EOL||LA32_0==24||LA32_0==29||LA32_0==31||LA32_0==33||(LA32_0>=35 && LA32_0<=40) ) { alt32=2; } else { NoViableAltException nvae = new NoViableAltException("474:46: ( \';\' )?", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:474:46: ';' { match(input,15,FOLLOW_15_in_salience961); } break; } following.push(FOLLOW_opt_eol_in_salience964); opt_eol(); following.pop(); d = new AttributeDescr( "salience", i.getText() ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cb210a30853642e270a3bba6ce570409f6046852/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 12814, 6254, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 277, 33, 2011, 31, 540, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5608, 30, 4033, 30, 261, 1829, 33, 296, 21982, 6254, 11, 2153, 67, 30951, 277, 33, 6137, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5608, 30, 4033, 30, 1515, 33, 296, 21982, 6254, 11, 2153, 67, 30951, 277, 33, 6137, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 1515, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 4763, 16, 29890, 67, 4763, 67, 267, 67, 21982, 6254, 29, 8643, 1769, 2398, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 21982, 6254, 29, 2539, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 277, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 3217, 16, 29890, 67, 3217, 67, 267, 67, 21982, 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, 3601, 16198, 12814, 6254, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 277, 33, 2011, 31, 540, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5608, 30, 4033, 30, 261, 1829, 33, 296, 21982, 6254, 11, 2153, 67, 30951, 277, 33, 6137, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 2 ]
if (configElements[j].getName().equals(IWorkbenchConstants.TAG_CLASS)) {
if (configElements[j].getName().equals(IWorkbenchConstants.TAG_STARTUP)) {
private void startPlugins() { Runnable work = new Runnable() { IPreferenceStore store = getPreferenceStore(); final String pref = store.getString(IPreferenceConstants.PLUGINS_NOT_ACTIVATED_ON_STARTUP); public void run() { IPluginRegistry registry = Platform.getPluginRegistry(); IExtensionPoint point = registry.getExtensionPoint(PlatformUI.PLUGIN_ID, IWorkbenchConstants.PL_STARTUP); IExtension[] extensions = point.getExtensions(); for (int i = 0; i < extensions.length; i++) { IExtension extension = extensions[i]; // Look for the class attribute in the startup element first IConfigurationElement[] configElements = extension.getConfigurationElements(); // There should only be one configuration element and it should // be named "startup". IConfigurationElement startupElement = null; for (int j = 0; j < configElements.length && startupElement == null; j++) { if (configElements[j].getName().equals(IWorkbenchConstants.TAG_CLASS)) { startupElement = configElements[j]; } } final IConfigurationElement startElement = startupElement; final String startupName; if (startElement != null) { // This will cause startupName to be null if // the class attribute does not exist. startupName = startElement.getAttribute(IWorkbenchConstants.TAG_CLASS); } else { startupName = null; } // If the startup element doesn't specify a class, use the plugin class final IPluginDescriptor pluginDescriptor = extension.getDeclaringPluginDescriptor(); SafeRunnable code = new SafeRunnable() { public void run() throws Exception { String id = pluginDescriptor.getUniqueIdentifier() + IPreferenceConstants.SEPARATOR; if (pref.indexOf(id) < 0) { IStartup startup = null; if (startupName == null) { Plugin plugin = pluginDescriptor.getPlugin(); startup = (IStartup) plugin; } else { startup = (IStartup) WorkbenchPlugin.createExtension(startElement, IWorkbenchConstants.TAG_CLASS); } startup.earlyStartup(); } } public void handleException(Throwable exception) { WorkbenchPlugin.log("Unhandled Exception", new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, 0, "Unhandled Exception", exception)); //$NON-NLS-1$ //$NON-NLS-2$ } }; Platform.run(code); } } }; Thread thread = new Thread(work); thread.start(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/880c126fee70990e8c9173bd95bffba263dc1798/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 787, 9461, 1435, 288, 202, 202, 20013, 1440, 273, 394, 10254, 1435, 288, 1082, 202, 45, 9624, 2257, 1707, 273, 336, 9624, 2257, 5621, 1082, 202, 6385, 514, 11307, 273, 1707, 18, 588, 780, 12, 45, 9624, 2918, 18, 19415, 55, 67, 4400, 67, 22271, 6344, 67, 673, 67, 7570, 3079, 1769, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 3773, 4243, 4023, 273, 11810, 18, 588, 3773, 4243, 5621, 9506, 202, 45, 3625, 2148, 1634, 273, 4023, 18, 588, 3625, 2148, 12, 8201, 5370, 18, 19415, 67, 734, 16, 467, 2421, 22144, 2918, 18, 6253, 67, 7570, 3079, 1769, 9506, 202, 45, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 277, 27245, 288, 6862, 202, 45, 3625, 2710, 273, 4418, 63, 77, 15533, 6862, 202, 759, 10176, 364, 326, 667, 1566, 316, 326, 11850, 930, 1122, 6862, 202, 45, 1750, 1046, 8526, 642, 3471, 273, 2710, 18, 588, 1750, 3471, 5621, 6862, 202, 759, 6149, 1410, 1338, 506, 1245, 1664, 930, 471, 518, 1410, 6862, 202, 759, 506, 4141, 315, 23939, 9654, 6862, 202, 45, 1750, 1046, 11850, 1046, 273, 446, 31, 6862, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 642, 3471, 18, 2469, 597, 11850, 1046, 422, 446, 31, 525, 27245, 288, 25083, 202, 430, 261, 1425, 3471, 63, 78, 8009, 17994, 7675, 14963, 12, 45, 2421, 22144, 2918, 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, 1152, 918, 787, 9461, 1435, 288, 202, 202, 20013, 1440, 273, 394, 10254, 1435, 288, 1082, 202, 45, 9624, 2257, 1707, 273, 336, 9624, 2257, 5621, 1082, 202, 6385, 514, 11307, 273, 1707, 18, 588, 780, 12, 45, 9624, 2918, 18, 19415, 55, 67, 4400, 67, 22271, 6344, 67, 673, 67, 7570, 3079, 1769, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 3773, 4243, 4023, 273, 11810, 18, 588, 3773, 4243, 5621, 9506, 202, 45, 3625, 2148, 1634, 273, 4023, 18, 588, 3625, 2148, 12, 8201, 5370, 18, 19415, 67, 734, 16, 467, 2421, 22144, 2918, 18, 6253, 67, 7570, 3079, 1769, 9506, 202, 45, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 9506, 2 ]
public void setGeneratingSource(boolean generatingSource) {
public final void setGeneratingSource(boolean generatingSource) { if (sealed) onSealedMutation();
public void setGeneratingSource(boolean generatingSource) { this.generatingSource = generatingSource; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/5586a284813f024a7d52061d1ea71ae99876066e/Context.java/buggy/js/rhino/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 21755, 1830, 12, 6494, 12516, 1830, 13, 288, 309, 261, 307, 18931, 13, 603, 1761, 18931, 20028, 5621, 3639, 333, 18, 3441, 1776, 1830, 273, 12516, 1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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 21755, 1830, 12, 6494, 12516, 1830, 13, 288, 309, 261, 307, 18931, 13, 603, 1761, 18931, 20028, 5621, 3639, 333, 18, 3441, 1776, 1830, 273, 12516, 1830, 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 ]
int count = 0; int i = component == null ? 0 : component.length; while (--i >= 0) if (component[i] instanceof Accessible) count++; return count;
synchronized (getTreeLock ()) { int count = 0; int i = component == null ? 0 : component.length; while (--i >= 0) if (component[i] instanceof Accessible) count++; return count; }
public int getAccessibleChildrenCount() { int count = 0; int i = component == null ? 0 : component.length; while (--i >= 0) if (component[i] instanceof Accessible) count++; return count; }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/47b8a95e33f15f8f7f754a990349584fe4134b05/Container.java/clean/libjava/java/awt/Container.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10451, 4212, 1380, 1435, 565, 288, 1377, 509, 1056, 273, 374, 31, 1377, 509, 277, 273, 1794, 422, 446, 692, 374, 294, 1794, 18, 2469, 31, 1377, 1323, 261, 413, 77, 1545, 374, 13, 3639, 309, 261, 4652, 63, 77, 65, 1276, 5016, 1523, 13, 1850, 1056, 9904, 31, 1377, 327, 1056, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10451, 4212, 1380, 1435, 565, 288, 1377, 509, 1056, 273, 374, 31, 1377, 509, 277, 273, 1794, 422, 446, 692, 374, 294, 1794, 18, 2469, 31, 1377, 1323, 261, 413, 77, 1545, 374, 13, 3639, 309, 261, 4652, 63, 77, 65, 1276, 5016, 1523, 13, 1850, 1056, 9904, 31, 1377, 327, 1056, 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 ]
} else if (nMTF < 600) {
} else if ( nMTF < 600 ) {
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(); } }
55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/CBZip2OutputStream.java/buggy/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/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, 288, 5411, 364, 261, 90, 273, 374, 31, 331, 411, 4190, 1225, 31, 331, 27245, 288, 7734, 562, 63, 88, 6362, 90, 65, 273, 261, 3001, 13, 22428, 67, 2871, 4005, 31, 5411, 289, 3639, 289, 3639, 1748, 3416, 831, 3661, 4906, 14848, 4606, 358, 999, 1195, 3639, 309, 261, 82, 6152, 42, 1648, 374, 13, 288, 5411, 3933, 5621, 3639, 289, 3639, 309, 261, 82, 6152, 42, 411, 4044, 13, 288, 5411, 290, 3621, 273, 576, 31, 3639, 289, 469, 309, 261, 290, 6152, 42, 411, 14707, 262, 288, 5411, 290, 3621, 273, 890, 31, 3639, 289, 469, 309, 261, 82, 6152, 42, 411, 2593, 713, 13, 288, 5411, 290, 3621, 273, 1059, 31, 3639, 289, 469, 309, 261, 82, 6152, 42, 411, 4248, 713, 13, 288, 5411, 290, 3621, 273, 1381, 31, 3639, 289, 469, 288, 5411, 290, 3621, 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, 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, 288, 5411, 364, 261, 90, 273, 374, 31, 331, 411, 4190, 1225, 31, 331, 2 ]
_t = __t2370;
_t = __t2374;
public final void selectstatea(AST _t) throws RecognitionException { AST selectstatea_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2340 = _t; AST tmp2400_AST_in = (AST)_t; match(_t,SELECT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST tmp2401_AST_in = (AST)_t; match(_t,ALL); _t = _t.getNextSibling(); break; } case DISTINCT: { AST tmp2402_AST_in = (AST)_t; match(_t,DISTINCT); _t = _t.getNextSibling(); break; } case STAR: case Sql_select_what: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STAR: { AST tmp2403_AST_in = (AST)_t; match(_t,STAR); _t = _t.getNextSibling(); break; } case Sql_select_what: { AST __t2343 = _t; AST tmp2404_AST_in = (AST)_t; match(_t,Sql_select_what); _t = _t.getFirstChild(); { boolean synPredMatched2346 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==LEFTPAREN))) { AST __t2346 = _t; synPredMatched2346 = true; inputState.guessing++; try { { AST tmp2405_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched2346 = false; } _t = __t2346;inputState.guessing--; } if ( synPredMatched2346 ) { AST tmp2406_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2407_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else if ((_tokenSet_14.member(_t.getType()))) { sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { throw new NoViableAltException(_t); } } { _loop2352: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2408_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop2352; } } while (true); } _t = __t2343; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INTO: { AST __t2354 = _t; AST tmp2409_AST_in = (AST)_t; match(_t,INTO); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INDICATOR: case Field_ref: { fetch_indicator(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } { _loop2358: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2410_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INDICATOR: case Field_ref: { fetch_indicator(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop2358; } } while (true); } _t = __t2354; _t = _t.getNextSibling(); break; } case FROM: { break; } default: { throw new NoViableAltException(_t); } } } AST __t2359 = _t; AST tmp2411_AST_in = (AST)_t; match(_t,FROM); _t = _t.getFirstChild(); select_from_spec(_t); _t = _retTree; { _loop2361: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2412_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); select_from_spec(_t); _t = _retTree; } else { break _loop2361; } } while (true); } _t = __t2359; _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case GROUP: { AST __t2363 = _t; AST tmp2413_AST_in = (AST)_t; match(_t,GROUP); _t = _t.getFirstChild(); AST tmp2414_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; { _loop2365: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2415_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); expression(_t); _t = _retTree; } else { break _loop2365; } } while (true); } _t = __t2363; _t = _t.getNextSibling(); break; } case 3: case BY: case HAVING: case ORDER: case UNION: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HAVING: { AST __t2367 = _t; AST tmp2416_AST_in = (AST)_t; match(_t,HAVING); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; _t = __t2367; _t = _t.getNextSibling(); break; } case 3: case BY: case ORDER: case UNION: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ORDER: { AST __t2369 = _t; AST tmp2417_AST_in = (AST)_t; match(_t,ORDER); _t = _t.getFirstChild(); AST tmp2418_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); select_order_expr(_t); _t = _retTree; _t = __t2369; _t = _t.getNextSibling(); break; } case BY: { AST __t2370 = _t; AST tmp2419_AST_in = (AST)_t; match(_t,BY); _t = _t.getFirstChild(); select_order_expr(_t); _t = _retTree; _t = __t2370; _t = _t.getNextSibling(); break; } case 3: case UNION: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; if (((_t.getType()==3||_t.getType()==UNION||_t.getType()==WITH))&&(_t != null)) { { boolean synPredMatched2375 = false; if (_t==null) _t=ASTNULL; if ((((_t.getType()==WITH))&&(_t != null))) { AST __t2375 = _t; synPredMatched2375 = true; inputState.guessing++; try { { AST __t2374 = _t; AST tmp2420_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); AST tmp2421_AST_in = (AST)_t; match(_t,CHECK); _t = _t.getNextSibling(); AST tmp2422_AST_in = (AST)_t; match(_t,OPTION); _t = _t.getNextSibling(); _t = __t2374; _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched2375 = false; } _t = __t2375;inputState.guessing--; } if ( synPredMatched2375 ) { AST __t2376 = _t; AST tmp2423_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); AST tmp2424_AST_in = (AST)_t; match(_t,CHECK); _t = _t.getNextSibling(); AST tmp2425_AST_in = (AST)_t; match(_t,OPTION); _t = _t.getNextSibling(); _t = __t2376; _t = _t.getNextSibling(); } else if ((_t.getType()==3||_t.getType()==UNION||_t.getType()==WITH)) { } else { throw new NoViableAltException(_t); } } } else if ((_t.getType()==3||_t.getType()==UNION||_t.getType()==WITH)) { } else { throw new NoViableAltException(_t); } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WITH: { framephrase(_t); _t = _retTree; break; } case 3: case UNION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNION: { AST __t2379 = _t; AST tmp2426_AST_in = (AST)_t; match(_t,UNION); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST tmp2427_AST_in = (AST)_t; match(_t,ALL); _t = _t.getNextSibling(); break; } case SELECT: { break; } default: { throw new NoViableAltException(_t); } } } selectstatea(_t); _t = _retTree; _t = __t2379; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2340; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2027, 2019, 69, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2027, 2019, 69, 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, 4366, 7132, 273, 389, 88, 31, 202, 202, 9053, 1853, 3247, 713, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 4803, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 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, 8061, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3247, 1611, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4685, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 23286, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3247, 3103, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 2565, 17807, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 21807, 30, 202, 202, 3593, 8855, 67, 4025, 67, 23770, 30, 202, 202, 95, 1082, 202, 8820, 31, 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, 727, 918, 2027, 2019, 69, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2027, 2019, 69, 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, 4366, 7132, 273, 389, 88, 31, 202, 202, 9053, 1853, 3247, 713, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 4803, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 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, 2 ]
int spore = getFirstMatchingItem( parameters ).getItemID();
int spore = getFirstMatchingItem( parameters ).getItemId();
private void executeMushroomCommand( String parameters ) { String [] split = parameters.split( " " ); String command = split[0]; if ( command.equals( "plant" ) ) { if ( split.length < 3 ) { updateDisplay( ERROR_STATE, "Syntax: field plant square spore" ); return; } String squareString = split[1]; int square = StaticEntity.parseInt( squareString ); // Skip past command and square parameters = parameters.substring( command.length() ).trim(); parameters = parameters.substring( squareString.length() ).trim(); if ( parameters.indexOf( "mushroom" ) == -1 ) parameters = parameters.trim() + " mushroom"; int spore = getFirstMatchingItem( parameters ).getItemID(); if ( spore == -1 ) { updateDisplay( ERROR_STATE, "Unknown spore: " + parameters ); return; } MushroomPlot.plantMushroom( square, spore ); } else if ( command.equals( "pick" ) ) { if ( split.length < 2 ) { updateDisplay( ERROR_STATE, "Syntax: field pick square" ); return; } String squareString = split[1]; int square = StaticEntity.parseInt( squareString ); MushroomPlot.pickMushroom( square, true ); } else if ( command.equals( "harvest" ) ) MushroomPlot.harvestMushrooms(); String plot = MushroomPlot.getMushroomPlot( false ); if ( permitsContinue() ) { StringBuffer plotDetails = new StringBuffer(); plotDetails.append( "Current:" ); plotDetails.append( LINE_BREAK ); plotDetails.append( plot ); plotDetails.append( LINE_BREAK ); plotDetails.append( "Forecast:" ); plotDetails.append( LINE_BREAK ); plotDetails.append( MushroomPlot.getForecastedPlot( false ) ); plotDetails.append( LINE_BREAK ); printLine( plotDetails.toString() ); } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/KoLmafiaCLI.java/clean/src/net/sourceforge/kolmafia/KoLmafiaCLI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1836, 49, 1218, 13924, 2189, 12, 514, 1472, 262, 202, 95, 202, 202, 780, 5378, 1416, 273, 1472, 18, 4939, 12, 315, 315, 11272, 202, 202, 780, 1296, 273, 1416, 63, 20, 15533, 202, 202, 430, 261, 1296, 18, 14963, 12, 315, 412, 970, 6, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 1416, 18, 2469, 411, 890, 262, 1082, 202, 95, 9506, 202, 2725, 4236, 12, 5475, 67, 7998, 16, 315, 8070, 30, 652, 886, 970, 8576, 1694, 479, 6, 11272, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 780, 8576, 780, 273, 1416, 63, 21, 15533, 1082, 202, 474, 8576, 273, 10901, 1943, 18, 2670, 1702, 12, 8576, 780, 11272, 1082, 202, 759, 6611, 8854, 1296, 471, 8576, 1082, 202, 3977, 273, 1472, 18, 28023, 12, 1296, 18, 2469, 1435, 262, 18, 5290, 5621, 1082, 202, 3977, 273, 1472, 18, 28023, 12, 8576, 780, 18, 2469, 1435, 262, 18, 5290, 5621, 1082, 202, 430, 261, 1472, 18, 31806, 12, 315, 81, 1218, 13924, 6, 262, 422, 300, 21, 262, 9506, 202, 3977, 273, 1472, 18, 5290, 1435, 397, 315, 312, 1218, 13924, 14432, 1082, 202, 474, 1694, 479, 273, 7521, 9517, 1180, 12, 1472, 262, 18, 588, 1180, 734, 5621, 1082, 202, 430, 261, 1694, 479, 422, 300, 21, 262, 1082, 202, 95, 9506, 202, 2725, 4236, 12, 5475, 67, 7998, 16, 315, 4874, 1694, 479, 30, 315, 397, 1472, 11272, 9506, 202, 2463, 31, 1082, 202, 97, 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, 225, 202, 1152, 918, 1836, 49, 1218, 13924, 2189, 12, 514, 1472, 262, 202, 95, 202, 202, 780, 5378, 1416, 273, 1472, 18, 4939, 12, 315, 315, 11272, 202, 202, 780, 1296, 273, 1416, 63, 20, 15533, 202, 202, 430, 261, 1296, 18, 14963, 12, 315, 412, 970, 6, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 1416, 18, 2469, 411, 890, 262, 1082, 202, 95, 9506, 202, 2725, 4236, 12, 5475, 67, 7998, 16, 315, 8070, 30, 652, 886, 970, 8576, 1694, 479, 6, 11272, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 780, 8576, 780, 273, 1416, 63, 21, 15533, 1082, 202, 474, 8576, 273, 10901, 1943, 18, 2670, 1702, 12, 8576, 780, 11272, 1082, 2 ]
String value = "";
public int getPortForInstance(String instanceName) throws TdsException { if (m_serverInfoStrings == null) { return -1; } //NOTE: default instance is called MSSQLSERVER if (instanceName == null || instanceName.length() == 0) { instanceName = "MSSQLSERVER"; } String curInstance = null; String curPort = null; for (int index = 0; index < m_serverInfoStrings.length; index++) { if (m_serverInfoStrings[index].length() == 0) { curInstance = null; curPort = null; } else { String key = m_serverInfoStrings[index]; index++; String value = ""; if (index < m_serverInfoStrings.length) { value = m_serverInfoStrings[index]; } if (key.equals("InstanceName")) { curInstance = value; } if (key.equals("tcp")) { curPort = value; } if (curInstance != null && curPort != null && curInstance.equalsIgnoreCase(instanceName)) { try { return Integer.parseInt(curPort); } catch (NumberFormatException e) { throw new TdsException("Could not parse instance port number [" + instanceName + "]."); } } } } //didn't find it... return -1; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/d48066e24a9a4b4edf35b9545de98ba05acafd4d/MSSqlServerInfo.java/buggy/src/main/net/sourceforge/jtds/jdbc/MSSqlServerInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 11036, 1290, 1442, 12, 780, 21090, 13, 1216, 399, 2377, 503, 288, 3639, 309, 261, 81, 67, 3567, 966, 7957, 422, 446, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 3639, 368, 17857, 30, 805, 791, 353, 2566, 490, 1260, 2024, 4370, 3639, 309, 261, 1336, 461, 422, 446, 747, 21090, 18, 2469, 1435, 422, 374, 13, 288, 5411, 21090, 273, 315, 49, 1260, 2024, 4370, 14432, 3639, 289, 3639, 514, 662, 1442, 273, 446, 31, 3639, 514, 662, 2617, 273, 446, 31, 3639, 364, 261, 474, 770, 273, 374, 31, 770, 411, 312, 67, 3567, 966, 7957, 18, 2469, 31, 770, 27245, 288, 5411, 309, 261, 81, 67, 3567, 966, 7957, 63, 1615, 8009, 2469, 1435, 422, 374, 13, 288, 7734, 662, 1442, 273, 446, 31, 7734, 662, 2617, 273, 446, 31, 5411, 289, 469, 288, 7734, 514, 498, 273, 312, 67, 3567, 966, 7957, 63, 1615, 15533, 7734, 770, 9904, 31, 1171, 9079, 309, 261, 1615, 411, 312, 67, 3567, 966, 7957, 18, 2469, 13, 288, 10792, 460, 273, 312, 67, 3567, 966, 7957, 63, 1615, 15533, 7734, 289, 7734, 309, 261, 856, 18, 14963, 2932, 22520, 6, 3719, 288, 10792, 662, 1442, 273, 460, 31, 7734, 289, 7734, 309, 261, 856, 18, 14963, 2932, 14832, 6, 3719, 288, 10792, 662, 2617, 273, 460, 31, 7734, 289, 27573, 309, 261, 1397, 1442, 480, 446, 10792, 597, 662, 2617, 480, 446, 10792, 597, 662, 1442, 18, 14963, 5556, 12, 1336, 461, 3719, 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, 11036, 1290, 1442, 12, 780, 21090, 13, 1216, 399, 2377, 503, 288, 3639, 309, 261, 81, 67, 3567, 966, 7957, 422, 446, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 3639, 368, 17857, 30, 805, 791, 353, 2566, 490, 1260, 2024, 4370, 3639, 309, 261, 1336, 461, 422, 446, 747, 21090, 18, 2469, 1435, 422, 374, 13, 288, 5411, 21090, 273, 315, 49, 1260, 2024, 4370, 14432, 3639, 289, 3639, 514, 662, 1442, 273, 446, 31, 3639, 514, 662, 2617, 273, 446, 31, 3639, 364, 261, 474, 770, 273, 374, 31, 770, 411, 312, 67, 3567, 966, 7957, 18, 2469, 31, 770, 27245, 288, 5411, 309, 261, 81, 67, 3567, 966, 7957, 63, 1615, 8009, 2 ]
listViewer.setLabelProvider(new LabelProvider() { public String getText(Object element) { return ((Lodging) element).getName(); } }); listViewer.setContentProvider(new ObservableListContentProvider()); listViewer.setInput(BeansObservables.observeList(realm, catalog, "lodgings"));
IObservableList lodgings = BeansObservables.observeList(realm, catalog, "lodgings"); ObservableListContentProvider contentProvider = new ObservableListContentProvider(); IObservableMap[] attributeMaps = BeansObservables.observeMaps( contentProvider.getKnownElements(), Lodging.class, new String[] { "name" }); listViewer.setContentProvider(contentProvider); listViewer.setLabelProvider(new ObservableMapLabelProvider( attributeMaps)); listViewer.setInput(lodgings);
public void testScenario01() { // Displaying the catalog's list of Lodging objects in a list viewer, // using their names. The name of the currently selected Lodging can // be edited in a text widget. There is always a selected Lodging // object. ListViewer listViewer = new ListViewer(getComposite(), SWT.BORDER); Realm realm = SWTObservables.getRealm(listViewer.getControl() .getDisplay()); listViewer.getList().setLayoutData( new GridData(SWT.FILL, SWT.FILL, false, false)); Catalog catalog = SampleData.CATALOG_2005; listViewer.setLabelProvider(new LabelProvider() { public String getText(Object element) { return ((Lodging) element).getName(); } }); listViewer.setContentProvider(new ObservableListContentProvider()); listViewer.setInput(BeansObservables.observeList(realm, catalog, "lodgings")); assertArrayEquals(catalog.getLodgings(), getViewerContent(listViewer) .toArray()); IObservableValue selectedLodging = ViewersObservables .observeSingleSelection(listViewer); selectedLodging.setValue(SampleData.CAMP_GROUND); assertEquals(SampleData.CAMP_GROUND, getViewerSelection(listViewer)); Text txtName = new Text(getComposite(), SWT.BORDER); getDbc().bindValue( SWTObservables.observeText(txtName, SWT.Modify), MasterDetailObservables.detailValue(selectedLodging, BeansObservables.valueFactory(realm, "name"), String.class), null); assertEquals(txtName.getText(), SampleData.CAMP_GROUND.getName()); enterText(txtName, "foobar"); assertEquals("foobar", SampleData.CAMP_GROUND.getName()); listViewer.setSelection(new StructuredSelection( SampleData.FIVE_STAR_HOTEL)); assertEquals(SampleData.FIVE_STAR_HOTEL, selectedLodging.getValue()); assertEquals(SampleData.FIVE_STAR_HOTEL.getName(), txtName.getText()); SampleData.FIVE_STAR_HOTEL.setName("barfoo"); assertEquals("barfoo", txtName.getText()); // Now make sure that the event listeners get removed on dispose() // Values should no longer be updated selectedLodging.dispose(); // selectedLodging.setValue(SampleData.CAMP_GROUND); // assertNotSame(SampleData.CAMP_GROUND, // getViewerSelection(listViewer)); // assertNotSame(txtName.getText(), SampleData.CAMP_GROUND.getName()); // enterText(txtName, "foobar"); // assertNotSame("foobar", SampleData.CAMP_GROUND.getName()); // listViewer.setSelection(new StructuredSelection( // SampleData.FIVE_STAR_HOTEL)); // assertNotSame(SampleData.FIVE_STAR_HOTEL, // selectedLodging.getValue()); // assertNotSame(SampleData.FIVE_STAR_HOTEL.getName(), // txtName.getText()); // SampleData.FIVE_STAR_HOTEL.setName("barfoo"); // assertNotSame("barfoo", txtName.getText()); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/a469cb14d7815f1d5dea6c4a44ea9ea80e229bed/MasterDetailScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/MasterDetailScenarios.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 21390, 1611, 1435, 288, 202, 202, 759, 9311, 310, 326, 6222, 1807, 666, 434, 511, 369, 1998, 2184, 316, 279, 666, 14157, 16, 202, 202, 759, 1450, 3675, 1257, 18, 1021, 508, 434, 326, 4551, 3170, 511, 369, 1998, 848, 202, 202, 759, 506, 18532, 316, 279, 977, 3604, 18, 6149, 353, 3712, 279, 3170, 511, 369, 1998, 202, 202, 759, 733, 18, 202, 202, 682, 18415, 666, 18415, 273, 394, 987, 18415, 12, 588, 9400, 9334, 348, 8588, 18, 38, 7954, 1769, 202, 202, 22545, 11319, 273, 16392, 4296, 3147, 1538, 18, 588, 22545, 12, 1098, 18415, 18, 588, 3367, 1435, 9506, 202, 18, 588, 4236, 10663, 202, 202, 1098, 18415, 18, 588, 682, 7675, 542, 3744, 751, 12, 9506, 202, 2704, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 629, 16, 629, 10019, 202, 202, 9769, 6222, 273, 11474, 751, 18, 14130, 18683, 67, 6976, 25, 31, 202, 202, 1098, 18415, 18, 542, 2224, 2249, 12, 2704, 5287, 2249, 1435, 288, 1082, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 9506, 202, 2463, 14015, 48, 369, 1998, 13, 930, 2934, 17994, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 1098, 18415, 18, 542, 1350, 2249, 12, 2704, 4310, 682, 1350, 2249, 10663, 202, 202, 1098, 18415, 18, 542, 1210, 12, 14495, 26199, 1538, 18, 12199, 537, 682, 12, 24056, 16, 6222, 16, 9506, 202, 6, 80, 369, 75, 899, 7923, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 21390, 1611, 1435, 288, 202, 202, 759, 9311, 310, 326, 6222, 1807, 666, 434, 511, 369, 1998, 2184, 316, 279, 666, 14157, 16, 202, 202, 759, 1450, 3675, 1257, 18, 1021, 508, 434, 326, 4551, 3170, 511, 369, 1998, 848, 202, 202, 759, 506, 18532, 316, 279, 977, 3604, 18, 6149, 353, 3712, 279, 3170, 511, 369, 1998, 202, 202, 759, 733, 18, 202, 202, 682, 18415, 666, 18415, 273, 394, 987, 18415, 12, 588, 9400, 9334, 348, 8588, 18, 38, 7954, 1769, 202, 202, 22545, 11319, 273, 16392, 4296, 3147, 1538, 18, 588, 22545, 12, 1098, 18415, 18, 588, 3367, 1435, 9506, 202, 18, 588, 4236, 10663, 202, 202, 1098, 18415, 18, 588, 2 ]
proxyHostnameEditor = new StringFieldEditor("", "Proxy host address: ", StringFieldEditor.UNLIMITED, proxyAuthComp) {
proxyHostnameEditor = new StringFieldEditor("", "Proxy host address: ", StringFieldEditor.UNLIMITED, proxyAuthComp) {
private void addProxySection() { proxyExpComposite = toolkit.createExpandableComposite(container, Section.COMPACT | Section.TWISTIE | Section.TITLE_BAR); proxyExpComposite.clientVerticalSpacing = 0; GridData gridData_2 = new GridData(SWT.FILL, SWT.FILL, true, false); gridData_2.horizontalIndent = -5; proxyExpComposite.setLayoutData(gridData_2); proxyExpComposite.setFont(container.getFont()); proxyExpComposite.setBackground(container.getBackground()); proxyExpComposite.setText("Proxy Server Configuration"); proxyExpComposite.addExpansionListener(new ExpansionAdapter() { @Override public void expansionStateChanged(ExpansionEvent e) { getControl().getShell().pack(); } }); GridDataFactory.fillDefaults().span(2, SWT.DEFAULT).applyTo(proxyExpComposite); proxyAuthComp = toolkit.createComposite(proxyExpComposite, SWT.NONE); GridLayout gridLayout2 = new GridLayout(); gridLayout2.numColumns = 2; gridLayout2.verticalSpacing = 0; proxyAuthComp.setLayout(gridLayout2); proxyAuthComp.setBackground(container.getBackground()); proxyExpComposite.setClient(proxyAuthComp); systemProxyButton = new Button(proxyAuthComp, SWT.CHECK); GridDataFactory.fillDefaults().align(SWT.TOP, SWT.DEFAULT).span(2, SWT.DEFAULT).applyTo(systemProxyButton); systemProxyButton.setText("Use Install/Update settings (default)"); systemProxyButton.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { setUseDefaultProxy(systemProxyButton.getSelection()); } public void widgetDefaultSelected(SelectionEvent e) { // ignore } }); proxyHostnameEditor = new StringFieldEditor("", "Proxy host address: ", StringFieldEditor.UNLIMITED, proxyAuthComp) { @Override protected boolean doCheckState() { return true; } @Override protected void valueChanged() { super.valueChanged(); if (getWizard() != null) { getWizard().getContainer().updateButtons(); } } }; proxyHostnameEditor.setStringValue(oldProxyHostname); proxyPortEditor = new RepositoryStringFieldEditor("", "Proxy host port: ", StringFieldEditor.UNLIMITED, proxyAuthComp); proxyPortEditor.setStringValue(oldProxyPort); proxyHostnameEditor.setEnabled(systemProxyButton.getSelection(), proxyAuthComp); proxyPortEditor.setEnabled(systemProxyButton.getSelection(), proxyAuthComp); //************* PROXY AUTHENTICATION ************** proxyAuthButton = new Button(proxyAuthComp, SWT.CHECK); GridDataFactory.fillDefaults().align(SWT.TOP, SWT.DEFAULT).span(2, SWT.DEFAULT).applyTo(proxyAuthButton); proxyAuthButton.setText("Enable proxy authentication"); proxyAuthButton.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { setProxyAuth(proxyAuthButton.getSelection()); } public void widgetDefaultSelected(SelectionEvent e) { // ignore } }); proxyUserNameEditor = new StringFieldEditor("", "User ID: ", StringFieldEditor.UNLIMITED, proxyAuthComp) { @Override protected boolean doCheckState() { return true; } @Override protected void valueChanged() { super.valueChanged(); if (getWizard() != null) { getWizard().getContainer().updateButtons(); } } }; proxyPasswordEditor = new RepositoryStringFieldEditor("", "Password: ", StringFieldEditor.UNLIMITED, proxyAuthComp); ((RepositoryStringFieldEditor) proxyPasswordEditor).getTextControl().setEchoChar('*'); // proxyPasswordEditor.setEnabled(httpAuthButton.getSelection(), // advancedComp); // ((StringFieldEditor) // httpAuthPasswordEditor).setEnabled(httpAuthButton.getSelection(), // advancedComp); setProxyAuth(oldProxyUsername != null && oldProxyPassword != null && !oldProxyUsername.equals("") && !oldProxyPassword.equals("")); setUseDefaultProxy(repository != null ? repository.useDefaultProxy() : true); proxyExpComposite.setExpanded(!systemProxyButton.getSelection()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/0732acf21c5d1de2fc956dc5660226c202710094/AbstractRepositorySettingsPage.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 3886, 5285, 1435, 288, 9506, 202, 5656, 2966, 9400, 273, 5226, 8691, 18, 2640, 12271, 429, 9400, 12, 3782, 16, 10092, 18, 4208, 4066, 1268, 9506, 202, 96, 10092, 18, 18869, 5511, 8732, 571, 10092, 18, 14123, 67, 21908, 1769, 202, 202, 5656, 2966, 9400, 18, 2625, 15704, 18006, 273, 374, 31, 202, 202, 6313, 751, 3068, 751, 67, 22, 273, 394, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 629, 1769, 202, 202, 5222, 751, 67, 22, 18, 18396, 7790, 273, 300, 25, 31, 202, 202, 5656, 2966, 9400, 18, 542, 3744, 751, 12, 5222, 751, 67, 22, 1769, 202, 202, 5656, 2966, 9400, 18, 542, 5711, 12, 3782, 18, 588, 5711, 10663, 202, 202, 5656, 2966, 9400, 18, 542, 8199, 12, 3782, 18, 588, 8199, 10663, 202, 202, 5656, 2966, 9400, 18, 542, 1528, 2932, 3886, 3224, 4659, 8863, 202, 202, 5656, 2966, 9400, 18, 1289, 2966, 12162, 2223, 12, 2704, 7784, 12162, 4216, 1435, 288, 1082, 202, 36, 6618, 1082, 202, 482, 918, 17965, 1119, 5033, 12, 2966, 12162, 1133, 425, 13, 288, 6862, 6862, 6862, 6862, 202, 588, 3367, 7675, 588, 13220, 7675, 2920, 5621, 6862, 9506, 202, 97, 202, 202, 22938, 202, 202, 6313, 751, 1733, 18, 5935, 7019, 7675, 3969, 12, 22, 16, 348, 8588, 18, 5280, 2934, 9010, 774, 12, 5656, 2966, 9400, 1769, 9506, 202, 5656, 1730, 2945, 273, 5226, 8691, 18, 2640, 9400, 12, 5656, 2966, 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, 527, 3886, 5285, 1435, 288, 9506, 202, 5656, 2966, 9400, 273, 5226, 8691, 18, 2640, 12271, 429, 9400, 12, 3782, 16, 10092, 18, 4208, 4066, 1268, 9506, 202, 96, 10092, 18, 18869, 5511, 8732, 571, 10092, 18, 14123, 67, 21908, 1769, 202, 202, 5656, 2966, 9400, 18, 2625, 15704, 18006, 273, 374, 31, 202, 202, 6313, 751, 3068, 751, 67, 22, 273, 394, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 629, 1769, 202, 202, 5222, 751, 67, 22, 18, 18396, 7790, 273, 300, 25, 31, 202, 202, 5656, 2966, 9400, 18, 542, 3744, 751, 12, 5222, 751, 67, 22, 1769, 202, 202, 5656, 2966, 9400, 18, 542, 2 ]
Boolean test = ((ScriptableObject)y).equivalentValues(x); if (test != null) { return test.booleanValue();
Object test = ((ScriptableObject)y).equivalentValues(x); if (test != Scriptable.NOT_FOUND) { return ((Boolean)test).booleanValue();
public static boolean eq(Object x, Object y) { if (x == null || x == Undefined.instance) { if (y == null || y == Undefined.instance) { return true; } if (y instanceof ScriptableObject) { Boolean test = ((ScriptableObject)y).equivalentValues(x); if (test != null) { return test.booleanValue(); } } return false; } else if (x instanceof Number) { return eqNumber(((Number)x).doubleValue(), y); } else if (x instanceof String) { return eqString((String)x, y); } else if (x instanceof Boolean) { boolean b = ((Boolean)x).booleanValue(); if (y instanceof Boolean) { return b == ((Boolean)y).booleanValue(); } if (y instanceof ScriptableObject) { Boolean test = ((ScriptableObject)y).equivalentValues(x); if (test != null) { return test.booleanValue(); } } return eqNumber(b ? 1.0 : 0.0, y); } else if (x instanceof Scriptable) { if (y instanceof Scriptable) { // Generic test also works for y == Undefined.instance if (x == y) { return true; } if (x instanceof ScriptableObject) { Boolean test = ((ScriptableObject)x).equivalentValues(y); if (test != null) { return test.booleanValue(); } } if (y instanceof ScriptableObject) { Boolean test = ((ScriptableObject)y).equivalentValues(x); if (test != null) { return test.booleanValue(); } } if (x instanceof Wrapper && y instanceof Wrapper) { return ((Wrapper)x).unwrap() == ((Wrapper)y).unwrap(); } return false; } else if (y instanceof Boolean) { if (x instanceof ScriptableObject) { Boolean test = ((ScriptableObject)x).equivalentValues(y); if (test != null) { return test.booleanValue(); } } double d = ((Boolean)y).booleanValue() ? 1.0 : 0.0; return eqNumber(d, x); } else if (y instanceof Number) { return eqNumber(((Number)y).doubleValue(), x); } else if (y instanceof String) { return eqString((String)y, x); } return false; } else { warnAboutNonJSObject(x); return x == y; } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/e056c6cd398e14bb613713e0d2422d282617403a/ScriptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 7555, 12, 921, 619, 16, 1033, 677, 13, 565, 288, 3639, 309, 261, 92, 422, 446, 747, 619, 422, 22243, 18, 1336, 13, 288, 5411, 309, 261, 93, 422, 446, 747, 677, 422, 22243, 18, 1336, 13, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 261, 93, 1276, 22780, 921, 13, 288, 7734, 3411, 1842, 273, 14015, 3651, 429, 921, 13, 93, 2934, 14298, 6505, 1972, 12, 92, 1769, 7734, 309, 261, 3813, 480, 446, 13, 288, 10792, 327, 1842, 18, 6494, 620, 5621, 7734, 289, 5411, 289, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 1276, 3588, 13, 288, 5411, 327, 7555, 1854, 12443, 12, 1854, 13, 92, 2934, 9056, 620, 9334, 677, 1769, 3639, 289, 469, 309, 261, 92, 1276, 514, 13, 288, 5411, 327, 7555, 780, 12443, 780, 13, 92, 16, 677, 1769, 3639, 289, 469, 309, 261, 92, 1276, 3411, 13, 288, 5411, 1250, 324, 273, 14015, 5507, 13, 92, 2934, 6494, 620, 5621, 5411, 309, 261, 93, 1276, 3411, 13, 288, 7734, 327, 324, 422, 14015, 5507, 13, 93, 2934, 6494, 620, 5621, 5411, 289, 5411, 309, 261, 93, 1276, 22780, 921, 13, 288, 7734, 3411, 1842, 273, 14015, 3651, 429, 921, 13, 93, 2934, 14298, 6505, 1972, 12, 92, 1769, 7734, 309, 261, 3813, 480, 446, 13, 288, 10792, 327, 1842, 18, 6494, 620, 5621, 7734, 289, 5411, 289, 5411, 327, 7555, 1854, 12, 70, 692, 404, 18, 20, 294, 374, 18, 20, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 7555, 12, 921, 619, 16, 1033, 677, 13, 565, 288, 3639, 309, 261, 92, 422, 446, 747, 619, 422, 22243, 18, 1336, 13, 288, 5411, 309, 261, 93, 422, 446, 747, 677, 422, 22243, 18, 1336, 13, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 261, 93, 1276, 22780, 921, 13, 288, 7734, 3411, 1842, 273, 14015, 3651, 429, 921, 13, 93, 2934, 14298, 6505, 1972, 12, 92, 1769, 7734, 309, 261, 3813, 480, 446, 13, 288, 10792, 327, 1842, 18, 6494, 620, 5621, 7734, 289, 5411, 289, 5411, 327, 629, 31, 3639, 289, 469, 309, 261, 92, 1276, 3588, 13, 288, 5411, 327, 7555, 1854, 12443, 12, 1854, 13, 92, 2934, 9056, 620, 2 ]
if (filters != null) { filters = null; refresh(); } }
if (filters != null) { filters = null; refresh(); } }
public void resetFilters() { if (filters != null) { filters = null; refresh(); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/dc85f0b1334fe6aa79c5c32e8024d573af99e0d2/StructuredViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 5422, 1435, 288, 3639, 309, 261, 6348, 480, 446, 13, 288, 5411, 3415, 273, 446, 31, 5411, 4460, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2715, 5422, 1435, 288, 3639, 309, 261, 6348, 480, 446, 13, 288, 5411, 3415, 273, 446, 31, 5411, 4460, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 void configureShell(Shell newShell) { super.configureShell(newShell); //PlatformUI.getWorkbench().getHelpSystem().setHelp(newShell, new Object[] { IJavaHelpContextIds.MAINTYPE_SELECTION_DIALOG }); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c2fcb23c0603a4d4a5a74051918a2bfad3eb96b7/HandlerClassSelectionDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/dialog/HandlerClassSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 5068, 13220, 12, 13220, 394, 13220, 13, 288, 202, 202, 9565, 18, 14895, 13220, 12, 2704, 13220, 1769, 202, 202, 759, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 6696, 3163, 7675, 542, 6696, 12, 2704, 13220, 16, 394, 1033, 8526, 288, 467, 5852, 6696, 1042, 2673, 18, 19803, 2399, 67, 1090, 15445, 67, 2565, 18683, 15549, 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,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7675, 542, 6696, 12, 2704, 13220, 16, 394, 1033, 8526, 288, 467, 5852, 6696, 1042, 2673, 18, 19803, 2399, 67, 1090, 15445, 67, 2565, 18683, 15549, 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 ]
return _tx.fetch( _engine, handler, object, identity, null );
return _tx.fetch( _engine, handler, identity, null );
Object fetch( ClassHandler handler, Object object, Object identity ) throws PersistenceException { return _tx.fetch( _engine, handler, object, identity, null ); }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/ee81bf7c1cdb352eb0e6ee18162b6e6026f65d6c/FetchContext.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/persist/FetchContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 2158, 12, 1659, 1503, 1838, 16, 1033, 733, 16, 1033, 4215, 262, 3639, 1216, 13381, 503, 565, 288, 3639, 327, 389, 978, 18, 5754, 12, 389, 8944, 16, 1838, 16, 4215, 16, 446, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 2158, 12, 1659, 1503, 1838, 16, 1033, 733, 16, 1033, 4215, 262, 3639, 1216, 13381, 503, 565, 288, 3639, 327, 389, 978, 18, 5754, 12, 389, 8944, 16, 1838, 16, 4215, 16, 446, 11272, 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 ]
public Profile selectProfile (List profiles, ClientConnectionManager ccm)
public Profile selectProfile (List profiles, ClientConnectionManager ccm)
public Profile selectProfile (List profiles, ClientConnectionManager ccm) { if (profiles.size() > 0) return (Profile)profiles.get(0); else return null; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7dc258e1d898c133fa8113c1af1594d926e8ccff/DefaultProfileSelector.java/buggy/src/org/jacorb/orb/DefaultProfileSelector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11357, 2027, 4029, 261, 682, 11788, 16, 2445, 1952, 1318, 4946, 81, 13, 377, 288, 3639, 309, 261, 18314, 18, 1467, 1435, 405, 374, 13, 5411, 327, 261, 4029, 13, 18314, 18, 588, 12, 20, 1769, 3639, 469, 5411, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11357, 2027, 4029, 261, 682, 11788, 16, 2445, 1952, 1318, 4946, 81, 13, 377, 288, 3639, 309, 261, 18314, 18, 1467, 1435, 405, 374, 13, 5411, 327, 261, 4029, 13, 18314, 18, 588, 12, 20, 1769, 3639, 469, 5411, 327, 446, 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 ]
if (this == getRuby().getClasses().getObjectClass()) { getRuby().secure(4); } if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new SecurityException("Insecure: can't undef"); } testFrozen(); if (id == getRuby().intern("__id__") || id == getRuby().intern("__send__")) { /*rb_warn("undefining `%s' may cause serious problem", rb_id2name( id ) );*/ } MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { String s0 = " class"; RubyModule c = this;
if (this == getRuby().getClasses().getObjectClass()) { getRuby().secure(4); } if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new SecurityException("Insecure: can't undef"); } testFrozen(); if (id == getRuby().intern("__id__") || id == getRuby().intern("__send__")) { /*rb_warn("undefining `%s' may cause serious problem", rb_id2name( id ) );*/ } MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { String s0 = " class"; RubyModule c = this;
public void undef(RubyId id) { if (this == getRuby().getClasses().getObjectClass()) { getRuby().secure(4); } if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new SecurityException("Insecure: can't undef"); } testFrozen(); if (id == getRuby().intern("__id__") || id == getRuby().intern("__send__")) { /*rb_warn("undefining `%s' may cause serious problem", rb_id2name( id ) );*/ } MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { String s0 = " class"; RubyModule c = this; if (c.isSingleton()) { RubyObject obj = getInstanceVar("__attached__"); if (obj instanceof RubyModule) { c = (RubyModule) obj; s0 = ""; } } else if (c.isModule()) { s0 = " module"; } throw new RubyNameException( getRuby(), "undefined method " + id.toName() + " for" + s0 + " '" + c.toName() + "'"); } addMethod(id, null, Constants.NOEX_PUBLIC); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 640, 536, 12, 54, 10340, 548, 612, 13, 288, 202, 202, 430, 261, 2211, 422, 4170, 10340, 7675, 588, 4818, 7675, 588, 921, 797, 10756, 288, 1082, 202, 588, 54, 10340, 7675, 8869, 12, 24, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 54, 10340, 7675, 588, 4368, 2355, 1435, 1545, 1059, 597, 401, 291, 29048, 10756, 288, 1082, 202, 12849, 394, 17780, 2932, 382, 8869, 30, 848, 1404, 640, 536, 8863, 202, 202, 97, 202, 202, 3813, 42, 9808, 5621, 202, 202, 430, 261, 350, 422, 4170, 10340, 7675, 267, 798, 2932, 972, 350, 972, 7923, 747, 612, 422, 4170, 10340, 7675, 267, 798, 2932, 972, 4661, 14437, 3719, 288, 1082, 202, 20308, 6731, 67, 8935, 2932, 318, 5649, 310, 12430, 87, 11, 2026, 4620, 703, 22774, 6199, 3113, 9506, 540, 7138, 67, 350, 22, 529, 12, 612, 262, 11272, 5549, 202, 202, 97, 202, 202, 1305, 907, 707, 907, 273, 1623, 1305, 12, 350, 1769, 202, 202, 430, 261, 2039, 907, 422, 446, 747, 707, 907, 18, 588, 2250, 907, 1435, 422, 446, 13, 288, 1082, 202, 780, 272, 20, 273, 315, 667, 14432, 1082, 202, 54, 10340, 3120, 276, 273, 333, 31, 1082, 202, 430, 261, 71, 18, 291, 19571, 10756, 288, 9506, 202, 54, 10340, 921, 1081, 273, 3694, 1537, 2932, 972, 24157, 972, 8863, 9506, 202, 430, 261, 2603, 1276, 19817, 3120, 13, 288, 6862, 202, 71, 273, 261, 54, 10340, 3120, 13, 1081, 31, 6862, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 640, 536, 12, 54, 10340, 548, 612, 13, 288, 202, 202, 430, 261, 2211, 422, 4170, 10340, 7675, 588, 4818, 7675, 588, 921, 797, 10756, 288, 1082, 202, 588, 54, 10340, 7675, 8869, 12, 24, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 54, 10340, 7675, 588, 4368, 2355, 1435, 1545, 1059, 597, 401, 291, 29048, 10756, 288, 1082, 202, 12849, 394, 17780, 2932, 382, 8869, 30, 848, 1404, 640, 536, 8863, 202, 202, 97, 202, 202, 3813, 42, 9808, 5621, 202, 202, 430, 261, 350, 422, 4170, 10340, 7675, 267, 798, 2932, 972, 350, 972, 7923, 747, 612, 422, 4170, 10340, 7675, 267, 798, 2932, 972, 4661, 14437, 3719, 288, 1082, 202, 20308, 2 ]
button = BUTTON3;
this.button = BUTTON3;
public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) { super(source, id, when, modifiers); this.x = x; this.y = y; this.clickCount = clickCount; this.popupTrigger = popupTrigger; this.button = button; if (button < NOBUTTON || button > BUTTON3) throw new IllegalArgumentException(); if ((modifiers & EventModifier.OLD_MASK) != 0) { if ((modifiers & BUTTON1_MASK) != 0) button = BUTTON1; else if ((modifiers & BUTTON2_MASK) != 0) button = BUTTON2; else if ((modifiers & BUTTON3_MASK) != 0) button = BUTTON3; } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MouseEvent.java/clean/core/src/classpath/java/java/awt/event/MouseEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 17013, 1133, 12, 1841, 1084, 16, 509, 612, 16, 1525, 1347, 16, 509, 10429, 16, 10792, 509, 619, 16, 509, 677, 16, 509, 4682, 1380, 16, 1250, 10431, 6518, 16, 10792, 509, 3568, 13, 225, 288, 565, 2240, 12, 3168, 16, 612, 16, 1347, 16, 10429, 1769, 565, 333, 18, 92, 273, 619, 31, 565, 333, 18, 93, 273, 677, 31, 565, 333, 18, 7475, 1380, 273, 4682, 1380, 31, 565, 333, 18, 16086, 6518, 273, 10431, 6518, 31, 565, 333, 18, 5391, 273, 3568, 31, 565, 309, 261, 5391, 411, 3741, 20068, 747, 3568, 405, 29947, 23, 13, 1377, 604, 394, 2754, 5621, 565, 309, 14015, 15432, 473, 2587, 9829, 18, 11846, 67, 11704, 13, 480, 374, 13, 1377, 288, 3639, 309, 14015, 15432, 473, 29947, 21, 67, 11704, 13, 480, 374, 13, 1850, 3568, 273, 29947, 21, 31, 3639, 469, 309, 14015, 15432, 473, 29947, 22, 67, 11704, 13, 480, 374, 13, 1850, 3568, 273, 29947, 22, 31, 3639, 469, 309, 14015, 15432, 473, 29947, 23, 67, 11704, 13, 480, 374, 13, 1850, 333, 18, 5391, 273, 29947, 23, 31, 1377, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17013, 1133, 12, 1841, 1084, 16, 509, 612, 16, 1525, 1347, 16, 509, 10429, 16, 10792, 509, 619, 16, 509, 677, 16, 509, 4682, 1380, 16, 1250, 10431, 6518, 16, 10792, 509, 3568, 13, 225, 288, 565, 2240, 12, 3168, 16, 612, 16, 1347, 16, 10429, 1769, 565, 333, 18, 92, 273, 619, 31, 565, 333, 18, 93, 273, 677, 31, 565, 333, 18, 7475, 1380, 273, 4682, 1380, 31, 565, 333, 18, 16086, 6518, 273, 10431, 6518, 31, 565, 333, 18, 5391, 273, 3568, 31, 565, 309, 261, 5391, 411, 3741, 20068, 747, 3568, 405, 29947, 23, 13, 1377, 604, 394, 2754, 5621, 565, 309, 14015, 15432, 473, 2587, 9829, 18, 11846, 67, 11704, 13, 480, 2 ]
private CompositeElement createComposite(final StartMarker rootMarker) { final IElementType type = rootMarker.myType; if (type instanceof IXmlElementType) {
private CompositeElement createComposite(final StartMarker marker) { final IElementType type = marker.myType; if (type == ElementType.ERROR_ELEMENT) { CompositeElement childNode = new PsiErrorElementImpl(); if (marker.myDoneMarker instanceof DoneWithErrorMarker) { ((PsiErrorElementImpl)childNode).setErrorDescription(((DoneWithErrorMarker)marker.myDoneMarker).myMessage); } return childNode; } else if (type instanceof IXmlElementType) {
private CompositeElement createComposite(final StartMarker rootMarker) { final IElementType type = rootMarker.myType; if (type instanceof IXmlElementType) { // hack.... return Factory.createCompositeElement(type); } return new CompositeElement(type); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/861c681cc7935120b47c55d28c7871a6cd77bffb/PsiBuilderImpl.java/buggy/source/com/intellij/lang/impl/PsiBuilderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 14728, 1046, 752, 9400, 12, 6385, 3603, 7078, 1365, 7078, 13, 288, 565, 727, 467, 17481, 618, 273, 1365, 7078, 18, 4811, 559, 31, 565, 309, 261, 723, 1276, 467, 4432, 17481, 13, 288, 368, 11769, 6265, 1377, 327, 7822, 18, 2640, 9400, 1046, 12, 723, 1769, 565, 289, 565, 327, 394, 14728, 1046, 12, 723, 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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7078, 18, 4811, 559, 31, 565, 309, 261, 723, 1276, 467, 4432, 17481, 13, 288, 368, 11769, 6265, 1377, 327, 7822, 18, 2640, 9400, 1046, 12, 723, 1769, 565, 289, 565, 327, 394, 14728, 1046, 12, 723, 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 ]
assertTrue(server.getReceievedEmailSize() == 1);
assertTrue(server.getReceivedEmailSize() == 1);
public void testExecute() throws Exception { MockHttpServletRequest request = newGet("/passwordHint.html"); request.addParameter("username", "tomcat"); SimpleSmtpServer server = SimpleSmtpServer.start(2525); c.handleRequest(request, new MockHttpServletResponse()); // verify an account information e-mail was sent server.stop(); assertTrue(server.getReceievedEmailSize() == 1); // verify that success messages are in the session assertNotNull(request.getSession().getAttribute("messages")); }
3521 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3521/5d6acc922fc6db7971373a122b8bf1ba7d8c4891/PasswordHintControllerTest.java/clean/extras/spring/test/web/org/appfuse/webapp/action/PasswordHintControllerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5289, 1435, 1216, 1185, 288, 3639, 7867, 2940, 18572, 590, 273, 394, 967, 2932, 19, 3664, 7002, 18, 2620, 8863, 3639, 590, 18, 1289, 1662, 2932, 5053, 3113, 315, 3599, 2574, 8863, 3639, 4477, 55, 11091, 2081, 1438, 273, 4477, 55, 11091, 2081, 18, 1937, 12, 2947, 2947, 1769, 7734, 276, 18, 4110, 691, 12, 2293, 16, 394, 7867, 2940, 29910, 10663, 7734, 368, 3929, 392, 2236, 1779, 425, 17, 4408, 1703, 3271, 3639, 1438, 18, 5681, 5621, 3639, 1815, 5510, 12, 3567, 18, 588, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5289, 1435, 1216, 1185, 288, 3639, 7867, 2940, 18572, 590, 273, 394, 967, 2932, 19, 3664, 7002, 18, 2620, 8863, 3639, 590, 18, 1289, 1662, 2932, 5053, 3113, 315, 3599, 2574, 8863, 3639, 4477, 55, 11091, 2081, 1438, 273, 4477, 55, 11091, 2081, 18, 1937, 12, 2947, 2947, 1769, 7734, 276, 18, 4110, 691, 12, 2293, 16, 394, 7867, 2940, 29910, 10663, 7734, 368, 3929, 392, 2236, 1779, 425, 17, 4408, 1703, 3271, 3639, 1438, 18, 5681, 5621, 3639, 1815, 5510, 12, 3567, 18, 588, 8872, 4134, 1225, 1435, 422, 404, 1769, 7734, 368, 3929, 716, 2216, 2743, 854, 316, 326, 1339, 3639, 25395, 12, 2293, 18, 588, 2157, 7675, 588, 1499, 2932, 6833, 7923, 2 ]
m_context = a_context;
return m_context;
public void ctx(Context a_context) { m_context = a_context; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/gnuRequest.java/clean/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1103, 12, 1042, 279, 67, 2472, 13, 225, 288, 565, 327, 312, 67, 2472, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1103, 12, 1042, 279, 67, 2472, 13, 225, 288, 565, 327, 312, 67, 2472, 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 ]
managedForm.addPart(new IntroSection(this, body));
private void fillBody(IManagedForm managedForm, FormToolkit toolkit) { Composite body = managedForm.getForm().getBody(); GridLayout layout = new GridLayout(); layout.numColumns = 2; layout.marginWidth = 10; layout.verticalSpacing = 30; layout.horizontalSpacing = 10; body.setLayout(layout); // sections managedForm.addPart(new SplashSection(this, body)); managedForm.addPart(new IntroSection(this, body)); managedForm.addPart(new WindowImagesSection(this, body)); managedForm.addPart(new AboutSection(this, body)); }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/162cef364b3e0d2d513f281bec2c5a0e4bb671dc/BrandingPage.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/BrandingPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3636, 2250, 12, 3445, 4184, 1204, 7016, 1204, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 9400, 1417, 273, 7016, 1204, 18, 588, 1204, 7675, 588, 2250, 5621, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 6741, 18, 10107, 2384, 273, 1728, 31, 202, 202, 6741, 18, 17824, 18006, 273, 5196, 31, 202, 202, 6741, 18, 18396, 18006, 273, 1728, 31, 202, 202, 3432, 18, 542, 3744, 12, 6741, 1769, 202, 202, 759, 7178, 202, 202, 19360, 1204, 18, 1289, 1988, 12, 2704, 29356, 5285, 12, 2211, 16, 1417, 10019, 1082, 202, 19360, 1204, 18, 1289, 1988, 12, 2704, 3094, 303, 5285, 12, 2211, 16, 1417, 10019, 202, 202, 19360, 1204, 18, 1289, 1988, 12, 2704, 6076, 8946, 5285, 12, 2211, 16, 1417, 10019, 202, 202, 19360, 1204, 18, 1289, 1988, 12, 2704, 9771, 659, 5285, 12, 2211, 16, 1417, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3636, 2250, 12, 3445, 4184, 1204, 7016, 1204, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 9400, 1417, 273, 7016, 1204, 18, 588, 1204, 7675, 588, 2250, 5621, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 6741, 18, 10107, 2384, 273, 1728, 31, 202, 202, 6741, 18, 17824, 18006, 273, 5196, 31, 202, 202, 6741, 18, 18396, 18006, 273, 1728, 31, 202, 202, 3432, 18, 542, 3744, 12, 6741, 1769, 202, 202, 759, 7178, 202, 202, 19360, 1204, 18, 1289, 1988, 12, 2704, 29356, 5285, 12, 2211, 16, 1417, 10019, 1082, 202, 19360, 1204, 18, 1289, 1988, 12, 2704, 3094, 2 ]
getDisplayServer().setDpiResolution( ((Integer)oValue).intValue());
getDisplayServer( ).setDpiResolution( ( (Integer) oValue ).intValue( ) );
public void setProperty( String sProperty, Object oValue ) { if ( sProperty.equals( IDeviceRenderer.UPDATE_NOTIFIER ) ) { _iun = (IUpdateNotifier) oValue; _lhmAllTriggers.clear( ); Object obj = _iun.peerInstance( ); if ( obj instanceof JComponent ) { JComponent jc = (JComponent) obj; MouseListener[] mla = jc.getMouseListeners( ); for ( int i = 0; i < mla.length; i++ ) { if ( mla[i] instanceof SwingEventHandler ) { jc.removeMouseListener( mla[i] ); } } MouseMotionListener[] mmla = jc.getMouseMotionListeners( ); for ( int i = 0; i < mmla.length; i++ ) { if ( mmla[i] instanceof SwingEventHandler ) { jc.removeMouseMotionListener( mmla[i] ); } } KeyListener[] kla = jc.getKeyListeners( ); for ( int i = 0; i < kla.length; i++ ) { if ( kla[i] instanceof SwingEventHandler ) { jc.removeKeyListener( kla[i] ); } } _eh = new SwingEventHandler( _lhmAllTriggers, _iun, getLocale( ) ); jc.addMouseListener( _eh ); jc.addMouseMotionListener( _eh ); jc.addKeyListener( _eh ); } } else if ( sProperty.equals( IDeviceRenderer.GRAPHICS_CONTEXT ) ) { _g2d = (Graphics2D) oValue; _g2d.setRenderingHint( RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON ); _g2d.setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); _g2d.setRenderingHint( RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON ); _g2d.setRenderingHint( RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY ); // _frc = new FontRenderContext(new AffineTransform(), true, false); logger.log( ILogger.INFORMATION, Messages.getString( "info.using.graphics.context", //$NON-NLS-1$ new Object[]{ _g2d }, getLocale( ) ) ); } else if ( sProperty.equals(IDeviceRenderer.DPI_RESOLUTION ) ) { getDisplayServer().setDpiResolution( ((Integer)oValue).intValue()); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/99ab478a2cd0ab25560606c29779d9cf026ebe25/SwingRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7486, 12, 514, 272, 1396, 16, 1033, 320, 620, 262, 202, 95, 202, 202, 430, 261, 272, 1396, 18, 14963, 12, 467, 3654, 6747, 18, 8217, 67, 4400, 10591, 262, 262, 202, 202, 95, 1082, 202, 67, 77, 318, 273, 261, 45, 1891, 14889, 13, 320, 620, 31, 1082, 202, 67, 80, 76, 81, 1595, 15114, 18, 8507, 12, 11272, 1082, 202, 921, 1081, 273, 389, 77, 318, 18, 12210, 1442, 12, 11272, 1082, 202, 430, 261, 1081, 1276, 29058, 262, 1082, 202, 95, 9506, 202, 46, 1841, 19807, 273, 261, 46, 1841, 13, 1081, 31, 9506, 202, 9186, 2223, 8526, 312, 11821, 273, 19807, 18, 588, 9186, 5583, 12, 11272, 9506, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 312, 11821, 18, 2469, 31, 277, 9904, 262, 9506, 202, 95, 6862, 202, 430, 261, 312, 11821, 63, 77, 65, 1276, 26145, 16402, 262, 6862, 202, 95, 25083, 202, 78, 71, 18, 4479, 9186, 2223, 12, 312, 11821, 63, 77, 65, 11272, 6862, 202, 97, 9506, 202, 97, 9506, 202, 9186, 29360, 2223, 8526, 312, 781, 69, 273, 19807, 18, 588, 9186, 29360, 5583, 12, 11272, 9506, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 312, 781, 69, 18, 2469, 31, 277, 9904, 262, 9506, 202, 95, 6862, 202, 430, 261, 312, 781, 69, 63, 77, 65, 1276, 26145, 16402, 262, 6862, 202, 95, 25083, 202, 78, 71, 18, 4479, 9186, 29360, 2223, 12, 312, 781, 69, 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, 7486, 12, 514, 272, 1396, 16, 1033, 320, 620, 262, 202, 95, 202, 202, 430, 261, 272, 1396, 18, 14963, 12, 467, 3654, 6747, 18, 8217, 67, 4400, 10591, 262, 262, 202, 202, 95, 1082, 202, 67, 77, 318, 273, 261, 45, 1891, 14889, 13, 320, 620, 31, 1082, 202, 67, 80, 76, 81, 1595, 15114, 18, 8507, 12, 11272, 1082, 202, 921, 1081, 273, 389, 77, 318, 18, 12210, 1442, 12, 11272, 1082, 202, 430, 261, 1081, 1276, 29058, 262, 1082, 202, 95, 9506, 202, 46, 1841, 19807, 273, 261, 46, 1841, 13, 1081, 31, 9506, 202, 9186, 2223, 8526, 312, 11821, 273, 19807, 18, 588, 9186, 5583, 12, 11272, 9506, 202, 1884, 261, 2 ]
IFile file = this.createFile(
file = this.createFile(
public void testCopyCUReadOnly() throws CoreException { try { this.createFolder("/P/src/p1"); IFile file = this.createFile( "/P/src/p1/X.java", "package p1;\n" + "public class X {\n" + "}" ); file.setReadOnly(true); ICompilationUnit cuSource = getCompilationUnit("/P/src/p1/X.java"); this.createFolder("/P/src/p2"); IPackageFragment pkgDest = getPackage("/P/src/p2"); copyPositive(cuSource, pkgDest, null, null, false); assertTrue("Destination cu should be read-only", getFile("/P/src/p2/X.java").isReadOnly()); } finally { deleteFolder("/P/src/p1"); }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2f91c24cde8396b021af6f3e2bda6f2a77eba2a4/CopyMoveResourcesTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CopyMoveResourcesTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 2951, 16001, 12066, 1435, 1216, 30015, 288, 202, 698, 288, 202, 202, 2211, 18, 2640, 3899, 2932, 19, 52, 19, 4816, 19, 84, 21, 8863, 202, 202, 45, 812, 585, 273, 333, 18, 2640, 812, 12, 1082, 202, 6, 19, 52, 19, 4816, 19, 84, 21, 19, 60, 18, 6290, 3113, 1082, 202, 6, 5610, 293, 21, 9747, 82, 6, 397, 1082, 202, 6, 482, 667, 1139, 18890, 82, 6, 397, 1082, 202, 6, 1532, 202, 202, 1769, 202, 202, 768, 18, 542, 12066, 12, 3767, 1769, 202, 202, 45, 19184, 2802, 15985, 1830, 273, 336, 19184, 2802, 2932, 19, 52, 19, 4816, 19, 84, 21, 19, 60, 18, 6290, 8863, 1082, 202, 2211, 18, 2640, 3899, 2932, 19, 52, 19, 4816, 19, 84, 22, 8863, 202, 202, 45, 2261, 7456, 3475, 9378, 273, 11506, 2932, 19, 52, 19, 4816, 19, 84, 22, 8863, 1082, 202, 3530, 14900, 12, 6319, 1830, 16, 3475, 9378, 16, 446, 16, 446, 16, 629, 1769, 9506, 202, 11231, 5510, 2932, 5683, 15985, 1410, 506, 855, 17, 3700, 3113, 6034, 2932, 19, 52, 19, 4816, 19, 84, 22, 19, 60, 18, 6290, 20387, 291, 12066, 10663, 202, 97, 3095, 288, 202, 202, 3733, 3899, 2932, 19, 52, 19, 4816, 19, 84, 21, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 2951, 16001, 12066, 1435, 1216, 30015, 288, 202, 698, 288, 202, 202, 2211, 18, 2640, 3899, 2932, 19, 52, 19, 4816, 19, 84, 21, 8863, 202, 202, 45, 812, 585, 273, 333, 18, 2640, 812, 12, 1082, 202, 6, 19, 52, 19, 4816, 19, 84, 21, 19, 60, 18, 6290, 3113, 1082, 202, 6, 5610, 293, 21, 9747, 82, 6, 397, 1082, 202, 6, 482, 667, 1139, 18890, 82, 6, 397, 1082, 202, 6, 1532, 202, 202, 1769, 202, 202, 768, 18, 542, 12066, 12, 3767, 1769, 202, 202, 45, 19184, 2802, 15985, 1830, 273, 336, 19184, 2802, 2932, 19, 52, 19, 4816, 19, 84, 21, 19, 60, 18, 6290, 8863, 1082, 202, 2211, 18, 2640, 2 ]
aciIdx += gv.getCharacterCount(idx,idx);
aciIdx += charCount;
public void nextChar() { if ((ch == SOFT_HYPHEN) || (ch == ZERO_WIDTH_SPACE) || (ch == ZERO_WIDTH_JOINER)) { // Special handling for soft hyphens and zero-width spaces gv.setGlyphVisible(idx, false); float chAdv = getCharAdvance(); float chW = getCharWidth(); adv -= chW; adj -= chAdv; if (leftShiftIdx == null) { leftShiftIdx = new int[1]; leftShiftIdx[0] = idx; leftShiftAmt = new float[1]; leftShiftAmt[0] = chAdv; } else { int [] newLeftShiftIdx = new int[leftShiftIdx.length+1]; for (int i=0; i<leftShiftIdx.length; i++) newLeftShiftIdx[i] = leftShiftIdx[i]; newLeftShiftIdx[leftShiftIdx.length] = idx; leftShiftIdx = newLeftShiftIdx; float [] newLeftShiftAmt = new float[leftShiftAmt.length+1]; for (int i=0; i<leftShiftAmt.length; i++) newLeftShiftAmt[i] = leftShiftAmt[i]; newLeftShiftAmt[leftShiftAmt.length] = chAdv; leftShiftAmt = newLeftShiftAmt; } } aciIdx += gv.getCharacterCount(idx,idx); ch = aci.setIndex(aciIdx); idx++; if (idx == numGlyphs) return; if (aciIdx >= runLimit) { updateLineMetrics(aciIdx); runLimit = aci.getRunLimit(TEXT_COMPOUND_DELIMITER); font = (GVTFont)aci.getAttribute(GVT_FONT); if (font == null) { font = new AWTGVTFont(aci.getAttributes()); } fontStart = aciIdx; } float chAdv = getCharAdvance(); adj += chAdv; if (isPrinting()) { chIdx = idx; float chW = getCharWidth(); adv = adj-(chAdv-chW); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/29a29b7079501f40905d35ddf6490c3256f89a34/GlyphIterator.java/buggy/sources/org/apache/batik/gvt/text/GlyphIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21865, 1435, 288, 3639, 309, 14015, 343, 422, 348, 3932, 56, 67, 44, 61, 8939, 1157, 13, 1377, 747, 2398, 261, 343, 422, 18449, 67, 10023, 67, 6616, 13, 747, 5411, 261, 343, 422, 18449, 67, 10023, 67, 18800, 654, 3719, 288, 5411, 368, 13409, 5057, 364, 8971, 4855, 28776, 471, 3634, 17, 2819, 7292, 5411, 11404, 18, 542, 15141, 6207, 12, 3465, 16, 629, 1769, 5411, 1431, 462, 28915, 273, 23577, 1871, 5882, 5621, 5411, 1431, 462, 59, 282, 273, 23577, 2384, 5621, 5411, 17825, 3947, 462, 59, 31, 5411, 8307, 3947, 462, 28915, 31, 5411, 309, 261, 4482, 10544, 4223, 422, 446, 13, 288, 7734, 2002, 10544, 4223, 273, 394, 509, 63, 21, 15533, 7734, 2002, 10544, 4223, 63, 20, 65, 273, 2067, 31, 7734, 2002, 10544, 31787, 273, 394, 1431, 63, 21, 15533, 7734, 2002, 10544, 31787, 63, 20, 65, 273, 462, 28915, 31, 5411, 289, 469, 288, 7734, 509, 5378, 394, 3910, 10544, 4223, 273, 394, 509, 63, 4482, 10544, 4223, 18, 2469, 15, 21, 15533, 7734, 364, 261, 474, 277, 33, 20, 31, 277, 32, 4482, 10544, 4223, 18, 2469, 31, 277, 27245, 10792, 394, 3910, 10544, 4223, 63, 77, 65, 273, 2002, 10544, 4223, 63, 77, 15533, 7734, 394, 3910, 10544, 4223, 63, 4482, 10544, 4223, 18, 2469, 65, 273, 2067, 31, 7734, 2002, 10544, 4223, 273, 394, 3910, 10544, 4223, 31, 7734, 1431, 5378, 394, 3910, 10544, 31787, 273, 394, 1431, 63, 4482, 10544, 31787, 18, 2469, 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, 21865, 1435, 288, 3639, 309, 14015, 343, 422, 348, 3932, 56, 67, 44, 61, 8939, 1157, 13, 1377, 747, 2398, 261, 343, 422, 18449, 67, 10023, 67, 6616, 13, 747, 5411, 261, 343, 422, 18449, 67, 10023, 67, 18800, 654, 3719, 288, 5411, 368, 13409, 5057, 364, 8971, 4855, 28776, 471, 3634, 17, 2819, 7292, 5411, 11404, 18, 542, 15141, 6207, 12, 3465, 16, 629, 1769, 5411, 1431, 462, 28915, 273, 23577, 1871, 5882, 5621, 5411, 1431, 462, 59, 282, 273, 23577, 2384, 5621, 5411, 17825, 3947, 462, 59, 31, 5411, 8307, 3947, 462, 28915, 31, 5411, 309, 261, 4482, 10544, 4223, 422, 446, 13, 288, 7734, 2002, 10544, 4223, 273, 394, 509, 63, 21, 15533, 2 ]
viewer.setDocument(document);
viewer.setDocument(document, prefix.length(), document.getLength() - prefix.length());
private SourceViewer createEditor(Composite parent) { IDocument document= new Document(fTemplate.getPattern()); JavaTextTools tools= JavaPlugin.getDefault().getJavaTextTools(); tools.setupJavaDocumentPartitioner(document, IJavaPartitions.JAVA_PARTITIONING); IPreferenceStore store= JavaPlugin.getDefault().getCombinedPreferenceStore(); SourceViewer viewer= new JavaSourceViewer(parent, null, null, false, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL, store); TemplateEditorSourceViewerConfiguration configuration= new TemplateEditorSourceViewerConfiguration(tools.getColorManager(), store, null, fTemplateProcessor); viewer.configure(configuration); viewer.setEditable(true); viewer.setDocument(document); Font font= JFaceResources.getFont(PreferenceConstants.EDITOR_TEXT_FONT); viewer.getTextWidget().setFont(font); new JavaSourcePreviewerUpdater(viewer, configuration, store); int nLines= document.getNumberOfLines(); if (nLines < 5) { nLines= 5; } else if (nLines > 12) { nLines= 12; } Control control= viewer.getControl(); GridData data= new GridData(GridData.FILL_BOTH); data.widthHint= convertWidthInCharsToPixels(80); data.heightHint= convertHeightInCharsToPixels(nLines); control.setLayoutData(data); viewer.addTextListener(new ITextListener() { public void textChanged(TextEvent event) { if (event .getDocumentEvent() != null) doSourceChanged(event.getDocumentEvent().getDocument()); } }); viewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { updateSelectionDependentActions(); } }); viewer.prependVerifyKeyListener(new VerifyKeyListener() { public void verifyKey(VerifyEvent event) { handleVerifyKeyPressed(event); } }); return viewer; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e1cf258368a0358708384121991e365ff348300c/EditTemplateDialog.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4998, 18415, 752, 6946, 12, 9400, 982, 13, 288, 202, 202, 734, 504, 650, 1668, 33, 394, 4319, 12, 74, 2283, 18, 588, 3234, 10663, 202, 202, 5852, 1528, 10348, 8513, 33, 5110, 3773, 18, 588, 1868, 7675, 588, 5852, 1528, 10348, 5621, 202, 202, 6642, 18, 8401, 5852, 2519, 7003, 264, 12, 5457, 16, 467, 5852, 13738, 18, 27264, 67, 15055, 7022, 1360, 1769, 202, 202, 45, 9624, 2257, 1707, 33, 5110, 3773, 18, 588, 1868, 7675, 588, 27994, 9624, 2257, 5621, 202, 202, 1830, 18415, 14157, 33, 394, 5110, 1830, 18415, 12, 2938, 16, 446, 16, 446, 16, 629, 16, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 16, 1707, 1769, 202, 202, 2283, 6946, 1830, 18415, 1750, 1664, 33, 394, 5035, 6946, 1830, 18415, 1750, 12, 6642, 18, 588, 2957, 1318, 9334, 1707, 16, 446, 16, 284, 2283, 5164, 1769, 202, 202, 25256, 18, 14895, 12, 7025, 1769, 202, 202, 25256, 18, 542, 15470, 12, 3767, 1769, 202, 202, 25256, 18, 542, 2519, 12, 5457, 1769, 9506, 202, 5711, 3512, 33, 804, 11824, 3805, 18, 588, 5711, 12, 9624, 2918, 18, 13208, 67, 5151, 67, 25221, 1769, 202, 202, 25256, 18, 588, 1528, 4609, 7675, 542, 5711, 12, 5776, 1769, 202, 202, 2704, 5110, 1830, 11124, 264, 15305, 12, 25256, 16, 1664, 16, 1707, 1769, 9506, 202, 474, 290, 5763, 33, 1668, 18, 588, 9226, 5763, 5621, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4998, 18415, 752, 6946, 12, 9400, 982, 13, 288, 202, 202, 734, 504, 650, 1668, 33, 394, 4319, 12, 74, 2283, 18, 588, 3234, 10663, 202, 202, 5852, 1528, 10348, 8513, 33, 5110, 3773, 18, 588, 1868, 7675, 588, 5852, 1528, 10348, 5621, 202, 202, 6642, 18, 8401, 5852, 2519, 7003, 264, 12, 5457, 16, 467, 5852, 13738, 18, 27264, 67, 15055, 7022, 1360, 1769, 202, 202, 45, 9624, 2257, 1707, 33, 5110, 3773, 18, 588, 1868, 7675, 588, 27994, 9624, 2257, 5621, 202, 202, 1830, 18415, 14157, 33, 394, 5110, 1830, 18415, 12, 2938, 16, 446, 16, 446, 16, 629, 16, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 58, 67, 2312, 14555, 571, 2 ]
String respFileName = "MDSCHEMA_PROPERTIES_out.xml";
public void testMDProperties() throws Exception { String requestType = "MDSCHEMA_PROPERTIES"; String reqFileName = "RT_DSI_C_in.xml"; String respFileName = "MDSCHEMA_PROPERTIES_out.xml"; Properties props = new Properties(); props.setProperty(REQUEST_TYPE_PROP, requestType); props.setProperty(DATA_SOURCE_INFO_PROP, DATA_SOURCE_INFO); doTest(requestType, reqFileName, respFileName, props); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/c1ccf8b7b681bb9b33ee666b7c902bb8f9d2b919/XmlaBasicTest.java/buggy/testsrc/main/mondrian/xmla/XmlaBasicTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6188, 2297, 1435, 1216, 1185, 288, 3639, 514, 27179, 273, 315, 49, 3948, 11355, 67, 17421, 14432, 3639, 514, 1111, 4771, 273, 315, 12185, 67, 40, 2320, 67, 39, 67, 267, 18, 2902, 14432, 9079, 6183, 3458, 273, 394, 6183, 5621, 3639, 3458, 18, 542, 1396, 12, 5519, 67, 2399, 67, 15811, 16, 27179, 1769, 3639, 3458, 18, 542, 1396, 12, 4883, 67, 6537, 67, 5923, 67, 15811, 16, 8730, 67, 6537, 67, 5923, 1769, 3639, 741, 4709, 12, 2293, 559, 16, 1111, 4771, 16, 1718, 4771, 16, 3458, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6188, 2297, 1435, 1216, 1185, 288, 3639, 514, 27179, 273, 315, 49, 3948, 11355, 67, 17421, 14432, 3639, 514, 1111, 4771, 273, 315, 12185, 67, 40, 2320, 67, 39, 67, 267, 18, 2902, 14432, 9079, 6183, 3458, 273, 394, 6183, 5621, 3639, 3458, 18, 542, 1396, 12, 5519, 67, 2399, 67, 15811, 16, 27179, 1769, 3639, 3458, 18, 542, 1396, 12, 4883, 67, 6537, 67, 5923, 67, 15811, 16, 8730, 67, 6537, 67, 5923, 1769, 3639, 741, 4709, 12, 2293, 559, 16, 1111, 4771, 16, 1718, 4771, 16, 3458, 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 ]
System.out.println("PictReader.openBytes: 24-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length);
debug("openBytes: 24-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length);
public BufferedImage open(byte[] pix) throws FormatException { // handles case when we call this method directly, instead of // through initFile(String) if (debug) System.out.println("PictReader.open"); strips = new Vector(); state = 0; pictState = INITIAL; bytes = pix; pt = 0; try { while (driveDecoder()) { } } catch (FormatException e) { e.printStackTrace(); return ImageTools.makeBuffered(qtTools.pictToImage(pix)); } // combine everything in the strips Vector if ((height*4 < strips.size()) && (((strips.size() / 3) % height) != 0)) { height = strips.size(); } if (strips.size() == 0) { return ImageTools.makeBuffered(qtTools.pictToImage(pix)); } if (lookup != null && !ignoreColorTable) { // 8 bit data short[][] data = new short[3][height * width]; byte[] row; for (int i=0; i<height; i++) { row = (byte[]) strips.get(i); for (int j=0; j<row.length; j++) { if (j < width) { int ndx = row[j]; if (ndx < 0) ndx += lookup[0].length; ndx = ndx % lookup[0].length; int outIndex = i*width + j; if (outIndex >= data[0].length) outIndex = data[0].length - 1; data[0][outIndex] = lookup[0][ndx]; data[1][outIndex] = lookup[1][ndx]; data[2][outIndex] = lookup[2][ndx]; } else j = row.length; } } if (debug) { System.out.println("PictReader.openBytes: 8-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length); } return ImageTools.makeImage(data, width, height); } else if (ignoreColorTable) { byte[][] data = new byte[1][width * height]; byte[] row; for (int i=0; i<height; i++) { row = (byte[]) strips.get(i); System.arraycopy(row, 0, data[0], i*width, width); } return ImageTools.makeImage(data, width, height); } else if (height*3 == strips.size()) { // 24 bit data byte[][] data = new byte[3][width * height]; int outIndex = 0; for (int i=0; i<3*height; i+=3) { byte[] c0 = (byte[]) strips.get(i); byte[] c1 = (byte[]) strips.get(i+1); byte[] c2 = (byte[]) strips.get(i+2); System.arraycopy(c0, 0, data[0], outIndex, c0.length); System.arraycopy(c1, 0, data[1], outIndex, c1.length); System.arraycopy(c2, 0, data[2], outIndex, c2.length); outIndex += width; } if (debug) { System.out.println("PictReader.openBytes: 24-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length); } return ImageTools.makeImage(data, width, height); } else if (height*4 == strips.size()) { // 32 bit data byte[][] data = new byte[3][width * height]; int outIndex = 0; for (int i=0; i<4*height; i+=4) { //byte[] a = (byte[]) strips.get(i); byte[] r = (byte[]) strips.get(i+1); byte[] g = (byte[]) strips.get(i+2); byte[] b = (byte[]) strips.get(i+3); System.arraycopy(r, 0, data[0], outIndex, r.length); System.arraycopy(g, 0, data[1], outIndex, g.length); System.arraycopy(b, 0, data[2], outIndex, b.length); //System.arraycopy(a, 0, data[3], outIndex, a.length); outIndex += width; } if (debug) { System.out.println("PictReader.openBytes: 32-bit data, " + width + " x " + height + ", length=" + data.length + "x" + data[0].length); } return ImageTools.makeImage(data, width, height); } else { // 16 bit data short[] data = new short[3 * height * width]; int outIndex = 0; for (int i=0; i<height; i++) { int[] row = (int[]) strips.get(i); for (int j=0; j<row.length; j++, outIndex+=3) { if (j < width) { if (outIndex >= data.length - 2) break; int s0 = (row[j] & 0x1f); int s1 = (row[j] & 0x3e0) >> 5; // 0x1f << 5; int s2 = (row[j] & 0x7c00) >> 10; // 0x1f << 10; data[outIndex] = (short) s2; data[outIndex+1] = (short) s1; data[outIndex+2] = (short) s0; } else j = row.length; } } if (debug) { System.out.println("PictReader.openBytes: 16-bit data, " + width + " x " + height + ", length=" + data.length); } return ImageTools.makeImage(data, width, height, 3, true); } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/2c680a5618955854e02d652bc68024b9a011950a/PictReader.java/buggy/loci/formats/in/PictReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12362, 1696, 12, 7229, 8526, 11871, 13, 1216, 4077, 503, 288, 565, 368, 7372, 648, 1347, 732, 745, 333, 707, 5122, 16, 3560, 434, 565, 368, 3059, 1208, 812, 12, 780, 13, 565, 309, 261, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 52, 933, 2514, 18, 3190, 8863, 565, 2569, 87, 273, 394, 5589, 5621, 565, 919, 273, 374, 31, 565, 293, 933, 1119, 273, 28226, 31, 565, 1731, 273, 11871, 31, 565, 5818, 273, 374, 31, 565, 775, 288, 1377, 1323, 261, 25431, 7975, 10756, 288, 289, 565, 289, 565, 1044, 261, 9291, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 327, 3421, 10348, 18, 6540, 17947, 12, 23311, 10348, 18, 84, 933, 774, 2040, 12, 14861, 10019, 565, 289, 565, 368, 8661, 7756, 316, 326, 2569, 87, 5589, 565, 309, 14015, 4210, 14, 24, 411, 2569, 87, 18, 1467, 10756, 597, 261, 12443, 6406, 87, 18, 1467, 1435, 342, 890, 13, 738, 2072, 13, 480, 374, 3719, 288, 1377, 2072, 273, 2569, 87, 18, 1467, 5621, 565, 289, 565, 309, 261, 6406, 87, 18, 1467, 1435, 422, 374, 13, 288, 1377, 327, 3421, 10348, 18, 6540, 17947, 12, 23311, 10348, 18, 84, 933, 774, 2040, 12, 14861, 10019, 565, 289, 565, 309, 261, 8664, 480, 446, 597, 401, 6185, 2957, 1388, 13, 288, 1377, 368, 1725, 2831, 501, 1377, 3025, 63, 6362, 65, 501, 273, 394, 3025, 63, 23, 6362, 4210, 380, 1835, 15533, 1377, 1160, 8526, 1027, 31, 1377, 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, 12362, 1696, 12, 7229, 8526, 11871, 13, 1216, 4077, 503, 288, 565, 368, 7372, 648, 1347, 732, 745, 333, 707, 5122, 16, 3560, 434, 565, 368, 3059, 1208, 812, 12, 780, 13, 565, 309, 261, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 52, 933, 2514, 18, 3190, 8863, 565, 2569, 87, 273, 394, 5589, 5621, 565, 919, 273, 374, 31, 565, 293, 933, 1119, 273, 28226, 31, 565, 1731, 273, 11871, 31, 565, 5818, 273, 374, 31, 565, 775, 288, 1377, 1323, 261, 25431, 7975, 10756, 288, 289, 565, 289, 565, 1044, 261, 9291, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 327, 3421, 10348, 18, 6540, 17947, 12, 23311, 10348, 18, 84, 933, 2 ]
partListeners.firePartHidden(part);
partListeners2.firePartHidden(ref);
public void propertyChange(PropertyChangeEvent event) { String property = event.getProperty(); if (IWorkingSetManager.CHANGE_WORKING_SET_REMOVE.equals(property) && event.getOldValue().equals(workingSet)) { setWorkingSet(null); } else if(LayoutPart.PROP_VISIBILITY.equals(property)) { WorkbenchPartReference ref = (WorkbenchPartReference)((PartPane)event.getSource()).getPartReference(); IWorkbenchPart part = ref.getPart(Boolean.TRUE.equals(event.getNewValue())); if(ref == null || part == null) return; if(Boolean.TRUE.equals(event.getNewValue())) partListeners.firePartVisible(part); else partListeners.firePartHidden(part); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3927ef725ff1f47354c3825af835c364375b4916/WorkbenchPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 871, 13, 288, 1082, 202, 780, 1272, 273, 871, 18, 588, 1396, 5621, 1082, 202, 430, 261, 45, 14836, 694, 1318, 18, 14473, 67, 10566, 1360, 67, 4043, 67, 22122, 18, 14963, 12, 4468, 13, 597, 4697, 202, 2575, 18, 588, 7617, 620, 7675, 14963, 12, 20478, 694, 3719, 288, 9506, 202, 542, 14836, 694, 12, 2011, 1769, 1082, 202, 97, 469, 309, 12, 3744, 1988, 18, 15811, 67, 4136, 30310, 18, 14963, 12, 4468, 3719, 288, 9506, 202, 2421, 22144, 1988, 2404, 1278, 273, 261, 2421, 22144, 1988, 2404, 13, 12443, 1988, 8485, 13, 2575, 18, 588, 1830, 1435, 2934, 588, 1988, 2404, 5621, 9506, 202, 45, 2421, 22144, 1988, 1087, 273, 1278, 18, 588, 1988, 12, 5507, 18, 18724, 18, 14963, 12, 2575, 18, 588, 1908, 620, 1435, 10019, 9506, 202, 430, 12, 1734, 422, 446, 747, 1087, 422, 446, 13, 6862, 202, 2463, 31, 9506, 202, 430, 12, 5507, 18, 18724, 18, 14963, 12, 2575, 18, 588, 1908, 620, 1435, 3719, 6862, 202, 2680, 5583, 18, 12179, 1988, 6207, 12, 2680, 1769, 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3043, 12, 1396, 20930, 871, 13, 288, 1082, 202, 780, 1272, 273, 871, 18, 588, 1396, 5621, 1082, 202, 430, 261, 45, 14836, 694, 1318, 18, 14473, 67, 10566, 1360, 67, 4043, 67, 22122, 18, 14963, 12, 4468, 13, 597, 4697, 202, 2575, 18, 588, 7617, 620, 7675, 14963, 12, 20478, 694, 3719, 288, 9506, 202, 542, 14836, 694, 12, 2011, 1769, 1082, 202, 97, 469, 309, 12, 3744, 1988, 18, 15811, 67, 4136, 30310, 18, 14963, 12, 4468, 3719, 288, 9506, 202, 2421, 22144, 1988, 2404, 1278, 273, 261, 2421, 22144, 1988, 2404, 13, 12443, 1988, 8485, 13, 2575, 18, 588, 1830, 1435, 2934, 588, 1988, 2404, 5621, 9506, 202, 45, 2421, 22144, 2 ]
verts2[i][1] = verts3[i][1] = Math.sin(angle); verts2[i][2] = 0.5; verts3[i][2] = -0.5;
verts2[i][2] = verts3[i][2] = Math.sin(angle); verts2[i][1] = 0.5; verts3[i][1] = -0.5;
public static IndexedFaceSet cylinder(boolean side,boolean top,boolean bottom,int n) { int rn = n+1; double[] verts = new double[2*3*rn]; double angle = 0, delta = Math.PI*2/(n); for (int i = 0 ;i<rn; ++i) { angle = i*delta; verts[3*(i+rn)] = verts[3*i] = Math.cos(angle); verts[3*(i+rn)+1] = verts[3*i+1] = Math.sin(angle); verts[3*i+2] = 0.5; verts[3*(i+rn)+2] = -0.5; } QuadMeshFactory qmf = new QuadMeshFactory();//Pn.EUCLIDEAN, n+1, 2, true, false); qmf.setULineCount(n+1); qmf.setVLineCount(2); qmf.setClosedInUDirection(true); qmf.setVertexCoordinates(verts); qmf.setGenerateEdgesFromFaces(true); qmf.setGenerateFaceNormals(true); qmf.setGenerateVertexNormals(true); qmf.update(); IndexedFaceSet geo1= qmf.getIndexedFaceSet(); double[][] verts2 = new double[n][3]; double[][] verts3 = new double[n][3]; for (int i =0; i<n; ++i) { angle = 2 * (i+.5) * Math.PI/n; verts2[i][0] = verts3[i][0] = Math.cos(angle); verts2[i][1] = verts3[i][1] = Math.sin(angle); verts2[i][2] = 0.5; verts3[i][2] = -0.5; } IndexedFaceSet geo2= IndexedFaceSetUtility.constructPolygon(verts2); IndexedFaceSetUtility.assignSmoothVertexNormals(geo2,0,0); IndexedFaceSet geo3= IndexedFaceSetUtility.constructPolygon(verts3); IndexedFaceSetUtility.assignSmoothVertexNormals(geo3,0,0); // GeometrieTeile auswaehlen Vector v=new Vector(); if (side) v.add(geo1); if (top) v.add(geo2); if (bottom)v.add(geo3); IndexedFaceSet[] geos= new IndexedFaceSet[v.size()]; for (int i=0;i<v.size();i++){ geos[i]=(IndexedFaceSet)v.get(i); } if(geos.length==0) return null; IndexedFaceSet result=IndexedFaceSetUtility.mergeIndexedFaceSets(geos); return result; }
25560 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25560/d472c934b91778c1019a52445cc5fb2a517aebd1/VRMLHelper.java/clean/src-io/de/jreality/reader/vrml/VRMLHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 22524, 11824, 694, 27331, 14055, 12, 6494, 4889, 16, 6494, 1760, 16, 6494, 5469, 16, 474, 290, 13, 288, 202, 202, 474, 20594, 273, 290, 15, 21, 31, 202, 202, 9056, 8526, 19853, 273, 394, 1645, 63, 22, 14, 23, 14, 27639, 15533, 202, 202, 9056, 5291, 273, 374, 16, 3622, 273, 2361, 18, 1102, 14, 22, 19, 12, 82, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 274, 77, 32, 27639, 31, 965, 77, 13, 202, 95, 1082, 202, 4341, 273, 277, 14, 9878, 31, 1082, 202, 31537, 63, 23, 21556, 77, 15, 27639, 25887, 282, 273, 19853, 63, 23, 14, 77, 65, 282, 273, 2361, 18, 14445, 12, 4341, 1769, 1082, 202, 31537, 63, 23, 21556, 77, 15, 27639, 27921, 21, 65, 273, 19853, 63, 23, 14, 77, 15, 21, 65, 273, 2361, 18, 21861, 12, 4341, 1769, 1082, 202, 31537, 63, 23, 14, 77, 15, 22, 65, 273, 374, 18, 25, 31, 1082, 202, 31537, 63, 23, 21556, 77, 15, 27639, 27921, 22, 65, 273, 300, 20, 18, 25, 31, 202, 202, 97, 202, 202, 24483, 16748, 1733, 1043, 16126, 273, 394, 27258, 16748, 1733, 5621, 759, 52, 82, 18, 41, 57, 5017, 10385, 1258, 16, 290, 15, 21, 16, 576, 16, 638, 16, 629, 1769, 202, 202, 85, 16126, 18, 542, 1506, 558, 1380, 12, 82, 15, 21, 1769, 202, 202, 85, 16126, 18, 542, 58, 1670, 1380, 12, 22, 1769, 202, 202, 85, 16126, 18, 542, 7395, 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, 22524, 11824, 694, 27331, 14055, 12, 6494, 4889, 16, 6494, 1760, 16, 6494, 5469, 16, 474, 290, 13, 288, 202, 202, 474, 20594, 273, 290, 15, 21, 31, 202, 202, 9056, 8526, 19853, 273, 394, 1645, 63, 22, 14, 23, 14, 27639, 15533, 202, 202, 9056, 5291, 273, 374, 16, 3622, 273, 2361, 18, 1102, 14, 22, 19, 12, 82, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 274, 77, 32, 27639, 31, 965, 77, 13, 202, 95, 1082, 202, 4341, 273, 277, 14, 9878, 31, 1082, 202, 31537, 63, 23, 21556, 77, 15, 27639, 25887, 282, 273, 19853, 63, 23, 14, 77, 65, 282, 273, 2361, 18, 14445, 12, 4341, 1769, 1082, 202, 2 ]
public void run() { hourglassOn(); showTab(_compilerErrorPanel); _compilerErrorPanel.setCompilationInProgress(); _saveAction.setEnabled(false); }
public void run(){ _fileClosed(doc); }
public void run() { // Is this necessary? //CompilerErrorListPane elp = _compilerErrorPanel.getErrorListPane(); //elp.setSize(_tabbedPane.getMinimumSize()); //_setDividerLocation(); hourglassOn(); showTab(_compilerErrorPanel); _compilerErrorPanel.setCompilationInProgress(); _saveAction.setEnabled(false); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/2499b0018a7f137bb1baaaf2d077c26486e3f12e/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 368, 2585, 333, 4573, 35, 1850, 368, 9213, 668, 682, 8485, 415, 84, 273, 389, 9576, 668, 5537, 18, 588, 668, 682, 8485, 5621, 1850, 368, 1992, 18, 542, 1225, 24899, 7032, 2992, 8485, 18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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 368, 2585, 333, 4573, 35, 1850, 368, 9213, 668, 682, 8485, 415, 84, 273, 389, 9576, 668, 5537, 18, 588, 668, 682, 8485, 5621, 1850, 368, 1992, 18, 542, 1225, 24899, 7032, 2992, 8485, 18, 588, 13042, 1225, 10663, 1850, 368, 67, 542, 25558, 2735, 5621, 1850, 6126, 75, 459, 1398, 5621, 1850, 2405, 5661, 24899, 9576, 668, 5537, 1769, 1850, 389, 9576, 668, 5537, 18, 542, 19184, 13434, 5621, 1850, 389, 5688, 1803, 18, 542, 1526, 12, 5743, 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 ]
return JavaUtil.convertJavaToRuby(ruby, method.call(JavaUtil.convertJavaToRuby(ruby, args)));
return JavaUtil.convertJavaToRuby(ruby, method.call(JavaUtil.convertJavaArrayToRuby(ruby, args)));
public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, method.call(JavaUtil.convertJavaToRuby(ruby, args))); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/0a526b01cbfccc8f939ebe1c3b73363469a0bfd5/RubyJavaInterface.java/buggy/org/jruby/RubyJavaInterface.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 4356, 12, 921, 10665, 16, 2985, 709, 572, 16, 1033, 8526, 833, 13, 288, 7734, 327, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 707, 18, 1991, 12, 5852, 1304, 18, 6283, 5852, 1076, 774, 54, 10340, 12, 27768, 16, 833, 3719, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2398, 1071, 1033, 4356, 12, 921, 10665, 16, 2985, 709, 572, 16, 1033, 8526, 833, 13, 288, 7734, 327, 5110, 1304, 18, 6283, 5852, 774, 54, 10340, 12, 27768, 16, 707, 18, 1991, 12, 5852, 1304, 18, 6283, 5852, 1076, 774, 54, 10340, 12, 27768, 16, 833, 3719, 1769, 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 ]
return setField(fieldName, new Boolean(value));
return setField(fieldName, Boolean.valueOf(value));
public MessageFilter setField(String fieldName, boolean value) { return setField(fieldName, new Boolean(value)); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/d69dceaa72feee5ece14b8de951841aa9b614188/MessageFilter.java/clean/src/freenet/io/comm/MessageFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 1586, 16331, 12, 780, 4289, 16, 1250, 460, 13, 288, 202, 202, 2463, 16331, 12, 16163, 16, 394, 3411, 12, 1132, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2350, 1586, 16331, 12, 780, 4289, 16, 1250, 460, 13, 288, 202, 202, 2463, 16331, 12, 16163, 16, 394, 3411, 12, 1132, 10019, 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 ]
public RubyClass newSubClass(String name, RubyModule parent) { return new SymbolMetaClass(name, this, parent);
public RubyClass newSubClass(String name, SinglyLinkedList parentCRef) { return new SymbolMetaClass(name, this, parentCRef);
public RubyClass newSubClass(String name, RubyModule parent) { return new SymbolMetaClass(name, this, parent); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/a1b8fc1d456e3d5c6e01579b88773383068aa85c/SymbolMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/SymbolMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 797, 394, 1676, 797, 12, 780, 508, 16, 19817, 3120, 982, 13, 288, 202, 202, 2463, 394, 8565, 2781, 797, 12, 529, 16, 333, 16, 982, 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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394, 8565, 2781, 797, 12, 529, 16, 333, 16, 982, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int totalLen = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH];
int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH);
void insertOp(int pos, int length, int op) { int totalLen = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; for (int i = totalLen - 1; i >= pos; i--) { m_ops.m_opMap[i + length] = m_ops.m_opMap[i]; } m_ops.m_opMap[pos] = op; m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] = totalLen + length; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/f136f83081069756bcd71950054569f3ad4d2ce5/XPathParser.java/buggy/src/org/apache/xpath/compiler/XPathParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 2243, 3817, 12, 474, 949, 16, 509, 769, 16, 509, 1061, 13, 225, 288, 565, 509, 2078, 2891, 273, 312, 67, 4473, 18, 588, 3817, 12, 3817, 863, 18, 8352, 9199, 67, 7096, 1769, 565, 364, 261, 474, 277, 273, 2078, 2891, 300, 404, 31, 277, 1545, 949, 31, 277, 413, 13, 565, 288, 1377, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 77, 397, 769, 65, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 77, 15533, 565, 289, 565, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 917, 65, 273, 1061, 31, 565, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 2243, 3817, 12, 474, 949, 16, 509, 769, 16, 509, 1061, 13, 225, 288, 565, 509, 2078, 2891, 273, 312, 67, 4473, 18, 588, 3817, 12, 3817, 863, 18, 8352, 9199, 67, 7096, 1769, 565, 364, 261, 474, 277, 273, 2078, 2891, 300, 404, 31, 277, 1545, 949, 31, 277, 413, 13, 565, 288, 1377, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 77, 397, 769, 65, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 77, 15533, 565, 289, 565, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 917, 65, 273, 1061, 31, 565, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 65, 273, 2078, 2 ]
familyName = familyName.replace('*', '%'); controller.setText(familyName);
if (familyName != null){ familyName = familyName.replace('*', '%'); controller.setText(familyName); }
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { RequestDispatcher dispatcher = null; ServletContext context = this.getServletContext(); List<String> errors = new ArrayList<String>(); HttpSession session = req.getSession(); User user = (User) session.getAttribute(ServletConstants.USER_KEY); String nextPage = req.getParameter(ServletConstants.NEXT_PAGE_KEY); String pageToShow = req.getParameter(ServletConstants.PAGE_TO_SHOW_KEY); String action = req.getParameter(ServletConstants.ACTION); logger.debug(nextPage + " | " + pageToShow + " | " + action); String idStr = (String) req.getParameter(ServletConstants.ID); String familyName = req.getParameter(ServletConstants.TEXT_ID); int id = -1; if ((idStr != null) && (idStr.trim().length() > 0)) { id = Integer.parseInt(idStr); } if ((id != -1) || (familyName != null) && (familyName.trim().length() > 0)) { List list = null; PhotoPaginationController controller = (PhotoPaginationController) getPaginationController( session, false, getPaginationConstant()); controller.setId(id); familyName = familyName.replace('*', '%'); controller.setText(familyName); try { list = controller.doAction(action); } catch (InvalidControllerException e) { try { list = controller.doAction(ServletConstants.BEGIN); } catch (InvalidControllerException e1) { // this should never happend logger .fatal( "InvalidControllerException when doing BEGIN action...", e1); } } logger.debug("List of photos retrieved..."); logger.debug("Putting list of photos in session"); session.setAttribute(ServletConstants.PHOTOS_LIST, list); session.setAttribute(ServletConstants.SERVLET_TO_CALL_KEY, getServletToCall()); nextPage = ServletConstants.ALL_PHOTOS_PAGE; // adding the user id to request, so it can be sent back by view req.setAttribute(ServletConstants.ID, idStr); if (user != null) { loggerActions.info("User " + user.getLogin() + " from IP " + req.getRemoteAddr() + " has selected photos - " + getPaginationConstant()); } else { String ip = req.getRemoteAddr(); Locale locale = req.getLocale(); loggerActions.info("Anonymous " + " from IP " + ip + "(" + locale + ") has selected all photos - " + getPaginationConstant()); } } else { errors.add(ServletConstants.SELECT_VALUE_ERROR); req.setAttribute(ServletConstants.NEXT_PAGE_KEY, nextPage); req.setAttribute(ServletConstants.PAGE_TO_SHOW_KEY, pageToShow); req.setAttribute(ServletConstants.ACTION, action); } if (!errors.isEmpty()) { logger.debug("errors is not null."); // put errors in request req.setAttribute(ServletConstants.ERRORS_KEY, errors); } dispatcher = context.getRequestDispatcher(nextPage); logger.debug("Dispatching to " + nextPage); dispatcher.forward(req, res); }
55495 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55495/f1dee2edb7a6ae87fab50b5917a4249ea74502db/AbstractSearchPhotosServlet.java/buggy/core/trunk/src/main/java/net/indrix/arara/servlets/photo/AbstractSearchPhotosServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 5411, 1216, 16517, 16, 1860, 288, 3639, 1567, 6681, 7393, 273, 446, 31, 3639, 22717, 819, 273, 333, 18, 588, 4745, 1042, 5621, 3639, 987, 32, 780, 34, 1334, 273, 394, 2407, 32, 780, 34, 5621, 3639, 26166, 1339, 273, 1111, 18, 588, 2157, 5621, 3639, 2177, 729, 273, 261, 1299, 13, 1339, 18, 588, 1499, 12, 4745, 2918, 18, 4714, 67, 3297, 1769, 3639, 514, 7580, 273, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 25539, 67, 11219, 67, 3297, 1769, 3639, 514, 1363, 774, 5706, 273, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 11219, 67, 4296, 67, 16677, 67, 3297, 1769, 3639, 514, 1301, 273, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 12249, 1769, 7734, 1194, 18, 4148, 12, 4285, 1964, 397, 315, 571, 315, 397, 1363, 774, 5706, 397, 315, 571, 315, 397, 1301, 1769, 7734, 514, 612, 1585, 273, 261, 780, 13, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 734, 1769, 3639, 514, 6755, 461, 273, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 5151, 67, 734, 1769, 3639, 509, 612, 273, 300, 21, 31, 3639, 309, 14015, 350, 1585, 480, 446, 13, 597, 261, 350, 1585, 18, 5290, 7675, 2469, 1435, 405, 374, 3719, 288, 5411, 612, 273, 2144, 18, 2670, 1702, 12, 350, 1585, 1769, 3639, 289, 3639, 309, 14015, 350, 480, 300, 21, 13, 747, 261, 9309, 461, 480, 446, 13, 597, 261, 9309, 461, 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, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 5411, 1216, 16517, 16, 1860, 288, 3639, 1567, 6681, 7393, 273, 446, 31, 3639, 22717, 819, 273, 333, 18, 588, 4745, 1042, 5621, 3639, 987, 32, 780, 34, 1334, 273, 394, 2407, 32, 780, 34, 5621, 3639, 26166, 1339, 273, 1111, 18, 588, 2157, 5621, 3639, 2177, 729, 273, 261, 1299, 13, 1339, 18, 588, 1499, 12, 4745, 2918, 18, 4714, 67, 3297, 1769, 3639, 514, 7580, 273, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 25539, 67, 11219, 67, 3297, 1769, 3639, 514, 1363, 774, 5706, 273, 1111, 18, 588, 1662, 12, 4745, 2918, 18, 11219, 67, 4296, 67, 16677, 67, 3297, 1769, 3639, 514, 1301, 2 ]
int idx = layout.getGlyphIndex(index);
int idx = layout.getGlyphIndex(charIndex);
public Mark getMark(TextNode node, int index, boolean leadingEdge) { AttributedCharacterIterator aci; aci = node.getAttributedCharacterIterator(); aci.setIndex(index); int charIndex = ((Integer)aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.CHAR_INDEX)).intValue(); // get the list of text runs List textRuns = getTextRuns(node, aci); // for each text run, append any highlight it may contain for // the current selection for (int i = 0; i < textRuns.size(); ++i) { TextRun textRun = (TextRun)textRuns.get(i); TextSpanLayout layout = textRun.getLayout(); int idx = layout.getGlyphIndex(index); if (idx != -1) { TextHit textHit = new TextHit(charIndex, leadingEdge); return new BasicTextPainter.BasicMark (node, layout, textHit); } } // Couldn't find it's layout.... return null; }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/2a2a8249ef180b341f0a80b46213f412d90490c7/StrokingTextPainter.java/buggy/sources/org/apache/batik/gvt/renderer/StrokingTextPainter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6622, 23232, 12, 17299, 756, 16, 509, 770, 16, 1250, 7676, 6098, 13, 288, 3639, 2380, 11050, 7069, 3198, 1721, 77, 31, 3639, 1721, 77, 273, 756, 18, 588, 861, 11050, 7069, 3198, 5621, 3639, 1721, 77, 18, 542, 1016, 12, 1615, 1769, 3639, 509, 1149, 1016, 273, 14015, 4522, 13, 1077, 77, 18, 588, 1499, 540, 261, 25269, 56, 861, 11050, 7069, 3198, 18, 1528, 1499, 18, 7305, 67, 9199, 13, 2934, 474, 620, 5621, 3639, 368, 336, 326, 666, 434, 977, 7597, 3639, 987, 977, 9361, 273, 6701, 9361, 12, 2159, 16, 1721, 77, 1769, 3639, 368, 364, 1517, 977, 1086, 16, 714, 1281, 8839, 518, 2026, 912, 364, 3639, 368, 326, 783, 4421, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 977, 9361, 18, 1467, 5621, 965, 77, 13, 288, 5411, 3867, 1997, 977, 1997, 273, 261, 1528, 1997, 13, 955, 9361, 18, 588, 12, 77, 1769, 5411, 3867, 6952, 3744, 3511, 273, 977, 1997, 18, 588, 3744, 5621, 5411, 509, 2067, 273, 3511, 18, 588, 15141, 1016, 12, 3001, 1016, 1769, 5411, 309, 261, 3465, 480, 300, 21, 13, 288, 7734, 3867, 13616, 977, 13616, 273, 394, 3867, 13616, 12, 3001, 1016, 16, 7676, 6098, 1769, 7734, 327, 394, 7651, 1528, 15775, 18, 8252, 3882, 10792, 261, 2159, 16, 3511, 16, 977, 13616, 1769, 4766, 21394, 289, 3639, 289, 3639, 368, 14312, 82, 1404, 1104, 518, 1807, 3511, 6265, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6622, 23232, 12, 17299, 756, 16, 509, 770, 16, 1250, 7676, 6098, 13, 288, 3639, 2380, 11050, 7069, 3198, 1721, 77, 31, 3639, 1721, 77, 273, 756, 18, 588, 861, 11050, 7069, 3198, 5621, 3639, 1721, 77, 18, 542, 1016, 12, 1615, 1769, 3639, 509, 1149, 1016, 273, 14015, 4522, 13, 1077, 77, 18, 588, 1499, 540, 261, 25269, 56, 861, 11050, 7069, 3198, 18, 1528, 1499, 18, 7305, 67, 9199, 13, 2934, 474, 620, 5621, 3639, 368, 336, 326, 666, 434, 977, 7597, 3639, 987, 977, 9361, 273, 6701, 9361, 12, 2159, 16, 1721, 77, 1769, 3639, 368, 364, 1517, 977, 1086, 16, 714, 1281, 8839, 518, 2026, 912, 364, 3639, 368, 326, 783, 4421, 3639, 2 ]
public List getNonExistantFiles() { return nonExistantFiles; }
public List getNonExistantFiles() { return nonExistantFiles; }
public List getNonExistantFiles() { return nonExistantFiles; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/c7df46237917276ee63285ce0eb93b8042bd0c14/FileInputList.java/buggy/src/be/ibridge/kettle/trans/step/fileinput/FileInputList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 28207, 4786, 970, 2697, 1435, 288, 202, 202, 2463, 1661, 4786, 970, 2697, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 28207, 4786, 970, 2697, 1435, 288, 202, 202, 2463, 1661, 4786, 970, 2697, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected Object evaluateObjectObject(Object lhs, Object rhs)
protected boolean evaluateObjectObject( Object lhs, Object rhs )
protected Object evaluateObjectObject(Object lhs, Object rhs) { if ( lhs.equals( rhs ) ) { return Boolean.FALSE; } return Boolean.TRUE; }
47970 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47970/7e35b47dd69649799012aff2cacca03d2777a02c/DefaultNotEqualsExpr.java/buggy/src/java/main/org/jaxen/expr/DefaultNotEqualsExpr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 5956, 921, 921, 12, 921, 8499, 16, 4766, 1850, 1033, 7711, 13, 565, 288, 3639, 309, 261, 8499, 18, 14963, 12, 7711, 262, 262, 3639, 288, 5411, 327, 3411, 18, 21053, 31, 3639, 289, 3639, 327, 3411, 18, 18724, 31, 565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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 5956, 921, 921, 12, 921, 8499, 16, 4766, 1850, 1033, 7711, 13, 565, 288, 3639, 309, 261, 8499, 18, 14963, 12, 7711, 262, 262, 3639, 288, 5411, 327, 3411, 18, 21053, 31, 3639, 289, 3639, 327, 3411, 18, 18724, 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 ]
boolean advancedDarknetEnabled = fproxyConfig.getBoolean("advancedDarknetEnabled");
this.advancedDarknetEnabled = fproxyConfig.getBoolean("advancedDarknetEnabled");
public SimpleToadletServer(SubConfig fproxyConfig, Node node) throws IOException, InvalidConfigValueException { fproxyConfig.register("enabled", true, 1, true, "Enable FProxy?", "Whether to enable FProxy and related HTTP services", new FProxyEnabledCallback()); boolean enabled = fproxyConfig.getBoolean("enabled"); fproxyConfig.register("port", DEFAULT_FPROXY_PORT, 2, true, "FProxy port number", "FProxy port number", new FProxyPortCallback()); fproxyConfig.register("bindTo", "127.0.0.1", 2, true, "IP address to bind to", "IP address to bind to", new FProxyBindtoCallback()); fproxyConfig.register("allowedHosts", "127.0.0.1", 2, true, "Allowed hosts", "Hostnames or IP addresses that are allowed to connect to FProxy. May be a comma-separated list of hostnames, single IPs and even CIDR masked IPs like 192.168.0.0/24", new FProxyAllowedHostsCallback()); fproxyConfig.register("css", "clean", 1, true, "CSS Name", "Name of the CSS FProxy should use", new FProxyCSSNameCallback()); fproxyConfig.register("advancedDarknetEnabled", false, 1, true, "Enable Advanced Darknet?", "Whether to enable show information meant for advanced users/devs on /darkenet/ page", new FProxyAdvancedDarknetEnabledCallback()); this.bf = node.tempBucketFactory; port = fproxyConfig.getInt("port"); bindTo = fproxyConfig.getString("bindTo"); allowedHosts = fproxyConfig.getString("allowedHosts"); cssName = fproxyConfig.getString("css"); if(cssName.indexOf(':') != -1 || cssName.indexOf('/') != -1) throw new InvalidConfigValueException("CSS name must not contain slashes or colons!"); boolean advancedDarknetEnabled = fproxyConfig.getBoolean("advancedDarknetEnabled"); toadlets = new LinkedList(); node.setToadletContainer(this); // even if not enabled, because of config if(!enabled) { Logger.normal(node, "Not starting FProxy as it's disabled"); System.out.println("Not starting FProxy as it's disabled"); this.networkInterface = null; } else { this.networkInterface = new NetworkInterface(port, this.bindTo, this.allowedHosts); myThread = new Thread(this, "SimpleToadletServer"); myThread.setDaemon(true); myThread.start(); Logger.normal(this, "Starting FProxy on "+bindTo+":"+port); System.out.println("Starting FProxy on "+bindTo+":"+port); } }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/6183394dbb83d13031edd2f8599c8b0826910817/SimpleToadletServer.java/clean/src/freenet/clients/http/SimpleToadletServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4477, 774, 361, 1810, 2081, 12, 1676, 809, 284, 5656, 809, 16, 2029, 756, 13, 1216, 1860, 16, 1962, 809, 9738, 288, 9506, 202, 74, 5656, 809, 18, 4861, 2932, 5745, 3113, 638, 16, 404, 16, 638, 16, 315, 8317, 478, 3886, 35, 3113, 315, 18247, 358, 4237, 478, 3886, 471, 3746, 2239, 4028, 3113, 9506, 202, 2704, 478, 3886, 1526, 2428, 10663, 9506, 202, 6494, 3696, 273, 284, 5656, 809, 18, 588, 5507, 2932, 5745, 8863, 9506, 202, 74, 5656, 809, 18, 4861, 2932, 655, 3113, 3331, 67, 42, 16085, 67, 6354, 16, 576, 16, 638, 16, 315, 42, 3886, 1756, 1300, 3113, 315, 42, 3886, 1756, 1300, 3113, 9506, 202, 2704, 478, 3886, 2617, 2428, 10663, 202, 202, 74, 5656, 809, 18, 4861, 2932, 4376, 774, 3113, 315, 14260, 18, 20, 18, 20, 18, 21, 3113, 576, 16, 638, 16, 315, 2579, 1758, 358, 1993, 358, 3113, 315, 2579, 1758, 358, 1993, 358, 3113, 9506, 202, 2704, 478, 3886, 3357, 869, 2428, 10663, 202, 202, 74, 5656, 809, 18, 4861, 2932, 8151, 12172, 3113, 315, 14260, 18, 20, 18, 20, 18, 21, 3113, 576, 16, 638, 16, 315, 5042, 7206, 3113, 315, 2594, 1973, 578, 2971, 6138, 716, 854, 2935, 358, 3077, 358, 478, 3886, 18, 16734, 506, 279, 8716, 17, 24622, 666, 434, 1479, 1973, 16, 2202, 23842, 471, 5456, 16906, 13196, 23842, 3007, 20217, 18, 23329, 18, 20, 18, 20, 19, 3247, 3113, 9506, 202, 2704, 478, 3886, 5042, 12172, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4477, 774, 361, 1810, 2081, 12, 1676, 809, 284, 5656, 809, 16, 2029, 756, 13, 1216, 1860, 16, 1962, 809, 9738, 288, 9506, 202, 74, 5656, 809, 18, 4861, 2932, 5745, 3113, 638, 16, 404, 16, 638, 16, 315, 8317, 478, 3886, 35, 3113, 315, 18247, 358, 4237, 478, 3886, 471, 3746, 2239, 4028, 3113, 9506, 202, 2704, 478, 3886, 1526, 2428, 10663, 9506, 202, 6494, 3696, 273, 284, 5656, 809, 18, 588, 5507, 2932, 5745, 8863, 9506, 202, 74, 5656, 809, 18, 4861, 2932, 655, 3113, 3331, 67, 42, 16085, 67, 6354, 16, 576, 16, 638, 16, 315, 42, 3886, 1756, 1300, 3113, 315, 42, 3886, 1756, 1300, 3113, 9506, 202, 2704, 478, 3886, 2617, 2 ]
public void terminate() { // Destroy any MI Inferior inferior.destroy(); // send the exit. try { MIGDBExit exit = factory.createMIGDBExit(); postCommand(exit); } catch (MIException e) { } // Explicitely close the channels try { inChannel.close(); } catch (IOException e) { } inChannel = null; try { outChannel.close(); } catch (IOException e) { } // This is __needed__ to stop the txThread and eventThread. outChannel = null; // Make sure all threads are gone. try { if (txThread.isAlive()) { txThread.interrupt(); } txThread.join(); } catch (InterruptedException e) { } try { if (rxThread.isAlive()) { rxThread.interrupt(); } rxThread.join(); } catch (InterruptedException e) { } try { if (eventThread.isAlive()) { eventThread.interrupt(); } eventThread.join(); } catch (InterruptedException e) { } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/fa183e80b0b768db710947c5319e59f56b9cbd00/MISession.java/buggy/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MISession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10850, 1435, 288, 202, 202, 759, 15701, 1281, 20806, 657, 586, 9659, 202, 202, 25889, 9659, 18, 11662, 5621, 202, 202, 759, 1366, 326, 2427, 18, 202, 202, 698, 288, 1082, 202, 49, 3047, 2290, 6767, 2427, 273, 3272, 18, 2640, 49, 3047, 2290, 6767, 5621, 1082, 202, 2767, 2189, 12, 8593, 1769, 202, 202, 97, 1044, 261, 7492, 503, 425, 13, 288, 202, 202, 97, 202, 202, 759, 24321, 2357, 1746, 326, 5750, 202, 202, 698, 288, 1082, 202, 267, 2909, 18, 4412, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 202, 202, 97, 202, 202, 267, 2909, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 659, 2909, 18, 4412, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 202, 202, 97, 202, 202, 759, 1220, 353, 1001, 17471, 972, 358, 2132, 326, 2229, 3830, 471, 871, 3830, 18, 202, 202, 659, 2909, 273, 446, 31, 9506, 202, 759, 4344, 3071, 777, 7403, 854, 22296, 18, 202, 202, 698, 288, 1082, 202, 430, 261, 978, 3830, 18, 291, 10608, 10756, 288, 9506, 202, 978, 3830, 18, 31847, 5621, 1082, 202, 97, 1082, 202, 978, 3830, 18, 5701, 5621, 202, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 202, 202, 97, 9506, 202, 698, 288, 1082, 202, 430, 261, 20122, 3830, 18, 291, 10608, 10756, 288, 9506, 202, 20122, 3830, 18, 31847, 5621, 1082, 202, 97, 1082, 202, 20122, 3830, 18, 5701, 5621, 202, 202, 97, 1044, 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, 10850, 1435, 288, 202, 202, 759, 15701, 1281, 20806, 657, 586, 9659, 202, 202, 25889, 9659, 18, 11662, 5621, 202, 202, 759, 1366, 326, 2427, 18, 202, 202, 698, 288, 1082, 202, 49, 3047, 2290, 6767, 2427, 273, 3272, 18, 2640, 49, 3047, 2290, 6767, 5621, 1082, 202, 2767, 2189, 12, 8593, 1769, 202, 202, 97, 1044, 261, 7492, 503, 425, 13, 288, 202, 202, 97, 202, 202, 759, 24321, 2357, 1746, 326, 5750, 202, 202, 698, 288, 1082, 202, 267, 2909, 18, 4412, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 202, 202, 97, 202, 202, 267, 2909, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 659, 2909, 18, 4412, 5621, 2 ]
(westBorderType == HSSFCellStyle.BORDER_THICK)
(westBorderType == HSSFCellStyle.BORDER_THICK)
private void paintNormalBorders(Graphics g, int x, int y, int width, int height) { if (northBorder && ((northBorderType == HSSFCellStyle.BORDER_THIN) || (northBorderType == HSSFCellStyle.BORDER_MEDIUM) || (northBorderType == HSSFCellStyle.BORDER_THICK) ) ) { int thickness = getThickness(northBorderType); g.setColor(northColor); for (int k=0; k < thickness; k++) { g.drawLine(x,y+k,width,y+k); } } if (eastBorder && ((eastBorderType == HSSFCellStyle.BORDER_THIN) || (eastBorderType == HSSFCellStyle.BORDER_MEDIUM) || (eastBorderType == HSSFCellStyle.BORDER_THICK) ) ) { int thickness = getThickness(eastBorderType); g.setColor(eastColor); for (int k=0; k < thickness; k++) { g.drawLine(width-k,y,width-k,height); } } if (southBorder && ((southBorderType == HSSFCellStyle.BORDER_THIN) || (southBorderType == HSSFCellStyle.BORDER_MEDIUM) || (southBorderType == HSSFCellStyle.BORDER_THICK) ) ) { int thickness = getThickness(southBorderType); g.setColor(southColor); for (int k=0; k < thickness; k++) { g.drawLine(x,height - k,width,height - k); } } if (westBorder && ((westBorderType == HSSFCellStyle.BORDER_THIN) || (westBorderType == HSSFCellStyle.BORDER_MEDIUM) || (westBorderType == HSSFCellStyle.BORDER_THICK) ) ) { int thickness = getThickness(westBorderType); g.setColor(westColor); for (int k=0; k < thickness; k++) { g.drawLine(x+k,y,x+k,height); } } }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/f17a8bdf43e9f96005f3e20ce5c31c89a36575ea/SVBorder.java/buggy/src/contrib/src/org/apache/poi/hssf/contrib/view/SVBorder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 12574, 5506, 21621, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 1835, 16, 4766, 282, 509, 2072, 13, 288, 2398, 309, 261, 82, 7825, 8107, 597, 2868, 14015, 82, 7825, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 2455, 706, 13, 747, 2868, 261, 82, 7825, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 15971, 2799, 13, 747, 2868, 261, 82, 7825, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 2455, 16656, 13, 2868, 262, 540, 262, 288, 3639, 509, 27199, 273, 336, 1315, 19517, 12, 82, 7825, 8107, 559, 1769, 4202, 202, 75, 18, 542, 2957, 12, 82, 7825, 2957, 1769, 540, 364, 261, 474, 417, 33, 20, 31, 417, 411, 27199, 31, 417, 27245, 288, 6647, 314, 18, 9446, 1670, 12, 92, 16, 93, 15, 79, 16, 2819, 16, 93, 15, 79, 1769, 3639, 289, 1377, 289, 1377, 309, 261, 30318, 8107, 597, 2868, 14015, 30318, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 2455, 706, 13, 747, 2868, 261, 30318, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 15971, 2799, 13, 747, 2868, 261, 30318, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 2455, 16656, 13, 2868, 262, 540, 262, 288, 3639, 509, 27199, 273, 336, 1315, 19517, 12, 30318, 8107, 559, 1769, 4202, 202, 75, 18, 542, 2957, 12, 30318, 2957, 1769, 540, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 12574, 5506, 21621, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 509, 1835, 16, 4766, 282, 509, 2072, 13, 288, 2398, 309, 261, 82, 7825, 8107, 597, 2868, 14015, 82, 7825, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 2455, 706, 13, 747, 2868, 261, 82, 7825, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 15971, 2799, 13, 747, 2868, 261, 82, 7825, 8107, 559, 422, 670, 1260, 42, 4020, 2885, 18, 38, 7954, 67, 2455, 16656, 13, 2868, 262, 540, 262, 288, 3639, 509, 27199, 273, 336, 1315, 19517, 12, 82, 7825, 8107, 559, 1769, 4202, 202, 75, 18, 542, 2957, 12, 82, 7825, 2957, 2 ]
if (Default.ucd.getVersion().equals("3.2.0")) {
if (Default.ucd().getVersion().equals("3.2.0")) {
public static void generateCompExclusions() throws IOException { Default.setUCD(); String newFile = "DerivedData/CompositionExclusions" + getFileSuffix(true); PrintWriter output = Utility.openPrintWriter(newFile, Utility.LATIN1_UNIX); String[] batName = {""}; String mostRecent = generateBat("DerivedData/", "CompositionExclusions", getFileSuffix(true), batName); output.println("# CompositionExclusions" + getFileSuffix(false)); output.println(generateDateLine()); output.println("#"); output.println("# This file lists the characters from the UAX #15 Composition Exclusion Table."); output.println("#"); if (Default.ucd.getVersion().equals("3.2.0")) { output.println("# The format of the comments in this file has been updated since the last version,"); output.println("# CompositionExclusions-3.txt. The only substantive change to this file between that"); output.println("# version and this one is the addition of U+2ADC FORKING."); output.println("#"); } output.println("# For more information, see"); output.println("# http://www.unicode.org/unicode/reports/tr15/#Primary Exclusion List Table"); 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, 1).print(); output.println(HORIZONTAL_LINE); output.println("# (2) Post Composition Version precomposed characters"); output.println("# These characters cannot be derived solely from the UnicodeData.txt file"); output.println("# in this version of Unicode."); output.println(HORIZONTAL_LINE); output.println(); new CompLister(output, 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, 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, 4).print(); output.close(); Utility.renameIdentical(mostRecent, Utility.getOutputName(newFile), batName[0]); }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/d1ef79fafdbbeaaf4dcbaa9d3c534754c217d955/GenerateData.java/buggy/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, 3639, 2989, 18, 542, 57, 10160, 5621, 3639, 514, 20592, 273, 315, 21007, 751, 19, 28940, 424, 25364, 6, 397, 6034, 5791, 12, 3767, 1769, 3639, 14071, 876, 273, 13134, 18, 3190, 5108, 2289, 12, 2704, 812, 16, 13134, 18, 20095, 21, 67, 10377, 60, 1769, 3639, 514, 8526, 27464, 461, 273, 288, 3660, 20451, 3639, 514, 4486, 17076, 273, 2103, 38, 270, 2932, 21007, 751, 19, 3113, 315, 28940, 424, 25364, 3113, 6034, 5791, 12, 3767, 3631, 27464, 461, 1769, 7734, 876, 18, 8222, 2932, 7, 1286, 3276, 424, 25364, 6, 397, 6034, 5791, 12, 5743, 10019, 3639, 876, 18, 8222, 12, 7163, 1626, 1670, 10663, 3639, 876, 18, 8222, 2932, 7, 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, 309, 261, 1868, 18, 89, 4315, 7675, 588, 1444, 7675, 14963, 2932, 23, 18, 22, 18, 20, 6, 3719, 288, 5411, 876, 18, 8222, 2932, 7, 1021, 740, 434, 326, 5678, 316, 333, 585, 711, 2118, 3526, 3241, 326, 1142, 1177, 16, 8863, 5411, 876, 18, 8222, 2932, 7, 1286, 3276, 424, 25364, 17, 23, 18, 5830, 18, 1021, 1338, 720, 1452, 688, 2549, 358, 333, 585, 3086, 716, 8863, 5411, 876, 18, 8222, 2932, 7, 1177, 471, 333, 1245, 353, 326, 2719, 434, 587, 15, 22, 1880, 39, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2103, 2945, 424, 25364, 1435, 1216, 1860, 288, 3639, 2989, 18, 542, 57, 10160, 5621, 3639, 514, 20592, 273, 315, 21007, 751, 19, 28940, 424, 25364, 6, 397, 6034, 5791, 12, 3767, 1769, 3639, 14071, 876, 273, 13134, 18, 3190, 5108, 2289, 12, 2704, 812, 16, 13134, 18, 20095, 21, 67, 10377, 60, 1769, 3639, 514, 8526, 27464, 461, 273, 288, 3660, 20451, 3639, 514, 4486, 17076, 273, 2103, 38, 270, 2932, 21007, 751, 19, 3113, 315, 28940, 424, 25364, 3113, 6034, 5791, 12, 3767, 3631, 27464, 461, 1769, 7734, 876, 18, 8222, 2932, 7, 1286, 3276, 424, 25364, 6, 397, 6034, 5791, 12, 5743, 10019, 3639, 876, 18, 8222, 12, 7163, 1626, 1670, 10663, 2 ]
sTemp = sTemp2; vMain.add(lisTabelle);
return vMain;
public BmaVector getLoadOrder() { BmaVector vMain = new BmaVector("LoadOrder"); String sTemp = ""; boolean bLoop = true; int level = 0; while (bLoop) { level = level + 1; String codLivello = Integer.toString(level); JdbcTableList lisTabelle = new JdbcTableList("Level-" + codLivello); bLoop = false; Enumeration e = tables.elements(); String sTemp2 = sTemp; int prog = 0; while (e.hasMoreElements()) { JdbcTable jTable = (JdbcTable)e.nextElement(); if (sTemp.indexOf("|" + jTable.tableName + "|") < 0) { if (jTable.importedKeys.size()==0) { sTemp2 = sTemp2 + "|" + jTable.tableName + "|"; prog++; lisTabelle.getTableList().add(new BmaParametro(getNumeroXChiave(prog, 5), jTable.tableName)); } else { boolean bLoad = true; for (int i = 0; i < jTable.importedKeys.size(); i++){ JdbcImportedKey ref = (JdbcImportedKey)jTable.importedKeys.elementAt(i); if (sTemp.indexOf("|" + ref.pkTableName + "|") < 0) bLoad = false; } if (bLoad) { sTemp2 = sTemp2 + "|" + jTable.tableName + "|"; prog++; lisTabelle.getTableList().add(new BmaParametro(getNumeroXChiave(prog, 5), jTable.tableName)); } else { bLoop = true; } } } } sTemp = sTemp2; vMain.add(lisTabelle); } return vMain;}
11752 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11752/47551d63191be094f3dfc61d8246743e6e944f4b/JdbcModel.java/clean/arconnor/WEB-INF/classes/it/bma/comuni/JdbcModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 605, 2540, 5018, 336, 2563, 2448, 1435, 288, 202, 38, 2540, 5018, 331, 6376, 273, 394, 605, 2540, 5018, 2932, 2563, 2448, 8863, 202, 780, 272, 7185, 273, 1408, 31, 202, 6494, 324, 6452, 273, 638, 31, 202, 474, 1801, 273, 374, 31, 202, 17523, 261, 70, 6452, 13, 288, 202, 202, 2815, 273, 1801, 397, 404, 31, 202, 202, 780, 11012, 48, 427, 8996, 273, 2144, 18, 10492, 12, 2815, 1769, 202, 202, 25316, 1388, 682, 328, 291, 56, 873, 298, 273, 394, 24209, 1388, 682, 2932, 2355, 10951, 397, 11012, 48, 427, 8996, 1769, 202, 202, 70, 6452, 273, 629, 31, 202, 202, 21847, 425, 273, 4606, 18, 6274, 5621, 202, 202, 780, 272, 7185, 22, 273, 272, 7185, 31, 202, 202, 474, 11243, 273, 374, 31, 202, 202, 17523, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 25316, 1388, 525, 1388, 273, 261, 25316, 1388, 13, 73, 18, 4285, 1046, 5621, 1082, 202, 430, 261, 87, 7185, 18, 31806, 2932, 22317, 397, 525, 1388, 18, 18033, 397, 11747, 7923, 411, 374, 13, 288, 9506, 202, 430, 261, 78, 1388, 18, 29266, 2396, 18, 1467, 1435, 631, 20, 13, 288, 6862, 202, 87, 7185, 22, 273, 272, 7185, 22, 397, 15710, 397, 525, 1388, 18, 18033, 397, 11747, 14432, 6862, 202, 14654, 9904, 31, 6862, 202, 80, 291, 56, 873, 298, 18, 588, 1388, 682, 7675, 1289, 12, 2704, 605, 2540, 786, 278, 303, 12, 588, 2578, 2439, 60, 782, 77, 836, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 605, 2540, 5018, 336, 2563, 2448, 1435, 288, 202, 38, 2540, 5018, 331, 6376, 273, 394, 605, 2540, 5018, 2932, 2563, 2448, 8863, 202, 780, 272, 7185, 273, 1408, 31, 202, 6494, 324, 6452, 273, 638, 31, 202, 474, 1801, 273, 374, 31, 202, 17523, 261, 70, 6452, 13, 288, 202, 202, 2815, 273, 1801, 397, 404, 31, 202, 202, 780, 11012, 48, 427, 8996, 273, 2144, 18, 10492, 12, 2815, 1769, 202, 202, 25316, 1388, 682, 328, 291, 56, 873, 298, 273, 394, 24209, 1388, 682, 2932, 2355, 10951, 397, 11012, 48, 427, 8996, 1769, 202, 202, 70, 6452, 273, 629, 31, 202, 202, 21847, 425, 273, 4606, 18, 6274, 5621, 202, 202, 780, 272, 7185, 22, 2 ]
if (fReset)
if (fRestart)
public void acceptClass(char[] packageName, char[] typeName, char[][] enclosingTypeNames, String path) { if (fReset) throw new RequestorAbort(); typesFound.add(factory.create(packageName, typeName, enclosingTypeNames, false, path)); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/afe057b314f9d2930296e8513f78cc3bbbcbdc20/AllTypesCache.java/clean/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/AllTypesCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 2791, 797, 12, 3001, 8526, 9929, 16, 1149, 8526, 8173, 16, 1149, 63, 6362, 65, 16307, 559, 1557, 16, 514, 589, 13, 288, 6862, 202, 430, 261, 74, 7013, 13, 25083, 202, 12849, 394, 1567, 280, 13572, 5621, 6862, 202, 2352, 2043, 18, 1289, 12, 6848, 18, 2640, 12, 5610, 461, 16, 8173, 16, 16307, 559, 1557, 16, 629, 16, 589, 10019, 9506, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 2791, 797, 12, 3001, 8526, 9929, 16, 1149, 8526, 8173, 16, 1149, 63, 6362, 65, 16307, 559, 1557, 16, 514, 589, 13, 288, 6862, 202, 430, 261, 74, 7013, 13, 25083, 202, 12849, 394, 1567, 280, 13572, 5621, 6862, 202, 2352, 2043, 18, 1289, 12, 6848, 18, 2640, 12, 5610, 461, 16, 8173, 16, 16307, 559, 1557, 16, 629, 16, 589, 10019, 9506, 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 ]
{ try
public String getAttribute(String key){ try { return mLaunch.getLaunchConfiguration().getAttribute(key,(String)null); } catch (CoreException e) { // TODO Auto-generated catch block e.printStackTrace(); } return null;}
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/5049f6eadb6eff8f7d24ae4a36bc564cb893e02c/CGIProxy.java/clean/org.epic.debug/src/org/epic/debug/util/CGIProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 514, 4061, 12, 780, 498, 15329, 202, 698, 202, 95, 202, 202, 2463, 312, 9569, 18, 588, 9569, 1750, 7675, 588, 1499, 12, 856, 16, 12, 780, 13, 2011, 1769, 202, 97, 1044, 261, 25341, 425, 13, 202, 95, 202, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 202, 202, 73, 18, 1188, 6332, 5621, 202, 97, 202, 2463, 446, 31, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 514, 4061, 12, 780, 498, 15329, 202, 698, 202, 95, 202, 202, 2463, 312, 9569, 18, 588, 9569, 1750, 7675, 588, 1499, 12, 856, 16, 12, 780, 13, 2011, 1769, 202, 97, 1044, 261, 25341, 425, 13, 202, 95, 202, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 202, 202, 73, 18, 1188, 6332, 5621, 202, 97, 202, 2463, 446, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getNode(nodeId).getFragmentId(); }
return getNode(nodeId).getFragmentId(); }
public String getFragmentId(String nodeId) throws PortalException { return getNode(nodeId).getFragmentId(); }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/a70ada928fe06bf9bc2b55f2f32208ea99e82cb6/AggregatedLayout.java/buggy/source/org/jasig/portal/layout/alm/AggregatedLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2812, 3520, 548, 12, 780, 11507, 13, 1216, 25478, 503, 288, 1377, 327, 5973, 12, 2159, 548, 2934, 588, 7456, 548, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2812, 3520, 548, 12, 780, 11507, 13, 1216, 25478, 503, 288, 1377, 327, 5973, 12, 2159, 548, 2934, 588, 7456, 548, 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 ]
if(compressedData.length != ClientSSKBlock.DATA_LENGTH) {
if(compressedData.length != SSKBlock.DATA_LENGTH) {
public ClientSSKBlock encode(Bucket sourceData, boolean asMetadata, boolean dontCompress, short alreadyCompressedCodec, long sourceLength, RandomSource r) throws SSKEncodeException, IOException { byte[] compressedData; short compressionAlgo; try { Compressed comp = Key.compress(sourceData, dontCompress, alreadyCompressedCodec, sourceLength, ClientSSKBlock.MAX_DECOMPRESSED_DATA_LENGTH, ClientSSKBlock.DATA_LENGTH, true); compressedData = comp.compressedData; compressionAlgo = comp.compressionAlgorithm; } catch (KeyEncodeException e) { throw new SSKEncodeException(e.getMessage(), e); } // Pad it MessageDigest md256; try { md256 = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e1) { // FIXME: log this properly? throw new Error(e1); } byte[] data; // First pad it if(compressedData.length != ClientSSKBlock.DATA_LENGTH) { // Hash the data if(compressedData.length != 0) md256.update(compressedData); byte[] digest = md256.digest(); MersenneTwister mt = new MersenneTwister(digest); data = new byte[ClientSSKBlock.DATA_LENGTH]; System.arraycopy(compressedData, 0, data, 0, compressedData.length); byte[] randomBytes = new byte[ClientSSKBlock.DATA_LENGTH-compressedData.length]; mt.nextBytes(randomBytes); System.arraycopy(randomBytes, 0, data, compressedData.length, ClientSSKBlock.DATA_LENGTH-compressedData.length); } else { data = compressedData; } // Implicit hash of data byte[] origDataHash = md256.digest(data); Rijndael aes; try { aes = new Rijndael(256, 256); } catch (UnsupportedCipherException e) { throw new Error("256/256 Rijndael not supported!"); } // Encrypt data. Data encryption key = H(plaintext data). aes.initialize(origDataHash); PCFBMode pcfb = new PCFBMode(aes); pcfb.reset(origDataHash); pcfb.blockEncipher(data, 0, data.length); byte[] encryptedDataHash = md256.digest(data); // Create headers byte[] headers = new byte[SSKBlock.TOTAL_HEADERS_LENGTH]; // First two bytes = hash ID int x = 0; headers[x++] = (byte) (ClientSSKBlock.HASH_SHA256 >> 8); headers[x++] = (byte) (ClientSSKBlock.HASH_SHA256); // Then crypto ID headers[x++] = (byte) (Key.ALGO_AES_PCFB_256_SHA256 >> 8); headers[x++] = (byte) (Key.ALGO_AES_PCFB_256_SHA256); // Then E(H(docname)) // Copy to headers System.arraycopy(ehDocname, 0, headers, x, ehDocname.length); x += ehDocname.length; // Now the encrypted headers byte[] encryptedHeaders = new byte[SSKBlock.ENCRYPTED_HEADERS_LENGTH]; System.arraycopy(origDataHash, 0, encryptedHeaders, 0, origDataHash.length); int y = origDataHash.length; short len = (short) compressedData.length; if(asMetadata) len |= 32768; encryptedHeaders[y++] = (byte)(len >> 8); encryptedHeaders[y++] = (byte)len; encryptedHeaders[y++] = (byte)(compressionAlgo >> 8); encryptedHeaders[y++] = (byte)compressionAlgo; if(encryptedHeaders.length != y) throw new IllegalStateException("Have more bytes to generate encoding SSK"); aes.initialize(cryptoKey); pcfb.reset(ehDocname); pcfb.blockEncipher(encryptedHeaders, 0, encryptedHeaders.length); System.arraycopy(encryptedHeaders, 0, headers, x, encryptedHeaders.length); x+=encryptedHeaders.length; // Generate implicit overall hash. md256.update(headers, 0, x); md256.update(encryptedDataHash); byte[] overallHash = md256.digest(); // Now sign it DSASignature sig = DSA.sign(pubKey.getGroup(), privKey, new NativeBigInteger(1, overallHash), r); // Pack R and S into 32 bytes each, and copy to headers. // Then create and return the ClientSSKBlock. byte[] rBuf = truncate(sig.getR().toByteArray(), ClientSSKBlock.SIG_R_LENGTH); byte[] sBuf = truncate(sig.getS().toByteArray(), ClientSSKBlock.SIG_S_LENGTH); System.arraycopy(rBuf, 0, headers, x, rBuf.length); x+=rBuf.length; System.arraycopy(sBuf, 0, headers, x, sBuf.length); x+=sBuf.length; if(x != SSKBlock.TOTAL_HEADERS_LENGTH) throw new IllegalStateException("Too long"); try { return new ClientSSKBlock(data, headers, this, false); // FIXME set last arg to true to not verify } catch (SSKVerifyException e) { IllegalStateException exception=new IllegalStateException("Impossible encoding error: "+e.getMessage()); exception.initCause(e); throw exception; } }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/InsertableClientSSK.java/clean/src/freenet/keys/InsertableClientSSK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 1260, 47, 1768, 2017, 12, 4103, 1084, 751, 16, 1250, 487, 2277, 16, 1250, 14046, 16552, 16, 3025, 1818, 16841, 11008, 16, 1525, 27406, 16, 8072, 1830, 436, 13, 1216, 348, 11129, 5509, 503, 16, 1860, 288, 202, 202, 7229, 8526, 8968, 751, 31, 202, 202, 6620, 9154, 22430, 31, 202, 202, 698, 288, 1082, 202, 16841, 1161, 273, 1929, 18, 14706, 12, 3168, 751, 16, 14046, 16552, 16, 1818, 16841, 11008, 16, 27406, 16, 2445, 1260, 47, 1768, 18, 6694, 67, 1639, 4208, 27388, 67, 4883, 67, 7096, 16, 2445, 1260, 47, 1768, 18, 4883, 67, 7096, 16, 638, 1769, 1082, 202, 15385, 751, 273, 1161, 18, 15385, 751, 31, 1082, 202, 23766, 22430, 273, 1161, 18, 23766, 6801, 31, 202, 202, 97, 1044, 261, 653, 5509, 503, 425, 13, 288, 1082, 202, 12849, 394, 348, 11129, 5509, 503, 12, 73, 18, 24906, 9334, 425, 1769, 202, 202, 97, 202, 202, 759, 30961, 518, 3639, 22485, 3481, 5034, 31, 3639, 775, 288, 5411, 3481, 5034, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 21, 13, 288, 5411, 368, 9852, 30, 613, 333, 8214, 35, 5411, 604, 394, 1068, 12, 73, 21, 1769, 3639, 289, 3639, 1160, 8526, 501, 31, 3639, 368, 5783, 4627, 518, 3639, 309, 12, 15385, 751, 18, 2469, 480, 348, 11129, 1768, 18, 4883, 67, 7096, 13, 288, 5411, 368, 2474, 326, 501, 5411, 309, 12, 15385, 751, 18, 2469, 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, 2445, 1260, 47, 1768, 2017, 12, 4103, 1084, 751, 16, 1250, 487, 2277, 16, 1250, 14046, 16552, 16, 3025, 1818, 16841, 11008, 16, 1525, 27406, 16, 8072, 1830, 436, 13, 1216, 348, 11129, 5509, 503, 16, 1860, 288, 202, 202, 7229, 8526, 8968, 751, 31, 202, 202, 6620, 9154, 22430, 31, 202, 202, 698, 288, 1082, 202, 16841, 1161, 273, 1929, 18, 14706, 12, 3168, 751, 16, 14046, 16552, 16, 1818, 16841, 11008, 16, 27406, 16, 2445, 1260, 47, 1768, 18, 6694, 67, 1639, 4208, 27388, 67, 4883, 67, 7096, 16, 2445, 1260, 47, 1768, 18, 4883, 67, 7096, 16, 638, 1769, 1082, 202, 15385, 751, 273, 1161, 18, 15385, 751, 31, 1082, 202, 23766, 22430, 2 ]
SwingUtilities.invokeLater(new Runnable() { public void run() { SchemaTabSet.this.recalculateSchemaDiagram(schema);
public void run() { try { // Do it. MartBuilderUtils.enableKeyGuessing(schema); SwingUtilities.invokeLater(new Runnable() { public void run() { // Recalculate the diagram. SchemaTabSet.this.recalculateSchemaDiagram(schema); // As it may have lost or gained some external // relations, // the all-schemas diagram should also be // recalculated. SchemaTabSet.this.recalculateOverviewDiagram(); // It may have disappeared altogether, or lost some // table // upon which a dataset was based, so the datasets // may have // changed. In which case, recalculate the dataset // tabset // to reflect this. SchemaTabSet.this.martTab.getDataSetTabSet() .recalculateDataSetTabs(); // Update the dataset tabset status to modified. SchemaTabSet.this.martTab.getMartTabSet() .setModifiedStatus(true); } }); } catch (final Throwable t) { SwingUtilities.invokeLater(new Runnable() { public void run() { SchemaTabSet.this.martTab.getMartTabSet() .getMartBuilder().showStackTrace(t); } }); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/c76d481210454f27e1173655b5a81de5e759e689/SchemaTabSet.java/clean/src/java/org/biomart/builder/view/gui/SchemaTabSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 759, 2256, 518, 18, 6862, 202, 49, 485, 1263, 1989, 18, 7589, 653, 15977, 310, 12, 4821, 1769, 6862, 202, 6050, 310, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 25083, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 759, 868, 11162, 326, 19750, 18, 6862, 1082, 202, 3078, 5661, 694, 18, 2211, 18, 266, 11162, 3078, 14058, 1940, 12, 4821, 1769, 6862, 1082, 202, 759, 2970, 518, 2026, 1240, 13557, 578, 314, 8707, 2690, 3903, 6862, 1082, 202, 759, 7467, 16, 6862, 1082, 202, 759, 326, 777, 17, 17928, 19750, 1410, 2546, 506, 6862, 1082, 202, 759, 283, 22113, 18, 6862, 1082, 202, 3078, 5661, 694, 18, 2211, 18, 266, 11162, 26648, 14058, 1940, 5621, 6862, 1082, 202, 759, 2597, 2026, 1240, 1015, 438, 347, 2258, 3770, 717, 2437, 16, 578, 13557, 2690, 6862, 1082, 202, 759, 1014, 6862, 1082, 202, 759, 12318, 1492, 279, 3709, 1703, 2511, 16, 1427, 326, 11109, 6862, 1082, 202, 759, 2026, 1240, 6862, 1082, 202, 759, 3550, 18, 657, 1492, 648, 16, 26657, 326, 3709, 6862, 1082, 202, 759, 3246, 542, 6862, 1082, 202, 759, 358, 3037, 333, 18, 6862, 1082, 202, 3078, 5661, 694, 18, 2211, 18, 81, 485, 5661, 18, 588, 13676, 5661, 694, 1435, 6862, 6862, 202, 18, 266, 11162, 13676, 17348, 5621, 6862, 1082, 202, 759, 2315, 326, 3709, 3246, 542, 1267, 358, 4358, 18, 6862, 1082, 202, 3078, 5661, 694, 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, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 759, 2256, 518, 18, 6862, 202, 49, 485, 1263, 1989, 18, 7589, 653, 15977, 310, 12, 4821, 1769, 6862, 202, 6050, 310, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 25083, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 759, 868, 11162, 326, 19750, 18, 6862, 1082, 202, 3078, 5661, 694, 18, 2211, 18, 266, 11162, 3078, 14058, 1940, 12, 4821, 1769, 6862, 1082, 202, 759, 2970, 518, 2026, 1240, 13557, 578, 314, 8707, 2690, 3903, 6862, 1082, 202, 759, 7467, 16, 6862, 1082, 202, 759, 326, 777, 17, 17928, 19750, 1410, 2546, 506, 6862, 1082, 202, 759, 283, 22113, 18, 6862, 1082, 202, 2 ]
declareImage(IWorkbenchGraphicConstants.IMG_DLGBAN_SAVEAS_DLG, PATH_WIZBAN + "saveas_wiz.gif", false);
private final static void declareImages() { declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR, PATH_ETOOL + "pin_editor.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR_DISABLED, PATH_DTOOL + "pin_editor.gif", false); //$NON-NLS-1$ // other toolbar buttons declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVE_EDIT, PATH_ETOOL + "save_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVE_EDIT_DISABLED, PATH_DTOOL + "save_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEAS_EDIT, PATH_ETOOL + "saveas_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEAS_EDIT_DISABLED, PATH_DTOOL + "saveas_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_SAVEALL_EDIT, PATH_ETOOL + "saveall_edit.gif", false); //$NON-NLS-1$ declareImage( IWorkbenchGraphicConstants.IMG_ETOOL_SAVEALL_EDIT_DISABLED, PATH_DTOOL + "saveall_edit.gif", false); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UNDO, PATH_ETOOL + "undo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UNDO_HOVER, PATH_ETOOL + "undo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UNDO_DISABLED, PATH_DTOOL + "undo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_REDO, PATH_ETOOL + "redo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_REDO_HOVER, PATH_ETOOL + "redo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_REDO_DISABLED, PATH_DTOOL + "redo_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_CUT, PATH_ETOOL + "cut_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_CUT_HOVER, PATH_ETOOL + "cut_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_CUT_DISABLED, PATH_DTOOL + "cut_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_COPY, PATH_ETOOL + "copy_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_COPY_HOVER, PATH_ETOOL + "copy_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_COPY_DISABLED, PATH_DTOOL + "copy_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_PASTE, PATH_ETOOL + "paste_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_PASTE_HOVER, PATH_ETOOL + "paste_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_PASTE_DISABLED, PATH_DTOOL + "paste_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_DELETE, PATH_ETOOL + "delete_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_DELETE_HOVER, PATH_ETOOL + "delete_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_DELETE_DISABLED, PATH_DTOOL + "delete_edit.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_NEW_WIZARD, PATH_ETOOL + "new_wiz.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_NEW_WIZARD_HOVER, PATH_ETOOL + "new_wiz.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_NEW_WIZARD_DISABLED, PATH_DTOOL + "new_wiz.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT, PATH_ETOOL + "print_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT_DISABLED, PATH_DTOOL + "print_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_HELP_CONTENTS, PATH_ETOOL + "help_contents.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_HELP_SEARCH, PATH_ETOOL + "help_search.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_FORWARD, PATH_ELOCALTOOL + "forward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_FORWARD_HOVER, PATH_ELOCALTOOL + "forward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_FORWARD_DISABLED, PATH_DLOCALTOOL + "forward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_BACK, PATH_ELOCALTOOL + "backward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_BACK_HOVER, PATH_ELOCALTOOL + "backward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_BACK_DISABLED, PATH_DLOCALTOOL + "backward_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UP, PATH_ELOCALTOOL + "up_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UP_HOVER, PATH_ELOCALTOOL + "up_nav.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_TOOL_UP_DISABLED, PATH_DLOCALTOOL + "up_nav.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_NEW_PAGE, PATH_EVIEW + "new_persp.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_HOME_NAV, PATH_ELOCALTOOL + "home_nav.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE, PATH_EVIEW + "default_persp.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_NEW_WIZ, PATH_WIZBAN + "new_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_IMPORT_WIZ, PATH_ETOOL + "import_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_EXPORT_WIZ, PATH_ETOOL + "export_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_IMPORT_WIZ, PATH_WIZBAN + "import_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_EXPORT_WIZ, PATH_WIZBAN + "export_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_WIZBAN_WORKINGSET_WIZ, PATH_WIZBAN + "workset_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_VIEW_DEFAULTVIEW_MISC, PATH_EVIEW + "defaultview_misc.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_DLGBAN_SAVEAS_DLG, PATH_WIZBAN + "saveas_wiz.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_FONT, PATH_OBJECT + "font.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_THEME_CATEGORY, PATH_OBJECT + "theme_category.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_ACTIVITY, PATH_OBJECT + "activity.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJ_ACTIVITY_CATEGORY, PATH_OBJECT + "activity_category.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJ_FILE, PATH_OBJECT + "file_obj.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJ_FOLDER, PATH_OBJECT + "fldr_obj.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJ_ELEMENT, PATH_OBJECT + "elements_obj.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_DEF_VIEW, PATH_EVIEW + "defaultview_misc.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_CLOSE_VIEW, PATH_ELOCALTOOL + "close_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_PIN_VIEW, PATH_ELOCALTOOL + "pin_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW, PATH_ELOCALTOOL + "min_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU, PATH_ELOCALTOOL + "view_menu.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_LINKTO_HELP, PATH_ELOCALTOOL + "linkto_help.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_CLOSE_VIEW_THIN, PATH_ELOCALTOOL + "thin_close_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_HIDE_TOOLBAR_THIN, PATH_ELOCALTOOL + "thin_hide_toolbar.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MAX_VIEW_THIN, PATH_ELOCALTOOL + "thin_max_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW_THIN, PATH_ELOCALTOOL + "thin_min_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_RESTORE_VIEW_THIN, PATH_ELOCALTOOL + "thin_restore_view.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_SHOW_TOOLBAR_THIN, PATH_ELOCALTOOL + "thin_show_toolbar.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_THIN, PATH_ELOCALTOOL + "thin_view_menu.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJS_ERROR_TSK, PATH_OBJECT + "error_tsk.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJS_WARN_TSK, PATH_OBJECT + "warn_tsk.gif", true); //$NON-NLS-1$ declareImage(ISharedImages.IMG_OBJS_INFO_TSK, PATH_OBJECT + "info_tsk.gif", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_LEFT_SOURCE, PATH_POINTER + "left_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_LEFT_MASK, PATH_POINTER + "left_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_RIGHT_SOURCE, PATH_POINTER + "right_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_RIGHT_MASK, PATH_POINTER + "right_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOP_SOURCE, PATH_POINTER + "top_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOP_MASK, PATH_POINTER + "top_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_BOTTOM_SOURCE, PATH_POINTER + "bottom_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_BOTTOM_MASK, PATH_POINTER + "bottom_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_INVALID_SOURCE, PATH_POINTER + "invalid_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_INVALID_MASK, PATH_POINTER + "invalid_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_STACK_SOURCE, PATH_POINTER + "stack_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_STACK_MASK, PATH_POINTER + "stack_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_OFFSCREEN_SOURCE, PATH_POINTER + "offscreen_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_OFFSCREEN_MASK, PATH_POINTER + "offscreen_mask.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOFASTVIEW_SOURCE, PATH_POINTER + "tofastview_source.bmp", true); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_OBJS_DND_TOFASTVIEW_MASK, PATH_POINTER + "tofastview_mask.bmp", true); //$NON-NLS-1$ }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5d160b6205264478d3a1546cb460bf2521c53a19/WorkbenchImages.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 760, 918, 14196, 8946, 1435, 288, 9506, 282, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 16, 7734, 7767, 67, 1584, 51, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 67, 24493, 16, 7734, 7767, 67, 19792, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 368, 1308, 12748, 9502, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 25242, 67, 10776, 16, 7767, 67, 1584, 51, 1741, 7734, 397, 315, 5688, 67, 4619, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 25242, 67, 10776, 67, 24493, 16, 7734, 7767, 67, 19792, 1741, 397, 315, 5688, 67, 4619, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 25242, 3033, 67, 10776, 16, 7734, 7767, 67, 1584, 51, 1741, 397, 315, 5688, 345, 67, 4619, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 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, 727, 760, 918, 14196, 8946, 1435, 288, 9506, 282, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 16, 7734, 7767, 67, 1584, 51, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 52, 706, 67, 13208, 67, 24493, 16, 7734, 7767, 67, 19792, 1741, 397, 315, 13097, 67, 9177, 18, 13905, 3113, 629, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 368, 1308, 12748, 9502, 3639, 14196, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 2 ]
final LocationData ret; if ( locationData != null ) {
final LocationData ret; if (locationData != null) {
public LocationData getLocationData() { final LocationData ret; if ( locationData != null ) { ret = locationData; } else if ( node == null ) { ret = null; } else if ( node.getNodeType() == org.dom4j.Node.ELEMENT_NODE ) { ret = ( LocationData )( ( org.dom4j.Element )node ).getData(); } else if ( node.getNodeType() == org.dom4j.Node.ATTRIBUTE_NODE ) { ret = ( LocationData )( ( org.dom4j.Attribute )node ).getData(); } else { ret = null; } return ret; }
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/221be74bc02c452827c49e6c84df498dbfd69929/ASTNodeContainer.java/buggy/src/java/org/orbeon/oxf/processor/pipeline/ast/ASTNodeContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7050, 751, 13312, 751, 1435, 288, 377, 202, 6385, 7050, 751, 325, 31, 3639, 309, 261, 2117, 751, 480, 446, 262, 288, 5411, 325, 273, 2117, 751, 31, 3639, 289, 469, 309, 261, 756, 422, 446, 262, 288, 377, 202, 565, 325, 273, 446, 31, 377, 202, 97, 469, 309, 261, 756, 18, 588, 15101, 1435, 422, 2358, 18, 9859, 24, 78, 18, 907, 18, 10976, 67, 8744, 262, 288, 5411, 325, 273, 261, 7050, 751, 262, 12, 261, 2358, 18, 9859, 24, 78, 18, 1046, 262, 2159, 262, 18, 588, 751, 5621, 5411, 289, 469, 309, 261, 756, 18, 588, 15101, 1435, 422, 2358, 18, 9859, 24, 78, 18, 907, 18, 11616, 67, 8744, 262, 288, 5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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7050, 751, 13312, 751, 1435, 288, 377, 202, 6385, 7050, 751, 325, 31, 3639, 309, 261, 2117, 751, 480, 446, 262, 288, 5411, 325, 273, 2117, 751, 31, 3639, 289, 469, 309, 261, 756, 422, 446, 262, 288, 377, 202, 565, 325, 273, 446, 31, 377, 202, 97, 469, 309, 261, 756, 18, 588, 15101, 1435, 422, 2358, 18, 9859, 24, 78, 18, 907, 18, 10976, 67, 8744, 262, 288, 5411, 325, 273, 261, 7050, 751, 262, 12, 261, 2358, 18, 9859, 24, 78, 18, 1046, 262, 2159, 262, 18, 588, 751, 5621, 5411, 289, 469, 309, 261, 756, 18, 588, 15101, 1435, 422, 2358, 18, 9859, 24, 78, 18, 907, 18, 11616, 67, 8744, 262, 288, 2 ]
while ((line = br.readLine()) != null) if (line.startsWith("Goat-Version")) { BotStats.version = line.replaceFirst("Goat-Version: ", "r"); break; }
line = br.readLine(); BotStats.version = "r" + line;
private void setDefaultStats() { BufferedReader br = new BufferedReader(new InputStreamReader(getClass().getClassLoader().getResourceAsStream("META-INF/MANIFEST.MF"))); String line; try { while ((line = br.readLine()) != null) if (line.startsWith("Goat-Version")) { BotStats.version = line.replaceFirst("Goat-Version: ", "r"); break; } br.close(); } catch (IOException e) { e.printStackTrace(); } finally { if(BotStats.version==null) BotStats.version = "unknown"; } BotStats.botname = "goat"; BotStats.addChannel("#gayness"); BotStats.clientName = "goat"; BotStats.owner = "bc"; BotStats.servername = "coruscant.slashnet.org"; }
47073 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47073/b7ef60e99e9f5c96638d1a08bbbec9cdd10eb85d/Goat.java/clean/src/goat/Goat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9277, 4195, 1435, 288, 202, 202, 17947, 2514, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 17052, 2932, 19294, 17, 19212, 19, 9560, 30050, 18, 13542, 6, 3719, 1769, 202, 202, 780, 980, 31, 202, 202, 698, 288, 1082, 202, 17523, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 9506, 202, 430, 261, 1369, 18, 17514, 1190, 2932, 5741, 270, 17, 1444, 6, 3719, 288, 6862, 202, 6522, 4195, 18, 1589, 273, 980, 18, 2079, 3759, 2932, 5741, 270, 17, 1444, 30, 3104, 315, 86, 8863, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 2848, 18, 4412, 5621, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 202, 202, 97, 3095, 288, 1082, 202, 430, 12, 6522, 4195, 18, 1589, 631, 2011, 13, 9506, 202, 6522, 4195, 18, 1589, 273, 315, 8172, 14432, 202, 202, 97, 202, 202, 6522, 4195, 18, 4819, 529, 273, 315, 3240, 270, 14432, 202, 202, 6522, 4195, 18, 1289, 2909, 2932, 7, 75, 528, 4496, 8863, 202, 202, 6522, 4195, 18, 2625, 461, 273, 315, 3240, 270, 14432, 202, 202, 6522, 4195, 18, 8443, 273, 315, 13459, 14432, 202, 202, 6522, 4195, 18, 3567, 529, 273, 315, 3850, 19446, 970, 18, 12877, 2758, 18, 3341, 14432, 202, 97, 2, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9277, 4195, 1435, 288, 202, 202, 17947, 2514, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 17052, 2932, 19294, 17, 19212, 19, 9560, 30050, 18, 13542, 6, 3719, 1769, 202, 202, 780, 980, 31, 202, 202, 698, 288, 1082, 202, 17523, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 9506, 202, 430, 261, 1369, 18, 17514, 1190, 2932, 5741, 270, 17, 1444, 6, 3719, 288, 6862, 202, 6522, 4195, 18, 1589, 273, 980, 18, 2079, 3759, 2932, 5741, 270, 17, 1444, 30, 3104, 315, 86, 8863, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 2848, 18, 4412, 5621, 202, 202, 97, 1044, 261, 2 ]
generateContextFactoryInit(cfw, adapterName);
private static void generateEmptyCtor(ClassFileWriter cfw, String adapterName, String superName, String scriptClassName) { cfw.startMethod("<init>", "()V", ClassFileWriter.ACC_PUBLIC); // Invoke base class constructor cfw.add(ByteCode.ALOAD_0); // this cfw.addInvoke(ByteCode.INVOKESPECIAL, superName, "<init>", "()V"); // Load script class cfw.add(ByteCode.NEW, scriptClassName); cfw.add(ByteCode.DUP); cfw.addInvoke(ByteCode.INVOKESPECIAL, scriptClassName, "<init>", "()V"); // Run script and save resulting scope cfw.addInvoke(ByteCode.INVOKESTATIC, "org/mozilla/javascript/JavaAdapter", "runScript", "(Lorg/mozilla/javascript/Script;" +")Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.ASTORE_1); // Save the Scriptable in instance variable "delegee" cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.ALOAD_1); // the Scriptable cfw.add(ByteCode.PUTFIELD, adapterName, "delegee", "Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.ALOAD_0); // this for the following PUTFIELD for self // create a wrapper object to be used as "this" in method calls cfw.add(ByteCode.ALOAD_1); // the Scriptable cfw.add(ByteCode.ALOAD_0); // this cfw.addInvoke(ByteCode.INVOKESTATIC, "org/mozilla/javascript/JavaAdapter", "createAdapterWrapper", "(Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Object;" +")Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.PUTFIELD, adapterName, "self", "Lorg/mozilla/javascript/Scriptable;"); generateContextFactoryInit(cfw, adapterName); cfw.add(ByteCode.RETURN); cfw.stopMethod((short)2); // this + delegee }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/dafa23a7e7cc8ff5391170e3ac8485551625060e/JavaAdapter.java/clean/src/org/mozilla/javascript/JavaAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2103, 1921, 27425, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1850, 514, 4516, 461, 16, 4766, 1850, 514, 2240, 461, 16, 4766, 1850, 514, 2728, 3834, 13, 565, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 32, 2738, 2984, 16, 25605, 58, 3113, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 368, 14373, 1026, 667, 3885, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 2240, 461, 16, 3532, 2738, 2984, 16, 25605, 58, 8863, 3639, 368, 4444, 2728, 667, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 12917, 16, 2728, 3834, 1769, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 30387, 1769, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 2728, 3834, 16, 3532, 2738, 2984, 16, 25605, 58, 8863, 3639, 368, 1939, 2728, 471, 1923, 8156, 2146, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 11027, 11781, 16, 8227, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 5852, 4216, 3113, 8227, 315, 2681, 3651, 3113, 8227, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 4868, 8227, 397, 7923, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 9053, 8607, 67, 21, 1769, 3639, 368, 7074, 326, 22780, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2103, 1921, 27425, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1850, 514, 4516, 461, 16, 4766, 1850, 514, 2240, 461, 16, 4766, 1850, 514, 2728, 3834, 13, 565, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 32, 2738, 2984, 16, 25605, 58, 3113, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 368, 14373, 1026, 667, 3885, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 10969, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 2240, 461, 16, 3532, 2738, 2984, 16, 25605, 58, 8863, 3639, 368, 4444, 2728, 667, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 2 ]
ammo.flags |=F_PROTOMECH;
public static AmmoType createCLPROMGAmmo() { AmmoType ammo = new AmmoType(); ammo.name = "Machine Gun Ammo"; ammo.internalName = "Clan Machine Gun Ammo - Proto"; ammo.mepName = "N/A"; ammo.mtfName = "CLMG Ammo"; ammo.tdbName = "Clan Machine Gun Ammo"; ammo.damagePerShot = 1; ammo.rackSize = 2; ammo.ammoType = AmmoType.T_MG; ammo.flags |= F_MG; ammo.shots = 200; ammo.bv = 1; ammo.flags |=F_PROTOMECH; ammo.techType = TechConstants.T_CLAN_LEVEL_2; return ammo; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/2555e02cb16cafbd0673d000c4b5a7f037cff371/AmmoType.java/buggy/megamek/src/megamek/common/AmmoType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3986, 8683, 559, 752, 5017, 3373, 49, 25043, 7020, 83, 1435, 288, 3639, 3986, 8683, 559, 2125, 8683, 273, 394, 3986, 8683, 559, 5621, 7734, 2125, 8683, 18, 529, 273, 315, 6981, 611, 318, 3986, 8683, 14432, 3639, 2125, 8683, 18, 7236, 461, 273, 315, 2009, 304, 12026, 611, 318, 3986, 8683, 300, 7440, 14432, 3639, 2125, 8683, 18, 81, 881, 461, 273, 315, 50, 19, 37, 14432, 3639, 2125, 8683, 18, 1010, 74, 461, 273, 315, 5017, 49, 43, 3986, 8683, 14432, 3639, 2125, 8683, 18, 88, 1966, 461, 273, 315, 2009, 304, 12026, 611, 318, 3986, 8683, 14432, 3639, 2125, 8683, 18, 72, 301, 410, 2173, 1555, 352, 273, 404, 31, 3639, 2125, 8683, 18, 21580, 1225, 273, 576, 31, 3639, 2125, 8683, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 49, 43, 31, 3639, 2125, 8683, 18, 7133, 5626, 478,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3986, 8683, 559, 752, 5017, 3373, 49, 25043, 7020, 83, 1435, 288, 3639, 3986, 8683, 559, 2125, 8683, 273, 394, 3986, 8683, 559, 5621, 7734, 2125, 8683, 18, 529, 273, 315, 6981, 611, 318, 3986, 8683, 14432, 3639, 2125, 8683, 18, 7236, 461, 273, 315, 2009, 304, 12026, 611, 318, 3986, 8683, 300, 7440, 14432, 3639, 2125, 8683, 18, 81, 881, 461, 273, 315, 50, 19, 37, 14432, 3639, 2125, 8683, 18, 1010, 74, 461, 273, 315, 5017, 49, 43, 3986, 8683, 14432, 3639, 2125, 8683, 18, 88, 1966, 461, 273, 315, 2009, 304, 12026, 611, 318, 3986, 8683, 14432, 3639, 2125, 8683, 18, 72, 301, 410, 2173, 1555, 352, 273, 404, 31, 3639, 2125, 8683, 2 ]
parameters.put(ServiceConstants.SESSION, null);
public ILink getLink(boolean post, Object parameter) { Defense.isAssignable(parameter, AjaxDirectServiceParameter.class, "parameter"); AjaxDirectServiceParameter dsp = (AjaxDirectServiceParameter) parameter; IComponent component = dsp.getComponent(); // use the component to determine the page, not the cycle. IPage activePage = requestCycle.getPage(); IPage componentPage = component.getPage(); Map<String, Object> parameters = new HashMap<String, Object>(); // boolean stateful = request.getSession(false) != null; parameters.put(ServiceConstants.SERVICE, getName()); parameters.put(ServiceConstants.PAGE, activePage.getPageName()); parameters.put(ServiceConstants.COMPONENT, component.getIdPath()); parameters.put(ServiceConstants.CONTAINER, componentPage == activePage ? null : componentPage.getPageName()); // parameters.put(ServiceConstants.SESSION, stateful ? "T" : null); parameters.put(ServiceConstants.PARAMETER, dsp.getServiceParameters()); return linkFactory.constructLink(this, post, parameters, false); }
13013 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13013/42db03c1791c42ad6150405a393c241a161484d2/AjaxDirectService.java/clean/coriolis/trunk/src/main/java/org/mikejones/coriolis/tapestry/framework/services/AjaxDirectService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1071, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 467, 2098, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 15545, 12, 6494, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1603, 16, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1033, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1569, 13, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 288, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 10922, 3558, 18, 291, 7961, 12, 6775, 16, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 18772, 5368, 1179, 1662, 18, 1106, 16, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1472, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1071, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 467, 2098, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 15545, 12, 6494, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1603, 16, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1033, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 446, 1769, 1569, 13, 3977, 18, 458, 12, 1179, 2918, 18, 7042, 16, 2 ]
catch ( ReleaseExecutionException e )
catch ( ReleaseFailureException e )
public void testReleasingNonSnapshot() throws Exception { ReleaseConfiguration releaseConfiguration = new ReleaseConfiguration(); releaseConfiguration.setUrl( "scm-url" ); releaseConfiguration.setReactorProjects( Collections.singletonList( createProject( "1.0" ) ) ); try { phase.execute( releaseConfiguration ); fail( "Should have failed to execute" ); } catch ( ReleaseExecutionException e ) { assertNull( "Check no cause", e.getCause() ); } try { phase.simulate( releaseConfiguration ); fail( "Should have failed to simulate" ); } catch ( ReleaseExecutionException e ) { assertNull( "Check no cause", e.getCause() ); } }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/d5c32346773fdffbb7d1fb61552050c9d9bfa5f5/CheckPomPhaseTest.java/buggy/maven-release-plugin/src/test/java/org/apache/maven/plugins/release/phase/CheckPomPhaseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 17018, 11730, 3989, 4568, 1435, 3639, 1216, 1185, 565, 288, 3639, 10819, 1750, 3992, 1750, 273, 394, 10819, 1750, 5621, 3639, 3992, 1750, 18, 542, 1489, 12, 315, 1017, 81, 17, 718, 6, 11272, 3639, 3992, 1750, 18, 542, 426, 3362, 15298, 12, 5737, 18, 24487, 682, 12, 752, 4109, 12, 315, 21, 18, 20, 6, 262, 262, 11272, 3639, 775, 3639, 288, 5411, 6855, 18, 8837, 12, 3992, 1750, 11272, 5411, 2321, 12, 315, 14309, 1240, 2535, 358, 1836, 6, 11272, 3639, 289, 3639, 1044, 261, 10819, 14389, 425, 262, 3639, 288, 5411, 1815, 2041, 12, 315, 1564, 1158, 4620, 3113, 425, 18, 588, 10683, 1435, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 6855, 18, 9812, 6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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 17018, 11730, 3989, 4568, 1435, 3639, 1216, 1185, 565, 288, 3639, 10819, 1750, 3992, 1750, 273, 394, 10819, 1750, 5621, 3639, 3992, 1750, 18, 542, 1489, 12, 315, 1017, 81, 17, 718, 6, 11272, 3639, 3992, 1750, 18, 542, 426, 3362, 15298, 12, 5737, 18, 24487, 682, 12, 752, 4109, 12, 315, 21, 18, 20, 6, 262, 262, 11272, 3639, 775, 3639, 288, 5411, 6855, 18, 8837, 12, 3992, 1750, 11272, 5411, 2321, 12, 315, 14309, 1240, 2535, 358, 1836, 6, 11272, 3639, 289, 3639, 1044, 261, 10819, 14389, 425, 262, 3639, 288, 5411, 1815, 2041, 12, 315, 1564, 1158, 4620, 3113, 425, 18, 588, 10683, 1435, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 2 ]
log.error("src is NULL");
System.err.println("src is NULL");
public void run() { String comp_name; while(true) { try { AWTEvent evt=event_queue.getNextEvent(); Object obj=evt.getSource(); if(obj == null) { log.error("src is NULL"); continue; } if(obj instanceof Component) comp_name=((Component)obj).getName(); else if(obj instanceof MenuComponent) comp_name=((MenuComponent)obj).getName(); else { log.error("src is of type " + obj.getClass().getName()); continue; } if(evt instanceof FocusEvent || evt instanceof PaintEvent) { System.out.println(evt.getClass().getName() + " not copied"); processLocally(evt); continue; } System.out.println("MCasting "+evt.getClass().getName()+" event..."); MethodCall call = new MethodCall("processEvent", new Object[] {comp_name, evt}, new String[] {String.class.getName(), AWTEvent.class.getName()}); dispatcher.callRemoteMethods(null, call, GroupRequest.GET_NONE, 0); } catch(Exception e) { log.error(e); } } }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/DrawRepl.java/clean/src/org/jgroups/demos/DrawRepl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 202, 780, 1161, 67, 529, 31, 202, 202, 17523, 12, 3767, 13, 288, 202, 565, 775, 288, 202, 202, 37, 8588, 1133, 6324, 33, 2575, 67, 4000, 18, 588, 2134, 1133, 5621, 202, 202, 921, 1081, 33, 73, 11734, 18, 588, 1830, 5621, 202, 202, 430, 12, 2603, 422, 446, 13, 288, 1082, 565, 613, 18, 1636, 2932, 4816, 353, 3206, 8863, 1082, 565, 1324, 31, 202, 202, 97, 9506, 202, 430, 12, 2603, 1276, 5435, 13, 1082, 565, 1161, 67, 529, 33, 12443, 1841, 13, 2603, 2934, 17994, 5621, 202, 202, 12107, 309, 12, 2603, 1276, 9809, 1841, 13, 1082, 565, 1161, 67, 529, 33, 12443, 4599, 1841, 13, 2603, 2934, 17994, 5621, 202, 202, 12107, 288, 1082, 565, 613, 18, 1636, 2932, 4816, 353, 434, 618, 315, 397, 1081, 18, 588, 797, 7675, 17994, 10663, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 430, 12, 73, 11734, 1276, 478, 4560, 1133, 747, 6324, 1276, 30001, 1133, 13, 288, 1082, 565, 2332, 18, 659, 18, 8222, 12, 73, 11734, 18, 588, 797, 7675, 17994, 1435, 397, 315, 486, 9268, 8863, 1082, 565, 1207, 1333, 1230, 12, 73, 11734, 1769, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 3163, 18, 659, 18, 8222, 2932, 49, 9735, 310, 13773, 73, 11734, 18, 588, 797, 7675, 17994, 1435, 9078, 871, 7070, 1769, 202, 202, 12592, 745, 273, 394, 2985, 1477, 2932, 2567, 1133, 3113, 394, 1033, 8526, 288, 2919, 67, 529, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 202, 780, 1161, 67, 529, 31, 202, 202, 17523, 12, 3767, 13, 288, 202, 565, 775, 288, 202, 202, 37, 8588, 1133, 6324, 33, 2575, 67, 4000, 18, 588, 2134, 1133, 5621, 202, 202, 921, 1081, 33, 73, 11734, 18, 588, 1830, 5621, 202, 202, 430, 12, 2603, 422, 446, 13, 288, 1082, 565, 613, 18, 1636, 2932, 4816, 353, 3206, 8863, 1082, 565, 1324, 31, 202, 202, 97, 9506, 202, 430, 12, 2603, 1276, 5435, 13, 1082, 565, 1161, 67, 529, 33, 12443, 1841, 13, 2603, 2934, 17994, 5621, 202, 202, 12107, 309, 12, 2603, 1276, 9809, 1841, 13, 1082, 565, 1161, 67, 529, 33, 12443, 4599, 1841, 13, 2603, 2934, 17994, 2 ]
Messages.getString("LibraryExplorerProvider.FolderNotExist")
Messages.getString( "LibraryExplorerProvider.FolderNotExist" )
public Object[] getChildren( Object parentElement ) { if ( parentElement instanceof File ) { File file = (File) parentElement; if ( !file.exists( ) ) { return new Object[]{ Messages.getString("LibraryExplorerProvider.FolderNotExist") //$NON-NLS-1$ }; } if ( file.isDirectory( ) ) { File[] children = file.listFiles( filter ); List folderList = new ArrayList( ); List fileList = new ArrayList( ); for ( int i = 0; i < children.length; i++ ) { if ( children[i].isDirectory( ) ) { folderList.add( children[i] ); } else { fileList.add( children[i] ); } } folderList.addAll( fileList ); return folderList.toArray( ); } else { try { return super.getChildren( SessionHandleAdapter.getInstance( ) .getSessionHandle( ) .openLibrary( file.getAbsolutePath( ) ) ); } catch ( DesignFileException e ) { } } } return super.getChildren( parentElement ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/bdcf843f0b8c31d201ceb62ba7e72404e65a343c/LibraryExplorerProvider.java/clean/UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8526, 10268, 12, 1033, 30363, 262, 202, 95, 202, 202, 430, 261, 30363, 1276, 1387, 262, 202, 202, 95, 1082, 202, 812, 585, 273, 261, 812, 13, 30363, 31, 1082, 202, 430, 261, 401, 768, 18, 1808, 12, 262, 262, 1082, 202, 95, 9506, 202, 2463, 394, 1033, 63, 7073, 6862, 202, 5058, 18, 588, 780, 12, 315, 9313, 20938, 2249, 18, 3899, 8418, 6, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 20451, 1082, 202, 97, 1082, 202, 430, 261, 585, 18, 291, 2853, 12, 262, 262, 1082, 202, 95, 9506, 202, 812, 8526, 2325, 273, 585, 18, 1098, 2697, 12, 1034, 11272, 9506, 202, 682, 3009, 682, 273, 394, 2407, 12, 11272, 9506, 202, 682, 18645, 273, 394, 2407, 12, 11272, 9506, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 9904, 262, 9506, 202, 95, 6862, 202, 430, 261, 2325, 63, 77, 8009, 291, 2853, 12, 262, 262, 6862, 202, 95, 25083, 202, 5609, 682, 18, 1289, 12, 2325, 63, 77, 65, 11272, 6862, 202, 97, 6862, 202, 12107, 6862, 202, 95, 25083, 202, 768, 682, 18, 1289, 12, 2325, 63, 77, 65, 11272, 6862, 202, 97, 9506, 202, 97, 9506, 202, 5609, 682, 18, 1289, 1595, 12, 18645, 11272, 9506, 202, 2463, 3009, 682, 18, 31447, 12, 11272, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 2463, 2240, 18, 588, 4212, 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, 1033, 8526, 10268, 12, 1033, 30363, 262, 202, 95, 202, 202, 430, 261, 30363, 1276, 1387, 262, 202, 202, 95, 1082, 202, 812, 585, 273, 261, 812, 13, 30363, 31, 1082, 202, 430, 261, 401, 768, 18, 1808, 12, 262, 262, 1082, 202, 95, 9506, 202, 2463, 394, 1033, 63, 7073, 6862, 202, 5058, 18, 588, 780, 12, 315, 9313, 20938, 2249, 18, 3899, 8418, 6, 262, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 20451, 1082, 202, 97, 1082, 202, 430, 261, 585, 18, 291, 2853, 12, 262, 262, 1082, 202, 95, 9506, 202, 812, 8526, 2325, 273, 585, 18, 1098, 2697, 12, 1034, 11272, 9506, 202, 682, 3009, 682, 273, 394, 2407, 12, 2 ]
statements.addStatement(peekMoveLoop(loopCounterBackup, isInit));
statements.addStatement(remainingBackupLoop(bufferVar[0], loopCounterBackup, filter.getPopInt() * StrToRStream.getMult(node, isInit), remaining[0]));
public JStatement[] getWork(JBlock enclosingBlock, boolean isInit) { JBlock statements = new JBlock(null, new JStatement[0], null); //don't generate code if this filter is not needed if (!necessary) return statements.getStatementArray(); int mult = StrToRStream.getMult(getNode(), isInit); //now add the declaration of the pop index and the push index GenerateCCode.addStmtArrayFirst(enclosingBlock, getIndexDecls(isInit)); //now add the for loop for the work function executions in this //schedule if (StrToRStream.getMult(getNode(), isInit) > 0) { //clone work function JMethodDeclaration work = filter.getWork(); JBlock oldBody = new JBlock(null, work.getStatements(), null); JStatement body = (JBlock)ObjectDeepCloner.deepCopy(oldBody); //before we add the body make for loop //get a new local variable JVariableDefinition forIndex = GenerateCCode.newIntLocal(FORINDEXNAME, myUniqueID, 0); enclosingBlock.addStatementFirst(new JVariableDeclarationStatement (null, forIndex, null)); body = GenerateCCode.makeDoLoop(body, forIndex, new JIntLiteral(mult)); //see if can generate MIV buffer indices, if true, then the conversion //was performed ConvertChannelExprsMIV tryMIV = new ConvertChannelExprsMIV(this, isInit); if (!tryMIV.tryMIV((JDoLoopStatement)body)) { System.out.println("Could not generate MIV indices for " + getNode().contents); body.accept(new ConvertChannelExprs(this, isInit)); } statements.addStatement(body); } //create the loop to back up the unpop'ed items from the pop buffer //and store them into the peek buffer if (StrToRStream.getMult(getNode(), isInit) > 0 && peekBufferSize > 0) { //create the loop counter JVariableDefinition loopCounterBackup = GenerateCCode.newIntLocal(BACKUPCOUNTER, myUniqueID, 0); //add the declaration of the counter enclosingBlock.addStatementFirst(new JVariableDeclarationStatement (null, loopCounterBackup, null)); statements.addStatement(peekMoveLoop(loopCounterBackup, isInit)); } return statements.getStatementArray(); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/ec8db6f914c3e0d6fe36afd136f4197d6f3f842e/FFSNoPeekBuffer.java/buggy/streams/src/at/dms/kjc/rstream/FFSNoPeekBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 3406, 8526, 29026, 12, 46, 1768, 16307, 1768, 16, 1250, 353, 2570, 13, 377, 288, 202, 46, 1768, 6317, 273, 394, 804, 1768, 12, 2011, 16, 394, 804, 3406, 63, 20, 6487, 446, 1769, 202, 759, 19752, 1404, 2103, 981, 309, 333, 1034, 353, 486, 3577, 202, 430, 16051, 82, 4128, 13, 202, 565, 327, 6317, 18, 588, 3406, 1076, 5621, 202, 202, 474, 1778, 273, 3978, 774, 54, 1228, 18, 588, 5049, 12, 588, 907, 9334, 353, 2570, 1769, 202, 202, 759, 3338, 527, 326, 8266, 434, 326, 1843, 770, 471, 326, 1817, 770, 202, 4625, 39, 1085, 18, 1289, 8952, 1076, 3759, 12, 1331, 10910, 1768, 16, 8088, 1799, 3251, 12, 291, 2570, 10019, 202, 202, 759, 3338, 527, 326, 364, 2798, 364, 326, 1440, 445, 26845, 316, 333, 202, 759, 10676, 202, 430, 261, 1585, 774, 54, 1228, 18, 588, 5049, 12, 588, 907, 9334, 353, 2570, 13, 405, 374, 13, 288, 202, 565, 368, 14056, 1440, 445, 3196, 565, 804, 1305, 6094, 1440, 273, 1034, 18, 588, 2421, 5621, 202, 565, 804, 1768, 1592, 2250, 273, 394, 804, 1768, 12, 2011, 16, 1440, 18, 588, 14663, 9334, 446, 1769, 202, 377, 202, 565, 804, 3406, 1417, 273, 261, 46, 1768, 13, 921, 13980, 2009, 31430, 18, 323, 5585, 12, 1673, 2250, 1769, 202, 377, 202, 565, 368, 5771, 732, 527, 326, 1417, 1221, 364, 2798, 202, 565, 368, 588, 279, 394, 1191, 2190, 202, 565, 804, 3092, 1852, 364, 1016, 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, 804, 3406, 8526, 29026, 12, 46, 1768, 16307, 1768, 16, 1250, 353, 2570, 13, 377, 288, 202, 46, 1768, 6317, 273, 394, 804, 1768, 12, 2011, 16, 394, 804, 3406, 63, 20, 6487, 446, 1769, 202, 759, 19752, 1404, 2103, 981, 309, 333, 1034, 353, 486, 3577, 202, 430, 16051, 82, 4128, 13, 202, 565, 327, 6317, 18, 588, 3406, 1076, 5621, 202, 202, 474, 1778, 273, 3978, 774, 54, 1228, 18, 588, 5049, 12, 588, 907, 9334, 353, 2570, 1769, 202, 202, 759, 3338, 527, 326, 8266, 434, 326, 1843, 770, 471, 326, 1817, 770, 202, 4625, 39, 1085, 18, 1289, 8952, 1076, 3759, 12, 1331, 10910, 1768, 16, 8088, 1799, 3251, 12, 291, 2570, 10019, 2 ]
if (i >= 0) return objects.elementAt(i);
if (i >= 0) { return _objects.elementAt(i); }
public Object get(String name) { int i = indexOf(name); if (i >= 0) return objects.elementAt(i); return null; } //-- get
57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/639ed93115321ad51c2450f306c4d50d146ede46/JNamedMap.java/buggy/src/main/java/org/exolab/javasource/JNamedMap.java
[ 1, 8585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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 12, 780, 508, 13, 288, 3639, 509, 277, 273, 3133, 12, 529, 1769, 3639, 309, 261, 77, 1545, 374, 13, 288, 327, 389, 6911, 18, 2956, 861, 12, 77, 1769, 289, 3639, 327, 446, 31, 565, 289, 368, 413, 336, 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 ]