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 (!_bangobj.isActive() || !_bangobj.isInPlay()) {
if (!_bangobj.isActive() || _bangobj.state != BangObject.IN_PLAY) {
public void expired () { // cope if the game has been ended and destroyed since we were // queued up for execution if (!_bangobj.isActive() || !_bangobj.isInPlay()) { return; } // reset the extra tick time and update the game's tick counter int nextTick = (_bangobj.tick + 1) % Short.MAX_VALUE; _extraTickTime = 0L; _bangobj.setTick((short)nextTick); // queue ourselves up to expire in a time proportional to the // average number of pieces per player int avgPer = _bangobj.getAverageUnitCount(); long now = System.currentTimeMillis(); _nextTickTime = now + // ticks must be at least one second apart Math.max(getBaseTick() * avgPer + _extraTickTime, 1000L); _ticker.schedule(_nextTickTime - now); }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/0ef65426e9f245f5d38e71407ff6aa959731e96d/BangManager.java/buggy/src/java/com/threerings/bang/game/server/BangManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 7708, 1832, 288, 5411, 368, 276, 1306, 309, 326, 7920, 711, 2118, 16926, 471, 17689, 3241, 732, 4591, 5411, 368, 12234, 731, 364, 4588, 5411, 309, 16051, 67, 70, 539, 2603, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 7708, 1832, 288, 5411, 368, 276, 1306, 309, 326, 7920, 711, 2118, 16926, 471, 17689, 3241, 732, 4591, 5411, 368, 12234, 731, 364, 4588, 5411, 309, 16051, 67, 70, 539, 2603, 18,...
InstallUtil.getRemoteCa(getController().getModel());
getRemoteCa();
public void execute() throws InstallerException { fireStarted(); int stepCount = 2; double percentPerStep = 100/stepCount; double percent = 0; InstallUtil.getRemoteCa(getController().getModel()); fireProgress("...ca complete!", (int)percent); createScConfig(); fireProgress("...service container configuration created!", (int)percent); fireFinished(); }
25778 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25778/e0174ba5e6bc124b37fdeb42b70a998b804400ea/GrmScConfigurationTask.java/buggy/src/com/sun/grid/grm/install/tasks/GrmScConfigurationTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 10284, 264, 503, 288, 3639, 4452, 9217, 5621, 7734, 509, 2235, 1380, 273, 576, 31, 3639, 1645, 5551, 2173, 4160, 273, 2130, 19, 4119, 1380, 31, 3639, 1645, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 10284, 264, 503, 288, 3639, 4452, 9217, 5621, 7734, 509, 2235, 1380, 273, 576, 31, 3639, 1645, 5551, 2173, 4160, 273, 2130, 19, 4119, 1380, 31, 3639, 1645, 55...
CompositeModelCommand cc = new CompositeModelCommand(PresentationResourceManager.getInstance().getString("AddCommand.Label"));
CompositeModelCommand cc = new CompositeModelCommand(DiagramResourceManager.getInstance().getString("AddCommand.Label"));
protected Command getCreateCommand(CreateRequest request) { CreateViewRequest req = (CreateViewRequest) request; CompositeModelCommand cc = new CompositeModelCommand(PresentationResourceManager.getInstance().getString("AddCommand.Label")); //$NON-NLS-1$ Iterator iter = req.getViewDescriptors().iterator(); final Rectangle BOUNDS = (Rectangle) getConstraintFor(request); while (iter.hasNext()) { CreateViewRequest.ViewDescriptor viewDescriptor = (CreateViewRequest.ViewDescriptor)iter.next(); Rectangle rect = getBoundsOffest(req, BOUNDS,viewDescriptor); cc.compose(new SetBoundsCommand( PresentationResourceManager.getInstance().getString("SetLocationCommand.Label.Resize"),//$NON-NLS-1$ viewDescriptor, rect)); } if( cc.unwrap() == null ) return null; return chainGuideAttachmentCommands( request, new EtoolsProxyCommand(cc.unwrap())); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/XYLayoutEditPolicy.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/XYLayoutEditPolicy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3498, 25667, 2189, 12, 1684, 691, 590, 13, 288, 202, 202, 1684, 1767, 691, 1111, 273, 261, 1684, 1767, 691, 13, 590, 31, 202, 202, 9400, 1488, 2189, 4946, 273, 394, 14728, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3498, 25667, 2189, 12, 1684, 691, 590, 13, 288, 202, 202, 1684, 1767, 691, 1111, 273, 261, 1684, 1767, 691, 13, 590, 31, 202, 202, 9400, 1488, 2189, 4946, 273, 394, 14728, 14...
log(pAnnotationType, annotationType);
log(2, pAnnotationType, annotationType);
public static AnnotationTypeEnum valueOf(String pAnnotationType) { if (pAnnotationType == null) { throw new IllegalArgumentException("pAnnotationType is null"); } AnnotationTypeEnum annotationType; if (pAnnotationType.equals(JAVADOC_ANNOTATION_TYPE)) { annotationType = JAVADOC; } else if (pAnnotationType.equals(JDK_ANNOTATION_TYPE)) { annotationType = JDK; } else if (pAnnotationType.equals("1.4") || pAnnotationType.toLowerCase().equals(JAVADOC_ANNOTATION_TYPE.toLowerCase())) { // For backward compatibility only annotationType = JAVADOC; log(pAnnotationType, annotationType); } else if ("1.5".equals(pAnnotationType) || pAnnotationType.toLowerCase().equals(JDK_ANNOTATION_TYPE.toLowerCase())) { // For backward compatibility only annotationType = JDK; log(pAnnotationType, annotationType); } else if ("jdk1.5".equals(pAnnotationType.toLowerCase()) || "jdk5".equals(pAnnotationType.toLowerCase())) { // For backward compatibility only annotationType = JDK; log(pAnnotationType, annotationType); } else { // For backward compatibility only // TODO should we make this an error? annotationType = VersionInfo.getDefaultAnnotationType(); log(pAnnotationType, annotationType); } if (VersionInfo.IS_JDK14 && annotationType == JDK) { throw new IllegalArgumentException( "Cannot specify \"" + pAnnotationType + "\" with 1.4 version of TestNG"); } return annotationType; }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/fd3d62963585c7d537041ba7ed53ebda5eef31c4/AnnotationTypeEnum.java/clean/src/main/org/testng/internal/AnnotationTypeEnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6090, 10549, 4323, 12, 780, 293, 3257, 559, 13, 288, 565, 309, 261, 84, 3257, 559, 422, 446, 13, 288, 1377, 604, 394, 2754, 2932, 84, 3257, 559, 353, 446, 8863, 565, 289, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6090, 10549, 4323, 12, 780, 293, 3257, 559, 13, 288, 565, 309, 261, 84, 3257, 559, 422, 446, 13, 288, 1377, 604, 394, 2754, 2932, 84, 3257, 559, 353, 446, 8863, 565, 289, 3...
if (index == 0 || index == qualifiedName.length() - 1) {
int lastIndex = qualifiedName.lastIndexOf(':'); if (index == 0 || index == qualifiedName.length() - 1 || lastIndex!=index) {
public DocumentType createDocumentType(String qualifiedName, String publicID, String systemID) { if (!CoreDocumentImpl.isXMLName(qualifiedName)) { throw new DOMException(DOMException.INVALID_CHARACTER_ERR, "DOM002 Illegal character"); } int index = qualifiedName.indexOf(':'); if (index == 0 || index == qualifiedName.length() - 1) { throw new DOMException(DOMException.NAMESPACE_ERR, "DOM003 Namespace error"); } return new DocumentTypeImpl(null, qualifiedName, publicID, systemID); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/25e906f235891acf1ba2cfbd534ab27ba546e85b/DOMImplementationImpl.java/clean/src/org/apache/xerces/dom/DOMImplementationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 559, 4202, 27569, 559, 12, 780, 24133, 16, 4766, 5375, 514, 1071, 734, 16, 4766, 5375, 514, 2619, 734, 13, 565, 288, 377, 202, 430, 16051, 4670, 2519, 2828, 18, 291, 4201, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 559, 4202, 27569, 559, 12, 780, 24133, 16, 4766, 5375, 514, 1071, 734, 16, 4766, 5375, 514, 2619, 734, 13, 565, 288, 377, 202, 430, 16051, 4670, 2519, 2828, 18, 291, 4201, 4...
public void setVar(String varname, Thing value) { setVar(varname, value, -1);
public void setVar(Thing varname, Thing value) { setVar(varname.toString(), value);
public void setVar(String varname, Thing value) { setVar(varname, value, -1); }
47447 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47447/1ededafc11e01105c14809fc998cf2fc5b38fae2/Interp.java/clean/trunk/hecl/com/dedasys/hecl/Interp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1537, 12, 780, 15434, 16, 25803, 460, 13, 288, 202, 542, 1537, 12, 1401, 529, 16, 460, 16, 300, 21, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1537, 12, 780, 15434, 16, 25803, 460, 13, 288, 202, 542, 1537, 12, 1401, 529, 16, 460, 16, 300, 21, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
Adventure skiAdventure = SampleData.WINTER_HOLIDAY;
IObservableList lodgings = BeansObservables.observeList(Realm .getDefault(), catalog, "lodgings"); ObservableListContentProvider contentProvider = new ObservableListContentProvider();
public void test_ROCombo_Scenario03_vanilla() { Adventure skiAdventure = SampleData.WINTER_HOLIDAY; // selection will // change its defaultLodging cviewer.setLabelProvider(lodgingLabelProvider); // Bind the ComboViewer's content to the available lodging cviewer.setContentProvider(new ObservableListContentProvider()); cviewer.setLabelProvider(new LabelProvider() { public String getText(Object element) { return ((Lodging) element).getName(); } }); IObservableList list = new WritableList(Lodging.class); list.addAll(Arrays.asList(catalog.getLodgings())); cviewer.setInput(list); // Ensure that cv's content now has the catalog's lodgings assertArrayEquals(catalog.getLodgings(), getViewerContent(cviewer).toArray()); // Ensure that the cv's labels are the same as the lodging descriptions assertEquals(getColumn(catalog.getLodgings(), "name"), getComboContent()); getDbc().bindValue(ViewersObservables.observeSingleSelection(cviewer), BeansObservables.observeValue(skiAdventure, "defaultLodging"), null); // Check to see that the initial selection is the currentDefault Lodging assertEquals(getViewerSelection(), skiAdventure.getDefaultLodging()); // Change the selection of the ComboViewer to all possible lodgings, and // verify that skiAdventure's default lodging was changed accordingly for (int i = 0; i < catalog.getLodgings().length; i++) { Object selection = catalog.getLodgings()[i]; cviewer.setSelection(new StructuredSelection(selection)); assertEquals(selection, skiAdventure.getDefaultLodging()); assertEquals(getViewerSelection(), skiAdventure.getDefaultLodging()); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a469cb14d7815f1d5dea6c4a44ea9ea80e229bed/ComboScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ComboScenarios.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 1457, 16156, 67, 21390, 4630, 67, 90, 26476, 1435, 288, 3639, 4052, 616, 594, 4343, 77, 1871, 616, 594, 273, 11474, 751, 18, 59, 9125, 67, 44, 1741, 734, 5255, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 1457, 16156, 67, 21390, 4630, 67, 90, 26476, 1435, 288, 3639, 4052, 616, 594, 4343, 77, 1871, 616, 594, 273, 11474, 751, 18, 59, 9125, 67, 44, 1741, 734, 5255, 31, ...
return rs.getString( "sysdata_value" );
return new Table_users( rs );
public Object mapOneRow( ResultSet rs ) throws SQLException { return rs.getString( "sysdata_value" ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1006917dfe63a5d85d047011540205a2b02407a8/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 852, 3335, 1999, 12, 10842, 3597, 262, 1216, 6483, 288, 7734, 327, 394, 3555, 67, 5577, 12, 3597, 11272, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 852, 3335, 1999, 12, 10842, 3597, 262, 1216, 6483, 288, 7734, 327, 394, 3555, 67, 5577, 12, 3597, 11272, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
msg = pg_stream.ReceiveString(4096);
msg = pg_stream.ReceiveString(receive_sbuf,4096,getEncoding());
public java.sql.ResultSet ExecSQL(String sql) throws SQLException { // added Oct 7 1998 to give us thread safety. synchronized(pg_stream) { Field[] fields = null; Vector tuples = new Vector(); byte[] buf = null; int fqp = 0; boolean hfr = false; String recv_status = null, msg; int update_count = 1; int insert_oid = 0; SQLException final_error = null; // Commented out as the backend can now handle queries // larger than 8K. Peter June 6 2000 //if (sql.length() > 8192) //throw new PSQLException("postgresql.con.toolong",sql); if (getEncoding() == null) buf = sql.getBytes(); else { try { buf = sql.getBytes(getEncoding()); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.con.encoding", unse); } } try { pg_stream.SendChar('Q'); buf = sql.getBytes(); pg_stream.Send(buf); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } while (!hfr || fqp > 0) { Object tup=null; // holds rows as they are recieved int c = pg_stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify pid = pg_stream.ReceiveInteger(4); msg = pg_stream.ReceiveString(8192); break; case 'B': // Binary Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, true); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'C': // Command Status recv_status = pg_stream.ReceiveString(8192); // Now handle the update count correctly. if(recv_status.startsWith("INSERT") || recv_status.startsWith("UPDATE") || recv_status.startsWith("DELETE")) { try { update_count = Integer.parseInt(recv_status.substring(1+recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } if(recv_status.startsWith("INSERT")) { try { insert_oid = Integer.parseInt(recv_status.substring(1+recv_status.indexOf(' '),recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } } } if (fields != null) hfr = true; else { try { pg_stream.SendChar('Q'); pg_stream.SendChar(' '); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } fqp++; } break; case 'D': // Text Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, false); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'E': // Error Message msg = pg_stream.ReceiveString(4096); final_error = new SQLException(msg); hfr = true; break; case 'I': // Empty Query int t = pg_stream.ReceiveChar(); if (t != 0) throw new PSQLException("postgresql.con.garbled"); if (fqp > 0) fqp--; if (fqp == 0) hfr = true; break; case 'N': // Error Notification addWarning(pg_stream.ReceiveString(4096)); break; case 'P': // Portal Name String pname = pg_stream.ReceiveString(8192); break; case 'T': // MetaData Field Description if (fields != null) throw new PSQLException("postgresql.con.multres"); fields = ReceiveFields(); break; case 'Z': // backend ready for query, ignore for now :-) break; default: throw new PSQLException("postgresql.con.type",new Character((char)c)); } } if (final_error != null) throw final_error; return getResultSet(this, fields, tuples, recv_status, update_count, insert_oid); } }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/f41dcbe4d810f0906f43d1b345cf506d72c792ac/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 3889, 3997, 12, 780, 1847, 13, 1216, 6483, 565, 288, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 18, 202, 22043, 12, 8365, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2252, 18, 4669, 18, 13198, 3889, 3997, 12, 780, 1847, 13, 1216, 6483, 565, 288, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 18, 202, 22043, 12, 8365, 67, ...
assertStatusContains(parser.getStatus(), "Invalid kind");
StatusCheck.assertStatusContains(parser.getStatus(), "Invalid kind");
public void testLeafTaskInvalidKind() { assertNull(parseTestFile("LeafTaskInvalidKind.xml")); assertEquals(IStatus.ERROR, parser.getStatus().getSeverity()); assertStatusContains(parser.getStatus(), "Invalid kind"); }
13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/d0e465b219e69c0f5651f0f117339d9894cd4bef/TestCompositeParser.java/buggy/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestCompositeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9858, 2174, 1941, 5677, 1435, 288, 202, 202, 11231, 2041, 12, 2670, 4709, 812, 2932, 9858, 2174, 1941, 5677, 18, 2902, 7923, 1769, 202, 202, 11231, 8867, 12, 45, 1482...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9858, 2174, 1941, 5677, 1435, 288, 202, 202, 11231, 2041, 12, 2670, 4709, 812, 2932, 9858, 2174, 1941, 5677, 18, 2902, 7923, 1769, 202, 202, 11231, 8867, 12, 45, 1482...
boolean didRelayout = false;
boolean clearedPage = false; int clearDelta = 0;
private static void positionFloatOnPage( final LayoutContext c, FloatedBlockContent content, LineBox curr_line, FloatedBlockBox block, boolean movedVertically) { boolean didRelayout = false; if (block.getStyle().isForcePageBreakBefore() || (block.getStyle().isAvoidPageBreakInside() && block.crossesPageBreak(c))) { didRelayout = true; block.moveToNextPage(c); block.calcCanvasLocation(); block.detach(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); } if (! didRelayout && movedVertically) { block.detach(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); } }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/868e29fe0bd81b55cbd739f60feedbe5488f9adb/LayoutUtil.java/clean/src/java/org/xhtmlrenderer/layout/LayoutUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1754, 4723, 1398, 1964, 12, 5411, 727, 9995, 1042, 276, 16, 478, 383, 690, 1768, 1350, 913, 16, 2398, 5377, 3514, 4306, 67, 1369, 16, 478, 383, 690, 1768, 3514, 1203, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1754, 4723, 1398, 1964, 12, 5411, 727, 9995, 1042, 276, 16, 478, 383, 690, 1768, 1350, 913, 16, 2398, 5377, 3514, 4306, 67, 1369, 16, 478, 383, 690, 1768, 3514, 1203, 16...
String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( );
String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( );
private static IPath getWebappPath( String pluginId, IPath path ) throws CoreException { Bundle bundle = Platform.getBundle( pluginId ); if ( bundle == null ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.appserver.cannotfindplugin", //$NON-NLS-1$ new Object[] { pluginId } ), null ) ); } // Note: we just look for one webapp directory. // If needed, may want to use the locale specific path. URL webappURL = Platform.find( bundle, path ); if ( webappURL == null ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.appserver.cannotfindpath", //$NON-NLS-1$ new Object[] { pluginId, path.toOSString( ) } ), null ) ); } try { String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( ); webappLocation += "birt/"; //$NON-NLS-1$ return new Path( webappLocation ); } catch ( IOException ioe ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.appserver.cannotresolvepath", //$NON-NLS-1$ new Object[] { pluginId, path.toOSString( ) } ), ioe ) ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3ff8c8c7dcc1456137e4ae046739e5dc4d3f729d/WebappAccessor.java/clean/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 743, 20312, 2910, 743, 12, 514, 1909, 548, 16, 467, 743, 589, 262, 1082, 202, 15069, 30015, 202, 95, 202, 202, 3405, 3440, 273, 11810, 18, 588, 3405, 12, 1909, 548,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 467, 743, 20312, 2910, 743, 12, 514, 1909, 548, 16, 467, 743, 589, 262, 1082, 202, 15069, 30015, 202, 95, 202, 202, 3405, 3440, 273, 11810, 18, 588, 3405, 12, 1909, 548,...
if ( this.getSelected() == 0 && request.getType() == RequestConstants.REQ_SELECTION )
if ( this.getSelected() == 0 && isActive() && request.getType() == RequestConstants.REQ_SELECTION )
public void showTargetFeedback(Request request) { if ( this.getSelected() == 0 && request.getType() == RequestConstants.REQ_SELECTION ) { this.getViewer().setCursor( ReportPlugin.getDefault().getCellCursor() ); } super.showTargetFeedback( request ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d83e9ce357552ccee889709a0e69d109f4dcfa0b/TableCellEditPart.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/TableCellEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2405, 2326, 15888, 12, 691, 590, 13, 202, 95, 202, 565, 309, 261, 333, 18, 588, 7416, 1435, 422, 374, 597, 590, 18, 588, 559, 1435, 422, 1567, 2918, 18, 20373, 67, 1090...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2405, 2326, 15888, 12, 691, 590, 13, 202, 95, 202, 565, 309, 261, 333, 18, 588, 7416, 1435, 422, 374, 597, 590, 18, 588, 559, 1435, 422, 1567, 2918, 18, 20373, 67, 1090...
default :
default :
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2){ switch(hiByte) { case 0: return ((jjbitVec2[i2] & l2) != 0L); default : if ((jjbitVec0[i1] & l1) != 0L) return true; return false; }}
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAParserTokenManager.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 727, 1250, 10684, 2568, 7607, 67, 20, 12, 474, 10118, 3216, 16, 509, 277, 21, 16, 509, 277, 22, 16, 1525, 328, 21, 16, 1525, 328, 22, 15329, 282, 1620, 12, 12266, 3216, 13, 282,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 727, 1250, 10684, 2568, 7607, 67, 20, 12, 474, 10118, 3216, 16, 509, 277, 21, 16, 509, 277, 22, 16, 1525, 328, 21, 16, 1525, 328, 22, 15329, 282, 1620, 12, 12266, 3216, 13, 282,...
public String getSCDRunnableCommand() {
public String getSCDRunnableCommand(boolean quoteIncludePaths) {
public String getSCDRunnableCommand() { String commandAsString = new String(); for (Iterator i = compilerCommand.iterator(); i.hasNext(); ) { KVStringPair optionPair = (KVStringPair)i.next(); if (optionPair.getKey().equals(SCDOptionsEnum.COMMAND.toString())) { commandAsString += optionPair.getValue() + SINGLE_SPACE; } else { // skip -include and -imacros options if (optionPair.getKey().equals(SCDOptionsEnum.IMACROS_FILE.toString()) || optionPair.getKey().equals(SCDOptionsEnum.INCLUDE_FILE.toString())) continue; commandAsString += optionPair.getKey() + SINGLE_SPACE + optionPair.getValue() + SINGLE_SPACE; } } return commandAsString.trim(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/346e8f27c9b46a93a67ee8bf34e5fff556bf6893/CCommandDSC.java/buggy/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/util/CCommandDSC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1322, 10160, 20013, 2189, 1435, 288, 202, 202, 780, 1296, 8092, 273, 394, 514, 5621, 202, 202, 1884, 261, 3198, 277, 273, 5274, 2189, 18, 9838, 5621, 277, 18, 5332, 2134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1322, 10160, 20013, 2189, 1435, 288, 202, 202, 780, 1296, 8092, 273, 394, 514, 5621, 202, 202, 1884, 261, 3198, 277, 273, 5274, 2189, 18, 9838, 5621, 277, 18, 5332, 2134, ...
while(I.hasNext()){
while (I.hasNext()) {
private DropdownMenu getTagDrop(String name,int iCategoryId){ List L = ContractFinder.listOfContractTagsInUse(iCategoryId); DropdownMenu drp = new DropdownMenu(name); drp.addMenuElementFirst("tag",iwrb.getLocalizedString("tags","Tags")); if(L!=null){ java.util.Iterator I = L.iterator(); while(I.hasNext()){ ContractTag tag = (ContractTag) I.next(); drp.addMenuElement(" ["+tag.getName()+"]",tag.getName()); } drp.addMenuElement(" ["+ContractWriter.contract_starts+"]",ContractWriter.contract_starts); drp.addMenuElement(" ["+ContractWriter.contract_ends+"]",ContractWriter.contract_ends); drp.addMenuElement(" ["+ContractWriter.today+"]",ContractWriter.today); } return drp; }
13540 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13540/05d1d81503aac633fe98b577b342917ea27752d2/ContractTextSetter.java/clean/src/java/com/idega/block/contract/presentation/ContractTextSetter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 10895, 2378, 4599, 11362, 7544, 12, 780, 508, 16, 474, 277, 21197, 15329, 202, 202, 682, 511, 273, 13456, 8441, 18, 1098, 951, 8924, 3453, 15435, 12, 77, 21197, 1769, 565, 10895, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 10895, 2378, 4599, 11362, 7544, 12, 780, 508, 16, 474, 277, 21197, 15329, 202, 202, 682, 511, 273, 13456, 8441, 18, 1098, 951, 8924, 3453, 15435, 12, 77, 21197, 1769, 565, 10895, 23...
if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); } this.callbackTypes = CallbackInfo.determineTypes(callbackTypes);
if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty");
public void setCallbackTypes(Class[] callbackTypes) { if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); } this.callbackTypes = CallbackInfo.determineTypes(callbackTypes); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4c632c609488fb8900f7eb5390cd16cbaaf04adf/AdvancedEnhancer.java/clean/source/net/sf/cglib/proxy/AdvancedEnhancer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2428, 2016, 12, 797, 8526, 1348, 2016, 13, 288, 3639, 309, 261, 3394, 2016, 480, 446, 597, 1348, 2016, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 2754, 2932, 1076, 278...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 2428, 2016, 12, 797, 8526, 1348, 2016, 13, 288, 3639, 309, 261, 3394, 2016, 480, 446, 597, 1348, 2016, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 2754, 2932, 1076, 278...
bw.write("FORCE=" + (this.forceCompile ? "1" : "0"));
bw.write("FORCECOMPILE=" + (this.forceCompile ? "1" : "0"));
private void writeParams() throws BuildException { try { BufferedWriter bw = new BufferedWriter(new FileWriter(params)); bw.write("FILESETS=" + fsList.getAbsolutePath()); bw.newLine(); bw.write("OUTPUTDIR=" + destDir.getAbsolutePath()); bw.newLine(); bw.write("PCTDIR=" + xRefDir.getAbsolutePath()); bw.newLine(); bw.write("FORCE=" + (this.forceCompile ? "1" : "0")); bw.newLine(); bw.write("MINSIZE=" + (this.minSize ? "1" : "0")); bw.newLine(); bw.write("MD5=" + (this.md5 ? "1" : "0")); bw.newLine(); bw.write("FORCECOMPILE=" + (this.forceCompile ? "1" : "0")); bw.newLine(); bw.write("FAILONERROR=" + (this.failOnError ? "1" : "0")); bw.newLine(); bw.close(); } catch (IOException ioe) { throw new BuildException("Unable to write file list to compile"); } }
47244 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47244/6c0d1fd5fb6d9c7557daa8a2e402671fc9dfdbb9/PCTCompile.java/clean/src/java/com/phenix/pct/PCTCompile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1370, 1435, 1216, 18463, 288, 3639, 775, 288, 5411, 22490, 12986, 273, 394, 22490, 12, 2704, 24639, 12, 2010, 10019, 5411, 12986, 18, 2626, 2932, 3776, 28092, 1546, 397, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1370, 1435, 1216, 18463, 288, 3639, 775, 288, 5411, 22490, 12986, 273, 394, 22490, 12, 2704, 24639, 12, 2010, 10019, 5411, 12986, 18, 2626, 2932, 3776, 28092, 1546, 397, 26...
private void processAddToGroupNode(AnAction action, Element element) { if (LOG.isDebugEnabled()) { LOG.debug("enter: processAddToGroupNode(" + action + "," + element.getName() + ")"); } // Real subclasses of AnAction should not be here if (!(action instanceof Separator)) { assertActionIsGroupOrStub(action); } String actionName = (action instanceof ActionStub) ? ((ActionStub) action).getClassName() : action.getClass().getName(); if (!ADD_TO_GROUP_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return; } String groupId = element.getAttributeValue(GROUPID_ATTR_NAME); if (groupId == null || groupId.length() == 0) { LOG.error(actionName + ": attribute \"group-id\" should be defined"); return; } AnAction parentGroup = getActionImpl(groupId, true); if (parentGroup == null) { LOG.error(actionName + ": action with id \"" + groupId + "\" isn't registered; action will be added to the \"Other\" group"); parentGroup = getActionImpl(IdeActions.GROUP_OTHER_MENU, true); } if (!(parentGroup instanceof DefaultActionGroup)) { LOG.error(actionName + ": action with id \"" + groupId + "\" should be instance of " + DefaultActionGroup.class.getName()); return; } String anchorStr = element.getAttributeValue(ANCHOR_ELEMENT_NAME); if (anchorStr == null) { LOG.error(actionName + ": attribute \"anchor\" should be defined"); return; } Anchor anchor; if (FIRST.equalsIgnoreCase(anchorStr)) { anchor = Anchor.FIRST; } else if (LAST.equalsIgnoreCase(anchorStr)) { anchor = Anchor.LAST; } else if (BEFORE.equalsIgnoreCase(anchorStr)) { anchor = Anchor.BEFORE; } else if (AFTER.equalsIgnoreCase(anchorStr)) { anchor = Anchor.AFTER; } else { LOG.error(actionName + ": anchor should be one of the following constants: \"first\", \"last\", \"before\" or \"after\""); return; } String relativeToActionId = element.getAttributeValue(RELATIVE_TO_ACTION_ATTR_NAME); if ((Anchor.BEFORE == anchor || Anchor.AFTER == anchor) && relativeToActionId == null) { LOG.error(actionName + ": \"relative-to-action\" cannot be null if anchor is \"after\" or \"before\""); return; } ((DefaultActionGroup)parentGroup).add(action, new Constraints(anchor, relativeToActionId), this); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2567, 986, 774, 1114, 907, 12, 979, 1803, 1128, 16, 1046, 2956, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2567, 986, 774, 1114, 907, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2567, 986, 774, 1114, 907, 12, 979, 1803, 1128, 16, 1046, 2956, 15329, 430, 12, 4842, 18, 291, 2829, 1526, 10756, 95, 4842, 18, 4148, 2932, 2328, 30, 2567, 986, 774, 1114, 907, 2...
String path = Generator2.getCodePath(cls);
String path = GeneratorManager.getCodePath(cls);
private boolean isCodeRelevantClassifier(Object/*MClassifier*/ cls) { if (cls == null) { return false; } if (!Model.getFacade().isAClass(cls) && !Model.getFacade().isAInterface(cls)) { return false; } String path = Generator2.getCodePath(cls); String name = Model.getFacade().getName(cls); if (name == null || name.length() == 0 || Character.isDigit(name.charAt(0))) { return false; } if (path != null) { return (path.length() > 0); } Object/*MNamespace*/ parent = Model.getFacade().getNamespace(cls); while (parent != null) { path = Generator2.getCodePath(parent); if (path != null) { return (path.length() > 0); } parent = Model.getFacade().getNamespace(parent); } return false; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/c99b75760de33eb52c56d9340ec1a41960167d4f/ActionGenerateProjectCode.java/clean/src_new/org/argouml/uml/ui/ActionGenerateProjectCode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 1085, 17018, 7445, 13860, 12, 921, 20308, 49, 13860, 5549, 2028, 13, 288, 3639, 309, 261, 6429, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 1488, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 1085, 17018, 7445, 13860, 12, 921, 20308, 49, 13860, 5549, 2028, 13, 288, 3639, 309, 261, 6429, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 1488, ...
Object rval = execSub(cx, thisObj, args, funObj, true, funObj);
Object rval = execSub(cx, thisObj, args, funObj, TEST, funObj);
public static Object test(Context cx, Scriptable thisObj, Object[] args, Function funObj) { Object rval = execSub(cx, thisObj, args, funObj, true, funObj); if (rval == null || !rval.equals(Boolean.TRUE)) rval = Boolean.FALSE; return rval; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/9d8af8e17d97d2f8879112efae076088793bcb6f/NativeRegExp.java/buggy/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 1842, 12, 1042, 9494, 16, 22780, 15261, 16, 17311, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 288, 3639, 1033, 14267, 273, 1196, 1676, 12, 71, 92, 16, 15261, 16, 833, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 1842, 12, 1042, 9494, 16, 22780, 15261, 16, 17311, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 288, 3639, 1033, 14267, 273, 1196, 1676, 12, 71, 92, 16, 15261, 16, 833, 1...
public void init(IExtensionStateModel aStateModel, IMemento aMemento) {
public void init(IExtensionStateModel aStateModel, IMemento aMemento) {
public void init(IExtensionStateModel aStateModel, IMemento aMemento) { }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c93d807ed962723d90daba76fc2003e2c1801cbc/SkeletonTreeContentProvider.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/SkeletonTreeContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 45, 3625, 1119, 1488, 279, 1119, 1488, 16, 6246, 820, 83, 279, 49, 820, 83, 13, 288, 1875, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 45, 3625, 1119, 1488, 279, 1119, 1488, 16, 6246, 820, 83, 279, 49, 820, 83, 13, 288, 1875, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if ( m_AutoResponse == null) {
if (m_AutoResponse == null) {
public void getAutoresponse(Commandline cmd) { if ( m_AutoResponse == null) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); } else if ( m_AutoResponse.equalsIgnoreCase("Y")) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_YES); } else if ( m_AutoResponse.equalsIgnoreCase("N")) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_NO); }else { cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); } // end of else }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/MSVSSCHECKOUT.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26707, 2740, 12, 2189, 1369, 1797, 13, 288, 3639, 309, 261, 81, 67, 4965, 1064, 422, 446, 13, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26707, 2740, 12, 2189, 1369, 1797, 13, 288, 3639, 309, 261, 81, 67, 4965, 1064, 422, 446, 13, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 9651, 67, 37, 1693, 8607, ...
} else if (IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = preferenceStore.getBoolean(IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS);
} else if (IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = apiPreferenceStore.getBoolean(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS);
public void propertyChange(PropertyChangeEvent propertyChangeEvent) { if (IPreferenceConstants.VIEW_TAB_POSITION.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { int tabLocation = preferenceStore.getInt(IPreferenceConstants.VIEW_TAB_POSITION); getTabFolder().setTabPosition(tabLocation); } else if (IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = preferenceStore.getBoolean(IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS); setTabStyle(traditionalTab); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4c0c864491ea8f27d7773b211ddae0e40a81354f/PartTabFolderPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PartTabFolderPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 1272, 20930, 13, 288, 1082, 202, 430, 261, 45, 9624, 2918, 18, 12145, 67, 28899, 67, 15258, 18, 14963, 12, 4468, 20930, 18, 588, 1396, 10756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 1272, 20930, 13, 288, 1082, 202, 430, 261, 45, 9624, 2918, 18, 12145, 67, 28899, 67, 15258, 18, 14963, 12, 4468, 20930, 18, 588, 1396, 10756, ...
throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor.getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useScope = innerClass.getUseScope(); final PsiReference[] references = searchHelper.findReferences(innerClass, useScope, false); for(final PsiReference reference : references){ final PsiElement element = reference.getElement(); final PsiElement parent = element.getParent(); if(parent instanceof PsiNewExpression){ final PsiNewExpression newExpression = (PsiNewExpression) parent; final PsiExpression qualifier = newExpression.getQualifier(); if(qualifier != null){ qualifier.delete(); }
throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor .getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); assert innerClass != null; final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useScope = innerClass.getUseScope(); final PsiReference[] references = searchHelper .findReferences(innerClass, useScope, false); for(final PsiReference reference : references){ final PsiElement element = reference.getElement(); final PsiElement parent = element.getParent(); if(parent instanceof PsiNewExpression){ final PsiNewExpression newExpression = (PsiNewExpression) parent; final PsiExpression qualifier = newExpression .getQualifier(); if(qualifier != null){ qualifier.delete();
public void doFix(Project project, ProblemDescriptor descriptor) throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor.getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useScope = innerClass.getUseScope(); final PsiReference[] references = searchHelper.findReferences(innerClass, useScope, false); for(final PsiReference reference : references){ final PsiElement element = reference.getElement(); final PsiElement parent = element.getParent(); if(parent instanceof PsiNewExpression){ final PsiNewExpression newExpression = (PsiNewExpression) parent; final PsiExpression qualifier = newExpression.getQualifier(); if(qualifier != null){ qualifier.delete(); } } } final PsiModifierList modifiers = innerClass.getModifierList(); modifiers.setModifierProperty(PsiModifier.STATIC, true); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/bd57f07c33c419f20715b114b71a7e93425b34c9/InnerClassMayBeStaticInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/InnerClassMayBeStaticInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 28524, 540, 1216, 657, 6746, 10602, 95, 5411, 727, 453, 7722, 5852, 1345, 2658, 1345, 273, 261, 52, 7722, 5852, 1345, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 28524, 540, 1216, 657, 6746, 10602, 95, 5411, 727, 453, 7722, 5852, 1345, 2658, 1345, 273, 261, 52, 7722, 5852, 1345, 13, ...
if (iSeries != null) { return iSeries.length;
if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0;
public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05e078356cbf684ec12612d15c6a53faa346f073/Statistics.java/buggy/src/edu/sc/seis/fissuresUtil/bag/Statistics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 9888, 1435, 288, 565, 309, 261, 77, 6485, 480, 446, 13, 288, 3639, 327, 277, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 87, 6485, 480, 446, 13, 288, 3639, 327, 272, 6485,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9888, 1435, 288, 565, 309, 261, 77, 6485, 480, 446, 13, 288, 3639, 327, 277, 6485, 18, 2469, 31, 565, 289, 565, 309, 261, 87, 6485, 480, 446, 13, 288, 3639, 327, 272, 6485,...
if (!(element instanceof ITaskListCategory) && !(element instanceof IQuery)) { manager.add(activateAction); manager.add(deactivateAction);
if ((element instanceof ITask) || (element instanceof IQueryHit)) { ITask task = null; if (element instanceof IQueryHit) { task = ((IQueryHit)element).getOrCreateCorrespondingTask(); } else { task = (ITask)element; } if (task.isActive()) { manager.add(deactivateAction); } else { manager.add(activateAction); }
void fillContextMenu(IMenuManager manager) { updateDrillDownActions(); ITaskListElement element = null;; final Object selectedObject = ((IStructuredSelection)getViewer().getSelection()).getFirstElement(); if (selectedObject instanceof ITaskListElement) { element = (ITaskListElement) selectedObject; } if (!(element instanceof ITaskListCategory) && !(element instanceof IQuery)) { manager.add(activateAction); manager.add(deactivateAction); } addAction(openAction, manager, element); addAction(completeTask, manager, element); addAction(incompleteTask, manager, element); manager.add(new Separator("tasks")); addAction(removeAction, manager, element); addAction(rename, manager, element); addAction(delete, manager, element); addAction(copyAction, manager, element);// addAction(createTask, manager, element); manager.add(new Separator("context")); for (IDynamicSubMenuContributor contributor : MylarTasklistPlugin.getDefault().getDynamicMenuContributers()) { MenuManager subMenuManager = contributor.getSubMenuManager(this, (ITaskListElement)selectedObject); if (subMenuManager != null) addMenuManager(subMenuManager, manager, element); } manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/73fe837e24d18f3f28b242f55d664e81d02c4868/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3636, 27315, 12, 3445, 2104, 1318, 3301, 13, 288, 377, 202, 2725, 8956, 737, 4164, 6100, 5621, 377, 202, 377, 202, 1285, 835, 682, 1046, 930, 273, 446, 25708, 3639, 727, 1033, 3170, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3636, 27315, 12, 3445, 2104, 1318, 3301, 13, 288, 377, 202, 2725, 8956, 737, 4164, 6100, 5621, 377, 202, 377, 202, 1285, 835, 682, 1046, 930, 273, 446, 25708, 3639, 727, 1033, 3170, ...
ExecSQL("begin");
ExecSQL(null, "begin");
public void commit() throws SQLException { if (autoCommit) return; ExecSQL("commit"); autoCommit = true; ExecSQL("begin"); autoCommit = false; }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/Connection.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3294, 1435, 1216, 6483, 225, 288, 565, 309, 261, 6079, 5580, 13, 1377, 327, 31, 565, 3889, 3997, 2932, 7371, 8863, 565, 3656, 5580, 273, 638, 31, 565, 3889, 3997, 12, 2011, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3294, 1435, 1216, 6483, 225, 288, 565, 309, 261, 6079, 5580, 13, 1377, 327, 31, 565, 3889, 3997, 2932, 7371, 8863, 565, 3656, 5580, 273, 638, 31, 565, 3889, 3997, 12, 2011, 1...
void INT_stddev_using_precalc_ma( double inReal[], double inMovAvg[], int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, double output[] ){ double tempReal, periodTotal2, meanValue2; int outIdx; int startSum, endSum; startSum = 1+inMovAvgBegIdx-timePeriod; endSum = inMovAvgBegIdx; periodTotal2 = 0; for( outIdx = startSum; outIdx < endSum; outIdx++) { tempReal = inReal[outIdx]; tempReal *= tempReal; periodTotal2 += tempReal; } for( outIdx=0; outIdx < inMovAvgNbElement; outIdx++, startSum++, endSum++ ) { tempReal = inReal[endSum]; tempReal *= tempReal; periodTotal2 += tempReal; meanValue2 = periodTotal2/timePeriod; tempReal = inReal[startSum]; tempReal *= tempReal; periodTotal2 -= tempReal; tempReal = inMovAvg[outIdx]; tempReal *= tempReal; meanValue2 -= tempReal; if( ! (meanValue2<0.00000001) ) output[outIdx] = Math.sqrt (meanValue2); else output[outIdx] = (double)0.0; }}
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/69e0567047ad75d101e30d35826ecbb51165ba43/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 3217, 67, 27661, 67, 9940, 67, 1484, 12448, 67, 2540, 12, 9056, 267, 6955, 63, 6487, 9056, 267, 49, 1527, 22823, 63, 6487, 474, 267, 49, 1527, 22823, 24059, 4223, 16, 474, 267, 49, 1527...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 3217, 67, 27661, 67, 9940, 67, 1484, 12448, 67, 2540, 12, 9056, 267, 6955, 63, 6487, 9056, 267, 49, 1527, 22823, 63, 6487, 474, 267, 49, 1527, 22823, 24059, 4223, 16, 474, 267, 49, 1527...
((IStructuredSelection)selection).getFirstElement() instanceof TreeObject && ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode();
((IStructuredSelection)selection).getFirstElement() instanceof DOMASTNodeLeaf && ((DOMASTNodeLeaf)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((DOMASTNodeLeaf)((IStructuredSelection)selection).getFirstElement()).getNode();
public void run() { ISelection selection = viewer.getSelection(); if (selection instanceof IStructuredSelection && ((IStructuredSelection)selection).getFirstElement() instanceof TreeObject && ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode(); StringBuffer pattern = new StringBuffer(STRING_QUOTE); if (name.toString() != null) pattern.append(name.toString()); pattern.append(STRING_QUOTE); if (lang == ParserLanguage.CPP) { IASTName[] names = ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode().getTranslationUnit().getDeclarations(name.resolveBinding()); displayNames(names, OPEN_DECLARATIONS, pattern.toString()); } else { IASTName[] names = ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode().getTranslationUnit().getDeclarations(name.resolveBinding()); displayNames(names, OPEN_DECLARATIONS, pattern.toString()); } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7a1f792fe6a4780bc309b94ddba65d9b41a96fd7/DOMAST.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMAST.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 1377, 202, 45, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 1377, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 597, 1377, 1082, 202, 12443, 45, 30733, 623...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 1377, 202, 45, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 1377, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 597, 1377, 1082, 202, 12443, 45, 30733, 623...
fAnimation.setImageTemplate("/grendel/ui/images/animation/Contest{0,number,00}.gif",
fAnimation.setImageTemplate("ui/images/animation/Contest{0,number,00}.gif",
public GeneralFrame(String aTitle, String aID) { fThis = this; fID = aID; String title = aTitle; try { title = fLabels.getString(title); } catch (MissingResourceException e) {} setTitle(title); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { dispose(); } }); updateUI(); fLAFListener = new LAFListener(); UIManager.addPropertyChangeListener(fLAFListener); fPanel = getContentPane(); fAnimation = new Animation(); fAnimation.setImageTemplate("/grendel/ui/images/animation/Contest{0,number,00}.gif", 30); fToolBarPanel = new CollapsiblePanel(true); fToolBarPanelLayout = new ToolBarLayout(); fToolBarPanelConstraints = new GridBagConstraints(); fToolBarPanel.setLayout(fToolBarPanelLayout); fPanel.add(fToolBarPanel, BorderLayout.NORTH); // fUIManager = new netscape.orion.uimanager.UIManager(fToolBarPanel); // We need to use Class.forName because getClass() might return a child // class in another package. ImageIcon curImage = new ImageIcon("ui/images/GrendelIcon32.gif"); setIconImage(curImage.getImage()); fFrameList.addElement(this); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/dba8c3b6ca55297114840a7e8d6a99e1d87d27cb/GeneralFrame.java/buggy/grendel/sources/grendel/ui/GeneralFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9544, 3219, 12, 780, 279, 4247, 16, 514, 279, 734, 13, 288, 565, 284, 2503, 273, 333, 31, 565, 284, 734, 273, 279, 734, 31, 565, 514, 2077, 273, 279, 4247, 31, 565, 775, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9544, 3219, 12, 780, 279, 4247, 16, 514, 279, 734, 13, 288, 565, 284, 2503, 273, 333, 31, 565, 284, 734, 273, 279, 734, 31, 565, 514, 2077, 273, 279, 4247, 31, 565, 775, 288, ...
return getIdValue(id, start);
return getIdValue(id);
public Object get(String name, Scriptable start) { if (maxId != 0) { int id = getId(name); if (id != 0) { Object[] data = idMapData; if (data == null) { return getIdValue(id, start); } else { Object value = data[id - 1]; if (value == null) { value = getIdValue(id, start); } else if (value == NULL_TAG) { value = null; } return value; } } } return super.get(name, start); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/3db7f50283cb2dd0859494c7e36c278004f2f6a8/IdScriptable.java/buggy/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 309, 261, 1896, 548, 480, 374, 13, 288, 5411, 509, 612, 273, 2634, 12, 529, 1769, 5411, 309, 261, 350, 480, 374, 13, 288,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 309, 261, 1896, 548, 480, 374, 13, 288, 5411, 509, 612, 273, 2634, 12, 529, 1769, 5411, 309, 261, 350, 480, 374, 13, 288,...
if (y instanceof Complex) return add (this, (Complex) y, k); return ((Numeric)y).add_reversed (this, k);
return Complex.make (RealNum.add(x.re(), y.re(), k), RealNum.add(x.im(), y.im(), k));
public Numeric add (Object y, int k) { if (y instanceof Complex) return add (this, (Complex) y, k); return ((Numeric)y).add_reversed (this, k); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/574164486706f277677c0e9fe01d898bd9abc03a/Complex.java/buggy/gnu/math/Complex.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16980, 527, 261, 921, 677, 16, 509, 417, 13, 225, 288, 565, 309, 261, 93, 1276, 16060, 13, 1377, 327, 527, 261, 2211, 16, 261, 12795, 13, 677, 16, 417, 1769, 565, 327, 14015, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 16980, 527, 261, 921, 677, 16, 509, 417, 13, 225, 288, 565, 309, 261, 93, 1276, 16060, 13, 1377, 327, 527, 261, 2211, 16, 261, 12795, 13, 677, 16, 417, 1769, 565, 327, 14015, 99...
TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); }
TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); }
protected void setSelection(List items) { Item[] current = getSelection(getTree()); //Don't bother resetting the same selection if (isSameSelection(items, current)) return; TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d94e309c616b79ca7e205fa94a5f9687ffcbe4f8/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 6233, 12, 682, 1516, 13, 288, 3639, 4342, 8526, 783, 273, 23204, 12, 588, 2471, 10663, 3639, 368, 22293, 1404, 23440, 30691, 326, 1967, 4421, 3639, 309, 261, 291, 8650, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 6233, 12, 682, 1516, 13, 288, 3639, 4342, 8526, 783, 273, 23204, 12, 588, 2471, 10663, 3639, 368, 22293, 1404, 23440, 30691, 326, 1967, 4421, 3639, 309, 261, 291, 8650, 62...
if (htmlMsg.length() > 0 || !m_attachments.isEmpty()) { email = new CmsHtmlMail(); ((CmsHtmlMail)email).setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient));
if ((htmlMsg.length() > 0) || !m_attachments.isEmpty()) { CmsHtmlMail htmlMail = new CmsHtmlMail(); htmlMail.setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient));
public Email getEmail(CmsObject cms, I_CmsNewsletterRecipient recipient) throws MessagingException, CmsException { StringBuffer htmlMsg = new StringBuffer(1024); StringBuffer txtMsg = new StringBuffer(1024); Iterator contents = m_contents.iterator(); while (contents.hasNext()) { I_CmsNewsletterContent content = (I_CmsNewsletterContent)contents.next(); if (recipient.isSubscriber(content)) { if (content.getType().equals(CmsNewsletterContentType.TYPE_HTML)) { htmlMsg.append(content.getContent()); } else { txtMsg.append(content.getContent()); } } } Email email; if (htmlMsg.length() > 0 || !m_attachments.isEmpty()) { email = new CmsHtmlMail(); ((CmsHtmlMail)email).setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient)); Iterator attachments = m_attachments.iterator(); while (attachments.hasNext()) { CmsResource resource = (CmsResource)attachments.next(); // set the description of the attachment either to the property description, if it is set, or // to the property title String description = ""; String propertyDescription = cms.readPropertyObject( cms.getSitePath(resource), CmsPropertyDefinition.PROPERTY_DESCRIPTION, true).getValue(); if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(propertyDescription)) { description = propertyDescription; } else { String propertyTitle = cms.readPropertyObject( cms.getSitePath(resource), CmsPropertyDefinition.PROPERTY_TITLE, true).getValue(); description = propertyTitle; } ((CmsHtmlMail)email).attach(new CmsVfsDataSource(cms, resource), resource.getName(), description); } } else { // only text content, return text mail email = new CmsSimpleMail(); } ((CmsHtmlMail)email).setTextMsg(replaceMacros(txtMsg.toString(), recipient)); email.addTo(recipient.getEmail()); email.setSubject(m_subject); return email; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/4284dbc36f3fe9a49e28198378e30ed5d1a83773/CmsNewsletter.java/clean/src/org/opencms/newsletter/CmsNewsletter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8166, 17297, 12, 4747, 921, 6166, 16, 467, 67, 4747, 17948, 13449, 18241, 8027, 13, 1216, 23794, 503, 16, 11228, 288, 3639, 6674, 1729, 3332, 273, 394, 6674, 12, 2163, 3247, 1769, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8166, 17297, 12, 4747, 921, 6166, 16, 467, 67, 4747, 17948, 13449, 18241, 8027, 13, 1216, 23794, 503, 16, 11228, 288, 3639, 6674, 1729, 3332, 273, 394, 6674, 12, 2163, 3247, 1769, 3...
} else{
} else {
private List getVirtualSelection() { List result = new ArrayList(); int[] selectionIndices = getTable().getSelectionIndices(); if(getContentProvider() instanceof ILazyContentProvider){ ILazyContentProvider lazy = (ILazyContentProvider) getContentProvider(); for (int i = 0; i < selectionIndices.length; i++) { int selectionIndex = selectionIndices[i]; lazy.updateElement(selectionIndex);//Start the update Object element = getTable().getItem(selectionIndex).getData(); //Only add the element if it got updated. //If this is done deferred the selection will //be incomplete until selection is finished. if (element != null) { result.add(element); } } } else{ for (int i = 0; i < selectionIndices.length; i++) { Object element = null; //See if it is cached int selectionIndex = selectionIndices[i]; if (selectionIndex < virtualManager.cachedElements.length){ element = virtualManager.cachedElements[selectionIndex]; } if (element == null){ // Not cached so try the item's data TableItem item = getTable().getItem(selectionIndex); element = item.getData(); } if (element != null) { result.add(element); } } } return result; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/72b02dfa9a75652d45af68d329d447e0e8bbe40d/TableViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 336, 6466, 6233, 1435, 288, 9506, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 474, 8526, 4421, 8776, 273, 5638, 7675, 588, 6233, 8776, 5621, 3196, 202, 430, 12, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 336, 6466, 6233, 1435, 288, 9506, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 474, 8526, 4421, 8776, 273, 5638, 7675, 588, 6233, 8776, 5621, 3196, 202, 430, 12, 588, ...
protected synchronized int next(int bits) { //Logger.minor(this,"In "+this+" next("+bits+")"); int[] parameters = bitTable[bits]; int offset = getBytes(parameters[0]); int val = output_buffer[offset]; if (parameters[0] == 4) val += (output_buffer[offset + 1] << 24) + (output_buffer[offset + 2] << 16) + (output_buffer[offset + 3] << 8); else if (parameters[0] == 3) val += (output_buffer[offset + 1] << 16) + (output_buffer[offset + 2] << 8); else if (parameters[0] == 2) val += output_buffer[offset + 2] << 8; return val & parameters[1]; }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/bc50c0ab3552700dd11500ebecd9c37ad70a191e/Yarrow.java/buggy/src/freenet/crypt/Yarrow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 22043, 474, 4285, 12, 474, 6789, 15329, 202, 759, 3328, 18, 17364, 12, 2211, 10837, 382, 6, 15, 2211, 9078, 4285, 2932, 15, 6789, 9078, 2225, 1769, 202, 202, 474, 8526, 3977, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 22043, 474, 4285, 12, 474, 6789, 15329, 202, 759, 3328, 18, 17364, 12, 2211, 10837, 382, 6, 15, 2211, 9078, 4285, 2932, 15, 6789, 9078, 2225, 1769, 202, 202, 474, 8526, 3977, ...
existing.addElement(_stackTopTemplate);
existing.addElement(_currentTemplate);
public void endElement(java.lang.String name) { if(_stackTopTemplate != null) { String body = _stackTopTemplate.getBody().trim(); body = expandMacros(body); _stackTopTemplate.setBody(body); Class classObj = _stackTopTemplate.getClass(); Vector existing = (Vector) _templates.get(classObj); if (existing == null) existing = new Vector(); existing.addElement(_stackTopTemplate); _templates.put(classObj, existing); } else { if(_stackTopMacro != null) { String body = _stackTopMacro.getBody().trim(); body = expandMacros(body); _stackTopMacro.setBody(body); boolean inserted = false; int newNameLength = _stackTopMacro.getName().length(); int size = _macros.size(); for (int i = 0; i < size && !inserted; i++) { String n = ((MacroRecord)_macros.elementAt(i)).name; if (n.length() < newNameLength) { _macros.insertElementAt(_stackTopMacro, i); inserted = true; } } if (!inserted) { _macros.addElement(_stackTopMacro); } } } _stackTopTemplate = null; _stackTopMacro = null; Object top = _stack.get(--_stackPointer); if(top instanceof TemplateRecord) { _stackTopTemplate = (TemplateRecord) top; } else { if(top instanceof MacroRecord) { _stackTopMacro = (MacroRecord) top; } } }
1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/c9a732c3347ebfb5f4e93bc0b0c749a5b14a1c95/TemplateReader.java/buggy/src/org/tigris/gef/ocl/TemplateReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 14840, 12, 6290, 18, 4936, 18, 780, 508, 13, 288, 565, 309, 24899, 3772, 3401, 2283, 480, 446, 13, 288, 1377, 514, 1417, 273, 389, 3772, 3401, 2283, 18, 588, 2250, 7675, 5290...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 14840, 12, 6290, 18, 4936, 18, 780, 508, 13, 288, 565, 309, 24899, 3772, 3401, 2283, 480, 446, 13, 288, 1377, 514, 1417, 273, 389, 3772, 3401, 2283, 18, 588, 2250, 7675, 5290...
ctx.println("<a href='" + ctx.url() + "&do=list'>[Manage " + ctx.session.user.org + " Users]</a>");
ctx.println("<a href='" + ctx.url() + ctx.urlConnector() +"do=list'>[Manage " + ctx.session.user.org + " Users]</a>");
public void printUserMenu(WebContext ctx) { ctx.println("<b>Welcome " + ctx.session.user.name + " (" + ctx.session.user.org + ") !</b>"); ctx.println("<a href=\"" + ctx.base() + "?s="+SURVEYTOOL_COOKIE_NONE+"\">[Sign Out (Session remains active)]</a><br/>"); if(UserRegistry.userIsAdmin(ctx.session.user)) { ctx.println("<b>You are an Admin:</b> "); ctx.println("<a href='" + ctx.base() + "?dump=" + vap + "'>[Stats]</a>"); if(ctx.session.user.id == 1) { ctx.println("<a href='" + ctx.base() + "?sql=" + vap + "'>[Raw SQL]</a>"); } ctx.println("<br/>"); } if(UserRegistry.userIsTC(ctx.session.user)) { ctx.println("You are: <b>A CLDR TC Member:</b> "); ctx.println("<a href='" + ctx.jspLink("adduser.jsp") +"'>[Add User]</a> | "); ctx.println("<a href='" + ctx.url() + "&do=list'>[Manage " + ctx.session.user.org + " Users]</a>"); ctx.println("<br/>"); } else { if(UserRegistry.userIsVetter(ctx.session.user)) { ctx.println("You are a: <b>Vetter:</b> "); ctx.println("<a href='" + ctx.url() + "&do=list'>[List " + ctx.session.user.org + " Users]</a>"); ctx.println("<br/>"); } else if(UserRegistry.userIsStreet(ctx.session.user)) { ctx.println("You are a: <b>Guest Contributor</b> "); ctx.println("<br/>"); } else if(UserRegistry.userIsLocked(ctx.session.user)) { ctx.println("<b>LOCKED: Note: your account is currently locked. Please contact " + ctx.session.user.org + "'s CLDR Technical Committee member.</b> "); ctx.println("<br/>"); } } }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d99f45a31f02fcac5c82ee137c8dde03d6babbc5/SurveyMain.java/buggy/tools/java/org/unicode/cldr/web/SurveyMain.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1172, 1299, 4599, 12, 4079, 1042, 1103, 13, 288, 3639, 1103, 18, 8222, 2932, 32, 70, 34, 59, 16312, 315, 397, 1103, 18, 3184, 18, 1355, 18, 529, 397, 315, 7566, 397, 1103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 1299, 4599, 12, 4079, 1042, 1103, 13, 288, 3639, 1103, 18, 8222, 2932, 32, 70, 34, 59, 16312, 315, 397, 1103, 18, 3184, 18, 1355, 18, 529, 397, 315, 7566, 397, 1103, ...
} else{
} else {
public void read(String filename) { try{ FileReader f = new FileReader(filename); BufferedReader fr = new BufferedReader(f); String line = ""; String content = ""; boolean in_section = false; while (line != null){ line = fr.readLine(); if (line != null) { if (in_section){ String section_id = get_sect_id(line); if (section_id != null){ in_section = false; m_ary.put(section_id, content); content = ""; } else{ content += line + "\n"; } } else { String section_id = get_sect_id(line); if (section_id != null){ in_section = true; } } } } fr.close(); } catch (IOException e){ _log.error("Error: " + e.toString()); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/AbstractSection.java/clean/src_new/org/argouml/uml/generator/AbstractSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 780, 1544, 13, 288, 3639, 775, 95, 13491, 23010, 284, 273, 394, 23010, 12, 3459, 1769, 5411, 10633, 3812, 273, 394, 10633, 12, 74, 1769, 5411, 514, 980, 273, 1408, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 780, 1544, 13, 288, 3639, 775, 95, 13491, 23010, 284, 273, 394, 23010, 12, 3459, 1769, 5411, 10633, 3812, 273, 394, 10633, 12, 74, 1769, 5411, 514, 980, 273, 1408, 3...
public int hashCode()
public int hashCode()
public int hashCode() { if (id == null) return 0; else return id.intValue(); }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/ItemPK.java/clean/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/ItemPK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 13374, 1435, 282, 288, 565, 309, 261, 350, 422, 446, 13, 1377, 327, 374, 31, 565, 469, 1377, 327, 612, 18, 474, 620, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 509, 13374, 1435, 282, 288, 565, 309, 261, 350, 422, 446, 13, 1377, 327, 374, 31, 565, 469, 1377, 327, 612, 18, 474, 620, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, ...
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt61=11; switch ( input.LA(1) ) { case ID: alt61=1; break; case 17: alt61=2; break; case 57: alt61=3; break; case 28: alt61=4; break; case 26: alt61=5; break; case 33: alt61=6; break; case 34: alt61=7; break; case 29: alt61=8; break; case 31: alt61=9; break; case 27: alt61=10; break; case STRING: alt61=11; break; default: NoViableAltException nvae = new NoViableAltException("920:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 61, 0, input); throw nvae; } switch (alt61) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word2645); word=id.getText(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:925:17: 'import' { match(input,17,FOLLOW_17_in_word2657); word="import"; } break; case 3 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:926:17: 'use' { match(input,57,FOLLOW_57_in_word2666); word="use"; } break; case 4 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:927:17: 'rule' { match(input,28,FOLLOW_28_in_word2678); word="rule"; } break; case 5 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:928:17: 'query' { match(input,26,FOLLOW_26_in_word2689); word="query"; } break; case 6 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:929:17: 'salience' { match(input,33,FOLLOW_33_in_word2699); word="salience"; } break; case 7 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:930:17: 'no-loop' { match(input,34,FOLLOW_34_in_word2707); word="no-loop"; } break; case 8 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:931:17: 'when' { match(input,29,FOLLOW_29_in_word2715); word="when"; } break; case 9 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:932:17: 'then' { match(input,31,FOLLOW_31_in_word2726); word="then"; } break; case 10 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:933:17: 'end' { match(input,27,FOLLOW_27_in_word2737); word="end"; } break; case 11 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:934:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word2751); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/31d63bcc9d3d8766c62d2c237554a38462a57456/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, ...
java.sql.ResultSet r = connection.ExecSQL("SELECT relname, relacl FROM pg_class, pg_user WHERE ( relkind = 'r' OR relkind = 'i') and relname !~ '^pg_' and relname !~ '^xin[vx][0-9]+' and usesysid = relowner and relname like '" + tableNamePattern.toLowerCase() + "' ORDER BY relname"); while (r.next()) { byte[][] tuple = new byte[8][0]; tuple[0] = tuple[1] = "".getBytes(); if (Driver.logDebug) Driver.debug("relname=\"" + r.getString(1) + "\" relacl=\"" + r.getString(2) + "\"");
if (tableNamePattern != null && !"".equals(tableNamePattern)) { sql += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern.toLowerCase())+"' "; } sql += " ORDER BY nspname, relname ";
public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { Field f[] = new Field[8]; Vector v = new Vector(); if (tableNamePattern == null) tableNamePattern = "%"; f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "GRANTOR", iVarcharOid, NAME_SIZE); f[5] = new Field(connection, "GRANTEE", iVarcharOid, NAME_SIZE); f[6] = new Field(connection, "PRIVILEGE", iVarcharOid, NAME_SIZE); f[7] = new Field(connection, "IS_GRANTABLE", iVarcharOid, NAME_SIZE); // This is taken direct from the psql source java.sql.ResultSet r = connection.ExecSQL("SELECT relname, relacl FROM pg_class, pg_user WHERE ( relkind = 'r' OR relkind = 'i') and relname !~ '^pg_' and relname !~ '^xin[vx][0-9]+' and usesysid = relowner and relname like '" + tableNamePattern.toLowerCase() + "' ORDER BY relname"); while (r.next()) { byte[][] tuple = new byte[8][0]; tuple[0] = tuple[1] = "".getBytes(); if (Driver.logDebug) Driver.debug("relname=\"" + r.getString(1) + "\" relacl=\"" + r.getString(2) + "\""); // For now, don't add to the result as relacl needs to be processed. //v.addElement(tuple); } return connection.getResultSet(null, f, v, "OK", 1); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 5638, 27692, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2252, 18, 4669, 18, 13198, 5638, 27692, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 1...
adjunctContributions.remove(item); }
adjunctContributions.remove(item); }
/* package */void removeAdjunctContribution(ContributionItem item) { adjunctContributions.remove(item); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f1c8b0aa355c00a6c82a289c808984de6778bfca/ActionSetActionBars.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionSetActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1748, 2181, 1195, 6459, 1206, 17886, 6931, 442, 4027, 12, 442, 4027, 1180, 761, 13, 288, 3639, 8307, 6931, 442, 15326, 18, 4479, 12, 1726, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1748, 2181, 1195, 6459, 1206, 17886, 6931, 442, 4027, 12, 442, 4027, 1180, 761, 13, 288, 3639, 8307, 6931, 442, 15326, 18, 4479, 12, 1726, 1769, 565, 289, 2, -100, -100, -100, -100, -100,...
} Item[] items = getRootItems(); for (int i = 0; i < items.length; i++) { Item item = items[i]; item.screen = this;
public void init() { if (this.style != null) { setStyle( this.style ); } if (this.container != null) { this.container.screen = this; this.container.setVerticalDimensions( 0, this.screenHeight - this.titleHeight ); } // inform all root items that they belong to this screen: Item[] items = getRootItems(); for (int i = 0; i < items.length; i++) { Item item = items[i]; item.screen = this; } //#ifdef polish.useDynamicStyles // check if this screen has got a style: if (this.style == null) { this.cssSelector = createCssSelector(); setStyle( StyleSheet.getStyle( this ) ); } else { this.cssSelector = this.style.name; } //#endif //#ifdef tmp.menuFullScreen Style menuStyle = StyleSheet.getStyle("menu"); if (menuStyle == null) { menuStyle = this.style; } if (menuStyle != null) { String colorStr = menuStyle.getProperty("menubar-color"); if (this.style != null) { String localColorStr = this.style.getProperty("menubar-color"); if (localColorStr != null) { colorStr = localColorStr; } } if (colorStr != null) { this.menuBarColor = Integer.parseInt(colorStr); } this.menuFontColor = menuStyle.fontColor; if (menuStyle.font != null) { this.menuFont = menuStyle.font; } else { this.menuFont = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM ); } } else { this.menuFont = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM ); } this.menuBarHeight = this.menuFont.getHeight() + 2; int diff = this.originalScreenHeight - this.screenHeight; this.originalScreenHeight = this.fullScreenHeight - this.menuBarHeight; this.screenHeight = this.originalScreenHeight - diff; //#endif // set the title: //#ifdef tmp.usingTitle setTitle( this.titleText ); //#endif // start the animmation thread if necessary: if (StyleSheet.animationThread == null) { StyleSheet.animationThread = new AnimationThread(); StyleSheet.animationThread.start(); } this.isInitialised = true; }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/3363df7fed3f7f6df1d57baf3b197e270665d515/Screen.java/clean/enough-polish-j2me/source/src/de/enough/polish/ui/Screen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 1435, 288, 202, 202, 430, 261, 2211, 18, 4060, 480, 446, 13, 288, 1082, 202, 542, 2885, 12, 333, 18, 4060, 11272, 202, 202, 97, 202, 202, 430, 261, 2211, 18, 3782...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1208, 1435, 288, 202, 202, 430, 261, 2211, 18, 4060, 480, 446, 13, 288, 1082, 202, 542, 2885, 12, 333, 18, 4060, 11272, 202, 202, 97, 202, 202, 430, 261, 2211, 18, 3782...
if (result != 0)
if (result != 0) {
public static void main(String args[]) { try { if (Boolean.getBoolean("rhino.use_java_policy_security")) { initJavaPolicySecuritySupport(); } }catch (SecurityException ex) { ex.printStackTrace(System.err); } int result = exec(args); if (result != 0) System.exit(result); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/51883200681e42e9342202712a313e8f8967c446/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 775, 288, 5411, 309, 261, 5507, 18, 588, 5507, 2932, 30138, 15020, 18, 1202, 67, 6290, 67, 5086, 67, 7462, 6, 3719, 288, 7734, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 775, 288, 5411, 309, 261, 5507, 18, 588, 5507, 2932, 30138, 15020, 18, 1202, 67, 6290, 67, 5086, 67, 7462, 6, 3719, 288, 7734, ...
return getAttribute("xml:lang"); }
return getAttribute("xml:lang"); }
public String getXmlLang() { return getAttribute("xml:lang"); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLTdElementImpl.java/buggy/src/org/apache/wml/dom/WMLTdElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 28504, 7275, 1435, 288, 565, 327, 4061, 2932, 2902, 30, 4936, 8863, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 28504, 7275, 1435, 288, 565, 327, 4061, 2932, 2902, 30, 4936, 8863, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token op=null; Token bvc=null; String lc = null; String rvc = null; PatternDescr d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:678:17: ( opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:678:17: opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? opt_eol { following.push(FOLLOW_opt_eol_in_constraint1681); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:679:17: (fb= ID opt_eol ':' opt_eol )? int alt49=2; alt49 = dfa49.predict(input); switch (alt49) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:679:19: fb= ID opt_eol ':' opt_eol { fb=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1689); following.push(FOLLOW_opt_eol_in_constraint1691); opt_eol(); following.pop(); match(input,30,FOLLOW_30_in_constraint1693); following.push(FOLLOW_opt_eol_in_constraint1695); opt_eol(); following.pop(); } break; } f=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1705); if ( fb != null ) { //System.err.println( "fb: " + fb.getText() ); //System.err.println( " f: " + f.getText() ); d = new FieldBindingDescr( f.getText(), fb.getText() ); //System.err.println( "fbd: " + d ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } following.push(FOLLOW_opt_eol_in_constraint1715); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:692:33: (op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )? int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0>=40 && LA51_0<=47) ) { alt51=1; } else if ( LA51_0==EOL||LA51_0==15||(LA51_0>=22 && LA51_0<=23) ) { alt51=2; } else { NoViableAltException nvae = new NoViableAltException("692:33: (op= (\'==\'|\'>\'|\'>=\'|\'<\'|\'<=\'|\'!=\'|\'contains\'|\'matches\') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )?", 51, 0, input); throw nvae; } switch (alt51) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:692:41: op= ('=='|'>'|'>='|'<'|'<='|'!='|'contains'|'matches') opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) { op=(Token)input.LT(1); if ( (input.LA(1)>=40 && input.LA(1)<=47) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_constraint1723); throw mse; } following.push(FOLLOW_opt_eol_in_constraint1795); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:702:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) int alt50=4; switch ( input.LA(1) ) { case ID: int LA50_1 = input.LA(2); if ( LA50_1==49 ) { alt50=2; } else if ( LA50_1==EOL||LA50_1==15||(LA50_1>=22 && LA50_1<=23) ) { alt50=1; } else { NoViableAltException nvae = new NoViableAltException("702:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 50, 1, input); throw nvae; } break; case INT: case BOOL: case STRING: case FLOAT: case 48: alt50=3; break; case 21: alt50=4; break; default: NoViableAltException nvae = new NoViableAltException("702:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 50, 0, input); throw nvae; } switch (alt50) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:702:49: bvc= ID { bvc=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint1813); d = new BoundVariableDescr( f.getText(), op.getText(), bvc.getText() ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:709:49: lc= enum_constraint { following.push(FOLLOW_enum_constraint_in_constraint1838); lc=enum_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc, true ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:716:49: lc= literal_constraint { following.push(FOLLOW_literal_constraint_in_constraint1870); lc=literal_constraint(); following.pop(); d = new LiteralDescr( f.getText(), op.getText(), lc ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:722:49: rvc= retval_constraint { following.push(FOLLOW_retval_constraint_in_constraint1890); rvc=retval_constraint(); following.pop(); d = new ReturnValueDescr( f.getText(), op.getText(), rvc ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } break; } } break; } following.push(FOLLOW_opt_eol_in_constraint1923); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/e3fb9256ae6e5fcb8c78a2c3dbd47f678d9b1287/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 1061, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31,...
ISelection selection = viewer.getSelection(); Object obj = ((IStructuredSelection)selection).getFirstElement(); if (obj instanceof ITask) { ((ITask)obj).openTaskInEditor(); }
MylarUiPlugin.getDefault().setFilterCompleteMode(isChecked());
public void run() { ISelection selection = viewer.getSelection(); Object obj = ((IStructuredSelection)selection).getFirstElement(); if (obj instanceof ITask) { ((ITask)obj).openTaskInEditor(); } viewer.refresh(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/048e90ff952c70cf3f93175f8d65b55056736e57/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 467, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 7734, 1033, 1081, 273, 14015, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 5621, 7734, 309, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 467, 6233, 4421, 273, 14157, 18, 588, 6233, 5621, 7734, 1033, 1081, 273, 14015, 45, 30733, 6233, 13, 10705, 2934, 588, 3759, 1046, 5621, 7734, 309, 261, ...
public void set(String val) throws InvalidConfigValueException { if(nodeDir.equals(new File(val))) return; throw new InvalidConfigValueException("Moving node directory on the fly not supported at present");
public void set(int val) throws InvalidConfigValueException { swapInterval.set(val);
public void set(String val) throws InvalidConfigValueException { if(nodeDir.equals(new File(val))) return; // FIXME throw new InvalidConfigValueException("Moving node directory on the fly not supported at present"); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/0e73e63698410905555b43e69172b80870e39ae5/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 780, 1244, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 2159, 1621, 18, 14963, 12, 2704, 1387, 12, 1125, 20349, 327, 31, 25083, 202, 759, 9852, 25083, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 444, 12, 780, 1244, 13, 1216, 1962, 809, 9738, 288, 25083, 202, 430, 12, 2159, 1621, 18, 14963, 12, 2704, 1387, 12, 1125, 20349, 327, 31, 25083, 202, 759, 9852, 25083, 2...
void createNativeProcessors (int needed) { int needToCreate = needed - VM_Scheduler.nativeProcessorQueue.length(); if (needToCreate <= 0) return; // reset startup locks count VM.sysInitializeStartupLocks(needToCreate); while (needToCreate > 0) { VM_Processor processor = VM_Processor.createNativeProcessor(); if (trace) VM_Scheduler.trace("NDT","created Native VP with ID =",processor.id); needToCreate--; } // wait for created processors to show up on the native processor queue // (and get to IN_SIGWAIT state) while ( VM_Scheduler.nativeProcessorQueue.length() < needed ) VM.sysVirtualProcessorYield(); return; } // createNativeProcessors
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d16f62daccb2f310d9be3df28e7179f231e03be4/VM_NativeDaemonThread.java/buggy/rvm/src/vm/scheduler/VM_NativeDaemonThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 918, 282, 752, 9220, 18155, 282, 261, 474, 282, 3577, 13, 282, 288, 5411, 509, 282, 1608, 774, 1684, 282, 273, 282, 3577, 282, 300, 282, 8251, 67, 11870, 18, 13635, 5164, 3183, 18, 246...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 918, 282, 752, 9220, 18155, 282, 261, 474, 282, 3577, 13, 282, 288, 5411, 509, 282, 1608, 774, 1684, 282, 273, 282, 3577, 282, 300, 282, 8251, 67, 11870, 18, 13635, 5164, 3183, 18, 246...
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_CONTROL_STATEMENTS, JavaCore.DO_NOT_INSERT);
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT, JavaCore.DO_NOT_INSERT);
public void test289() { Hashtable options = new Hashtable(); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_CONTROL_STATEMENTS, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH, DefaultCodeFormatterConstants.END_OF_LINE); options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.TAB); DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(options); DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences); runTest(codeFormatter, "test289", "A.java", CodeFormatter.K_STATEMENTS, 1);//$NON-NLS-1$ //$NON-NLS-2$ }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/efbaf5f01b1dd1c4f8135936aa48ce411ca71c6c/FormatterRegressionTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 6030, 29, 1435, 288, 202, 202, 5582, 14544, 702, 273, 394, 18559, 5621, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 12917, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 6030, 29, 1435, 288, 202, 202, 5582, 14544, 702, 273, 394, 18559, 5621, 202, 202, 2116, 18, 458, 12, 1868, 1085, 5074, 2918, 18, 7254, 2560, 67, 11356, 67, 12917, 6...
protected void activateIdMap() { int max = getMaximumId(); if (max != 0) { idMapData = new Object[max * ID_MULT + VALUE_SHIFT + 1]; }
protected void activateIdMap(Context cx, boolean sealed) { maxId = getMaximumId(); useDynamicScope = cx.hasCompileFunctionsWithDynamicScope(); sealFunctions = sealed;
protected void activateIdMap() { int max = getMaximumId(); if (max != 0) { idMapData = new Object[max * ID_MULT + VALUE_SHIFT + 1]; } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/d5c6a2fda4600410fcf91dde4a3709ea9429783f/IdScriptable.java/clean/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 10235, 548, 863, 1435, 288, 3639, 509, 943, 273, 25194, 548, 5621, 3639, 309, 261, 1896, 480, 374, 13, 288, 5411, 612, 863, 751, 273, 394, 1033, 63, 1896, 380, 1599, 67, 1284...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 10235, 548, 863, 1435, 288, 3639, 509, 943, 273, 25194, 548, 5621, 3639, 309, 261, 1896, 480, 374, 13, 288, 5411, 612, 863, 751, 273, 394, 1033, 63, 1896, 380, 1599, 67, 1284...
return (LocationPath)fLocationPath.clone();
return (LocationPath)fLocationPaths[0].clone();
public LocationPath getLocationPath() { return (LocationPath)fLocationPath.clone(); } // getLocationPath(LocationPath)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1f538f2abc028fd2c3c1b85fdd68ed769609a967/XPath.java/buggy/src/org/apache/xerces/validators/schema/identity/XPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7050, 743, 13312, 743, 1435, 288, 3639, 327, 261, 2735, 743, 13, 74, 2735, 4466, 63, 20, 8009, 14056, 5621, 565, 289, 368, 13312, 743, 12, 2735, 743, 13, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 743, 13312, 743, 1435, 288, 3639, 327, 261, 2735, 743, 13, 74, 2735, 4466, 63, 20, 8009, 14056, 5621, 565, 289, 368, 13312, 743, 12, 2735, 743, 13, 2, -100, -100, -100, -100...
return (! saveOnly) && (outputFile != null) && (outputFile.length() > 0);
boolean hasOutput = false; if ((! saveOnly) && (outputFile != null)) { long len = outputFile.length(); log.debug ("outputFile=" + outputFile.getPath() + ", size=" + len); hasOutput = (len > 0); } log.debug ("hasGeneratedOutput? " + hasOutput); return hasOutput;
public boolean hasGeneratedOutput() { return (! saveOnly) && (outputFile != null) && (outputFile.length() > 0); }
71 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/71/55492fa6c862b8c76024a0a0ed2ad14b94d92c3d/FileOutputHandler.java/clean/src/org/clapper/curn/output/FileOutputHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 7823, 1447, 1435, 565, 288, 3639, 327, 16051, 1923, 3386, 13, 597, 9079, 261, 2844, 812, 480, 446, 13, 597, 9079, 261, 2844, 812, 18, 2469, 1435, 405, 374, 1769, 565, 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, 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, 711, 7823, 1447, 1435, 565, 288, 3639, 327, 16051, 1923, 3386, 13, 597, 9079, 261, 2844, 812, 480, 446, 13, 597, 9079, 261, 2844, 812, 18, 2469, 1435, 405, 374, 1769, 565, 2...
assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello");
assertEquals("hello", new String(((Message)sent.getArg()).getBuffer()));
public void testViewChangeBecomeKeyserver() throws Exception{ // set up the peer ENCRYPT encrypt = new ENCRYPT(); try { encrypt.init(); } catch (Exception e){ fail(e.getMessage()); } // set in the observer MockAddress tempAddress = new MockAddress("encrypt"); encrypt.setLocal_addr(tempAddress); MockObserver observer = new MockObserver(); encrypt.setObserver(observer); // produce encrypted message Cipher cipher = encrypt.getSymEncodingCipher(); MessageDigest digest = MessageDigest.getInstance("MD5"); digest.reset(); digest.update(encrypt.getDesKey().getEncoded()); String symVersion = new String(digest.digest(), "UTF-8"); encrypt.keyServer = false; Message msg = new Message(); msg.setBuffer(cipher.doFinal("hello".getBytes())); msg.putHeader(EncryptHeader.KEY, new EncryptHeader( EncryptHeader.ENCRYPT, symVersion)); Event evt = new Event(Event.MSG,msg); //pass in event to encrypt layer encrypt.up(evt); // assert that message is queued as we have no key assertTrue(observer.getUpMessages().isEmpty()); // send a view change to trigger the become key server // we use the fact that our address is now the controller one Vector tempVector = new Vector(); tempVector.add(tempAddress); View tempView = new View(new ViewId(tempAddress,1),tempVector); Event event = new Event(Event.VIEW_CHANGE,tempView); // this should have changed us to the key server encrypt.up(event); // send another encrypted message Message msg2 = new Message(); msg2.setBuffer(cipher.doFinal("hello2".getBytes())); msg2.putHeader(EncryptHeader.KEY, new EncryptHeader( EncryptHeader.ENCRYPT, symVersion)); // we should have three messages now in our observer // that are decrypted Event evt2 = new Event(Event.MSG,msg2); encrypt.up(evt2); assertEquals(3,observer.getUpMessages().size()); Event sent = (Event)observer.getUpMessages().get("message1"); assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello"); sent = (Event)observer.getUpMessages().get("message2"); assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello2"); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/28be62b4097e0b01b17ca403d23ca6a4aac01eca/ENCRYPTAsymmetricTest.java/buggy/tests/junit/org/jgroups/protocols/ENCRYPTAsymmetricTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1767, 3043, 38, 557, 1742, 653, 3567, 1435, 1216, 1185, 95, 202, 202, 759, 444, 731, 326, 4261, 202, 202, 1157, 14306, 7347, 273, 394, 6693, 14306, 5621, 202, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1767, 3043, 38, 557, 1742, 653, 3567, 1435, 1216, 1185, 95, 202, 202, 759, 444, 731, 326, 4261, 202, 202, 1157, 14306, 7347, 273, 394, 6693, 14306, 5621, 202, 202, ...
suffix = s.substring(x);
if(x < (s.length()-1)) suffix = s.substring(x); else suffix = "";
public DecodedStringThingy(String s) { if(s.startsWith("url(")) { s = s.substring("url(".length()); url = true; } char q = s.charAt(0); if(q == '\'' || q == '\"') { quote = q; s = s.substring(1); } else quote = ' '; StringBuffer buffer = new StringBuffer(); int x = 0; boolean justEscaping = false; boolean stillEscaping = false; StringBuffer hexEscape = new StringBuffer(); while(x < s.length()) { char c = s.charAt(x); x++; if(justEscaping) { if(c == '\n') { buffer.append(c); justEscaping = false; } else if(isHexDigit(c)) { hexEscape.append(c); justEscaping = false; stillEscaping = true; } else { buffer.append(c); // Will need to be reencoded if quote or \n justEscaping = false; } } else if(stillEscaping) { if(isHexDigit(c) && hexEscape.length() < 6) { hexEscape.append(c); } else if(Character.isWhitespace(c)) { // Ignore one whitespace char after an escape int d = Integer.parseInt(hexEscape.toString(), 16); if(d > 0xFFFF) { String error = "UCS-4 CHARACTERS OVER 0xFFFF NOT SUPPORTED!"; logError(error); try { w.write("/* "+error+"*/"); } catch (IOException e) {}; } else { c = (char)d; buffer.append(c); } stillEscaping = false; hexEscape = new StringBuffer(); } else { int d = Integer.parseInt(hexEscape.toString(), 16); if(d > 0xFFFF) { String error = "UCS-4 CHARACTERS OVER 0xFFFF NOT SUPPORTED!"; logError(error); try { w.write("/* "+error+"*/"); } catch (IOException e) {}; } else { char o = (char)d; buffer.append(o); } buffer.append(c); stillEscaping = false; hexEscape = new StringBuffer(); } } else { if(quote != ' ' && c == quote) { break; } else if (c == '\\') { justEscaping = true; } else { buffer.append(c); } } } x++; data = buffer.toString(); if(url && s.length() > x+1 && s.charAt(x) == ')') x++; suffix = s.substring(x); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/28e3bcfbcfb76cbbc160d6e3a8af9fadf0e03e18/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6209, 72, 780, 10193, 93, 12, 780, 272, 13, 288, 1082, 202, 430, 12, 87, 18, 17514, 1190, 2932, 718, 2932, 3719, 288, 9506, 202, 87, 273, 272, 18, 28023, 2932, 718, 2932, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6209, 72, 780, 10193, 93, 12, 780, 272, 13, 288, 1082, 202, 430, 12, 87, 18, 17514, 1190, 2932, 718, 2932, 3719, 288, 9506, 202, 87, 273, 272, 18, 28023, 2932, 718, 2932, 1...
return (RolapMember[]) v.toArray(emptyMemberArray);
RolapMember[] members = new RolapMember[v.size()]; v.copyInto(members); return members;
static final RolapMember[] toArray(List v) { return (RolapMember[]) v.toArray(emptyMemberArray); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/00b025d7d12a0274bdded1e076a64c2ad4ab20af/RolapUtil.java/buggy/src/main/mondrian/rolap/RolapUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 727, 11714, 438, 4419, 8526, 4434, 12, 682, 331, 13, 202, 95, 202, 202, 2463, 261, 4984, 438, 4419, 63, 5717, 331, 18, 31447, 12, 5531, 4419, 1076, 1769, 202, 97, 2, 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, 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, 3845, 727, 11714, 438, 4419, 8526, 4434, 12, 682, 331, 13, 202, 95, 202, 202, 2463, 261, 4984, 438, 4419, 63, 5717, 331, 18, 31447, 12, 5531, 4419, 1076, 1769, 202, 97, 2, -100, ...
uri = project.findMember(raw).getLocationURI();
fullPath = "/"+project.getName()+"/"+raw; IResource member = project.findMember(raw); uri = member == null ? null : member.getLocationURI();
public IIndexFileLocation fromInternalFormat(String raw) { String fullPath = null; URI uri; if(raw.startsWith(EXTERNAL)) { try { uri = new URI(raw.substring(EXTERNAL.length())); } catch(URISyntaxException use) { uri = null; } } else { uri = project.findMember(raw).getLocationURI(); } return new IndexFileLocation(uri, fullPath); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/94a253b32742985dc2668c1083f5c88fe0020d04/PDOMProjectIndexLocationConverter.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMProjectIndexLocationConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1016, 812, 2735, 628, 3061, 1630, 12, 780, 1831, 13, 288, 202, 202, 780, 11225, 273, 446, 31, 202, 202, 3098, 2003, 31, 202, 202, 430, 12, 1899, 18, 17514, 1190, 12, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1016, 812, 2735, 628, 3061, 1630, 12, 780, 1831, 13, 288, 202, 202, 780, 11225, 273, 446, 31, 202, 202, 3098, 2003, 31, 202, 202, 430, 12, 1899, 18, 17514, 1190, 12, 22...
+ keySequenceText + "'. This binding came from preferences.");
+ keySequenceText + "': preferences, '" + commandId + "'.");
private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager) { if (preferences != null) { final IMemento[] preferenceMementos = preferences .getChildren(ELEMENT_ACTIVE_KEY_CONFIGURATION); int preferenceMementoCount = preferenceMementos.length; for (int i = preferenceMementoCount - 1; i >= 0; i--) { final IMemento memento = preferenceMementos[i]; // Read out the scheme id. String schemeId = memento .getString(ATTRIBUTE_KEY_CONFIGURATION_ID); if ((schemeId == null) || (schemeId.length() == 0)) { schemeId = memento.getString(ATTRIBUTE_CONFIGURATION); if ((schemeId == null) || (schemeId.length() == 0)) { // The scheme id should never be null. This is invalid. WorkbenchPlugin .log("Key bindings need a scheme or key configuration. This binding came from preferences."); //$NON-NLS-1$ } } // Read out the context id. String contextId = memento.getString(ATTRIBUTE_CONTEXT_ID); if ((contextId == null) || (contextId.length() == 0)) { contextId = memento.getString(ATTRIBUTE_SCOPE); if (LEGACY_DEFAULT_SCOPE.equals(contextId)) { contextId = null; } } if ((contextId == null) || (contextId.length() == 0)) { contextId = IContextIds.CONTEXT_ID_WINDOW; } // Read out the key sequence. String keySequenceText = memento .getString(ATTRIBUTE_KEY_SEQUENCE); KeySequence keySequence = null; if ((keySequenceText == null) || (keySequenceText.length() == 0)) { keySequenceText = memento.getString(ATTRIBUTE_STRING); if ((keySequenceText == null) || (keySequenceText.length() == 0)) { /* * The key sequence should never be null. This is * pointless */ WorkbenchPlugin .log("Key bindings need a key sequence or string. This binding came from preferences."); //$NON-NLS-1$ continue; } // The key sequence is in the old-style format. keySequence = convert2_1Sequence(parse2_1Sequence(keySequenceText)); } else { // The key sequence is in the new-style format. try { keySequence = KeySequence.getInstance(keySequenceText); } catch (final ParseException e) { WorkbenchPlugin.log("Could not parse: '" //$NON-NLS-1$ + keySequenceText + "'. This binding came from preferences."); //$NON-NLS-1$ continue; } if (keySequence.isEmpty() || !keySequence.isComplete()) { WorkbenchPlugin .log("Key bindings cannot use an empty or incomplete key sequence: '" //$NON-NLS-1$ + keySequence + "'. This binding came from preferences."); //$NON-NLS-1$ continue; } } // Read out the command id. String commandId = memento.getString(ATTRIBUTE_COMMAND_ID); if ((commandId == null) || (commandId.length() == 0)) { commandId = memento.getString(ATTRIBUTE_COMMAND); } if ((commandId != null) && (commandId.length() == 0)) { commandId = null; } // Read out the locale and platform. String locale = memento.getString(ATTRIBUTE_LOCALE); if ((locale != null) && (locale.length() == 0)) { locale = null; } String platform = memento.getString(ATTRIBUTE_PLATFORM); if ((platform != null) && (platform.length() == 0)) { platform = null; } final Binding binding = new KeyBinding(keySequence, commandId, schemeId, contextId, locale, platform, null, Binding.USER); bindingManager.addBinding(binding); } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c350fa733fe68f3ff1119e1d15c08a077786b013/BindingPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 10497, 1265, 12377, 12, 1082, 202, 6385, 6246, 820, 83, 12750, 16, 727, 15689, 1318, 5085, 1318, 13, 288, 202, 202, 430, 261, 23219, 480, 446, 13, 288, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 10497, 1265, 12377, 12, 1082, 202, 6385, 6246, 820, 83, 12750, 16, 727, 15689, 1318, 5085, 1318, 13, 288, 202, 202, 430, 261, 23219, 480, 446, 13, 288, 10...
/* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#removeDataProducer(org.concord.framework.data.stream.DataProducer) */ public void removeDataProducer(DataProducer source) { } }; sdManager.prepareDataProducer(request, consumer);
});
public static void main(String[] args) { UserMessageHandler messenger = new MyUserMessageHandler(); SensorDataManager sdManager = new InterfaceManager(messenger); // This should be loaded from the OTrunk. Each computer // might have a different set of devices configured. DeviceConfig [] dConfigs = new DeviceConfig[1]; dConfigs[0] = new DeviceConfigImpl(JavaDeviceFactory.VERNIER_GO_LINK, null); ((InterfaceManager)sdManager).setDeviceConfigs(dConfigs); ExperimentRequest request = new ExperimentRequest(){ /* (non-Javadoc) * @see org.concord.sensor.ExperimentRequest#getPeriod() */ public float getPeriod() { return 0; } /* (non-Javadoc) * @see org.concord.sensor.ExperimentRequest#getNumberOfSamples() */ public int getNumberOfSamples() { return -1; } /* (non-Javadoc) * @see org.concord.sensor.ExperimentRequest#getSensorRequests() */ public SensorRequest[] getSensorRequests() { // TODO Auto-generated method stub SensorRequest [] sensors = new SensorRequest[1]; sensors[0] = new SensorRequest(){ /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getDisplayPrecision() */ public int getDisplayPrecision() { // TODO Auto-generated method stub return -2; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getRequiredMax() */ public float getRequiredMax() { return Float.NaN; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getRequiredMin() */ public float getRequiredMin() { return Float.NaN; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getPort() */ public int getPort() { // TODO Auto-generated method stub return 0; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getSensorParam(java.lang.String) */ public String getSensorParam(String key) { // TODO Auto-generated method stub return null; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getStepSize() */ public float getStepSize() { // TODO Auto-generated method stub return 0.1f; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getType() */ public int getType() { // TODO Auto-generated method stub return 0; } /* (non-Javadoc) * @see org.concord.sensor.SensorRequest#getUnit() */ public DataDimension getUnit() { // TODO Auto-generated method stub return null; } }; return null; } }; DataConsumer consumer = new DataConsumer(){ /* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#addDataProducer(org.concord.framework.data.stream.DataProducer) */ public void addDataProducer(DataProducer source) { dataProducer = (SensorDataProducer)source; source.addDataListener(new DataListener(){ public void dataReceived(DataStreamEvent dataEvent) { int numSamples = dataEvent.getNumSamples(); float [] data = dataEvent.getData(); if(numSamples > 0) { System.out.println("" + numSamples + " " + data[0]); System.out.flush(); } else { System.out.println("" + numSamples); } } public void dataStreamEvent(DataStreamEvent dataEvent) { String eventString; int eventType = dataEvent.getType(); if(eventType == 1001) return; switch(eventType) { case DataStreamEvent.DATA_READY_TO_START: eventString = "Ready to start"; break; case DataStreamEvent.DATA_STOPPED: eventString = "Stopped"; break; case DataStreamEvent.DATA_DESC_CHANGED: eventString = "Description changed"; break; default: eventString = "Unknown event type"; } System.out.println("Data Event: " + eventString); } }); // TODO Auto-generated method stub } /* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#removeDataProducer(org.concord.framework.data.stream.DataProducer) */ public void removeDataProducer(DataProducer source) { // TODO Auto-generated method stub } }; sdManager.prepareDataProducer(request, consumer); dataProducer.start(); System.out.println("started device"); try { Thread.sleep(1000); } catch (Exception e) { e.printStackTrace(); } dataProducer.stop(); dataProducer.close(); System.exit(0); }
57859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57859/0c70429bffe966bdfcd265602e797395a12774ed/TestNative.java/clean/src/java/org/concord/sensor/nativelib/TestNative.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 202, 95, 202, 202, 1299, 1079, 1503, 31086, 273, 394, 8005, 1299, 1079, 1503, 5621, 202, 202, 22294, 751, 1318, 225, 8349, 1318, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 202, 95, 202, 202, 1299, 1079, 1503, 31086, 273, 394, 8005, 1299, 1079, 1503, 5621, 202, 202, 22294, 751, 1318, 225, 8349, 1318, 2...
ImageIcon result = new ImageIcon(image); return result;
} else { Debug.err("images/stern2.gif not found for ThreeStateButton"); } ImageIcon result = new ImageIcon(image); return result;
private Icon starIcon(Icon imageIcon, int width, int height){ Image i1 = ((ImageIcon) imageIcon).getImage(); Image image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics g = image.getGraphics(); g.drawImage(i1, 0, 0, null); java.net.URL imageURL = ThreeStateButton3.class.getResource("images/stern3.gif"); Image star; if (imageURL != null) { MediaTracker mediaTracker = new MediaTracker(this); mediaTracker.addImage(image, 0); try { mediaTracker.waitForID(0); Toolkit toolkit = Toolkit.getDefaultToolkit(); star = toolkit.getImage(imageURL); g.drawImage(star,0,0,null); //Debug.msg("image loaded: "+star.toString()); } catch (InterruptedException ie) { Debug.err("error loading images/stern2.gif"+ie); } }else{ Debug.err("images/stern2.gif not found for ThreeStateButton"); } ImageIcon result = new ImageIcon(image); return result; }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/5c9aadff6f8f2598be3058e7d00ea280d587fc3f/ThreeStateButton3.java/buggy/jfritz/src/de/moonflower/jfritz/utils/threeStateButton/ThreeStateButton3.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16011, 10443, 5554, 12, 5554, 1316, 5554, 16, 509, 1835, 16, 509, 2072, 15329, 1082, 202, 2040, 277, 21, 273, 14015, 2040, 5554, 13, 1316, 5554, 2934, 588, 2040, 5621, 1082, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 16011, 10443, 5554, 12, 5554, 1316, 5554, 16, 509, 1835, 16, 509, 2072, 15329, 1082, 202, 2040, 277, 21, 273, 14015, 2040, 5554, 13, 1316, 5554, 2934, 588, 2040, 5621, 1082, 20...
private HashMap canScheduleTrace(Trace trace)
private boolean canScheduleTrace(Trace trace)
private HashMap canScheduleTrace(Trace trace) { if (getAvailTiles() < trace.getNumFilters()) return null; LinkedList tiles = new LinkedList(); for (int i = 0; i < rawChip.getTotalTiles(); i++) { tiles.add(rawChip.getTile(i)); } //first try starting tiles that are either endpoints of upstream //or starts of downstream Iterator sources = trace.getHead().getSourceSet().iterator(); while (sources.hasNext()) { Trace current = ((Edge)sources.next()).getSrc().getParent(); //now if the source is already scheduled or if it is io try its tile if (schedule.contains(current)) { //get the endpoint of the trace RawTile tile = rawChip.getTile(current.getTail().getPrevFilter().getX(), current.getTail().getPrevFilter().getY()); //we already tried this tile previously if (!tiles.contains(tile)) continue; HashMap layout = new HashMap(); System.out.println(" (trying source " + tile + " at " + currentTime + ")"); //if successful, return layout if (getLayout(trace.getHead().getNextFilter(), tile, layout)) return layout; else //we tried this tile, remove it... tiles.remove(tile); } } Iterator dests = trace.getTail().getDestSet().iterator(); while (dests.hasNext()) { Trace current = ((Edge)dests.next()).getDest().getParent(); if (schedule.contains(current)) { //get the endpoint of the trace RawTile tile = rawChip.getTile(current.getHead().getNextFilter().getX(), current.getHead().getNextFilter().getY()); //we already tried this tile previously if (!tiles.contains(tile)) continue; HashMap layout = new HashMap(); System.out.println(" (trying dest " + tile + " at " + currentTime + ")"); //if successful, return layout if (getLayout(trace.getHead().getNextFilter(), tile, layout)) return layout; else //we tried this tile, remove it... tiles.remove(tile); } } Iterator tilesIt = tiles.iterator(); while (tilesIt.hasNext()) { RawTile tile = (RawTile)tilesIt.next(); HashMap layout = new HashMap(); System.out.println(" (trying " + tile + " at " + currentTime + ")"); //if successful, return layout if (getLayout(trace.getHead().getNextFilter(), tile, layout)) return layout; } //if we got here, then we could not find a layout return null; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/d8519047ac0f2d0f47e5efd7235f549a90ffb72d/SimpleScheduler.java/buggy/streams/src/at/dms/kjc/spacetime/SimpleScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 848, 6061, 3448, 12, 3448, 2606, 13, 377, 288, 202, 430, 261, 588, 3769, 671, 27669, 1435, 411, 2606, 18, 588, 2578, 5422, 10756, 202, 565, 327, 446, 31, 202, 202, 13174, 68...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 848, 6061, 3448, 12, 3448, 2606, 13, 377, 288, 202, 430, 261, 588, 3769, 671, 27669, 1435, 411, 2606, 18, 588, 2578, 5422, 10756, 202, 565, 327, 446, 31, 202, 202, 13174, 68...
case DbType.VIEW_TYPE:
case DbType.VIEW_TYPE :
private String getSelectedDbType() { IStructuredSelection selection = (IStructuredSelection)filterComboViewer.getSelection(); String type = DbType.ALL_STRING; if(selection != null && selection.getFirstElement() != null ) { DbType dbType = (DbType)selection.getFirstElement(); switch ( dbType.getType()) { case DbType.TABLE_TYPE: type = DbType.TABLE_STRING; break; case DbType.VIEW_TYPE: type = DbType.VIEW_STRING; break; case DbType.PROCEDURE_TYPE: type = DbType.PROCEDURE_STRING; break; } } return type; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7369d4ae09cc536f7476a2e0abe49a3be2517225/SQLDataSetEditorPage.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 225, 16625, 4331, 559, 1435, 202, 95, 9506, 202, 45, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 2188, 16156, 18415, 18, 588, 6233, 5621, 202, 202, 780, 618, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 225, 16625, 4331, 559, 1435, 202, 95, 9506, 202, 45, 30733, 6233, 4421, 273, 261, 45, 30733, 6233, 13, 2188, 16156, 18415, 18, 588, 6233, 5621, 202, 202, 780, 618, 273, ...
jjCheckNAdd(7); break; case 10:
jjCheckNAdd(12); break; case 15:
private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 25; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 16: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 14; break; case 13: if ((0xffffffe7ffffffffL & l) != 0L) { if (kind > 21) kind = 21; jjCheckNAdd(7); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(22, 23); } else if (curChar == 35) jjCheckNAddTwoStates(5, 16); if ((0x100000200L & l) != 0L) jjCheckNAddTwoStates(0, 6); break; case 25: if (curChar == 36) jjCheckNAddTwoStates(22, 23); if (curChar == 36) { if (kind > 13) kind = 13; } break; case 9: if (curChar == 36) jjCheckNAddTwoStates(22, 23); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 11; if (curChar == 36) { if (kind > 13) kind = 13; } break; case 0: if ((0x100000200L & l) != 0L) jjCheckNAddTwoStates(0, 6); break; case 2: if (curChar == 32) jjAddStates(54, 55); break; case 3: if (curChar == 40 && kind > 12) kind = 12; break; case 6: if (curChar == 35) jjCheckNAdd(5); break; case 7: if ((0xffffffe7ffffffffL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(7); break; case 10: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 11; break; case 12: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjstateSet[jjnewStateCnt++] = 12; break; case 14: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 15; break; case 15: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 19: if (curChar == 36 && kind > 13) kind = 13; break; case 21: if (curChar == 36) jjCheckNAddTwoStates(22, 23); break; case 23: if (curChar == 33 && kind > 14) kind = 14; break; case 24: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(22, 23); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 16: case 5: if (curChar == 115) jjstateSet[jjnewStateCnt++] = 4; break; case 13: if ((0xffffffffefffffffL & l) != 0L) { if (kind > 21) kind = 21; jjCheckNAdd(7); } else if (curChar == 92) jjCheckNAddStates(56, 59); if (curChar == 92) jjAddStates(38, 39); break; case 25: if (curChar == 92) jjAddStates(38, 39); if (curChar == 92) jjCheckNAddTwoStates(20, 21); if (curChar == 92) jjCheckNAddTwoStates(18, 19); break; case 9: if (curChar == 92) jjCheckNAddTwoStates(20, 21); if (curChar == 92) jjCheckNAddTwoStates(18, 19); if (curChar == 92) jjstateSet[jjnewStateCnt++] = 8; break; case 1: if (curChar == 116) jjAddStates(54, 55); break; case 4: if (curChar == 101) jjstateSet[jjnewStateCnt++] = 1; break; case 7: if ((0xffffffffefffffffL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAdd(7); break; case 8: if (curChar == 92) jjAddStates(38, 39); break; case 11: case 12: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(12); break; case 15: if (kind > 16) kind = 16; break; case 17: if (curChar == 92) jjCheckNAddStates(56, 59); break; case 18: if (curChar == 92) jjCheckNAddTwoStates(18, 19); break; case 20: if (curChar == 92) jjCheckNAddTwoStates(20, 21); break; case 22: if (curChar == 92) jjAddStates(60, 61); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 13: case 7: if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) break; if (kind > 21) kind = 21; jjCheckNAdd(7); break; case 15: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 25 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/8e9e155e88430402b0d51d6b344267b73292ca2c/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 23, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 23, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750,...
findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null);
findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null, eventsToDispatch);
private void findSpecialRelevanceChanges(PipelineContext pipelineContext, List state1, List state2) { // Trivial case if (state1 == null && state2 == null) return; // Both lists must have the same size if present; state1 can be null if (state1 != null && state2 != null && state1.size() != state2.size()) { throw new IllegalStateException("Illegal state when comparing controls."); } final Iterator j = (state1 == null) ? null : state1.iterator(); final Iterator i = (state2 == null) ? null : state2.iterator(); final Iterator leadingIterator = (i != null) ? i : j; while (leadingIterator.hasNext()) { final XFormsControl xformsControl1 = (state1 == null) ? null : (XFormsControl) j.next(); final XFormsControl xformsControl2 = (state2 == null) ? null : (XFormsControl) i.next(); final XFormsControl leadingControl = (xformsControl2 != null) ? xformsControl2 : xformsControl1; // never null final XFormsControl otherControl = (xformsControl2 != null) ? xformsControl1 : xformsControl2; // possibly null // 1: Check current control if (!(leadingControl instanceof XFormsRepeatControl)) { // xforms:repeat doesn't need to be handled independently, iterations do it if (!leadingControl.equals(otherControl)) { if (xformsControl1 != null && xformsControl2 != null) { final NodeInfo boundNode1 = xformsControl1.getBoundNode(); final NodeInfo boundNode2 = xformsControl2.getBoundNode(); if (boundNode1 != null && xformsControl1.isRelevant() && boundNode2 == null) { // A control was bound to a node and relevant, but has become no longer bound to a node containingDocument.dispatchEvent(pipelineContext, new XFormsDisabledEvent(xformsControl2)); } else if (boundNode1 == null && boundNode2 != null && xformsControl2.isRelevant()) { // A control was not bound to a node, but has now become bound and relevant containingDocument.dispatchEvent(pipelineContext, new XFormsEnabledEvent(xformsControl2)); } } else if (xformsControl2 != null) { final NodeInfo boundNode2 = xformsControl2.getBoundNode(); if (boundNode2 != null && xformsControl2.isRelevant()) { // A control in a repeat was not bound to a node, but has now become bound and relevant containingDocument.dispatchEvent(pipelineContext, new XFormsEnabledEvent(xformsControl2)); } } else if (xformsControl1 != null) { final NodeInfo boundNode1 = xformsControl1.getBoundNode(); if (boundNode1 != null && xformsControl1.isRelevant()) { // A control in a repeat was bound to a node and relevant, but has become no longer bound to a node containingDocument.dispatchEvent(pipelineContext, new XFormsDisabledEvent(xformsControl1)); } } } } // 2: Check children if any if (XFormsControls.isGroupingControl(leadingControl.getName()) || leadingControl instanceof RepeatIterationControl) { final List children1 = (xformsControl1 == null) ? null : xformsControl1.getChildren(); final List children2 = (xformsControl2 == null) ? null : xformsControl2.getChildren(); final int size1 = children1 == null ? 0 : children1.size(); final int size2 = children2 == null ? 0 : children2.size(); if (leadingControl instanceof XFormsRepeatControl) { // Special case of repeat update if (size1 == size2) { // No add or remove of children findSpecialRelevanceChanges(pipelineContext, children1, children2); } else if (size2 > size1) { // Size has grown // Diff the common subset findSpecialRelevanceChanges(pipelineContext, children1, children2.subList(0, size1)); // Issue new values for new iterations findSpecialRelevanceChanges(pipelineContext, null, children2.subList(size1, size2)); } else if (size2 < size1) { // Size has shrunk // Diff the common subset findSpecialRelevanceChanges(pipelineContext, children1.subList(0, size2), children2); // Issue new values for new iterations findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null); } } else { // Other grouping controls findSpecialRelevanceChanges(pipelineContext, size1 == 0 ? null : children1, size2 == 0 ? null : children2); } } } }
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/3f51d1d62c218dfa0bec18ef28443000c6350153/XFormsControls.java/clean/src/java/org/orbeon/oxf/xforms/XFormsControls.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1104, 12193, 17018, 5882, 7173, 12, 8798, 1042, 5873, 1042, 16, 987, 919, 21, 16, 987, 919, 22, 13, 288, 3639, 368, 840, 20109, 648, 3639, 309, 261, 2019, 21, 422, 446, 597, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1104, 12193, 17018, 5882, 7173, 12, 8798, 1042, 5873, 1042, 16, 987, 919, 21, 16, 987, 919, 22, 13, 288, 3639, 368, 840, 20109, 648, 3639, 309, 261, 2019, 21, 422, 446, 597, ...
super(ruby, ruby.getExceptions().getNameError(), msg);
super(ruby, ruby.getExceptions().getRangeError(), msg);
public RangeError(Ruby ruby, String msg) { super(ruby, ruby.getExceptions().getNameError(), msg); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/5c7d9e094aa97d5066c802a80d5e119852f62221/RangeError.java/buggy/org/jruby/exceptions/RangeError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8086, 668, 12, 54, 10340, 22155, 16, 514, 1234, 13, 288, 3639, 2240, 12, 27768, 16, 22155, 18, 588, 11416, 7675, 588, 2655, 668, 9334, 1234, 1769, 565, 289, 2, 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, 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, 8086, 668, 12, 54, 10340, 22155, 16, 514, 1234, 13, 288, 3639, 2240, 12, 27768, 16, 22155, 18, 588, 11416, 7675, 588, 2655, 668, 9334, 1234, 1769, 565, 289, 2, -100, -100, -100, -...
m_Indices = null;
public boolean setInputFormat(Instances instanceInfo) throws Exception { super.setInputFormat(instanceInfo); if (instanceInfo.classIndex() < 0) { throw new UnassignedClassException("No class has been assigned to the instances"); } setOutputFormat(); m_Indices = null; if (instanceInfo.classAttribute().isNominal()) { return true; } else { return false; } }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/bc1393b87c827cb914a591fdeedeb677d2e8560b/NominalToBinaryFilter.java/buggy/branches/stable-3-2-1/weka/filters/NominalToBinaryFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 21687, 1630, 12, 5361, 791, 966, 13, 3639, 1216, 1185, 288, 565, 2240, 18, 542, 1210, 1630, 12, 1336, 966, 1769, 565, 309, 261, 1336, 966, 18, 1106, 1016, 1435, 411, 374, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 21687, 1630, 12, 5361, 791, 966, 13, 3639, 1216, 1185, 288, 565, 2240, 18, 542, 1210, 1630, 12, 1336, 966, 1769, 565, 309, 261, 1336, 966, 18, 1106, 1016, 1435, 411, 374, 13...
TaskListView.getDefault().showMessage("Please enter a valid report number");
TaskListView.getDefault().showMessage("Invalid report id.");
public ITask createTaskFromExistingId(TaskRepository repository, String id) { int bugId = -1; try { if (id != null) { bugId = Integer.parseInt(id); } else { return null; } } catch (NumberFormatException nfe) { TaskListView.getDefault().showMessage("Please enter a valid report number"); return null; } ITask newTask = new BugzillaTask(TaskRepositoryManager.getHandle(repository.getUrl().toExternalForm(), bugId), "<bugzilla info>", true, true); ITaskHandler taskHandler = MylarTaskListPlugin.getDefault().getHandlerForElement(newTask); if (taskHandler != null) { ITask addedTask = taskHandler.addTaskToRegistry(newTask); if (addedTask instanceof BugzillaTask) { BugzillaTask newTask2 = (BugzillaTask) addedTask; if (newTask2 == newTask) { ((BugzillaTask) newTask).scheduleDownloadReport(); } else { newTask = newTask2; ((BugzillaTask) newTask).updateTaskDetails(); } } } else { ((BugzillaTask) newTask).scheduleDownloadReport(); }// BugzillaUiPlugin.getDefault().getBugzillaTaskListManager().addToBugzillaTaskRegistry((BugzillaTask) newTask); return newTask; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/3e33caec44b8717decf7be5acff0920be035447a/BugzillaTaskRepositoryClient.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskRepositoryClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2174, 752, 2174, 1265, 9895, 548, 12, 2174, 3305, 3352, 16, 514, 612, 13, 288, 202, 202, 474, 7934, 548, 273, 300, 21, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 350,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2174, 752, 2174, 1265, 9895, 548, 12, 2174, 3305, 3352, 16, 514, 612, 13, 288, 202, 202, 474, 7934, 548, 273, 300, 21, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 350,...
List<Label> labels = vcs.getLabelsFor(p("file1"));
List<Label> labels = vcs.getLabelsFor(p("/file1"));
public void testTreatingRenamedAndCreatedFilesWithSameNameDifferently() { vcs.createFile(p("file1"), "content1"); vcs.apply(); vcs.rename(p("file1"), "file2"); vcs.createFile(p("file1"), "content2"); vcs.apply(); List<Label> labels = vcs.getLabelsFor(p("file1")); assertEquals(1, labels.size()); Entry e = labels.get(0).getEntry(); assertEquals("file1", e.getName()); assertEquals("content2", e.getContent()); labels = vcs.getLabelsFor(p("file2")); assertEquals(2, labels.size()); e = labels.get(0).getEntry(); assertEquals("file1", e.getName()); assertEquals("content1", e.getContent()); e = labels.get(1).getEntry(); assertEquals("file2", e.getName()); assertEquals("content1", e.getContent()); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsDifferencesTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsDifferencesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 56, 266, 1776, 16290, 2808, 1876, 6119, 2697, 1190, 8650, 461, 26270, 715, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 21, 6, 3631, 315, 1745, 21, 8863, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 56, 266, 1776, 16290, 2808, 1876, 6119, 2697, 1190, 8650, 461, 26270, 715, 1435, 288, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 21, 6, 3631, 315, 1745, 21, 8863, 56...
super(position);
super(position, NodeTypes.SCLASSNODE);
public SClassNode(ISourcePosition position, Node recvNode, ScopeNode bodyNode) { super(position); this.receiverNode = recvNode; this.bodyNode = bodyNode; }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/6e15491217631472c05c6928672f9c7064a978b3/SClassNode.java/buggy/src/org/jruby/ast/SClassNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 348, 797, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 10665, 907, 16, 5468, 907, 1417, 907, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 2312, 3979, 8744, 1769, 3639, 333, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 348, 797, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 10665, 907, 16, 5468, 907, 1417, 907, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 2312, 3979, 8744, 1769, 3639, 333, 18, ...
public Scriptable getSessionScope(Environment environment) { Map objectModel = environment.getObjectModel(); Request request = ObjectModelHelper.getRequest(objectModel); Session session = request.getSession(false); if (session == null) { return null; } Scriptable scope; HashMap userScopes = (HashMap)session.getAttribute(USER_GLOBAL_SCOPE); if (userScopes == null) { return null; } scope = (Scriptable)userScopes.get(environment.getURIPrefix()); return scope; }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/3eaf33e52949d473662ae9606cfe84feb4e21b4b/JavaScriptInterpreter.java/clean/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3651, 429, 588, 2157, 3876, 12, 5494, 10274, 15329, 863, 1612, 1488, 33, 10274, 18, 588, 921, 1488, 5621, 691, 2293, 33, 921, 1488, 2276, 18, 588, 691, 12, 1612, 1488, 1769, 2157, 3184, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3651, 429, 588, 2157, 3876, 12, 5494, 10274, 15329, 863, 1612, 1488, 33, 10274, 18, 588, 921, 1488, 5621, 691, 2293, 33, 921, 1488, 2276, 18, 588, 691, 12, 1612, 1488, 1769, 2157, 3184, ...
throw new IndexError(getRuntime(), "negative length");
throw getRuntime().newIndexError("negative length");
public IRubyObject aset(IRubyObject[] args) { testFrozen("class"); int strLen = getValue().length(); if (checkArgumentCount(args, 2, 3) == 3) { RubyString repl = stringValue(args[2]); int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (len < 0) { throw new IndexError(getRuntime(), "negative length"); } if (beg < 0) { beg += strLen; } if (beg < 0 || beg >= strLen) { throw new IndexError(getRuntime(), "string index out of bounds"); } if (beg + len > strLen) { len = strLen - beg; } replace(beg, len, repl); return repl; } if (args[0] instanceof RubyFixnum) { // RubyNumeric? int idx = RubyNumeric.fix2int(args[0]); // num2int? if (idx < 0) { idx += getValue().length(); } if (idx < 0 || idx >= getValue().length()) { throw new IndexError(getRuntime(), "string index out of bounds"); } if (args[1] instanceof RubyFixnum) { char c = (char) RubyNumeric.fix2int(args[1]); setValue(getValue().substring(0, idx) + c + getValue().substring(idx + 1)); } else { replace(idx, 1, stringValue(args[1])); } return args[1]; } if (args[0] instanceof RubyRegexp) { sub_bang(args); return args[1]; } if (args[0] instanceof RubyString) { RubyString orig = stringValue(args[0]); int beg = getValue().indexOf(orig.getValue()); if (beg != -1) { replace(beg, orig.getValue().length(), stringValue(args[1])); } return args[1]; } if (args[0] instanceof RubyRange) { long[] idxs = ((RubyRange) args[0]).getBeginLength(getValue().length(), true, true); replace((int) idxs[0], (int) idxs[1], stringValue(args[1])); return args[1]; } throw new TypeError(getRuntime(), "wrong argument type"); }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 487, 278, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 202, 3813, 42, 9808, 2932, 1106, 8863, 202, 202, 474, 609, 2891, 273, 2366, 7675, 2469, 5621, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 487, 278, 12, 7937, 10340, 921, 8526, 833, 13, 288, 202, 202, 3813, 42, 9808, 2932, 1106, 8863, 202, 202, 474, 609, 2891, 273, 2366, 7675, 2469, 5621, 202, ...
MyResourceDeltaVisitor vis = new MyResourceDeltaVisitor();
protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws CoreException { boolean bPerformBuild = true; IMakeBuilderInfo info = MakeCorePlugin.createBuildInfo(args, MakeBuilder.BUILDER_ID); if (!shouldBuild(kind, info)) { forgetLastBuiltState(); return new IProject[0]; } if (kind == IncrementalProjectBuilder.AUTO_BUILD) { MyResourceDeltaVisitor vis = new MyResourceDeltaVisitor(); IResourceDelta delta = getDelta(getProject()); if (delta != null) { delta.accept(vis); bPerformBuild = vis.shouldBuild(); } else bPerformBuild = false; } if (bPerformBuild) { boolean isClean = invokeMake(kind, info, monitor); if (isClean) { forgetLastBuiltState(); } } else { // This should really be based of last build state, for now its safer to just // forget last, until we get some kind of build state manager in the CDT Core. forgetLastBuiltState(); } checkCancel(monitor); return getProject().getReferencedProjects(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/74cf4886029b3a6190f85ce4fb77c8ffdb4651b7/MakeBuilder.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 4109, 8526, 1361, 12, 474, 3846, 16, 1635, 833, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 6494, 324, 4990, 3116, 273, 638, 31, 202, 202, 3445, 911, 1263...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 4109, 8526, 1361, 12, 474, 3846, 16, 1635, 833, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 6494, 324, 4990, 3116, 273, 638, 31, 202, 202, 3445, 911, 1263...
try {
public void execSqlUpdateQuery(String server, String sqlStr ) throws IOException { imcode.server.IMCServiceInterface imc = getInterface( server ) ; try { imc.sqlUpdateQuery(sqlStr) ; return ; } catch (IOException ex) { imc = renewInterface(server) ; imc.sqlUpdateQuery(sqlStr) ; return ; } } // execSql
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/cbaf8fbf9eeaf7b9db5163cf0496eea1be5ce141/RmiLayer.java/clean/server/src/imcode/external/diverse/RmiLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 5101, 1891, 1138, 12, 780, 1438, 16, 514, 1847, 1585, 262, 1216, 1860, 288, 3639, 709, 710, 18, 3567, 18, 3445, 39, 18348, 709, 71, 273, 336, 1358, 12, 1438, 262, 274, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1196, 5101, 1891, 1138, 12, 780, 1438, 16, 514, 1847, 1585, 262, 1216, 1860, 288, 3639, 709, 710, 18, 3567, 18, 3445, 39, 18348, 709, 71, 273, 336, 1358, 12, 1438, 262, 274, ...
throw new SAXParseException("Unexpected element \"" + name + "\"", locator);
throw new SAXParseException("Unexpected element \"" + name + "\"", locator);
public void startElement(String name, AttributeList attrs) throws SAXParseException { if (name.equals("taskdef")) { handleTaskdef(name, attrs); } else if (name.equals("property")) { handleProperty(name, attrs); } else if (name.equals("target")) { handleTarget(name, attrs); } else if (project.getDataTypeDefinitions().get(name) != null) { handleDataType(name, attrs); } else { throw new SAXParseException("Unexpected element \"" + name + "\"", locator); } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/adbdf5d6c830f14edbfd28f91c2c7b1a14229291/ProjectHelper.java/buggy/src/main/org/apache/tools/ant/ProjectHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 12, 780, 508, 16, 3601, 682, 3422, 13, 2398, 1216, 10168, 13047, 288, 5411, 309, 261, 529, 18, 14963, 2932, 4146, 536, 6, 3719, 288, 7734, 1640, 2174, 536, 12, 529, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 12, 780, 508, 16, 3601, 682, 3422, 13, 2398, 1216, 10168, 13047, 288, 5411, 309, 261, 529, 18, 14963, 2932, 4146, 536, 6, 3719, 288, 7734, 1640, 2174, 536, 12, 529, 16...
return "/xava/list." + getType();
return "/xava/list." + getType() + "?application=" + request.getParameter("application") + "&module=" + request.getParameter("module");
public String getForwardURI() { return "/xava/list." + getType(); }
14127 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14127/97c11f754ea74a7442db830fdd448200f6115e9e/GenerateReportAction.java/buggy/OpenXava/src/org/openxava/actions/GenerateReportAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 8514, 3098, 1435, 288, 9506, 202, 2463, 2206, 92, 1629, 19, 1098, 1199, 397, 3130, 5621, 202, 97, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 336, 8514, 3098, 1435, 288, 9506, 202, 2463, 2206, 92, 1629, 19, 1098, 1199, 397, 3130, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
writeAttribute( writer, "org.eclipse.jdt.launching.DEFAULT_CLASSPATH", true );
protected void addAttributes( XMLWriter writer ) { // ant specific writeAttribute( writer, "process_factory_id", "org.eclipse.ant.ui.remoteAntProcessFactory" ); writeAttribute( writer, "org.eclipse.ant.ui.DEFAULT_VM_INSTALL", false ); writeAttribute( writer, "org.eclipse.jdt.launching.DEFAULT_CLASSPATH", true ); writeAttribute( writer, "org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON", false ); writer.startElement( "listAttribute" ); writer.addAttribute( "key", "org.eclipse.debug.core.MAPPED_RESOURCE_TYPES" ); writer.endElement(); writeAttribute( writer, "org.eclipse.ant.ui.ATTR_TARGETS_UPDATED", true ); writeAttribute( writer, "org.eclipse.jdt.launching.CLASSPATH_PROVIDER", "org.eclipse.ant.ui.AntClasspathProvider" ); // writeAttribute( writer, "org.eclipse.jdt.launching.PROJECT_ATTR", "" ); // writer.startElement( "listAttribute" ); // writer.addAttribute( "key", "org.eclipse.debug.core.MAPPED_RESOURCE_PATHS" ); // writer.endElement(); }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/604b48a27606ac1b6534212fb6874a243a1aeb87/EclipseAntExternalLaunchConfigurationWriter.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseAntExternalLaunchConfigurationWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 2498, 12, 3167, 2289, 2633, 262, 565, 288, 3639, 368, 17841, 2923, 3639, 12325, 12, 2633, 16, 315, 2567, 67, 6848, 67, 350, 3113, 315, 3341, 18, 20416, 18, 970, 18, 4881...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 2498, 12, 3167, 2289, 2633, 262, 565, 288, 3639, 368, 17841, 2923, 3639, 12325, 12, 2633, 16, 315, 2567, 67, 6848, 67, 350, 3113, 315, 3341, 18, 20416, 18, 970, 18, 4881...
Object[] bindings = (Object[]) SharedUIDefaults.get("MenuBar.windowBindings"); InputMap inputMap = LookAndFeel.makeComponentInputMap(menuBar, bindings); SwingUtilities.replaceUIInputMap(menuBar, JComponent.WHEN_IN_FOCUSED_WINDOW, inputMap); SwingUtilities.replaceUIActionMap(menuBar, getActionMap());
protected void installKeyboardActions() throws NotImplementedException { // FIXME: implement }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicMenuBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 1841, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 8526, 7394, 273, 261, 921, 63, 5717, 10314, 3060, 73, 643, 87, 18, 588, 2932, 4599, 5190, 18, 5668, 10497, 8863, 2741, 863, 810, 863, 273, 10176, 1876, 2954, 292, 18, 6540, 1841, ...
return new IField[] { message, resource, folder, lineNumber,
return new IField[] { severityAndMessage, resource, folder, lineNumber,
protected IField[] getAllFields() { // Add the marker ID so the table sorter won't reduce // errors on the same line bug 82502 return new IField[] { message, resource, folder, lineNumber, creationTime }; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0d709da83531dbf226078c4683d1b014a03521c8/ProblemView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 974, 8526, 5514, 2314, 1435, 288, 202, 202, 759, 1436, 326, 5373, 1599, 1427, 326, 1014, 19867, 8462, 1404, 5459, 202, 202, 759, 1334, 603, 326, 1967, 980, 7934, 1725, 294...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 974, 8526, 5514, 2314, 1435, 288, 202, 202, 759, 1436, 326, 5373, 1599, 1427, 326, 1014, 19867, 8462, 1404, 5459, 202, 202, 759, 1334, 603, 326, 1967, 980, 7934, 1725, 294...
if (val instanceof String) return toNumber((String) val); if (val instanceof Boolean) return ((Boolean) val).booleanValue() ? 1 : +0.0; warnAboutNonJSObject(val); return NaN;
public static double toNumber(Object val) { if (val instanceof Number) return ((Number) val).doubleValue(); if (val == null) return +0.0; if (val instanceof Scriptable) { val = ((Scriptable) val).getDefaultValue(NumberClass); if (val != null && val instanceof Scriptable) throw errorWithClassName("msg.primitive.expected", val); if (val instanceof Number) return ((Number) val).doubleValue(); // fall through } if (val instanceof String) return toNumber((String) val); if (val instanceof Boolean) return ((Boolean) val).booleanValue() ? 1 : +0.0; warnAboutNonJSObject(val); return NaN; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/cf0577f71eb8e686b61be9a52b8c5dc6f08821f6/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 358, 1854, 12, 921, 1244, 13, 565, 288, 3639, 309, 261, 1125, 1276, 3588, 13, 5411, 327, 14015, 1854, 13, 1244, 2934, 9056, 620, 5621, 3639, 309, 261, 1125, 422, 446, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 358, 1854, 12, 921, 1244, 13, 565, 288, 3639, 309, 261, 1125, 1276, 3588, 13, 5411, 327, 14015, 1854, 13, 1244, 2934, 9056, 620, 5621, 3639, 309, 261, 1125, 422, 446, 1...
AST tmp467_AST_in = (AST)_t;
AST tmp466_AST_in = (AST)_t;
public final void return_options(AST _t) throws RecognitionException { AST return_options_AST_in = (_t == ASTNULL) ? null : (AST)_t; { boolean synPredMatched1949 = false; if (_t==null) _t=ASTNULL; if (((_tokenSet_3.member(_t.getType())))) { AST __t1949 = _t; synPredMatched1949 = true; inputState.guessing++; try { { AST __t1948 = _t; AST tmp465_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getFirstChild(); AST tmp466_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp467_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); AST tmp468_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1948; _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1949 = false; } _t = __t1949;inputState.guessing--; } if ( synPredMatched1949 ) { expression(_t); _t = _retTree; } else { boolean synPredMatched1951 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==ERROR))) { AST __t1951 = _t; synPredMatched1951 = true; inputState.guessing++; try { { AST tmp469_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1951 = false; } _t = __t1951;inputState.guessing--; } if ( synPredMatched1951 ) { AST tmp470_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==EOF||_t.getType()==3||_t.getType()==PERIOD)) { } else { throw new NoViableAltException(_t); } } } else if ((_t.getType()==NOAPPLY)) { AST tmp471_AST_in = (AST)_t; match(_t,NOAPPLY); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==EOF||_t.getType()==3||_t.getType()==PERIOD)) { } else { throw new NoViableAltException(_t); } } } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 327, 67, 2116, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 327, 67, 2116, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 327, 67, 2116, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 327, 67, 2116, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 2...
assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() );
Assert.assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() );
public void assertMailingList( int i, MailingList expected, Object actualObject ) { assertNotNull( "/model/mailingLists[" + i + "]", actualObject ); assertInstanceOf( "/model/mailingLists", MailingList.class, actualObject.getClass() ); MailingList actual = (MailingList) actualObject; assertEquals( "/model/mailingLists[" + i + "]/name", expected.getName(), actual.getName() ); assertEquals( "/model/mailingLists[" + i + "]/subscribe", expected.getSubscribe(), actual.getSubscribe() ); assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() ); assertEquals( "/model/mailingLists[" + i + "]/archive", expected.getArchive(), actual.getArchive() ); }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/8d22b8877982d05d783e10993c6d0064b846e44a/Xpp3Verifier.java/clean/modello/modello-plugins/modello-plugin-xpp3/src/test/verifiers/xpp3/Xpp3Verifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 6759, 310, 682, 12, 509, 277, 16, 11542, 310, 682, 2665, 16, 1033, 3214, 921, 262, 565, 288, 3639, 25395, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1815, 6759, 310, 682, 12, 509, 277, 16, 11542, 310, 682, 2665, 16, 1033, 3214, 921, 262, 565, 288, 3639, 25395, 12, 2206, 2284, 19, 4408, 310, 7432, 9614, 397, 277, 397, 9850...
public org.quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { org.quickfix.field.ListSeqNo value = new org.quickfix.field.ListSeqNo();
public quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { quickfix.field.ListSeqNo value = new quickfix.field.ListSeqNo();
public org.quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { org.quickfix.field.ListSeqNo value = new org.quickfix.field.ListSeqNo(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 10033, 6926, 2279, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 460, 273, 394, 2358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 10033, 6926, 2279, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 682, 6926, 2279, 460, 273, 394, 2358, ...
public int showConfirmDialog(String pMessageText, String pTitle, int pType) { final String messageText = pMessageText; final String title = pTitle; final int type = pType; final ResponseWrapper fResponseWrapper = new ResponseWrapper(); Runnable runMe = new Runnable() { public void run() { fResponseWrapper.setInt(JOptionPane.showConfirmDialog(MessageFrame.this, messageText, title, type)); } }; if (! SwingUtilities.isEventDispatchThread()) { try { SwingUtilities.invokeAndWait(runMe); } catch (Exception e) { } } else { runMe.run(); } return fResponseWrapper.getInt(); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/55c2ef8139608f0f93fb72272ca8300eb9ac663e/MessageFrame.java/clean/src/net/suberic/pooka/gui/MessageFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 2405, 11269, 6353, 12, 780, 293, 1079, 1528, 16, 514, 293, 4247, 16, 509, 29171, 13, 288, 565, 727, 514, 883, 1528, 273, 293, 1079, 1528, 31, 565, 727, 514, 2077, 273, 293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 2405, 11269, 6353, 12, 780, 293, 1079, 1528, 16, 514, 293, 4247, 16, 509, 29171, 13, 288, 565, 727, 514, 883, 1528, 273, 293, 1079, 1528, 31, 565, 727, 514, 2077, 273, 293, ...
+"I"
private void generateFunctionInit(ClassFileWriter cfw, OptFunctionNode ofn) { final int CONTEXT_ARG = 1; final int SCOPE_ARG = 2; cfw.startMethod(getFunctionInitMethodName(ofn), FUNCTION_INIT_SIGNATURE, (short)(ClassFileWriter.ACC_PRIVATE | ClassFileWriter.ACC_FINAL)); // Call NativeFunction.initScriptFunction cfw.addLoadThis(); cfw.addALoad(CONTEXT_ARG); cfw.addALoad(SCOPE_ARG); cfw.addPush(compilerEnv.getLanguageVersion()); cfw.addPush(ofn.fnode.getFunctionName()); pushParamNamesArray(cfw, ofn.fnode); cfw.addPush(ofn.fnode.getParamCount()); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, "org/mozilla/javascript/NativeFunction", "initScriptFunction", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"I" +"Ljava/lang/String;" +"[Ljava/lang/String;" +"I" +")V"); // precompile all regexp literals int regexpCount = ofn.fnode.getRegexpCount(); if (regexpCount != 0) { cfw.addLoadThis(); pushRegExpArray(cfw, ofn.fnode, CONTEXT_ARG, SCOPE_ARG); cfw.add(ByteCode.PUTFIELD, mainClassName, REGEXP_ARRAY_FIELD_NAME, REGEXP_ARRAY_FIELD_TYPE); } cfw.add(ByteCode.RETURN); // 3 = (scriptThis/functionRef) + scope + context cfw.stopMethod((short)3); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/08f0cfede0b5665f6b5139b8993251dc3a80ec16/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2083, 2570, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1377, 12056, 2083, 907, 434, 82, 13, 565, 288, 3639, 727, 509, 13862, 67, 10973, 273, 404, 31, 3639, 727, 509, 19296...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2103, 2083, 2570, 12, 797, 812, 2289, 6080, 91, 16, 4766, 1377, 12056, 2083, 907, 434, 82, 13, 565, 288, 3639, 727, 509, 13862, 67, 10973, 273, 404, 31, 3639, 727, 509, 19296...
seriesBaseRuntime.setSeriesIdentifier( "Category 1" );
seriesBaseRuntime.setSeriesIdentifier( "Category" );
public final void createSampleRuntimeSeries( ) { Chart chart = this; SampleData sd = chart.getSampleData( ); if ( sd == null || sd.getBaseSampleData( ).size( ) == 0 || sd.getOrthogonalSampleData( ).size( ) == 0 ) { return; } try { // Process Base SeriesDefinitions Series seriesBaseRuntime = (Series) EcoreUtil.copy( getBaseSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) ); // Clear existing values from the dataset seriesBaseRuntime.setDataSet( null ); // Clear any existing Runtime Series chart.clearSections( IConstants.RUN_TIME ); // Get the BaseSampleData and use it to construct dataset seriesBaseRuntime.setDataSet( ( PluginSettings.instance( ).getDataSetProcessor( getBaseSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) .getClass( ) ) ).fromString( ( (BaseSampleData) sd.getBaseSampleData( ) .get( 0 ) ).getDataSetRepresentation( ), seriesBaseRuntime.getDataSet( ) ) ); getBaseSeriesDefinitionForProcessing( ).getSeries( ) .add( seriesBaseRuntime ); // Set sample series identifier seriesBaseRuntime.setSeriesIdentifier( "Category 1" ); //$NON-NLS-1$ // Process Orthogonal SeriesDefinitions Vector vOSD = getOrthogonalSeriesDefinitions( ); int[] iOSD = new int[vOSD.size( )]; SeriesDefinition sdTmp = null; Series seriesOrthogonalRuntime = null; // Initialize position array and clear any existing runtime series for ( int i = 0; i < iOSD.length; i++ ) { iOSD[i] = 0; sdTmp = (SeriesDefinition) vOSD.get( i ); } // Fetch the DataSetRepresentations for orthogonal sample data for ( int iO = 0; iO < sd.getOrthogonalSampleData( ).size( ); iO++ ) { OrthogonalSampleData osd = (OrthogonalSampleData) sd.getOrthogonalSampleData( ) .get( iO ); int iSDIndex = osd.getSeriesDefinitionIndex( ); // If the series definition has been removed if ( iSDIndex > vOSD.size( ) - 1 ) { // Remove the Orthogonal Sample Data entry (since it is no // longer valid) sd.getOrthogonalSampleData( ).remove( iO ); // Reset the loop counter to not lose an entry iO--; // continue with the next iteration continue; } // Create runtime series for SeriesDefinition index sdTmp = (SeriesDefinition) vOSD.get( iSDIndex ); seriesOrthogonalRuntime = (Series) EcoreUtil.copy( sdTmp.getDesignTimeSeries( ) ); // Clear existing values from the dataset seriesOrthogonalRuntime.setDataSet( null ); // Set the new dataset with sample values seriesOrthogonalRuntime.setDataSet( ( PluginSettings.instance( ).getDataSetProcessor( sdTmp.getDesignTimeSeries( ) .getClass( ) ) ).fromString( osd.getDataSetRepresentation( ), seriesOrthogonalRuntime.getDataSet( ) ) ); // Set sample series identifiers seriesOrthogonalRuntime.setSeriesIdentifier( "Series " //$NON-NLS-1$ + ( sdTmp.getSeries( ).size( ) ) ); // Set sample data definition Query q = QueryImpl.create( "Data " //$NON-NLS-1$ + ( sdTmp.getSeries( ).size( ) ) ); seriesOrthogonalRuntime.getDataDefinition( ).add( q ); sdTmp.getSeries( ).add( seriesOrthogonalRuntime ); } } catch ( Exception e1 ) { logger.log( e1 ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f5232133228aeb30b8fa3d436cfd1df3a5d1cd7b/ChartImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 8504, 5576, 6485, 12, 262, 202, 95, 202, 202, 7984, 4980, 273, 333, 31, 202, 202, 8504, 751, 8349, 273, 4980, 18, 588, 8504, 751, 12, 11272, 202, 202, 430, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 8504, 5576, 6485, 12, 262, 202, 95, 202, 202, 7984, 4980, 273, 333, 31, 202, 202, 8504, 751, 8349, 273, 4980, 18, 588, 8504, 751, 12, 11272, 202, 202, 430, 26...
fAssocitedCheckButton.setText( "&Associate with" );
fAssocitedCheckButton.setText( CDebugUIPlugin.getResourceString("AddDirectorySourceLocationBlock.Associate_with") );
protected void createAssociationControls( Composite parent ) { Composite composite = new Composite( parent, SWT.NONE ); composite.setLayout( new GridLayout() ); GridData data = new GridData( GridData.FILL_BOTH ); composite.setLayoutData( data ); fAssocitedCheckButton = new Button( composite, SWT.CHECK ); fAssocitedCheckButton.setText( "&Associate with" ); fAssociationText = new Text( composite, SWT.SINGLE | SWT.BORDER ); fAssociationText.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); fAssocitedCheckButton.addSelectionListener( new SelectionAdapter() { /* (non-Javadoc) * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(SelectionEvent) */ public void widgetSelected(SelectionEvent e) { associationSelectionChanged(); } } ); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7c50719ee75ad53d8a6bd367d0f569749c3680bc/AddDirectorySourceLocationBlock.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 7174, 16795, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 27676, 18, 542, 3744, 12, 394, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 7174, 16795, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 27676, 18, 542, 3744, 12, 394, ...
PATH_ELOCALTOOL + "view_menu.gif", true); declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_HOVER,
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_HOVER, 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_HOVER, 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_HOVER, 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(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT, PATH_ETOOL + "print_edit.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PRINT_EDIT_HOVER, 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(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_NEW_PAGE_HOVER, 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_ETOOL_DEF_PERSPECTIVE_HOVER, PATH_EVIEW + "default_persp.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_CLOSE_VIEW_HOVER, 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_PIN_VIEW_HOVER, 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_MIN_VIEW_HOVER, 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_VIEW_MENU_HOVER, 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$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2681a6ecadd52dd841e83586a7574d0fc5192344/WorkbenchImages.java/buggy/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, 3639, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 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,...
this.setLayout( new GridLayout(0, 1) );
Panel tempPanel = new Panel(); tempPanel.setLayout( new GridLayout(0, 1) );
public CommonSettingsDialog( Frame owner) { // Initialize our superclass with a title. super( owner, "Client Settings" ); // Lay out this dialog. this.setLayout( new GridLayout(0, 1) ); // Add the setting controls. Panel panSetting; minimapEnabled = new Checkbox( "The minimap can be shown." ); this.add( minimapEnabled ); autoEndFiring = new Checkbox( "Skip 'Done' when firing all weapons." ); this.add( autoEndFiring ); nagForMASC = new Checkbox( "Confirm all movement that uses MASC." ); this.add( nagForMASC ); nagForPSR = new Checkbox( "Confirm all movement that requires a PSR." ); this.add( nagForPSR ); nagForNoAction = new Checkbox( "Confirm done when no movement/firing/physicals declared." ); this.add( nagForNoAction ); animateMove = new Checkbox( "Animate movement." ); this.add( animateMove ); showWrecks = new Checkbox( "Show wrecks." ); this.add( showWrecks ); soundMute = new Checkbox( "Mute sound." ); this.add( soundMute ); showMapHexPopup = new Checkbox( "Show map hex popup." ); this.add( showMapHexPopup ); panSetting = new Panel(); tooltipDelay = new TextField(4); panSetting.add( tooltipDelay ); panSetting.add( new Label("Tooltip popup delay.") ); this.add( panSetting ); panSetting = new Panel(); unitStartChar = new Choice(); // Add option for "A, B, C, D..." unitStartChar.addItem( "\u0041, \u0042, \u0043, \u0044..." ); // Add option for "ALPHA, BETA, GAMMA, DELTA..." unitStartChar.addItem( "\u0391, \u0392, \u0393, \u0394..." ); // Add option for "alpha, beta, gamma, delta..." unitStartChar.addItem( "\u03B1, \u03B2, \u03B3, \u03B4..." ); panSetting.add( unitStartChar ); panSetting.add( new Label("ProtoMech unit codes.") ); this.add( panSetting ); panSetting = new Panel(); shiftScrollSensitivity = new TextField(4); panSetting.add( shiftScrollSensitivity ); panSetting.add( new Label("Shift-Scroll sensitivity.") ); this.add( panSetting ); explicitScrollOnly = new Checkbox( "Only scroll using Shift key and MiniMap." ); this.add( explicitScrollOnly ); alwaysScrollOnRightClick = new Checkbox( "Right click always scrolls the map." ); this.add( alwaysScrollOnRightClick ); panSetting = new Panel(); maxPathfinderTime = new TextField(5); panSetting.add( maxPathfinderTime ); panSetting.add( new Label("Pathfinder time limit (milliseconds).") ); this.add( panSetting ); // Add the dialog controls. Panel buttons = new Panel(); buttons.setLayout( new GridLayout(1, 0) ); buttons.add( new Label() ); Button update = new Button( "Update" ); update.setActionCommand( CommonSettingsDialog.UPDATE ); update.addActionListener( this ); buttons.add( update ); buttons.add( new Label() ); Button cancel = new Button( "Cancel" ); cancel.setActionCommand( CommonSettingsDialog.CANCEL ); cancel.addActionListener( this ); buttons.add( cancel ); buttons.add( new Label() ); this.add( buttons ); // Close this dialog when the window manager says to. addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { cancel(); } }); // Center this dialog. pack(); setResizable(false); setLocation(owner.getLocation().x + owner.getSize().width/2 - getSize().width/2, owner.getLocation().y + owner.getSize().height/2 - getSize().height/2); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/246e85e58006e2da5090b2caaf79dfd61fd288d1/CommonSettingsDialog.java/clean/megamek/src/megamek/client/ui/AWT/CommonSettingsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5658, 2628, 6353, 12, 8058, 3410, 13, 288, 3639, 368, 9190, 3134, 12098, 598, 279, 2077, 18, 3639, 2240, 12, 3410, 16, 315, 1227, 8709, 6, 11272, 3639, 368, 511, 528, 596, 333, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5658, 2628, 6353, 12, 8058, 3410, 13, 288, 3639, 368, 9190, 3134, 12098, 598, 279, 2077, 18, 3639, 2240, 12, 3410, 16, 315, 1227, 8709, 6, 11272, 3639, 368, 511, 528, 596, 333, 61...
null, "setStyle");
null, "setStyleExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[30]; try { result[0] = new PropertyDescriptor("accesskey", ELTextareaTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("alt", ELTextareaTag.class, null, "setAlt"); result[2] = new PropertyDescriptor("altKey", ELTextareaTag.class, null, "setAltKey"); result[3] = new PropertyDescriptor("cols", ELTextareaTag.class, null, "setCols"); // This attribute has a non-standard mapping. result[4] = new PropertyDescriptor("disabled", ELTextareaTag.class, null, "setDisabledExpr"); // This attribute has a non-standard mapping. result[5] = new PropertyDescriptor("indexed", ELTextareaTag.class, null, "setIndexedExpr"); result[6] = new PropertyDescriptor("name", ELTextareaTag.class, null, "setName"); result[7] = new PropertyDescriptor("onblur", ELTextareaTag.class, null, "setOnblur"); result[8] = new PropertyDescriptor("onchange", ELTextareaTag.class, null, "setOnchange"); result[9] = new PropertyDescriptor("onclick", ELTextareaTag.class, null, "setOnclick"); result[10] = new PropertyDescriptor("ondblclick", ELTextareaTag.class, null, "setOndblclick"); result[11] = new PropertyDescriptor("onfocus", ELTextareaTag.class, null, "setOnfocus"); result[12] = new PropertyDescriptor("onkeydown", ELTextareaTag.class, null, "setOnkeydown"); result[13] = new PropertyDescriptor("onkeypress", ELTextareaTag.class, null, "setOnkeypress"); result[14] = new PropertyDescriptor("onkeyup", ELTextareaTag.class, null, "setOnkeyup"); result[15] = new PropertyDescriptor("onmousedown", ELTextareaTag.class, null, "setOnmousedown"); result[16] = new PropertyDescriptor("onmousemove", ELTextareaTag.class, null, "setOnmousemove"); result[17] = new PropertyDescriptor("onmouseout", ELTextareaTag.class, null, "setOnmouseout"); result[18] = new PropertyDescriptor("onmouseover", ELTextareaTag.class, null, "setOnmouseover"); result[19] = new PropertyDescriptor("onmouseup", ELTextareaTag.class, null, "setOnmouseup"); result[20] = new PropertyDescriptor("property", ELTextareaTag.class, null, "setProperty"); result[21] = new PropertyDescriptor("readonly", ELTextareaTag.class, null, "setReadonlyExpr"); result[22] = new PropertyDescriptor("rows", ELTextareaTag.class, null, "setRows"); result[23] = new PropertyDescriptor("style", ELTextareaTag.class, null, "setStyle"); result[24] = new PropertyDescriptor("styleClass", ELTextareaTag.class, null, "setStyleClass"); result[25] = new PropertyDescriptor("styleId", ELTextareaTag.class, null, "setStyleId"); result[26] = new PropertyDescriptor("tabindex", ELTextareaTag.class, null, "setTabindex"); result[27] = new PropertyDescriptor("title", ELTextareaTag.class, null, "setTitle"); result[28] = new PropertyDescriptor("titleKey", ELTextareaTag.class, null, "setTitleKey"); result[29] = new PropertyDescriptor("value", ELTextareaTag.class, null, "setValue"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELTextareaTagBeanInfo.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextareaTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5082, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 5082, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860...
ViewedMessage node = (ViewedMessage) path.getTip();
ViewedMessage node = (ViewedMessage) path.getPath()[path.getPath().length -1];
public void folderSelectionDoubleClicked(ChangeEvent aEvent) { TreePath path = null; Enumeration selection = ((FolderPanel)aEvent.getSource()).getSelection(); MessageDisplayManager master = MultiMessageDisplayManager.Get(); while (selection.hasMoreElements()) { path = (TreePath) selection.nextElement(); if (path != null) { ViewedMessage node = (ViewedMessage) path.getTip(); master.displayMessage(node.getMessage()); } } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/8c0a3f0dc0fd80182185cba30e58932b2539c17a/FolderFrame.java/clean/grendel/sources/grendel/ui/FolderFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3009, 6233, 5265, 27633, 12, 20930, 279, 1133, 13, 288, 1377, 4902, 743, 589, 273, 446, 31, 1377, 13864, 4421, 273, 14015, 3899, 5537, 13, 69, 1133, 18, 588, 1830, 1435, 2934, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3009, 6233, 5265, 27633, 12, 20930, 279, 1133, 13, 288, 1377, 4902, 743, 589, 273, 446, 31, 1377, 13864, 4421, 273, 14015, 3899, 5537, 13, 69, 1133, 18, 588, 1830, 1435, 2934, ...
return new JAXPDOMTestDocumentBuilderFactory(newFactory,mergedSettings);
return createInstance(newFactory, mergedSettings);
public DOMTestDocumentBuilderFactory newInstance(DocumentBuilderSetting[] newSettings) throws DOMTestIncompatibleException { if(newSettings == null) { return this; } DocumentBuilderSetting[] mergedSettings = mergeSettings(newSettings); DocumentBuilderFactory newFactory = factory.newInstance(); return new JAXPDOMTestDocumentBuilderFactory(newFactory,mergedSettings); }
54650 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54650/60ec3bed7e2de32d64750878e32e185c5838474c/JAXPDOMTestDocumentBuilderFactory.java/clean/java/org/w3c/domts/JAXPDOMTestDocumentBuilderFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4703, 4709, 2519, 20692, 5984, 12, 2519, 1263, 5568, 8526, 394, 2628, 13, 565, 1216, 4703, 4709, 24272, 503, 288, 565, 309, 12, 2704, 2628, 422, 446, 13, 288, 1377, 327, 333, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4703, 4709, 2519, 20692, 5984, 12, 2519, 1263, 5568, 8526, 394, 2628, 13, 565, 1216, 4703, 4709, 24272, 503, 288, 565, 309, 12, 2704, 2628, 422, 446, 13, 288, 1377, 327, 333, 31, ...
if(offset < 0) {
if (offset < 0) {
private static boolean isJikesMessage(String errorMessage) { for(int j=0; j<errorMessage.length(); j++) { if(errorMessage.charAt(j) == ':') { int offset = getNextTwoPoints(j, errorMessage); if(offset < 0) { continue; } offset = getNextTwoPoints(offset, errorMessage); if(offset < 0) { continue; } offset = getNextTwoPoints(offset, errorMessage); if(offset < 0) { continue; } offset = getNextTwoPoints(offset, errorMessage); if(offset >= 0) { return true; } } } return false; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/f815bc91a0ccfd60fe02336070d85d81209aad84/OutputParser.java/clean/plugins/ant/src/com/intellij/lang/ant/config/execution/OutputParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 353, 46, 25235, 1079, 12, 780, 9324, 13, 288, 565, 364, 12, 474, 525, 33, 20, 31, 525, 32, 1636, 1079, 18, 2469, 5621, 525, 27245, 288, 1377, 309, 12, 1636, 1079, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 353, 46, 25235, 1079, 12, 780, 9324, 13, 288, 565, 364, 12, 474, 525, 33, 20, 31, 525, 32, 1636, 1079, 18, 2469, 5621, 525, 27245, 288, 1377, 309, 12, 1636, 1079, 18,...
" 124 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 127 ldc <String \"[finally]\"> [62]\n" + " 129 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 132 invokestatic X.throwRuntime() : void [64]\n" +
" 124 getstatic java.lang.System.out : java.io.PrintStream [16]\n" + " 127 ldc <String \"[finally]\"> [47]\n" + " 129 invokevirtual java.io.PrintStream.print(java.lang.String) : void [42]\n" + " 132 invokestatic X.throwRuntime() : void [49]\n" +
public void test034() { this.runConformTest( new String[] { "X.java", "public class X {\n" + "\n" + " public static void main(String[] args) {\n" + " try {\n" + " scenario();\n" + " } catch(Exception e){\n" + " System.out.println(\"[end]\");\n" + " }\n" + " }\n" + "\n" + " private static int scenario(){\n" + " try {\n" + " int i = 1;\n" + " System.out.print(\"[i: \" + i+\"]\");\n" + " if (i > 5) {\n" + " return i;\n" + " }\n" + " return -i;\n" + " } catch (Exception e) {\n" + " System.out.print(\"[WRONG CATCH]\");\n" + " return 2;\n" + " } finally {\n" + " System.out.print(\"[finally]\");\n" + " try {\n" + " throwRuntime();\n" + " } finally {\n" + " clean();\n" + " }\n" + " }\n" + " }\n" + "\n" + " private static void throwRuntime() {\n" + " throw new RuntimeException(\"error\");\n" + " }\n" + "\n" + " private static void clean() {\n" + " System.out.print(\"[clean]\");\n" + " }\n" + "}\n", }, "[i: 1][finally][clean][end]"); String expectedOutput = new CompilerOptions(this.getCompilerOptions()).inlineJsrBytecode ? " // Method descriptor #19 ()I\n" + " // Stack: 4, Locals: 4\n" + " private static int scenario();\n" + " 0 iconst_1\n" + " 1 istore_0 [i]\n" + " 2 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 5 new java.lang.StringBuilder [40]\n" + " 8 dup\n" + " 9 ldc <String \"[i: \"> [42]\n" + " 11 invokespecial java.lang.StringBuilder(java.lang.String) [44]\n" + " 14 iload_0 [i]\n" + " 15 invokevirtual java.lang.StringBuilder.append(int) : java.lang.StringBuilder [46]\n" + " 18 ldc <String \"]\"> [50]\n" + " 20 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [52]\n" + " 23 invokevirtual java.lang.StringBuilder.toString() : java.lang.String [55]\n" + " 26 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 29 iload_0 [i]\n" + " 30 iconst_5\n" + " 31 if_icmple 61\n" + " 34 iload_0 [i]\n" + " 35 istore_2\n" + " 36 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 39 ldc <String \"[finally]\"> [62]\n" + " 41 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 44 invokestatic X.throwRuntime() : void [64]\n" + " 47 goto 56\n" + " 50 astore_3\n" + " 51 invokestatic X.clean() : void [67]\n" + " 54 aload_3\n" + " 55 athrow\n" + " 56 invokestatic X.clean() : void [67]\n" + " 59 iload_2\n" + " 60 ireturn\n" + " 61 iload_0 [i]\n" + " 62 ineg\n" + " 63 istore_2\n" + " 64 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 67 ldc <String \"[finally]\"> [62]\n" + " 69 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 72 invokestatic X.throwRuntime() : void [64]\n" + " 75 goto 84\n" + " 78 astore_3\n" + " 79 invokestatic X.clean() : void [67]\n" + " 82 aload_3\n" + " 83 athrow\n" + " 84 invokestatic X.clean() : void [67]\n" + " 87 iload_2\n" + " 88 ireturn\n" + " 89 astore_0 [e]\n" + " 90 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 93 ldc <String \"[WRONG CATCH]\"> [70]\n" + " 95 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 98 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 101 ldc <String \"[finally]\"> [62]\n" + " 103 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 106 invokestatic X.throwRuntime() : void [64]\n" + " 109 goto 118\n" + " 112 astore_3\n" + " 113 invokestatic X.clean() : void [67]\n" + " 116 aload_3\n" + " 117 athrow\n" + " 118 invokestatic X.clean() : void [67]\n" + " 121 iconst_2\n" + " 122 ireturn\n" + " 123 astore_1\n" + " 124 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 127 ldc <String \"[finally]\"> [62]\n" + " 129 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 132 invokestatic X.throwRuntime() : void [64]\n" + " 135 goto 144\n" + " 138 astore_3\n" + " 139 invokestatic X.clean() : void [67]\n" + " 142 aload_3\n" + " 143 athrow\n" + " 144 invokestatic X.clean() : void [67]\n" + " 147 aload_1\n" + " 148 athrow\n" + " Exception Table:\n" + " [pc: 44, pc: 50] -> 50 when : any\n" + " [pc: 72, pc: 78] -> 78 when : any\n" + " [pc: 0, pc: 36] -> 89 when : java.lang.Exception\n" + " [pc: 59, pc: 64] -> 89 when : java.lang.Exception\n" + " [pc: 87, pc: 89] -> 89 when : java.lang.Exception\n" + " [pc: 106, pc: 112] -> 112 when : any\n" + " [pc: 0, pc: 36] -> 123 when : any\n" + " [pc: 61, pc: 64] -> 123 when : any\n" + " [pc: 89, pc: 98] -> 123 when : any\n" + " [pc: 132, pc: 138] -> 138 when : any\n" : " // Method descriptor #19 ()I\n" + " // Stack: 4, Locals: 6\n" + " private static int scenario();\n" + " 0 iconst_1\n" + " 1 istore_0 [i]\n" + " 2 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 5 new java.lang.StringBuffer [40]\n" + " 8 dup\n" + " 9 ldc <String \"[i: \"> [42]\n" + " 11 invokespecial java.lang.StringBuffer(java.lang.String) [44]\n" + " 14 iload_0 [i]\n" + " 15 invokevirtual java.lang.StringBuffer.append(int) : java.lang.StringBuffer [46]\n" + " 18 ldc <String \"]\"> [50]\n" + " 20 invokevirtual java.lang.StringBuffer.append(java.lang.String) : java.lang.StringBuffer [52]\n" + " 23 invokevirtual java.lang.StringBuffer.toString() : java.lang.String [55]\n" + " 26 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 29 iload_0 [i]\n" + " 30 iconst_5\n" + " 31 if_icmple 41\n" + " 34 iload_0 [i]\n" + " 35 istore_3\n" + " 36 jsr 69\n" + " 39 iload_3\n" + " 40 ireturn\n" + " 41 iload_0 [i]\n" + " 42 ineg\n" + " 43 istore_3\n" + " 44 jsr 69\n" + " 47 iload_3\n" + " 48 ireturn\n" + " 49 astore_0 [e]\n" + " 50 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 53 ldc <String \"[WRONG CATCH]\"> [62]\n" + " 55 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 58 jsr 69\n" + " 61 iconst_2\n" + " 62 ireturn\n" + " 63 astore_2\n" + " 64 jsr 69\n" + " 67 aload_2\n" + " 68 athrow\n" + " 69 astore_1\n" + " 70 getstatic java.lang.System.out : java.io.PrintStream [20]\n" + " 73 ldc <String \"[finally]\"> [64]\n" + " 75 invokevirtual java.io.PrintStream.print(java.lang.String) : void [59]\n" + " 78 invokestatic X.throwRuntime() : void [66]\n" + " 81 goto 99\n" + " 84 astore 5\n" + " 86 jsr 92\n" + " 89 aload 5\n" + " 91 athrow\n" + " 92 astore 4\n" + " 94 invokestatic X.clean() : void [69]\n" + " 97 ret 4\n" + " 99 jsr 92\n" + " 102 ret 1\n" + " Exception Table:\n" + " [pc: 0, pc: 49] -> 49 when : java.lang.Exception\n" + " [pc: 0, pc: 39] -> 63 when : any\n" + " [pc: 41, pc: 47] -> 63 when : any\n" + " [pc: 49, pc: 61] -> 63 when : any\n" + " [pc: 78, pc: 84] -> 84 when : any\n" + " [pc: 99, pc: 102] -> 84 when : any\n"; try { File f = new File(OUTPUT_DIR + File.separator + "X.class"); byte[] classFileBytes = org.eclipse.jdt.internal.compiler.util.Util.getFileByteContent(f); ClassFileBytesDisassembler disassembler = ToolFactory.createDefaultClassFileBytesDisassembler(); String result = disassembler.disassemble(classFileBytes, "\n", ClassFileBytesDisassembler.DETAILED); int index = result.indexOf(expectedOutput); if (index == -1 || expectedOutput.length() == 0) { System.out.println(Util.displayString(result, 3)); } if (index == -1) { assertEquals("Wrong contents", expectedOutput, result); } } catch (org.eclipse.jdt.core.util.ClassFormatException e) { assertTrue(false); } catch (IOException e) { assertTrue(false); } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/e296d38bce70b50ae4223d7832ad4c72a95b5b55/TryStatementTest.java/buggy/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/TryStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 4630, 24, 1435, 288, 202, 2211, 18, 2681, 442, 687, 4709, 12, 1082, 202, 2704, 514, 8526, 288, 9506, 202, 6, 60, 18, 6290, 3113, 9506, 202, 6, 482, 667, 1139, 18890, 82, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 4630, 24, 1435, 288, 202, 2211, 18, 2681, 442, 687, 4709, 12, 1082, 202, 2704, 514, 8526, 288, 9506, 202, 6, 60, 18, 6290, 3113, 9506, 202, 6, 482, 667, 1139, 18890, 82, 6...
if (MylarPlugin.getDefault() != null && MylarPlugin.getDefault().getPreferenceStore().contains(MylarTaskListPrefConstants.TASK_ID)) {
if (MylarPlugin.getDefault() != null && MylarPlugin.getDefault().getPreferenceStore().contains(MylarTaskListPrefConstants.TASK_ID)) {
public MylarTaskListPlugin() { super(); INSTANCE = this;// List<ITaskListExternalizer> externalizers = new ArrayList<ITaskListExternalizer>(); try { initializeDefaultPreferences(getPrefs()); taskListWriter = new TaskListWriter(); String path = MylarPlugin.getDefault().getDataDirectory() + File.separator + DEFAULT_TASK_LIST_FILE; File taskListFile = new File(path); // TODO: decouple from core int nextTaskId = 1; if (MylarPlugin.getDefault() != null && MylarPlugin.getDefault().getPreferenceStore().contains(MylarTaskListPrefConstants.TASK_ID)) { // TODO: fix to MylarTaskListPlugin nextTaskId = MylarPlugin.getDefault().getPreferenceStore().getInt(MylarTaskListPrefConstants.TASK_ID); } taskListManager = new TaskListManager(taskListWriter, taskListFile, nextTaskId); taskRepositoryManager = new TaskRepositoryManager(); } catch (Exception e) { MylarStatusHandler.fail(e, "Mylar Task List initialization failed", false); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/306ce77122e592db6d0387fffc5ee6facce0a418/MylarTaskListPlugin.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTaskListPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8005, 7901, 2174, 682, 3773, 1435, 288, 202, 202, 9565, 5621, 202, 202, 13341, 273, 333, 31, 759, 202, 202, 682, 32, 1285, 835, 682, 6841, 1824, 34, 3903, 8426, 273, 394, 2407...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8005, 7901, 2174, 682, 3773, 1435, 288, 202, 202, 9565, 5621, 202, 202, 13341, 273, 333, 31, 759, 202, 202, 682, 32, 1285, 835, 682, 6841, 1824, 34, 3903, 8426, 273, 394, 2407...
fieldPos.getFieldAttribut() == NumberFormat.Field.FRACTION))
fieldPos.getFieldAttribute() == NumberFormat.Field.FRACTION))
public StringBuffer format (double number, StringBuffer dest, FieldPosition fieldPos) { // A very special case. if (Double.isNaN(number)) { dest.append(symbols.getNaN()); if (fieldPos != null && (fieldPos.getField() == INTEGER_FIELD || fieldPos.getFieldAttribute() == NumberFormat.Field.INTEGER)) { int index = dest.length(); fieldPos.setBeginIndex(index - symbols.getNaN().length()); fieldPos.setEndIndex(index); } return dest; } boolean is_neg = number < 0; if (is_neg) { if (negativePrefix != null) dest.append(negativePrefix); else { dest.append(symbols.getMinusSign()); dest.append(positivePrefix); } number = - number; } else dest.append(positivePrefix); int integerBeginIndex = dest.length(); int integerEndIndex = 0; if (Double.isInfinite (number)) { dest.append(symbols.getInfinity()); integerEndIndex = dest.length(); } else { number *= multiplier; // Compute exponent. long exponent = 0; double baseNumber; if (useExponentialNotation) { exponent = (long) Math.floor (Math.log(number) / Math.log(10)); if (minimumIntegerDigits > 0) exponent -= minimumIntegerDigits - 1; baseNumber = (number / Math.pow(10.0, exponent)); } else baseNumber = number; // Round to the correct number of digits. baseNumber += 5 * Math.pow(10.0, - maximumFractionDigits - 1); int index = dest.length(); double intPart = Math.floor(baseNumber); int count = 0; while (count < maximumIntegerDigits && (intPart > 0 || count < minimumIntegerDigits)) { long dig = (long) (intPart % 10); intPart = Math.floor(intPart / 10); // Append group separator if required. if (groupingUsed && count > 0 && groupingSize != 0 && count % groupingSize == 0) dest.insert(index, symbols.getGroupingSeparator()); dest.insert(index, (char) (symbols.getZeroDigit() + dig)); ++count; } integerEndIndex = dest.length(); int decimal_index = integerEndIndex; int consecutive_zeros = 0; int total_digits = 0; // Strip integer part from NUMBER. double fracPart = baseNumber - Math.floor(baseNumber); for (count = 0; count < maximumFractionDigits && (fracPart != 0 || count < minimumFractionDigits); ++count) { ++total_digits; fracPart *= 10; long dig = (long) fracPart; if (dig == 0) ++consecutive_zeros; else consecutive_zeros = 0; dest.append((char) (symbols.getZeroDigit() + dig)); // Strip integer part from FRACPART. fracPart = fracPart - Math.floor (fracPart); } // Strip extraneous trailing `0's. We can't always detect // these in the loop. int extra_zeros = Math.min (consecutive_zeros, total_digits - minimumFractionDigits); if (extra_zeros > 0) { dest.setLength(dest.length() - extra_zeros); total_digits -= extra_zeros; } // If required, add the decimal symbol. if (decimalSeparatorAlwaysShown || total_digits > 0) { dest.insert(decimal_index, symbols.getDecimalSeparator()); if (fieldPos != null && (fieldPos.getField() == FRACTION_FIELD || fieldPos.getFieldAttribut() == NumberFormat.Field.FRACTION)) { fieldPos.setBeginIndex(decimal_index + 1); fieldPos.setEndIndex(dest.length()); } } // Finally, print the exponent. if (useExponentialNotation) { dest.append(symbols.getExponential()); if (exponent < 0) { dest.append (symbols.getMinusSign ()); exponent = - exponent; } index = dest.length(); for (count = 0; exponent > 0 || count < minExponentDigits; ++count) { long dig = exponent % 10; exponent /= 10; dest.insert(index, (char) (symbols.getZeroDigit() + dig)); } } } if (fieldPos != null && (fieldPos.getField() == INTEGER_FIELD || fieldPos.getFieldAttribute() == NumberFormat.Field.INTEGER)) { fieldPos.setBeginIndex(integerBeginIndex); fieldPos.setEndIndex(integerEndIndex); } dest.append((is_neg && negativeSuffix != null) ? negativeSuffix : positiveSuffix); return dest; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/d82fdc2f3af331d8f8c5660ad462fea2f8710389/DecimalFormat.java/clean/libraries/javalib/java/text/DecimalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 6674, 740, 261, 9056, 1300, 16, 6674, 1570, 16, 9506, 1377, 2286, 2555, 652, 1616, 13, 225, 288, 565, 368, 432, 8572, 4582, 648, 18, 565, 309, 261, 5265, 18, 291, 21172, 12, 2696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6674, 740, 261, 9056, 1300, 16, 6674, 1570, 16, 9506, 1377, 2286, 2555, 652, 1616, 13, 225, 288, 565, 368, 432, 8572, 4582, 648, 18, 565, 309, 261, 5265, 18, 291, 21172, 12, 2696,...
}
}
public View getNext() { return next; }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/693b1cbf063a472c935e4e227f8dc5c374f91c12/View.java/buggy/org/gjt/sp/jedit/View.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4441, 6927, 1435, 202, 95, 202, 202, 2463, 1024, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4441, 6927, 1435, 202, 95, 202, 202, 2463, 1024, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
public org.quickfix.field.CreditRating getCreditRating() throws FieldNotFound { org.quickfix.field.CreditRating value = new org.quickfix.field.CreditRating();
public quickfix.field.CreditRating getCreditRating() throws FieldNotFound { quickfix.field.CreditRating value = new quickfix.field.CreditRating();
public org.quickfix.field.CreditRating getCreditRating() throws FieldNotFound { org.quickfix.field.CreditRating value = new org.quickfix.field.CreditRating(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/RequestForPositionsAck.java/clean/src/java/src/quickfix/fix44/RequestForPositionsAck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 1927, 10430, 20388, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 460, 273, 394, 2358, 18, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 1927, 10430, 20388, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 16520, 20388, 460, 273, 394, 2358, 18, 19...
if (jj_3R_295()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_330()) { jj_scanpos = xsp; break; } }
if (jj_scan_token(XOR_ASSIGN)) return true; if (jj_3R_99()) return true;
final private boolean jj_3R_284() { if (jj_3R_295()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_330()) { jj_scanpos = xsp; break; } } return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 22, 5193, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 29286, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 22, 5193, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 29286, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 2...